/* Hallmark · genre: editorial · macrostructure: Hero → Services → How it works → CTA
 * theme: custom — silenttecdigital brand-locked (near-black bg, warm white ink,
 * soft gray muted, single muted electric lime accent · display: heavy system sans ·
 * body: clean system sans · hero visual: CSS orbital signal + glow line)
 * Hallmark · slop-test: pass (no stock photos, no robot imagery, no glassmorphism,
 * no fake metrics/logos/testimonials, accent used sparingly, motion reduced under
 * prefers-reduced-motion) · honest: pass (placeholders marked [AGENCY NAME] [EMAIL] [BOOKING LINK];
 * availability line claims nothing about location, client count, or results) ·
 * tokens: pass · responsive: pass · mobile: pass · icons: none (CSS-only signal) */
:root {
  /* accent — muted electric lime, used sparingly */
  --accent: oklch(76% 0.17 108);   /* ~#b8f07a */

  /* surfaces — near-black with subtle cool tonal variation */
  --bg:      oklch(11.5% 0.004 260);   /* near-black base */
  --surface: oklch(15% 0.005 260);     /* slightly lighter band surface */
  --surface-2: oklch(18.5% 0.006 260); /* card surface */

  /* type — warm white headlines, soft gray support */
  --ink:    oklch(94% 0.002 260);   /* warm white */
  --muted:  oklch(56% 0.006 260);   /* soft gray */
  --muted-dark: oklch(72% 0.005 260);
  --rule:   oklch(22% 0.005 260);

  /* type scales */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5rem;
  --display: clamp(2.75rem, 6vw + 1rem, 5.5rem);

  /* 4pt spacing scale */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 220ms;
  --dur-long: 500ms;

  /* focus + shadow */
  --focus-ring: var(--ink);
  --shadow-hard: var(--ink);
}

html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.band-dark { --focus-ring: var(--surface); --shadow-hard: var(--surface); }

.wrap {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: var(--space-md);
  z-index: 50;
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus-visible { top: var(--space-md); }

/* type voices */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
.accent-word { color: var(--accent); }
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  min-width: 0;
}
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: var(--space-lg);
}
.lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
  margin-top: var(--space-sm);
}
.band-dark .lede { color: var(--muted-dark); }

a { color: inherit; }
a:active { opacity: 0.75; }

/* nav · clean slab header */
.slab {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-sm) clamp(1rem, 4vw, 2.5rem);
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}
.slab__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-md);
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2xs);
  white-space: nowrap;
}
.slab__dot {
  width: 0.42em; height: 0.42em;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
}
.slab__nav { margin-inline-start: auto; }
.slab__nav ul { display: flex; gap: var(--space-lg); }
.slab__nav a,
.slab__contact {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  padding-block: var(--space-2xs);
}
.slab__contact {
  border: 1px solid var(--ink);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: 2px;
}
@media (hover: hover) {
  .slab__nav a:hover { color: var(--accent); }
  .slab__contact:hover { background: var(--ink); color: var(--bg); }
}

/* buttons */
.btn {
  display: inline-block;
  min-height: 48px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-hard);
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-short) var(--ease-out);
}
.btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); box-shadow: 3px 3px 0 var(--bg); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px) rotate(-0.5deg); }
  .btn--primary:hover { box-shadow: 4px 4px 0 var(--bg); }
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

.quietlink {
  text-decoration: none;
  color: var(--muted-dark);
  font-weight: 700;
  font-size: var(--text-sm);
  text-underline-offset: 2px;
}
@media (hover: hover) {
  .quietlink:hover { color: var(--accent); text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
}

/* hero */
.hero { color: var(--ink); padding-block: var(--space-3xl) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3xl); align-items: center; }

