/* ==========================================================================
   LYCAON | The House After Dark
   Atmosphere scenes, cinematic motion, editorial image modules.
   Loaded after main.css. Uses the tokens defined there.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Texture library (procedural, no imagery)
   fog    : low-frequency noise, soft cold mist
   fibre  : stretched noise, reads as brushed wool or fabric weave
   -------------------------------------------------------------------------- */
:root {
  --tex-fog: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='800'><filter id='f' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='0.0019 0.0052' numOctaves='4' seed='11' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.66  0 0 0 0 0.70  0 0 0 0 0.74  1.9 0 0 0 -0.74'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
  --tex-fibre: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='0.95 0.028' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.86  0 0 0 0 0.84  0 0 0 0 0.80  0 0 0 0.055 0'/></filter><rect width='100%' height='100%' filter='url(%23w)'/></svg>");
  /* Optional owner photography for the forest scene. Set in config.js (scenes.forestImage). */
  --forest-photo: none;
}

/* Content sits above the atmosphere */
main, .footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Atmosphere: one fixed film plate, crossfading between scenes
   -------------------------------------------------------------------------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--obsidian); }
.atmos__scene { position: absolute; inset: 0; opacity: 0; transition: opacity 2.4s var(--ease-film); }
html:not([data-scene]) .atmos__scene--midnight,
html[data-scene="midnight"] .atmos__scene--midnight,
html[data-scene="forest"] .atmos__scene--forest,
html[data-scene="interior"] .atmos__scene--interior,
html[data-scene="material"] .atmos__scene--material { opacity: 1; }

