/* Andre website (silk). One sheet of silk hangs behind every page and moves as the page is read:
   it is a fixed canvas under everything, and each section says where the cloth should hang while it
   is on screen. Sections are transparent; the ground is paper, or night where a section asks for it. */
:root {
  --paper: #F7F4F9; --paper2: #EFE9F3; --white: #fff; --ink: #1B1120; --ink2: #53475B; --ink3: #786C80; --rule: #DCD3E2;
  --purple: #6A2875; --orchid: #C864D8; --amber: #FFB070; --coral: #FF8A66; --night: #150A1B; --tint: #F1E5F4;
  --thread: linear-gradient(90deg, #6A2875, #C864D8 46%, #FFB070);
  --wrap: 1240px; --pad: clamp(20px, 4vw, 56px); --font-ui: "Schibsted Grotesk", sans-serif;
  --fg: #1B1120; --fg2: rgba(27, 17, 32, .76); --fg3: rgba(27, 17, 32, .56); --line: rgba(27, 17, 32, .18); --accent: #6A2875;
}
html { background: var(--paper); scroll-behavior: smooth; }
html.motion-off { scroll-behavior: auto; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; }
[hidden] { display: none !important; }
body { font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif; color: var(--ink); font-size: 17px; line-height: 1.55; --focus: var(--purple); }
::selection { background: rgba(106, 40, 117, .2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--purple); letter-spacing: 0; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 1px; background: var(--thread); }

/* ---------- the silk ---------- */
#silk { position: fixed; z-index: 0; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; display: block; pointer-events: none; }
main, .foot-wrap { position: relative; z-index: 1; }
/* without WebGL the page stands on a still wash of the same colours */
html.no-fx #silk { display: none; }
html.no-fx body { background: radial-gradient(1100px 700px at 96% 4%, rgba(200, 100, 216, .2), transparent 68%), radial-gradient(900px 620px at 0% 100%, rgba(255, 176, 112, .2), transparent 70%), var(--paper); background-attachment: fixed; }
html.no-fx .night { background: var(--night); }

/* ---------- navigation ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); color: var(--ink); transition: background .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.nav-solid .nav { background: rgba(247, 244, 249, .9); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 1px 0 rgba(27, 17, 32, .1); }
.nav .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; margin-right: auto; }
.nav .brand .mark { width: 44px; height: 23px; display: inline-grid; }
.nav .brand svg { width: 100%; height: 100%; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { position: relative; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; opacity: .8; transition: opacity .2s, background .2s; }
.nav nav a:hover, .nav nav a[aria-current="page"] { opacity: 1; }
.nav nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 1px; background: var(--thread); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav nav a:hover::after, .nav nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .in { font-size: 15px; font-weight: 500; opacity: .8; padding: 8px 6px; } .nav .in:hover { opacity: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -.005em; transition: transform .25s var(--ease-out), background .25s; white-space: nowrap; }
.pill:hover { background: #2C1B35; }
.pill:active { transform: scale(.98); }
.pill.big { height: 58px; padding: 0 28px 0 34px; font-size: 18px; gap: 14px; box-shadow: 0 10px 36px -12px rgba(27, 17, 32, .45); }
.pill .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 15px; transition: transform .45s var(--ease-out); }
.pill:hover .arr { transform: translateX(4px); }
.pill.light { background: #fff; color: var(--night); } .pill.light:hover { background: #fff; } .pill.light .arr { background: var(--night); color: #fff; }
.menu { display: none; }
@media (max-width: 860px) {
  .nav nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(60, 20, 70, .3), 0 1px 0 var(--rule); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .nav nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 18px; opacity: 1; }
  .nav nav a::after { display: none; }
  .nav-open .nav nav { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .25s; }
  .nav-open .nav { background: var(--paper); }
  .nav .in { display: none; }
  .menu { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
  .menu span, .menu span::before { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; content: ""; transition: transform .3s var(--ease-out); }
  .menu span::before { transform: translateY(6px); }
  .nav-open .menu span { transform: translateY(3px) rotate(45deg); } .nav-open .menu span::before { transform: rotate(-90deg); }
  .nav .pill { height: 38px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 420px) { .nav { gap: 12px; } .nav .pill { display: none; } }

/* ---------- the story: first screen and one working day, with the silk held behind it ---------- */
.story { position: relative; height: 540vh; color: var(--fg); }
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.chap { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.chap.live { pointer-events: auto; }
.first { display: grid; place-content: center; justify-items: center; text-align: center; padding: 96px 24px 112px; }
.first > * { pointer-events: auto; }
.cycle { display: grid; font-size: clamp(34px, 5.5vw, 86px); font-weight: 700; letter-spacing: -.043em; line-height: 1.02; max-width: 15em; text-wrap: balance; margin: 0; }
.cycle .ln { grid-area: 1 / 1; visibility: hidden; align-self: center; }
.cycle .ln.on, .cycle .ln.out { visibility: visible; }
.cycle .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translate3d(0, .38em, 0); transition: opacity .8s var(--ease-out), filter .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.cycle .ln.on .w { opacity: 1; filter: none; transform: none; }
.cycle .ln.out .w { opacity: 0; filter: blur(10px); transform: translate3d(0, -.3em, 0); transition-duration: .45s, .45s, .55s; transition-delay: calc(var(--i) * 16ms); }
.cycle .pt { display: block; } .cycle .ac { color: var(--accent); }
html.motion-off .cycle .ln:not(.on) .w { opacity: 0 !important; }
.bars { display: flex; gap: 6px; margin-top: clamp(22px, 3.4vh, 38px); }
.bars button { width: 38px; height: 18px; position: relative; }
.bars button::before, .bars button::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; border-radius: 1px; background: var(--line); }
.bars button::after { background: var(--fg); transform: scaleX(0); transform-origin: left; }
.bars button.done::after { transform: scaleX(1); }
.bars button.now::after { animation: fill var(--hold, 4.6s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.acts { margin-top: clamp(24px, 4vh, 44px); display: grid; gap: 16px; justify-items: center; }
.acts .alt { font-size: 15px; color: var(--fg2); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.acts .alt:hover { color: var(--fg); }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--fg3); transition: opacity .4s; }
.cue i { width: 1px; height: 30px; background: linear-gradient(var(--fg3), transparent); animation: cue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 110px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))) 120px; }
.day .txt { max-width: 540px; }
.day .when { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.day .when::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, #FFC690, #FF8A66); }
.day h2 { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: -.043em; line-height: 1.02; }
.day .txt p:not(.when) { margin-top: 20px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--fg2); max-width: 30em; }
.day .card { justify-self: end; align-self: end; width: min(100%, 430px); margin-bottom: 2vh; }
/* a piece of the product, lifted out of the screen it belongs to and set on glass */
.card { background: rgba(255, 255, 255, .8); color: var(--ink); border-radius: 22px; padding: 18px 20px; font-size: 14.5px; line-height: 1.45; box-shadow: 0 40px 90px -36px rgba(60, 20, 70, .5), 0 0 0 1px rgba(255, 255, 255, .7), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
.card .cap { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ink3); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--rule); }
.card .cap b { color: var(--ink); font-weight: 600; }
.card .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(27, 17, 32, .08); } .card .row:last-of-type { border-bottom: 0; }
.card .row span:last-child { color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card .fn { font-size: 12.5px; color: var(--ink3); margin-top: 8px; }
.sev { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #B3261E; } .sev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D93B30; }
.card h3 { font-size: 19px; letter-spacing: -.025em; line-height: 1.2; margin: 8px 0 6px; }
.card .meta { color: var(--ink2); }
.clock { margin-top: 14px; } .clock .bar { height: 6px; border-radius: 3px; background: rgba(27, 17, 32, .08); overflow: hidden; } .clock .bar i { display: block; height: 100%; width: 87%; border-radius: 3px; background: linear-gradient(90deg, var(--purple), #D93B30); transform-origin: left; }
.clock .lab { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink3); margin-top: 7px; } .clock .lab b { color: #B3261E; font-weight: 600; }
.card .open { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--purple); }
.card .q { font-weight: 600; font-size: 16px; letter-spacing: -.015em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--rule); }
.card sup { font-size: 10.5px; font-weight: 700; color: var(--purple); background: var(--tint); border-radius: 4px; padding: 0 4px; margin-left: 2px; vertical-align: 3px; }
.card .src { margin-top: 12px; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink2); } .card .src span { display: flex; gap: 8px; } .card .src b { color: var(--purple); }
.card .verdict { display: flex; gap: 8px; margin: 12px 0; } .card .verdict span { flex: 1; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 600; font-size: 14px; border: 1px solid var(--rule); color: var(--ink2); transition: background .5s var(--ease-out), color .5s, border-color .5s, transform .5s var(--ease-out); }
.card .note { background: rgba(247, 244, 249, .9); border-radius: 10px; padding: 10px 12px; color: var(--ink2); }
/* the card fills in, line by line, each time its part of the day arrives */
.day .card > * { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .25s, transform .25s; }
.day.live .card > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--s, 0) * 110ms + 180ms); }
.day .clock .bar i { transform: scaleX(0); transition: transform .3s; }
.day.live .clock .bar i { transform: scaleX(1); transition: transform 1.6s var(--ease-io) .7s; }
.day.live .verdict .sel { background: var(--purple); border-color: var(--purple); color: #fff; transition-delay: 1.15s; }
.day .card sup { transition: background .4s, color .4s; }
.day.live .card sup { animation: cite 1.4s var(--ease-out) 1.1s both; }
@keyframes cite { 0%, 30% { background: var(--purple); color: #fff; } 100% { background: var(--tint); color: var(--purple); } }
html.motion-off .day .card > * { opacity: 1; transform: none; } html.motion-off .day .clock .bar i { transform: none; } html.motion-off .day .verdict .sel { background: var(--purple); border-color: var(--purple); color: #fff; }

.hours { position: absolute; left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); bottom: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; opacity: 0; transition: opacity .5s var(--ease-out); pointer-events: none; }
.hours.on { opacity: 1; }
.hours span { font-size: 13px; color: var(--fg3); padding-top: 10px; position: relative; transition: color .4s; }
.hours span::before, .hours span::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 1px; background: var(--line); }
.hours span::after { background: var(--thread); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hours span.cur { color: var(--fg); }
@media (max-width: 860px) {
  .day { grid-template-columns: 1fr; align-content: end; gap: 22px; padding: 40vh var(--pad) 86px; }
  .day .txt p:not(.when) { font-size: 16px; margin-top: 12px; }
  .day .card { justify-self: stretch; width: auto; margin: 0; padding: 14px 16px; font-size: 13.5px; }
  .day .card .hide-s { display: none; }
  .hours span { font-size: 0; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 11vw, 160px) 0; }
.lead h2 { font-size: clamp(32px, 4.9vw, 74px); letter-spacing: -.045em; line-height: 1.03; max-width: 16em; }
.lead h2 em { font-style: normal; color: var(--purple); }
.lead p { margin-top: 28px; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); max-width: 34em; }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 46em; justify-items: start; }
.head h2 { font-size: clamp(30px, 3.9vw, 56px); }
.head p { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink2); max-width: 36em; }
/* a rule that is drawn as it comes into view: ink, then a length of thread */
.ruled { position: relative; }
.ruled::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #6A2875, #C864D8 12%, #FFB070 20%, var(--ink) 24%); transform: scaleX(0); transform-origin: left; transition: transform 1.5s var(--ease-io); }
.ruled.is-in::before, html.motion-off .ruled::before { transform: scaleX(1); }
.night .ruled::before { background: linear-gradient(90deg, #C864D8, #FFB070 20%, rgba(255, 255, 255, .8) 24%); }

.shot { perspective: 1800px; }
.shot .frame { border-radius: clamp(12px, 1.4vw, 22px); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(27, 17, 32, .1), 0 60px 120px -50px rgba(60, 20, 70, .55), 0 30px 60px -40px rgba(106, 40, 117, .5); transform-origin: 50% 100%; will-change: transform; }
.shot img { width: 100%; height: auto; }
.mods { margin-top: clamp(40px, 5vw, 72px); }
.mods a { position: relative; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid rgba(27, 17, 32, .14); transition: padding .5s var(--ease-out); }
.mods a::before { content: ""; position: absolute; inset: 0 -14px; border-radius: 16px; background: rgba(255, 255, 255, .7); opacity: 0; transition: opacity .35s; z-index: -1; }
.mods a:hover { padding-left: 14px; padding-right: 14px; } .mods a:hover::before { opacity: 1; }
.mods b { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; }
.mods span { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink2); max-width: 34em; }
.mods i { font-style: normal; font-size: 22px; color: var(--purple); transition: transform .4s var(--ease-out); } .mods a:hover i { transform: translateX(6px); }
@media (max-width: 700px) { .mods a { grid-template-columns: 1fr auto; } .mods span { grid-column: 1 / -1; order: 3; } }

/* night: the ground under these sections is painted dark by the silk itself */
.night { color: #fff; }
.night .head p { color: rgba(255, 255, 255, .74); } .night .eyebrow { color: #E6ABF1; }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; border-radius: 24px; background: rgba(28, 14, 36, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 100px -50px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(28px) saturate(1.4); backdrop-filter: blur(28px) saturate(1.4); overflow: hidden; }
.swap .side { padding: clamp(20px, 3vw, 40px); display: grid; gap: 4px; align-content: start; }
.swap .side h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .64); margin-bottom: 14px; }
.swap .rec { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: clamp(14px, 1.2vw, 17px); white-space: nowrap; overflow: hidden; }
.swap .rec span:first-child { font-weight: 600; } .swap .rec span { overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .9); }
.swap .codes .rec span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(13px, 1.05vw, 15.5px); color: #F0B9F8; letter-spacing: .02em; }
.swap .gate { width: 2px; background: linear-gradient(transparent, var(--amber) 18%, var(--orchid) 82%, transparent); position: relative; }
.swap .gate::after { content: ""; position: absolute; left: -2px; width: 6px; height: 90px; border-radius: 3px; background: linear-gradient(transparent, #fff, transparent); animation: gate 3.4s var(--ease-io) infinite; }
@keyframes gate { from { top: -90px; } to { top: 100%; } }
.swap .gate span { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--night); background: linear-gradient(90deg, var(--amber), #E6ABF1); padding: 5px 14px; border-radius: 999px; }
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 40px); margin-top: clamp(36px, 4.5vw, 64px); counter-reset: n; }
.path li { counter-increment: n; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .24); }
.path li::before { content: counter(n); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--night); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.path b { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; } .path p { font-size: 15.5px; color: rgba(255, 255, 255, .74); }
@media (max-width: 860px) { .swap { grid-template-columns: 1fr; } .swap .gate { width: auto; height: 2px; background: linear-gradient(90deg, transparent, var(--amber) 18%, var(--orchid) 82%, transparent); } .swap .gate::after { display: none; } .swap .gate span { transform: translate(-50%, -50%); } .swap .names .rec span:nth-child(n+2), .swap .codes .rec span:nth-child(n+2) { display: none; } .swap .rec { grid-template-columns: 1fr; } .path { grid-template-columns: 1fr 1fr; } }

