/* ==========================================================================
   4315 E Columbus Dr — American Heritage Auctioneers
   Brand system: Midnight Navy / Pure White / Carbon Black / Main Gold
   Playfair Display (display) + Inter (text)
   ========================================================================== */

:root {
  --navy:        #0F172A;
  --navy-deep:   #0A101E;
  --navy-soft:   #16213B;
  --white:       #FFFFFF;
  --carbon:      #111827;
  --gold:        #C4A052;
  --gold-soft:   #D8BE7C;
  --gold-dim:    rgba(196, 160, 82, 0.32);
  --muted-dark:  rgba(255, 255, 255, 0.66);
  --muted-light: #4B5563;
  --line-dark:   rgba(255, 255, 255, 0.14);
  --line-light:  #E2E5EA;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.4rem); margin-bottom: 0.5em; }

p { margin: 0 0 1.15em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ---------- shared layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 26px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(72px, 9vw, 132px) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--light { background: var(--white); color: var(--carbon); }
.section--light h2, .section--light h3 { color: var(--carbon); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 0 0 1.1em;
}
.eyebrow--gold { color: var(--gold); }

.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: 0.5em; }

.sec-lede, .lede { font-size: 1.06rem; line-height: 1.8; color: var(--muted-light); }
.section--navy .sec-lede { color: var(--muted-dark); }
.lede { font-size: 1.16rem; }

.fineprint { font-size: 0.86rem; line-height: 1.7; color: var(--muted-light); margin-top: 34px; }
.section--navy .fineprint { color: rgba(255,255,255,0.5); }

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 240ms var(--ease), color 240ms var(--ease),
              border-color 240ms var(--ease), transform 240ms var(--ease);
  text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.34);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--outline { background: transparent; color: var(--carbon); border-color: var(--carbon); }
.btn--outline:hover { background: var(--carbon); color: var(--white); }

.link-gold {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.link-gold:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 16, 30, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.nav.is-stuck {
  background: rgba(10, 16, 30, 0.96);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nav__logo { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.nav__wordmark { display: flex; flex-direction: column; min-width: 0; }
.nav__name {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.nav__sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu > a:not(.btn) {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color 200ms var(--ease);
  white-space: nowrap;
}
.nav__menu > a:not(.btn):hover { color: var(--gold); }
.nav__cta { padding: 13px 22px; font-size: 0.68rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--white);
  transition: transform 260ms var(--ease), opacity 200ms var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 92px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,30,0.86) 0%, rgba(10,16,30,0.52) 34%, rgba(10,16,30,0.9) 100%),
    linear-gradient(90deg, rgba(10,16,30,0.78) 0%, rgba(10,16,30,0.12) 68%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 26px;
}
.hero__title {
  max-width: 16ch;
  margin-bottom: 0.42em;
  text-wrap: balance;
}
.hero__lede {
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2em;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 46px;
  margin: 0 0 2.4em;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}
.hero__facts > div { padding: 0 0 6px; }
.hero__facts dt {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.hero__facts dd {
  margin: 0; font-family: var(--serif); font-size: 1.12rem; color: var(--white);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; right: 26px; bottom: 26px;
  font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin: 0;
  writing-mode: vertical-rl;
}

/* ---------- ledger (fact table) ---------- */

.ledger {
  border-top: 1px solid var(--line-light);
  margin-bottom: clamp(44px, 5vw, 72px);
}
.ledger--dark { border-top-color: var(--line-dark); }

.ledger__row {
  display: grid;
  grid-template-columns: minmax(200px, 42%) 1fr;
  gap: 10px 30px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
  align-items: baseline;
}
.ledger--dark .ledger__row { border-bottom-color: var(--line-dark); }

.ledger__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted-light);
}
.ledger--dark .ledger__label { color: rgba(255,255,255,0.55); }

.ledger__value { font-size: 1rem; color: var(--carbon); }
.ledger--dark .ledger__value { color: var(--white); }

/* ---------- plates (photographic figures) ---------- */

.plates { display: grid; gap: 22px; margin: clamp(40px, 5vw, 66px) 0; }
.plates--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.plate {
  margin: 0;
  border: 1px solid var(--line-light);
  background: #F7F8FA;
  overflow: hidden;
}
.section--navy .plate { border-color: var(--line-dark); background: var(--navy-soft); }

.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plate--wide img { aspect-ratio: 16 / 9; }

.plate figcaption {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 18px;
  font-size: 0.8rem; letter-spacing: 0.03em;
  color: var(--muted-light);
  border-top: 1px solid var(--line-light);
}
.section--navy .plate figcaption { color: var(--muted-dark); border-top-color: var(--line-dark); }

.plate__no {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; color: var(--gold); flex: 0 0 auto;
}

.plate--btn { cursor: zoom-in; transition: border-color 240ms var(--ease); }
.plate--btn:hover { border-color: var(--gold); }
.plate--btn:hover img { opacity: 0.9; }
.plate--btn img { transition: opacity 240ms var(--ease); }

/* ---------- split content ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
}
.split--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; margin-top: 0; }
.split__col h3:first-child, .split__col .eyebrow:first-child { margin-top: 0; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.96rem;
}
.section--navy .ticks li { border-bottom-color: var(--line-dark); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 9px; height: 1px; background: var(--carbon);
}
.ticks--gold li::before { background: var(--gold); }

/* ---------- notices ---------- */

.notice {
  margin-top: clamp(40px, 5vw, 60px);
  padding: 28px 32px;
  border-left: 3px solid var(--carbon);
  background: #F5F6F8;
}
.notice--gold { border-left-color: var(--gold); background: rgba(196,160,82,0.09); }
.notice p:last-child { margin-bottom: 0; }
.notice__label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.7em;
}
.notice--gold .notice__label { color: #8A6E23; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery__note {
  margin-top: 38px; font-size: 0.86rem; color: rgba(255,255,255,0.5);
}