/* A. The forest after dark: blue hour above, damp cedar charcoal below, layered mist */
.atmos__scene--forest {
  background:
    radial-gradient(120% 60% at 50% -12%, rgba(83, 96, 106, 0.38), transparent 62%),
    radial-gradient(70% 40% at 15% 100%, rgba(37, 43, 42, 0.9), transparent 70%),
    linear-gradient(180deg, #151D28 0%, #19212A 38%, #1F2627 70%, #1B201F 100%);
}
.atmos__photo {
  position: absolute; inset: -4%;
  background: var(--forest-photo) center 40% / cover no-repeat;
  filter: grayscale(0.35) brightness(0.5) contrast(1.08);
  opacity: 0.55; mix-blend-mode: luminosity;
  transform: translate3d(0, calc(var(--sy, 0) * -0.02px), 0);
}

/* B. The midnight atmosphere: deep blue-black, a silver diffusion, vignette */
.atmos__scene--midnight {
  background:
    radial-gradient(60% 50% at 74% 16%, rgba(146, 158, 168, 0.10), transparent 70%),
    radial-gradient(110% 90% at 50% 45%, #151D28 0%, #10141B 68%, #0B0E13 100%);
}

/* C. The intimate interior: warm charcoal, deep shadow, one warm source of light */
.atmos__scene--interior {
  background:
    radial-gradient(55% 50% at 14% 26%, rgba(64, 60, 52, 0.55), transparent 72%),
    radial-gradient(45% 45% at 88% 82%, rgba(37, 43, 42, 0.6), transparent 70%),
    linear-gradient(158deg, #2C2B28 0%, #1F2020 42%, #141619 100%);
}
.lamp {
  position: absolute; inset: 0;
  background: radial-gradient(38% 34% at 24% 30%, rgba(214, 180, 140, 0.10), transparent 70%);
  animation: lamp 16s ease-in-out infinite alternate;
}

/* D. The physical material: dark wool in raking light */
.atmos__scene--material {
  background:
    radial-gradient(70% 55% at 82% 8%, rgba(200, 192, 180, 0.08), transparent 62%),
    var(--tex-fibre),
    linear-gradient(180deg, #1C2022 0%, #181B1F 55%, #131619 100%);
  background-size: auto, 320px 320px, auto;
}

/* Mist: two planes drifting at different speeds for depth */
.fog {
  position: absolute; left: 0; width: 200%; height: 85%; top: 18%;
  background: var(--tex-fog) 0 0 / 50% 100% repeat-x;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%);
  will-change: transform;
}
.fog--near { opacity: 0.26; animation: drift 150s linear infinite; }
.fog--far  { opacity: 0.17; top: 34%; height: 70%; animation: drift 230s linear infinite reverse; transform: scaleY(1.4); filter: blur(2px); }
.fog--thin { opacity: 0.1; animation: drift 260s linear infinite; }

/* Moonlight crossing a surface: rare, slow, nearly imperceptible */
.atmos__light {
  position: absolute; top: -20%; bottom: -20%; left: -60%; width: 220%;
  background: linear-gradient(104deg, transparent 42%, rgba(205, 214, 222, 0.035) 47.5%, rgba(205, 214, 222, 0.06) 50%, rgba(205, 214, 222, 0.035) 52.5%, transparent 58%);
  animation: moonsweep 52s var(--ease-film) 6s infinite;
  opacity: 0;
}
.atmos__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(125% 95% at 50% 45%, transparent 52%, rgba(6, 8, 11, 0.62) 100%);
}

/* Finer film grain */
.grain { opacity: 0.055; }

@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes lamp { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes moonsweep {
  0%   { opacity: 0; transform: translate3d(-30%, 0, 0); }
  10%  { opacity: 1; }
  48%  { opacity: 1; transform: translate3d(28%, 0, 0); }
  58%, 100% { opacity: 0; transform: translate3d(28%, 0, 0); }
}

/* --------------------------------------------------------------------------
   Opening titles
   darkness, mist arrives, a band of moonlight passes, the mark emerges,
   the motto is revealed like a title card
   -------------------------------------------------------------------------- */
.threshold { background: #0B0E13; }
.threshold__mist { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; }
.threshold__mist .fog--near { opacity: 0.2; animation-duration: 110s; }
.threshold__mist .fog--far { opacity: 0.12; }
/* Keep the mark clear: the mist parts around the wordmark */
.threshold__mist { -webkit-mask-image: radial-gradient(48% 30% at 50% 48%, transparent 30%, #000 100%); mask-image: radial-gradient(48% 30% at 50% 48%, transparent 30%, #000 100%); }
.threshold.is-awake .threshold__mist { animation: fade 3.2s ease 0.2s forwards; }
.threshold__sweep {
  position: absolute; inset: -10% -50%; opacity: 0; mix-blend-mode: screen; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(214, 222, 230, 0.08) 48%, rgba(230, 226, 216, 0.14) 50%, rgba(214, 222, 230, 0.08) 52%, transparent 60%);
}
.threshold.is-awake .threshold__sweep { animation: sweep-once 4.6s var(--ease-film) 0.9s forwards; }
@keyframes sweep-once {
  0% { opacity: 0; transform: translate3d(-35%, 0, 0); }
  25% { opacity: 1; }
  80% { opacity: 0.6; }
  100% { opacity: 0; transform: translate3d(35%, 0, 0); }
}
/* Cooler grade on the supplied scene so it sits in the night, not in a gold frame */
.threshold__scene img { filter: saturate(0.92) contrast(1.04); }
.threshold.is-awake .threshold__scene img { animation-delay: 0.7s; }

/* Motto: revealed like a title card, letterspacing settling as it appears */
.js .threshold__motto-line { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); letter-spacing: 0.6em; }
.threshold.is-awake .threshold__motto-line { animation: title-in 2.2s var(--ease-film) forwards; }
.threshold.is-awake .threshold__motto-line:nth-child(1) { animation-delay: 2.1s; }
.threshold.is-awake .threshold__motto-line:nth-child(2) { animation-delay: 2.55s; }
.threshold.is-awake .threshold__enter { animation-delay: 3.3s; }
@keyframes title-in {
  from { clip-path: inset(0 100% 0 0); letter-spacing: 0.6em; }
  to   { clip-path: inset(0 0 0 0); letter-spacing: 0.38em; }
}
.threshold__motto { color: var(--parchment); }
.threshold__enter { color: var(--bone); }
.threshold__enter:hover, .threshold__enter:focus-visible { color: var(--pewter-hi); }

/* --------------------------------------------------------------------------
   Editorial typography: asymmetric composition
   -------------------------------------------------------------------------- */
.line--i1 > span { padding-left: 1.05em; }
.line--i2 > span { padding-left: 2.1em; }
.line--end > span { text-align: right; }
.whisper {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 2.5vw, 40px); line-height: 1.3; color: var(--parchment);
}
.micro { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mute); }

/* Chapter labels: tracking settles as they arrive */
.js .chapter-mark[data-reveal] .chapter-mark__name { letter-spacing: 0.6em; transition: letter-spacing 1.8s var(--ease) 0.2s; }
.js .chapter-mark.is-in .chapter-mark__name { letter-spacing: 0.34em; }
.chapter-mark__num { color: var(--pewter); }

/* Oversized type that sits behind the scene, half lost in the atmosphere */
.has-ghost { position: relative; isolation: isolate; overflow-x: clip; }
.ghost {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(150px, 27vw, 520px); line-height: 0.78; letter-spacing: -0.035em;
  color: rgba(230, 223, 212, 0.04);
  -webkit-mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.35) 55%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.35) 55%, transparent 92%);
}
.ghost--right { right: -2vw; }
.ghost--left { left: -2vw; }

/* Scene reveal: a slow change of exposure as major sections arrive */
.js [data-reveal="exposure"] { opacity: 0; filter: brightness(0.4); transition: opacity 2s var(--ease-film), filter 2.6s var(--ease-film); }
.js [data-reveal="exposure"].is-in { opacity: 1; filter: none; }

/* Staggers: elements in one composition arrive a breath apart */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal][data-delay="1"] { transition-delay: 0.12s !important; }
  .js [data-reveal][data-delay="2"] { transition-delay: 0.26s !important; }
  .js [data-reveal][data-delay="3"] { transition-delay: 0.4s !important; }
}
.js [data-reveal="lines"] .line:nth-child(4) > span { transition-delay: 0.27s; }

