/* Engage Studios — Look v2 applied to living mockup
   Warm dark, stilren. No hex / orbs / sci-fi glow. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #1a1814;
  --canvas-2: #1c1916;
  --panel: #221f1b;
  --panel-2: #2a2621;
  --text: #f4f0ea;
  --muted: #a39b90;
  --line: rgba(248, 240, 230, 0.08);
  --line-strong: rgba(248, 240, 230, 0.14);
  --copper: #c4a06a;
  --copper-soft: rgba(196, 160, 106, 0.14);
  --wash: rgba(196, 160, 106, 0.045);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(1.25rem, 3.5vw, 2.75rem);
  --max: 1320px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--canvas);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 70% at 12% -15%, rgba(196, 160, 106, 0.09), transparent 55%),
    radial-gradient(ellipse 80% 50% at 92% 0%, rgba(180, 120, 70, 0.055), transparent 50%),
    linear-gradient(180deg, #1e1a15 0%, var(--canvas) 40%, #181612 100%);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection {
  background: #3a3428;
  color: var(--text);
}

/* Very light grain — optional, ≤0.03 */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.018;
  background: url("../img/grain.png");
  mix-blend-mode: overlay;
}

html.is-still .grain { opacity: 0.015; }

.lbl {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* ---------- header ---------- */
.site-header {
  /* fixed always: avoids absolute→sticky layout jump on scroll */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid transparent;
  isolation: isolate;
  transition: border-color 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26, 24, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.site-header.is-solid,
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-solid::before,
.site-header.is-scrolled::before {
  opacity: 1;
}

.wordmark {
  font-weight: 520;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover { opacity: 1; color: var(--copper); }

.nav-ig {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  opacity: 0.7;
}

.nav-ig svg { width: 1.05rem; height: 1.05rem; }
.nav-ig:hover { opacity: 1; color: var(--copper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #e8dcc8;
  color: #1a1814;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--copper);
  color: #1a1814;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--copper);
  color: var(--copper);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 900px;
  height: 900px;
  display: grid;
  align-items: end;
  padding: 5.5rem var(--pad) 3.25rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-media-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  opacity: 0.9;
  filter: saturate(0.92) brightness(0.94) sepia(0.04);
  /* Full-bleed image; soft tipped alpha from left — no panel edge, no ::after wash */
  /* Longer/slower: same left start (~18%), full opacity only near far right. */
  -webkit-mask-image: linear-gradient(
    60deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.14) 42%,
    rgba(0, 0, 0, 0.28) 54%,
    rgba(0, 0, 0, 0.45) 66%,
    rgba(0, 0, 0, 0.65) 78%,
    rgba(0, 0, 0, 0.82) 88%,
    #000 96%,
    #000 100%
  );
          mask-image: linear-gradient(
    60deg,
    transparent 0%,
    transparent 18%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.14) 42%,
    rgba(0, 0, 0, 0.28) 54%,
    rgba(0, 0, 0, 0.45) 66%,
    rgba(0, 0, 0, 0.65) 78%,
    rgba(0, 0, 0, 0.82) 88%,
    #000 96%,
    #000 100%
  );
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.hero-media::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  justify-self: center;
  display: grid;
  gap: 1.75rem;
  max-width: 38rem;
  /* Slight left nudge vs original center — not full left dock */
  transform: translateX(-2.5rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-kicker::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--copper);
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(3.1rem, 8.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero-title .line-1,
.hero-title .line-2 {
  display: block;
}

.hero-title .line-2 {
  display: block;
  color: var(--text);
}

.hero-lede {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.scroll-hint {
  position: absolute;
  bottom: 1.35rem;
  right: var(--pad);
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.scroll-hint span { color: var(--copper); }

/* ---------- section chrome ---------- */
.section {
  padding: 2.75rem 0 2.5rem;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.section-head h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- work grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

/* HTML [hidden] loses to .case { display:flex }; keep cards in DOM */
.case[hidden] {
  display: none !important;
}

.case-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.case--tall .case-media { aspect-ratio: 16 / 10; }
.case--wide .case-media { aspect-ratio: 16 / 9; }
.case--sq .case-media { aspect-ratio: 16 / 10; }

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.case:hover .case-media img {
  transform: scale(1.03);
}

.case-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.1rem;
}

.case-meta h3 {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.case-meta h3 em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}

.case-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.case:hover .case-meta h3 { color: var(--copper); }

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.about-copy .lbl { margin-bottom: 0.85rem; display: block; }

.about-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.about-copy p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 32rem;
}

.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar-index {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--copper);
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}

.pillar h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pillar p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.about-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 4 / 5;
  max-height: 340px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  filter: saturate(0.88) brightness(0.95) sepia(0.06);
  opacity: 0.92;
}

@media (max-width: 860px) {
  .about-strip { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16 / 10; max-height: 320px; }
}

/* ---------- forms ---------- */
.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.1rem;
}

.fields {
  display: grid;
  gap: 0.75rem;
}

.fields label {
  display: grid;
  gap: 0.4rem;
}

.fields input,
.fields textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.fields input:focus,
.fields textarea:focus {
  border-color: rgba(196, 160, 106, 0.45);
}

.fields textarea {
  min-height: 4.5rem;
  resize: vertical;
}

/* ---------- contact ---------- */
.contact {
  background:
    linear-gradient(180deg, transparent, rgba(196, 160, 106, 0.03)),
    var(--canvas-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact h2 {
  margin: 0.55rem 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.contact .lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.address strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-status {
  display: none;
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form.is-sent .form-status {
  display: block;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- case page ---------- */
.case-page {
  padding-top: 4.25rem;
}

.case-top {
  padding: 1.25rem 0 1rem;
}

.back {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 1.35rem;
}

.back:hover { color: var(--copper); }

.case-title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.case-title span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: -0.02em;
  margin-top: 0.35rem;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.case-facts h3 {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.case-facts p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}


.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding-bottom: 1.5rem;
}

.case-row figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 4 / 3;
}

.case-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad) 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a:hover { color: var(--copper); }

.copy {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

/* Shot framing helpers — each HTML is a framed screen */
.shot-frame {
  min-height: 900px;
}

.shot-frame--scroll {
  min-height: auto;
}

.section--compact { padding-top: 1.75rem; padding-bottom: 1.5rem; }
.contact.section--compact { padding-top: 2rem; padding-bottom: 1.75rem; }
.about-copy h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.about-copy p { margin-bottom: 1rem; font-size: 0.9rem; }
.pillar p { font-size: 0.82rem; }
.contact h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }

/* Work shot: keep first ~4–6 cards in 900px frame */
.shot-work .site-footer { display: none; }
.shot-work .case-meta h3 { font-size: 0.9rem; }
.shot-work .case { gap: 0.45rem; }
.shot-work .case-media { aspect-ratio: 16 / 8.2; }

.shot-case .site-footer { display: none; }
.shot-case .case-row figure { aspect-ratio: 16 / 10; max-height: 200px; }
.shot-case .case-title { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }

.section-head--tight h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); }
.section-head--tight { margin-bottom: 1.15rem; }
.shot-work .section--compact { padding-top: 1.5rem; padding-bottom: 1rem; }


/* ---------- living site extras (not in look shots) ---------- */
html { scroll-behavior: smooth; }

.hero {
  min-height: min(900px, 100svh);
  height: auto;
}

@media (max-width: 860px) {
  .hero-media {
    inset: 0;
    width: 100%;
  }

  .hero-media-still {
    opacity: 0.65;
    object-position: 55% 35%;
    -webkit-mask-image: linear-gradient(
      60deg,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.08) 28%,
      rgba(0, 0, 0, 0.3) 48%,
      rgba(0, 0, 0, 0.65) 70%,
      #000 90%,
      #000 100%
    );
            mask-image: linear-gradient(
      60deg,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.08) 28%,
      rgba(0, 0, 0, 0.3) 48%,
      rgba(0, 0, 0, 0.65) 70%,
      #000 90%,
      #000 100%
    );
  }

  .hero-media::after {
    content: none;
  }

  .hero-content {
    max-width: 36rem;
    transform: none; /* no horizontal nudge on narrow */
  }
}

