/* ==========================================================
   Golden Tool Exterior — v3 "Noir"
   Dark, premium, modern. Pure HTML + CSS, no JavaScript.
   ========================================================== */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/cinzel-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg:      #0A0A0B;
  --bg-2:    #111113;
  --bg-3:    #19191C;
  --bg-4:    #222226;
  --line:    rgba(255, 255, 255, .09);
  --line-2:  rgba(255, 255, 255, .18);
  --text:    #F3F1EC;
  --mute:    #A9A59C;
  --dim:     #77746D;
  --gold:    #C9A24B;
  --gold-hi: #E5C677;
  --gold-lo: #8F7330;
  --on-gold: #0A0A0B;

  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-logo:  'Cinzel', 'Times New Roman', serif;

  --nav-h:  76px;
  --gutter: clamp(18px, 4vw, 56px);
  --max:    1280px;
  --radius: 12px;
  --ease:   cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mute);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  background: var(--gold); color: var(--on-gold);
  padding: .7rem 1.1rem; font-weight: 700; border-radius: 6px;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
h1, h2, h3, h4 { color: var(--text); text-wrap: balance; }

h1, h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: .98;
}
h1 { font-size: clamp(3rem, 7.6vw, 7rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
h1 em, h2 em { font-style: italic; color: var(--gold-hi); }

h3 { font: 700 1.15rem/1.3 var(--f-sans); letter-spacing: -0.01em; }
h4 { font: 700 1rem/1.3 var(--f-sans); }

p { max-width: 62ch; }
p + p { margin-top: 1rem; }
strong, b { color: var(--text); font-weight: 700; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--mute); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 .72rem/1 var(--f-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.8em;
  font: 700 .86rem/1 var(--f-sans);
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: translateY(1px); }

.btn--arrow::after {
  content: ""; width: 1em; height: 1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn--arrow:hover::after { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hi); box-shadow: 0 10px 34px rgba(201, 162, 75, .28); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 10, 11, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
/* Logo lockup: lion crest + one-line wordmark */
.logo { display: inline-flex; align-items: center; gap: 14px; line-height: 1; }
.logo__mark { height: 46px; width: auto; flex: none; }
.logo__word {
  display: inline-flex; align-items: baseline; gap: .55em;
  font: 700 1.2rem/1 var(--f-logo);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
}
.logo__word i { font-style: normal; font-weight: 500; color: var(--gold-hi); letter-spacing: .24em; }
.logo--lg .logo__mark { height: 54px; }
.logo--lg .logo__word { font-size: 1.35rem; }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.8vw, 2.6rem); }
.nav__links a {
  position: relative; padding: .5rem 0;
  font: 600 .88rem/1 var(--f-sans); letter-spacing: .01em;
  color: var(--mute);
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__links a.nav__cta {
  background: var(--gold); color: var(--on-gold);
  padding: .8rem 1.3rem; border-radius: 8px; font-weight: 700;
  transition: background .2s, transform .2s var(--ease);
}
.nav__links a.nav__cta::after { display: none; }
.nav__links a.nav__cta:hover { background: var(--gold-hi); transform: translateY(-1px); color: var(--on-gold); }

/* Hamburger — CSS-only via a hidden checkbox */
.nav-toggle-checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle-checkbox:focus-visible ~ .nav .nav__burger { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.nav-toggle-checkbox:checked ~ .nav .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-checkbox:checked ~ .nav .nav__burger span:nth-child(2) { opacity: 0; }
.nav-toggle-checkbox:checked ~ .nav .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-backdrop { display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 98; background: rgba(0, 0, 0, .6); }
.nav-toggle-checkbox:checked ~ .nav__mobile-backdrop { display: block; }

.nav__mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  flex-direction: column;
  padding: 8px var(--gutter) 30px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle-checkbox:checked ~ .nav__mobile { display: flex; transform: none; opacity: 1; }
.nav__mobile a {
  padding: 18px 0;
  font: 400 2rem/1 var(--f-serif);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:hover { color: var(--gold-hi); }
.nav__mobile a:last-child { border-bottom: 0; color: var(--gold-hi); font-style: italic; }

/* ==========================================================
   HOME HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('../photos/home-hero.webp') center / cover no-repeat;
  animation: slow-zoom 14s var(--ease) both;
}
@keyframes slow-zoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.7) 48%, rgba(10,10,11,.28) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 38%);
}
.hero__main { flex: 1; display: flex; align-items: center; padding-block: clamp(48px, 8vw, 110px); }
.hero__copy { max-width: 46rem; }
.hero h1 { margin-bottom: 1.6rem; animation: rise .9s var(--ease) .15s both; }
.hero .eyebrow { animation: rise .9s var(--ease) both; }
.hero__lede { max-width: 33rem; animation: rise .9s var(--ease) .3s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; animation: rise .9s var(--ease) .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.proof { border-top: 1px solid var(--line); background: rgba(10, 10, 11, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 26px 24px; border-right: 1px solid var(--line); }
.proof__item:first-child { padding-left: 0; }
.proof__item:last-child { border-right: 0; }
.proof__num { display: block; font: 400 clamp(2rem, 3.4vw, 2.9rem)/1 var(--f-serif); color: var(--gold-hi); }
.proof__lbl { display: block; margin-top: 8px; font: 600 .72rem/1.4 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

.star { display: inline-block; width: .62em; height: .62em; margin-left: .12em; fill: var(--gold-hi); vertical-align: .08em; }
.stars {
  display: inline-block; width: 90px; height: 18px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E5C677' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") repeat-x left center / 18px 18px;
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }
.sec-head h2 { margin-bottom: 1.2rem; }
.sec-head--center p { margin-inline: auto; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.card::before {
  content: ""; position: absolute; left: 26px; top: -1px; width: 40px; height: 2px; background: var(--gold);
  transition: width .4s var(--ease);
}
.card:hover { border-color: var(--gold-lo); background: var(--bg-3); transform: translateY(-5px); }
.card:hover::before { width: calc(100% - 52px); }
.card h3 { margin-bottom: .8rem; }
.card p { font-size: .94rem; line-height: 1.65; margin-bottom: 1.6rem; }
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.card__more::after {
  content: ""; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.card:hover .card__more::after { transform: translateX(5px); }

.card--cta { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.card--cta::before { display: none; }
.card--cta:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.card--cta h3 { color: var(--on-gold); font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1.02 var(--f-serif); letter-spacing: -0.01em; }
.card--cta p { color: #2A220F; }
.card--cta .card__more { color: var(--on-gold); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split__media { position: relative; }
.split__media .frame { position: relative; z-index: 1; }
.split__media::after {
  content: ""; position: absolute; z-index: 0; inset: 0; border: 1px solid var(--gold-lo); border-radius: var(--radius);
  transform: translate(16px, 16px);
}
.frame { overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--45 { aspect-ratio: 4 / 5; }
.split__text h2 { margin-bottom: 1.4rem; }
.split__text .btn { margin-top: 2rem; }

.points { margin-top: 2rem; display: grid; gap: 22px; }
.point { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point__tick {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold-lo);
  background: rgba(201, 162, 75, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5C677' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.point h3 { margin-bottom: .35rem; }
.point p { font-size: .95rem; line-height: 1.65; }

/* ---------- Project cards (home) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(240px, 26vw, 360px)); gap: 16px; }
.feature__card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); }
.feature__card--lg { grid-row: span 2; }
.feature__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature__card:hover img { transform: scale(1.05); }
.feature__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.1) 55%, rgba(10,10,11,0) 100%); }
.feature__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 32px); }
.feature__tag { font: 700 .68rem/1.3 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.feature__cap h3 { margin-top: 8px; font: 400 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--f-serif); letter-spacing: -0.01em; }
.feature__loc { margin-top: 6px; font-size: .85rem; color: var(--mute); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(26px, 3.2vw, 40px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote blockquote { font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.38 var(--f-serif); color: var(--text); letter-spacing: -0.005em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold-lo); color: var(--gold-hi);
  font: 700 .78rem/1 var(--f-sans); letter-spacing: .06em;
}
.quote__who { display: block; font-weight: 700; color: var(--text); font-size: .95rem; line-height: 1.3; }
.quote__role { display: block; font-size: .82rem; color: var(--mute); }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; text-align: center; padding-block: clamp(88px, 12vw, 170px); overflow: hidden; border-top: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.88), rgba(10,10,11,.8)); }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 16ch; margin-inline: auto; }
.cta p { margin: 1.4rem auto 0; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.4rem; }

/* ---------- Footer ---------- */
.footer { background: #070708; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 30px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 20px; max-width: 30ch; font-size: .93rem; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--mute); transition: background .2s, color .2s, border-color .2s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.footer__col h2 { font: 700 .72rem/1.2 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: .94rem; color: var(--mute); transition: color .2s; }
.footer__col a:hover { color: var(--gold-hi); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; }
.footer__bottom p, .footer__bottom a { font-size: .8rem; color: var(--dim); max-width: none; }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--text); }

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(64px, 10vw, 140px)) 0 clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.8) 55%, rgba(10,10,11,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 50%);
}
.page-hero h1 { font-size: clamp(2.8rem, 6.6vw, 6rem); max-width: 15ch; margin-bottom: 1.5rem; }
.page-hero .lede { max-width: 38rem; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; }
.stats__item { padding: clamp(26px, 3vw, 40px) 24px; text-align: center; border-right: 1px solid var(--line); }
.stats__item:last-child { border-right: 0; }
.stats__num { display: block; font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--f-serif); color: var(--gold-hi); }
.stats__lbl { display: block; margin-top: 10px; font: 600 .72rem/1.4 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

.panels { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel { padding: clamp(26px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.panel__mark { width: 40px; height: 2px; background: var(--gold); margin-bottom: 1.4rem; }
.panel__num { display: block; margin-bottom: 1.2rem; font: 400 clamp(2.8rem, 4.4vw, 4rem)/1 var(--f-serif); color: var(--gold-hi); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.team figure { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.team figure:hover { border-color: var(--gold-lo); transform: translateY(-4px); }
.team .frame { aspect-ratio: 3 / 4; border-radius: 0; }
.team figcaption { padding: 18px 20px 22px; }
.team figcaption b { display: block; color: var(--text); font-size: 1rem; }
.team figcaption span { display: block; margin-top: 3px; font-size: .84rem; color: var(--mute); }

/* Services page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2rem; }
.jump a { font: 600 .8rem/1 var(--f-sans); padding: .75rem 1.1rem; border: 1px solid var(--line-2); border-radius: 100px; color: var(--text); transition: border-color .2s, color .2s, background .2s; }
.jump a:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(201,162,75,.06); }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.svc:first-child { border-top: 0; }
.svc--flip .svc__media { order: 2; }
.svc__text h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1.4rem; }
.svc__text .btn { margin-top: 2rem; }

/* Projects page */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2rem; }
.chips a { font: 600 .8rem/1 var(--f-sans); padding: .75rem 1.1rem; border: 1px solid var(--line-2); border-radius: 100px; color: var(--text); transition: border-color .2s, color .2s, background .2s; }
.chips a:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(201,162,75,.06); }

.project { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.project:first-child { border-top: 0; }
.project__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 90px); align-items: start; margin-bottom: clamp(28px, 4vw, 48px); }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 1.2rem; }
.pill { display: inline-flex; align-items: center; padding: .5rem .9rem; border: 1px solid var(--gold-lo); border-radius: 100px; background: rgba(201,162,75,.08); color: var(--gold-hi); font: 700 .68rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.project__loc { font-size: .88rem; color: var(--mute); }
.project h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--bg-3); cursor: zoom-in; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .3s; filter: brightness(.9); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .3s; }
.tile:hover img { transform: scale(1.06); filter: brightness(1.05); }
.tile:hover::after { box-shadow: inset 0 0 0 1px var(--gold); }
.tile--w2 { grid-column: span 2; aspect-ratio: 8 / 3; }
.tile--w3 { grid-column: span 3; aspect-ratio: 4 / 1; }
.tile--w4 { grid-column: span 4; aspect-ratio: 16 / 3; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
.details { margin-top: 2.2rem; display: grid; gap: 12px; }
.details__item { display: block; padding: 20px 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, background .25s; }
a.details__item:hover { border-color: var(--gold-lo); background: var(--bg-3); }
.details__label { display: block; font: 700 .68rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.details__value { display: block; font: 600 1.1rem/1.35 var(--f-sans); color: var(--text); overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { font: 600 .78rem/1 var(--f-sans); padding: .7rem 1rem; border: 1px solid var(--line-2); border-radius: 100px; color: var(--text); }
.contact__work { margin-top: 2.4rem; }
.contact__work h3 { font-size: .95rem; color: var(--text); }

.form-card { padding: clamp(26px, 4vw, 52px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; }
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .6rem; }
.form-card > p { margin-bottom: 2rem; font-size: .95rem; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 700 .76rem/1.2 var(--f-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--f-sans); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9A59C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.2); }
.field textarea { min-height: 160px; resize: vertical; }
.form .btn { width: 100%; padding-block: 1.25em; }
.honeypot { position: absolute; left: -9999px; }

/* Thank-you */
.thanks { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100svh; padding: calc(var(--nav-h) + 48px) 0 80px; }
.thanks .page-hero__bg { z-index: -2; }
.thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.95), rgba(10,10,11,.7)); }
.thanks h1 { max-width: 14ch; margin-bottom: 1.4rem; }
.thanks .hero__actions { margin-top: 2.2rem; }

