/* =========================================================
   Project Built — bespoke homes in Queenstown
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0a0a0a;
  --ink-2:      #101010;
  --ink-3:      #161616;
  --ink-card:   #131313;
  --fg:         #ffffff;
  --fg-muted:   #b3b3b3;
  --fg-dim:     #8d8d8d;
  --gold:       #ce9a55;
  --gold-hi:    #d9ab6d;
  --gold-dim:   rgba(206, 154, 85, .28);
  --line:       rgba(255, 255, 255, .10);
  --line-2:     rgba(255, 255, 255, .16);

  --serif: "Cardo", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4.5rem, 10vw, 9rem);
  --r: 2px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .55s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #0a0a0a; }

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--gold);
  color: #0a0a0a;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.h-display {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.9rem);
  letter-spacing: -.02em;
}

.lead {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.32rem);
  line-height: 1.65;
  color: #eaeaea;
  font-weight: 300;
}

.rule {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.rule-gold { margin: 1.35rem 0 1.6rem; }

.link-gold {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--gold-dim);
  transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.link-gold:hover { color: var(--gold-hi); text-decoration-color: var(--gold); }

.section { padding-block: var(--sec-y); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { color: var(--fg-muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: .95rem;
  --btn-px: 1.9rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--r);
  overflow: hidden;
  transition: color .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .ico { width: 1.05em; height: 1.05em; fill: currentColor; }

.btn-gold {
  background: var(--gold);
  color: #0e0e0e;
  box-shadow: 0 10px 26px -14px rgba(206, 154, 85, .8);
}
/* sheen */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-2px); }
.btn-gold:hover::after { left: 120%; }
.btn-gold:active { transform: translateY(0); }

.btn-sm { --btn-py: .68rem; --btn-px: 1.2rem; font-size: .7rem; letter-spacing: .13em; }
.btn-lg { --btn-py: 1.1rem; --btn-px: 2.5rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1.25rem;
  background: transparent;
  transition: padding .35s var(--ease), background-color .35s var(--ease),
              box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding-block: .6rem;
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Sits above the mobile drawer, which is a positioned sibling. */
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .85rem; }
.brand img {
  width: clamp(38px, 3.4vw, 46px);
  height: auto;
  transition: width .35s var(--ease);
}
.is-stuck .brand img { width: clamp(34px, 2.9vw, 40px); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: .01em;
}
.brand-tag {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav ul a {
  position: relative;
  display: inline-block;
  padding-block: .35rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e4e4e4;
  transition: color .25s var(--ease);
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav ul a:hover { color: #fff; }
.nav ul a:hover::after,
.nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav ul a[aria-current="true"] { color: var(--gold); }

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(560px, 100svh, 1000px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroDrift 26s var(--ease) forwards;
}
@keyframes heroDrift {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 6, 6, .88) 0%, rgba(8, 8, 8, .58) 38%, rgba(10, 10, 10, .12) 68%, rgba(10, 10, 10, .32) 100%),
    linear-gradient(to bottom, rgba(6, 6, 6, .66) 0%, transparent 22%, transparent 64%, rgba(6, 6, 6, .9) 100%);
}

.hero-inner { position: relative; padding-block: 8rem 6rem; }
/* Wide enough for "Project Built" to hold one line at desktop sizes. */
.hero-copy { max-width: min(52rem, 100%); }
.hero-copy .rule { width: 82px; height: 2px; margin-bottom: 1.9rem; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 1.6rem + 8.4vw, 8rem);
  line-height: .96;
  letter-spacing: -.035em;
  text-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.hero-sub {
  margin: 1.4rem 0 2.6rem;
  font-size: clamp(.98rem, .9rem + .55vw, 1.3rem);
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e8e8e8;
}

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  translate: -50% 0;
  width: 26px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(14px); opacity: 0; }
}

