/* ==========================================================================
   FORM + SPACE
   Palette and type taken from the 2026 pitch deck.

   Page order follows the marketing hourglass: know, like, trust, try, buy.
   Motion has two layers. Entrances are driven by Motion in main.js, which
   is why elements start hidden under .js. Ambient loops (marquees, signal
   bars, drifting grids) stay in CSS so they cost nothing at runtime.
   ========================================================================== */

:root {
  --bg:        #0a0a0b;
  --bg-alt:    #0d0d0f;
  --bg-blue:   #090b10;
  --bg-warm:   #0d0b09;
  --panel:     #141416;
  --fg:        #f4f1ec;
  --fg-mid:    #b8b2a8;
  --fg-dim:    #8a857d;
  --copper:    #c98a52;
  --gold:      #c9a24d;
  --gold-soft: rgba(201, 162, 77, 0.32);
  --rule:      rgba(244, 241, 236, 0.12);
  --rule-soft: rgba(244, 241, 236, 0.07);

  /* Space Grotesk throughout, matching amo-music.net. One family, with
     weight and tracking carrying the hierarchy instead of a second face. */
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:   "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-wipe: cubic-bezier(0.76, 0, 0.24, 1);

  --wrap: 1440px;
  --wrap-wide: 1600px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: var(--wrap-wide); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--gold);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Atmosphere ----------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  box-shadow: 0 0 12px var(--gold-soft);
}

/* --- Shared type ---------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 1.5rem;
}
.eyebrow i { font-style: normal; color: var(--fg-dim); padding: 0 0.2em; }
.eyebrow span { white-space: nowrap; }

.rule { display: block; width: 72px; height: 3px; background: var(--gold); margin: 1.75rem 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  /* Space Grotesk sets wide by default; large sizes need pulling in. */
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.25rem + 3.05vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 2.1vw, 2.9rem); }
h3 { letter-spacing: -0.015em; }

.shimmer {
  background: linear-gradient(100deg, var(--fg) 30%, #fff8ec 45%, var(--gold) 52%, #fff8ec 59%, var(--fg) 74%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s var(--ease) 1.8s infinite;
}
@keyframes sheen {
  0%, 62% { background-position: 130% 0; }
  100%    { background-position: -30% 0; }
}

.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  border-top: 1px solid var(--rule-soft);
  scroll-margin-top: 66px;
}
.section-blueprint { background: var(--bg-blue); overflow: hidden; }
.section-warm { background: var(--bg-warm); }

.section-head { max-width: 48rem; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-lede { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: var(--fg-mid); margin: 0; }

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-header.is-scrolled { background: rgba(10, 10, 11, 0.9); border-bottom-color: var(--rule-soft); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
  transition: min-height 0.5s var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 62px; }

.wordmark {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--copper);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
  transition: letter-spacing 0.6s var(--ease);
}
.wordmark:hover { letter-spacing: 0.26em; }
.wordmark span { color: var(--gold); }

.site-nav {
  display: flex;
  gap: clamp(0.9rem, 1.8vw, 1.9rem);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  color: var(--fg-dim);
  text-decoration: none;
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.site-nav a:hover { color: var(--fg); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-nav a.is-active { color: var(--fg); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  color: #0a0a0b;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform-origin: right;
  transition: transform 0.55s var(--ease-wipe);
}
.btn:hover { color: var(--gold); }
.btn:hover::before { transform: scaleX(0); }
.btn span { position: relative; }

.btn-ghost { color: var(--fg); border-color: var(--rule); }
.btn-ghost::before { background: var(--fg); transform: scaleX(0); transform-origin: left; }
.btn-ghost:hover { color: #0a0a0b; border-color: var(--fg); }
.btn-ghost:hover::before { transform: scaleX(1); }

.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.6875rem; }
.header-cta { flex: 0 0 auto; }

.btn-lg {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 1.05rem 2.5rem;
}

.link-btn {
  align-self: flex-start;
  margin-top: 1.4rem;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold-soft);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 0.35rem;
  transition: border-color 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}
.link-btn:hover { border-color: var(--gold); letter-spacing: 0.2em; }

/* --- Hero ----------------------------------------------------------------- */

.hero { position: relative; z-index: 2; }
.hero-shell {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: min(86vh, 880px);
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 4.5rem);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(201, 138, 82, 0.11), transparent 62%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(201, 162, 77, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 77, 0.055) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 85% 70% at 40% 45%, #000 25%, transparent 78%);
  animation: drift 34s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 92px 92px, 92px 92px; }
}

