/* ==========================================================================
   LYCAON | Phase One house system
   Loaded last. Takes its colours from the opening (hero and wordmark), which is
   the reference. The opening itself is not restyled here.

   Measured from the hero and wordmark:
     obsidian  #05060B   deepest night of the hero
     midnight  #0C0D13   hero sky
     charcoal  #17171B   hero haze
     gold      #AD7B3F   wordmark mid tone (shadow #7D5327, light #D4A361)
   ========================================================================== */
:root {
  --obsidian: #05060B;
  --midnight: #0C0D13;
  --charcoal: #17171B;
  --blueblack: #0C0D13;
  --forest: #0A0D0C;
  --smoke: #141315;
  --slate: #5E6672;            /* restrained cool silver, used sparingly */
  --umber: #2A2219;

  --gold-antique: #AD7B3F;
  --gold-shadow: #7D5327;
  --gold-light: #D4A361;
  --pewter: #B08A5C;           /* accent text: antique brass, legible on black */
  --pewter-hi: #CDA56E;

  --bone: #E6DFD4;
  --parchment: #CFC6B8;
  --mute: #8F8A84;

  --ink: var(--obsidian);
  --night: var(--midnight);
  --gold: var(--pewter);
  --gold-hi: var(--pewter-hi);
  --ivory: var(--bone);
  --stone: var(--mute);
  --ivory-80: rgba(230, 223, 212, 0.84);
  --ivory-60: rgba(230, 223, 212, 0.62);
  --line: rgba(230, 223, 212, 0.1);
  --line-gold: rgba(173, 123, 63, 0.4);
}
body { background: var(--obsidian); }

/* --------------------------------------------------------------------------
   Atmosphere after the opening: deep blacks that keep detail, no grey fog
   -------------------------------------------------------------------------- */