/* Staged hero entrance */
.hero-copy > * { animation: riseIn .95s var(--ease) both; }
.hero-copy > .rule      { animation-delay: .1s; }
.hero-copy > .hero-title{ animation-delay: .2s; }
.hero-copy > .hero-sub  { animation-delay: .36s; }
.hero-copy > .btn       { animation-delay: .5s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   About
   ========================================================= */
.about { background: linear-gradient(to bottom, var(--ink) 0%, var(--ink-2) 100%); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr 1fr; }
}

.about-figure {
  position: relative;
  margin: 0;
}
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-dim);
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .about-figure::after { inset: 12px -12px -12px 12px; }
}

/* ---------- Services ---------- */
.services-wrap { margin-top: clamp(4rem, 8vw, 7rem); }

.services {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }

.service {
  display: flex;
  flex-direction: column;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 30px 60px -40px #000;
}

.service-media { overflow: hidden; }
.service-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(.85) brightness(.92);
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.service:hover .service-media img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.service-body {
  flex: 1;
  padding: clamp(1.5rem, 2.4vw, 2rem);
}
.service-num {
  display: block;
  margin-bottom: .9rem;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--gold);
}
.service-body h3 {
  margin-bottom: .85rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
}
.service-body p {
  font-size: .95rem;
  line-height: 1.72;
  color: var(--fg-muted);
}

/* =========================================================
   Projects gallery
   ========================================================= */
.projects { background: var(--ink-2); }

.gallery {
  columns: 3;
  column-gap: clamp(.85rem, 1.6vw, 1.35rem);
}
@media (max-width: 1000px) { .gallery { columns: 2; } }
@media (max-width: 620px)  { .gallery { columns: 1; } }

.shot {
  margin: 0 0 clamp(.85rem, 1.6vw, 1.35rem);
  break-inside: avoid;
}

.shot-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink-3);
}
.shot-btn img {
  width: 100%;
  filter: saturate(.88) contrast(1.03);
  transition: transform .9s var(--ease), filter .5s var(--ease);
}
.shot-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 6, .7), transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
/* plus glyph */
.shot-btn::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat,
    rgba(10, 10, 10, .35);
  backdrop-filter: blur(2px);
  opacity: 0;
  scale: .78;
  transition: opacity .4s var(--ease), scale .5s var(--ease);
}
.shot-btn:hover img { transform: scale(1.05); filter: saturate(1) contrast(1); }
.shot-btn:hover::after,
.shot-btn:focus-visible::after { opacity: 1; }
.shot-btn:hover::before,
.shot-btn:focus-visible::before { opacity: 1; scale: 1; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(206, 154, 85, .07), transparent 60%),
    var(--ink);
  border-block: 1px solid var(--line);
}

.quotes { position: relative; }

.quotes-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.quotes-track::-webkit-scrollbar { display: none; }
@media (min-width: 800px)  { .quotes-track { grid-auto-columns: 52%; } }
@media (min-width: 1150px) { .quotes-track { grid-auto-columns: 40%; } }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(2rem, 3.6vw, 3rem) clamp(1.6rem, 3vw, 2.5rem) clamp(1.8rem, 3vw, 2.4rem);
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  scroll-snap-align: start;
}

.quote-mark {
  position: absolute;
  top: -.1em;
  right: 1.1rem;
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: .16;
  pointer-events: none;
}

.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p {
  font-family: var(--serif);
  font-size: clamp(1rem, .95rem + .35vw, 1.14rem);
  line-height: 1.72;
  color: #e6e6e6;
}

.quote figcaption {
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.quote-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: #fff;
}
.quote-role {
  display: block;
  margin-top: .3rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.quotes-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
.qbtn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease);
}
.qbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.qbtn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.qbtn:disabled { opacity: .3; cursor: default; }