.hero-glow {
  position: absolute;
  width: 44rem; height: 44rem;
  left: var(--mx, 40%);
  top: var(--my, 45%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 162, 77, 0.075), transparent 60%);
  pointer-events: none;
}

.hero-copy { position: relative; max-width: 40rem; }
.hero h1 { margin-bottom: 1.3rem; }

.hero-lede {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem);
  color: var(--copper);
  margin: 0;
}

.hero-sub { color: var(--fg-mid); margin: 0 0 2.25rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-foot {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 2.25rem 0 0;
}
.hero-foot i { font-style: normal; color: var(--gold); padding: 0 0.3em; }

.hero-media { position: relative; overflow: hidden; border-left: 1px solid var(--rule-soft); }
.hero-media-inner { position: absolute; inset: -6% 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.05) brightness(0.95);
}
/* Keeps the panel edge from cutting the photo dead. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 11, 0.75), transparent 32%);
  pointer-events: none;
}
.hero-tag {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(6px);
  padding: 0.65rem 1.1rem;
}

/* --- Signal bars ---------------------------------------------------------- */

.wave { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin: 1.8rem 0 2rem; }
.wave span {
  flex: 0 0 3px;
  height: 100%;
  background: linear-gradient(to top, var(--copper), var(--gold));
  transform-origin: bottom;
  transform: scaleY(0.14);
  opacity: 0.65;
  animation: bar 1.9s ease-in-out infinite;
}
@keyframes bar {
  0%, 100% { transform: scaleY(0.12); }
  50%      { transform: scaleY(1); }
}
.wave span:nth-child(1)  { animation-delay: -0.10s; animation-duration: 1.7s; }
.wave span:nth-child(2)  { animation-delay: -0.85s; animation-duration: 2.3s; }
.wave span:nth-child(3)  { animation-delay: -1.40s; animation-duration: 1.5s; }
.wave span:nth-child(4)  { animation-delay: -0.35s; animation-duration: 2.6s; }
.wave span:nth-child(5)  { animation-delay: -1.90s; animation-duration: 1.8s; }
.wave span:nth-child(6)  { animation-delay: -0.60s; animation-duration: 2.1s; }
.wave span:nth-child(7)  { animation-delay: -1.15s; animation-duration: 1.6s; }
.wave span:nth-child(8)  { animation-delay: -0.05s; animation-duration: 2.4s; }
.wave span:nth-child(9)  { animation-delay: -1.65s; animation-duration: 1.9s; }
.wave span:nth-child(10) { animation-delay: -0.95s; animation-duration: 2.2s; }
.wave span:nth-child(11) { animation-delay: -0.25s; animation-duration: 1.55s; }
.wave span:nth-child(12) { animation-delay: -1.75s; animation-duration: 2.5s; }
.wave span:nth-child(13) { animation-delay: -0.70s; animation-duration: 1.75s; }
.wave span:nth-child(14) { animation-delay: -1.30s; animation-duration: 2.0s; }
.wave span:nth-child(15) { animation-delay: -0.45s; animation-duration: 1.65s; }
.wave span:nth-child(16) { animation-delay: -2.05s; animation-duration: 2.35s; }
.wave span:nth-child(17) { animation-delay: -0.80s; animation-duration: 1.85s; }
.wave span:nth-child(18) { animation-delay: -1.55s; animation-duration: 2.15s; }
.wave span:nth-child(19) { animation-delay: -0.15s; animation-duration: 1.95s; }
.wave span:nth-child(20) { animation-delay: -1.05s; animation-duration: 2.45s; }
.wave span:nth-child(21) { animation-delay: -0.50s; animation-duration: 1.7s; }

