@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,300;0,6..96,400;1,6..96,300&family=Inter:wght@300;400;500&family=Space+Mono:wght@400&display=swap');

:root {
  --black: #0c0b09;
  --paper: #eee8dd;
  --ink: #1a1714;
  --ivory: #f2ece2;
  --gold: #c4a882;
  --line-dark: rgba(26, 23, 20, .16);
  --line-light: rgba(242, 236, 226, .15);
  --rail: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--ivory); font-family: Inter, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }
::selection { background: var(--gold); color: var(--black); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--gold); }

.filters { position: fixed; width: 0; height: 0; overflow: hidden; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .08; filter: url(#grain); mix-blend-mode: soft-light; z-index: 1; }

.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  background: rgba(12, 11, 9, .92); border-right: 1px solid var(--line-light);
  backdrop-filter: blur(18px); transition: width .55s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
}
.rail:hover { width: 190px; align-items: stretch; }
.monogram { height: 92px; display: grid; place-items: center; font: 300 17px/1 'Bodoni Moda', serif; letter-spacing: .2em; text-decoration: none; }
.rail-nav { margin: auto 0; width: 100%; display: flex; flex-direction: column; }
.rail-nav a { height: 45px; display: grid; grid-template-columns: 72px 1fr; align-items: center; text-decoration: none; position: relative; color: rgba(242,236,226,.45); transition: color .35s, background .35s; }
.rail-nav a::before { content: ''; position: absolute; left: 0; width: 2px; height: 0; background: var(--gold); transition: height .35s; }
.rail-nav a:hover { color: var(--ivory); background: rgba(255,255,255,.035); }
.rail-nav a:hover::before { height: 100%; }
.rail-nav span { text-align: center; font: 10px/1 'Space Mono', monospace; }
.rail-nav b { white-space: nowrap; font-size: 10px; font-weight: 400; letter-spacing: .19em; text-transform: uppercase; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s; }
.rail:hover .rail-nav b { opacity: 1; transform: none; }
.rail-meta { height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; font: 8px/1 'Space Mono', monospace; color: rgba(242,236,226,.35); }
.rail:hover .rail-meta { flex-direction: row; gap: 28px; }

body:not(:has(section:target)) .nav-home,
body:has(#home:target) .nav-home,
body:has(#origin:target) .nav-origin,
body:has(#craft:target) .nav-craft,
body:has(#colour:target) .nav-colour,
body:has(#glaze:target) .nav-glaze,
body:has(#firing:target) .nav-firing,
body:has(#motif:target) .nav-motif,
body:has(#archive:target) .nav-archive,
body:has(#lab:target) .nav-lab { color: var(--gold); }

main { margin-left: var(--rail); }
.panel { min-height: 100vh; position: relative; padding: 48px 5vw 62px; overflow: hidden; scroll-snap-align: start; scroll-margin-top: 0; }
.panel:target { animation: panel-in .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes panel-in { from { opacity: .55; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.paper { background: var(--paper); color: var(--ink); }
.dark-panel, .firing, .colour { background: var(--black); color: var(--ivory); }
.dark-panel::after, .firing::after, .colour::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 48%, rgba(196,168,130,.1), transparent 47%); }

.section-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); font: 9px/1 'Space Mono', monospace; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 2; }
.section-head.light { border-color: var(--line-light); color: rgba(242,236,226,.55); }
.split-title { display: grid; grid-template-columns: 1.4fr .6fr; gap: 6vw; align-items: end; margin: 7vh 0 8vh; position: relative; z-index: 2; }
.split-title h2, .archive-title h2, .lab-title h2, .glaze-copy h2, .colour-intro h2 { margin: 0; font: 300 clamp(52px, 7.2vw, 122px)/.84 'Bodoni Moda', serif; letter-spacing: -.055em; text-transform: uppercase; }
h2 i { font-weight: 300; text-transform: none; }
.split-title p, .archive-title p, .lab-title p, .glaze-copy p { margin: 0; max-width: 500px; font-size: 12px; line-height: 1.85; letter-spacing: .04em; }
.split-title.light p { color: rgba(242,236,226,.55); }
.next-link { position: relative; z-index: 5; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; text-decoration: none; font: 9px/1 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .14em; color: rgba(242,236,226,.5); }
.next-link.dark { color: rgba(26,23,20,.52); border-color: var(--line-dark); }
.next-link span { color: currentColor; font-size: 12px; transition: transform .3s; }
.next-link:hover span { transform: translateX(8px); }

.hero { height: 100vh; background: radial-gradient(circle at 50% 48%, #231e19 0%, var(--black) 58%); padding: 0; isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.025); background: linear-gradient(90deg, transparent 49.95%, rgba(255,255,255,.04) 50%, transparent 50.05%); pointer-events: none; }
.eyebrow { position: absolute; top: 35px; z-index: 10; margin: 0; font: 8px/1 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .16em; color: rgba(242,236,226,.4); }
.top-left { left: 4vw; } .top-right { right: 4vw; }
.hero-copy { position: absolute; z-index: 8; left: 50%; top: 50%; transform: translate(-50%,-51%); text-align: center; width: 90%; pointer-events: none; }
.chapter { display: block; margin-bottom: 20px; font: 9px/1 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .23em; color: var(--gold); }
.hero h1 { margin: 0; font: 300 clamp(76px, 12.5vw, 220px)/.67 'Bodoni Moda', serif; letter-spacing: -.065em; text-transform: uppercase; text-shadow: 0 16px 55px rgba(0,0,0,.45); }
.hero h1 i { font-weight: 300; text-transform: none; }
.hero-copy p { margin-top: 35px; font: 9px/1 'Space Mono', monospace; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,236,226,.55); }
.hero-object { position: absolute; z-index: 3; object-fit: contain; filter: drop-shadow(0 35px 60px rgba(0,0,0,.7)); pointer-events: none; }
.hero-object-main { width: min(31vw, 460px); height: 76vh; left: 50%; top: 12%; transform: translateX(-50%); animation: float-main 7s ease-in-out infinite; }
.hero-object-a { width: 19vw; height: 34vh; left: 3%; bottom: -5%; opacity: .55; transform: rotate(-10deg); animation: float-a 9s ease-in-out infinite; }
.hero-object-b { width: 16vw; height: 38vh; right: 5%; top: 5%; opacity: .6; transform: rotate(7deg); animation: float-b 8s ease-in-out infinite; }
.hero-object-c { width: 13vw; height: 29vh; right: 12%; bottom: -5%; opacity: .4; transform: rotate(-8deg); animation: float-a 10s ease-in-out infinite reverse; }
@keyframes float-main { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-1deg); } 50% { transform: translateX(-50%) translateY(-18px) rotate(1deg); } }
@keyframes float-a { 0%,100% { translate: 0 0; } 50% { translate: 0 -22px; } }
@keyframes float-b { 0%,100% { translate: 0 0; } 50% { translate: -8px 20px; } }
.round-link { position: absolute; z-index: 10; right: 5vw; bottom: 6vh; width: 104px; height: 104px; border: 1px solid rgba(242,236,226,.25); border-radius: 50%; display: grid; place-items: center; text-align: center; text-decoration: none; font: 8px/1.45 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .1em; transition: color .4s, background .4s, transform .4s; }
.round-link i { position: absolute; right: 14px; bottom: 13px; font-style: normal; }
.round-link:hover { background: var(--ivory); color: var(--black); transform: rotate(7deg); }
.hero-foot { position: absolute; z-index: 8; left: 4vw; right: 4vw; bottom: 5vh; display: flex; justify-content: space-between; align-items: end; color: rgba(242,236,226,.35); font-size: 9px; line-height: 1.6; text-transform: uppercase; letter-spacing: .12em; }
.hero-foot p:first-child { width: 280px; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); position: relative; z-index: 2; }
.timeline article { min-height: 270px; padding: 25px 22px; border-right: 1px solid var(--line-dark); transition: background .35s, color .35s; }
.timeline article:last-child { border-right: 0; }
.timeline article:hover { background: var(--ink); color: var(--ivory); }
.timeline time { font: 10px/1 'Space Mono', monospace; color: #9a6c44; }
.timeline h3 { margin: 90px 0 14px; font: 300 23px/1.05 'Bodoni Moda', serif; }
.timeline p { margin: 0; font-size: 9px; line-height: 1.65; opacity: .62; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); position: relative; z-index: 2; }
.process-grid article { min-height: 180px; padding: 24px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .35s, transform .35s; }
.process-grid article:nth-child(3n) { border-right: 0; }
.process-grid article:nth-last-child(-n+3) { border-bottom: 0; }
.process-grid article:hover { background: rgba(196,168,130,.11); transform: translateY(-4px); }
.process-grid b { font: 9px/1 'Space Mono', monospace; color: var(--gold); }
.process-grid h3 { margin: 34px 0 12px; font: 300 30px/1 'Bodoni Moda', serif; }
.process-grid p { margin: 0; max-width: 270px; font-size: 9px; line-height: 1.65; color: rgba(242,236,226,.48); }

.colour { min-height: 100vh; }
.colour-intro { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 5vw; margin: 8vh 0 9vh; }
.colour-intro p { font-size: 11px; line-height: 1.8; color: rgba(242,236,226,.5); max-width: 320px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); height: 36vh; min-height: 290px; position: relative; z-index: 2; }
.swatch { position: relative; padding: 22px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; transition: flex .6s, transform .5s; }
.swatch::before { content: ''; position: absolute; inset: 0; background: inherit; filter: saturate(.72); transition: filter .4s, scale .5s; }
.swatch:hover::before { filter: saturate(1.1); scale: 1.06; }
.swatch > * { position: relative; }
.swatch span { margin-bottom: auto; font: 9px/1 'Space Mono', monospace; }
.swatch h3 { margin: 0 0 9px; font: 300 25px/1 'Bodoni Moda', serif; }
.swatch p { margin: 0; font-size: 9px; opacity: .66; }
.ink { background: #20201f; } .blue { background: #28576c; } .red { background: #9f5148; } .brown { background: #765f49; } .green { background: #4f6d58; }

.glaze-stage { min-height: 70vh; display: grid; grid-template-columns: .85fr 1.15fr .65fr; gap: 3vw; align-items: center; position: relative; z-index: 2; }
.glaze-copy h2 { font-size: clamp(45px,5.7vw,92px); }
.glaze-copy p { margin-top: 28px; max-width: 370px; }
.layer-object { height: 70vh; position: relative; display: grid; place-items: center; }
.layer-object img { position: relative; z-index: 5; max-width: 63%; max-height: 78%; object-fit: contain; filter: drop-shadow(0 25px 45px rgba(0,0,0,.24)); animation: glaze-float 6s ease-in-out infinite; }
@keyframes glaze-float { 50% { transform: translateY(-15px); } }
.halo { position: absolute; border: 1px solid rgba(26,23,20,.12); border-radius: 50%; }
.halo-1 { width: 36%; aspect-ratio: 1; } .halo-2 { width: 55%; aspect-ratio: 1; } .halo-3 { width: 74%; aspect-ratio: 1; } .halo-4 { width: 94%; aspect-ratio: 1; }
.layer-list { list-style: none; padding: 0; margin: 0; }
.layer-list li { display: grid; grid-template-columns: 28px 1fr; gap: 5px 12px; padding: 17px 0; border-bottom: 1px solid var(--line-dark); }
.layer-list b { grid-row: span 2; font: 9px/1 'Space Mono', monospace; color: #9a6c44; }
.layer-list span { font: 300 20px/1 'Bodoni Moda', serif; }
.layer-list small { font-size: 8px; text-transform: uppercase; letter-spacing: .1em; opacity: .5; }

.firing { background: radial-gradient(circle at 50% 50%, #6a281b 0, #2b1711 28%, var(--black) 68%); }
.temperature { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 2; text-align: center; }
.temperature p { font: 9px/1 'Space Mono', monospace; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.temperature strong { font: 300 clamp(120px,23vw,380px)/.76 'Bodoni Moda', serif; letter-spacing: -.09em; text-shadow: 0 0 80px rgba(222,83,45,.35); }
.temperature sup { font-size: .16em; letter-spacing: 0; vertical-align: top; margin-left: 12px; }
.temperature span { max-width: 460px; font-size: 10px; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,236,226,.55); }
.heat-scale { display: grid; grid-template-columns: repeat(5,1fr); position: relative; z-index: 2; border-top: 1px solid var(--line-light); }
.heat-scale article { padding: 18px; border-right: 1px solid var(--line-light); }
.heat-scale article:last-child { border-right: 0; }
.heat-scale b { font: 10px/1 'Space Mono', monospace; color: var(--gold); }
.heat-scale p { font-size: 8px; line-height: 1.5; opacity: .46; }

.motif-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); position: relative; z-index: 2; }
.motif-grid article { background: var(--paper); padding: 18px; overflow: hidden; }
.motif-grid img { width: 100%; height: 34vh; min-height: 250px; object-fit: contain; margin-bottom: 18px; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.motif-grid article:hover img { transform: scale(1.08) rotate(2deg); }
.motif-grid span { font: 8px/1 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #9a6c44; }
.motif-grid h3 { margin: 13px 0 8px; font: 300 22px/1.05 'Bodoni Moda', serif; }
.motif-grid p { margin: 0; font-size: 8px; line-height: 1.5; opacity: .56; }

.archive-title, .lab-title { display: grid; grid-template-columns: 1.3fr .7fr; gap: 5vw; align-items: end; margin: 7vh 0; position: relative; z-index: 2; }
.archive-title p { color: rgba(242,236,226,.5); }
.object-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line-light); position: relative; z-index: 2; }
.object-grid details { border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); min-width: 0; }
.object-grid details:nth-child(3n) { border-right: 0; }
.object-grid details:nth-last-child(-n+3) { border-bottom: 0; }
.object-grid summary { min-height: 590px; list-style: none; cursor: pointer; padding: 20px; display: grid; grid-template-rows: auto 1fr auto auto; position: relative; overflow: hidden; }
.object-grid summary::-webkit-details-marker { display: none; }
.object-grid summary > span { font: 9px/1 'Space Mono', monospace; color: var(--gold); }
.object-grid summary img { width: 100%; height: 390px; object-fit: contain; align-self: center; filter: drop-shadow(0 25px 45px rgba(0,0,0,.65)); transition: transform .6s cubic-bezier(.16,1,.3,1), filter .5s; }
.object-grid summary:hover img { transform: scale(1.08) translateY(-10px); filter: drop-shadow(0 35px 60px rgba(196,168,130,.18)); }
.object-grid summary h3 { margin: 0; font: 300 27px/.98 'Bodoni Moda', serif; text-transform: uppercase; }
.object-grid summary i { margin-top: 14px; font: normal 8px/1 'Space Mono', monospace; letter-spacing: .12em; text-transform: uppercase; opacity: .45; }
.object-grid details[open] { grid-column: 1/-1; border-right: 0; }
.object-grid details[open] summary { min-height: 300px; grid-template-columns: 50px 1fr 1fr; grid-template-rows: 1fr auto; background: rgba(196,168,130,.08); }
.object-grid details[open] summary img { grid-row: 1/3; grid-column: 2; height: 340px; }
.object-grid details[open] summary h3 { grid-column: 3; grid-row: 1; align-self: end; font-size: 48px; }
.object-grid details[open] summary i { grid-column: 3; }
.record { display: grid; grid-template-columns: .7fr 1.3fr; gap: 7vw; padding: 40px 5vw 55px; border-top: 1px solid var(--line-light); }
.record > p { font: 300 25px/1.25 'Bodoni Moda', serif; margin: 0; }
.record dl { margin: 0; display: grid; grid-template-columns: 90px 1fr; gap: 16px; font-size: 10px; line-height: 1.6; }
.record dt { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
.record dd { margin: 0; color: rgba(242,236,226,.55); }

.lab { min-height: 115vh; }
.lab-stage { height: 74vh; min-height: 570px; position: relative; display: grid; place-items: center; border: 1px solid var(--line-dark); overflow: hidden; }
.lab-stage > img { position: relative; z-index: 3; max-width: 35%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 30px 55px rgba(0,0,0,.35)); animation: glaze-float 6s ease-in-out infinite; }
.lab-stage input { position: absolute; opacity: 0; pointer-events: none; }
.lab-glow { position: absolute; width: 66vw; height: 66vw; border-radius: 50%; background: #89aeb7; filter: blur(90px); opacity: .4; transition: background .8s, opacity .8s; }
.palette-controls { position: absolute; left: 30px; bottom: 30px; z-index: 5; display: flex; flex-direction: column; gap: 7px; }
.palette-controls p { font: 8px/1 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .12em; opacity: .5; }
.palette-controls label { width: 155px; padding: 11px 15px; border: 1px solid var(--line-dark); cursor: pointer; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; transition: background .3s, color .3s; }
.palette-controls label:hover { background: var(--ink); color: var(--ivory); }
#palette-blue:checked ~ .lab-glow { background: #6f9eaa; }
#palette-green:checked ~ .lab-glow { background: #749270; }
#palette-red:checked ~ .lab-glow { background: #b56368; }
#palette-earth:checked ~ .lab-glow { background: #9a7655; }
#palette-blue:checked ~ .palette-controls label[for=palette-blue],
#palette-green:checked ~ .palette-controls label[for=palette-green],
#palette-red:checked ~ .palette-controls label[for=palette-red],
#palette-earth:checked ~ .palette-controls label[for=palette-earth] { background: var(--ink); color: var(--ivory); }
.finale { min-height: 43vh; display: flex; align-items: end; justify-content: space-between; padding-top: 80px; }
.finale p { margin: 0; font: 300 clamp(40px,6vw,95px)/.9 'Bodoni Moda', serif; letter-spacing: -.04em; }
.finale a { font: 9px/1 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; border-bottom: 1px solid; padding-bottom: 8px; }

@media (max-width: 1000px) {
  :root { --rail: 58px; }
  .rail:hover { width: 160px; }
  .rail-nav a { grid-template-columns: 58px 1fr; }
  .split-title, .colour-intro, .archive-title, .lab-title { grid-template-columns: 1fr; align-items: start; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article { min-height: 135px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .timeline h3 { margin-top: 25px; }
  .process-grid, .object-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(3n), .object-grid details:nth-child(3n) { border-right: 1px solid var(--line-light); }
  .process-grid article:nth-child(2n), .object-grid details:nth-child(2n) { border-right: 0; }
  .swatches { grid-template-columns: 1fr; height: auto; }
  .swatch { min-height: 170px; }
  .glaze-stage { grid-template-columns: 1fr; }
  .layer-object { height: 55vh; }
  .heat-scale, .motif-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  :root { --rail: 46px; }
  html { scroll-snap-type: y proximity; }
  .rail { width: calc(var(--rail) + env(safe-area-inset-left)); padding-left: env(safe-area-inset-left); }
  .rail:hover { width: calc(142px + env(safe-area-inset-left)); }
  .rail-nav a { height: 38px; grid-template-columns: var(--rail) 1fr; }
  .rail-nav span { font-size: 9px; }
  .monogram { height: calc(62px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .rail-meta { display: none; }
  main { margin-left: calc(var(--rail) + env(safe-area-inset-left)); }
  .panel { min-height: 100svh; padding: calc(24px + env(safe-area-inset-top)) 18px calc(42px + env(safe-area-inset-bottom)); }
  .section-head { gap: 16px; font-size: 7px; letter-spacing: .1em; }
  .split-title, .colour-intro, .archive-title, .lab-title { gap: 24px; margin: 54px 0 48px; }
  .split-title h2, .archive-title h2, .lab-title h2, .glaze-copy h2, .colour-intro h2 { font-size: clamp(44px, 16vw, 68px); line-height: .88; }
  .split-title p, .archive-title p, .lab-title p, .glaze-copy p { font-size: 11px; line-height: 1.75; }
  .top-right, .hero-object-a, .hero-object-b, .hero-object-c { display: none; }
  .hero { height: 100svh; min-height: 640px; padding: 0; }
  .top-left { left: 18px; top: calc(25px + env(safe-area-inset-top)); }
  .hero-copy { top: 47%; width: calc(100% - 24px); }
  .hero-object-main { width: min(78vw, 360px); height: 64svh; top: 14%; }
  .hero h1 { font-size: clamp(68px, 21vw, 98px); line-height: .7; }
  .hero-copy p { margin-top: 28px; font-size: 7px; letter-spacing: .18em; }
  .chapter { margin-bottom: 15px; font-size: 8px; }
  .hero-foot { left: 18px; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .hero-foot p:first-child { width: 150px; font-size: 7px; }
  .hero-foot p:last-child { display: none; }
  .round-link { width: 76px; height: 76px; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 7px; }
  .process-grid, .object-grid, .motif-grid, .heat-scale { grid-template-columns: 1fr; }
  .process-grid article, .object-grid details, .motif-grid article, .heat-scale article { border-right: 0 !important; }
  .timeline article { padding: 22px 16px; }
  .process-grid article { min-height: 160px; padding: 20px; }
  .swatch { min-height: 145px; }
  .glaze-stage { display: block; }
  .layer-object { height: 52svh; min-height: 390px; }
  .layer-object img { max-width: 78%; max-height: 82%; }
  .layer-list { margin-bottom: 40px; }
  .temperature { min-height: 58svh; }
  .temperature strong { font-size: clamp(82px, 28vw, 128px); }
  .temperature span { font-size: 8px; }
  .motif-grid img { height: 42svh; min-height: 270px; }
  .object-grid summary { min-height: 470px; padding: 18px; }
  .object-grid summary img { height: 325px; }
  .object-grid details[open] summary { min-height: 560px; grid-template-columns: 1fr; grid-template-rows: auto 330px auto auto; }
  .object-grid details[open] summary > span { grid-column: 1; grid-row: 1; }
  .object-grid details[open] summary img { grid-column: 1; grid-row: 2; height: 310px; }
  .object-grid details[open] summary h3 { grid-column: 1; grid-row: 3; align-self: end; font-size: 34px; }
  .object-grid details[open] summary i { grid-column: 1; grid-row: 4; }
  .record { grid-template-columns: 1fr; }
  .record { gap: 30px; padding: 30px 18px 42px; }
  .record dl { grid-template-columns: 76px 1fr; }
  .lab { min-height: auto; }
  .lab-stage { height: 74svh; min-height: 560px; }
  .lab-stage > img { max-width: 72%; max-height: 68%; transform: translateY(-36px); }
  .lab-glow { width: 120vw; height: 120vw; filter: blur(65px); }
  .palette-controls { left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: repeat(2, 1fr); }
  .palette-controls p { grid-column: 1 / -1; }
  .palette-controls label { width: auto; padding: 10px 11px; }
  .finale { flex-direction: column; align-items: start; justify-content: end; gap: 45px; }
}

@media (max-width: 430px) {
  .rail:hover .rail-nav b { opacity: 0; }
  .rail:hover { width: calc(var(--rail) + env(safe-area-inset-left)); align-items: center; }
  .hero-object-main { width: min(82vw, 340px); }
  .next-link { margin-top: 42px; }
  .finale { min-height: 36svh; padding-top: 55px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  :root { --rail: 44px; }
  .rail { width: calc(var(--rail) + env(safe-area-inset-left)); }
  .rail:hover { width: calc(var(--rail) + env(safe-area-inset-left)); }
  .rail:hover .rail-nav b { opacity: 0; }
  .rail-nav a { height: 30px; grid-template-columns: var(--rail) 1fr; }
  .monogram { height: calc(42px + env(safe-area-inset-top)); }
  main { margin-left: calc(var(--rail) + env(safe-area-inset-left)); }
  .panel { min-height: 100svh; padding-top: calc(18px + env(safe-area-inset-top)); }
  .hero { min-height: 100svh; height: 100svh; }
  .hero-copy { top: 48%; }
  .hero h1 { font-size: clamp(54px, 12vw, 84px); }
  .hero-object-main { width: 32vw; height: 78svh; top: 9%; }
  .hero-copy p, .hero-foot, .round-link { display: none; }
  .split-title, .colour-intro, .archive-title, .lab-title { margin: 34px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}