/* ---------- scores ---------- */

.scores {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
}
.score {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.score__num { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--white); }
.score__label {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.56);
}

/* ---------- investment case ---------- */

.case-list { display: grid; gap: 0; }
.case {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-light);
}
.case:first-child { border-top: 1px solid var(--line-light); }
.case h3 { margin-bottom: 0.4em; }
.case p:last-child { margin-bottom: 0; color: #374151; }

.sources {
  margin-top: clamp(44px, 5vw, 64px);
  padding: 30px 34px;
  background: #F5F6F8;
  border-left: 3px solid var(--gold);
}
.sources__label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.9em;
}
.sources ul { margin: 0; padding: 0; list-style: none; }
.sources li {
  font-size: 0.86rem; line-height: 1.7; color: var(--muted-light);
  padding: 6px 0 6px 18px; position: relative;
}
.sources li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 6px; height: 1px; background: var(--gold);
}

/* ---------- six-step method ---------- */

.steps {
  list-style: none;
  margin: clamp(44px, 5vw, 68px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.step {
  background: var(--navy);
  padding: 34px 30px 38px;
}
.step__no {
  display: block;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.step h3 { font-size: 1.16rem; }
.step p { font-size: 0.93rem; color: var(--muted-dark); margin-bottom: 0; }

.benefits {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.benefits h3 { margin: 0; }

/* ---------- marketing platforms ---------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.platform { background: var(--white); padding: 38px 36px 40px; }
.platform__label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.9em;
}
.platform h3 { font-size: 1.5rem; }
.platform p { color: #374151; font-size: 0.96rem; }
.platform__note { font-size: 0.86rem; color: var(--muted-light); margin-bottom: 0; }
.platform .link-gold { display: inline-block; margin-top: 4px; }

/* ---------- marketing reach tiers ---------- */

.reach {
  border: 1px solid var(--line-light);
  background: #F5F6F8;
  padding: 38px 36px 18px;
}
.reach__label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.6em;
}
.reach__tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.reach__tier { border-top: 2px solid var(--carbon); padding-top: 18px; }
.reach__tier-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--carbon);
  margin: 0 0 0.4em;
}
.reach__tier p:last-child { font-size: 0.92rem; color: #374151; margin-bottom: 1.4em; }

@media (max-width: 860px) {
  .reach__tiers { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- track record ---------- */

.split--media .plate { margin: 0; }

/* ---------- auction manager ---------- */

.manager {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 72px);
  align-items: start;
}
.manager__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-light);
}
.manager__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 0.2em;
}
.manager__title {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.6em;
}
.manager__body p { color: #374151; }

.quote {
  margin: 32px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--gold);
}
.quote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--carbon);
  margin-bottom: 0.7em;
}
.quote cite {
  font-style: normal;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-light);
}
.manager__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.32); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--actions { gap: 14px; align-items: flex-start; }
.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.48); margin: 0; }
.form-note.is-error { color: var(--gold-soft); }

.contact__card {
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.03);
  padding: 34px 32px;
}
.contact__label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em;
}
.contact__name { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 0.15em; }
.contact__title {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 0.4em;
}
.contact__org { font-size: 0.92rem; color: rgba(255,255,255,0.8); margin-bottom: 1.6em; }
.contact__line { margin: 0 0 0.5em; font-size: 1.05rem; }
.contact__line a { border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.contact__line a:hover { color: var(--gold); border-bottom-color: var(--gold-dim); }
.contact__addr { font-size: 0.95rem; color: rgba(255,255,255,0.82); }
.contact__note { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- footer ---------- */

.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line-dark);
  padding: clamp(60px, 7vw, 96px) 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.footer__brand img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 20px; }