.wont ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 80px); counter-reset: n; }
.wont li { counter-increment: n; display: grid; grid-template-columns: 54px 1fr; gap: 0 8px; padding: 26px 0 28px; border-bottom: 1px solid rgba(27, 17, 32, .14); }
.wont li::before { content: counter(n, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--purple); padding-top: 9px; }
.wont b { display: block; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.035em; line-height: 1.1; }
.wont li p { grid-column: 2; margin-top: 8px; color: var(--ink2); max-width: 28em; }
@media (max-width: 760px) { .wont ol { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.roles li { padding-top: 20px; }
.roles b { display: block; font-size: 15px; font-weight: 600; color: var(--purple); margin-bottom: 12px; }
.roles p { font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }

/* the last word on every page: night, with the morning coming up behind the cloth */
.close .wrap { display: grid; align-content: center; min-height: clamp(460px, 50vw, 620px); padding-top: 90px; padding-bottom: 110px; }
.close h2 { font-size: clamp(34px, 4.6vw, 68px); letter-spacing: -.045em; max-width: 12em; }
.close p { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .78); max-width: 28em; }
.close .acts { justify-items: start; margin-top: 34px; grid-auto-flow: column; justify-content: start; align-items: center; gap: 22px; }
.close .alt { font-size: 15px; color: rgba(255, 255, 255, .78); text-decoration: underline; text-underline-offset: 4px; } .close .alt:hover { color: #fff; }
@media (max-width: 860px) { .close .acts { grid-auto-flow: row; } }

/* ---------- inner pages ---------- */
.ph { padding: clamp(140px, 16vw, 220px) 0 clamp(60px, 8vw, 110px); }
.ph .in { max-width: min(100%, 780px); }
.ph h1 { font-size: clamp(40px, 6vw, 92px); letter-spacing: -.048em; line-height: .98; margin-top: 18px; }
.ph h1 em { font-style: normal; color: var(--purple); }
.ph p.sub { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); max-width: 30em; }

.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding: clamp(50px, 7vw, 104px) 0; }
.feat.flip .txt { order: 2; }
.feat .n { font-size: 14px; font-weight: 600; color: var(--purple); }
.feat h2 { font-size: clamp(28px, 3.2vw, 46px); margin: 12px 0 16px; }
.feat p { color: var(--ink2); font-size: clamp(17px, 1.3vw, 19px); }
.feat ul { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid rgba(27, 17, 32, .14); }
.feat li { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(27, 17, 32, .14); font-size: 15.5px; color: var(--ink2); }
.feat li b { color: var(--ink); font-weight: 600; }
.feat .view { perspective: 1600px; }
.feat .frame { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(27, 17, 32, .1), 0 50px 100px -50px rgba(60, 20, 70, .6); transition: transform .8s var(--ease-out); will-change: transform; }
.feat .frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat.flip .txt { order: 0; } .feat li { grid-template-columns: 1fr; gap: 2px; } }