/* --------------------------------------------------------------------------
   Image modules and placeholders
   --r / --r-m: aspect ratio on desktop and mobile; --focus / --focus-m: focal point
   -------------------------------------------------------------------------- */
.media, .ph { aspect-ratio: var(--r, auto); }
.media img, .media video { object-position: var(--focus, 50% 50%); }
.media img, .media video { transition: transform 2.6s var(--ease), filter 1.8s var(--ease); }
.is-hoverable:hover .media img, .is-hoverable:focus-visible .media img,
.is-hoverable:hover .media video { transform: scale(1.03); filter: brightness(1.07) contrast(1.02); }
@media (max-width: 720px) {
  .media, .ph { aspect-ratio: var(--r-m, var(--r, auto)); }
  .media img, .media video { object-position: var(--focus-m, var(--focus, 50% 50%)); }
}

.ph {
  position: relative; width: 100%; overflow: hidden;
  background:
    linear-gradient(112deg, transparent 38%, rgba(205, 214, 222, 0.035) 50%, transparent 62%),
    var(--tex-fibre),
    linear-gradient(165deg, #1E2429 0%, #171B21 55%, #121519 100%);
  background-size: 260% 100%, 320px 320px, auto;
  background-position: 100% 0, 0 0, 0 0;
  transition: background-position 3.2s var(--ease-film);
}
.is-hoverable:hover .ph, .ph--fill { background-position: 0 0, 0 0, 0 0; }
.ph--fill { background-size: 100% 100%, 320px 320px, auto; }
.ph__c { border-color: rgba(183, 161, 138, 0.3); }
.ph__tag { color: var(--pewter); }
.ph__label { color: var(--parchment); }
.ph--warm {
  background:
    radial-gradient(60% 55% at 30% 35%, rgba(214, 180, 140, 0.06), transparent 75%),
    var(--tex-fibre),
    linear-gradient(160deg, #2A2926 0%, #1C1D1C 60%, #141619 100%);
  background-size: auto, 320px 320px, auto;
}

/* Body copy sits on moving atmosphere: keep it warm and legible */
.house__copy p:not(.lede), .pack__intro, .editions__intro, .tenet p, .atelier__entity, .service__text, .founder__note { color: var(--parchment); opacity: 0.86; }

/* --------------------------------------------------------------------------
   I. The House
   -------------------------------------------------------------------------- */
.house .ghost { top: clamp(60px, 9vw, 160px); }
.house__whisper { margin: clamp(48px, 6vw, 90px) 0 0 auto; width: min(100%, 30ch); text-align: left; }
@media (min-width: 1100px) { .house__whisper { margin-right: 6%; } }

.myth { margin-top: clamp(100px, 12vw, 200px); }
.myth__moon {
  position: absolute; left: 3%; top: 4%; z-index: -1;
  width: clamp(240px, 32vw, 540px); height: auto; aspect-ratio: 1;
  filter: grayscale(1) brightness(2.3) contrast(1.15);
  mix-blend-mode: screen; opacity: 0.5;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}
.myth__inner { grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 36px; }
.myth__greek { grid-column: 1 / 4; align-self: end; display: grid; gap: 8px; color: var(--pewter); }
.myth__greek span { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--mute); }
.myth__inner .display { grid-column: 4 / 13; text-align: right; }
.myth__body { grid-column: 8 / 13; justify-self: end; max-width: 30ch; color: var(--parchment); }
.tenet__num { color: var(--pewter); }

.founder__text .display { line-height: 0.92; }

/* --------------------------------------------------------------------------
   II. The Collection: cinema title, editorial modules, storefront
   -------------------------------------------------------------------------- */
.opener { place-items: end start; text-align: left; }
.opener__text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); padding-inline: var(--gutter); }
.opener__text .chapter-mark { justify-content: flex-start; }
.opener__kicker { color: var(--parchment); }
.opener__aside {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 10vh, 120px); max-width: 18ch; text-align: right;
}
.opener__shade { background: linear-gradient(180deg, rgba(11, 14, 19, 0.2) 0%, transparent 35%, rgba(11, 14, 19, 0.75) 100%); }
.opener__media .ph__meta { top: calc(var(--header-h) + 24px); bottom: auto; }

.editorial {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
  padding-block: clamp(110px, 13vw, 210px) 0;
}
.editorial__crop { grid-column: 1 / 7; grid-row: 1 / 3; }
.editorial__text { grid-column: 7 / 13; display: grid; gap: 34px; padding-top: clamp(20px, 6vw, 100px); }
.editorial__text .display { font-size: clamp(36px, 4.3vw, 78px); }
.editorial__text .lede { font-size: clamp(20px, 1.8vw, 27px); color: var(--parchment); max-width: 28ch; }
.editorial__detail { grid-column: 9 / 12; margin-top: clamp(60px, 7vw, 120px); }
.module-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.module-cap span:last-child { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--mute); }