.hero__cta { margin-top: var(--space-xl); }
.hero__secondary { margin-top: var(--space-md); color: var(--muted-dark); }
.status {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* load stagger — one-shot, CSS only */
.hero__copy > * { animation: rise 0.55s var(--ease-out) backwards; }
.hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.hero__copy > :nth-child(2) { animation-delay: 0.17s; }
.hero__copy > :nth-child(3) { animation-delay: 0.32s; }
.hero__copy > :nth-child(4) { animation-delay: 0.48s; }
.hero__copy > :nth-child(5) { animation-delay: 0.62s; }
.signal { animation: rise 0.65s var(--ease-out) 0.35s backwards; }

/* hero visual · CSS orbital signal */
.signal {
  position: relative;
  width: clamp(17rem, 45vw, 26rem);
  aspect-ratio: 1;
  margin-inline: auto;
}
.signal__ring,
.signal__ring--outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid oklch(from var(--accent) l c h / 0.18);
}
.signal__ring--outer {
  border-width: 0.5px;
  transform: scale(1.55);
  opacity: 0.5;
}
.signal__dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 0 18px var(--accent);
  animation: orbit 9s linear infinite;
}
.signal__sweep {
  position: absolute;
  top: 50%; left: 50%;
  width: 140%; height: 140%;
  translate: -50% -50%;
  border: 0.5px solid oklch(from var(--accent) l c h / 0.35);
  border-radius: 50%;
  animation: sweep 12s linear infinite;
}
@keyframes orbit { to { rotate: 1turn; } }
@keyframes sweep { from { rotate: 0turn; } to { rotate: 1turn; } }

/* decorative glow line under hero */
.glow { width: 100%; height: 100px; margin-top: var(--space-3xl); }
.glow__path {
  fill: none;
  stroke: url(#glow-grad);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: glow-draw 3s var(--ease-in-out) 0.5s backwards;
}
@keyframes glow-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }

/* sections */
section { scroll-margin-top: var(--space-md); }
.section--services { padding-block: var(--space-3xl) var(--space-2xl); background: var(--surface); color: var(--ink); }
.section--how { padding-block: var(--space-3xl); background: var(--surface-2); color: var(--ink); }
.section--cta { padding-block: var(--space-3xl) var(--space-4xl); background: var(--surface); color: var(--ink); }
.section--about, .section--privacy { padding-block: var(--space-3xl); background: var(--surface-2); color: var(--ink); }

.section__head h2 { margin-bottom: 0; }
.section__head .lede { margin-bottom: var(--space-xl); }

/* cards grid */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--rule);
  padding: var(--space-xl);
  border-radius: 4px;
  transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.card__title { margin-bottom: var(--space-sm); }
.card__copy { color: var(--muted-dark); line-height: 1.6; }
@media (hover: hover) {
  .card:hover { border-color: var(--ink); transform: translateY(-4px); }
}
@media (min-width: 48rem) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* stages · how it works */
.stages { margin-top: var(--space-xl); }
.stage {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
  padding-block: var(--space-xl);
}
.stage + .stage {
  border-top: 1px solid var(--rule);
}
.stage__chip {
  display: grid;
  place-items: center;
  width: clamp(3.6rem, 9vw, 5rem);
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-md);
  color: var(--accent);
}
.stage__body h3 { margin-bottom: var(--space-xs); }
.stage__body p { color: var(--muted-dark); max-width: 52ch; line-height: 1.6; }

/* closing CTA */
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}
.cta__copy h2 { margin-bottom: var(--space-md); }
.cta__contact { text-align: right; }
.cta__meta { margin-top: var(--space-xs); color: var(--muted-dark); font-size: var(--text-sm); }
.cta__meta a { color: var(--ink); font-weight: 700; text-decoration: none; }
@media (hover: hover) {
  .cta__meta a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
}
@media (min-width: 48rem) {
  .cta__grid { grid-template-columns: 1.1fr 0.9fr; }
  .cta__contact { text-align: right; }
  .cta__contact .btn { margin-top: 0; }
}

/* footer */
.foot { border-top: 1px solid var(--rule); padding-block: var(--space-2xl); }
.foot__inner { display: flex; flex-direction: column; gap: var(--space-lg); align-items: flex-start; }
.foot__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  text-decoration: none;
}
.foot__desc { font-size: var(--text-sm); color: var(--muted); max-width: 44ch; line-height: 1.55; }
.foot__nav ul { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot__nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: var(--text-sm); }
.foot__legal { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--muted); }
@media (min-width: 48rem) {
  .foot__inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .foot__nav { margin-inline-start: auto; }
}

/* scroll reveal system (IO adds .in; no-JS = visible) */
@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
.js .reveal { opacity: 0; }
.js .reveal.in {
  opacity: 1;
  animation: rise 0.55s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 150ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
    transition-delay: 0ms !important;
  }
  .signal__dot, .signal__sweep { animation: none; }
  .signal__dot { box-shadow: none; }
  .glow__path { animation: none; stroke-dashoffset: 0; }
  .hero__copy > *, .signal { animation: none; opacity: 1; }
  .card, .btn { transform: none; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
  .stage { transform: none; }
}