.atmos { background: var(--obsidian); }
.atmos__scene--midnight {
  background:
    radial-gradient(80% 45% at 50% -5%, rgba(22, 27, 44, 0.75), transparent 70%),
    linear-gradient(180deg, #08090F 0%, #05060B 100%);
}
.atmos__scene--forest {
  background:
    radial-gradient(70% 50% at 70% 0%, rgba(20, 26, 40, 0.6), transparent 70%),
    linear-gradient(180deg, #06080B 0%, #05070A 60%, #040506 100%);
}
.atmos__scene--interior {
  background:
    radial-gradient(48% 42% at 20% 26%, rgba(173, 123, 63, 0.07), transparent 72%),
    linear-gradient(160deg, #141314 0%, #0B0B0D 55%, #060608 100%);
}
.atmos__scene--studio {
  background:
    radial-gradient(55% 40% at 50% -6%, rgba(230, 214, 190, 0.06), transparent 70%),
    linear-gradient(180deg, #070709 0%, #050506 100%);
}
html[data-scene="studio"] .atmos__scene--studio { opacity: 1; }
/* The mist belongs to the opening only */
.atmos__scene .fog { display: none; }
.lamp { background: radial-gradient(36% 32% at 22% 28%, rgba(212, 163, 97, 0.07), transparent 70%); }
.atmos__light { opacity: 0.6; }
.atmos__vignette { background: radial-gradient(125% 95% at 50% 45%, transparent 50%, rgba(2, 2, 4, 0.7) 100%); }
/* Vintage photographic grain */
.grain { opacity: 0.065; }

/* --------------------------------------------------------------------------
   Typography: disciplined tracking, clear hierarchy (opening untouched)
   -------------------------------------------------------------------------- */
.eyebrow, .micro, .chapter-mark, .piece__sub, .piece__meta dt, .acc summary, .sg__label { letter-spacing: 0.22em; }
.chapter-mark { font-size: 10px; gap: 16px; }
.js .chapter-mark[data-reveal] .chapter-mark__name { letter-spacing: 0.36em; }
.js .chapter-mark.is-in .chapter-mark__name { letter-spacing: 0.24em; }
.header__nav a { letter-spacing: 0.2em; font-size: 10.5px; }
.header__nav a:hover { letter-spacing: 0.22em; }
.btn { letter-spacing: 0.2em; }
.btn:hover, .btn:focus-visible { letter-spacing: 0.22em; }
.btn--gold { background: var(--bone); color: var(--obsidian); }
.btn--gold::before { background: var(--gold-antique); }
.btn--gold:hover, .btn--gold:focus-visible { color: var(--obsidian); }
.btn--line { border-color: rgba(230, 223, 212, 0.3); }
.display em { color: var(--parchment); }
.whisper { color: var(--parchment); }
body { font-size: 15.5px; }
.lede { color: var(--bone); }

/* --------------------------------------------------------------------------
   I. The Collection
   -------------------------------------------------------------------------- */
.debut__head .display { grid-column: 1 / -1; }
.debut__aside { grid-column: 7 / 13; display: grid; gap: 18px; margin-top: 30px; }
.debut__aside .debut__line { max-width: none; padding: 0; }
.debut__intro { color: var(--parchment); opacity: 0.88; max-width: 40ch; font-size: 15px; }
.debut__foot {
  max-width: 1080px; margin: clamp(70px, 8vw, 120px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 40px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.debut__status { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 21px); color: var(--parchment); max-width: 52ch; }
.piece__media { background: #0B0907; box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9); }
.piece__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(173, 123, 63, 0.12);
}
.piece__media { position: relative; }
.piece__num { color: var(--pewter); }
.piece__meta dd { font-variant-numeric: lining-nums; }
.pdp__price-label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-left: 10px; }
.sizes-select legend .opt, .fa-group .opt, .fa-field .opt { font-size: 10px; letter-spacing: 0.12em; text-transform: none; color: var(--mute); margin-left: 6px; }

/* --------------------------------------------------------------------------
   II. The House: origin plate, myth, philosophy
   -------------------------------------------------------------------------- */
.house-chapter { padding-top: var(--section); }
.house-chapter > .wrap:first-child .chapter-mark { margin-bottom: 40px; }
.origin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.origin__plate { position: absolute; inset: 0; margin: 0; z-index: -1; }
.origin__plate img {
  width: 100%; height: 110%; object-fit: cover; object-position: 8% 30%;
  filter: saturate(0.45) brightness(0.82) contrast(1.06);
}
/* Cool the warm plate toward moonlight, and dissolve its edges into the night */
.origin__plate::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #0E1528; mix-blend-mode: color; opacity: 0.55; }
.origin__plate::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, var(--obsidian) 0%, rgba(5, 6, 11, 0) 22%, rgba(5, 6, 11, 0) 50%, rgba(5, 6, 11, 0.85) 82%, var(--obsidian) 100%),
    linear-gradient(90deg, rgba(5, 6, 11, 0.7) 0%, rgba(5, 6, 11, 0) 55%);
}
.origin__text { padding-bottom: clamp(70px, 12vh, 140px); display: grid; gap: 28px; }
.origin__whisper { max-width: 30ch; }

.myth2 {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px;
  padding-block: clamp(90px, 10vw, 160px) 0;
}
.myth2__greek { grid-column: 1 / 4; display: grid; gap: 8px; font-family: var(--serif); font-size: 24px; color: var(--pewter); }
.myth2__greek span { font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.myth2__body { grid-column: 5 / 12; display: grid; gap: 22px; }
.myth2__body p:not(.lede) { color: var(--parchment); opacity: 0.88; max-width: 58ch; }
.themes {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 0; justify-content: flex-start;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.themes li { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 24px); text-transform: uppercase; letter-spacing: 0.06em; color: var(--bone); }
.themes li + li::before { content: "\00B7"; margin: 0 0.7em; color: var(--gold-antique); }

.wolf { margin: clamp(90px, 10vw, 160px) 0 0; position: relative; }
.wolf img { display: block; width: 100%; height: auto; filter: saturate(0.6) brightness(0.9); }
.wolf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--obsidian), transparent 18%, transparent 80%, var(--obsidian)); pointer-events: none; }

.philosophy {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 60px; align-items: center;
  padding-block: clamp(120px, 14vw, 220px) 0;
}
.philosophy__text { grid-column: 1 / 7; display: grid; gap: 28px; }
.philosophy__lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--bone); max-width: 26ch; }
.philosophy__body { display: grid; gap: 14px; }
.philosophy__body p { color: var(--parchment); opacity: 0.9; max-width: 50ch; }
.philosophy__quote { margin: 8px 0 0; padding-left: 22px; border-left: 1px solid var(--line-gold); }
.philosophy__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--bone); }
.philosophy__detail { grid-column: 8 / 13; margin: 0; display: grid; gap: 12px; }
.philosophy__detail img { display: block; width: 100%; height: auto; box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95); transition: transform 2.6s var(--ease), filter 1.8s var(--ease); }
.philosophy__detail:hover img { transform: scale(1.015); filter: brightness(1.06); }
.philosophy__close {
  grid-column: 1 / -1; text-align: center; padding-top: 40px;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--pewter);
}