.case-modules { margin-top: 1.5rem; }
.case-next { margin-top: 2.5rem; padding-bottom: 1.5rem; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal,
html.is-still .reveal,
html.is-still .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .case-media img { transition: none; }
  .case:hover .case-media img { transform: none; }
  .site-header,
  .site-header::before { transition: none; }
}

.section-inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}
.facts { /* alias for case-facts */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* ---------- nav active ---------- */
.nav a[aria-current="page"],
.nav a.is-active {
  opacity: 1;
  color: var(--copper);
}

/* ---------- about capabilities — air (Look v2 facit) ---------- */
.about-capabilities {
  padding-top: 3.5rem;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
}

.about-lede {
  max-width: 36rem;
  margin-top: 150px;
  margin-bottom: 150px;
}

.about-lede .lbl {
  display: block;
  margin-bottom: 0.35rem;
}

.about-lede h2 {
  margin: 0.65rem 0 0.95rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-lede p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-lede p + p {
  margin-top: 1.15em;
}

.svc-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.svc-pillar {
  padding: 1.65rem 1.5rem 1.65rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.svc-pillar:not(:first-child) {
  padding-left: 1.5rem;
}

.svc-pillar:last-child {
  border-right: none;
  padding-right: 0;
}

.svc-pillar .pillar-index {
  display: block;
  margin-bottom: 0.65rem;
}

.svc-pillar h3 {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
  line-height: 1.25;
  font-weight: 500;
}

.svc-pillar h3 em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 0.3rem;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.svc-list li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.svc-list li:last-child { border-bottom: none; }

@media (max-width: 860px) {
  .svc-pillars { grid-template-columns: 1fr; }
  .svc-pillar,
  .svc-pillar:not(:first-child),
  .svc-pillar:last-child {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ---------- AI in production — 2-col + stilren slideshow ---------- */
.ai-in-prod {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(196, 160, 106, 0.055)),
    var(--canvas-2);
  padding: 2.25rem 0 2.5rem;
}

.ai-strip {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.ai-copy .lbl {
  display: block;
  margin-bottom: 0.45rem;
}

.ai-copy h3 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 500;
}

.ai-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 28rem;
}

.ai-slides {
  position: relative;
  min-width: 0;
  outline: none;
}

.ai-slides:focus-visible {
  outline: 1px solid var(--copper);
  outline-offset: 4px;
}

.ai-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(196, 160, 106, 0.18);
}

.ai-stage .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}

.ai-stage .slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.ai-stage .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.96) sepia(0.04);
}

.ai-caption {
  margin: 0.65rem 0 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1em;
}

.ai-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
  align-items: center;
}

.ai-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  opacity: 0.7;
  cursor: pointer;
  transition: background 0.25s var(--ease), opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.ai-dots button:hover {
  opacity: 1;
}

.ai-dots button.is-active {
  background: var(--copper);
  opacity: 1;
  transform: scale(1.15);
}

.ai-dots button:focus-visible {
  outline: 1px solid var(--copper);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .ai-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-stage .slide {
    transition: none;
  }
}

/* Temporary: hide AI slideshow, center copy until new stills */
.ai-in-prod--text-only {
  padding-top: 200px;
  padding-bottom: 200px;
}

.ai-in-prod--text-only .ai-strip {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.ai-in-prod--text-only .ai-copy {
  max-width: 40rem;
  width: 100%;
}

.ai-in-prod--text-only .ai-copy p {
  margin-inline: auto;
  max-width: 36rem;
}

.ai-in-prod--text-only .ai-slides {
  display: none;
}

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