.sequence { padding-top: clamp(110px, 12vw, 190px); }
.sequence__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.sequence__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); }
.sequence__frame:nth-child(even) { margin-top: clamp(30px, 5vw, 80px); }
.sequence__num { display: block; margin-top: 12px; font-family: var(--serif); font-size: 15px; color: var(--pewter); }

.intimate { position: relative; margin-top: clamp(130px, 15vw, 240px); }
.intimate__frame { position: relative; }
.intimate__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 13, 15, 0.82) 100%);
}
.intimate__text { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 6vw, 90px); z-index: 1; display: grid; gap: 22px; }
.intimate__text .display { font-size: clamp(44px, 7vw, 128px); }
.intimate__text .whisper { max-width: 32ch; font-size: clamp(18px, 1.6vw, 24px); color: var(--parchment); }
.intimate .ph__meta { top: calc(24px); bottom: auto; left: auto; right: 28px; text-align: right; }

.storefront { padding-top: clamp(130px, 15vw, 240px); }
.storefront__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 28px; margin-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.storefront__head .display { font-size: clamp(34px, 3.6vw, 60px); }

/* Product interface: sharp, quiet, product first */
.sizes-select { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.sizes-select legend { padding: 0; }
.sizes-select__row { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { position: relative; }
.size-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-chip span {
  display: grid; place-items: center; min-width: 52px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line); font-size: 12px; letter-spacing: 0.12em; color: var(--ivory-80);
  transition: border-color 0.4s, background 0.4s, color 0.4s;
}
.size-chip input:checked + span { border-color: var(--bone); color: var(--bone); }
.size-chip input:focus-visible + span { outline: 1px solid var(--pewter); outline-offset: 3px; }
.size-chip input:disabled + span { color: var(--mute); border-style: dashed; cursor: not-allowed; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-80);
  transition: color 0.4s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--bone); }
.acc summary::after { content: ""; width: 9px; height: 9px; background: linear-gradient(var(--pewter), var(--pewter)) center / 9px 1px no-repeat, linear-gradient(var(--pewter), var(--pewter)) center / 1px 9px no-repeat; transition: transform 0.6s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 22px; color: var(--mute); font-size: 14px; max-width: 46ch; }
.acc__body .tba { font-size: 17px; }
.product__info { gap: 26px; }
.status__dot { border-color: var(--pewter); }

/* --------------------------------------------------------------------------
   III. The Pack: casting archive
   -------------------------------------------------------------------------- */
.pack .ghost { top: clamp(40px, 6vw, 110px); }
.roster__item:nth-child(4n + 1) .roster__frame { --r: 3/4; }
.roster__btn .ph, .roster__btn .media { aspect-ratio: var(--rr, 3/4); }
.roster__item:nth-child(4n + 2) { --rr: 4/5; }
.roster__item:nth-child(4n + 3) { --rr: 2/3; }
.roster__item:nth-child(4n + 4) { --rr: 4/5; }
.roster__view {
  font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pewter);
  opacity: 0; transform: translateX(-8px); transition: opacity 0.6s, transform 0.8s var(--ease);
}
.roster__btn:hover .roster__view, .roster__btn:focus-visible .roster__view { opacity: 1; transform: none; }
.roster__btn:hover .roster__frame > *, .roster__btn:focus-visible .roster__frame > * { transform: scale(1.025); filter: brightness(1.08); }
.roster__num { color: var(--pewter); }

.archive { margin-top: clamp(110px, 13vw, 210px); }
.archive__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.archive__sheet {
  padding: clamp(14px, 2vw, 28px);
  background: linear-gradient(180deg, rgba(230, 223, 212, 0.035), rgba(230, 223, 212, 0.015));
  border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 1vw, 14px);
}
.archive__frame { display: grid; gap: 8px; }
.archive__frame .ph__meta { display: none; }
.archive__frame .ph__c { width: 6px; height: 6px; top: 6px; left: 6px; }
.archive__frame .ph__c--tr, .archive__frame .ph__c--br, .archive__frame .ph__c--bl { display: none; }
.archive__n { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: 0.2em; color: var(--mute); }

/* --------------------------------------------------------------------------
   IV. The Editions: archival publications
   -------------------------------------------------------------------------- */
