/* Garboard | wooden boatyard
   1 tokens   2 base   3 header and menu (radar sweep)   4 entrance (plank)   5 hero (four quarters + drag slider)
   6 home sections   7 page heads, boats, boat   8 yard, crew, jobs   9 logbook, contact, privacy, 404   10 letters, footer
   11 small screens */

/* 1 tokens: change the look here */
:root {
  --bg: #e8ebea;          /* paper */
  --ink: #0f1a1f;         /* text */
  --muted: #5f6c70;       /* quiet text */
  --line: rgba(15, 26, 31, .16);
  --accent: #3f6b7c;      /* sea fog blue */
  --dark: #0f1a1f;        /* menu, letters, footer */
  --on-dark: #e8ebea;
  --f-head: "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --w-head: 500;
  --ls-head: -.045em;
  --gut: clamp(16px, 2.2vw, 32px);
  --radius: 0px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --glow: 0 0 1px rgba(0, 0, 0, .35), 0 0 6px rgba(0, 0, 0, .32), 0 0 14px rgba(0, 0, 0, .2);  /* follows the letters only */
}

/* 2 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); max-width: 1920px; margin-left: auto; margin-right: auto; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); }
.col-main { grid-column: 3 / 11; }
.col-wide { grid-column: 3 / 13; }
.col-full { grid-column: 1 / -1; }
.col-side { grid-column: 1 / 4; }
.col-text { grid-column: 5 / 12; }
.plus { grid-column: 1 / 3; font: 300 26px/1 var(--f-body); color: var(--muted); padding-top: .3em; }
.label { font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.dim { color: var(--muted); }
.is-dark .dim, .is-photo .dim { color: inherit; opacity: .72; }
.giant, .h1, .h2, .h3, .hero-name, .card-name, .statement-t, .menu-t, .crew-n, .job-t, .letters-t, .acc-t, .hero-boat { font-family: var(--f-head); font-weight: var(--w-head); letter-spacing: var(--ls-head); }
.giant { font-size: clamp(4.4rem, 15vw, 15rem); line-height: .86; }
.h1 { font-size: clamp(2.6rem, 6vw, 6.2rem); line-height: .98; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.6rem); line-height: 1.06; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; letter-spacing: -.02em; }
.body-l { font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 34em; color: var(--muted); }
.glow { text-shadow: var(--glow); }
.media { display: block; overflow: hidden; background: #cfd5d4; border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* letters that roll on hover: the word is written twice, the second slides up into place */
.roll { display: inline-block; position: relative; overflow: hidden; vertical-align: top; line-height: 1.15; }
.roll .r { display: inline-block; white-space: pre; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.roll .r2 { position: absolute; left: 0; top: 100%; display: flex; }
.roll .r2 .r { transform: none; }
:is(a, button):hover .roll .r { transform: translateY(-100%); }
.link { display: inline-flex; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.big-link { display: inline-flex; align-items: center; gap: .3em; margin-top: 1.6em; font: var(--w-head) clamp(1.6rem, 2.6vw, 2.6rem)/1 var(--f-head); letter-spacing: var(--ls-head); border-bottom: 1.5px solid currentColor; padding-bottom: .12em; }
.big-link svg { width: .8em; height: .8em; transition: transform .5s var(--ease); }
.big-link:hover svg { transform: translateX(.2em); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-weight: 500; }
.arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: var(--radius); transition: background .3s, color .3s; }
.arrow:hover { background: currentColor; }
.arrow:hover svg { color: var(--dark); }
.is-photo .arrow:hover svg { color: #000; }

/* 3 header and menu */
.head { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gut); color: var(--ink); pointer-events: none; transition: transform .6s var(--ease), color .35s var(--ease); }
/* over a photo or a dark section the header turns light, with the thin glow over photos (main.js part 3 sets .on-dark / .on-photo) */
.head.on-dark, html.menu-open .head { color: var(--on-dark); }
.head.on-photo { text-shadow: var(--glow); }
.head.on-photo .logo-mark { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .4)); }
html.menu-open .head { text-shadow: none; }
html.menu-open .head .logo-mark { filter: none; }
.head > * { pointer-events: auto; }
.head.hide { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--f-head); letter-spacing: -.03em; }
.logo-mark { flex: none; }
.menu-btn { padding: 10px 0 10px 16px; }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--dark); color: var(--on-dark); --a: 0deg;
  -webkit-mask: conic-gradient(from 0deg at 50% 50%, #000 var(--a), transparent 0); mask: conic-gradient(from 0deg at 50% 50%, #000 var(--a), transparent 0); }
.menu[hidden] { display: none; }
.menu.is-full { -webkit-mask: none; mask: none; }
.menu-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.menu-shade { position: absolute; inset: 0; background: rgba(15, 26, 31, .8); }
.menu-in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 340px; gap: var(--gut); padding: 110px var(--gut) 40px; overflow: auto; }
.menu-nav { display: flex; flex-direction: column; justify-content: flex-end; }
.menu-nav a { display: flex; align-items: baseline; gap: 22px; padding: .08em 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.menu-nav a:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.menu-i { width: 48px; opacity: .6; }
.menu-t { font-size: clamp(2.6rem, 7.4vh, 6.4rem); line-height: 1.08; transition: transform .5s var(--ease), color .3s; }
.menu-nav a:hover .menu-t, .menu-nav a[aria-current] .menu-t { transform: translateX(14px); color: var(--accent); }
.menu-side { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.menu-side a, .menu-side span { display: block; margin-top: 4px; }
.menu-k { opacity: .55; }
.menu-social { display: flex; gap: 18px; }
html.menu-open { overflow: hidden; }

/* 4 entrance: everything is pushed in from the left like a plank sliding into place.
   No fading. Hidden with visibility until it starts. */
html.js [data-in]:not(.is-in) { visibility: hidden; }
html.js [data-in].is-in:not(.split) { animation: plank 1.05s var(--ease) var(--dl, 0s) backwards; }
html.js [data-in].split .ln { display: block; animation: plank 1.05s var(--ease) calc(var(--dl, 0s) + var(--l) * .09s) backwards; }
@keyframes plank {
  from { clip-path: inset(-.4em 100% -.4em 0); transform: translateX(-1.4rem); }
  to { clip-path: inset(-.4em -2% -.4em 0); transform: none; }
}
.media[data-in].is-in img, [data-in].is-in > .media img { animation: settle 1.6s var(--ease) var(--dl, 0s) both; }
@keyframes settle { from { transform: scale(1.12) translateX(-2%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.js [data-in] { visibility: visible !important; animation: none !important; }
  html.js [data-in] .ln, .media img { animation: none !important; }
}

/* 5 hero: four quarters fly in and lock together, then the photo stays as the slider's first slide */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--dark); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero.is-drag { cursor: grabbing; }
.hero-track { display: flex; height: 100%; will-change: transform; }
.slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.slide.is-on img { transform: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 22%, transparent 52%, rgba(0, 0, 0, .5)); pointer-events: none; }
.hero-name { position: absolute; left: var(--gut); bottom: -.08em; margin: 0; font-size: clamp(5rem, 19vw, 24rem); line-height: .9; letter-spacing: -.065em; pointer-events: none; }
.hero-side { position: absolute; right: var(--gut); bottom: calc(min(19vw, 24rem) * .8 + 40px); width: 300px; display: grid; gap: 20px; }
.hero-titles { position: relative; min-height: 128px; }
.hero-side .label { font-size: 13px; }
.hero-side .dim { opacity: .88; }
.hero-t { position: absolute; inset: 0; visibility: hidden; }
.hero-t.is-on { visibility: visible; animation: plank .9s var(--ease) backwards; }
.hero-boat { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.hero-t .link { margin-top: 12px; }
.hero-nav { display: flex; align-items: center; gap: 8px; }
.hero-drag { margin-left: 8px; }
.assemble { position: absolute; inset: 0; z-index: 0; perspective: 1700px; pointer-events: none; }
.q { position: absolute; width: 50%; height: 50%; overflow: hidden; backface-visibility: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transform-origin: 50% 50%; }
.q:nth-child(1) { left: 0; top: 0; } .q:nth-child(2) { left: 50%; top: 0; }
.q:nth-child(3) { left: 0; top: 50%; } .q:nth-child(4) { left: 50%; top: 50%; }
.q img { position: absolute; width: 200%; height: 200%; max-width: none; object-fit: cover; }
.q:nth-child(2) img, .q:nth-child(4) img { left: -100%; }
.q:nth-child(3) img, .q:nth-child(4) img { top: -100%; }
.q i { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .34) 48%, rgba(255, 255, 255, .08) 54%, transparent 64%) 120% 0 / 280% 100% no-repeat, rgba(0, 0, 0, .25); }
.hero.is-intro .hero-track, .hero.is-intro .hero-name, .hero.is-intro .hero-side { visibility: hidden; }
.hero-shade { z-index: 1; } .hero-name, .hero-side { z-index: 2; }
.hero-name.is-in { animation: plank 1.2s var(--ease) backwards; }

/* 6 home sections */
.intro { padding-top: clamp(90px, 12vw, 180px); row-gap: 28px; }
.intro .h2 { margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin: clamp(40px, 6vw, 90px) 0; }
.stats li { border-top: 1px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; }
.stat-n { font: var(--w-head) clamp(3.4rem, 7vw, 7.4rem)/.9 var(--f-head); letter-spacing: var(--ls-head); }
.intro-more p { max-width: 34em; color: var(--muted); margin-bottom: 1em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.water { position: relative; margin-top: clamp(90px, 11vw, 170px); }
.water .media { width: min(82%, 1400px); margin: 0 auto; aspect-ratio: 16 / 8; }
.water-mark { position: absolute; left: 50%; top: 50%; width: clamp(90px, 12vw, 190px); transform: translate(-50%, -50%); color: #fff; filter: drop-shadow(0 0 18px rgba(0, 0, 0, .4)); }
.statement { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; margin-top: clamp(90px, 11vw, 170px); }
.statement > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); }
.statement-in { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 6vw, 90px); }
.statement-t { font-size: clamp(2.4rem, 6.4vw, 7rem); line-height: 1; max-width: 13em; }
.rows-sec { padding-top: clamp(90px, 11vw, 170px); }
.rows-h { margin-bottom: 36px; }
.rows-h sup { vertical-align: top; font-family: var(--f-body); letter-spacing: .08em; margin-left: 6px; }
.row { display: grid; grid-template-columns: 5fr 4fr 1fr; gap: var(--gut); padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.rows .row:last-child { border-bottom: 1px solid var(--line); }
.row-a { font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.row-b { color: var(--muted); font-size: 15px; }
.row-c { text-align: right; font-size: 13px; letter-spacing: .06em; }
.process, .trade { padding-top: clamp(90px, 11vw, 170px); row-gap: 28px; }
.process-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; margin-top: 40px; background: #cfd5d4; }
.pm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.pm.is-open { visibility: visible; animation: plank 1s var(--ease) backwards; }
.acc { margin-top: 10px; }
.acc-i { border-bottom: 1px solid var(--line); }
.acc-h { width: 100%; display: grid; grid-template-columns: 2fr 8fr 2fr; align-items: center; column-gap: var(--gut); padding: 26px 0; text-align: left; }
.acc-t { font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.1; }
.acc-x { justify-self: end; width: 20px; height: 20px; position: relative; }
.acc-x::before, .acc-x::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.acc-x::after { transform: rotate(90deg); }
.acc-i.is-open .acc-x::after { transform: rotate(0); }
.acc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-i.is-open .acc-b { grid-template-rows: 1fr; }
.acc-in { overflow: hidden; margin-left: calc((100% + var(--gut)) / 6); max-width: 40em; }
.acc-in p { color: var(--muted); padding-bottom: 14px; }
.acc-in ul { padding-bottom: 28px; }
.acc-in li { padding: 3px 0; }
.acc-in li::before { content: "\2014\00a0\00a0"; color: var(--muted); }
.marks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mark { display: grid; justify-items: center; align-content: center; gap: 8px; text-align: center; min-height: 200px; padding: 24px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mark svg { color: var(--accent); margin-bottom: 6px; }
.mark b { font: 600 17px/1.1 var(--f-head); letter-spacing: -.01em; text-transform: uppercase; }
.feature { padding-top: clamp(90px, 11vw, 170px); }
.feature-media { aspect-ratio: 21 / 9; margin-bottom: 48px; }
.feature .h2 { margin: 14px 0 22px; }
.words { padding-top: clamp(90px, 11vw, 170px); padding-bottom: clamp(90px, 11vw, 170px); display: grid; grid-template-columns: 7fr 5fr; gap: var(--gut); align-items: end; }
.words-list { position: relative; display: grid; margin: 26px 0 30px; }
.word { grid-area: 1 / 1; visibility: hidden; }
.word.is-on { visibility: visible; animation: plank 1s var(--ease) backwards; }
.word blockquote { font: var(--w-head) clamp(1.5rem, 2.5vw, 2.4rem)/1.2 var(--f-head); letter-spacing: -.025em; margin-bottom: 20px; }
.words-nav { display: flex; gap: 8px; }
.words-media { aspect-ratio: 4 / 5; }

/* 7 page heads, boats, boat */
.phead { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.phead > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 30%, transparent 55%, rgba(0, 0, 0, .45)); }
.phead-in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(18px, 2vw, 32px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); align-items: end; }
.phead-in > * { grid-column: 1 / -1; }
.phead-top { grid-column: 7 / 12 !important; font-size: 15px; max-width: 30em; margin-bottom: clamp(60px, 14vh, 180px); }
.phead-scroll { grid-column: 1 / 3 !important; position: absolute; left: var(--gut); bottom: calc(100% - 140px); writing-mode: vertical-rl; letter-spacing: .3em; opacity: .7; }
.phead .giant { margin-bottom: -.06em; }
.phead-plain { padding-top: 120px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); position: relative; }
.phead-plain > * { grid-column: 1 / -1; }
.phead-plain .phead-scroll { top: 130px; bottom: auto; }
.lead-sec { padding-top: clamp(80px, 10vw, 150px); row-gap: 28px; }
.lead-sec .h2 { margin-bottom: 26px; }
.yard-photo { aspect-ratio: 16 / 8; margin-top: 60px; }
.stack { padding-top: clamp(80px, 10vw, 150px); }
.card { position: sticky; top: 10vh; display: grid; place-items: center; height: 80vh; min-height: 420px; overflow: hidden; color: #fff; margin-bottom: 6vh; border-radius: var(--radius); background: var(--dark); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .14); }
.card-name { position: relative; z-index: 1; font-size: clamp(3.6rem, 13vw, 13rem); line-height: .9; }
.card-meta { position: absolute; z-index: 1; left: 22px; right: 22px; top: 20px; display: flex; justify-content: space-between; gap: 12px; }
.close-sec { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(90px, 11vw, 170px); }
.boat-intro { padding-top: clamp(80px, 10vw, 150px); row-gap: 40px; }
.specs { display: grid; gap: 0; align-self: start; }
.specs > div { padding: 14px 0; border-top: 1px solid var(--line); }
.specs dd { font-weight: 500; }
.prose { margin-top: 30px; }
.prose p { max-width: 36em; margin-bottom: 1.1em; color: var(--muted); }
.prose h2 { margin: 1.6em 0 .6em; }
.prose-l p { font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--ink); }
.gallery { padding-top: clamp(70px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); }
.gallery .media { aspect-ratio: 4 / 3; }
.gallery .media:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }  /* an odd last photo takes the full width */
.quote-sec { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.quote { font-size: clamp(2.2rem, 4.8vw, 5rem); }
.next { position: relative; display: flex; align-items: flex-end; min-height: 80vh; color: #fff; overflow: hidden; }
.next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.next:hover > img { transform: scale(1.04); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); }
.next-in { position: relative; z-index: 1; width: 100%; display: grid; gap: 8px; padding-bottom: var(--gut); }
.next-in .giant { margin-bottom: -.06em; }

/* 8 yard, crew, jobs */
.crew-sec { padding-top: clamp(90px, 11vw, 170px); position: relative; }
.crew-sec .h1 { margin: 12px 0 40px; }
.crew-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.crew-list li:last-child .crew-row { border-bottom: 1px solid var(--line); }
.crew-n { font-size: clamp(2rem, 5.2vw, 5.4rem); line-height: 1; text-transform: uppercase; transition: transform .5s var(--ease), color .3s; }
.crew-row:hover .crew-n { transform: translateX(14px); color: var(--accent); }
.crew-thumb { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: 240px; aspect-ratio: 3 / 4; background: #ccc center / cover no-repeat; pointer-events: none; visibility: hidden; clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease), visibility 0s .5s; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.peek.is-on { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--ease); }
.jobs-sec { padding-top: clamp(90px, 11vw, 170px); row-gap: 28px; }
.jobs { margin-top: 30px; }
.job-row { display: grid; grid-template-columns: 4fr 6fr 2fr; gap: var(--gut); align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.jobs li:last-child .job-row { border-bottom: 1px solid var(--line); }
.job-t { font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.05; }
.job-s { color: var(--muted); }
.job-go { justify-self: end; }
.person { padding-top: 120px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 40px; position: relative; }
.person-head { grid-column: 1 / -1; }
.person-head .phead-scroll { top: 10px; bottom: auto; }
.person-name { font-size: clamp(3.2rem, 9vw, 10rem); line-height: .9; margin-top: 12px; }
.person-photo { grid-column: 1 / 6; aspect-ratio: 4 / 5; align-self: start; }
.person-text { grid-column: 7 / 13; }
.person-text .prose { margin-top: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); margin-top: 40px; }
.facts ul { margin-top: 14px; }
.facts li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.crew-more { padding-top: clamp(90px, 11vw, 170px); padding-bottom: clamp(90px, 11vw, 170px); }
.crew-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gut); margin-top: 34px; }
.crew-cards a { display: grid; gap: 6px; }
.crew-cards .media { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.crew-cards .media img { transition: transform 1.2s var(--ease); }
.crew-cards a:hover .media img { transform: scale(1.05); }
.job { padding-top: 140px; }
.job-meta { display: flex; gap: 50px; margin-bottom: 30px; }
.job-h { font-size: clamp(3.4rem, 10vw, 10rem); }
.job-body { padding-top: clamp(80px, 10vw, 150px); }
.job-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin-top: 50px; }
.job-lists ul { margin-top: 14px; }
.job-lists li { padding: 12px 0; border-top: 1px solid var(--line); }
.apply { margin-top: 70px; padding: 34px; background: var(--dark); color: var(--on-dark); display: grid; gap: 12px; justify-items: start; border-radius: var(--radius); }
.jobs-next { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(90px, 11vw, 170px); }
.next-line { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 24px; }