/* ==========================================================
   LIGHTBOX (CSS-only, driven by :target)
   ========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 5vh 4vw;
  background: rgba(6, 6, 7, .96);
}
.lightbox:target { display: flex; animation: lb-in .3s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__backdrop-close { position: absolute; inset: 0; z-index: 0; }
.lightbox__stage { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; flex: 1 1 auto; min-height: 0; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lightbox:target .lightbox__img { animation: lb-img .45s var(--ease) both; }
@keyframes lb-img { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox__foot { position: relative; z-index: 1; text-align: center; }
.lightbox__counter { font: 700 .72rem/1 var(--f-sans); letter-spacing: .2em; color: var(--gold); margin-bottom: 8px; }
.lightbox__caption { max-width: 60ch; margin-inline: auto; font-size: .92rem; line-height: 1.5; color: var(--mute); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10,10,11,.7); color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.lightbox__close { position: fixed; top: 20px; right: 20px; z-index: 2; }
.lightbox__nav { top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__prev { left: 0; }
.lightbox__next { right: 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .split, .split--wide-text, .svc, .contact, .project__head { grid-template-columns: minmax(0, 1fr); }
  .svc--flip .svc__media { order: 0; }
  .split__media::after { transform: translate(10px, 10px); }
  .feature { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: clamp(240px, 52vw, 380px); }
  .feature__card--lg { grid-row: auto; }
  .quotes, .panels { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--w2, .tile--w3, .tile--w4 { grid-column: auto; aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 1060px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .logo__mark { height: 40px; }
  .logo__word { font-size: 1rem; }
  .logo--lg .logo__mark { height: 46px; }
  .logo--lg .logo__word { font-size: 1.1rem; }

  .hero__bg { background-position: 62% center; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,.78) 45%, rgba(10,10,11,.7) 100%); }
  .proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof__item { padding: 20px 16px; }
  .proof__item:first-child { padding-left: 16px; }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__img { max-height: 70vh; }
  .footer__top { gap: 32px; }
  .footer__col:last-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .logo { gap: 10px; }
  .logo__mark { height: 34px; }
  .logo__word, .logo--lg .logo__word { font-size: .82rem; letter-spacing: .07em; }
  .logo__word i, .logo--lg .logo__word i { letter-spacing: .16em; }
  .hero__actions .btn, .cta__actions .btn, .thanks .btn { width: 100%; }
  .team { gap: 10px; }
  .team figcaption { padding: 14px 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ==========================================================
   LEGAL / PROSE PAGES
   ========================================================== */