/* --- Marquees ------------------------------------------------------------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-type {
  border-block: 1px solid var(--rule-soft);
  background: var(--bg-alt);
  padding-block: clamp(0.9rem, 2vw, 1.5rem);
}
.marquee-type .marquee-track { animation-duration: 46s; }
.marquee-type span {
  font-family: var(--display);
  font-size: clamp(1.4rem, 0.95rem + 2.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 77, 0.55);
  padding-right: 0.35em;
}
.marquee-type i { font-style: normal; -webkit-text-stroke: 0; color: var(--copper); padding: 0 0.25em; }

.reel { position: relative; z-index: 2; padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--rule-soft); }
.reel-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Spacing lives on each item, not as a `gap`. A gap leaves one fewer space
   than items, so translating by -50% would land off by half a gap and the
   loop would visibly jump. */
.marquee-shots .marquee-track { animation-duration: 58s; }
.marquee-shots .marquee-track > * { margin-right: 1rem; }
.marquee-shots img {
  height: clamp(170px, 22vw, 280px);
  width: auto;
  max-width: none;
  border: 1px solid var(--rule);
  filter: saturate(0.85) contrast(1.03) brightness(0.86);
  transition: filter 0.6s var(--ease);
}
.shot { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.shot:hover img, .shot:focus-visible img { filter: saturate(1) contrast(1.05) brightness(1.02); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.shot:hover::after { border-color: var(--gold); }

/* --- Problem -------------------------------------------------------------- */

/* Three items: three across or stacked, never 2 + 1. */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
@media (max-width: 780px) { .problem-grid { grid-template-columns: 1fr; } }
.problem { position: relative; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.problem-num {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.problem h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.problem p { margin: 0; color: var(--fg-dim); font-size: 0.9688rem; }

.pullquote {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 3px solid var(--gold);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  line-height: 1.35;
  max-width: 40rem;
}

/* --- Audience ------------------------------------------------------------- */

/* Four items, same reasoning as the IT grid: 4 / 2 / 1, never 3. */
.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
@media (min-width: 1000px) { .audience { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .audience { grid-template-columns: 1fr; } }
.audience li {
  position: relative;
  background: var(--bg-warm);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.audience li::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.audience li:hover { background: var(--panel); }
.audience li:hover::after { transform: scaleX(1); }
.audience li > span {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.audience h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.audience p { margin: 0; color: var(--fg-dim); font-size: 0.9063rem; line-height: 1.6; }

/* --- Showcase (sticky environments) --------------------------------------- */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.showcase-media {
  position: sticky;
  top: 14vh;
  height: 68vh;
  border: 1px solid var(--rule);
  background: var(--panel);
  overflow: hidden;
}
.showcase-media figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}
.showcase-media figure:first-of-type { opacity: 1; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.04); }
.showcase-count {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  background: rgba(10, 10, 11, 0.75);
  backdrop-filter: blur(6px);
  padding: 0.6rem 1.1rem;
}
.showcase-count b { color: var(--gold); font-weight: 600; }

.showcase-list { list-style: none; margin: 0; padding: 0; counter-reset: shot; }
.showcase-item {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0.42;
  transition: opacity 0.7s var(--ease);
}
.showcase-item:last-child { border-bottom: 0; }
.showcase-item.is-active { opacity: 1; }
.showcase-index {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.showcase-index i { font-style: normal; color: var(--fg-dim); padding: 0 0.35em; }
.showcase-item h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 0.9rem; }
.showcase-body { margin: 0; color: var(--fg-mid); max-width: 30rem; }
.showcase-inline { display: none; }

/* --- Process -------------------------------------------------------------- */

.process {
  list-style: none;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
@media (max-width: 780px) { .process { grid-template-columns: 1fr; } }
.process > li { position: relative; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.process-num {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.process h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.process > li > p { margin: 0 0 1.2rem; color: var(--fg-mid); font-size: 0.9688rem; }
.process ul { list-style: none; margin: 0; padding: 0; }
.process ul li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-top: 1px solid var(--rule-soft);
  color: var(--fg-dim);
  font-size: 0.9063rem;
}
.process ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25rem;
  width: 10px; height: 1px;
  background: var(--gold);
}

/* --- Practice figures ----------------------------------------------------- */

.practice-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.practice-figure { margin: 0; }
.practice-lede { color: var(--fg-mid); margin: 0; }

.cap-view {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--panel);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.cap-view:hover { border-color: var(--gold-soft); box-shadow: 0 18px 50px -24px rgba(201, 162, 77, 0.45); }
.cap-view img { width: 100%; filter: saturate(0.88) contrast(1.03) brightness(0.9); transition: scale 1.1s var(--ease), filter 0.9s var(--ease); }
.cap-view:hover img, .cap-view:focus-visible img { filter: saturate(1) contrast(1.06) brightness(1); }

.cap-zoom {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 3;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: var(--gold);
  padding: 0.6rem 1.1rem;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.cap-view:hover .cap-zoom, .cap-view:focus-visible .cap-zoom { transform: none; }

blockquote {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.35;
  /* Space Grotesk has no italic, and the synthesised slant is ugly.
     Weight and tracking carry the emphasis instead. */
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 1.6rem;
  padding-left: 1.4rem;
  border-left: 3px solid var(--gold);
}

.wide-figure { position: relative; margin: clamp(2.75rem, 5vw, 4.5rem) 0 0; }
.wide-figure figcaption {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  margin-top: 0.9rem;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(120, 160, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 210, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  animation: drift 44s linear infinite reverse;
}

/* --- Evidence ------------------------------------------------------------- */

.measures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.measure { text-align: center; }
.measure-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);
  font-family: var(--display);
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.25rem);
  line-height: 1;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 0.85rem;
  font-variant-numeric: tabular-nums;
}
.measure-word { font-size: clamp(1.5rem, 1rem + 2.1vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; }
.measure-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin: 0;
  line-height: 1.6;
}
.evidence-note {
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--fg-dim);
  text-align: center;
  max-width: 44rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-soft);
}

/* --- IT services ---------------------------------------------------------- */

/* Eight items, so the column count has to divide into eight or the last row
   leaves holes. Fixed 4 / 2 / 1 rather than auto-fit. */
.it-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
@media (min-width: 1000px) { .it-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .it-grid { grid-template-columns: 1fr; } }
.it {
  position: relative;
  background: var(--bg-warm);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.it::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.it:hover { background: var(--panel); }
.it:hover::after { transform: scaleX(1); }
.it-num {
  display: block;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.it h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.it p { margin: 0; color: var(--fg-dim); font-size: 0.9063rem; line-height: 1.6; }

.banner {
  font-family: var(--display);
  font-size: clamp(1.1rem, 0.95rem + 0.75vw, 1.65rem);
  line-height: 1.45;
  text-align: center;
  color: var(--fg);
  margin: clamp(2.75rem, 5vw, 4rem) auto 0;
  max-width: 46rem;
  text-wrap: balance;
}

/* --- Contact -------------------------------------------------------------- */

.contact { text-align: center; overflow: hidden; }
.contact-glow {
  position: absolute;
  left: 50%; bottom: -45%;
  width: 90rem; height: 60rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201, 138, 82, 0.14), transparent 58%);
  pointer-events: none;
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}
.contact-inner { position: relative; max-width: 46rem; margin-inline: auto; }
.contact .eyebrow { margin-bottom: 1.1rem; }
.contact h2 { margin-bottom: 1.1rem; }
.contact-lede { color: var(--fg-mid); margin: 0 0 2.5rem; }

.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.75rem;
  margin: clamp(3rem, 5vw, 4.5rem) 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-soft);
  text-align: left;
}
.contact-meta dt {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-meta dd { margin: 0; color: var(--fg-mid); font-size: 0.9688rem; }
.contact-meta i { font-style: normal; color: var(--fg-dim); padding: 0 0.15em; }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule-soft);
  background: var(--bg-alt);
  padding-block: 3rem;
}
.footer-inner { display: grid; gap: 1.1rem; }
.footer-mark {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin: 0;
}
.footer-mark span { color: var(--gold); }
.footer-note, .footer-legal {
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0;
  max-width: 52rem;
}
.footer-legal { color: rgba(138, 133, 125, 0.7); }

