/* ==========================================================================
   Gonzo Inc — design tokens
   ========================================================================== */
@font-face {
  font-family: "Audio Nugget";
  src: url("/assets/fonts/audio-nugget.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink:        #0B0A08;   /* page */
  --ink-2:      #141210;   /* panel */
  --ink-3:      #1C1916;   /* raised panel / card */
  --line:       #322C24;   /* hairline */
  --line-soft:  #241F1A;
  --brand:      #22C55E;   /* primary accent */
  --brand-lift: #4ADE80;   /* hover / accent text */
  --brand-deep: #14532D;
  --text:       #F6F3EE;   /* 17.4:1 on --ink */
  --text-mid:   #C6BFB3;   /* 8.6:1  on --ink */
  --text-dim:   #948B7C;   /* 5.1:1  on --ink — body-size minimum */
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --logo: "Audio Nugget", "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --script:  "Sacramento", cursive;
  --gap:   clamp(1rem, 2.2vw, 1.75rem);
  --pad-y: clamp(4.5rem, 9vw, 8.5rem);
  --max:   1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--text-mid);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-lift); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-lift); outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--text); font-weight: 700; margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
@media (min-width: 48rem) { .wrap { width: min(100% - 4rem, var(--max)); } }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--brand); color: #052E14; padding: 0.6rem 1rem;
  border-radius: 4px; font-weight: 600; transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.brand {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--logo); font-weight: 400; font-synthesis: none;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); line-height: 1;
  letter-spacing: 0.005em; color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand b { font-weight: 400; color: var(--brand); }
.brand .tag { font: 600 0.62rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.site-head nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.site-head nav a:not(.btn) { color: var(--text-mid); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.site-head nav a:not(.btn):hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 600; font-size: 0.94rem;
  padding: 0.7rem 1.25rem; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #052E14; }
.btn--primary:hover { background: var(--brand-lift); color: #052E14; }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-lift); }
.btn .arrow { font-family: var(--mono); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(2.25rem, 4.5vw, 3.5rem); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: 600 0.72rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-lift);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.hero h1 { position: relative; font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: none; }
.hero .lede { position: relative; margin-top: 1.5rem; max-width: none; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); color: var(--text-mid); line-height: 1.6; }
.hero .lede + .lede { margin-top: 1rem; }
.hero .btn-row { position: relative; display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero .disciplines { position: relative; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.chip {
  font: 500 0.78rem/1 var(--body); padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim); background: var(--ink-2);
}

/* ---------- section shell ---------- */
.band { padding-block: var(--pad-y); }
.band--tint { background: var(--ink-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head .lede { margin-top: 0.85rem; font-size: 1.05rem; color: var(--text-mid); }

/* ---------- project cards ---------- */
.projects { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.project {
  display: grid; gap: 0; border: 1px solid var(--line); background: var(--ink-3);
  border-radius: 14px; overflow: hidden;
}
@media (min-width: 64rem) {
  .project { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .project--flip { grid-template-columns: 0.95fr 1.05fr; }
  .project--flip .project__shot { order: 2; }
}
.project__shot {
  display: block; position: relative; background: var(--ink); overflow: hidden;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 64rem) { .project__shot { border-bottom: none; border-right: 1px solid var(--line); } .project--flip .project__shot { border-right: none; border-left: 1px solid var(--line); } }
.project__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; aspect-ratio: 14/9; transition: transform 0.4s ease; }
.project__shot:hover img { transform: scale(1.025); }
.project__shot .visit-tag {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: color-mix(in srgb, var(--ink) 82%, transparent); backdrop-filter: blur(4px);
  border: 1px solid var(--line); color: var(--text);
  font: 600 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 0.75rem; border-radius: 999px;
}
.project__body { padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.project__logo { height: 34px; display: flex; align-items: center; }
.project__logo img { height: 100%; width: auto; }
.project__logo--text { font-family: var(--script); font-size: 2.1rem; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 0.6rem; }
.project__logo--text .by { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.project__logo--works, .project__logo--yrtkt { gap: 0.6rem; }
.project__logo--works img, .project__logo--yrtkt img { height: 26px; width: 26px; }
.project__logo--works span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--text); letter-spacing: 0.01em; }
.project__logo--works span b { color: var(--brand-lift); font-weight: 700; }
.project__logo--yrtkt span { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: 0.01em; }
.project__domain { font: 500 0.78rem/1 var(--mono); color: var(--brand-lift); letter-spacing: 0.02em; }
.project__desc { font-size: 0.98rem; color: var(--text-mid); line-height: 1.65; }
.project__link { align-self: flex-start; margin-top: 0.2rem; font-weight: 600; font-size: 0.92rem; color: var(--text); display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; }
.project__link .arrow { color: var(--brand); font-family: var(--mono); transition: transform 0.15s ease; }
.project__link:hover { color: var(--brand-lift); }
.project__link:hover .arrow { transform: translateX(3px); }

/* ---------- CTA / contact ---------- */
.cta-band { text-align: center; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 20ch; }
.cta-band .lede { max-width: 46ch; font-size: 1.05rem; color: var(--text-mid); }
.cta-band .email { font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--brand-lift); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line-soft); padding-block: 2.5rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-foot .brand { font-size: 1.9rem; }
.site-foot small { color: var(--text-dim); font-size: 0.82rem; }
.site-foot a { color: var(--text-dim); text-decoration: none; font-size: 0.86rem; }
.site-foot a:hover { color: var(--brand-lift); }

::selection { background: var(--brand); color: #052E14; }