.footer__name { font-family: var(--serif); font-size: 1.25rem; margin: 0 0 0.3em; }
.footer__tagline { font-size: 0.86rem; color: var(--gold); margin: 0; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); transition: color 200ms var(--ease);
}
.footer__nav a:hover { color: var(--gold); }
.footer__label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1em;
}
.footer__contact p { margin: 0 0 0.35em; font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.footer__contact a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__copy { margin: 0; font-size: 0.78rem; color: rgba(255,255,255,0.44); }
.footer__created {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.footer__created img { width: 120px; height: auto; }
.footer__fine {
  margin: 30px 0 0;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.32);
  max-width: 92ch;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 10, 20, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 74px;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100svh - 190px);
  width: auto;
  margin: 0 auto;
  border: 1px solid var(--line-dark);
}
.lightbox__figure figcaption {
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-dark);
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
  line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.lightbox__close { top: 22px; right: 22px; width: 44px; height: 44px; font-size: 1.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 64px; font-size: 2rem; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 16, 30, 0.99);
    border-bottom: 1px solid var(--line-dark);
    padding: 10px 26px 26px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu > a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.8rem;
  }
  .nav__cta { margin-top: 20px; width: 100%; padding: 17px 22px; }

  .split, .split--media, .manager, .contact, .benefits { grid-template-columns: minmax(0, 1fr); }
  .manager__portrait { max-width: 380px; }
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .hero { min-height: auto; padding: 128px 0 64px; }
  .hero__title { max-width: none; }
  .hero__lede { font-size: 1rem; }
  .hero__facts { gap: 18px 30px; }
  .hero__scroll { display: none; }

  .plates--two, .gallery, .platforms, .steps { grid-template-columns: minmax(0, 1fr); }
  .contact__form { grid-template-columns: minmax(0, 1fr); }

  /* Full-width calls to action on mobile */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .manager__actions { flex-direction: column; align-items: stretch; }
  .manager__actions .btn { width: 100%; }
  .field--actions .btn { width: 100%; }

  .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ledger__label { font-size: 0.66rem; }

  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .score__num { font-size: 1.9rem; }

  .lightbox { padding: 56px 12px 92px; }
  .lightbox__nav { width: 44px; height: 52px; font-size: 1.6rem; top: auto; bottom: 18px; transform: none; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__figure img { max-height: calc(100svh - 220px); }

  .footer__created img { width: 100px; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 20px; }
  .hero__content { padding: 0 20px; }
  .nav__inner { padding: 10px 20px; }
  .nav__name { font-size: 0.9rem; }
  .scores { grid-template-columns: minmax(0, 1fr); }
}

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

/* ---------- auction banner + countdown ---------- */
.auction-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 0 2.5rem;
  padding: 28px 24px 26px;
  text-align: center;
  background: linear-gradient(180deg, rgba(196, 160, 82, 0.055) 0%, rgba(196, 160, 82, 0) 100%);
  border-top: 1px solid rgba(196, 160, 82, 0.42);
  border-bottom: 1px solid rgba(196, 160, 82, 0.42);
}
.auction-strip__date {
  max-width: 62ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.8vw, 1.36rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.94);
}
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 3.4vw, 40px);
  margin: 0;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(56px, 8vw, 92px);
}
.countdown__value {
  font-family: var(--serif);
  font-size: clamp(1.95rem, 4.6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  margin-top: 9px;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}
.countdown__sep {
  align-self: flex-start;
  width: 1px;
  height: clamp(28px, 4.6vw, 46px);
  margin-top: clamp(2px, 0.5vw, 6px);
  background: linear-gradient(180deg, rgba(196, 160, 82, 0) 0%, rgba(196, 160, 82, 0.55) 50%, rgba(196, 160, 82, 0) 100%);
}

@media (max-width: 720px) {
  .auction-strip { gap: 16px; padding: 22px 16px 20px; margin-bottom: 2rem; }
  .auction-strip__date { font-size: 0.98rem; line-height: 1.6; }
  .countdown { width: 100%; gap: 8px; }
  .countdown__unit { flex: 1 1 0; min-width: 0; }
  .countdown__value { font-size: 1.75rem; }
  .countdown__label { font-size: 0.52rem; letter-spacing: 0.14em; margin-top: 7px; }
  .countdown__sep { height: 26px; margin-top: 2px; }
}