/* --- Lightbox ------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
}
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: min(1400px, 100%); }
.lb-stage img { width: 100%; max-height: 78vh; object-fit: contain; border: 1px solid var(--rule); }
.lb-stage figcaption {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.1rem;
  text-align: center;
}
.lb-close, .lb-nav {
  position: absolute;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--fg);
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: clamp(0.75rem, 2vw, 1.75rem); right: clamp(0.75rem, 2vw, 1.75rem); width: 46px; height: 46px; font-size: 1.5rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 60px; font-size: 1.75rem; }
.lb-prev { left: clamp(0.5rem, 2vw, 1.75rem); }
.lb-next { right: clamp(0.5rem, 2vw, 1.75rem); }
body.lb-open { overflow: hidden; }

/* ==========================================================================
   ENTRANCE START STATES
   Motion animates these to their resting values. They only apply under .js,
   so the page reads completely if the script never runs.
   ========================================================================== */

.js [data-anim] { opacity: 0; }
.js [data-draw] { transform: scaleX(0); transform-origin: left; }
.line { display: block; overflow: hidden; }
.js [data-line] { display: block; transform: translateY(105%); }

.wipe { position: relative; display: block; overflow: hidden; }
.wipe::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, var(--gold) 0%, var(--copper) 100%);
  transform-origin: right;
}
.js .wipe::after { transform: scaleX(1); transition: transform 1.1s var(--ease-wipe); }
.js .wipe.is-open::after { transform: scaleX(0); }