.cover { border-color: rgba(200, 192, 180, 0.1); background: #14181E; }
.cover__ph {
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(83, 96, 106, 0.22), transparent 70%),
    var(--tex-fibre),
    linear-gradient(170deg, #1B2128 0%, #14181E 70%);
  background-size: auto, 320px 320px, auto;
}
.cover__num { -webkit-text-stroke-color: rgba(183, 161, 138, 0.34); }
.shelf__link:hover .cover__num { -webkit-text-stroke-color: rgba(211, 196, 177, 0.8); }
.cover__spine {
  position: absolute; left: 24px; right: 24px; top: calc(26px + 15%); height: 1px; background: rgba(183, 161, 138, 0.25);
}
.shelf__link:hover .cover { border-color: rgba(53, 51, 46, 0.9); box-shadow: 0 40px 80px -40px rgba(53, 51, 46, 0.7); }
.shelf__status { color: var(--pewter); }

/* --------------------------------------------------------------------------
   V. The Atelier: the studio at night
   -------------------------------------------------------------------------- */
.atelier .ghost { bottom: 30%; }
.atelier__lead .display { font-size: clamp(46px, 5.6vw, 108px); }
.editions__head .display { grid-column: 1 / -1; }
.editions__head .editions__intro { grid-column: 8 / 13; margin-top: 28px; }
@media (max-width: 1099px) { .editions__head .editions__intro { grid-column: 1 / -1; } }
.atelier__note { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--parchment); }
.service__num { color: var(--pewter); }
.service:hover .service__name { color: var(--parchment); }
.service { transition: background 1.2s var(--ease); }
.service:hover { background: linear-gradient(90deg, rgba(53, 51, 46, 0.18), transparent 70%); }

/* --------------------------------------------------------------------------
   VI. Private Access
   -------------------------------------------------------------------------- */
.access { margin-top: 0; }
.access__note { font-size: 11.5px; letter-spacing: 0.04em; color: var(--mute); text-align: center; }

/* Navigation hover: hairline, a breath of letterspacing */
.header__nav a { transition: color 0.4s, letter-spacing 0.8s var(--ease); }
.header__nav a:hover { letter-spacing: 0.33em; }
.header__nav .header__cta { color: var(--bone); border-color: rgba(230, 223, 212, 0.28); }
.header__nav .header__cta:hover { border-color: var(--pewter); }
.menu { background: #0D1117; }
.menu__inner { isolation: isolate; }
.menu__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background: var(--tex-fog) 0 60% / 200% 80% no-repeat;
}
.menu__num { color: var(--pewter); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .myth__greek, .myth__inner .display, .myth__body { grid-column: 1 / -1; }
  .myth__inner .display { text-align: left; }
  .myth__body { justify-self: start; }
  .editorial__crop, .editorial__text, .editorial__detail { grid-column: 1 / -1; grid-row: auto; }
  .editorial__text { padding-top: 48px; }
  .editorial__detail { width: 60%; justify-self: end; margin-top: 48px; }
  .archive__sheet { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .line--i1 > span { padding-left: 0.5em; }
  .line--i2 > span { padding-left: 1em; }
  .ghost { font-size: 44vw; }
  .opener__aside { position: static; text-align: left; margin-top: 18px; }
  .opener__text { bottom: 40px; }
  .sequence__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .sequence__track::-webkit-scrollbar { display: none; }
  .sequence__frame { flex: none; width: 62vw; scroll-snap-align: start; }
  .sequence__frame:nth-child(even) { margin-top: 0; }
  .intimate__text { position: relative; left: auto; right: auto; bottom: auto; padding: 28px var(--gutter) 0; }
  .intimate__frame::after { display: none; }
  .archive__sheet { grid-template-columns: repeat(3, 1fr); }
  .storefront__head { flex-direction: column; align-items: start; }
}

/* --------------------------------------------------------------------------
   Reduced motion: the atmosphere holds still
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fog, .lamp, .atmos__light, .threshold__sweep { animation: none !important; }
  .atmos__light, .threshold__sweep { display: none; }
  .threshold__mist { opacity: 1; }
  .js .threshold__motto-line { clip-path: none; letter-spacing: 0.38em; }
  .js [data-reveal="exposure"] { opacity: 1; filter: none; }
  .atmos__scene { transition: none; }
}

/* ==========================================================================
   The Debut Collection: two pieces, pre-order, size guide
   ========================================================================== */
.debut { padding-top: clamp(110px, 12vw, 190px); }
.debut__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.debut__head .display { grid-column: 1 / 9; }
.debut__line { grid-column: 9 / 13; max-width: 22ch; padding-bottom: 14px; }

.debut__grid {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 6vw, 110px);
  margin-top: clamp(60px, 7vw, 110px); align-items: start;
  max-width: 1080px; margin-left: auto; margin-right: auto;
}
/* Keep each piece readable in one view: image height follows the screen */
.piece__media .ph, .piece__media .media:not(.media--natural) { max-height: 62vh; }
.piece__media .media--natural img { max-height: 70vh; width: auto; max-width: 100%; margin-inline: auto; }
/* The second piece sits lower: a staggered, editorial pairing */
.piece--even { margin-top: clamp(40px, 6vw, 100px); }
.piece__media { display: block; width: 100%; padding: 0; overflow: hidden; cursor: pointer; text-align: left; }
.piece__media .ph__meta { left: 24px; right: 24px; bottom: 22px; }
.piece__info { display: grid; gap: 16px; padding-top: 30px; }
.piece__num { font-family: var(--serif); font-size: 16px; color: var(--pewter); }
.piece__name { font-size: clamp(36px, 3.4vw, 62px); line-height: 0.92; }
.piece__sub { font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--parchment); }
.piece__meta { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.piece__meta div { display: grid; gap: 4px; }
.piece__meta dt { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); }
.piece__meta dd { font-family: var(--serif); font-size: 20px; color: var(--bone); }
.piece__meta .tba { font-size: 19px; }
.piece__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.preorder-note {
  margin: clamp(100px, 11vw, 170px) auto 0; max-width: 1080px;
  padding-left: 28px; border-left: 1px solid var(--line-gold);
  display: grid; gap: 12px;
}
.preorder-note__text { max-width: 62ch; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--parchment); }