.spec > div { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(27, 17, 32, .14); }
.spec dt { font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.spec dd { margin: 0; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink2); max-width: 36em; }
.spec dd b { color: var(--ink); font-weight: 600; }
.spec a, .prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 700px) { .spec > div { grid-template-columns: 1fr; gap: 6px; } }
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.anchors a { font-size: 15px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(27, 17, 32, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .2s, background .2s, color .2s; }
.anchors a:hover { box-shadow: inset 0 0 0 1px var(--ink); } .anchors a.cur { background: var(--ink); color: #fff; box-shadow: none; }
.beliefs { display: grid; gap: 0; }
.beliefs li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 70px); padding: clamp(28px, 3.6vw, 48px) 0; border-bottom: 1px solid rgba(27, 17, 32, .14); }
.beliefs b { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.04em; line-height: 1.06; } .beliefs p { color: var(--ink2); font-size: clamp(17px, 1.35vw, 20px); max-width: 32em; }
@media (max-width: 760px) { .beliefs li { grid-template-columns: 1fr; gap: 10px; } }
.prose { max-width: 40em; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); display: grid; gap: 1em; } .prose strong { color: var(--ink); font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.ways { display: grid; }
.ways li { padding: 22px 0; border-bottom: 1px solid rgba(27, 17, 32, .14); } .ways b { display: block; font-size: 21px; letter-spacing: -.025em; margin-bottom: 4px; } .ways p { color: var(--ink2); font-size: 16px; }
.details { margin-top: 34px; display: grid; gap: 14px; font-size: 16px; } .details div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; } .details dt { color: var(--ink3); } .details dd { margin: 0; font-weight: 500; } .details a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.form { background: rgba(255, 255, 255, .74); border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), inset 0 1px 0 #fff, 0 50px 110px -56px rgba(60, 20, 70, .6); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink2); margin: 0 0 7px; padding: 0; }
.form input, .form select, .form textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(27, 17, 32, .16); background: rgba(255, 255, 255, .8); color: var(--ink); font: inherit; font-size: 17px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.form textarea { height: 128px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.form input::placeholder, .form textarea::placeholder { color: var(--ink3); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: transparent; background-color: #fff; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form .err { font-size: 14px; color: #B3261E; margin-top: 6px; min-height: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { margin: 0; position: relative; } .seg input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 48px; border-radius: 12px; border: 1px solid rgba(27, 17, 32, .16); background: rgba(255, 255, 255, .6); font-size: 14px; white-space: nowrap; font-weight: 500; color: var(--ink2); text-align: center; padding: 0 8px; transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; } .seg input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.form .pill { justify-self: start; border: 0; cursor: pointer; } .form .fine { font-size: 13.5px; color: var(--ink3); }
.sent { display: grid; gap: 12px; } .sent h2 { font-size: 34px; } .sent p { color: var(--ink2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form .two, .seg { grid-template-columns: 1fr; } }

/* not found */
.lost { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: 120px 0 80px; }
.lost h1 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -.05em; line-height: .98; margin-top: 18px; max-width: 9em; }
.lost p { margin-top: 24px; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); max-width: 26em; }
.lost .acts { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; gap: 22px; }

/* ---------- footer ---------- */
.foot-wrap { padding: clamp(48px, 6vw, 84px) 0 34px; font-size: 15px; color: var(--ink2); background: rgba(247, 244, 249, .86); }
.foot { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ink); } .foot .brand .mark { width: 44px; }
.foot .about { margin-top: 14px; max-width: 24em; }
.foot h3 { font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--ink3); margin-bottom: 12px; }
.foot li { padding: 4px 0; } .foot li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.legal { margin-top: clamp(36px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(27, 17, 32, .14); display: grid; gap: 10px; font-size: 13.5px; color: var(--ink3); max-width: 64em; }
.legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 8px; }
.site .motion-toggle { position: static; --toggle-bg: #fff; --toggle-fg: var(--ink); --toggle-bd: var(--rule); height: 34px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
