/* AUDS1 site. Layout follows turbodesign.co: sticky rail beside a work
   stack, then full-width sections and a footer with a giant wordmark. */

/* Self-hosted so no visitor data goes to Google Fonts. The upright face is
   variable (400–500). */
@font-face {
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/funnel-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/funnel-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/geist-mono-latin.woff2) format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #e5e0de;
  --muted: #afa6a3;
  --faint: #8c8582;
  --ghost-text: #a8a1a1;
  --dim: rgba(229, 224, 222, 0.22);
  --surface: #1e1c1b;
  --surface-hover: #2a2726;
  --card: #d9d9d9;
  --slate: #4c6971;
  --accent: #ff490d;
  --line: rgba(229, 224, 222, 0.1);
  --giant: #141312;
  --sans: 'Funnel Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.4 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 400 11px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- wordmark: the AUDS1 logo, no tile ---------- */
.wordmark { display: block; align-self: flex-start; width: 92px; }
.wordmark img { width: 100%; height: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-grid;
  place-items: center;
  min-width: 110px;
  height: 35px;
  padding: 0 14px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ghost-text);
  font-size: 16px;
  white-space: nowrap;
  transition: transform 0.15s, background-color 0.15s, color 0.15s;
}
.btn:hover { color: var(--text); background: var(--surface-hover); }
.btn-primary { background: var(--accent); color: #000; font-weight: 500; }
.btn-primary:hover { background: var(--accent); color: #000; transform: translateY(-1px); }

/* ---------- hero: rail + stack ---------- */
.hero { display: grid; grid-template-columns: 1fr; }

.rail {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
}
.headline {
  margin-top: 40px;
  max-width: 420px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede {
  margin-top: 16px;
  max-width: 330px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }

.rail-foot { margin-top: 48px; }
.logos {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 18px 12px;
  align-items: center;
}
.logos li { height: 22px; display: flex; align-items: center; }
.logos img { width: var(--w, 76px); height: auto; opacity: 0.8; }
.place { margin-top: 24px; font-size: 12px; line-height: 1.5; color: var(--faint); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px 12px;
  min-width: 0;
}
.card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.card img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.2));
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card-bleed { background: var(--surface); }
.card-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: none; }
.card:hover img { transform: scale(1.015); }
.card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  max-width: calc(100% - 24px);
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
}
.card figcaption span { color: var(--muted); }

/* ---------- manifesto ---------- */
.manifesto {
  max-width: 960px;
  margin: 0 auto;
  padding: 160px 20px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.manifesto p { color: var(--dim); transition: color 0.5s ease; }
.manifesto p.is-lit { color: var(--text); }

/* ---------- shared section heading ---------- */
.help h2, .process h2, .clients h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---------- services ---------- */
.help {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  scroll-margin-top: 24px;
}
.help-media {
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--slate);
  display: grid;
  place-items: center;
}
.help-media img { width: 100%; height: 100%; object-fit: cover; }
.svc { margin-top: 28px; border-top: 1px solid var(--line); }
.svc > li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc h3 { display: flex; gap: 14px; align-items: baseline; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.svc h3 span { font: 400 11px var(--mono); color: var(--faint); }
.svc p { margin-top: 6px; padding-left: 31px; color: var(--muted); line-height: 1.45; max-width: 54ch; }
.tags { margin-top: 12px; padding-left: 31px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 9px; border-radius: 5px; background: var(--surface); color: var(--ghost-text); font-size: 13px; }

/* ---------- process ---------- */
.process { max-width: 1040px; margin: 0 auto; padding: 0 20px 120px; }
.steps { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.steps li { padding: 20px; border-radius: 5px; background: var(--surface); }
.steps span { font: 400 11px var(--mono); color: var(--faint); }
.steps h3 { margin-top: 28px; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.steps p { margin-top: 6px; color: var(--muted); line-height: 1.45; }
.fine { margin-top: 16px; font-size: 13px; color: var(--faint); max-width: 70ch; }

/* ---------- clients ---------- */
.clients { max-width: 1040px; margin: 0 auto; padding: 0 20px 80px; }
.client-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.client-grid li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.client-grid span { color: var(--faint); text-align: right; font-size: 14px; }
.client-grid a { text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 4px; }
.client-grid a:hover { text-decoration-color: var(--text); }

/* ---------- closing CTA ---------- */
.cta {
  padding: 140px 20px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.cta h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -0.04em; }
.email { color: var(--faint); font-size: 14px; display: inline-flex; gap: 10px; align-items: baseline; }
.email button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--dim); }
.email button:hover { color: var(--text); }

/* ---------- footer (home + legal pages) ---------- */
.site-footer { overflow: hidden; }
.foot-cols {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}
.foot-cols ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-cols a:hover { color: var(--muted); }
.foot-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); line-height: 1.5; }
.legal-line { margin-top: 16px; line-height: 1.7; }
.giant {
  margin: 56px auto 0;
  width: calc(100% - 24px);
  aspect-ratio: 73 / 20;
  background: var(--giant);
  -webkit-mask: url(/logos/auds1.svg) center top / contain no-repeat;
  mask: url(/logos/auds1.svg) center top / contain no-repeat;
  transform: translateY(12%);
}

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr 1.6fr; }
  .foot-note { grid-column: auto; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps h3 { margin-top: 56px; }
  .client-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: 380px minmax(0, 1fr); }
  .rail {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 24px 24px 24px;
  }
  .rail::-webkit-scrollbar { display: none; }
  .headline { margin-top: 32px; font-size: 40px; }
  .rail-foot { margin-top: auto; padding-top: 40px; }
  .stack { padding: 12px 12px 12px 0; }
  .help { grid-template-columns: 420px 1fr; gap: 72px; }
  .help-media { position: sticky; top: 24px; }
  .card figcaption { opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
  .card:hover figcaption { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card img, .btn, .card figcaption, .manifesto p { transition: none; }
  .manifesto p { color: var(--text); }
}