.size-guide {
  margin-top: clamp(110px, 12vw, 190px); padding-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; scroll-margin-top: 100px;
}
.size-guide__head { grid-column: 1 / 5; display: grid; gap: 22px; align-content: start; }
.size-guide__intro { color: var(--parchment); opacity: 0.86; max-width: 30ch; }
.size-guide__body { grid-column: 6 / 13; }
.size-table tbody th { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--bone); }
.size-table td .tba, .size-table th .tba { font-size: 16px; }
.size-guide__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.size-guide__notes div { display: grid; gap: 10px; align-content: start; }
.size-guide__notes p:not(.eyebrow) { color: var(--parchment); opacity: 0.86; }
.size-guide__unit { grid-column: 1 / -1; font-size: 12px; color: var(--mute); }

/* Product sheet */
.media--natural { aspect-ratio: auto !important; }
.media--natural img, .media--natural video { height: auto; }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.pdp__info { display: grid; gap: 20px; }
.pdp__name { font-size: clamp(36px, 3.6vw, 58px); line-height: 0.95; }
.pdp__price { font-family: var(--serif); font-size: 26px; color: var(--bone); }
.pdp__price .tba { font-size: 21px; }
.pdp__desc { color: var(--parchment); opacity: 0.9; max-width: 46ch; }
.pdp__guide { justify-self: start; margin-top: 4px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ivory-80); border-bottom: 1px solid var(--line-gold); padding-bottom: 3px; }
.pdp__guide:hover { color: var(--bone); border-color: var(--pewter); }
.pdp__cta { display: grid; gap: 10px; }
.pdp__cta .btn { width: 100%; }
.pdp__closed { font-size: 12px; color: var(--mute); }
.pdp__notice { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.pdp__notice p:not(.eyebrow) { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.55; color: var(--parchment); }
.size-chip span { min-width: 72px; }
.form__status.is-info { color: var(--parchment); }

/* Founder closes the story */
.founder-section { padding-top: var(--section); }
.founder-section .founder { padding-top: 0; }

.menu__foot .menu__cta { margin-top: 0; }
.footer__base > div { display: grid; gap: 4px; }

@media (max-width: 1099px) {
  .debut__head .display, .debut__line { grid-column: 1 / -1; }
  .debut__line { margin-top: 26px; }
  .size-guide__head, .size-guide__body { grid-column: 1 / -1; }
  .size-guide__body { margin-top: 36px; }
}
@media (max-width: 720px) {
  .debut__grid { grid-template-columns: 1fr; row-gap: 90px; }
  .piece--even { margin-top: 0; }
  .piece__actions .btn { flex: 1 1 0; }
  .size-guide__notes { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .preorder-note { padding-left: 20px; }
}

/* ==========================================================================
   Launch refinements: real product photographs, size guide modal
   ========================================================================== */
.media--product { background: transparent; }
.media--product img { display: block; width: 100%; height: auto; }
.piece__media .media--product img { max-height: none; width: 100%; }
.piece__tagline { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.5vw, 22px); color: var(--parchment); }
.debut__guide { max-width: 1080px; margin: 34px auto 0; }
.checkout-note { max-width: 1080px; margin: 28px auto 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--parchment); }

/* Details sheet: one photograph, then the essentials */
.sheet__bar { display: flex; justify-content: space-between; align-items: center; margin: -40px 0 10px; }
.sheet__bar .sheet__close { position: relative; top: auto; right: auto; flex: none; }
.sheet__back {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-80);
  transition: color 0.4s, gap 0.6s var(--ease);
}
.sheet__back:hover { color: var(--bone); gap: 14px; }
.pdp__image { position: sticky; top: 0; }
.pdp__tagline { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--parchment); }
.pdp__desc { display: grid; gap: 12px; }
.pdp__desc p { color: var(--parchment); opacity: 0.9; max-width: 46ch; }
.pdp__desc p:last-child:not(:first-child) { font-family: var(--serif); font-size: 19px; opacity: 1; }
.pdp__highlights { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pdp__highlights ul { display: grid; gap: 6px; }
.pdp__highlights li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ivory-80); }
.pdp__highlights li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 1px; background: var(--pewter); }
.sizes-select__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pdp__guide { cursor: pointer; background: none; font: inherit; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; }
.pdp__legal { font-size: 12px; color: var(--mute); }
.pdp__legal a { color: var(--ivory-80); border-bottom: 1px solid var(--line-gold); }

