/* Cayman Packing & Packaging: website.
   Identity: the logo's violets (#522D78, #684790, #A78FC1, #E5DDED), its greys, and the
   data sheet's green hairline. Type: Cormorant Garamond (display) and Manrope (text). */

@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-style: normal; font-display: swap; src: url(../assets/fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-style: italic; font-display: swap; src: url(../assets/fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(../assets/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(../assets/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(../assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 300 800; font-style: normal; font-display: swap; src: url(../assets/fonts/manrope-latin-wght-normal.woff2) format("woff2"); }

:root {
  --ink: #522d78; --deep: #4b2870; --plum: #5c3a85; --brand: #522d78; --violet: #684790;
  --lav: #a78fc1; --mist: #e5dded; --paper: #f6f3f9; --leaf: #a2d779; --grey: #525252;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 84px);
  /* section theme: the identity violet by default, paper for the light sections */
  --bg: var(--ink); --fg: #ffffff; --soft: rgba(240, 234, 247, .84); --line: rgba(229, 221, 237, .3); --accent: #d6c8ea;
}
.light { --bg: var(--paper); --fg: #2a1a3d; --soft: #5c5268; --line: rgba(82, 45, 120, .2); --accent: var(--brand); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
section { background: var(--bg); color: var(--fg); position: relative; scroll-margin-top: 64px; }
::selection { background: var(--lav); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -.012em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(46px, 7.4vw, 118px); }
h2 { font-size: clamp(38px, 5.2vw, 80px); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: var(--soft); max-width: 46ch; margin-top: 26px; }
.sec-head { padding: clamp(84px, 11vw, 168px) var(--pad) clamp(36px, 5vw, 72px); max-width: 1100px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; background: none; color: inherit; cursor: pointer; transition: background .35s, color .35s, border-color .35s; white-space: nowrap; }
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-solid:hover { background: var(--accent); color: var(--bg); }
.light .btn-solid { background: var(--brand); color: #fff; }
.light .btn-solid:hover { background: #1b1226; }
.btn-line { border-color: var(--line); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-text { padding: 0 4px; border-bottom: 1px solid var(--line); min-height: 50px; }
.btn-text:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 40px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); transition: background .4s, height .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(82, 45, 120, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 62px; border-color: rgba(167, 143, 193, .16); }
.brand img { width: 168px; height: auto; }
.nav { margin-left: auto; display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav a { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .86); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: #fff; transition: right .35s; }
.nav a:hover { color: #fff; } .nav a:hover::after { right: 0; }
.top-cta { min-height: 40px; padding: 0 18px; color: #f2edf7; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: #f2edf7; transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- 1. story ---------- */
.story { background: var(--ink); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-stage canvas, .col-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.glow { position: absolute; inset: 0; background: radial-gradient(60% 60% at 68% 46%, rgba(167, 143, 193, .42), rgba(167, 143, 193, .12) 45%, transparent 72%); pointer-events: none; }
.story-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22vh; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.still { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 78% 50%; }
.no-gl canvas { display: none; } .no-gl .still { display: block; }
.story-panels { position: relative; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.panel { min-height: 150vh; display: flex; align-items: center; padding: 0 var(--pad); position: relative; }
.panel-in { pointer-events: auto; max-width: min(620px, 46vw); }
.panel-hero { min-height: 100vh; min-height: 100svh; }
.panel-open { justify-content: flex-end; }
.panel-anatomy { min-height: 190vh; align-items: flex-start; }
.panel-anatomy .panel-in { position: sticky; top: 22vh; max-width: min(520px, 40vw); }
.keyfacts { position: absolute; left: var(--pad); right: var(--pad); bottom: 44px; display: flex; gap: clamp(24px, 5vw, 76px); pointer-events: auto; }
.keyfacts li { border-top: 1px solid var(--line); padding-top: 14px; min-width: 150px; }
.keyfacts b { display: block; font: 400 clamp(20px, 1.9vw, 28px)/1.1 var(--serif); letter-spacing: .01em; }
.keyfacts span, .mini dt, .planet-facts span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.scrollhint { position: absolute; right: var(--pad); bottom: 44px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); display: flex; align-items: center; gap: 12px; }
.scrollhint span { width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.mini { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 40px; }
.mini div { border-top: 1px solid var(--line); padding-top: 12px; }
.mini dd { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.layers { margin-top: 34px; counter-reset: l; border-top: 1px solid var(--line); }
.layers li { counter-increment: l; display: grid; grid-template-columns: 34px 1fr auto; gap: 6px 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.layers li::before { content: counter(l); font: 400 18px/1 var(--serif); color: var(--accent); }
.layers b { font-weight: 500; font-size: 15px; }
.layers span { font-size: 12.5px; color: var(--soft); text-align: right; }
.marks { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.mark { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; will-change: transform; }
.mark i { width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; font: 400 14px/1 var(--serif); font-style: normal; background: rgba(82, 45, 120, .8); color: #fff; }
.mark span { margin-top: -13px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #fff; white-space: nowrap; padding-left: 34px; position: relative; }
.mark span::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 1px; background: #fff; opacity: .7; }

/* ---------- 2. collection ---------- */
.collection { --bg: var(--deep); background: linear-gradient(var(--ink), var(--deep) 30%, var(--ink)); padding-bottom: clamp(60px, 8vw, 120px); }
.col-grid { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) minmax(280px, 380px); gap: clamp(20px, 3vw, 48px); padding: 0 var(--pad); align-items: start; }
.col-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.col-list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 38px 1fr; align-items: baseline; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--soft); transition: color .3s, padding .3s; }
.col-list button i { font: 400 15px/1 var(--serif); font-style: normal; color: var(--accent); opacity: .7; }
.col-list button b { font: 400 clamp(19px, 1.7vw, 25px)/1.15 var(--serif); }
.col-list button:hover { color: #fff; }
.col-list button[aria-selected="true"] { color: #fff; padding-left: 14px; box-shadow: inset 2px 0 0 #fff; }
.col-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.col-stage { position: sticky; top: 84px; height: min(72vh, 660px); min-height: 380px; }
.col-stage .glow { background: radial-gradient(50% 50% at 50% 50%, rgba(167, 143, 193, .4), rgba(167, 143, 193, .1) 55%, transparent 75%); }
.col-stage canvas { transition: opacity .28s; }
.col-stage.swap canvas { opacity: 0; }
.col-stage .still { object-position: 50% 50%; }
.col-no { position: absolute; left: 0; top: -8px; font: 300 clamp(70px, 9vw, 150px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(229, 221, 237, .4); pointer-events: none; user-select: none; }
.col-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 22px; }
.col-tools .btn { min-height: 42px; }
.col-tools .btn[hidden] { display: none; }
.hint { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }
.col-detail h3 { font: 300 clamp(30px, 2.9vw, 44px)/1.05 var(--serif); }
.col-detail .tag { font: italic 400 clamp(18px, 1.5vw, 22px)/1.35 var(--serif); color: var(--accent); margin-top: 14px; }
.col-detail .txt { font-size: 15px; color: var(--soft); margin-top: 18px; }
.col-detail dl { margin-top: 26px; border-top: 1px solid var(--line); }
.col-detail dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.col-detail dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); padding-top: 3px; }
.col-items { margin-top: 26px; display: grid; gap: 8px; }
.col-items button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 13px 16px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.col-items button:hover, .col-items button[aria-pressed="true"] { border-color: #fff; background: rgba(255, 255, 255, .08); }
.col-items button:focus-visible { outline: 2px solid var(--accent); }
.col-items b { font: 500 18px/1.2 var(--serif); letter-spacing: .01em; }
.col-items span { font-size: 12px; color: var(--soft); grid-column: 1; }
.col-items em { font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.col-detail .more { margin-top: 22px; font-size: 13px; color: var(--soft); }
.col-detail .more a { color: #fff; text-underline-offset: 4px; }

/* ---------- 3. data sheet ---------- */
.sheet { padding-bottom: clamp(70px, 9vw, 130px); }
.drawing { margin: 0 var(--pad); padding: clamp(18px, 3vw, 44px); border: 1px solid var(--line); background: #fff; position: relative; }
.drawing::before, .drawing::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--brand); }
.drawing::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; } .drawing::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.dw { width: 100%; height: auto; display: block; max-width: 1080px; margin: 0 auto; overflow: visible; }
.dw-s { fill: none; stroke: #1b1226; stroke-width: .34; stroke-linejoin: round; stroke-linecap: round; }
.dw-thin { stroke-width: .22; }
.dw-c { fill: none; stroke: var(--brand); stroke-width: .12; stroke-dasharray: 1.6 .5 .3 .5; }
.dw-d path { fill: none; stroke: var(--brand); stroke-width: .12; }
.dw-d .dw-a { fill: var(--brand); stroke: none; }
.dw-d text { font: 500 2.1px var(--sans); letter-spacing: .06em; fill: var(--brand); }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(28px, 5vw, 84px); padding: clamp(40px, 6vw, 84px) var(--pad) 0; }
.sheet h3 { font: 600 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brand); padding-bottom: 14px; border-bottom: 2px solid var(--brand); position: relative; }
.sheet h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--leaf); }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet td, .sheet th { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: baseline; }
.sheet th { font-weight: 400; color: var(--soft); width: 38%; padding-right: 14px; }
.sheet td { font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet td small { display: block; font-size: 12.5px; font-weight: 400; color: var(--soft); }
.sheet-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 84px); padding: clamp(40px, 6vw, 84px) var(--pad) 0; }
.sheet-notes ol { counter-reset: n; }
.sheet-notes li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.sheet-notes li::before { content: counter(n); font: 400 17px/1.4 var(--serif); color: var(--brand); }

/* ---------- 4. quality ---------- */
.quality { padding-bottom: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.q-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding: 0 var(--pad); }
.ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--plum); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(104, 71, 144, .5), rgba(82, 45, 120, .78)); mix-blend-mode: multiply; transition: opacity .6s; }
.q-grid figure:hover img { transform: scale(1.05); filter: grayscale(.2); }
.q-grid figure:hover .ph::after { opacity: .25; }
.q-grid figcaption { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 16px; }
.q-grid b { display: block; font: 400 24px/1.2 var(--serif); }
.q-grid span { font-size: 13px; color: var(--soft); }

/* ---------- 5. planet ---------- */
.planet { --bg: var(--ink); background: radial-gradient(70% 90% at 88% 40%, rgba(162, 215, 121, .16), transparent 62%), var(--ink); overflow: hidden; }
.planet::before, .planet::after { content: ""; position: absolute; right: -12vw; top: 50%; width: 58vw; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(162, 215, 121, .6); pointer-events: none; }
.planet::after { width: 44vw; right: -5vw; border-color: rgba(162, 215, 121, .3); }
.planet-in { position: relative; padding: clamp(96px, 13vw, 200px) var(--pad); max-width: 900px; --accent: var(--leaf); }
.planet-facts { display: flex; flex-wrap: wrap; gap: 26px clamp(28px, 5vw, 70px); margin-top: 52px; }
.planet-facts li { border-top: 1px solid rgba(162, 215, 121, .7); padding-top: 14px; min-width: 150px; }
.planet-facts b { display: block; font: 400 clamp(24px, 2.2vw, 32px)/1.15 var(--serif); }

/* ---------- 6. about ---------- */
.about { --bg: var(--violet); padding-bottom: clamp(70px, 9vw, 130px); }
.about-grid { padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.about-text { font: 300 clamp(21px, 1.9vw, 28px)/1.5 var(--serif); color: #fff; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.figures li { border-top: 1px solid var(--line); padding: 20px 0 30px; }
.figures b { font: 300 clamp(50px, 6vw, 96px)/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.figures i { font: italic 300 clamp(20px, 2vw, 30px)/1 var(--serif); color: var(--accent); margin-left: 8px; }
.figures span { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--soft); }

/* ---------- 7. catalogue ---------- */
.cat { --bg: var(--ink); background: linear-gradient(120deg, #684790, #522d78 70%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 110px); padding: clamp(80px, 10vw, 150px) var(--pad); }
.cat-cover { justify-self: end; width: min(100%, 400px); transform: perspective(1400px) rotateY(14deg) rotateX(3deg); transform-origin: right center; box-shadow: -38px 44px 80px rgba(27, 12, 44, .6), -2px 0 0 rgba(255, 255, 255, .14); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.cat:hover .cat-cover { transform: perspective(1400px) rotateY(5deg) rotateX(1deg); }
.cat-cover img { width: 100%; height: auto; }

/* ---------- 8. contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-bottom: clamp(70px, 9vw, 130px); }
.contact .sec-head { padding-right: 0; }
.phone { margin-top: 34px; font: 300 clamp(28px, 3vw, 44px)/1 var(--serif); }
.phone a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.phone a:hover { color: var(--brand); border-color: var(--brand); }
.form { padding: clamp(84px, 11vw, 168px) var(--pad) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 44px); align-content: start; }
.f { display: block; } .f-wide { grid-column: 1 / -1; }
.f span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.f input, .f select, .f textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid rgba(82, 45, 120, .38); border-radius: 0; padding: 10px 0 11px; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23522d78' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center / 11px; padding-right: 22px; }
.f textarea { resize: vertical; min-height: 96px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 1px 0 var(--brand); }
.f .bad { border-color: #b3261e; box-shadow: 0 1px 0 #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 8px; }
.form-msg { font-size: 14px; color: var(--brand); min-height: 1em; }
.form-msg.err { color: #b3261e; }

/* ---------- footer ---------- */
.foot { background: var(--deep); padding: clamp(50px, 6vw, 90px) var(--pad) 34px; display: grid; gap: 34px; border-top: 1px solid rgba(167, 143, 193, .16); }
.foot img { width: 190px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.foot nav a { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: rgba(242, 237, 247, .7); }
.foot nav a:hover { color: #fff; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 24px; border-top: 1px solid rgba(167, 143, 193, .16); font-size: 12.5px; color: rgba(229, 221, 237, .6); }
.foot-line a { text-decoration: none; color: #f2edf7; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; background: rgba(82, 45, 120, .98); flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 80px var(--pad) 40px; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font: 300 clamp(30px, 8vw, 46px)/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: #f2edf7; }
  .nav a::after { display: none; }
  .burger { display: block; z-index: 2; }
  .top-cta { margin-left: auto; }
  .col-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .col-list { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
  .col-list::-webkit-scrollbar { display: none; }
  .col-list button { display: block; flex: none; padding: 14px 18px 14px 0; margin-right: 12px; border-bottom: 0; white-space: nowrap; }
  .col-list button i { margin-right: 8px; }
  .col-list button b { font-size: 19px; }
  .col-list button[aria-selected="true"] { padding-left: 0; box-shadow: inset 0 -2px 0 #fff; }
  .col-stage { position: relative; top: 0; }
}
@media (max-width: 820px) {
  .top { height: 64px; gap: 10px; } .top.scrolled { height: 58px; }
  .brand img { width: 136px; }
  .top-cta { display: none; } .burger { margin-left: auto; }
  .glow { background: radial-gradient(70% 42% at 50% 34%, rgba(167, 143, 193, .42), rgba(167, 143, 193, .1) 50%, transparent 74%); }
  .still { object-position: 50% 22%; }
  .panel { align-items: flex-end; padding-bottom: 12vh; min-height: 140vh; }
  .panel-in, .panel-anatomy .panel-in { max-width: none; width: 100%; }
  .panel-hero { padding-bottom: 44px; }
  .panel-open { justify-content: flex-start; }
  .panel-anatomy { align-items: flex-end; min-height: 200vh; }
  .panel-anatomy .panel-in { position: static; }
  .panel-in { background: linear-gradient(transparent, rgba(82, 45, 120, .92) 22%); margin: 0 calc(var(--pad) * -1); padding: 60px var(--pad) 0; width: auto; }
  .panel-hero .panel-in { background: none; padding-top: 0; }
  .keyfacts { display: none; }
  .scrollhint { display: none; }
  .lede { margin-top: 18px; } .actions { margin-top: 28px; }
  .mark span { display: none; }
  .layers span { grid-column: 2; text-align: left; } .layers li { grid-template-columns: 30px 1fr; }
  .col-grid { grid-template-columns: minmax(0, 1fr); }
  .col-stage { height: 46vh; min-height: 320px; }
  .sheet-grid, .sheet-notes, .about-grid, .cat, .contact { grid-template-columns: minmax(0, 1fr); }
  .dw-d text { font-size: 2.9px; }
  .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .cat-cover { justify-self: center; width: min(70%, 300px); transform: none; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
  .cat:hover .cat-cover { transform: none; }
  .form { padding-top: 0; grid-template-columns: minmax(0, 1fr); }
  .contact .sec-head { padding-right: var(--pad); }
  .planet::before { width: 120vw; right: -60vw; top: 30%; } .planet::after { width: 92vw; right: -46vw; top: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .scrollhint span { animation: none; }
}
