:root {
  --ink: #183321;
  --green: #3f6540;
  --deep: #28462e;
  --leaf: #587b4e;
  --paper: #f1eddc;
  --paper-hi: #faf8ee;
  --gravel: #d9cfad;
  --red: #a83227;
  --line: rgba(24, 51, 33, .28);
  --display: 'Forum', serif;
  --body: 'Jost', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
button, input { font: inherit; }
a { color: inherit; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .17; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .75rem 1rem; background: var(--paper-hi); border: 1px solid var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.site-header { height: 92px; padding: 0 clamp(22px, 4vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(241,237,220,.93); position: relative; z-index: 10; }
.wordmark { justify-self: start; min-height: 44px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .18em; line-height: 1.35; text-decoration: none; font-weight: 600; }
.wordmark-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--ink); font-family: var(--display); font-size: 24px; position: relative; }
.wordmark-mark::after { content: ''; position: absolute; inset: 4px; border: 1px solid var(--line); }
.site-header nav { display: flex; gap: clamp(24px, 4vw, 60px); }
.site-header nav a, .header-enquire { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; text-decoration: none; border-bottom: 1px solid transparent; padding-block: 14px; }
.site-header nav a:hover, .header-enquire:hover { border-color: var(--red); }
.header-enquire { justify-self: end; }
.header-enquire span { color: var(--red); font-size: 15px; }

.hero { min-height: 760px; height: calc(100vh - 92px); max-height: 990px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr); align-items: center; position: relative; padding: 5vh clamp(22px, 6vw, 96px) 7vh; overflow: hidden; background: linear-gradient(90deg, rgba(250,248,238,.3), transparent 45%), repeating-linear-gradient(0deg, transparent 0 47px, rgba(24,51,33,.055) 48px), repeating-linear-gradient(90deg, transparent 0 47px, rgba(24,51,33,.055) 48px); }
.hero::before { content: ''; position: absolute; width: 44vw; height: 44vw; max-width: 670px; max-height: 670px; border: 1px solid var(--line); border-radius: 50%; right: 5.2vw; top: 50%; transform: translateY(-50%); }
.hero-copy { z-index: 2; align-self: center; max-width: 760px; }
.folio { text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 600; margin: 0 0 4vh; }
.folio span { color: var(--red); margin: 0 12px; }
.hero h1 { font-family: var(--display); font-size: clamp(64px, 7.2vw, 124px); font-weight: 400; line-height: .82; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero h1 em { color: var(--red); font-weight: 400; display: block; margin-left: 12%; }
.hero-intro { width: min(460px, 82%); font-size: 17px; line-height: 1.65; margin: 5vh 0 3vh 12%; }
.hero-jump { margin-left: 12%; width: 190px; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--ink); }
.hero-jump i { display: block; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; position: relative; transition: background .3s, transform .3s; }
.hero-jump i::before, .hero-jump i::after { content: ''; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.hero-jump i::before { width: 12px; height: 1px; }
.hero-jump i::after { width: 1px; height: 12px; }
.hero-jump:hover i { transform: rotate(90deg); background: var(--gravel); }
.hero-survey { justify-self: end; width: min(42vw, 650px); position: relative; z-index: 1; transform: rotate(2deg); }
.hero-survey svg { display: block; width: 100%; overflow: visible; }
.survey-ground { fill: rgba(63,101,64,.10); stroke: var(--line); stroke-dasharray: 2 6; }
.survey-hedge { fill: none; stroke: var(--green); stroke-width: 23; stroke-linecap: square; stroke-linejoin: bevel; }
.survey-thread { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 7; }
.survey-dot { fill: var(--red); }
.hero-note { position: absolute; right: 1%; bottom: 2%; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; line-height: 1.7; padding: 10px 12px; background: rgba(241,237,220,.83); border-left: 2px solid var(--red); }
.hero-note span { color: var(--red); }
.margin-script { position: absolute; right: clamp(20px, 3vw, 50px); top: 25%; width: 190px; font-family: var(--display); font-size: 18px; line-height: 1.25; transform: rotate(5deg); z-index: 3; }
.hero-coordinates { position: absolute; right: clamp(22px, 4vw, 72px); bottom: 4vh; text-align: right; font-size: 9px; letter-spacing: .2em; line-height: 1.7; }
.load-reveal { animation: arrive .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-survey.load-reveal { animation-delay: .22s; }
.margin-script.load-reveal { animation-delay: .48s; }
@keyframes arrive { from { opacity: 0; transform: translateY(22px); } }
.hero-survey.load-reveal { --base-rotate: 2deg; }

.section-heading { display: grid; grid-template-columns: .7fr 1.1fr 1fr; gap: 5vw; align-items: end; margin-bottom: 56px; }
.section-heading > div { display: flex; align-items: center; gap: 18px; }
.section-heading p, .book-heading p { margin: 0; }
.section-heading > div p, .book-heading > div p { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.section-number { font-family: var(--display); font-size: 58px; line-height: 1; color: var(--red); }
.section-heading h2, .book-heading h2, .botany h2 { font-family: var(--display); font-weight: 400; font-size: clamp(58px, 7vw, 104px); line-height: .9; letter-spacing: -.04em; margin: 0; }
.section-heading > p, .book-heading > p { font-size: 16px; line-height: 1.6; max-width: 420px; }

.studio-section { background: var(--deep); color: var(--paper); padding: 110px clamp(22px, 4vw, 72px) 100px; position: relative; }
.studio-section::before { content: ''; position: absolute; inset: 0; opacity: .15; background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.08) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.08) 40px); }
.studio-section > * { position: relative; }
.studio-section .section-number { color: #d95647; }
.maze-console { display: grid; grid-template-columns: 250px minmax(480px, 1fr) 260px; min-height: 690px; border: 1px solid rgba(241,237,220,.3); background: rgba(13,34,21,.28); }
.maze-controls { padding: 28px 24px; border-right: 1px solid rgba(241,237,220,.25); display: flex; flex-direction: column; gap: 30px; }
.maze-controls label, .maze-controls legend { color: rgba(241,237,220,.72); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.seed-field input { display: block; width: 100%; min-height: 48px; margin-top: 9px; padding: 9px 11px; border: 1px solid rgba(241,237,220,.3); border-radius: 0; background: transparent; color: var(--paper); letter-spacing: .12em; text-transform: uppercase; }
.maze-controls fieldset { padding: 0; margin: 0; border: 0; }
.maze-controls legend { margin-bottom: 10px; }
.segmented { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(241,237,220,.25); }
.segmented label { position: relative; min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(241,237,220,.25); cursor: pointer; }
.segmented input, .style-options input { position: absolute; opacity: 0; }
.segmented label:has(input:checked) { color: #fff; }
.segmented label:has(input:checked)::after { content: '●'; color: #d95647; font-size: 10px; }
.style-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.style-options label { min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(241,237,220,.22); cursor: pointer; }
.style-options label:has(input:checked) { background: var(--paper); color: var(--deep); }
.style-glyph { width: 21px; height: 21px; display: block; border: 2px solid currentColor; }
.circle-glyph { border-radius: 50%; }
.hampton-glyph { transform: rotate(45deg) scale(.8); outline: 1px solid currentColor; outline-offset: 3px; }
.grow-button { margin-top: auto; min-height: 58px; border: 1px solid var(--paper); background: var(--paper); color: var(--deep); cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; letter-spacing: .15em; font-size: 10px; font-weight: 600; }
.grow-button i { width: 13px; height: 13px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(-45deg); transition: transform .25s; }
.grow-button:hover i { transform: rotate(-45deg) translate(4px,4px); }
.plan-board { min-width: 0; position: relative; background-color: var(--paper-hi); color: var(--ink); background-image: linear-gradient(rgba(24,51,33,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(24,51,33,.055) 1px, transparent 1px); background-size: 24px 24px; display: grid; place-items: center; padding: 70px 42px 60px; overflow: hidden; }
.plan-board::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(24,51,33,.22); pointer-events: none; }
#maze-canvas { display: block; width: 100%; height: 100%; max-height: 560px; min-height: 450px; touch-action: none; }
.drawing-meta { position: absolute; z-index: 2; font-size: 8px; letter-spacing: .14em; line-height: 1.6; }
.drawing-meta b { font-size: 11px; }
.top-left { left: 27px; top: 25px; }
.top-right { right: 30px; top: 25px; font-size: 11px; }
.north-arrow { display: block; font-family: var(--display); font-size: 26px; }
.canvas-status { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; }
.scale-rule { position: absolute; right: 28px; bottom: 22px; display: flex; height: 4px; }
.scale-rule span { width: 18px; border-top: 4px solid var(--ink); }
.scale-rule span:nth-child(2) { border-color: var(--red); }
.scale-rule b { position: absolute; width: 100px; right: 0; top: 8px; font-size: 7px; font-weight: 400; letter-spacing: .1em; }
.walker-panel { padding: 0 24px 26px; border-left: 1px solid rgba(241,237,220,.25); display: flex; flex-direction: column; }
.mode-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 -24px; }
.mode-tabs button { min-height: 51px; border: 0; border-bottom: 1px solid rgba(241,237,220,.25); border-right: 1px solid rgba(241,237,220,.25); color: rgba(241,237,220,.65); background: transparent; text-transform: uppercase; letter-spacing: .14em; font-size: 8px; cursor: pointer; }
.mode-tabs button.active { background: var(--paper); color: var(--deep); }
.walker-copy { padding-top: 36px; }
.walker-kicker { font-size: 8px; color: #e56a5e; letter-spacing: .14em; }
.walker-copy h3 { font-family: var(--display); font-size: 31px; line-height: 1.08; font-weight: 400; margin: 28px 0; }
.walker-copy > p:last-child { color: rgba(241,237,220,.76); font-size: 14px; line-height: 1.68; }
.walk-controls { margin-top: auto; display: grid; grid-template-columns: repeat(3,44px); grid-template-rows: repeat(2,44px); justify-content: center; gap: 4px; }
.walk-controls button { color: var(--paper); background: transparent; border: 1px solid rgba(241,237,220,.35); cursor: pointer; }
.walk-controls button:hover { background: var(--green); }
.walk-controls [data-move="up"] { grid-column: 2; }
.walk-controls [data-move="left"] { grid-column: 1; grid-row: 2; }
.walk-controls [data-move="down"] { grid-column: 2; grid-row: 2; }
.walk-controls [data-move="right"] { grid-column: 3; grid-row: 2; }
.keyboard-hint { margin: 18px 0 0; text-align: center; font-size: 9px; letter-spacing: .08em; color: rgba(241,237,220,.56); }
.keyboard-hint b { display: block; color: var(--paper); margin-top: 5px; }

.atelier { padding: 145px clamp(22px, 7vw, 110px); display: grid; grid-template-columns: 1.2fr .9fr; gap: 10vw; position: relative; background: var(--paper); }
.atelier-statement { position: relative; }
.atelier-statement .section-number { position: absolute; left: -5vw; top: 0; }
.vertical-label { position: absolute; left: -3.4vw; top: 130px; writing-mode: vertical-rl; font-size: 9px; text-transform: uppercase; letter-spacing: .19em; }
.atelier h2 { margin: 0 0 40px; font-family: var(--display); font-size: clamp(58px, 7vw, 105px); line-height: .9; letter-spacing: -.04em; font-weight: 400; }
.atelier h2 em { color: var(--red); font-weight: 400; }
.atelier-statement > p:last-child { width: 70%; margin-left: 18%; font-size: 18px; line-height: 1.75; }
.process-ledger { list-style: none; padding: 0; margin: 5vw 0 0; align-self: start; border-top: 1px solid var(--line); }
.process-ledger li { display: grid; grid-template-columns: 38px 1fr auto; gap: 15px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process-ledger li { transition: padding-left .3s, background .3s; }
.process-ledger li:hover { padding-left: 12px; background: rgba(63,101,64,.06); }
.process-ledger li > b { color: var(--red); font-size: 10px; }
.process-ledger h3 { margin: 0 0 8px; font-family: var(--display); font-size: 25px; font-weight: 400; }
.process-ledger p { margin: 0; font-size: 13px; line-height: 1.55; }
.process-ledger li > span { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.atelier blockquote { grid-column: 1/-1; margin: 70px 7vw 0 auto; font-family: var(--display); font-size: clamp(36px, 5vw, 68px); line-height: 1; text-align: right; font-weight: 400; position: relative; }
.atelier blockquote::before { content: ''; width: 130px; height: 2px; background: var(--red); position: absolute; left: -160px; top: .5em; }
.atelier cite { display: block; font-family: var(--body); font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; margin-top: 22px; }

.client-book { background: var(--green); color: var(--paper); padding: 120px clamp(22px, 5vw, 82px) 140px; }
.book-heading { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 5vw; align-items: end; margin-bottom: 80px; }
.book-heading > div { display: flex; align-items: center; gap: 18px; }
.book-heading .section-number { color: #f07669; }
.estate-list { border-top: 1px solid rgba(241,237,220,.3); }
.estate { min-height: 430px; display: grid; grid-template-columns: 1.1fr .9fr; border-bottom: 1px solid rgba(241,237,220,.3); padding: 48px 0; gap: 7vw; }
.estate:nth-child(even) .estate-plan { order: 2; }
.estate-plan { display: grid; place-items: center; background: rgba(12,40,22,.16); overflow: hidden; position: relative; }
.estate-plan::before { content: ''; position: absolute; inset: 15px; border: 1px dashed rgba(241,237,220,.24); }
.estate-plan svg { width: 80%; height: 80%; fill: none; stroke: #acc59d; stroke-width: 13; stroke-linecap: square; stroke-linejoin: bevel; }
.estate-plan svg { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.estate:hover .estate-plan svg { transform: scale(1.045) rotate(-1deg); }
.estate-plan svg .red { stroke: #ed6a5e; stroke-width: 3; stroke-dasharray: 5 7; }
.estate-copy { align-self: center; padding: 0 4vw; }
.estate-copy > p:first-child { color: rgba(241,237,220,.66); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.estate-copy h3 { font-family: var(--display); font-size: clamp(46px, 5vw, 74px); font-weight: 400; margin: 10px 0 27px; line-height: 1; }
.estate-copy dl { border-top: 1px solid rgba(241,237,220,.28); margin: 0; }
.estate-copy dl div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(241,237,220,.28); padding: 9px 0; font-size: 11px; }
.estate-copy dt { color: rgba(241,237,220,.6); text-transform: uppercase; letter-spacing: .1em; }
.estate-copy dd { margin: 0; }
.estate-note { font-size: 14px; line-height: 1.65; margin-top: 24px; max-width: 420px; }

.philosophy { min-height: 850px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--paper-hi); }
.philosophy-figure { background: var(--gravel); display: grid; place-items: center; position: relative; overflow: hidden; }
.philosophy-figure::before, .philosophy-figure::after { content: ''; position: absolute; width: 68%; aspect-ratio: 1; border: 40px solid var(--green); }
.philosophy-figure::after { width: 39%; border-width: 28px; transform: rotate(45deg); }
.philosophy-figure span { z-index: 2; font-family: var(--display); font-size: 200px; color: var(--red); }
.philosophy-figure i { position: absolute; width: 1px; height: 80%; background: var(--red); z-index: 1; transform: rotate(33deg); }
.philosophy-figure b { position: absolute; z-index: 3; bottom: 35px; right: 35px; text-align: right; font-size: 9px; letter-spacing: .19em; }
.philosophy-copy { padding: 120px 10vw 100px 8vw; }
.philosophy-copy h2 { font-family: var(--display); font-size: clamp(70px, 8vw, 118px); font-weight: 400; line-height: .82; letter-spacing: -.05em; margin: 20px 0 60px; }
.philosophy-copy > p { max-width: 590px; font-size: 16px; line-height: 1.78; }
.dropcap::first-letter { float: left; font-family: var(--display); font-size: 84px; color: var(--red); line-height: .7; margin: 11px 10px 0 0; }
.signed { margin-top: 45px; font-family: var(--display); font-size: 20px !important; }
.signed span { font-family: var(--body); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }

.botany { background: #e5dfc8; padding: 120px clamp(22px, 5vw, 82px) 90px; }
.botany-heading { display: grid; grid-template-columns: .25fr 1fr .8fr; align-items: end; margin-bottom: 70px; }
.botany-heading > p { max-width: 300px; font-size: 17px; }
.species-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.species-grid article { min-width: 0; min-height: 500px; padding: 35px 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.species-grid article > p { margin: 15px 0 0; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; color: #4f624d; }
.species-grid h3 { font-family: var(--display); font-size: clamp(29px, 2.8vw, 42px); font-weight: 400; margin: 7px 0 0; font-style: italic; overflow-wrap: anywhere; }
.species-grid article > b { font-size: 12px; font-weight: 500; }
.species-grid dl { margin: auto 0 0; }
.species-grid dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.species-grid dt { text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }
.species-grid dd { margin: 3px 0 0; font-size: 12px; }
.leaf { display: block; width: 110px; height: 150px; margin: 10px auto 25px; background: var(--green); border-radius: 100% 0 100% 0; transform: rotate(-32deg); position: relative; box-shadow: inset 14px -10px rgba(23,56,31,.2); }
.leaf::before { content: ''; position: absolute; width: 1px; height: 125%; background: var(--ink); transform: rotate(32deg); left: 65%; top: 23%; transform-origin: top; }
.species-grid article { transition: background .35s; }
.species-grid article:hover { background: rgba(250,248,238,.36); }
.species-grid article:hover .leaf { transform: rotate(-24deg) translateY(-8px); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.leaf-beech { border-radius: 100% 15% 100% 15%; background: #6f7842; transform: rotate(-12deg) scale(.92); }
.leaf-hornbeam { clip-path: polygon(50% 0,62% 8%,75% 4%,79% 17%,91% 20%,86% 33%,100% 42%,89% 52%,94% 67%,78% 72%,72% 88%,58% 85%,44% 100%,36% 83%,20% 81%,21% 65%,6% 59%,14% 44%,0 32%,16% 25%,15% 10%,33% 12%); border-radius: 45%; background: #527143; transform: rotate(5deg) scale(.9); }
.leaf-holly { width: 93px; clip-path: polygon(50% 0,63% 18%,88% 9%,82% 35%,100% 50%,78% 64%,87% 91%,62% 82%,50% 100%,37% 81%,12% 91%,20% 65%,0 50%,21% 35%,12% 9%,38% 18%); border-radius: 50%; background: #315b38; transform: rotate(0) scale(.9); }
.botany-footnote { text-align: right; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; margin: 25px 0 0; }

.commission { min-height: 720px; color: var(--paper); background: var(--deep); display: grid; grid-template-columns: 1.15fr .85fr; position: relative; overflow: hidden; }
.commission-rings { position: relative; min-height: 720px; }
.commission-rings i { position: absolute; border: 28px solid var(--green); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.commission-rings i:nth-child(1) { width: 560px; height: 560px; }
.commission-rings i:nth-child(2) { width: 420px; height: 420px; }
.commission-rings i:nth-child(3) { width: 280px; height: 280px; }
.commission-rings i:nth-child(4) { width: 140px; height: 140px; }
.commission-rings::after { content: ''; position: absolute; width: 3px; height: 50%; background: var(--red); left: 50%; bottom: 0; }
.commission-rings span { position: absolute; width: 14px; height: 14px; background: var(--red); border-radius: 50%; left: calc(50% - 5px); top: calc(50% - 5px); }
.commission-copy { align-self: center; padding: 80px clamp(30px, 7vw, 100px) 150px 20px; z-index: 2; }
.commission-copy > p:first-child { color: #d5a39a; text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.commission-copy h2 { font-family: var(--display); font-size: clamp(62px, 7vw, 106px); line-height: .86; letter-spacing: -.04em; font-weight: 400; margin: 25px 0 35px; }
.commission-copy > p { max-width: 480px; color: rgba(241,237,220,.75); }
.commission-copy a { display: flex; justify-content: space-between; text-decoration: none; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; margin-top: 45px; padding: 17px 0; border-top: 1px solid var(--paper); border-bottom: 1px solid var(--paper); }
.commission-copy a span { color: #f07669; font-size: 17px; }
.commission-details { position: absolute; bottom: 36px; right: clamp(30px, 7vw, 100px); display: flex; gap: 55px; font-size: 9px; line-height: 1.7; letter-spacing: .1em; color: rgba(241,237,220,.62); }

.site-footer { min-height: 90px; padding: 20px clamp(22px, 4vw, 72px); display: flex; justify-content: space-between; align-items: center; background: #162f20; color: rgba(241,237,220,.7); border-top: 1px solid rgba(241,237,220,.17); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.site-footer nav { display: flex; gap: 35px; }
.site-footer a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1.05fr .95fr; }
  .hero h1 { font-size: clamp(60px, 7.8vw, 90px); }
  .margin-script { display: none; }
  .maze-console { grid-template-columns: 210px minmax(400px,1fr); }
  .walker-panel { grid-column: 1/-1; min-height: 280px; border-left: 0; border-top: 1px solid rgba(241,237,220,.25); display: grid; grid-template-columns: 180px 1fr 180px; gap: 30px; align-items: center; padding: 0 25px; }
  .mode-tabs { margin: 0; }
  .walker-copy { padding: 18px 0; }
  .walker-copy h3 { margin: 12px 0; }
  .walk-controls { margin: 0; }
  .keyboard-hint { display: none; }
  .species-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .hero { height: 820px; min-height: 820px; }
}

@media (max-width: 760px) {
  .site-header { height: 76px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-enquire { font-size: 9px; }
  .hero { height: auto; min-height: 760px; max-height: none; grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 55px; align-content: start; }
  .hero::before { width: 400px; height: 400px; right: -160px; top: auto; bottom: 20px; transform: none; }
  .hero h1 { font-size: clamp(58px, 17vw, 76px); line-height: .86; }
  .hero h1 br { display: none; }
  .hero h1 em { margin-left: 6%; }
  .folio { margin-bottom: 28px; }
  .hero-intro { margin: 30px 0 18px 6%; width: 88%; font-size: 15px; }
  .hero-jump { margin-left: 6%; }
  .hero-survey { width: 65vw; justify-self: end; margin-top: -70px; margin-right: -5vw; }
  .hero-note, .hero-coordinates { display: none; }
  .section-heading, .book-heading, .botany-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .section-heading h2, .book-heading h2, .botany h2 { font-size: 62px; }
  .section-heading > p, .book-heading > p { font-size: 14px; }
  .studio-section { padding-top: 75px; padding-bottom: 70px; }
  .maze-console { grid-template-columns: 1fr; }
  .maze-controls { border-right: 0; border-bottom: 1px solid rgba(241,237,220,.25); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .seed-field { grid-column: 1/-1; }
  .grow-button { grid-column: 1/-1; }
  .plan-board { height: 460px; padding: 58px 20px 55px; }
  #maze-canvas { min-height: 340px; }
  .scale-rule { display: none; }
  .canvas-status { bottom: 18px; width: 80%; text-align: center; white-space: normal; }
  .walker-panel { grid-column: auto; min-height: 450px; display: flex; padding: 0 22px 24px; }
  .mode-tabs { margin: 0 -22px; width: calc(100% + 44px); }
  .walker-copy { padding-top: 25px; }
  .walker-copy h3 { font-size: 32px; }
  .walk-controls { margin-top: auto; }
  .keyboard-hint { display: block; }
  .atelier { padding-top: 95px; padding-bottom: 95px; grid-template-columns: 1fr; }
  .atelier-statement .section-number { position: static; }
  .vertical-label { display: none; }
  .atelier h2 { font-size: 60px; margin-top: 22px; }
  .atelier-statement > p:last-child { width: 94%; margin-left: 6%; font-size: 16px; }
  .process-ledger { margin-top: 25px; }
  .atelier blockquote { margin: 55px 0 0; font-size: 39px; }
  .atelier blockquote::before { display: none; }
  .client-book { padding-top: 85px; padding-bottom: 55px; }
  .estate { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 32px 0; }
  .estate:nth-child(even) .estate-plan { order: 0; }
  .estate-plan { min-height: 245px; }
  .estate-copy { padding: 0 5px; }
  .philosophy { grid-template-columns: 1fr; }
  .philosophy-figure { min-height: 430px; }
  .philosophy-copy { padding: 80px 22px; }
  .philosophy-copy h2 { font-size: 67px; margin-bottom: 45px; max-width: 340px; }
  .species-grid { grid-template-columns: 1fr; }
  .species-grid article { min-height: 430px; }
  .commission { grid-template-columns: 1fr; min-height: 830px; }
  .commission-rings { position: absolute; inset: auto 0 -40px; min-height: 470px; opacity: .8; }
  .commission-rings i { border-width: 20px; }
  .commission-rings i:nth-child(1) { width: 440px; height: 440px; }
  .commission-rings i:nth-child(2) { width: 330px; height: 330px; }
  .commission-rings i:nth-child(3) { width: 220px; height: 220px; }
  .commission-rings i:nth-child(4) { width: 110px; height: 110px; }
  .commission-copy { align-self: start; padding: 90px 22px 260px; }
  .commission-copy h2 { font-size: 70px; }
  .commission-details { left: 22px; right: auto; bottom: 25px; flex-direction: column; gap: 8px; z-index: 2; }
  .site-footer { padding-block: 30px; flex-direction: column; align-items: flex-start; gap: 15px; }
  .site-footer p { margin: 0; }
  .site-footer nav { width: 100%; flex-wrap: wrap; gap: 3px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Pass 2 — the plan-room becomes a lived instrument, not a dashboard. */
.studio-section, .commission-rings { overflow: hidden; }
.page-thread { position: fixed; z-index: 9; right: 18px; top: 92px; bottom: 0; width: 12px; pointer-events: none; opacity: .78; }
.page-thread::before { content: ''; position: absolute; left: 5px; inset-block: 0; width: 1px; background: rgba(168,50,39,.18); }
.page-thread span { position: absolute; left: 5px; top: 0; width: 1px; height: var(--thread-progress, 0%); background: var(--red); }
.page-thread i { position: absolute; left: 2px; top: var(--thread-progress, 0%); width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translateY(-3px); box-shadow: 0 0 0 4px rgba(241,237,220,.65); }
.site-header { position: relative; top: auto; }
.hero { background: radial-gradient(circle at 72% 47%, rgba(63,101,64,.10), transparent 25%), linear-gradient(110deg, rgba(250,248,238,.5), transparent 55%), repeating-linear-gradient(0deg, transparent 0 47px, rgba(24,51,33,.055) 48px), repeating-linear-gradient(90deg, transparent 0 47px, rgba(24,51,33,.055) 48px); }
.hero h1 { text-wrap: pretty; }
.hero h1 em { text-shadow: 1px 1px 0 rgba(168,50,39,.08); }
.hero-survey { filter: drop-shadow(0 20px 25px rgba(24,51,33,.08)); }
.hero-survey .survey-thread { animation: thread-drift 8s linear infinite; }
@keyframes thread-drift { to { stroke-dashoffset: -91; } }

.studio-section { isolation: isolate; padding-top: 92px; background: radial-gradient(circle at 65% 28%, #365c3c 0, var(--deep) 42%, #1f3b28 100%); }
.studio-section::after { content: 'THE MAZE COMMISSION / SURVEY OFFICE'; position: absolute; right: -170px; top: 50%; transform: rotate(90deg); color: rgba(241,237,220,.13); font-size: 9px; letter-spacing: .45em; }
.studio-section .section-heading { grid-template-columns: .5fr 1.25fr .8fr; margin-bottom: 38px; align-items: center; }
.studio-section .section-heading h2 { font-size: clamp(80px,8.6vw,132px); margin-left: -4vw; }
.studio-section .section-heading > p { border-left: 1px solid #e56a5e; padding: 6px 0 6px 24px; color: rgba(241,237,220,.82); }
.studio-instruction { height: 42px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(241,237,220,.3); border-bottom: 0; color: rgba(241,237,220,.62); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.studio-instruction span { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid rgba(241,237,220,.22); }
.studio-instruction span:last-child { border-right: 0; color: #f09a90; }
.maze-console { grid-template-columns: 230px minmax(0,1fr) 290px; min-height: 760px; box-shadow: 0 28px 80px rgba(7,20,12,.24); }
.maze-controls { gap: 25px; background: rgba(12,32,19,.22); }
.controls-folio { margin: 0 0 7px; color: rgba(241,237,220,.5); font-size: 8px; line-height: 1.65; letter-spacing: .16em; text-transform: uppercase; }
.controls-folio b { color: #f09a90; font-weight: 500; }
.grow-button { position: relative; overflow: hidden; transition: color .3s, border-color .3s; }
.grow-button::before { content: ''; position: absolute; inset: 0; background: var(--red); transform: translateX(-102%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.grow-button > * { position: relative; z-index: 1; }
.grow-button:hover { color: var(--paper-hi); border-color: var(--red); }
.grow-button:hover::before { transform: none; }
.plan-board { min-height: 760px; padding: 65px 40px 85px; box-shadow: inset 0 0 80px rgba(91,76,35,.07); }
#maze-canvas { max-height: none; min-height: 600px; }
.canvas-status { top: 24px; bottom: auto; color: #5c6a59; }
.route-ledger { position: absolute; z-index: 2; bottom: 22px; left: 28px; right: 140px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--line); }
.route-ledger span { min-width: 0; padding: 9px 10px 0 0; color: #687466; font-size: 7px; line-height: 1.35; letter-spacing: .11em; text-transform: uppercase; }
.route-ledger b { display: block; overflow: hidden; color: var(--ink); font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.walker-panel { background: linear-gradient(180deg,rgba(16,42,24,.25),transparent 50%); }
.walker-copy h3 { font-size: 34px; }
.comparison-key { margin: 26px 0 0; border-top: 1px solid rgba(241,237,220,.25); padding-top: 13px; display: grid; gap: 8px; color: rgba(241,237,220,.7); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.comparison-key span::before { content: ''; display: inline-block; width: 28px; height: 3px; margin-right: 9px; vertical-align: middle; background: #7c9a72; }
.comparison-key span:last-child::before { height: 1px; background: repeating-linear-gradient(90deg,#e65b50 0 5px,transparent 5px 8px); }
.mode-tabs { grid-template-columns: repeat(4,1fr); }

.atelier { background: linear-gradient(115deg,rgba(217,207,173,.22),transparent 36%), var(--paper); }
.atelier::after { content: ''; position: absolute; left: 49%; top: 8%; bottom: 12%; width: 1px; background: linear-gradient(transparent,var(--red),transparent); opacity: .24; transform: rotate(8deg); }
.process-ledger li { position: relative; }
.process-ledger li::before { content: ''; position: absolute; left: -7px; top: 31px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .25s; }
.process-ledger li:hover::before { transform: scale(1); }
.client-book { background: radial-gradient(circle at 12% 20%,#4f754d 0,transparent 24%), radial-gradient(circle at 80% 70%,#315737 0,transparent 30%), var(--green); }
.estate { position: relative; }
.estate::after { position: absolute; top: 33px; right: 0; color: rgba(241,237,220,.16); font-family: var(--display); font-size: 96px; line-height: 1; }
.estate-one::after { content: 'A–17'; }
.estate-two::after { content: 'B–04'; right: auto; left: 0; }
.estate-three::after { content: 'C–31'; }
.estate-plan { box-shadow: inset 0 0 60px rgba(6,31,16,.17), 0 18px 35px rgba(19,44,25,.13); }
.estate-plan::after { content: 'FIELD VERIFIED'; position: absolute; right: 24px; bottom: 22px; color: rgba(241,237,220,.34); border: 1px solid currentColor; padding: 5px 7px; font-size: 7px; letter-spacing: .15em; transform: rotate(-3deg); }
.philosophy-figure { background: linear-gradient(135deg,#d4c89e,#e8e1ca 48%,#cabe91); }
.philosophy-figure::before, .philosophy-figure::after { box-shadow: 13px 16px 0 rgba(24,51,33,.07); }
.botany { background: linear-gradient(100deg,rgba(250,248,238,.3),transparent 28%), repeating-linear-gradient(90deg,transparent 0 47px,rgba(24,51,33,.035) 48px), #e5dfc8; }
.species-grid article:nth-child(2), .species-grid article:nth-child(4) { padding-top: 72px; }
.species-grid article:nth-child(2) .leaf, .species-grid article:nth-child(4) .leaf { margin-bottom: 5px; }
.climate-rail { min-height: 58px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); color: #4a5c49; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.climate-rail i { height: 1px; background: linear-gradient(90deg,var(--green),var(--red)); }
.climate-rail i:nth-of-type(2) { transform: scaleX(-1); }
.climate-rail b { font-weight: 500; }
.commission { background: radial-gradient(circle at 20% 50%,rgba(88,123,78,.28),transparent 38%), linear-gradient(90deg,#203d29,var(--deep)); }
.commission-rings i { transition: border-color .5s, transform 1s cubic-bezier(.2,.8,.2,1); }
.commission:hover .commission-rings i:nth-child(odd) { border-color: #52794f; transform: translate(-50%,-50%) rotate(12deg) scale(1.02); }
.site-footer { font-size: 10px; color: rgba(241,237,220,.82); }

.reveal-ready .reveal-section { opacity: 1; transform: none; }
.reveal-ready .reveal-section.is-visible { animation: section-arrive .8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes section-arrive { from { opacity: .01; transform: translateY(34px); } }

@media (max-width: 1100px) {
  .page-thread { right: 8px; }
  .studio-section .section-heading h2 { margin-left: 0; }
  .maze-console { grid-template-columns: 205px minmax(0,1fr); min-height: 700px; }
  .plan-board { min-height: 700px; }
  #maze-canvas { min-height: 540px; }
  .walker-panel { background: rgba(10,30,17,.16); }
  .comparison-key { margin: 0; }
  .estate::after { font-size: 68px; }
}

@media (max-width: 760px) {
  .page-thread { display: none; }
  .hero-survey .survey-thread { animation-duration: 12s; }
  .studio-section { padding-inline: 16px; }
  .studio-section::after { display: none; }
  .studio-section .section-heading { grid-template-columns: 1fr; }
  .studio-section .section-heading h2 { font-size: 72px; }
  .studio-section .section-heading > p { margin-left: 18px; }
  .studio-instruction { height: auto; grid-template-columns: 1fr; }
  .studio-instruction span { min-height: 36px; border-right: 0; border-bottom: 1px solid rgba(241,237,220,.18); }
  .maze-console { grid-template-columns: 1fr; min-height: 0; }
  .maze-controls { padding: 24px 18px; grid-template-columns: 1fr; }
  .controls-folio, .seed-field, .grow-button { grid-column: 1/-1; }
  .maze-controls fieldset { grid-column: 1/-1; }
  .segmented { grid-template-columns: repeat(3,1fr); }
  .segmented label { padding: 0 5px; justify-content: center; }
  .segmented label:has(input:checked)::after { margin-left: 5px; }
  .plan-board { height: 535px; min-height: 535px; padding: 58px 15px 106px; }
  #maze-canvas { min-height: 355px; }
  .canvas-status { top: 31px; }
  .route-ledger { left: 18px; right: 18px; bottom: 21px; grid-template-columns: 1.3fr .8fr .8fr; }
  .scale-rule { display: none; }
  .walker-panel { min-height: 500px; }
  .comparison-key { margin-top: 22px; }
  .atelier::after { display: none; }
  .estate::after { top: 22px; font-size: 48px; }
  .species-grid article:nth-child(2), .species-grid article:nth-child(4) { padding-top: 35px; }
  .species-grid article:nth-child(2) .leaf, .species-grid article:nth-child(4) .leaf { margin-bottom: 25px; }
  .climate-rail { grid-template-columns: auto 1fr auto; padding-block: 16px; }
  .climate-rail i:nth-of-type(2), .climate-rail span:last-child { display: none; }
  .site-footer { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-survey .survey-thread { animation: none; }
  .reveal-ready .reveal-section { opacity: 1; transform: none; }
}

/* Pass 3 — optical polish and the movable truth glass. */
html { scrollbar-color: var(--red) #d8d0b5; scrollbar-width: thin; }
body { font-optical-sizing: auto; font-kerning: normal; text-rendering: optimizeLegibility; }
::selection { color: var(--paper-hi); background: var(--red); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #d8d0b5; }
::-webkit-scrollbar-thumb { background: var(--red); border: 3px solid #d8d0b5; }

.folio, .drawing-meta, .route-ledger, .canvas-status, .estate-copy dl, .climate-rail, .commission-details { font-variant-numeric: tabular-nums lining-nums; }
p { text-wrap: pretty; }
.hero h1, .section-heading h2, .book-heading h2, .atelier h2, .philosophy-copy h2, .commission-copy h2 { font-kerning: normal; }
.site-header > * { animation: header-arrive .7s cubic-bezier(.22,.72,.18,1) both; }
.site-header nav { animation-delay: .09s; }
.site-header .header-enquire { animation-delay: .18s; }
@keyframes header-arrive { from { opacity: 0; transform: translateY(-9px); } }

.site-header nav a, .header-enquire, .site-footer a { position: relative; transition: color .25s cubic-bezier(.2,.7,.2,1); }
.site-header nav a::after, .header-enquire::after, .site-footer a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 9px; height: 1px; background: var(--red); transition: right .36s cubic-bezier(.2,.75,.2,1); }
.site-header nav a:hover, .header-enquire:hover { border-color: transparent; }
.site-header nav a:hover::after, .header-enquire:hover::after, .site-footer a:hover::after { right: 0; }
.site-footer a::after { bottom: 7px; background: #f07669; }

.segmented label, .style-options label, .mode-tabs button, .walk-controls button { transition: color .25s, background-color .25s, border-color .25s, transform .25s cubic-bezier(.2,.75,.2,1); }
.segmented label:hover, .style-options label:hover { color: var(--paper-hi); background: rgba(241,237,220,.08); }
.style-options label:has(input:checked):hover { color: var(--deep); background: var(--paper-hi); }
.segmented label:has(input:focus-visible), .style-options label:has(input:focus-visible) { outline: 3px solid #f07669; outline-offset: 3px; }
.seed-field input:hover, .seed-field input:focus { border-color: rgba(241,237,220,.75); background: rgba(241,237,220,.055); }
.mode-tabs button:hover { color: var(--paper-hi); background: rgba(241,237,220,.08); }
.mode-tabs button.active:hover { color: var(--deep); background: var(--paper-hi); }
.walk-controls button:hover { border-color: var(--paper); transform: translateY(-2px); }

.truth-glass { width: 100%; min-height: 68px; margin: 20px 0 0; padding: 10px 0; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; color: rgba(241,237,220,.76); background: transparent; border: 0; border-top: 1px solid rgba(241,237,220,.28); border-bottom: 1px solid rgba(241,237,220,.28); text-align: left; cursor: pointer; transition: color .3s, background-color .3s, padding .3s; }
.truth-glass > i { width: 32px; height: 32px; margin-left: 5px; border: 1px solid currentColor; border-radius: 50%; position: relative; transition: transform .55s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.truth-glass > i::before, .truth-glass > i::after { content: ''; position: absolute; background: currentColor; }
.truth-glass > i::before { width: 12px; height: 1px; right: -8px; bottom: -4px; transform: rotate(48deg); }
.truth-glass > i::after { width: 4px; height: 4px; border-radius: 50%; left: 13px; top: 13px; }
.truth-glass span { min-width: 0; }
.truth-glass b, .truth-glass small { display: block; }
.truth-glass b { color: var(--paper); font-size: 8px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.truth-glass small { margin-top: 4px; color: rgba(241,237,220,.56); font-size: 9px; line-height: 1.35; }
.truth-glass:hover { color: #f07669; background: rgba(241,237,220,.055); padding-inline: 5px; }
.truth-glass:hover > i { transform: rotate(-13deg) scale(1.06); }
.truth-glass[aria-pressed="true"] { color: #f07669; background: rgba(168,50,39,.16); }
.truth-glass[aria-pressed="true"] > i { border-color: #f07669; transform: rotate(-18deg) scale(1.08); }

.plan-board::before { content: 'TRACING LAYER / TRUTH EXPOSED'; position: absolute; z-index: 3; right: 22px; top: 53px; padding: 6px 9px; color: var(--red); background: rgba(250,248,238,.9); border-left: 1px solid var(--red); font-size: 7px; letter-spacing: .16em; transform: translateY(-8px) rotate(1deg); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s cubic-bezier(.2,.75,.2,1); }
.plan-board.is-inspecting::before { opacity: 1; transform: rotate(1deg); }
.plan-board.is-inspecting { box-shadow: inset 0 0 100px rgba(168,50,39,.08); }
.plan-board.is-inspecting #maze-canvas { cursor: crosshair; }

.grow-button:active, .truth-glass:active, .walk-controls button:active { transform: translateY(1px); }
.commission-copy a { transition: color .3s, padding-inline .3s, background-color .3s; }
.commission-copy a:hover { color: var(--paper-hi); padding-inline: 12px; background: rgba(241,237,220,.06); }

@media (max-width: 1100px) and (min-width: 761px) {
  .walker-panel { min-height: 330px; grid-template-rows: 1fr auto; }
  .mode-tabs { grid-column: 1; grid-row: 1; }
  .walker-copy { grid-column: 2; grid-row: 1 / 3; }
  .walk-controls { grid-column: 3; grid-row: 1; }
  .comparison-key { grid-column: 1; grid-row: 2; padding-bottom: 18px; }
  .truth-glass { grid-column: 3; grid-row: 2; margin-top: 0; }
}

@media (max-width: 760px) {
  .truth-glass { margin-top: 18px; }
  .plan-board .top-left { left: 18px; top: 18px; }
  .plan-board .top-right { right: 18px; top: 18px; }
  .plan-board .canvas-status { top: 48px; width: calc(100% - 36px); font-size: 7px; }
  .plan-board::before { top: 66px; right: 18px; max-width: 180px; font-size: 6px; }
}

@media (hover: none) {
  .site-header nav a::after, .header-enquire::after, .site-footer a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header > * { animation: none; }
}