/* Size guide modal */
.sheet--guide {
  inset: 0; margin: auto; width: min(620px, 92vw); height: auto; max-height: 88vh;
  border: 1px solid var(--line);
}
.sheet--guide[open] { animation: guide-in 0.7s var(--ease); }
.sheet--guide .sheet__inner { padding: clamp(48px, 6vw, 70px) clamp(22px, 4vw, 52px) clamp(30px, 4vw, 44px); }
.sg { display: grid; gap: 18px; }
.sg h2 { text-transform: uppercase; }
.sg__note { font-size: 12.5px; color: var(--mute); }
.sg .size-table { margin-top: 6px; }
.sg .size-table th, .sg .size-table td { padding: 14px 8px; }
.sg .size-table tbody th { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--bone); }
.sg .size-table td { font-family: var(--serif); font-size: 19px; color: var(--ivory-80); }
.sg__how { display: grid; gap: 14px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.sg__how div { display: grid; gap: 4px; }
.sg__label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--pewter); }
.sg__how p:not(.sg__label):not(.eyebrow) { font-size: 14px; color: var(--parchment); opacity: 0.9; }
.sg__help { font-size: 13px; color: var(--mute); }
.sg__help a { color: var(--bone); border-bottom: 1px solid var(--line-gold); }
@keyframes guide-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.menu__small { display: inline-block; margin-top: 18px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-60); }
.menu__foot { display: grid; justify-items: start; }
.footer__link { font: inherit; font-size: 13.5px; color: var(--ivory-80); padding: 0; cursor: pointer; transition: color 0.3s; }
.footer__link:hover { color: var(--gold-hi); }

@media (max-width: 1099px) {
  .header__nav ul { gap: 18px; }
}
@media (max-width: 720px) {
  /* Bottom sheet on phones, clear of browser controls */
  .sheet--guide {
    inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 88dvh;
    border: 0; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet--guide[open] { animation: guide-up 0.6s var(--ease); }
  .sg .size-table th, .sg .size-table td { padding: 12px 4px; }
  .sg .size-table thead th { font-size: 9px; letter-spacing: 0.18em; }
  .pdp__image { position: static; }
  .sheet__bar { margin-top: -50px; }
}
@keyframes guide-up { from { transform: translateY(100%); } to { transform: none; } }
.size-table, .piece__meta dd, .pdp__price { font-variant-numeric: lining-nums; }

/* Product photographs on the homepage: always visible, never cropped, level with each other */
.debut__grid { align-items: start; }
.piece--even { margin-top: 0; }
.piece__media { background: #0E0D0C; }
.media--product img {
  width: 100%; height: auto; object-fit: contain; aspect-ratio: auto;
  opacity: 1; transition: opacity 1.2s var(--ease), transform 2.6s var(--ease), filter 1.8s var(--ease);
}
.js .media--product img:not(.is-loaded) { opacity: 0; }
.no-js .media--product img, .media--product noscript img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .media--product img:not(.is-loaded) { opacity: 1; } }

/* ==========================================================================
   The Pack: No. 01, The Alpha
   Landscape photograph kept whole at every width (never cropped or reframed)
   ========================================================================== */
.alpha { margin-top: clamp(70px, 9vw, 140px); display: grid; gap: clamp(30px, 4vw, 60px); }
.alpha__frame {
  position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
  background: #0B0B0A; cursor: pointer; text-align: left;
}
.alpha__img { display: block; width: 100%; height: auto; transition: transform 2.8s var(--ease), filter 1.8s var(--ease); }
.alpha__frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 12, 0.55));
}
.alpha__frame:hover .alpha__img, .alpha__frame:focus-visible .alpha__img { transform: scale(1.015); filter: brightness(1.06); }
.alpha__cue {
  position: absolute; right: clamp(16px, 2.4vw, 34px); bottom: clamp(14px, 2vw, 28px); z-index: 1;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone);
  opacity: 0; transform: translateY(6px); transition: opacity 0.6s, transform 0.8s var(--ease);
}
.alpha__cue span { display: inline-block; transition: transform 0.6s var(--ease); }
.alpha__frame:hover .alpha__cue, .alpha__frame:focus-visible .alpha__cue { opacity: 1; transform: none; }
.alpha__frame:hover .alpha__cue span { transform: translateX(6px); }
@media (hover: none) { .alpha__cue { opacity: 0.85; transform: none; } }

