/* Homepage only. Panels come from style.css (main > section); this file styles what is inside them.
   Depth, back to front: table > panels > cards > glass chips > header. Layers in the hero also parallax at different rates. */
.js [data-r] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

/* ---------- 1. Hero: the sentence becomes three-dimensional (hero.js). Real text sits underneath; the canvas draws over it. ---------- */
.h-hero { display: flex; min-height: 600px; min-height: max(600px, calc(100vh - 2 * var(--u))); min-height: max(600px, calc(100svh - 2 * var(--u))); padding: 0; overflow: hidden; touch-action: pan-y; background: radial-gradient(110% 90% at 12% 0%, #fdf9f0 0%, var(--paper) 46%, #e6dbc4 100%); }
.h-bg { position: absolute; right: 0; bottom: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.h-hero-cv { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .3s; pointer-events: none; }
.gl .h-hero-cv { opacity: 1; }
.h-hero-in { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: calc(var(--nav-h) + var(--u) * 3.4) var(--pad) var(--pad); pointer-events: none; }
.h-hero-in a { pointer-events: auto; }
.h-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.h-eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.h-eyebrow::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: linear-gradient(90deg, var(--gold-l) 50%, var(--ink) 50%); }
.h-hint { display: flex; align-items: center; gap: .6rem; margin: 0; font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity .5s; }
.h-hint::before { content: ""; width: 1.7rem; height: 1.7rem; border: 1px solid currentColor; border-radius: 50%; }
.h-hint .ht { display: none; }
.gl:not(.touched) .h-hint { opacity: 1; transition: opacity .8s 3.4s; }
.h-title { margin: auto 0; padding-block: 1.6rem; font-size: clamp(2.6rem, min(4.9vw, 12vh), 8rem); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.hl { display: block; white-space: nowrap; }
/* until the canvas takes over the words are flat ink, exactly where the first frame will draw them */
.hw { color: var(--ink); transition: color .25s; }
.gl .hw { color: transparent; }
.nogl .hw, html:not(.js) .hw { color: color-mix(in srgb, #b98d3b calc(var(--l) * 100%), var(--ink)); text-shadow: calc(var(--l) * 1px) calc(var(--l) * 1px) 0 #8a6420, calc(var(--l) * 2px) calc(var(--l) * 2px) 0 #8a6420, calc(var(--l) * 3px) calc(var(--l) * 3px) 0 #8a6420, calc(var(--l) * 4px) calc(var(--l) * 4px) 0 #8a6420, calc(var(--l) * 5px) calc(var(--l) * 5px) 0 #8a6420, calc(var(--l) * 6px) calc(var(--l) * 6px) 0 #8a6420, calc(var(--l) * 7px) calc(var(--l) * 7px) 0 #8a6420, calc(var(--l) * 8px) calc(var(--l) * 8px) 0 #8a6420, calc(var(--l) * 9px) calc(var(--l) * 12px) 14px #0e0d0b59; }
.h-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }   /* stacked on the left: the right side belongs to the artwork */
.h-foot p { margin: 0; }
.h-foot .actions { margin-top: 1.1rem; }
.h-lead { max-width: 38ch; font-size: .98rem; line-height: 1.5; }
/* a ring around the pointer marks how far the press reaches */
.h-ring { position: absolute; left: 0; top: 0; z-index: 3; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; border: 1px solid #7a561a99; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .25s, scale .3s var(--ease); }
.gl.hov .h-ring { opacity: 1; }
.gl.down .h-ring { scale: .62; }
@media (hover: none) { .h-ring { display: none; } .h-hint .hh { display: none; } .h-hint .ht { display: inline; } }
/* narrow desktop windows: the headline's longest line has to stay clear of the Polaroid */
@media (min-width: 861px) and (max-width: 1200px) { .h-title { font-size: clamp(2rem, min(4.4vw, 12vh), 8rem); } }
@media (max-width: 860px) {
  .h-hero { flex-direction: column; }
  .h-hero-in { flex: 1 0 auto; }
  .h-bg { position: relative; order: 2; flex: none; height: auto; aspect-ratio: 1170 / 658; margin-top: calc(var(--pad) * -.6); }
  .h-title { font-size: clamp(2.4rem, min(8.6vw, 12vh), 7.5rem); }
  .h-top { flex-direction: column; align-items: flex-start; gap: .8rem; }
}
@media (max-width: 700px) {
  .hl { display: inline; white-space: normal; }   /* phones: the lines are too long for the width, so the words wrap (balanced) */
  .h-title { font-size: clamp(2.4rem, min(15vw, 12.5vh), 7.5rem); text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) { .gl:not(.touched) .h-hint { transition-delay: 0s; } }

/* ---------- 2. Marquee ---------- */
.h-marq { margin: var(--u); padding: calc(var(--pad) * .7) 0; border-radius: var(--r); background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; box-shadow: var(--sh-3), inset 0 1px 0 #ffffff14; }
.h-marq .trk { display: flex; width: max-content; animation: marq 46s linear infinite; }
.h-marq .grp { display: flex; align-items: center; gap: var(--pad); padding-right: var(--pad); }
.h-marq span { font: 500 clamp(1.6rem, 3.6vw, 3.2rem)/1.1 var(--display); letter-spacing: -.04em; }
.h-marq span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--paper); }
.h-marq i { color: var(--gold-l); font-style: normal; font-size: clamp(.9rem, 1.6vw, 1.5rem); }

/* ---------- 3. Manifesto + idea ---------- */
.h-lit { max-width: 30em; margin: 0; font: 500 clamp(1.4rem, 2.7vw, 2.5rem)/1.16 var(--display); letter-spacing: -.03em; }
.h-lit .w { opacity: .18; transition: opacity .35s; }
.h-lit .w.on { opacity: 1; }
.h-idea { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: 1fr auto; row-gap: var(--pad); }
.h-idea-txt { grid-column: 2; padding-left: var(--pad); align-self: start; }
.h-emblem { grid-row: 1 / 3; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: var(--r-s); background: var(--sand); box-shadow: var(--sh-3); }
.h-emblem img { width: 100%; height: 118%; object-fit: cover; transform: translateY(var(--iy, 0%)); will-change: transform; }
/* the text card overlaps the image: foreground over background */
.h-idea-card { grid-column: 2; align-self: end; position: relative; z-index: 2; margin-left: calc(var(--pad) * -2); margin-bottom: var(--pad); padding: var(--pad); border-radius: var(--r-s); background: #ffffffb8; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--sh-3), inset 0 0 0 1px #ffffffd9; }
.h-idea-card h2 { font-size: clamp(1.6rem, 2.7vw, 2.4rem); }
.h-idea-card p { margin-bottom: .6rem; }

/* ---------- 4. Pinned transformation: the stage is a card that stays inset from the viewport edges ---------- */
.h-make { margin: var(--u); padding: 0; background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.h-track { height: 520vh; min-height: 2400px; position: relative; }   /* the floors keep the scroll length and the stage usable even if vh/svh resolve wrongly */
.h-stage { position: sticky; top: var(--u); height: calc(100vh - 2 * var(--u)); height: calc(100svh - 2 * var(--u)); min-height: 480px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: var(--pad); padding: var(--pad); border-radius: var(--r); overflow: hidden; color: var(--paper); background: radial-gradient(60% 70% at 28% 55%, #2d281e 0%, transparent 70%), radial-gradient(45% 55% at 95% 0%, #d3ab5a2b, transparent 70%), var(--coal); box-shadow: var(--sh-3), inset 0 1px 0 #ffffff14; }
.h-cv-box { position: relative; height: 100%; min-height: 0; }
.h-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; margin: 0; max-width: none; font: 600 .62rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #d9cdb8; }
.h-hud b { color: var(--gold-l); font-weight: 600; text-align: right; }
/* the copy is a glass card that overlaps the canvas edge */
.h-copy { position: relative; z-index: 2; min-width: 0; margin-left: calc(var(--pad) * -1.2); padding: var(--pad); border-radius: var(--r-s); background: #ffffff0d; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px #000000b3, inset 0 0 0 1px #ffffff1f; }
.h-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.h-intro { color: #d9cdb8; font-size: .88rem; }
.h-prog { display: flex; gap: .4rem; margin: 1.2rem 0 .8rem; }
.h-prog i { flex: 1; height: 2px; border-radius: 2px; background: #f6f1e633; transition: background .4s; }
.h-prog i.on { background: var(--gold-l); }
.h-steps { list-style: none; padding: 0; }
.h-steps li { display: grid; grid-template-columns: 2.2rem 1fr; padding: .7rem 0; border-top: 1px solid var(--line); opacity: .5; transition: opacity .4s; }
.h-steps li.on { opacity: 1; }
.h-steps .n { padding-top: .35rem; font: 600 .64rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-l); }
.h-steps h3 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.h-steps p { margin: 0; max-width: 34ch; max-height: 0; opacity: 0; overflow: hidden; color: #d9cdb8; font-size: .86rem; line-height: 1.5; transition: max-height .5s var(--ease), opacity .4s, margin .5s var(--ease); }
.h-steps .on p { max-height: 6em; opacity: 1; margin-top: .3rem; }
.h-copy .actions { margin-top: 1rem; }

/* ---------- 5. Four worlds ---------- */
.h-worlds-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--u) var(--pad); margin-bottom: var(--pad); }
.h-worlds-head h2 { margin: 0; max-width: 14em; }
.h-panels { display: flex; gap: var(--u); height: min(64vh, 540px); min-height: 440px; }
.h-panel { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--pad) * .7); border-radius: var(--r-s); overflow: hidden; text-decoration: none; box-shadow: var(--sh-2), inset 0 1px 0 #ffffff33; transition: flex .8s var(--ease), transform .5s var(--ease), box-shadow .5s; }
.h-panel.on { flex: 3.4; }
.h-panel:hover { transform: translateY(-4px); box-shadow: var(--sh-3), inset 0 1px 0 #ffffff33; }
.h-panel:nth-child(1) { background: var(--sand); }
.h-panel:nth-child(2) { background: var(--ink); color: var(--paper); }
.h-panel:nth-child(3) { background: #d3c3a0; }
.h-panel:nth-child(4) { background: var(--coal); color: var(--gold-l); }
.h-panel .n { font: 600 .66rem/1 var(--sans); letter-spacing: .1em; }
.h-panel svg { position: absolute; top: 3.4rem; right: calc(var(--pad) * .7); width: clamp(80px, 58%, 280px); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.h-panel svg path, .h-panel svg circle { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.h-panel:not(.on) svg path, .h-panel:not(.on) svg circle { stroke-dashoffset: 1; transition-delay: 0s; }
.h-panel .t { position: relative; margin: 0; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1; }
.h-panel .d { position: relative; display: block; width: min(21rem, 60vw); margin-top: .8rem; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.h-panel.on .d { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.h-panel .d strong { display: block; margin-bottom: .4rem; font: 500 1.1rem/1.15 var(--display); letter-spacing: -.02em; }
.h-panel .more { display: block; width: max-content; color: inherit; }

/* ---------- 6. Collection index ---------- */
.h-list { margin-inline: calc(var(--u) * -.6); }
.h-row { display: grid; grid-template-columns: 2.6rem 1fr 7rem 9rem 1.6rem; gap: var(--u); align-items: baseline; padding: .95rem calc(var(--u) * .6); border-radius: var(--r-s); text-decoration: none; position: relative; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 100% 0; transition: background-size .5s var(--ease), color .3s, transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.h-row::before, .h-row:last-child::after { content: ""; position: absolute; left: calc(var(--u) * .6); right: calc(var(--u) * .6); height: 1px; background: var(--line); transition: opacity .3s; }
.h-row::before { top: 0; }
.h-row:last-child::after { bottom: 0; }
.h-row:hover, .h-row:focus-visible { z-index: 2; background-size: 100% 100%; color: var(--paper); transform: scale(1.012); box-shadow: var(--sh-3); }
.h-row:hover::before, .h-row:hover::after, .h-row:focus-visible::before, .h-row:hover + .h-row::before, .h-row:focus-visible + .h-row::before { opacity: 0; }
.h-row .n, .h-row .c, .h-row .p { font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--stone); transition: color .3s; }
.h-row:hover .n, .h-row:hover .c, .h-row:hover .p, .h-row:focus-visible .n, .h-row:focus-visible .c, .h-row:focus-visible .p { color: var(--gold-l); }
.h-row .t { font: 500 clamp(1.25rem, 2.3vw, 2rem)/1.1 var(--display); letter-spacing: -.03em; transition: transform .5s var(--ease); }
.h-row:hover .t, .h-row:focus-visible .t { transform: translateX(.8rem); }
.h-row .ar { justify-self: end; font-size: 1.1rem; line-height: 1; color: var(--gold-l); opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s, transform .5s var(--ease); }
.h-row:hover .ar, .h-row:focus-visible .ar { opacity: 1; transform: none; }

/* ---------- 7. Business ---------- */
main > section.h-biz { background: radial-gradient(50% 70% at 100% 0%, #d3ab5a30, transparent 70%), radial-gradient(40% 60% at 0% 100%, #d3ab5a14, transparent 70%), var(--ink); }
.h-biz .split { align-items: center; }
.h-caps { list-style: none; padding: 0; display: grid; gap: calc(var(--u) * .5); }
.h-caps a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; padding: .95rem 1.1rem; border-radius: var(--r-s); background: #ffffff0a; text-decoration: none; box-shadow: 0 14px 30px -14px #000000a6, inset 0 0 0 1px #ffffff14; transition: transform .45s var(--ease), background .3s, box-shadow .45s, color .3s; }
.h-caps a:hover, .h-caps a:focus-visible { transform: translateY(-3px); background: #ffffff14; color: var(--gold-l); box-shadow: 0 22px 40px -14px #000000c0, inset 0 0 0 1px #d3ab5a59; }
.h-caps .n { font: 600 .64rem/1 var(--sans); letter-spacing: .1em; color: var(--gold-l); }
.h-caps .t { font: 500 clamp(1.15rem, 1.9vw, 1.6rem)/1.15 var(--display); letter-spacing: -.03em; }
.h-caps .ar { opacity: 0; transition: opacity .3s; }
.h-caps a:hover .ar, .h-caps a:focus-visible .ar { opacity: 1; }

/* ---------- 8. Statement + close ---------- */
/* a short band: the blurred photo is only a warm backdrop, so the sentence can be large and centred */
.h-state { display: flex; justify-content: center; align-items: center; min-height: clamp(300px, 44vh, 480px); min-height: clamp(300px, 44svh, 480px); padding: calc(var(--pad) * 2) var(--pad); text-align: center; background: var(--sand); }
.h-state-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* the blur is baked into the file (see README) */
.h-state::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(100% 64% at 50% 50%, #f6f1e6c8 0%, #f6f1e6bc 58%, #f6f1e63c 100%); pointer-events: none; }   /* a paper veil shaped like a band: strong behind the sentence, thin above and below so the photo still shows */
.h-state .h-lit { position: relative; z-index: 1; max-width: none; margin: 0 auto; font-size: clamp(1.7rem, 4.2vw, 3.8rem); line-height: 1.06; white-space: nowrap; }   /* two lines, one sentence each */
.h-state .h-lit .w:not(.on) { opacity: .34; }
.h-state .h-lit em { color: #6a4a12; }   /* the site's gold, a shade deeper so it holds up over the photo */
@media (max-width: 700px) {
  .h-state { min-height: 0; padding-block: calc(var(--pad) * 2.4); }
  .h-state .h-lit { font-size: clamp(1.7rem, 8.2vw, 2.7rem); white-space: normal; text-wrap: balance; }   /* phones: the sentences wrap */
}
main > section.h-end { text-align: center; padding-block: calc(var(--pad) * 2.2); background: radial-gradient(55% 55% at 50% 100%, #d3ab5a33, transparent 100%), var(--ink); }
.h-end h2 { margin-bottom: .3rem; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.h-cycle { display: block; height: 1.15em; margin: 0 auto 1rem; overflow: hidden; font: 300 clamp(1.7rem, 3.6vw, 3.2rem)/1.15 var(--display); letter-spacing: -.04em; color: var(--gold-l); }
.h-cycle .trk { display: block; animation: h-cyc 12s infinite cubic-bezier(.7, 0, .2, 1); }
.h-cycle span { display: block; }
.h-end .lead { margin: 0 auto; }
.h-end .actions { justify-content: center; margin-top: 1.2rem; }
.h-end .more { margin-top: 1.6rem; }

@keyframes h-cyc { 0%, 16% { transform: none; } 20%, 36% { transform: translateY(-1.15em); } 40%, 56% { transform: translateY(-2.3em); } 60%, 76% { transform: translateY(-3.45em); } 80%, 96% { transform: translateY(-4.6em); } 100% { transform: translateY(-5.75em); } }

@media (max-width: 1000px) {
  .h-row { grid-template-columns: 2.4rem 1fr 8rem 1.6rem; }
  .h-row .c { display: none; }
}
@media (max-width: 860px) {
  .h-idea { grid-template-columns: 1fr; grid-template-rows: none; }
  .h-idea-txt, .h-idea-card { grid-column: 1; padding-left: 0; }
  .h-idea-txt { order: 1; }
  .h-emblem { order: 2; grid-row: auto; aspect-ratio: 5 / 4; }
  .h-idea-card { order: 3; padding-left: var(--pad); margin: calc(var(--pad) * -2.4) calc(var(--u) * .8) 0; }   /* pulled up over the bottom of the image (the row gap takes back some of it) */
  .h-stage { grid-template-columns: 1fr; grid-template-rows: minmax(220px, 1fr) auto; align-items: start; gap: .4rem; padding: var(--u) var(--u) calc(var(--u) + 3.4rem); }
  .h-cv-box { min-height: 220px; }
  .h-hud { bottom: 0; }
  .h-copy { margin: 0; padding: var(--u); background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .h-copy h2, .h-intro, .h-copy .actions { display: none; }
  .h-prog { margin-top: 0; }
  .h-steps li:not(.on) { display: none; }
  .h-steps li { padding: .7rem 0; border-top: 0; }
  .h-steps p { max-width: none; }
  .h-panels { flex-direction: column; height: auto; min-height: 0; }
  .h-panel, .h-panel.on { flex: none; min-height: 190px; }
  .h-panel:hover { transform: none; }
  .h-panel { gap: 1.1rem; }   /* room between the number and the title */
  .h-panel svg { top: 1rem; right: 1rem; width: 22%; max-width: 76px; transform: none; opacity: .34; }   /* icon in the free corner, not behind the paragraph */
  .h-panel .d { opacity: 1; transform: none; width: auto; max-width: 30rem; pointer-events: auto; }
  .h-panel svg path, .h-panel svg circle { stroke-dashoffset: 0 !important; }
}
@media (max-width: 700px) {
  .h-row { grid-template-columns: 2rem 1fr auto; }
  .h-row .ar { display: none; }
  .h-list { margin-inline: calc(var(--u) * -.4); }
  .h-row { padding-inline: calc(var(--u) * .4); }
}
@media (max-height: 820px) and (min-width: 861px) { .h-intro { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .h-marq .trk { animation: none; }
  .h-cycle { height: auto; }
  .h-cycle .trk { animation: none; }
  .h-cycle span { display: inline; margin-right: .3em; }
  .h-cycle .trk span:last-child { display: none; }
  .h-panel, .h-panel .d, .h-panel svg path, .h-panel svg circle { transition: none; }
}

/* ---------- 4b. The Atelier: live 3D preview. The canvas fills the panel; the controls are a glass card floating over it ---------- */
main > section.h-atelier { display: flex; align-items: center; justify-content: flex-end; min-height: max(560px, min(86vh, 780px)); min-height: max(560px, min(86svh, 780px)); padding: 0; background: var(--coal); }
.h-at-stage { position: absolute; inset: 0; }
.h-at-poster, .h-at-cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-at-cv { opacity: 0; cursor: grab; touch-action: pan-y; transition: opacity .9s var(--ease); outline-offset: -4px; }
.h-at-cv:active { cursor: grabbing; }
.h-at-poster { transition: opacity .9s var(--ease); }
.ready .h-at-cv { opacity: 1; }
.ready .h-at-poster { opacity: 0; }
.h-at-hud { position: absolute; left: var(--pad); bottom: var(--pad); display: flex; gap: 1rem; margin: 0; max-width: none; font: 600 .62rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #d9cdb8; pointer-events: none; }
.h-at-hud b { color: var(--gold-l); font-weight: 600; }
.h-at-hint { position: absolute; left: var(--pad); top: calc(var(--nav-h) + var(--u) * 3); margin: 0; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #d9cdb8; pointer-events: none; transition: opacity .5s; }
.touched .h-at-hint { opacity: 0; }
@media (hover: none) { .h-at-fine { display: none; } }
@media (max-width: 860px) { .h-at-hint { display: none; } }   /* on a phone it sat on the sculpture's head; the card text already says to turn it */
.h-at-card { position: relative; z-index: 2; width: min(25rem, calc(100% - 2 * var(--pad))); margin: var(--pad); padding: var(--pad); border-radius: var(--r-s); background: #14120fb0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px #000000b3, inset 0 0 0 1px #ffffff1f; }
.h-at-card h2 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.h-at-lead { color: #d9cdb8; font-size: .88rem; }
.h-at-opt { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.h-at-opt legend { padding: 0; margin-bottom: .55rem; font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.h-at-seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.h-at-seg label { position: relative; }
.h-at-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.h-at-seg span { display: block; padding: .55rem .9rem; border-radius: 99px; box-shadow: inset 0 0 0 1px #f6f1e64d; font: 600 .7rem/1 var(--sans); letter-spacing: .03em; transition: background .3s, color .3s, box-shadow .3s; }
.h-at-seg input:hover + span { box-shadow: inset 0 0 0 1px var(--gold-l); }
.h-at-seg input:checked + span { background: var(--gold-l); color: var(--ink); box-shadow: none; }
.h-at-seg input:focus-visible + span { outline: 2px solid var(--gold-l); outline-offset: 2px; }
.h-at-price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font: 500 1.15rem/1.2 var(--display); letter-spacing: -.02em; }
.h-at-price span { font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); }
.h-at-card .actions { margin-top: .9rem; }
.h-at-note { margin: .8rem 0 0; color: #a99d89; font-size: .74rem; line-height: 1.45; }
@media (max-width: 860px) {
  main > section.h-atelier { display: block; min-height: 0; }
  .h-at-stage { position: relative; inset: auto; height: min(64vh, 520px); height: min(64svh, 520px); min-height: 340px; }
  .h-at-poster { object-position: 36% 50%; }
  .h-at-hud { bottom: calc(var(--pad) * 1.5 + .5rem); }
  .h-at-card { width: auto; margin: calc(var(--pad) * -1.3) var(--u) var(--u); }
}
@media (prefers-reduced-motion: reduce) { .h-at-cv, .h-at-poster { transition: none; } }

/* ---------- footer: Kerala backwaters along the bottom edge, behind the parcel. Anchored left so the houseboat stays in frame on phones ---------- */
footer::before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; width: max(100%, 720px); aspect-ratio: 1672 / 521; background: url("/assets/img/kerala-backwaters.webp") 0 100% / 100% 100% no-repeat; pointer-events: none; }
/* the bottom row sits on the water: frosted chips keep it readable over the dark shoreline */
.f-base > span { padding: .25rem .8rem; border-radius: var(--r-s); background: #d8cbb0d9; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