.form__consent { font-size: .8rem; line-height: 1.55; color: var(--dim); max-width: none; }
.form__consent a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.prose-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); }
.toc ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: 10px; font-size: .9rem; }
.toc li::marker { color: var(--gold); font-weight: 700; }
.toc a { color: var(--mute); transition: color .2s; }
.toc a:hover { color: var(--gold-hi); }
.prose { max-width: 760px; }
.prose__meta { font: 700 .72rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.prose section { scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.01em; margin: 2.8rem 0 1rem; }
.prose section:first-of-type h2 { margin-top: 0; }
.prose p, .prose li { max-width: none; font-size: 1.02rem; line-height: 1.75; }
.prose ul { margin: 1rem 0 1rem 1.2rem; list-style: disc; display: grid; gap: .6rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-lo); }
.prose a:hover { text-decoration-color: var(--gold-hi); }
.prose em { color: var(--text); }
@media (max-width: 980px) {
  .prose-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
}

/* ==========================================================
   ADMIN (server-rendered, no JavaScript)
   ========================================================== */
.admin-bar { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 72px; padding-block: 10px; }
.admin-bar__nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.admin-bar__nav a { font: 600 .88rem/1 var(--f-sans); color: var(--mute); }
.admin-bar__nav a:hover { color: var(--text); }
.admin-bar__nav form { display: inline; }
.admin-main { max-width: 1000px; padding-block: clamp(32px, 5vw, 64px) 110px; margin-inline: auto; padding-inline: var(--gutter); }
.admin-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-title h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.admin-title p { margin-top: .5rem; }
.btn--sm { padding: .75em 1.15em; font-size: .78rem; border-radius: 6px; }
.btn--danger { background: #B23A32; color: #fff; }
.btn--danger:hover { background: #CF4A41; }
.flash { padding: 14px 18px; margin-bottom: 24px; border: 1px solid var(--gold-lo); background: rgba(201,162,75,.08); color: var(--gold-hi); border-radius: 10px; max-width: none; }
.flash--error { border-color: #B23A32; background: rgba(178,58,50,.1); color: #F2A8A2; }
.plist { display: grid; gap: 12px; }
.prow { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.prow__img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--bg-3); }
.prow h2 { font: 700 1.1rem/1.3 var(--f-sans); letter-spacing: 0; color: var(--text); }
.prow p { max-width: none; font-size: .86rem; line-height: 1.5; }
.prow__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.prow__actions form { display: inline; }
.admin-card { padding: clamp(22px, 3.5vw, 40px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; }
.admin-card--narrow { max-width: 480px; margin: clamp(32px, 8vw, 96px) auto; }
.admin-card h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .8rem; }
.admin-card > p { margin-bottom: 1.6rem; font-size: .95rem; }
.admin-card + .admin-card { margin-top: 20px; }
.field small { color: var(--dim); font-size: .8rem; line-height: 1.5; }
.field input[type="file"] { padding: 12px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo { display: grid; gap: 8px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.photo label { display: flex; gap: 8px; align-items: center; font: 600 .78rem/1.2 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--mute); cursor: pointer; }
.photo input { width: auto; accent-color: var(--gold); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form .admin-actions .btn { width: auto; padding-block: 1em; }
.admin-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: 12px; }
@media (max-width: 640px) {
  .prow { grid-template-columns: 84px minmax(0, 1fr); }
  .prow__img { width: 84px; height: 66px; }
  .prow__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ==========================================================
   PROJECTS SLIDESHOW (home) — CSS-only crossfade
   Keyframes and per-slide :checked rules are generated into the page head.
   ========================================================== */
.slideshow { position: relative; }
.slideshow__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.slideshow__stage {
  position: relative; aspect-ratio: 16 / 8; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px;
}
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  animation: slide-fade calc(var(--n) * var(--t)) linear infinite both;
  animation-delay: calc(var(--i) * var(--t));
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.45) 45%, rgba(10,10,11,0) 75%), linear-gradient(0deg, rgba(10,10,11,.6) 0%, rgba(10,10,11,0) 40%); }
.slide__cap { position: absolute; z-index: 2; left: 0; bottom: 0; max-width: 40rem; padding: clamp(24px, 4.5vw, 64px); }
.slide__tag { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--gold-lo); border-radius: 100px; background: rgba(10,10,11,.55); color: var(--gold-hi); font: 700 .68rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.slide__cap h3 { margin: 1rem 0 .4rem; font: 400 clamp(2.4rem, 5.4vw, 4.8rem)/.98 var(--f-serif); letter-spacing: -0.015em; color: var(--text); }
.slide__loc { margin-bottom: 1.6rem; color: var(--mute); max-width: none; }

.slide__nav {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(10,10,11,.6);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.slide__nav::before {
  content: ""; width: 20px; height: 20px; background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.slide__nav:hover { background: var(--gold); border-color: var(--gold); }
.slide__nav:hover::before { background: var(--on-gold); }
.slide__prev { left: clamp(12px, 2vw, 24px); }
.slide__next { right: clamp(12px, 2vw, 24px); }
.slide__next::before { transform: scaleX(-1); }

.slideshow__bar { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.slideshow__dots { flex: 1; display: flex; gap: 8px; }
.dot { position: relative; flex: 1 1 0; max-width: 90px; height: 24px; display: block; cursor: pointer; }
.dot::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px; background: var(--line-2); }
.dot i {
  position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 3px;
  background: var(--gold); transform-origin: left; transform: scaleX(0);
  animation: dot-fill calc(var(--n) * var(--t)) linear infinite both;
  animation-delay: calc(var(--i) * var(--t));
}
.slideshow__pause { font: 700 .72rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); cursor: pointer; padding: .7rem 1rem; border: 1px solid var(--line-2); border-radius: 100px; transition: color .2s, border-color .2s; }
.slideshow__pause:hover { color: var(--gold-hi); border-color: var(--gold); }
.slideshow__pause .when-paused { display: none; }
#slideshow-pause:checked ~ .slideshow__bar .when-playing { display: none; }
#slideshow-pause:checked ~ .slideshow__bar .when-paused { display: inline; }
#slideshow-pause:focus-visible ~ .slideshow__bar .slideshow__pause { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* Pause on hover/focus, or with the Pause button */
.slideshow:hover .slide, .slideshow:focus-within .slide,
.slideshow:hover .dot i, .slideshow:focus-within .dot i,
#slideshow-pause:checked ~ .slideshow__stage .slide,
#slideshow-pause:checked ~ .slideshow__bar .dot i { animation-play-state: paused; }

/* A visitor picked a slide: stop autoplay and show only that one */
.slideshow:has(input[name="slide"]:checked) .slide { animation: none; opacity: 0; visibility: hidden; }
.slideshow:has(input[name="slide"]:checked) .dot i { animation: none; transform: scaleX(0); }

.slideshow--single .slide { animation: none; opacity: 1; visibility: visible; }

@media (max-width: 760px) {
  .slideshow__stage { aspect-ratio: 4 / 5; }
  .slide::after { background: linear-gradient(0deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.5) 45%, rgba(10,10,11,0) 80%); }
  .slide__nav { top: 36%; width: 44px; height: 44px; }
  .slide__cap h3 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .slide__cap .btn { width: 100%; }
  .slideshow__pause { padding: .65rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide:first-child { opacity: 1; visibility: visible; }
  .slideshow__pause { display: none; }
}

.footer__label { display: block; margin-bottom: 2px; font: 700 .66rem/1.4 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* Mid-size screens: give the one-line footer logo its own row so it never crowds the columns */
@media (min-width: 981px) and (max-width: 1180px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand p { max-width: 46ch; }
}