.alpha__text { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 22px; align-items: start; }
.alpha__num { grid-column: 1 / -1; font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; color: var(--pewter); font-variant-numeric: lining-nums; }
.alpha__text .alpha__name { grid-column: 1 / -1; }
.alpha__name { font-size: clamp(40px, 4.4vw, 80px); line-height: 0.96; }
.alpha__first { white-space: nowrap; }
.alpha__bar { display: inline-block; margin: 0 0.12em; font-weight: 300; color: var(--pewter); opacity: 0.55; transform: translateY(-0.04em); }
.alpha__title { color: var(--parchment); white-space: nowrap; }
.alpha__name-btn { padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; line-height: inherit; cursor: pointer; }
.alpha__name-btn:hover .alpha__title, .alpha__name-btn:focus-visible .alpha__title { color: var(--pewter-hi); }
.alpha__desc {
  grid-column: 6 / 13; margin-top: 10px; font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.6;
  color: var(--parchment);
}
.alpha__more {
  grid-column: 6 / 13; justify-self: start; display: inline-flex; gap: 12px; align-items: center; min-height: 44px;
  font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-80);
  border-bottom: 1px solid var(--line-gold); transition: color 0.4s, gap 0.7s var(--ease);
}
.alpha__more:hover, .alpha__more:focus-visible { color: var(--bone); gap: 18px; }
/* The rest of the Pack follows the Alpha */
.alpha + .roster { margin-top: clamp(90px, 10vw, 160px); }

/* Expanded profile */
.sheet--alpha .sheet__inner { gap: 0; }
.alpha-profile { display: grid; gap: clamp(26px, 3vw, 40px); }
.alpha-profile__photo { margin: 0; background: #0B0B0A; }
.alpha-profile__photo .alpha__img { width: 100%; height: auto; }
.alpha-profile__head { display: grid; gap: 12px; }
.alpha-profile__head .alpha__name { font-size: clamp(36px, 4vw, 64px); }
.alpha-profile__desc { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; color: var(--parchment); max-width: 60ch; }
.alpha-profile__beyond { display: grid; gap: 18px; padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.alpha-profile__beyond-title {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; color: var(--bone);
}
.alpha-profile__beyond-title em { color: var(--parchment); }
.alpha-profile__beyond > p { color: var(--parchment); opacity: 0.92; max-width: 58ch; font-size: 15.5px; }
.alpha-links { margin-top: 8px; border-top: 1px solid var(--line); }
.alpha-links li { border-bottom: 1px solid var(--line); }
.alpha-link {
  display: grid; grid-template-columns: 22px 1fr auto 18px; align-items: center; column-gap: 16px;
  padding: 18px 4px; min-height: 56px; transition: background 0.6s var(--ease);
}
.alpha-link:hover, .alpha-link:focus-visible { background: rgba(230, 223, 212, 0.035); }
.alpha-link__icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: var(--pewter); stroke-width: 1.2; stroke-linecap: round; }
.alpha-link__icon .dot { fill: var(--pewter); stroke: none; }
.alpha-link__label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); }
.alpha-link__handle { font-family: var(--serif); font-size: 20px; color: var(--bone); transition: color 0.4s; }
.alpha-link__go { color: var(--pewter); transition: transform 0.6s var(--ease); }
.alpha-link:hover .alpha-link__handle, .alpha-link:focus-visible .alpha-link__handle { color: var(--pewter-hi); }
.alpha-link:hover .alpha-link__go { transform: translate(3px, -3px); }

@media (max-width: 1099px) {
  .alpha__text .alpha__name, .alpha__desc, .alpha__more { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  /* Full-bleed landscape on phones: the photograph stays horizontal and whole */
  .alpha__frame { width: auto; margin-inline: calc(var(--gutter) * -1); }
  .alpha__name { font-size: clamp(34px, 10.5vw, 48px); }
  .alpha-link { grid-template-columns: 22px 1fr 18px; row-gap: 2px; }
  .alpha-link__label { grid-column: 2; }
  .alpha-link__handle { grid-column: 2; grid-row: 2; }
  .alpha-link__go { grid-column: 3; grid-row: 1 / 3; }
  .alpha-link__icon { grid-row: 1 / 3; }
}

/* ==========================================================================
   Follow on Instagram: supplied artwork, gold re-toned to the LYCAON logo
   Opening screen only; scrolls away with it. Sits below the header zone.
   ========================================================================== */
.ig-badge {
  position: absolute; z-index: 3;
  top: calc(var(--header-h) + 18px); right: var(--gutter);
  display: block; width: clamp(150px, 12vw, 210px); line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.ig-badge img { display: block; width: 100%; height: auto; transition: filter 0.9s var(--ease), opacity 0.4s ease; }
.ig-badge:hover img, .ig-badge:focus-visible img { filter: brightness(1.14) contrast(1.04); }
.ig-badge:active img { opacity: 0.78; }
.ig-badge:focus-visible { outline: 1px solid var(--pewter); outline-offset: 8px; }
.js .ig-badge { opacity: 0; }
.threshold.is-awake .ig-badge { animation: fade 1.6s ease 1.4s forwards; }
.is-entering .ig-badge { transition: opacity 0.6s ease; opacity: 0 !important; }

@media (max-width: 720px) {
  .ig-badge {
    top: calc(var(--header-h) + 14px + env(safe-area-inset-top));
    right: auto; left: 50%; transform: translateX(-50%);
    width: clamp(132px, 38vw, 160px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .ig-badge { opacity: 1; animation: none; }
}
