/* Grain & Gauge: theme, redesigned 21 November 2026 (see ../DESIGN.md).
   Part 1: new tokens and the original component rules, re-coloured.
   Part 2 (after the marker): the new design. */
/* ============================================================
   Grain & Gauge: theme. Ash grey, workshop ink, recycled-ironbark
   red. Red Hat Display and Text. A tape-measure rule runs under the
   hero and the footer; the drawings are a joiner's shop sketches.
   ============================================================ */
@layer theme {
:root{
--canvas:#E6E6E0; --surface:#F1F1EC; --raised:color-mix(in srgb,var(--ink) 6%,var(--surface)); --ink:#221B17; --muted:#5A524C; --line:#CBC9C0; --line-strong:#96928A;
  --primary:#221B17; --primary-hover:#3A302A; --on-primary:#F1F1EC;
  --accent:#6B2A1F; --accent-hover:#82362A; --on-accent:#F1F1EC; --accent-text:#7A2F22;
  --focus:#7A2F22; --focus-ring:rgb(122 47 34/.2); --error:#A3201B; --ph-bg:#D4D3CB;
  --header-bg:#E6E6E0; --footer-bg:#221B17; --on-footer:#DEDCD4; --callbar-bg:#221B17;
  --field-bg:var(--surface); --field-line:var(--line-strong);
  --tape:#E9C46A; --tape-ink:#221B17; --shelf:#9C6B45; --shelf-dark:#6E4529;
  --font-display:'Spectral',Georgia,serif; --font-body:'Work Sans',system-ui,sans-serif;
  --radius:2px; --radius-sm:2px; --radius-lg:3px; --radius-btn:2px;
  --header-h:4.5rem;
  --select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221B17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme:light;
}
h1,h2,h3{font-weight:800;letter-spacing:-.035em}
h2{font-size:clamp(2.2rem,5vw,3.8rem);line-height:1}
h3{font-size:1.3rem;letter-spacing:-.02em}
.sec-head{display:grid;gap:.6rem;margin-bottom:clamp(2rem,4vw,3rem)}
.sec-head p{color:var(--muted);font-size:1.1rem}

/* ---------- the tape-measure rule ---------- */
.rule{position:relative;height:2.4rem;margin-top:clamp(2.5rem,5vw,4rem);background:var(--tape);color:var(--tape-ink);overflow:hidden;
  border-block:1px solid color-mix(in srgb,var(--tape-ink) 25%,transparent);
  --mm:6px;
  background-image:
    linear-gradient(90deg,var(--tape-ink) 1.5px,transparent 1.5px),
    linear-gradient(90deg,var(--tape-ink) 1px,transparent 1px),
    linear-gradient(90deg,var(--tape-ink) 1px,transparent 1px);
  background-size:calc(var(--mm) * 10) 55%,calc(var(--mm) * 5) 35%,var(--mm) 20%;
  background-repeat:repeat-x;background-position:0 0}
.rule-nums{display:flex;padding-left:calc(var(--mm) * 10 - .6rem);position:absolute;bottom:.15rem;left:0;white-space:nowrap}
.rule-nums span{flex:none;width:calc(var(--mm) * 10);font-family:var(--font-display);font-weight:800;font-size:.72rem}
.rule--foot{margin-top:0}

/* ---------- header ---------- */
.site-header{border-bottom:1px solid var(--line)}
.brand{font-weight:800;font-size:1.25rem;letter-spacing:-.03em}
.brand-mark{display:inline-flex;align-items:center;white-space:nowrap;width:auto;padding:0 .5rem;background:var(--accent);color:var(--on-accent);font-size:.85rem;font-weight:800;letter-spacing:.02em}
.brand-mark i{font-style:normal;opacity:.7;margin-inline:.05rem}
.nav-mobile-cta a{color:var(--accent-text)}
@media (min-width:900px){ .nav-mobile-cta{display:none} }

/* ---------- hero ---------- */
.hero{padding-top:clamp(2rem,5vw,4rem)}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
.hero-copy{display:grid;gap:1.5rem;justify-items:start}
.hero h1{font-size:clamp(2.9rem,6.4vw,5.8rem);line-height:.93;letter-spacing:-.05em}
.hero h1 span{color:var(--accent-text)}
.hero-lede{font-size:1.2rem;color:var(--muted);max-width:31rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.hero-photo .ph{border-radius:var(--radius-lg);box-shadow:0 30px 60px -32px rgb(34 27 23/.55)}
@media (min-width:900px){ .hero-grid{grid-template-columns:1fr 1fr;gap:4rem} }

/* ---------- table builder ---------- */
.build-head{display:grid;gap:.8rem;max-width:44rem;margin-bottom:clamp(2rem,4vw,3rem)}
.build-head p{font-size:1.12rem;color:var(--muted)}
.build-grid{display:grid;gap:2rem;align-items:start}
.build-form{display:grid;gap:1.6rem}
.build-form fieldset{border:0;padding:0}
.build-form legend{font-family:var(--font-display);font-weight:800;font-size:1.15rem;margin-bottom:.7rem}
.tpicks{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.tpick,.lpick{position:relative}
.tpick input,.lpick input{position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer}
.tpick span{display:flex;align-items:center;gap:.65rem;min-height:56px;padding:.5rem .8rem;border:1.5px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-weight:700;
  transition:border-color var(--dur-fast) linear,box-shadow var(--dur-fast) linear,transform var(--dur-fast) var(--ease-out)}
.swatch{flex:none;width:2rem;height:2rem;border-radius:3px;background:repeating-linear-gradient(100deg,var(--sa) 0 6px,var(--sb) 6px 8px,var(--sc) 8px 13px)}
.tpick input:checked + span{border-color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.tpick input:active + span,.lpick input:active + span{transform:scale(.98)}
.tpick input:focus-visible + span,.lpick input:focus-visible + span{outline:3px solid var(--focus);outline-offset:2px}
@media (hover:hover){ .tpick:hover span,.lpick:hover span{border-color:var(--ink)} }
.tdesc{margin-top:.7rem;color:var(--muted);font-size:.98rem;min-height:3em}
.lpicks{display:flex;flex-wrap:wrap;gap:.45rem}
.lpick span{display:inline-flex;align-items:center;min-height:48px;padding:.5rem 1rem;border:1.5px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-weight:700;
  font-variant-numeric:tabular-nums;transition:background-color var(--dur-fast) linear,color var(--dur-fast) linear,border-color var(--dur-fast) linear,transform var(--dur-fast) var(--ease-out)}
.lpick input:checked + span{background:var(--ink);border-color:var(--ink);color:var(--on-primary)}
.drawing{display:grid;gap:.6rem;padding:clamp(1rem,2.5vw,1.75rem);background:var(--surface);border:1.5px solid var(--ink);
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:24px 24px;background-position:-1px -1px}
.sheet-tag{display:flex;justify-content:space-between;font-family:var(--font-display);font-weight:800;font-size:.8rem;letter-spacing:.01em;color:var(--muted)}
.sheet-tag span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}
.plan,.side{width:100%;height:auto}
.top{fill:var(--ta,#9C6B45);stroke:var(--tb,#6E4529);stroke-width:2;transition:fill var(--dur-mid) linear}
.top-grain{pointer-events:none}
.grain-line{stroke:var(--tb,#6E4529);stroke-width:1.2;opacity:.55}
.chair{fill:var(--surface);stroke:var(--ink);stroke-width:2}
.leg{fill:var(--tb,#6E4529);stroke:var(--ink);stroke-width:1.5}
.floor{stroke:var(--ink);stroke-width:2;stroke-dasharray:6 5}
@media (prefers-reduced-motion:no-preference){ .chair{animation:chair-in .45s var(--ease-out) both;animation-delay:calc(var(--k) * 35ms);transform-box:fill-box;transform-origin:center} }
@keyframes chair-in{from{transform:scale(.4)}}

.spec{font-family:var(--font-display);font-weight:800;font-size:1.3rem;letter-spacing:-.02em;margin-top:.4rem}
.build-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.build-note{font-size:.9rem;color:var(--muted)}
.timber-static{display:grid;gap:.9rem}
.timber-static li{display:grid;grid-template-columns:auto 1fr;gap:.2rem .9rem;align-items:start}
.timber-static .swatch{grid-row:span 2}
.timber-static span{color:var(--muted)}
.js .build-grid:not([hidden]) ~ .timber-static{display:none}
@media (min-width:1000px){ .build-grid{grid-template-columns:.8fr 1.2fr;gap:3rem} .build-form{position:sticky;top:calc(var(--header-h) + 1.5rem)} }

/* ---------- the shelf of recent work ---------- */
.work{background:var(--surface);border-block:1px solid var(--line)}
.work-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.75rem}
.work-head p{color:var(--muted);margin-top:.5rem}
.shelf-btns{display:flex;gap:.5rem}
.shelf-btns button{display:grid;place-items:center;width:48px;height:48px;border:1.5px solid var(--ink);border-radius:var(--radius);
  transition:background-color var(--dur-fast) linear,transform var(--dur-fast) var(--ease-out)}
@media (hover:hover){ .shelf-btns button:hover{background:var(--ink);color:var(--on-primary)} }
.shelf-btns button:active{transform:scale(.94)}
.shelf{overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:var(--gutter);padding-bottom:.25rem;cursor:grab}
.shelf::-webkit-scrollbar{display:none}
.shelf.is-dragging{cursor:grabbing;scroll-snap-type:none}
.shelf.is-dragging *{pointer-events:none}
.shelf ul{display:flex;gap:1.25rem;width:max-content;padding-inline:max(var(--gutter),calc((100vw - var(--maxw)) / 2 + var(--gutter)))}
.shelf li{width:min(70vw,19rem);scroll-snap-align:start}
.shelf .ph{border-radius:var(--radius)}
.shelf figcaption{display:grid;padding-top:.6rem}
.shelf figcaption strong{font-family:var(--font-display);font-size:1.1rem}
.shelf figcaption span{color:var(--muted);font-size:.92rem}
.shelf:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
@media (min-width:900px){ .shelf li{width:clamp(16rem,22vw,20rem)} }

/* ---------- services ---------- */
.svc-grid{display:grid;gap:2.5rem}
.svc-side{display:grid;gap:1.5rem;align-content:start}
.svc-photo .ph{border-radius:var(--radius-lg)}
.svc-list{display:grid}
.svc-list li{display:grid;grid-template-columns:auto 1fr;gap:.2rem 1rem;padding:1.3rem 0;border-top:1px solid var(--line-strong)}
.svc-list li:last-child{border-bottom:1px solid var(--line-strong)}
.svc-ico{grid-row:span 2;display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:var(--radius);background:var(--accent);color:var(--on-accent)}
.svc-list h3,.svc-list h2{font-size:1.4rem}
.svc-list p{color:var(--muted)}
@media (min-width:900px){ .svc-grid{grid-template-columns:.9fr 1.1fr;gap:5rem} .svc-side{position:sticky;top:calc(var(--header-h) + 2rem);align-self:start} }

/* ---------- process as a cut list ---------- */
.process{background:var(--ink);color:var(--on-primary)}
.process h1,.process h2,.process h3{color:var(--on-primary)}
.proc-head{display:grid;gap:.6rem;margin-bottom:clamp(2rem,4vw,3rem)}
.proc-head p{opacity:.8;font-size:1.12rem}
.cutlist{display:grid;gap:0;border-top:1.5px solid color-mix(in srgb,var(--on-primary) 40%,transparent)}
.cutlist li{display:grid;grid-template-columns:3.5rem 1fr;gap:.3rem 1rem;padding:1.4rem 0;border-bottom:1px solid color-mix(in srgb,var(--on-primary) 20%,transparent)}
.cut-no{grid-row:span 2;font-family:var(--font-display);font-weight:800;font-size:2rem;line-height:1;color:var(--tape)}
.cutlist p{opacity:.8}
.proc-photos{display:grid;gap:1rem;margin-top:2.5rem}
.proc-photos .ph{border-radius:var(--radius)}
@media (min-width:800px){ .cutlist{grid-template-columns:1fr 1fr;column-gap:3rem} .proc-photos{grid-template-columns:1fr 1fr} }

/* ---------- reviews ---------- */
.rv-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem}
.rv-card{display:grid;gap:1.25rem;align-content:space-between;padding:1.6rem;background:var(--surface);border:1px solid var(--line-strong);border-top:6px solid var(--accent)}
.rv-card blockquote p{font-size:1.1rem}
.rv-card figcaption{display:grid;font-size:.92rem;color:var(--muted)}
.rv-card figcaption strong{color:var(--ink);font-family:var(--font-display)}

/* ---------- about ---------- */
.about{border-top:1px solid var(--line)}
.about-grid{display:grid;gap:2.5rem;align-items:center}
.about-copy{display:grid;gap:1rem}
.about-copy p{font-size:1.12rem;max-width:34rem}
.licence{display:flex;align-items:center;gap:.5rem;justify-self:start;font-weight:700;padding:.7rem 1rem;border:1.5px dashed var(--ink);border-radius:var(--radius)}
.licence .ico{color:var(--accent-text)}
.about-photo .ph{border-radius:var(--radius-lg)}
@media (min-width:900px){ .about-grid{grid-template-columns:1.1fr .9fr;gap:4.5rem} }

/* ---------- the one ironbark band ---------- */
.quote-band{background:var(--accent);color:var(--on-accent);padding-block:clamp(3.5rem,8vw,6rem)}
.quote-band blockquote p{font-family:var(--font-display);font-weight:800;font-size:clamp(1.9rem,4.6vw,3.8rem);line-height:1.04;letter-spacing:-.035em;max-width:54rem}
.quote-band figcaption{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center}
.quote-band .sample-tag{color:var(--on-accent)}

/* ---------- FAQ ---------- */
.faq-sec{border-top:1px solid var(--line)}
.faq-grid{display:grid;gap:2rem}
.faq summary .ico{color:var(--accent-text)}
@media (min-width:900px){ .faq-grid{grid-template-columns:.7fr 1.3fr;gap:4rem} .faq-grid h2{position:sticky;top:calc(var(--header-h) + 2rem);align-self:start} }

/* ---------- start a project ---------- */
.contact{background:var(--surface);border-top:1px solid var(--line)}
.contact-grid{display:grid;gap:2.5rem}
.contact-copy > p{margin-top:1rem;color:var(--muted);font-size:1.1rem;max-width:30rem}
.contact-list{display:grid;gap:.9rem;margin-top:2rem}
.contact-list li{display:flex;gap:.7rem;align-items:flex-start}
.contact-list a{font-weight:700}
.contact-list .ico{color:var(--accent-text);margin-top:.15rem}
.form{display:grid;gap:1.25rem;padding:clamp(1.25rem,3vw,2rem);background:var(--canvas);border:1.5px solid var(--ink);border-radius:var(--radius)}
.form-row{display:grid;gap:1.25rem}
.choices-set{border:0;padding:0;display:grid;gap:.6rem}
.choice span{border-radius:var(--radius)}
.hint{margin-top:-.75rem;font-size:.9rem;color:var(--muted)}
.textarea.is-filled{animation:filled 1s var(--ease-out)}
@keyframes filled{0%{box-shadow:0 0 0 0 var(--focus-ring)}30%{box-shadow:0 0 0 8px var(--focus-ring)}100%{box-shadow:0 0 0 0 transparent}}
@media (min-width:600px){ .form-row{grid-template-columns:1fr 1fr} }
@media (min-width:900px){ .contact-grid{grid-template-columns:.85fr 1.15fr;gap:4rem;align-items:start} }

/* ---------- map ---------- */
.section--map{padding-bottom:var(--space-section);background:var(--surface)}
.map-block{border:1.5px solid var(--ink);border-radius:var(--radius);background:var(--ph-bg)}
.map-title{display:grid;gap:.25rem;max-width:28rem}
.map-title strong{font-family:var(--font-display);font-size:1.4rem}
.map-actions{display:flex;flex-wrap:wrap;gap:.6rem}

/* ---------- call to action and page heads ---------- */
.cta-band{background:var(--ink);color:var(--on-primary);padding-block:clamp(3.5rem,8vw,6rem)}
.cta-band h2{color:var(--on-primary)}
.cta-inner{display:grid;gap:1rem;justify-items:start}
.cta-inner p{font-size:1.15rem;opacity:.85}
.cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem}
.cta-band .btn--ghost{color:var(--on-primary)}
@media (hover:hover){ .cta-band .btn--ghost:hover{background:var(--on-primary);color:var(--ink);border-color:var(--on-primary)} }
.page-head{padding-top:clamp(2.5rem,6vw,4.5rem)}
.page-head h1{font-size:clamp(2.8rem,7vw,5.5rem);letter-spacing:-.05em;line-height:.95}
.page-head p:not(.crumbs){margin-top:1rem;max-width:34rem;font-size:1.15rem;color:var(--muted)}
.crumbs{display:flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:600;color:var(--muted);margin-bottom:1.25rem}
.crumbs .ico{width:1em;height:1em}

/* ---------- footer ---------- */
.site-footer{padding-top:0}
.site-footer > .wrap{padding-top:clamp(3rem,7vw,5rem)}
.foot-grid{display:grid;gap:2rem}
.foot-mark{font-family:var(--font-display);font-weight:800;font-size:1.6rem;letter-spacing:-.03em;margin-bottom:.5rem}
.site-footer h2{font-size:.8rem;letter-spacing:.01em;opacity:.7;margin-bottom:.8rem;color:var(--on-footer)}
.site-footer ul{display:grid;gap:.5rem}
@media (min-width:800px){ .foot-grid{grid-template-columns:1.4fr 1fr 1fr} }
.callbar .alt{color:var(--on-primary)}
}
.cutlist :is(h2,h3){font-size:1.3rem;letter-spacing:-.02em;line-height:1.08}

/* ==================== Part 2: the new design ==================== */
/* shared by every redesigned example site: the text-link route (one button
   per screen), the header link that replaced the header button, and the
   one-action phone bar. Colours come from each site's tokens. */
@layer theme {
.link-go{display:inline-block;padding-block:.65rem;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:.35em;text-decoration-color:var(--link-line,var(--accent))}
.link-go::after{content:"\2192";display:inline-block;margin-left:.45rem;transition:transform 250ms var(--ease-out)}
@media (hover:hover){ .link-go:hover::after{transform:translateX(5px)} }
.head-link{display:none;min-height:44px;align-items:center;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:.35em;text-decoration-color:var(--link-line,var(--accent));white-space:nowrap}
@media (min-width:900px){ .head-link{display:inline-flex;margin-left:1.25rem} .site-nav{margin-left:auto} }
.callbar{grid-template-columns:1fr}
}
@layer theme {
/* the curtain: a section that slides over the one before needs a ground of its own */
:where(.fx-stack > .section){background-color:var(--canvas)}
}
@layer theme {
/* a control inside a hands-on tool that should read as text, not a second button */
.text-btn{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:0;font-weight:600;color:inherit;text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:.35em;text-decoration-color:var(--link-line,var(--accent))}
}
@layer theme {
/* the demo badge sits above the phone bar, not on it */
body{--demo-badge-offset:var(--callbar-h,0px)}
}

@layer theme {
/* an open phone menu locks the page itself, not the body: a locked body becomes its own
   scroll box (html clips sideways), the sticky header scrolls away and takes the close button with it */
body.nav-open{overflow:visible;overflow-x:clip}
html:has(body.nav-open){overflow:hidden}
}

/* Grain & Gauge. Oiled walnut: a dark, warm workshop page, shaving-cream
   type, and blonde Tasmanian oak for the one action. A book serif (Spectral)
   because this is furniture made to last generations. The made thing is the
   dovetail joint: a strip of tails at the hero and the footer, and one tail
   over every section heading. */
@layer theme {
h1,h2,h3{font-weight:600;letter-spacing:-.015em;line-height:1.02}
h2{font-size:clamp(2.4rem,5vw,4rem)}
h3{font-family:var(--font-body);font-weight:600;letter-spacing:-.005em}
body{font-size:1.0625rem}
.sec-head p,.build-head p,.work-head p{color:var(--muted);font-size:1.125rem}

/* one dovetail over every section heading */
.build-head h2,.work-head h2,.svc-side h2,.proc-head h2,.sec-head h2,.about-copy h2,.faq-grid > h2,.contact-copy h2,
main > section:first-child h1:not(#hero-title){position:relative;padding-top:1.5rem}
.build-head h2::before,.work-head h2::before,.svc-side h2::before,.proc-head h2::before,.sec-head h2::before,.about-copy h2::before,
.faq-grid > h2::before,.contact-copy h2::before,main > section:first-child h1:not(#hero-title)::before{
  content:"";position:absolute;left:0;top:0;width:1.6rem;height:.8rem;background:var(--accent);clip-path:polygon(0 0,100% 0,78% 100%,22% 100%)}

/* the dovetail strip (was the tape measure): a row of tails across the page */
.rule{height:20px;border:0;background:none;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.rule::before{content:"";position:absolute;inset:0;background:var(--shelf);clip-path:polygon(0.0% 100%,0.6% 0,3.4% 0,4.0% 100%,5.0% 100%,5.6% 0,8.4% 0,9.0% 100%,10.0% 100%,10.6% 0,13.4% 0,14.0% 100%,15.0% 100%,15.6% 0,18.4% 0,19.0% 100%,20.0% 100%,20.6% 0,23.4% 0,24.0% 100%,25.0% 100%,25.6% 0,28.4% 0,29.0% 100%,30.0% 100%,30.6% 0,33.4% 0,34.0% 100%,35.0% 100%,35.6% 0,38.4% 0,39.0% 100%,40.0% 100%,40.6% 0,43.4% 0,44.0% 100%,45.0% 100%,45.6% 0,48.4% 0,49.0% 100%,50.0% 100%,50.6% 0,53.4% 0,54.0% 100%,55.0% 100%,55.6% 0,58.4% 0,59.0% 100%,60.0% 100%,60.6% 0,63.4% 0,64.0% 100%,65.0% 100%,65.6% 0,68.4% 0,69.0% 100%,70.0% 100%,70.6% 0,73.4% 0,74.0% 100%,75.0% 100%,75.6% 0,78.4% 0,79.0% 100%,80.0% 100%,80.6% 0,83.4% 0,84.0% 100%,85.0% 100%,85.6% 0,88.4% 0,89.0% 100%,90.0% 100%,90.6% 0,93.4% 0,94.0% 100%,95.0% 100%,95.6% 0,98.4% 0,99.0% 100%)}
.rule-nums{display:none}
.rule--foot{border-bottom:0;border-top:1px solid var(--line)}
.rule--foot::before{transform:scaleY(-1)}

/* links */
.link-go{display:inline-block;padding-block:.65rem;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em;text-decoration-color:var(--accent)}
.link-go::after{content:"\2192";display:inline-block;margin-left:.45rem;transition:transform 250ms var(--ease-out)}
@media (hover:hover){ .link-go:hover::after{transform:translateX(5px)} }
.head-link{display:none;min-height:44px;align-items:center;font-weight:500;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:.35em}
@media (min-width:900px){ .head-link{display:inline-flex;margin-left:1.25rem} }

/* header */
.site-header{border-bottom:1px solid var(--line)}
.brand{font-family:var(--font-display);font-weight:600;font-size:1.35rem;letter-spacing:0}
.brand-mark{background:var(--accent);color:var(--on-accent);border-radius:2px}
@media (min-width:900px){ .site-nav{margin-left:auto} .site-nav a{font-weight:500} }

/* hero: the workbench large on the left, the words on the walnut */
.hero{padding-top:0}
.hero-grid{gap:0;padding:0;max-width:none}
.hero-photo .ph{border-radius:0;box-shadow:none;aspect-ratio:4/3}
.hero-copy{padding:2rem var(--gutter) 2.5rem;gap:1.4rem}
.hero h1{font-size:clamp(3rem,8vw,6rem);line-height:.98;letter-spacing:-.025em}
.hero-actions{align-items:center;gap:.75rem 1.5rem}
@media (min-width:900px){
  .hero-grid{grid-template-columns:repeat(12,minmax(0,1fr));min-height:calc(100svh - var(--header-h) - 22px)}
  .hero-photo{grid-column:1 / 8;grid-row:1;align-self:stretch}
  .hero-photo .ph{aspect-ratio:auto;height:100%}
  .hero-copy{grid-column:8 / -1;grid-row:1;align-self:center;padding:3rem max(var(--gutter),calc((100vw - var(--maxw)) / 2 + var(--gutter))) 3rem 3rem}
  .hero h1{font-size:clamp(3.2rem,5.4vw,5.4rem)}
}

/* the table builder: the drawing sits on a pale sheet, like a cut sheet on the bench */
.drawing{background:#efe6d8;color:#1d1814;--ink:#1d1814;--muted:#5a5048;border-radius:var(--radius-lg)}
.sheet-tag{color:#5a5048}

/* cards and panels: oiled boards, hairlines, no shadows */
.rv-card,.form,.licence{box-shadow:none;border:1px solid var(--line);background:var(--surface)}
.quote-band blockquote p{font-family:var(--font-display);font-weight:600}
.svc-ico{color:var(--accent)}

/* footer */
.foot-mark{font-family:var(--font-display);font-weight:600}
.callbar{grid-template-columns:1fr}
}