/* 9 logbook, contact, privacy, 404 */
.posts { padding-top: clamp(70px, 8vw, 130px); padding-bottom: clamp(90px, 11vw, 170px); display: grid; gap: clamp(60px, 8vw, 120px); }
.post-row { display: grid; grid-template-columns: 6fr 5fr; gap: var(--gut); align-items: end; }
.post-row:nth-child(even) { grid-template-columns: 5fr 6fr; }
.post-row:nth-child(even) .media { order: 2; }
.post-row .media { aspect-ratio: 4 / 3; }
.post-row .media img { transition: transform 1.2s var(--ease); }
.post-row .media:hover img { transform: scale(1.04); }
.post-row-t { display: grid; gap: 16px; justify-items: start; }
.post-row-t p:not(.label) { color: var(--muted); max-width: 32em; }
.post-head { padding-top: 140px; display: grid; gap: 22px; max-width: 1400px; }
.post-head .body-l { max-width: 40em; }
.post-photo { padding-top: 50px; }
.post-photo .media { aspect-ratio: 16 / 8; }
.post-body { padding-top: clamp(60px, 7vw, 110px); padding-bottom: clamp(90px, 11vw, 170px); }
.post-body .prose { margin-top: 0; }
.contact { padding-top: clamp(70px, 8vw, 120px); display: grid; grid-template-columns: 7fr 4fr; gap: calc(var(--gut) * 3); align-items: start; }
.form { display: grid; gap: 26px; }
.form .h2 { margin-bottom: 10px; }
.field { display: grid; gap: 6px; }
.field label, .chips legend { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 0; font-size: 20px; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--line); cursor: pointer; transition: background .3s, color .3s, border-color .3s; border-radius: var(--radius); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-err { color: #b0352a; }
.contact-dl { display: grid; }
.contact-dl > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.contact-dl dd { font-size: 18px; }
.contact-side .big-link { font-size: clamp(1.4rem, 2vw, 2rem); }
.contact-photo { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(90px, 11vw, 170px); }
.contact-photo .media { aspect-ratio: 16 / 7; }
.lost .phead-in { gap: 18px; padding-bottom: clamp(40px, 6vw, 80px); }
.lost .body-l { color: #fff; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }

/* 10 letters, footer, back to top */
.is-dark { background: var(--dark); color: var(--on-dark); }
.letters { padding: clamp(80px, 9vw, 140px) 0 clamp(50px, 6vw, 90px); }
.letters-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); }
.letters-t, .letters-form { grid-column: 3 / 11; }
.letters-t { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; max-width: 18em; margin-bottom: 34px; }
.letters-form { display: grid; grid-template-columns: 1fr auto; align-items: end; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.letters-form input { border: 0; background: transparent; padding: 12px 0; font: var(--w-head) clamp(1.8rem, 4vw, 4rem)/1.1 var(--f-head); letter-spacing: var(--ls-head); min-width: 0; }
.letters-form input::placeholder { color: rgba(255, 255, 255, .35); }
.letters-form input:focus { outline: none; }
.letters-form button { padding: 16px 0 16px 16px; }
.letters-note, .letters-ok { grid-column: 1 / -1; font-size: 13px; opacity: .6; padding: 16px 0; max-width: 46em; position: relative; top: 100%; }
.letters-ok { opacity: 1; }
.foot { padding-top: clamp(60px, 6vw, 90px); border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-top { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: var(--gut); padding-bottom: 60px; }
.foot-line { margin-top: 18px; max-width: 18em; opacity: .7; }
.foot-col { display: grid; align-content: start; gap: 8px; }
.foot-col .label { opacity: .55; margin-bottom: 8px; }
.foot-col a, .foot-col span { font-size: 15px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-social { display: flex; gap: 20px; }
.foot-top-link { display: inline-flex; align-items: center; gap: 8px; }
.to-top { position: fixed; right: var(--gut); bottom: var(--gut); z-index: 45; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border-radius: 50%; visibility: hidden; transform: translateY(160%); transition: transform .6s var(--ease), visibility 0s .6s; }
.to-top.is-on { visibility: visible; transform: none; transition: transform .6s var(--ease); }
.copied-tip { position: absolute; z-index: 70; padding: 4px 8px; background: var(--accent); color: #fff; font-size: 12px; pointer-events: none; }

/* 11 small screens */
@media (max-width: 1100px) {
  .col-main, .col-wide { grid-column: 2 / 13; }
  .plus { grid-column: 1 / 2; }
  .menu-in { grid-template-columns: 1fr; padding-top: 96px; }
  .menu-side { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 28px 50px; }
  .crew-cards { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-lead { grid-column: 1 / -1; }
  .contact { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .grid > *, .col-main, .col-wide, .col-full, .col-side, .col-text, .plus { grid-column: 1 / -1; }
  .plus { display: none; }
  .hero-name { font-size: 23vw; bottom: -.04em; }
  .hero-side { left: var(--gut); right: var(--gut); width: auto; bottom: calc(23vw * .9 + 14px); grid-template-columns: 1fr auto; align-items: end; }
  .hero-count { grid-column: 1 / -1; }
  .hero-titles { min-height: 116px; }
  .hero-side .label { font-size: 14px; }
  .hero-nav .arrow { width: 50px; height: 50px; }
  .hero-drag { display: none; }
  .hero-boat { font-size: 40px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .water .media { width: 100%; aspect-ratio: 4 / 3; }
  .statement { min-height: 86vh; }
  .row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .row-b { grid-column: 1 / 2; grid-row: 2; }
  .row-c { grid-row: 1; grid-column: 2; }
  .process-media { aspect-ratio: 4 / 3; }
  .acc-h { grid-template-columns: 40px 1fr 24px; padding: 20px 0; }
  .acc-in { margin-left: 0; }
  .marks { grid-template-columns: 1fr 1fr; }
  .mark { min-height: 150px; }
  .feature-media { aspect-ratio: 4 / 3; }
  .words { grid-template-columns: 1fr; }
  .words-media { order: -1; aspect-ratio: 4 / 3; }
  .phead-top { grid-column: 1 / -1 !important; margin-bottom: 50px; }
  .phead-scroll { display: none; }
  .card { height: 70vh; min-height: 380px; top: 12vh; }
  .card-meta span:nth-child(2) { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .media, .gallery .media:last-child:nth-child(odd) { grid-column: 1; aspect-ratio: 4 / 3; }
  .yard-photo { aspect-ratio: 4 / 3; }
  .crew-row { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
  .crew-thumb { display: block; grid-row: 1 / 3; grid-column: 1; width: 64px; height: 80px; object-fit: cover; }
  .crew-n { font-size: 1.8rem; }
  .peek { display: none; }
  .job-row { grid-template-columns: 1fr; gap: 6px; }
  .job-go { justify-self: start; }
  .person { grid-template-columns: 1fr; }
  .person-photo, .person-text { grid-column: 1; }
  .facts { grid-template-columns: 1fr; }
  .crew-cards { grid-template-columns: 1fr 1fr; }
  .job-lists { grid-template-columns: 1fr; }
  .apply { padding: 24px; }
  .post-row, .post-row:nth-child(even) { grid-template-columns: 1fr; }
  .post-row:nth-child(even) .media { order: 0; }
  .post-photo .media, .contact-photo .media { aspect-ratio: 4 / 3; }
  .letters-t, .letters-form { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 84px; }
  .menu-t { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .menu-i { width: 36px; }
}
@media (max-width: 380px) {
  .stat-n { font-size: 2.8rem; }
  .card-name { font-size: 3.2rem; }
  .menu-side { gap: 20px; }
}
