:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --cream: #eeeee4;
  --pine: #122c23;
  --ink: #1b2b23;
  --body: #4a564d;
  --subtle: #616d63;
  --line: #cbd0c3;
  --orange: #ff8039;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.55vw, 6.5rem);
  --header-h: 4.75rem;
  --ease: cubic-bezier(.22,.74,.24,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { touch-action: manipulation; }
button { appearance: none; border: 0; background: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }
::selection { color: #17241a; background: #ffad76; }
:where(a, button, summary, input):focus-visible { outline: 3px solid #e4732d; outline-offset: 4px; }
[hidden] { display: none !important; }
.enhanced { display: none !important; }
.js .enhanced { display: flex !important; }
.shell { width: min(96rem, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 20; padding: .65rem 1rem; color: white; background: var(--pine); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .79rem; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 1.9rem; height: 2px; background: #d65b21; flex: none; }
.btn { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .82rem 1.62rem; border-radius: 100px; font-size: .94rem; font-weight: 600; line-height: 1.25; text-align: center; transition: background .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-orange { color: #201e14; background: var(--orange); }
.btn-orange:hover { background: #ff9a60; }
.btn-pine { background: var(--pine); color: #fffdf6; }
.btn-pine:hover { background: #284739; }
.plus-sign { display: inline-block; flex: none; position: relative; width: .82rem; height: .82rem; }
.plus-sign::before, .plus-sign::after { content: ""; background: currentColor; height: 1.5px; width: 100%; left: 0; top: calc(50% - .75px); position: absolute; }
.plus-sign::after { transform: rotate(90deg); transition: transform .2s; }
details[open] > summary .plus-sign::after { transform: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.section-pad { padding-block: clamp(4.5rem, 8.3vw, 9.5rem); }
h2 { font-size: clamp(2.85rem, 4.45vw, 5.1rem); line-height: 1.05; letter-spacing: -.068em; font-weight: 510; }
h2 em { letter-spacing: -.063em; }
.eyebrow + h2 { margin-top: clamp(1.25rem, 2.4vw, 2.1rem); }
.text-btn, .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 0; border-bottom: 1px solid currentColor; font-size: .93rem; font-weight: 550; }
.text-btn:hover, .text-link:hover { color: #88501f; }

/* Navigation */
.masthead { position: sticky; top: 0; z-index: 8; background: var(--paper); border-bottom: 1px solid #1d312812; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.7rem; min-height: var(--header-h); }
.brand-home { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-home img { width: 7.55rem; height: auto; }
.desktop-nav { display: flex; gap: clamp(1.25rem, 2.55vw, 3.25rem); align-items: center; }
.desktop-nav a, .footer-main > a:not(.brand-home) { position: relative; font-size: .92rem; font-weight: 500; }
.desktop-nav a::after, .footer-main > a:not(.brand-home)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.24rem; height: 1px; background: #a64b20; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="location"]::after, .footer-main > a:hover::after { transform: scaleX(1); }
.header-finder { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2.7rem; padding: .55rem 1.12rem; border: 1px solid #9fa99d; border-radius: 30px; font-size: .875rem; line-height: 1.25; font-weight: 550; transition: background .2s, border-color .2s; }
.header-finder:hover { background: #e7eadf; border-color: var(--pine); }
.adjust-icon { width: 1rem; height: .9rem; display: inline-flex; flex-direction: column; justify-content: space-around; }
.adjust-icon i { height: 1.4px; background: currentColor; position: relative; }
.adjust-icon i::after { content: ""; position: absolute; width: 4px; height: 4px; border: 1px solid currentColor; background: var(--paper); border-radius: 50%; left: 3px; top: -1.3px; }
.adjust-icon i + i::after { left: 10px; }
.mobile-menu { display: none; }

/* Hero and the three photographic views */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #10251c; color: #f9f8ed; display: flex; flex-direction: column; min-height: max(42rem, calc(100svh - var(--header-h))); }
.hero-bg, .hero-bg img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero-bg img { object-fit: cover; object-position: 55% 52%; filter: saturate(.76); }
.hero-shade { background: linear-gradient(90deg, rgba(6,23,17,.92) 0%, rgba(7,25,18,.83) 21%, rgba(8,25,18,.57) 38%, rgba(10,25,17,.21) 57%, rgba(8,19,12,.06) 80%), linear-gradient(0deg, rgba(5,15,12,.76) 0%, transparent 24%, transparent 85%, rgba(8,20,14,.14)); }
.hero-body { flex: 1; display: grid; grid-template-columns: 48% 52%; position: relative; }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: clamp(3.8rem, 6.4vh, 7rem) 0 clamp(2rem, 4.6vh, 4.5rem); }
.hero-origin { color: #e3e7d8; font-size: .78rem; letter-spacing: .17em; gap: .8rem; }
.hero-origin > span:first-child { background: var(--orange); width: 2.3rem; }
.hero-origin > i { height: 3px; width: 3px; background: #beccba; border-radius: 50%; }
.hero h1 { font-size: clamp(3.05rem, 5.18vw, 6.3rem); font-weight: 525; line-height: .99; letter-spacing: -.074em; margin: clamp(1.45rem, 3.2vh, 2.5rem) 0 1.35rem; }
.hero h1 span { display: block; }
.hero h1 em { display: block; margin-top: .13em; color: #d9e3cb; font-size: 1.02em; line-height: 1.015; letter-spacing: -.067em; }
.hero-sub { max-width: 24rem; color: #e0e5d9; font-size: clamp(1rem, 1.16vw, 1.25rem); line-height: 1.48; letter-spacing: -.018em; }
.hero-cta { margin-top: 1.75rem; min-height: 3.25rem; padding-inline: 1.6rem; }
.hero-art { position: relative; align-self: stretch; margin-right: calc(0px - var(--gutter)); overflow: hidden; }
.hero-drift { position: absolute; inset: 0; transform: translateY(var(--drift,0px)); }
.hero-zoom { position: absolute; left: 47%; top: 50%; width: min(43.5vw, 75vh, 55rem); transform: translate(-50%,-50%) translate(var(--focus-x,0%),var(--focus-y,0%)) scale(var(--focus-z,1)); transition: transform .85s var(--ease); }
.hero-rotation { transform: rotate(72deg); }
.hero-tool { width: 100%; height: auto; filter: drop-shadow(.11rem .12rem .08rem rgba(10,13,9,.52)) drop-shadow(.25rem .55rem .35rem rgba(12,15,9,.55)) drop-shadow(.4rem 1.15rem .9rem rgba(13,16,9,.34)); user-select: none; }
.hero[data-view="blade"] { --focus-x: 38%; --focus-y: 47%; --focus-z: 1.85; }
.hero[data-view="handle"] { --focus-x: -28%; --focus-y: -27%; --focus-z: 1.58; }
.hero-foot { z-index: 2; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.25rem; border-top: 1px solid #e5e9d54a; }
.scroll-link { color: #e1e5d9; font-size: .81rem; display: inline-flex; align-items: center; gap: .72rem; min-height: 2.75rem; }
.scroll-sign { width: .76rem; height: 1.17rem; border: 1px solid #c9cfc1; position: relative; border-radius: 10px; }
.scroll-sign::after { content: ""; position: absolute; top: 3px; left: calc(50% - .75px); width: 1.5px; height: 4px; background: var(--orange); border-radius: 2px; }
.view-controls { align-items: center; gap: 1.55rem; }
.view-controls button { display: inline-flex; gap: .55rem; align-items: center; color: #d6dacd; padding: .65rem 0; min-height: 2.75rem; font-size: .85rem; }
.view-controls button::before { content: ""; width: .4rem; height: .4rem; border: 1px solid #e1e7d4a0; border-radius: 50%; transition: background .2s, border-color .2s; }
.view-controls button[aria-pressed="true"], .view-controls button:hover { color: white; }
.view-controls button[aria-pressed="true"]::before { border-color: var(--orange); background: var(--orange); }

/* Workshop story */
.history { background: var(--paper); }
.history-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.history-copy > p:not(.eyebrow) { margin-top: 1.1rem; max-width: 34rem; color: var(--body); line-height: 1.65; }
.history-copy h2 { margin-bottom: 1.6rem; }
.history-more { margin-top: 1.5rem; max-width: 32rem; }
.history-more summary { display: inline-flex; align-items: center; gap: 1rem; min-height: 2.75rem; font-size: .94rem; font-weight: 550; border-bottom: 1px solid #92a092; }
.timeline { margin-top: 1.3rem; border-top: 1px solid var(--line); }
.timeline > div { padding: .7rem 0; display: grid; grid-template-columns: 3.6rem 1fr; gap: .5rem; border-bottom: 1px solid var(--line); }
.timeline dt { color: #985020; font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline dd { font-size: .93rem; }
.archive-mat { background: #e8e7dd; overflow: hidden; }
.archive-mat img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; filter: sepia(.13); }
.archive-figure figcaption, .field-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-top: .85rem; font-size: .82rem; color: var(--subtle); }
.archive-figure figcaption span:first-child { color: var(--ink); }

/* The families are editorial guides */
.directions { background: #e9ede3; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: clamp(2rem, 3.6vw, 4rem); }
.section-head > p { max-width: 21rem; font-size: 1rem; color: var(--body); line-height: 1.55; }
.family-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.85rem, 1.7vw, 2rem); }
.family-card { position: relative; display: flex; align-items: flex-end; width: 100%; min-width: 0; color: #fffdf6; isolation: isolate; background: #243a28; aspect-ratio: .86; min-height: 21rem; overflow: hidden; border-radius: 3px; }
.family-card > img, .family-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.family-card > img { filter: saturate(.83); }
.family-card[data-family="anvil"] > img { object-position: 55% 50%; }
.family-card[data-family="bypass"] > img { object-position: 48% 50%; }
.family-card[data-family="loppers"] > img { object-position: 34% 50%; }
.family-shade { background: linear-gradient(0deg,rgba(8,25,18,.96),rgba(8,25,18,.66) 37%, rgba(8,25,18,.06) 70%); }
.family-copy { width: 100%; padding: 1.65rem; }
.family-copy > p { font-size: .8rem; color: #e3e8da; letter-spacing: .015em; }
.family-copy h3 { font-weight: 500; font-size: clamp(1.65rem, 2.35vw, 3rem); line-height: 1.14; letter-spacing: -.055em; margin: .55rem 0 1.45rem; }
.family-more { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid #ffffff5e; font-size: .88rem; }
.family-more .plus-sign { margin-right: .25rem; }
@media (hover: hover) {
  .family-card:hover > img { transform: scale(1.045); }
  .family-card:hover .family-more { color: #ffac79; }
}

/* Interactive cutaway */
.engineering { --part-ink: #263d30; --part-body: #384e40; --part-accent: #435d41; --part-edge: #6a7c68; --part-paper: #faf9f2; background: #e7ecdf; color: var(--part-ink); overflow: hidden; }
.engineering-grid { display: grid; grid-template-columns: .79fr 1.21fr; align-items: center; gap: clamp(3rem, 6.5vw, 8rem); }
.engineering .eyebrow { color: var(--part-accent); }
.engineering .eyebrow > span:first-child { background: #936c48; }
.engineering h2 em { color: var(--part-accent); }
.engineering-intro { margin-top: 1.4rem; color: var(--part-body); max-width: 30rem; }
.part-list { flex-wrap: wrap; gap: .5rem; }
.part-list button { border: 1px solid var(--part-edge); border-radius: 100px; min-height: 44px; padding: .42rem .84rem; font-size: .9rem; font-weight: 500; color: var(--part-ink); background: var(--part-paper); }
.part-list button[aria-pressed="true"] { border-color: var(--part-ink); color: #fffdf4; background: var(--part-ink); }
.part-list button:hover:not([aria-pressed="true"]) { background: #d9e3d3; border-color: var(--part-ink); }
.part-picker { display: none; }
.part-note { margin-top: 1.35rem; padding: .35rem 0 .35rem 1rem; border-left: 2px solid #9c7854; min-height: 8rem; }
.part-note h3 { font-weight: 550; font-size: 1.12rem; letter-spacing: -.025em; }
.part-note p { color: var(--part-body); margin-top: .38rem; line-height: 1.6; }
.engineering :is(button,select):focus-visible { outline: 3px solid #fffdf5; box-shadow: 0 0 0 5px #304e3a; outline-offset: 0; }
.technical-plate { position: relative; display: grid; place-items: center; background-color: #dfe4d8; background-image: linear-gradient(#43594712 1px, transparent 1px), linear-gradient(90deg,#43594712 1px, transparent 1px); background-size: 2.5rem 2.5rem; border: 1px solid #fff3; border-radius: 3px; color: var(--pine); aspect-ratio: 1.23; overflow: hidden; }
.technical-object { position: relative; width: 65%; transform: rotate(62deg); }
.technical-object > img { width: 100%; height: auto; filter: drop-shadow(.22rem .45rem .45rem #14291a46); }
.hotspot { position: absolute; z-index: 1; width: 2.8rem; height: 2.8rem; margin-left: -1.4rem; margin-top: -1.4rem; align-items: center; justify-content: center; transform: rotate(-62deg); padding: 0; border-radius: 100%; isolation: isolate; }
.hotspot::before { content: ""; position: absolute; z-index: -1; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #173327; border: 1px solid #fff9; box-shadow: 0 0 0 4px #f7fae736; transition: background .2s, box-shadow .2s, transform .2s; }
.hotspot[aria-pressed="true"]::before { background: var(--orange); border-color: #ffbd8b; box-shadow: 0 0 0 5px #ff8f4e3b; }
.hotspot:hover::before { transform: scale(1.09); }
.hotspot i, .hotspot i::after { width: .52rem; height: 1.5px; display: block; background: white; }
.hotspot i::after { content: ""; transform: rotate(90deg); }
.hotspot[aria-pressed="true"] i { width: .43rem; height: .75rem; background: transparent; border: solid #342516; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.hotspot[aria-pressed="true"] i::after { display: none; }
.hotspot[data-part="blade"] { left: 15%; top: 66%; }
.hotspot[data-part="anvil"] { left: 24%; top: 85%; }
.hotspot[data-part="pivot"] { left: 34%; top: 60%; }
.hotspot[data-part="grip"] { left: 64%; top: 14%; }
.plate-caption { position: absolute; left: 1.15rem; bottom: .9rem; font-size: .8rem; color: #46564a; }

/* Field photography */
.field { background: var(--paper); }
.field-heading { margin-top: clamp(1.25rem,2.4vw,2.1rem); }
.field-tabs { margin-top: 2.2rem; gap: clamp(1.25rem, 3.1vw, 4rem); border-bottom: 1px solid var(--line); }
.field-tabs button { position: relative; min-height: 2.9rem; padding: .52rem 0 .76rem; color: var(--subtle); font-size: .95rem; }
.field-tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.field-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; height: 2px; bottom: -1px; left: 0; right: 0; background: #c45a25; }
.field-figure { margin-top: 1.5rem; }
.field-photo { background: #243b2c; aspect-ratio: 2.45; overflow: hidden; border-radius: 2px; touch-action: pan-y; }
.field-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
.field-figure figcaption { padding-top: .9rem; color: var(--ink); font-size: .94rem; }
.field-counter { color: var(--subtle); font-size: .82rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; white-space: nowrap; }
.field-counter b { color: var(--ink); font-weight: 600; }

/* Local instrument finder */
.finder { background: #e6eade; }
.finder-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 7vw, 9rem); align-items: center; }
.finder-heading > p:last-child { color: var(--body); max-width: 25rem; margin-top: 1.3rem; }
.finder-panel { border: 1px solid #c7cdbc; background: var(--paper); padding: clamp(1.5rem, 3.2vw, 3.7rem); border-radius: .3rem; }
.finder-ui { flex-direction: column; }
.step-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--subtle); font-size: .84rem; margin-bottom: 1.5rem; }
.step-lines { display: flex; gap: 4px; }
.step-lines i { width: 1.8rem; height: 3px; background: #d1d6c9; }
.step-lines i.filled { background: #c35a25; }
#finder-form fieldset { border: 0; padding: 0; min-width: 0; }
#finder-form legend, .finder-result h3 { padding: 0; margin-bottom: 1.2rem; font-size: clamp(1.45rem,2.3vw,2.45rem); line-height: 1.13; letter-spacing: -.05em; font-weight: 510; }
.choice { padding: .72rem 1rem; min-height: 3.1rem; border: 1px solid #c4cbbd; border-radius: .2rem; display: flex; align-items: center; justify-content: space-between; position: relative; gap: .75rem; cursor: pointer; transition: background .18s, border-color .18s; }
.choice + .choice { margin-top: .55rem; }
.choice > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice:focus-within { outline: 2px solid #b65b2b; outline-offset: 2px; }
.choice i { width: .98rem; height: .98rem; border-radius: 50%; border: 1px solid #929f91; flex: none; }
.choice:has(input:checked) { background: #e7ebdf; border-color: #718471; }
.choice input:checked ~ i { background: var(--pine); border-color: var(--pine); box-shadow: inset 0 0 0 3px #e7ebdf; }
.wizard-actions, .result-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.65rem; }
.wizard-actions .btn { margin-left: auto; min-width: 7.2rem; }
.range-label, .range-labels, .selection-summary { font-size: .85rem; color: var(--subtle); }
.diameter-reading { font-size: 3.5rem; line-height: 1.2; margin: .6rem 0; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.diameter-reading > span { font-size: 1.1rem; letter-spacing: 0; margin-left: .35rem; color: var(--body); }
#diameter { width: 100%; margin: 0; height: 2.75rem; cursor: pointer; accent-color: var(--pine); }
.range-labels { display: flex; align-items: center; justify-content: space-between; }
.selection-summary { margin-bottom: .85rem; }
.finder-result h3 { margin-bottom: .75rem; }
.finder-result > p:not(.selection-summary) { color: var(--body); line-height: 1.6; }
.result-actions { flex-wrap: wrap; gap: .7rem 1.25rem; }

/* Closing and sources */
.closing { min-height: clamp(27rem, 38vw, 44rem); display: grid; align-items: center; position: relative; isolation: isolate; overflow: hidden; background: #172c20; color: var(--paper); }
.closing-image, .closing-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.closing-image { object-fit: cover; object-position: center; }
.closing-shade { background: linear-gradient(90deg,rgba(7,22,17,.94),rgba(8,23,17,.82) 33%,rgba(9,24,17,.2) 70%), linear-gradient(0deg,#0b20193b,transparent); }
.closing-content { padding-block: clamp(3.5rem,6.6vw,8rem); }
.closing h2 { font-size: clamp(3rem, 4.6vw, 5.7rem); max-width: 52rem; }
.closing h2 em { color: #dbe5cd; }
.closing .btn { margin-top: 1.9rem; }
footer { background: var(--paper); }
.footer-main { display: flex; gap: clamp(1.25rem, 3.2vw, 4.4rem); align-items: center; padding-block: 2.25rem; }
.footer-main > .brand-home { margin-right: auto; }
.footer-credit { padding-block: 1rem 1.7rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; color: var(--subtle); font-size: .82rem; }
.sources summary { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.7rem; font-weight: 500; color: var(--body); }
.sources .plus-sign { width: .65rem; height: .65rem; }
.sources > div { display: flex; flex-direction: column; gap: .4rem; margin-top: .4rem; font-size: .875rem; }
.sources a, .text-link { text-decoration: underline; text-underline-offset: .22em; }

/* Native modal maintains keyboard focus and Escape handling */
.family-dialog { position: fixed; width: min(53rem, calc(100% - 2.5rem)); max-height: calc(100dvh - 3rem); padding: 0; border: 0; background: var(--paper); color: var(--ink); border-radius: .35rem; box-shadow: 0 2rem 6rem #03140d66; }
.family-dialog::backdrop { background: rgba(5,18,12,.73); }
.dialog-shell { display: grid; grid-template-columns: .88fr 1.12fr; position: relative; }
#dialog-photo { width: 100%; height: 100%; position: absolute; top: 0; left: 0; width: 44%; object-fit: cover; }
.dialog-copy { grid-column: 2; padding: 3.2rem 2.1rem 2.4rem; }
.dialog-copy h2 { font-size: clamp(2rem, 3vw, 3rem); margin: 1rem 0; }
.dialog-copy h3 { margin-top: 1.3rem; margin-bottom: .25rem; font-size: 1rem; font-weight: 600; }
.dialog-copy > p:not(.eyebrow) { color: var(--body); }
.dialog-copy .btn { margin-top: 1.5rem; }
.close-dialog { position: absolute; top: .65rem; right: .65rem; width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.close-dialog > i { transform: rotate(45deg); }

@keyframes rise-in { from { opacity: .01; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-in { from { opacity: .5; transform: scale(1.018); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .is-seen { animation: rise-in .68s var(--ease) both; }
  .field-photo .photo-changing { animation: image-in .45s var(--ease); }
  .hero-copy { animation: rise-in .75s var(--ease) both; }
}
@media (min-width: 1650px) {
  .hero-zoom { left: 45%; }
}
@media (max-width: 1040px) {
  .desktop-nav { gap: 1.35rem; }
  .history-grid, .engineering-grid, .finder-grid { gap: 2.5rem; }
  .section-head > p { max-width: 17.5rem; }
  .family-copy { padding: 1.2rem; }
  .family-card { min-height: 19rem; }
  .part-list { gap: .4rem; }
  .part-note { min-height: 10.5rem; }
  .technical-plate { aspect-ratio: 1.05; }
}
@media (max-width: 840px) {
  :root { --header-h: 4.15rem; --gutter: clamp(1.25rem, 4.6vw, 2.5rem); }
  .masthead-inner { gap: 1rem; }
  .desktop-nav { gap: .88rem; }
  .desktop-nav a { font-size: .85rem; }
  .header-finder { padding-inline: .75rem; }
  .brand-home img { width: 6.4rem; }
  .hero { min-height: max(38rem, calc(100svh - var(--header-h))); }
  .hero-copy { padding-block: 3.25rem; }
  .hero h1 { font-size: clamp(2.8rem, 5.6vw, 3.25rem); }
  .hero-sub { max-width: 19rem; }
  .history-grid, .engineering-grid, .finder-grid { gap: 2rem; }
  .family-grid { gap: .62rem; }
  .family-copy { padding: 1rem; }
  .family-copy h3 { font-size: 1.42rem; }
  .family-card { min-height: 17.5rem; }
  .technical-object { width: 76%; }
  .engineering-grid { grid-template-columns: .95fr 1.05fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 3.8rem; }
  .desktop-nav { display: none; }
  .masthead-inner { gap: .7rem; }
  .brand-home img { width: 6.25rem; }
  .header-finder { margin-left: auto; min-height: 2.5rem; font-size: .81rem; padding-inline: .8rem; white-space: nowrap; }
  .header-finder .adjust-icon { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { display: flex; height: 2.75rem; align-items: center; gap: .5rem; font-size: .85rem; }
  .menu-lines { display: inline-block; width: 1.2rem; height: .9rem; position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--pine); top: 3px; transition: transform .2s; }
  .menu-lines::after { top: 10px; }
  .mobile-menu[open] .menu-lines::before { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu[open] .menu-lines::after { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; padding: .5rem var(--gutter) 1rem; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 1rem 2rem #12332228; }
  .mobile-menu nav a { padding-block: .7rem; border-bottom: 1px solid #d8ddcf; }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .hero { min-height: max(39.6rem, calc(100svh - var(--header-h))); }
  .hero-body { grid-template-columns: 100%; grid-template-rows: auto minmax(12rem,1fr); }
  .hero-copy { align-self: start; padding: clamp(1.85rem, 4.8vh, 3rem) 0 0; }
  .hero-origin { font-size: .75rem; gap: .64rem; }
  .hero-origin > span:first-child { width: 1.55rem; }
  .hero h1 { font-size: clamp(2.72rem, 9.75vw, 4rem); line-height: .97; margin: 1.05rem 0 .9rem; letter-spacing: -.07em; }
  .hero h1 em { font-size: 1.02em; margin-top: .07em; line-height: 1; }
  .hero-sub { max-width: 23rem; font-size: 1rem; }
  .hero-cta { margin-top: 1.2rem; min-height: 2.95rem; }
  .hero-bg img { object-position: center; }
  .hero-shade { background: linear-gradient(180deg,rgba(5,23,17,.88),rgba(6,24,17,.79) 29%,rgba(5,20,14,.25) 60%,rgba(6,18,12,.1) 78%,rgba(6,18,13,.83) 100%),linear-gradient(90deg,#0a201764,transparent 90%); }
  .hero-art { margin-left: calc(0px - var(--gutter)); margin-right: calc(0px - var(--gutter)); min-height: clamp(13.5rem, 30vh, 21rem); }
  .hero-zoom { top: 47%; left: 62%; width: min(65vw, 34vh, 21rem); }
  .hero-foot { min-height: 3.25rem; }
  .view-controls { gap: clamp(.7rem, 3vw, 1.35rem); }
  .view-controls button { font-size: .79rem; gap: .35rem; }
  .scroll-link { font-size: .75rem; gap: .38rem; }
  .scroll-sign { width: .68rem; height: 1rem; }
  .section-pad { padding-block: clamp(3.8rem, 10vw, 5.5rem); }
  h2 { font-size: clamp(2.6rem, 8.3vw, 3.8rem); }
  .history-grid, .engineering-grid, .finder-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .history-copy > p:not(.eyebrow) { max-width: 38rem; }
  .history-copy h2 { margin-bottom: 1.1rem; }
  .history-more { margin-top: 1rem; }
  .archive-mat img { aspect-ratio: 1.58; }
  .section-head { flex-direction: column; align-items: start; gap: 1rem; margin-bottom: 1.6rem; }
  .section-head > p { max-width: 31rem; }
  .family-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .family-card { min-height: 18rem; max-height: 28rem; aspect-ratio: 1.27; }
  .family-copy { padding: 1.45rem; }
  .family-copy h3 { font-size: clamp(1.45rem, 7.5vw, 2rem); margin: .4rem 0 1.1rem; }
  .family-shade { background: linear-gradient(0deg,rgba(7,23,17,.96),rgba(8,24,17,.6) 40%,rgba(8,24,17,.02) 80%); }
  .engineering-intro, .finder-heading > p:last-child { max-width: 34rem; }
  .part-list { margin-top: 1.3rem; }
  .part-note { min-height: 7rem; margin-top: 1.15rem; }
  .technical-plate { aspect-ratio: 1.22; }
  .technical-object { width: 69%; }
  .field-tabs { margin-top: 1.35rem; display: flex; gap: 0 .9rem; justify-content: flex-start; flex-wrap: wrap; border-bottom: 0; }
  .field-tabs button { padding: .55rem .1rem; min-height: 2.55rem; font-size: .9rem; }
  .field-figure { margin-top: 1rem; }
  .field-photo { aspect-ratio: 1.33; }
  .finder-panel { padding: 1.45rem; }
  .closing { min-height: 26rem; }
  .closing-image { object-position: 65% center; }
  .closing-shade { background: linear-gradient(60deg,rgba(7,22,16,.91),rgba(7,22,16,.65) 55%,rgba(7,22,16,.09)); }
  .closing h2 { font-size: clamp(2.55rem, 8.7vw, 4rem); }
  .footer-main { flex-wrap: wrap; gap: .8rem 1.25rem; }
  .footer-main > .brand-home { width: 100%; margin: 0 0 .5rem; }
  .footer-credit { flex-direction: column; gap: .5rem; padding-top: 1.3rem; }
  .dialog-shell { grid-template-columns: 1fr; }
  #dialog-photo { position: static; width: 100%; height: clamp(7rem,21vh,13.5rem); }
  .dialog-copy { grid-column: 1; padding: 1.5rem; }
  .dialog-copy h2 { margin: .65rem 0; }
}
@media (min-width: 530px) and (max-width: 720px) {
  .hero-body { grid-template-rows: auto 1fr; }
  .hero-zoom { left: 69%; }
  .hero-art { min-height: 15rem; }
  .family-card { aspect-ratio: 1.8; }
}
@media (max-width: 390px) {
  .mobile-menu > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mobile-menu > summary { min-width: 2.25rem; justify-content: end; }
  .hero-foot .scroll-link { font-size: 0; }
  .hero-foot .scroll-sign { width: .75rem; height: 1.12rem; }
  .hero-sub { max-width: 20rem; }
  .family-copy { padding: 1.15rem; }
  .finder-panel { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .hero-drift { transform: none; }
}