.parallax { will-change: translate; }
.tilt { transition: transform 0.7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .js [data-anim] { opacity: 1 !important; }
  .js [data-draw] { transform: none !important; }
  .js [data-line] { transform: none !important; }
  .js .wipe::after { display: none; }
  .showcase-item { opacity: 1 !important; }
  .marquee-track { animation: none; }
  .marquee { mask-image: none; overflow-x: auto; }
  .wave span { animation: none; transform: scaleY(0.55); }
  .hero-grid-lines, .blueprint-grid, .contact-glow, .shimmer { animation: none; }
  .shimmer { color: var(--fg); -webkit-text-fill-color: var(--fg); }
  .hero-glow { display: none; }
  * { transition-duration: 0.01ms !important; }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1100px) {
  .site-nav { display: none; }
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
}

@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: clamp(280px, 46vh, 440px); border-left: 0; border-bottom: 1px solid var(--rule-soft); }
  .hero-media::after { background: linear-gradient(0deg, rgba(10, 10, 11, 0.75), transparent 45%); }
  .hero-panel { padding-block: clamp(2.5rem, 8vw, 4rem); }
  .practice-grid { grid-template-columns: 1fr; }
  .measures-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .wave { height: 34px; margin: 1.5rem 0 1.7rem; }

  .showcase { grid-template-columns: 1fr; gap: 0; }
  .showcase-media { display: none; }
  .showcase-item { min-height: 0; opacity: 1; padding-block: clamp(2rem, 6vw, 3rem); }
  .showcase-inline { display: block; margin-bottom: 1.5rem; border: 1px solid var(--rule); }
}

@media (max-width: 620px) {
  .header-cta { display: none; }
  .header-inner { justify-content: center; }
  .wordmark { margin-right: 0; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  blockquote, .pullquote { padding-left: 1rem; }
  .lb-nav { width: 40px; height: 52px; }
}
