@font-face {
  font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 750; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
:root {
  --paper: #f8f7f2; --ink: #232621; --muted: #555951; --stone: #d7d6cb;
  --ember: #c85021; --bright: #ed8955; --line: #d7d7cb;
  --sans: "DM Sans", Arial, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(100%, calc(.82em + .36vw), 160%);
  --gutter: clamp(1.25rem, 4.4vw, 9vw); --edge: clamp(8px, 1.05vw, 1.8rem);
  --header-height: clamp(3.8rem, min(6.1vw, 10svh), 5.7rem);
  --ease: cubic-bezier(.2,.72,.18,1);
  color-scheme: light; scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, a { color: inherit; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
button { border: 0; padding: 0; background: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9c3b13; outline-offset: 5px; }
.contact :focus-visible, .specimen-caption :focus-visible { outline-color: #ffab74; }
[hidden] { display: none !important; }
figure, p, h1, h2 { margin: 0; }
img { display: block; }
::selection { color: #fff9ed; background: #944017; }
.skip { position: fixed; z-index: 20; top: 8px; left: 12px; transform: translateY(-150%); background: var(--paper); padding: 10px 20px; }
.skip:focus { transform: none; }
.masthead { position: relative; z-index: 4; background: var(--paper); }
.header-inner, .footer-inner, .section-width { width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-height); }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 9px; font-size: 1.9rem; font-weight: 720; letter-spacing: -.075em; line-height: 1; }
.wordmark img { width: 2rem; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(25px, 2.6vw, 45px); }
.main-nav a, .main-nav button, .contact-link, .mobile-nav { font-size: .875rem; font-weight: 550; }
.main-nav a, .main-nav button, .legal { position: relative; }
.main-nav a::after, .main-nav button::after, .legal::after { content: ""; position: absolute; inset: auto 0 -5px; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav button:hover::after, .legal:hover::after { transform: scaleX(1); }
.contact-link { display: inline-flex; align-items: center; justify-self: end; gap: 21px; border: 1px solid #9c9e92; border-radius: 24px; padding: 9px 16px 10px 18px; transition: color .2s, background .2s, border-color .2s; }
.contact-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.arrow { position: relative; display: inline-block; width: 15px; height: 15px; flex-shrink: 0; --angle: 0deg; transform: rotate(var(--angle)); transition: translate .22s var(--ease); }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: 13px; height: 1.5px; top: calc(50% - .75px); left: 0; background: currentColor; }
.arrow::after { width: 7px; height: 7px; right: 1px; top: calc(50% - 4.3px); border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.arrow.ne { --angle: -45deg; } .arrow.down { --angle: 90deg; } .arrow.up { --angle: -90deg; } .arrow.left { --angle: 180deg; }
a:hover .arrow.ne, button:hover .arrow.ne { translate: 2px -2px; }
a:hover .arrow.down { translate: 0 3px; }
.menu-toggle, .mobile-nav { display: none; }
.eyebrow, .plate, .note-count { font: 500 10.5px/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.signal { width: 8px; height: 8px; background: var(--ember); border-radius: 50%; box-shadow: 0 0 0 4px #bd522015; }
h1, .section-title { font-weight: 490; letter-spacing: -.073em; line-height: .93; }
h1 { font-size: clamp(85px, 8.1vw, 148px); }
h1 span, h1 em { display: block; }
h1 em, .section-title em { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 em { font-size: 1.115em; line-height: .88; letter-spacing: -.047em; }
.button { display: inline-flex; gap: 22px; padding: 14px 20px 14px 23px; align-items: center; justify-content: center; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 550; transition: background-color .25s, transform .25s var(--ease); }
.button:hover { background-color: #463f32; transform: translateY(-2px); }
.hero-cta { background: #a94320; }
.hero-cta:hover { background: #893617; }
.hero-cta .arrow { color: #fff6e8; }
.plate { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; }
.plate i { display: inline-block; width: 23px; height: 1px; background: currentColor; opacity: .65; }
.cross { width: 13px; height: 13px; position: relative; display: inline-block; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { height: 1px; width: 100%; top: 6px; } .cross::after { width: 1px; height: 100%; left: 6px; }
.section-width { scroll-margin-top: 24px; }
.practice { display: grid; grid-template-columns: .7fr 2fr; gap: 5%; padding-block: clamp(70px,7.3vw,132px); }
.section-label::before { content: ""; width: 26px; height: 2px; background: var(--ember); }
.margin-label { padding-top: 13px; }
.section-title { font-size: clamp(3.3rem,5.9vw,7rem); line-height: .99; }
.section-title em { font-size: 1.12em; }
.practice-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,3.4vw,80px); align-items: start; }
.practice-story h2 { white-space: nowrap; font-size: clamp(3rem,4.65vw,6.5rem); }
.story-copy { padding-top: 4px; max-width: 48ch; }
.story-copy p:first-child { font-size: clamp(1.08rem,1.32vw,1.48rem); line-height: 1.48; letter-spacing: -.027em; }
.story-copy p+p { margin-top: 15px; color: var(--muted); line-height: 1.65; }
.portal-enquiry { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid #a94320; color: #8b3719; font-size: 14px; font-weight: 550; }
.contact { position: relative; isolation: isolate; background: #272c25; color: var(--paper); overflow: hidden; }
.contours { position: absolute; z-index: -1; right: 0; height: 100%; width: 62%; pointer-events: none; opacity: .85; mask-image: linear-gradient(90deg,transparent,#000 25%); }
.contact-inner { padding-block: clamp(60px,6vw,108px); }
.contact .section-label::before { background: var(--bright); }
.contact .section-title { margin: 25px 0 20px; font-size: clamp(3.75rem,6.6vw,8.3rem); }
.contact p:not(.eyebrow) { color: #dbdfd3; }
.email-row { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.email-link { display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid #ef946b; color: #ffad7f; font-size: clamp(1.15rem,1.5vw,1.7rem); padding-bottom: 3px; letter-spacing: -.035em; }
.copy-email { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #77806e; border-radius: 50%; transition: background .2s; }
.copy-email:hover { background: #4b5345; }
.copy-icon { width: 10px; height: 12px; border: 1px solid; position: relative; top: 1px; left: 1px; }
.copy-icon::after { content: ""; position: absolute; inset: -4px 2px 2px -4px; border-top: 1px solid; border-left: 1px solid; }
.tender-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 14px; border-bottom: 1px solid #a5ad9e; }
.tender-link .arrow { width: 13px; height: 13px; }
.copy-status { display: block; margin-top: 6px; font-size: 13px; color: #e7e8da; }
.footer-inner { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding-block: 27px; }
.footer .wordmark { font-size: 1.6rem; }
.footer .wordmark img { width: 26px; }
.legal { display: inline-flex; align-items: center; min-height: 42px; font-size: .83rem; color: var(--muted); }
.legal { margin-left: auto; }
.back-top, .round { display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid #a3a69a; width: 39px; height: 39px; transition: background .2s, color .2s; }
.back-top:hover, .round:hover { background: var(--ink); color: var(--paper); }
.field-dialog { padding: 0; border: 0; border-radius: 5px; background: var(--paper); color: var(--ink); width: min(850px,calc(100% - 36px)); max-height: calc(100dvh - 40px); overflow: auto; }
.field-dialog::backdrop { background: #1d211ac7; backdrop-filter: blur(5px); }
.field-dialog[open] { animation: dialog-in .32s var(--ease); }
body:has(.field-dialog[open]) { overflow: hidden; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 410px; }
.note-image { position: relative; background: var(--stone); overflow: hidden; }
.note-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.note-image .plate { position: absolute; bottom: 15px; left: 15px; background: var(--paper); padding: 7px 10px; }
.note-content { padding: clamp(22px,3vw,44px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.note-top, .note-controls, .note-controls > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.close-note { font-weight: 400; font-size: 25px; line-height: 1; }
.note-body .section-title { font: italic 400 clamp(49px,5vw,74px)/1 var(--serif); letter-spacing: -.04em; margin-bottom: 17px; }
.note-body p { color: var(--muted); line-height: 1.65; }
.note-controls { border-top: 1px solid var(--line); padding-top: 18px; }
.note-count { font-size: 10px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { transform: translateY(10px) scale(.98); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .reveal.in-view { animation: section-rise .65s var(--ease) both; }
  @keyframes section-rise { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1100px) {
  .practice { grid-template-columns: 1fr; gap: 28px; }
  .margin-label { padding: 0; }
  .practice-story { grid-template-columns: 1fr 1.12fr; gap: 9%; }
  .practice-story h2 { font-size: clamp(58px,6.7vw,74px); }
}
@media (max-width: 720px) {
  :root { --gutter: clamp(20px,5.5vw,38px); --edge: 8px; }
  .header-inner { min-height: var(--header-height); display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; }
  .header-inner > .wordmark { margin-right: auto; }
  .wordmark { font-size: 27px; gap: 6px; }
  .wordmark img { width: 29px; }
  .main-nav { display: none; }
  .contact-link { font-size: 12px; gap: 10px; padding: 8px 12px; }
  .menu-toggle { display: grid; position: relative; width: 36px; height: 40px; place-items: center; }
  .menu-toggle span { position: absolute; width: 19px; height: 1.5px; background: var(--ink); transform: translateY(-3px); transition: transform .25s; }
  .menu-toggle span+span { transform: translateY(3px); }
  .menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span+span { transform: rotate(-45deg); }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 20px; box-shadow: 0 12px 22px #23262114; }
  .mobile-nav a, .mobile-nav button { text-align: left; padding: 12px 0; border-top: 1px solid var(--line); }
  h1 { font-size: clamp(61px,12.8vw,88px); }
  h1 em { font-size: 1.1em; }
  .section-width { scroll-margin-top: 16px; }
  .practice { padding-block: 52px; gap: 21px; }
  .practice-story { grid-template-columns: 1fr; gap: 20px; }
  .practice-story h2, .section-title { font-size: clamp(55px,10.7vw,74px); }
  .practice-story h2 { white-space: normal; font-size: clamp(45px,14vw,67px); }
  .story-copy { padding: 0; max-width: 56ch; }
  .story-copy p:first-child { font-size: 19px; }
  .contact-inner { padding-block: 51px 59px; }
  .contours { width: 78%; opacity: .46; mask-image: linear-gradient(90deg,transparent,#000); }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 15px; }
  .footer .wordmark { grid-column: 1; grid-row: 1; }
  .legal { grid-column: 1; grid-row: 2; justify-self: start; margin: 0; }
  .back-top { grid-column: 2; grid-row: 1; }
  .dialog-grid { grid-template-columns: 1fr; }
  .note-image { height: clamp(110px,24dvh,220px); }
  .note-content { padding: 19px 22px 23px; gap: 19px; }
  .note-body .section-title { margin-bottom: 10px; }
  .note-body p { font-size: 15px; }
}
@media (max-width: 360px) {
  :root { --gutter: 15px; }
  .header-inner { gap: 7px; }
  .header-inner .contact-link .arrow { display: none; }
  h1 { font-size: 17vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* One landscape across the viewing area; copy and photograph share the same grid cell. */
.hero {
  position: relative; isolation: isolate; container-type: inline-size; display: grid;
  grid-template-columns: minmax(0,1fr); width: calc(100% - 2 * var(--edge));
  margin-inline: auto; overflow: clip; border-radius: 4px; background: #e4e1d6;
  --rail: clamp(3.3rem,6.6svh,4.3rem);
  min-block-size: calc(100svh - var(--header-height) - var(--edge));
}
.hero-content, .specimen { grid-area: 1/1; min-width: 0; }
.hero-content {
  position: relative; z-index: 2; pointer-events: none; align-self: stretch;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  width: 58%; padding: clamp(1.25rem,5.3svh,5rem) 0 calc(var(--rail) + clamp(1.25rem,5.3svh,5rem)) calc(var(--gutter) - var(--edge));
}
.hero-content a { pointer-events: auto; }
.hero-kicker { margin-bottom: clamp(.9rem,3.8svh,3.1rem); font-size: clamp(.63rem,.76vw,.85rem); }
.hero h1 { max-inline-size: 100%; overflow-wrap: anywhere; font-size: clamp(3rem, min(9.05cqw,16.1svh), 22rem); letter-spacing: -.079em; line-height: .86; }
.hero h1 em { margin-top: .045em; line-height: .96; font-size: 1.08em; }
.hero-intro { max-width: 36ch; margin: clamp(1rem,3.1svh,2.8rem) 0 clamp(1rem,3.25svh,2.9rem); font-size: clamp(1rem,1.3vw,1.5rem); line-height: 1.48; letter-spacing: -.023em; color: #32362f; }
.hero-cta { padding: .76rem 1.15rem; font-size: .83rem; }
.specimen { display: grid; grid-template-rows: minmax(0,1fr) auto; }
.specimen-frame { position: relative; isolation: isolate; overflow: hidden; background: #d8d3c5; }
.specimen-photo, .specimen-photo img, .specimen-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.specimen-photo img, .specimen-lines { object-fit: cover; object-position: 73% 43%; }
.specimen-lines { clip-path: inset(0 0 0 var(--split)); pointer-events: none; }
.specimen-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,#ebe8dd 1%,#ebe8ddf9 25%,#ebe8dded 39%,#ebe8ddc4 48%,#ebe8dd55 57%,transparent 68%);
}
.split-rule { position: absolute; z-index: 1; inset-block: 0; left: var(--split); width: 2px; background: #fff7e5; translate: -50% 0; pointer-events: none; box-shadow: 0 0 0 1px #302e2466; }
.split-grip { position: absolute; top: 55%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(42px,3.25vw,3.8rem); aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff6e7; background: #a8431e; color: white; font: 600 clamp(21px,1.75vw,1.9rem)/1 var(--sans); box-shadow: 0 2px 12px #1e211a44; transition: scale .2s,box-shadow .2s; }
.split-input { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; background: transparent; touch-action: pan-y; cursor: ew-resize; }
.split-input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.split-input::-webkit-slider-thumb { appearance: none; width: 1px; height: 100%; border: 0; background: transparent; }
.split-input::-moz-range-track { height: 100%; background: transparent; }
.split-input::-moz-range-thumb { width: 1px; height: 100%; border: 0; background: transparent; }
.specimen-frame:has(.split-input:active) .split-grip { scale: 1.1; }
.split-input:focus-visible { outline: 3px solid #a8431e; outline-offset: -4px; }
.specimen-frame[data-edge="photo"] .split-rule { left: calc(100% - 1.45rem); background: transparent; box-shadow: none; }
.specimen-frame[data-edge="lines"] .split-rule { left: 1.45rem; background: transparent; box-shadow: none; }
.compare-hint { position: absolute; z-index: 1; top: clamp(.6rem,2vw,2.3rem); right: clamp(.6rem,2vw,2.3rem); padding: .37rem .72rem; border-radius: 2rem; border: 1px solid #ffffff73; background: #222b24e8; color: white; font-size: .76rem; pointer-events: none; }
.specimen-caption { display: flex; align-items: center; gap: clamp(.65rem,1.7vw,2.4rem); min-height: var(--rail); padding: .3rem calc(var(--gutter) - var(--edge)); color: #f8f6e9; background: #232f27; }
.specimen-caption .plate { font-size: .65rem; white-space: nowrap; }
.plate-rule { flex: 1; height: .34rem; border-bottom: 1px solid #71806d; background: repeating-linear-gradient(90deg,#85917c 0 1px,transparent 1px 1.55rem); }
.read-plate { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 0; min-height: 40px; color: #fff5de; font-size: .82rem; }
.read-plate:hover { text-decoration: underline; text-underline-offset: .24em; }
.study-presets { display: flex; align-items: center; padding: 2px; margin-left: auto; gap: 2px; border-radius: 2rem; border: 1px solid #899681; }
.study-presets button { min-height: max(32px,1.9rem); min-width: 2.95rem; padding: .18rem .58rem; border-radius: 2rem; color: #f5f4ea; font-size: .77rem; line-height: 1.15; }
.study-presets button:hover, .stage-controls button:hover { background: #445342; }
.study-presets button[aria-pressed="true"] { color: #202b21; background: #eeecdc; }
.specimen button:focus-visible { outline-color: #ffb07d; outline-offset: 1px; }
@media (scripting:enabled) {
  .study-presets[hidden], .main-nav [data-field-notes][hidden], .read-plate[hidden] { display: inline-flex !important; visibility: hidden; }
}
@media (min-width:540px) and (max-height:545px) {
  :root { --header-height: 3.15rem; }
  .hero { --rail: 2.9rem; }
  .hero-content { padding-block: .55rem calc(var(--rail) + .55rem); }
  .hero-kicker { margin-bottom: .6rem; }
  .hero h1 { font-size: clamp(2.7rem,min(8.8cqw,14svh),6rem); }
  .hero-intro { margin: .64rem 0; }
  .hero-cta { min-height: 36px; padding: .4rem .9rem; }
}
@media (min-width:540px) and (max-height:365px) {
  :root { --header-height: 2.8rem; }
  .hero-content { width: 61%; padding-block: .35rem calc(var(--rail) + .35rem); }
  .hero-kicker { margin-bottom: .3rem; }
  .hero h1 { font-size: clamp(2rem,12svh,3rem); }
  .hero-intro { margin: .38rem 0; font-size: .94rem; }
}
/* Portrait tablets use a tall photographic plate; landscape keeps the panoramic spread. */
@media (max-width:539px), (max-width:720px) and (max-aspect-ratio:3/2), (min-width:721px) and (max-width:1100px) and (max-aspect-ratio:1/1) {
  .hero { grid-template-rows: auto minmax(0,1fr); }
  .specimen, .hero-content { grid-area: auto; }
  .hero-content { width: 100%; padding: clamp(1rem,3.2svh,3rem) calc(var(--gutter) - var(--edge) + .4rem); }
  .hero h1 { font-size: clamp(2.85rem,min(14.5cqw,12.4svh),8rem); }
  .hero-kicker { margin-bottom: .78rem; }
  .hero-intro { margin: .8rem 0 .95rem; max-width: 43ch; }
  .hero-cta { min-height: 40px; padding: .52rem 1rem; }
  .specimen-frame { min-block-size: clamp(9rem,27svh,21rem); }
  .specimen-frame::after { display: none; }
  .compare-hint { left: .7rem; right: auto; }
  .specimen-photo img, .specimen-lines { object-position: 77% 46%; }
}
@media(max-width:720px) {
  .specimen-caption { flex-wrap: wrap; justify-content: space-between; gap: .45rem; padding: .32rem .68rem; }
  .specimen-caption .plate { font-size: .59rem; gap: .44rem; }
  .specimen-caption .cross, .specimen-caption .plate i, .plate-rule, .read-plate, .read-plate[hidden] { display: none !important; }
  .study-presets button { min-width: 2.6rem; }
}
@media(forced-colors:active) {
  .split-rule { background: CanvasText; }
  .split-grip, .study-presets button[aria-pressed="true"], .stage-controls button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
}
.workshop { padding-block: clamp(48px,5vw,90px) clamp(65px,7vw,125px); border-top: 1px solid var(--line); }
.workshop-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 6vw; align-items: end; margin-block: 22px 40px; }
.workshop-heading > p { color: var(--muted); max-width: 39ch; font-size: clamp(1rem,1.4vw,1.48rem); line-height: 1.5; }
.workshop-grid { display: grid; align-items: start; grid-template-columns: 1.15fr .85fr; gap: clamp(2.3rem,7vw,9rem); }
.work-stage { min-width: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #e6e2d5; }
.work-desk { min-height: clamp(20rem,48svh,38rem); padding: clamp(29px,3vw,54px); position: relative; display: grid; place-items: center; isolation: isolate; }
.desk-photo, .desk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; z-index: -1; }
.sample-sheet { width: min(100%,24rem); min-height: 14.5rem; padding: clamp(18px,2vw,34px); background: #faf8ed; color: #292e27; box-shadow: 3px 9px 20px #2c2c2430; transform: rotate(-2deg); }
.sheet-label, .chapter-label { font: 500 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .085em; }
.sheet-label span, .chapter-label { color: #8b421f; }
.sheet-panel h3 { font-weight: 550; font-size: clamp(1.35rem,2vw,2.1rem); line-height: 1.12; letter-spacing: -.055em; margin: 15px 0 18px; }
.file-list { list-style: none; padding: 0; margin: 0; font-size: .82rem; }
.file-list li { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 8px 0; }
.file-list small { margin-left: auto; color: #555a50; font-size: .7rem; }
.file-icon { height: 15px; width: 11px; border: 1px solid #8e8e7d; border-radius: 1px; flex-shrink: 0; background: linear-gradient(45deg, transparent 73%,#a1a591 74%); }
.guide-cover { display: flex; align-items: stretch; background: #e5e8da; gap: 13px; font-weight: 600; }
.guide-cover > span:last-child { padding: 11px 0; }
.guide-cover small { display: block; font: 11px/1.6 var(--mono); color: #475442; }
.guide-stripe { width: 9px; background: #51674d; }
.sheet-note { font-size: .85rem; margin: 13px 0 0; }
.handover-card { display: grid; grid-template-columns: auto 1fr; gap: 0 .75rem; margin: 0; font-size: .85rem; }
.handover-card dt, .handover-card dd { margin: 0; border-top: 1px solid var(--line); padding: 7px 0; }
.handover-card dt { font-weight: 650; }
.stage-controls { display: grid; grid-template-columns: repeat(3,1fr); background: #273026; color: var(--paper); }
.stage-controls button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: max(44px,3.2rem); padding: .5rem; font-size: .875rem; color: inherit; }
.stage-controls button span { font: 10px/1 var(--mono); }
.stage-controls button[aria-pressed="true"] { background: #a64320; }
.stage-controls button:focus-visible { outline-color: #fff8ed; outline-offset: -4px; }
.work-chapter { display: grid; align-content: center; gap: 11px; min-height: 220px; border-top: 1px solid var(--line); }
.work-chapter h3 { font-size: clamp(1.7rem,3.1vw,3.9rem); letter-spacing: -.065em; line-height: 1; font-weight: 500; margin: 0; }
.work-chapter > p:last-child { max-width: 41ch; line-height: 1.65; color: var(--muted); }
@media(min-width:901px) and (min-height:640px) {
  .work-ready .work-stage { position: sticky; top: 8vh; }
  .work-ready .work-chapter { min-height: max(17rem,52svh); }
  .work-ready .work-chapter.current { box-shadow: inset 0 2px #aa522b; }
}
@media(max-width:900px), (max-height:639px) {
  .work-ready .work-chapter:not(.current) { display: none; }
  .work-chapter { min-height: 0; padding: 23px 0; }
}
@media (max-width:900px) {
  .workshop-grid { gap: 28px; }
}
@media (max-width:720px) {
  .workshop-heading, .workshop-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .workshop-heading { margin-bottom: 24px; }
  .workshop-heading > p { max-width: 48ch; }
  .work-desk { min-height: 292px; padding: 20px; }
  .sample-sheet { min-height: 220px; }
  .stage-controls button { font-size: 12px; gap: 5px; }
  .work-chapter { padding: 18px 0 6px; }
}

@media(min-width:721px) {
  .main-nav a, .main-nav button { display: inline-flex; align-items: center; min-height: 44px; }
  .main-nav a::after, .main-nav button::after { bottom: .43rem; }
}
.work-chapter { scroll-margin-block: 1rem; }
@media(min-width:1600px) {
  .workshop-heading, .practice-story { align-items: center; }
  .header-inner .contact-link { padding: .55rem 1rem; }
  .practice, .workshop { padding-block: clamp(5rem,6vw,9rem); }
  .contact-inner { padding-block: clamp(4.5rem,6vw,9rem); }
}
@media (prefers-reduced-motion:no-preference) {
  .hero h1 em { animation: hero-enter .72s var(--ease) both; }
  .stage-controls button { transition: background-color .2s,color .2s; }
  @keyframes hero-enter { from { transform: translateY(.09em); } to { transform: none; } }
}


/* Give image captions the same reading style as body copy. */
.plate, .specimen-caption .plate { font: 500 .8125rem/1.4 var(--sans); letter-spacing: normal; text-transform: none; }
.journey .film-poster,.journey .film-poster img,.journey .stone-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:80% 65%}
.journey [hidden]{display:none!important}
.journey .stone-scene{pointer-events:none}
.scroll-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem 1rem}
.scroll-instruction{font:650 .95rem/1.35 var(--sans,Arial,sans-serif);color:#273628;max-width:23ch}
.film-scroll-hint{position:absolute;z-index:3;top:.65rem;right:.65rem;background:#f6f5eb;color:#243529;border:1px solid #8d998c;border-radius:.35rem;padding:.3rem .55rem;font:600 .86rem/1.4 var(--sans,Arial,sans-serif);pointer-events:none}
@media(max-width:540px){.scroll-actions{gap:.5rem .85rem}.scroll-instruction{max-width:16ch}.film-scroll-hint{right:auto;left:.6rem}}
.journey.journey-wide .specimen-frame{background:linear-gradient(100deg,#ece8dd,#c7c9c2 67%,#b9bcb4)}
.journey.journey-wide .stone-scene,.journey.journey-wide .film-poster img{object-fit:contain;object-position:right center;mask-image:linear-gradient(90deg,transparent,#000 47%)}
.cairn-story.is-active{--travel:clamp(620px,145svh,1500px)}
.cairn-story.is-active::after{content:"";display:block;block-size:var(--travel)}
.cairn-story.is-active>.hero{position:sticky;top:var(--pin,0px)}
.journey .specimen-caption{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:2.85rem;padding-block:.5rem}
.journey .cairn-caption{font:500 .82rem/1.4 var(--sans);letter-spacing:.01em}
.journey .cairn-progress{width:clamp(4rem,20vw,18rem);height:2px;background:#6c796d;overflow:hidden}
.cairn-progress i{display:block;width:100%;height:100%;background:#f4b68f;transform-origin:left;transform:scaleX(var(--assembled,0))}
@media (max-width:539px), (max-width:720px) and (max-aspect-ratio:3/2), (min-width:721px) and (max-width:1100px) and (max-aspect-ratio:1/1){
  .hero:has(.journey){min-block-size:0;grid-template-rows:auto auto}
  .journey{grid-template-rows:auto auto}
  .journey .specimen-frame{inline-size:100%;min-block-size:0;aspect-ratio:16/9}
}
@media (max-width:539px), (max-width:720px) and (max-aspect-ratio:3/2){
  .journey .specimen-frame{aspect-ratio:4/3}
  .journey .specimen-caption{padding-inline:.9rem}
  .cairn-story.is-active{--travel:clamp(540px,105svh,1000px)}
}


.journey .cairn-air{display:none;position:absolute;top:0;left:-14%;width:110%;height:14%;object-fit:fill;pointer-events:none;opacity:.64;mask-image:linear-gradient(#000 35%,transparent)}
@media(prefers-reduced-motion:no-preference){
  .cairn-story.is-active .journey .cairn-air{display:block;animation:cairn-cloud-drift 29s ease-in-out infinite alternate;animation-play-state:paused}
  .cairn-story.is-active .journey.is-visible .cairn-air{animation-play-state:running}
}
@keyframes cairn-cloud-drift{from{transform:translateX(-3%)}to{transform:translateX(12%)}}
.journey .balance-note{font:500 .79rem/1.4 var(--sans);color:inherit;text-underline-offset:.2em;white-space:nowrap}
.journey .specimen-caption{flex-wrap:wrap;gap:.35rem .9rem}
.journey .cairn-progress{flex:1;min-width:1rem;max-width:18rem}

@media(max-width:539px){
  .cairn-story.is-active .journey .specimen-caption{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 2px;gap:.45rem .6rem;align-content:center;min-height:3.15rem}
  .cairn-story.is-active .journey .cairn-caption{grid-area:1/1}
  .cairn-story.is-active .journey .cairn-caption{min-block-size:2.8em;display:flex;align-items:center}
  .cairn-story.is-active .journey .balance-note{grid-area:1/2}
  .cairn-story.is-active .journey .cairn-progress{grid-area:2/1/3/3;width:100%;max-width:none;min-width:0}
}