.qdots { display: flex; align-items: center; gap: .55rem; }
.qdots button {
  width: 28px;
  height: 2px;
  background: var(--line-2);
  border-radius: 2px;
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.qdots button[aria-selected="true"] { background: var(--gold); width: 46px; }

/* =========================================================
   Master Builders
   ========================================================= */
.mb { background: var(--ink-2); }

.mb-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.2rem, 4.5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 4rem);
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(206, 154, 85, .08), transparent 55%),
    var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
@media (min-width: 860px) {
  .mb-panel { grid-template-columns: 1.35fr .65fr; }
}

.mb-copy p { color: var(--fg-muted); max-width: 58ch; }
.mb-copy strong { color: var(--gold); font-weight: 600; }

.mb-badge {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 30px 70px -45px #000;
}
.mb-badge img { width: min(190px, 60%); height: auto; }

/* =========================================================
   Contact
   ========================================================= */
.contact { background: linear-gradient(to bottom, var(--ink-2), var(--ink)); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.3rem, 2.6vw, 2rem);
}
@media (min-width: 800px) { .cards { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .45s var(--ease), transform .45s var(--ease),
              box-shadow .45s var(--ease);
}
.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-5px);
  box-shadow: 0 34px 70px -45px #000;
}

.card-media { overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.045); }

.card-body {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
}
.card-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.card-phone {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  letter-spacing: .04em;
  color: var(--gold);
  transition: color .25s var(--ease);
}
.card-phone:hover { color: var(--gold-hi); }
.card-body .btn { margin-top: 1.1rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #070707;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 880px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 46px; height: auto; }
.footer-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.footer-tag {
  margin: .2rem 0 0;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-nav { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a {
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .25s var(--ease);
  width: fit-content;
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: .8rem; }
.footer-contact a {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: #ededed;
  transition: color .25s var(--ease);
  width: fit-content;
}
.footer-contact a span {
  display: block;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .1rem;
}
.footer-contact a:hover { color: var(--gold); }

.footer-base {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}
.footer-base p {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .1em;
  color: #6e6e6e;
}

/* =========================================================
   Back to top
   ========================================================= */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  background: rgba(14, 14, 14, .8);
  backdrop-filter: blur(8px);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              visibility .4s, background-color .3s var(--ease);
}
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #0e0e0e; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 5, .96);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lb-stage {
  margin: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  min-width: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 40px 90px -40px #000;
  animation: lbIn .45s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}

.lb-count {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.lb-close {
  position: absolute;
  top: clamp(.8rem, 2.5vw, 1.6rem);
  right: clamp(.8rem, 2.5vw, 1.6rem);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  transition: border-color .3s var(--ease), color .3s var(--ease), rotate .4s var(--ease);
}
.lb-close:hover { border-color: var(--gold); color: var(--gold); rotate: 90deg; }
.lb-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.lb-arrow {
  display: grid;
  place-items: center;
  width: clamp(42px, 5vw, 54px);
  height: clamp(42px, 5vw, 54px);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  transition: border-color .3s var(--ease), color .3s var(--ease),
              background-color .3s var(--ease);
}
.lb-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(206, 154, 85, .08); }
.lb-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

body.lb-open { overflow: hidden; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Mobile nav
   ========================================================= */
@media (max-width: 1000px) {
  html { scroll-padding-top: 74px; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(72px + 1.5rem) var(--gut) 2.5rem;
    background: rgba(8, 8, 8, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .5s var(--ease), opacity .35s var(--ease);
  }
  .nav.is-open {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul a {
    display: block;
    padding: 1.05rem 0;
    font-size: .84rem;
    letter-spacing: .18em;
  }
  .nav ul a::after { display: none; }

  .nav-cta { margin-top: 1.8rem; align-self: flex-start; }

  .brand-tag { display: none; }
}

@media (max-width: 480px) {
  .quote-mark { font-size: 6rem; }
  .hero-cue { display: none; }
}

/* =========================================================
   Motion / print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .quotes-track { scroll-behavior: auto; }
}

@media print {
  .site-header, .to-top, .hero-cue, .quotes-nav, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