/* --------------------------------------------------------------------------
   III. The House of Men
   -------------------------------------------------------------------------- */
#house-of-men { padding-top: var(--section); }
.alpha + .alpha { margin-top: clamp(110px, 12vw, 190px); }
/* Alternate features mirror the text column for a portrait series rhythm */
.alpha--alt .alpha__desc, .alpha--alt .alpha__more { grid-column: 1 / 8; }

/* --------------------------------------------------------------------------
   The house continues
   -------------------------------------------------------------------------- */
.continues { padding-top: var(--section); }
.continues__inner { display: grid; gap: 24px; max-width: 980px; }
.continues__text { color: var(--parchment); opacity: 0.88; max-width: 50ch; font-size: 15.5px; }

/* --------------------------------------------------------------------------
   IV. First Access
   -------------------------------------------------------------------------- */
.access2 { padding-block: var(--section) clamp(80px, 9vw, 140px); scroll-margin-top: 40px; }
.access2__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 50px; align-items: start; }
.access2__head { grid-column: 1 / 6; display: grid; gap: 28px; }
.access2__head .chapter-mark { margin-bottom: 10px; }
.access2__copy { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; color: var(--parchment); max-width: 30ch; }
.access2__panel { grid-column: 7 / 13; }

.fa-form { display: grid; gap: 26px; }
.fa-field { display: grid; gap: 8px; }
.fa-field label, .fa-group legend { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-80); padding: 0; }
.fa-field input {
  width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(230, 223, 212, 0.25);
  background: transparent; color: var(--bone); font: 300 18px/1.4 var(--sans); border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color 0.4s;
}
.fa-field input:focus { outline: none; border-color: var(--gold-antique); }
.fa-field input[aria-invalid="true"] { border-color: #C98F7A; }
.fa-err { min-height: 0; font-size: 12.5px; color: #D7A592; }
.fa-err:empty { display: none; }
.fa-group { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.fa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fa-chip { position: relative; }
.fa-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fa-chip span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border: 1px solid rgba(230, 223, 212, 0.2); font-size: 13px; letter-spacing: 0.04em; color: var(--ivory-80);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.fa-chip input:checked + span { border-color: var(--gold-antique); color: var(--bone); background: rgba(173, 123, 63, 0.08); }
.fa-chip input:focus-visible + span { outline: 1px solid var(--gold-antique); outline-offset: 3px; }
.fa-chips--sizes .fa-chip span { min-width: 64px; justify-content: center; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(230, 223, 212, 0.35); }
.swatch--obsidian { background: #0A0A0B; }
.swatch--midnight { background: #1A2340; }
.fa-guide { justify-self: start; margin-top: 2px; }
.fa-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fa-consent { margin-top: 2px; }
.fa-submit { justify-self: start; min-width: 260px; }
.fa-form.is-sending .fa-submit { opacity: 0.6; }
.fa-legal { font-size: 12px; line-height: 1.7; color: var(--mute); max-width: 56ch; }
.fa-legal a { color: var(--ivory-80); border-bottom: 1px solid var(--line-gold); }
.fa-done { display: grid; gap: 14px; padding: 34px 0; border-top: 1px solid var(--line-gold); border-bottom: 1px solid var(--line); }
.fa-done:focus { outline: none; }
.fa-done__text { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.4; color: var(--bone); max-width: 32ch; }

/* --------------------------------------------------------------------------
   V. Contact
   -------------------------------------------------------------------------- */
.contact { padding-block: clamp(90px, 10vw, 160px); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; align-items: end; }
.contact__grid > div { grid-column: 1 / 6; }
.contact__grid .chapter-mark { margin-bottom: 30px; }
.contact__list { grid-column: 7 / 13; border-top: 1px solid var(--line); }
.contact__list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.contact__list a { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 21px); color: var(--bone); border-bottom: 1px solid transparent; transition: border-color 0.4s, color 0.4s; word-break: break-word; }
.contact__list a:hover { color: var(--pewter-hi); border-color: var(--line-gold); }

/* --------------------------------------------------------------------------
   Footer: minimal
   -------------------------------------------------------------------------- */
.footer--minimal { padding-block: clamp(70px, 8vw, 110px) 34px; background: var(--obsidian); }
.footer--minimal .footer__lockup { width: clamp(200px, 22vw, 320px); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; }
.footer__nav a { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-80); transition: color 0.3s; }
.footer__nav a:hover { color: var(--pewter-hi); }
.footer--minimal .footer__base { margin-top: 48px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .debut__head .display, .debut__aside { grid-column: 1 / -1; }
  .debut__aside { margin-top: 26px; }
  .myth2__greek, .myth2__body { grid-column: 1 / -1; }
  .philosophy__text, .philosophy__detail { grid-column: 1 / -1; }
  .philosophy__detail { max-width: 640px; }
  .access2__head, .access2__panel { grid-column: 1 / -1; }
  .contact__grid > div, .contact__list { grid-column: 1 / -1; }
  .alpha--alt .alpha__desc, .alpha--alt .alpha__more { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .origin__plate img { object-position: 50% 20%; height: 100%; }
  .origin__plate::after {
    background: linear-gradient(180deg, var(--obsidian) 0%, rgba(5, 6, 11, 0) 18%, rgba(5, 6, 11, 0.2) 45%, rgba(5, 6, 11, 0.9) 75%, var(--obsidian) 100%);
  }
  .themes li { font-size: 17px; }
  .philosophy__close { text-align: left; }
  .fa-submit { width: 100%; min-width: 0; }
  .fa-chip { flex: 1 1 auto; }
  .fa-chip span { width: 100%; justify-content: center; }
  .fa-chips--sizes .fa-chip { flex: 1 1 20%; }
  .contact__list li { flex-direction: column; }
  .footer__nav { gap: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .origin__plate img { transform: none !important; }
}

/* The opening is the reference and keeps its original values exactly. */
.threshold {
  --pewter: #B7A18A; --pewter-hi: #D3C4B1; --gold: #B7A18A; --gold-hi: #D3C4B1;
  --line-gold: rgba(183, 161, 138, 0.34); --parchment: #C8C0B4; --bone: #E6DFD4; --mute: #9C978F;
  --ivory-80: rgba(230, 223, 212, 0.82);
}
.philosophy__text .display { font-size: clamp(46px, 5.4vw, 98px); }
/* Hidden always wins: the confirmation must never show before the server confirms */
[hidden] { display: none !important; }
.fa-chips--sizes .fa-chip span { white-space: nowrap; }
@media (max-width: 720px) { .fa-chips--sizes .fa-chip span { min-width: 0; padding: 0 12px; } }
.fa-done__note { font-size: 13.5px; line-height: 1.7; color: var(--parchment); max-width: 46ch; }

/* --------------------------------------------------------------------------
   The House of Men: portrait features (Atticus, The Sentinel)
   A vertical photograph keeps its exact proportions; the text sits beside it.
   Landscape features (Cameron) are unaffected.
   -------------------------------------------------------------------------- */
.alpha--portrait {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
}
.alpha--portrait .alpha__frame { grid-column: 1 / 6; width: 100%; margin: 0; }
.alpha--portrait .alpha__img { width: 100%; height: auto; }
.alpha--portrait .alpha__text { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr; row-gap: 22px; }
.alpha--portrait .alpha__text .alpha__name,
.alpha--portrait .alpha__desc,
.alpha--portrait .alpha__more { grid-column: 1 / -1; }
.alpha--portrait .alpha__desc { margin-top: 6px; }

.alpha-profile__photo--portrait { display: flex; justify-content: center; background: transparent; }
.alpha-profile__photo--portrait .alpha__img { width: auto; max-width: 100%; height: auto; max-height: min(82vh, 980px); }
.alpha-profile__bio { display: grid; gap: 16px; }
.alpha-facts { display: grid; gap: 14px; padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line); }
.alpha-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.alpha-facts dl div { display: grid; gap: 4px; }
.alpha-facts dt { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.alpha-facts dd { font-family: var(--serif); font-size: 19px; color: var(--bone); }

@media (max-width: 900px) {
  .alpha--portrait .alpha__frame, .alpha--portrait .alpha__text { grid-column: 1 / -1; }
  .alpha--portrait .alpha__frame { max-width: 560px; }
  .alpha--portrait .alpha__text { margin-top: 30px; }
}
@media (max-width: 720px) {
  .alpha--portrait .alpha__frame { width: 100%; margin-inline: 0; max-width: none; }
  .alpha-facts dl { grid-template-columns: 1fr; }
}
