/* Nightanvil Digital: coming-soon page */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #0F1114;
  --iron: #181B20;
  --line: #2A3038;
  --line-2: #434B56;
  --ash: #E6E9EE;
  --ash-2: #BEC5CF;
  --muted: #939BA6;
  --accent: #C58FE0;        /* Temper Purple */
  --accent-hover: #DAB5EC;
  --moon: #8FA3B8;
  --straw: #E0B866;         /* Temper Straw */
  --temper-blue: #6FA8DC;   /* Temper Blue */
  --temper: linear-gradient(90deg, var(--straw), var(--accent) 50%, var(--temper-blue));

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 55% 60% at 15% 0%, rgba(197, 143, 224, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 55% at 90% 40%, rgba(111, 168, 220, 0.10), transparent 70%),
    var(--night);
  color: var(--ash);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; display: block; height: 2px; background: var(--temper); opacity: 0.75; }
svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.soon {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) var(--gutter);
  display: grid;
  gap: 28px;
  align-content: center;
  justify-items: start;
}

.brand { display: flex; align-items: center; gap: 16px; }
.mark { width: 72px; height: auto; }
.wordmark { display: flex; flex-direction: column; gap: 6px; }
.wordmark__name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: 0.01em; }
.wordmark__sub { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 11px; letter-spacing: 0.3em; color: var(--ash-2); line-height: 1; }
.wordmark__sub::before, .wordmark__sub::after { content: ""; flex: 1; height: 1px; background: var(--accent); }
.wordmark__sub::before { margin-right: 0.3em; }

.eyebrow { margin: 16px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 118%; font-size: clamp(40px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.015em; }
.accent { color: var(--accent); }
.lede { margin: 0; max-width: 36em; font-size: clamp(17px, 1.8vw, 20px); color: var(--ash-2); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Services: native <details>, one open at a time (name="services") */
.services { width: 100%; display: grid; gap: 12px; padding-top: 8px; }
.group { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.svc { --tone: var(--accent); background: var(--iron); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s; }
.svc--straw { --tone: var(--straw); }
.svc--blue { --tone: var(--temper-blue); }
.svc:hover, .svc[open] { border-color: var(--line-2); }
.svc[open] { box-shadow: inset 0 2px 0 var(--tone); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; row-gap: 2px; align-items: baseline; padding: 16px 18px; border-radius: 14px; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); grid-row: 1; align-self: center; }
.svc summary::after { content: ""; grid-column: 3; grid-row: 1; align-self: center; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.svc[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.svc__name { grid-column: 2; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 19px; line-height: 1.25; }
.svc__tag { grid-column: 2; font-size: 15px; color: var(--muted); line-height: 1.45; }
.svc--wide .svc__name { font-size: 22px; }
.svc__body { padding: 0 18px 18px 38px; display: grid; gap: 12px; }
.svc__body ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 16px; color: var(--ash-2); }
.svc__body li::before { content: "— "; font-family: var(--mono); color: var(--tone); }
.svc__note { margin: 0; font-size: 14px; color: var(--muted); }
.svc__ask { justify-self: start; font-size: 15px; color: var(--tone); text-decoration: none; }
.svc__ask:hover { color: var(--ash); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .svc, .svc summary::after { transition: none; } }

.contact { display: grid; gap: 6px; padding-top: 8px; }
.contact span { font-size: 14px; color: var(--muted); }
.contact a { font-family: var(--mono); font-size: clamp(17px, 2.2vw, 20px); }

.foot { border-top: 1px solid var(--line); padding: 28px var(--gutter); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .mark { width: 56px; }
  .wordmark__name { font-size: 22px; }
  .wordmark__sub { font-size: 9px; }
  .foot { flex-direction: column; text-align: center; }
  .grid { grid-template-columns: 1fr; }
}
