/* Ridgeline: geoffchandler.com
 * Values follow mockups/*.dc.html. Square corners, no shadows, 1px rules.
 * Motion: CSS first, scroll timelines with static fallbacks, all off under
 * prefers-reduced-motion. */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	--ground: #0C1412;
	--panel: #131D1A;
	--far: #101917;
	--text: #F1EDE4;
	--soft: #D4D8D0;
	--prose: #DADDD5;
	--muted: #A9B3AC;
	--hair: #36443F;
	--control: #56645F;
	--control-2: #8C9891;
	--amber: #E9B15C;
	--error: #F4A28C;

	--serif: "Instrument Serif", Georgia, serif;
	--sans: "Manrope", system-ui, sans-serif;

	--pad-y: clamp(72px, 9vw, 130px);
	--pad-x: clamp(20px, 5vw, 72px);
	--ease-out: cubic-bezier(.2, .7, .2, 1);

	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: var(--text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber); }
button { font: inherit; color: inherit; }
button:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; }
p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 100;
	background: var(--amber); color: var(--ground);
	padding: 12px 18px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ground); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
.eyebrow {
	margin: 0 0 20px;
	font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--amber);
}
.eyebrow--spaced { margin-bottom: 24px; }
.eyebrow--head { margin-bottom: 16px; }
.eyebrow--keep { margin-bottom: 32px; }
.h-page, .h-section, .h-statement, .h-contact, .hero__title {
	margin: 0; font-family: var(--serif); font-weight: 400;
}
.h-page { font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -.015em; }
.h-section { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.01em; }
.h-statement { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
.h-contact { font-size: clamp(64px, 10vw, 148px); line-height: .94; letter-spacing: -.015em; }
.muted { color: var(--muted); }
.caption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.lede { margin: 28px 0 0; max-width: 620px; color: var(--soft); }

.text-link {
	display: inline-block; padding: 12px 0;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}

.btn {
	display: inline-block; text-decoration: none; cursor: pointer;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6;
}
.btn--outline { border: 1px solid var(--text); padding: 13px 22px; }
.btn--outline:hover { border-color: var(--amber); }
.btn--outline[aria-current="page"] { border-color: var(--amber); color: var(--amber); }
.btn--nav { padding: 12px 20px; }
.btn--primary { border: 0; background: var(--amber); color: var(--ground); padding: 17px 32px; }
.btn--primary:hover { background: var(--text); color: var(--ground); }

/* ---------- Signature ---------- */
.signature { display: block; width: auto; color: var(--text); }
.signature--nav { height: 48px; }
.nav--home .signature--nav { height: 52px; }
.signature--post { height: 60px; margin-top: 28px; }
.nav__logo { display: block; line-height: 0; color: var(--text); }
.nav__logo:hover .signature { color: var(--amber); }
/* "Writes itself": a feathered left-to-right wipe, first page view per session. */
html:not(.sig-seen) .signature--nav {
	-webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
	mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
	-webkit-mask-size: 300% 100%;
	mask-size: 300% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	animation: sig-write 2.2s cubic-bezier(.45, .05, .35, 1) .25s both;
}
@keyframes sig-write {
	from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
	to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* ---------- Navigation ---------- */
.site-header--bordered { border-bottom: 1px solid var(--hair); }
.nav {
	position: relative; z-index: 3;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px 32px;
	padding: 22px var(--pad-x);
}
.nav--home { padding-top: 26px; padding-bottom: 26px; }
.nav__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.status { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.status__dot {
	position: relative;
	flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}
/* The ring is a scaled copy of the dot: transform + opacity stay on the
   compositor. (Animating box-shadow repainted every frame, forever.) */
.status__dot::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--amber);
	animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
	0% { transform: scale(1); opacity: .65; }
	60%, 100% { transform: scale(3.25); opacity: 0; }
}
.nav__links {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.nav__link { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid transparent; }
.nav__link[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
.nav__toggle {
	display: none; align-items: center; gap: 12px;
	background: none; border: 1px solid var(--text); padding: 12px 16px; cursor: pointer;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.nav__toggle-icon, .nav__toggle-icon::before {
	display: block; width: 16px; height: 1px; background: currentColor; position: relative;
}
.nav__toggle-icon::before { content: ""; position: absolute; top: 5px; }
.nav__toggle-icon { margin-top: -5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon { transform: translateY(2.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::before { transform: translateY(-5px) rotate(-90deg); }

@media (max-width: 759px) {
	.js .nav__toggle { display: inline-flex; }
	.js .nav--inner .nav__links {
		display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
		border-top: 1px solid var(--hair); margin-top: 6px;
	}
	.js .nav--inner.is-open .nav__links { display: flex; }
	.js .nav--inner .nav__link { padding: 16px 0; border-bottom: 1px solid var(--hair); }
	.js .nav--inner .nav__link[aria-current="page"] { border-bottom-color: var(--hair); }
	.js .nav--inner .btn--nav { margin-top: 16px; text-align: center; }
	.hero .nav--inner.is-open { background: rgba(12, 20, 18, .94); }
	.signature--nav { height: 40px; }
	.nav--home .signature--nav { height: 44px; }
	/* Home: signature and Say hi share one row; the status is a small line under it. */
	.nav--home { padding-top: 16px; padding-bottom: 0; gap: 4px 16px; }
	.nav--home .nav__right { display: contents; }
	.nav--home .btn--outline { padding: 9px 16px; font-size: 12px; }
	.nav--home .status { order: 3; flex: 1 0 100%; gap: 8px; font-size: 12px; color: var(--soft); }
	.nav--home .status__dot { flex-basis: 6px; width: 6px; height: 6px; }
}

/* ---------- Hero (Home and single note) ---------- */
.hero {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between;
}
.hero--home { min-height: clamp(640px, 100svh, 900px); }
.hero--post { min-height: clamp(560px, 90svh, 760px); }
.hero__media { position: absolute; inset: 0; }
.hero__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: opacity .6s ease;
}
.hero__img--sand { opacity: 0; }
.hero--home[data-view="sand"] .hero__img--sand { opacity: 1; }
.hero--home[data-view="sand"] .hero__img--mountains { opacity: 0; }
.drift { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12, 20, 18, .6) 0%, rgba(12, 20, 18, .1) 30%, rgba(12, 20, 18, .92) 100%);
}
.hero__shade--post {
	background: linear-gradient(180deg, rgba(12, 20, 18, .65) 0%, rgba(12, 20, 18, .15) 35%, rgba(12, 20, 18, .92) 100%);
}
@media (max-width: 699px) {
	/* Narrow screens put the eyebrow over bright sky; darken the top half more. */
	.hero__shade { background: linear-gradient(180deg, rgba(12, 20, 18, .65) 0%, rgba(12, 20, 18, .4) 35%, rgba(12, 20, 18, .94) 100%); }
	/* And a scrim behind the text block itself, so the amber eyebrow keeps 4.5:1 over sun-lit sky. */
	.hero--home .hero__text {
		padding-top: 72px;
		background: linear-gradient(180deg, rgba(12, 20, 18, 0) 0, rgba(12, 20, 18, .6) 64px, rgba(12, 20, 18, .45) 50%, rgba(12, 20, 18, 0) 100%);
	}
}
.hero__body { position: relative; }
.hero__text { padding: 0 var(--pad-x) 56px; max-width: 1100px; }
.hero__title--home { font-size: clamp(52px, 9vw, 136px); line-height: .98; letter-spacing: -.015em; }
.hero__title--post { font-size: clamp(56px, 10vw, 148px); line-height: .96; letter-spacing: -.015em; }
.hero__half { transition: color .6s ease; }
.hero--home .hero__half--mountains,
.hero--home[data-view="sand"] .hero__half--sand { font-style: italic; color: var(--amber); }
.hero--home[data-view="sand"] .hero__half--mountains { font-style: normal; color: var(--text); }
.hero__intro { margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 20px); max-width: 600px; }
.hero__intro--post { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); max-width: 620px; }

.switch { margin-top: 32px; display: inline-flex; border: 1px solid rgba(241, 237, 228, .6); }
.switch__btn {
	border: 0; background: transparent; color: var(--text); cursor: pointer;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	padding: 14px 22px; transition: background-color .3s ease, color .3s ease;
}
.switch__btn[aria-pressed="true"] { background: var(--text); color: var(--ground); }
.switch__btn[aria-pressed="true"]:hover { color: var(--ground); }

.index-bar {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	border-top: 1px solid rgba(241, 237, 228, .35);
}
.index-bar a {
	display: flex; flex-direction: column; gap: 2px; text-decoration: none;
	padding: 20px clamp(20px, 2.4vw, 32px);
	border-right: 1px solid rgba(241, 237, 228, .2);
}
.index-bar a:last-child { border-right: 0; }
.index-bar__num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--amber); }
.index-bar__label { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
@media (max-width: 599px) {
	.index-bar { grid-template-columns: repeat(3, 1fr); }
	.index-bar a { padding: 14px 12px 14px var(--pad-x); border-bottom: 1px solid rgba(241, 237, 228, .2); }
	.index-bar a:nth-child(3n) { border-right: 0; }
	.index-bar a:nth-child(n+4) { border-bottom: 0; }
	.index-bar a:nth-child(3n+2), .index-bar a:nth-child(3n) { padding-left: 12px; }
	.index-bar__label { font-size: 19px; }
}
@media (max-width: 379px) {
	.index-bar__label { font-size: 17px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--pad-y) var(--pad-x); }
.section--panel { background: var(--panel); }
.section-head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px 48px; margin-bottom: 48px;
}
.route .section-head { margin-bottom: 56px; }
.section-head__note { max-width: 380px; color: var(--muted); }

/* Who this is */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px clamp(40px, 6vw, 96px); }
.about__figure { flex: 1 1 300px; max-width: 420px; }
.about__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text { flex: 2 1 480px; max-width: 760px; min-width: 0; }
.facts--about {
	margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px 32px;
}
.facts--about > div { border-top: 1px solid var(--hair); padding-top: 14px; }
.facts--about dt, .now__row dt, .facts-strip dt, .contact__facts dt, .card__label, .form__label {
	font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.facts--about dd { margin-top: 6px; font-family: var(--serif); font-size: 26px; line-height: 1.2; }

/* Right now */
.now__head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 8px 40px; margin-bottom: 40px;
}
.now__head .eyebrow { margin: 0; }
.now__updated { font-size: 14px; color: var(--muted); }
.now__row { display: flex; flex-wrap: wrap; gap: 6px 48px; padding: 28px 0; border-top: 1px solid var(--hair); }
.now__row:last-child { border-bottom: 1px solid var(--hair); }
.now__row dt { flex: 0 0 220px; font-size: 13px; padding-top: 12px; }
.now__row dd { flex: 1 1 460px; min-width: 0; font-family: var(--serif); font-size: clamp(26px, 2.9vw, 42px); line-height: 1.18; }
@media (max-width: 599px) { .now__row dt { padding-top: 0; } }

/* Photo band */
.band { position: relative; height: clamp(340px, 44vw, 640px); overflow: hidden; }
.band__img { width: 100%; height: 100%; object-fit: cover; }
.band__caption {
	position: absolute; right: var(--pad-x); bottom: 28px;
	font-size: 13px; font-weight: 600; background: var(--ground); padding: 10px 16px;
}

/* Route */
.route__stops { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 0; }
.route__stop { position: relative; padding-right: 20px; border-top: 1px solid rgba(233, 177, 92, .28); }
.route__stop::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
	background: var(--amber); transform-origin: left center;
}
.route__stop--next { border-top: 1px dashed var(--amber); }
.route__stop--next::before { content: none; }
.route__dot {
	display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--amber);
	margin-top: -6px; position: relative;
}
.route__stop--next .route__dot { background: var(--ground); border: 1px solid var(--amber); }
.route__num, .route__place, .route__note { display: block; }
.route__num { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.route__place { margin-top: 4px; font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.route__note { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Made */
.ridge { display: block; width: 100%; height: auto; margin-bottom: -1px; }
.ridge__fill { fill: var(--panel); }
.ridge__ticks { fill: none; stroke: var(--muted); stroke-opacity: .35; stroke-width: 1; }
.ridge__line { fill: none; stroke: var(--amber); stroke-width: 1.75; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ridge__labels { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 2px; fill: var(--muted); }
@media (max-width: 699px) { .ridge__labels { display: none; } }
.made__body { padding: clamp(32px, 4vw, 56px) var(--pad-x) var(--pad-y); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.card {
	border: 1px solid var(--hair); padding: clamp(24px, 2.6vw, 36px); min-height: 300px;
	display: grid; grid-template-rows: 1fr auto auto; align-items: start;
}
.card__label { margin-bottom: 36px; }
/* Cards share row tracks, so label, title and link sit at the same height in every card. */
@supports (grid-template-rows: subgrid) {
	.card { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; min-height: 0; }
	.card__label { margin-bottom: 72px; }
}
.card--next { border: 1px dashed var(--amber); }
.card__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.card__text { margin-top: 12px; font-size: 16px; color: var(--soft); }
.card .text-link { margin-top: 16px; }

/* Home photo teaser */
.teaser__grid { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.teaser__list { flex: 1 1 320px; display: flex; flex-direction: column; min-width: 0; }
.teaser__item {
	display: flex; align-items: baseline; gap: 20px; width: 100%; text-align: left;
	padding: 17px 0; border: 0; border-top: 1px solid var(--hair); background: none; cursor: pointer;
	color: var(--text); transition: color .25s ease;
}
.teaser__item[aria-pressed="true"] { color: var(--amber); }
.teaser__item[aria-pressed="true"] .teaser__title { font-style: italic; }
.teaser__num { flex: 0 0 28px; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.teaser__title { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; }
.teaser__all { margin-top: 28px; align-self: flex-start; }
.teaser__frame { flex: 2 1 480px; min-width: 0; }
.teaser__stack { position: relative; height: clamp(320px, 42vw, 600px); overflow: hidden; background: var(--panel); }
.teaser__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity .5s ease;
}
.teaser__img.is-active { opacity: 1; }

/* Notes lists */
.notes-teaser { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.notes-teaser__intro { flex: 1 1 300px; max-width: 420px; }
.notes-teaser__intro .h-section { margin-bottom: 16px; }
.notes-teaser__intro .text-link { margin-top: 20px; }
.notes-teaser .note-list { flex: 3 1 480px; min-width: 0; display: flex; flex-direction: column; }
.note-row {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
	gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--hair); text-decoration: none;
}
.note-list--closed .note-row { padding: 24px 0; border-bottom: 0; border-top: 1px solid var(--hair); }
.note-list--closed .note-row:last-child { border-bottom: 1px solid var(--hair); }
.note-row__title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.note-row__meta { font-size: 14px; color: var(--muted); }
.note-row:hover .note-row__meta { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer {
	position: relative; min-height: 420px; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.site-footer--home { min-height: 480px; }
.site-footer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-footer__shade { position: absolute; inset: 0; background: rgba(12, 20, 18, .5); }
.site-footer__inner {
	position: relative; padding: 56px var(--pad-x);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px;
}
.site-footer__line {
	font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: .98; letter-spacing: -.015em;
}
.site-footer__words { min-width: 0; }
.site-footer__motto {
	font-family: var(--serif); font-size: clamp(30px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.015em;
}
.site-footer__motto span { display: block; }
.site-footer__motto em, .site-footer__line em { color: var(--amber); }
.site-footer__motto + .site-footer__line { margin-top: 20px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: 0; }
.site-footer__links {
	display: flex; flex-wrap: wrap; gap: 8px 32px;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.site-footer__links a { display: inline-block; padding: 12px 0; }

/* ---------- Inner page head ---------- */
.page-head {
	padding: clamp(56px, 7vw, 100px) var(--pad-x) 48px;
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px;
}
.page-head__note { max-width: 400px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { padding: 0 var(--pad-x) clamp(72px, 9vw, 120px); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 36px; }
.chips[hidden] { display: none; }
.chips__label {
	margin-right: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.chip {
	cursor: pointer; font-size: 15px; font-weight: 600; padding: 11px 20px;
	border: 1px solid var(--control); background: transparent; color: var(--text);
}
.chip:hover { border-color: var(--amber); }
.chip[aria-pressed="true"] { border-color: var(--amber); background: var(--amber); color: var(--ground); }
.chip__count { opacity: .7; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 40px 20px; }
.tile-wrap[hidden] { display: none; }
.tile { display: block; text-decoration: none; color: var(--text); }
.tile:focus-visible { outline-offset: 4px; }
.tile__frame { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--panel); } /* holds the space while a deferred tile waits */
.tile__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease, clip-path 1.1s var(--ease-out); }
.tile:hover .tile__img, .tile:focus-visible .tile__img { transform: scale(1.045); }
.tile__caption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.tile__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.tile__title { font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.tile:hover .tile__title { color: var(--amber); }
.gallery__note { margin-top: 56px; max-width: 560px; }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0;
	background: rgba(8, 13, 12, .97); color: var(--text);
}
.lightbox[open] { display: flex; flex-direction: column; animation: fadein .25s ease both; }
.lightbox::backdrop { background: transparent; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 16px clamp(16px, 3vw, 40px);
}
.lightbox__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; min-width: 0; }
.lightbox__count { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--amber); }
.lightbox__title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; }
.lightbox__place { font-size: 14px; color: var(--muted); }
.lightbox__stage {
	flex: 1 1 auto; min-height: 0; display: flex; align-items: center;
	gap: clamp(8px, 2vw, 24px); padding: 0 clamp(8px, 2vw, 24px) clamp(16px, 3vw, 32px);
	touch-action: pan-y;
}
.lightbox__img { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; object-fit: contain; }
.icon-btn {
	flex: 0 0 48px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--text); background: transparent; color: var(--text); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--amber); }
@media (max-width: 599px) {
	.lightbox__stage { flex-wrap: wrap; justify-content: center; align-content: center; }
	.lightbox__img { order: -1; flex: 0 0 100%; height: auto; max-height: calc(100% - 72px); }
}

/* ---------- Notes index ---------- */
.featured-wrap { padding: 0 var(--pad-x); }
.featured {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(360px, 42vw, 560px); text-decoration: none; color: var(--text); overflow: hidden;
}
.featured:hover { color: var(--text); }
.featured__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 18, .1) 30%, rgba(12, 20, 18, .9) 100%); }
.featured__body { position: relative; display: block; padding: clamp(24px, 3.4vw, 48px); }
.featured__body .eyebrow { display: block; margin: 0; }
.featured__title { display: block; margin-top: 10px; font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: 1; font-style: italic; }
.featured:hover .featured__title { color: var(--amber); }
.featured__dek { display: block; margin-top: 12px; max-width: 560px; }
.years { padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(72px, 9vw, 120px); }
.year { display: flex; flex-wrap: wrap; gap: 8px 48px; border-top: 1px solid var(--text); padding-top: 20px; margin-bottom: 56px; }
.year:last-child { margin-bottom: 0; }
.year__label { flex: 0 0 220px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--amber); }
.year .note-list { flex: 1 1 480px; min-width: 0; }

/* ---------- Single note ---------- */
.facts-strip {
	padding: 0 var(--pad-x);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	border-bottom: 1px solid var(--hair);
}
.facts-strip > div { padding: 22px 24px 22px 0; }
.facts-strip dd { margin-top: 4px; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.post-body { padding-bottom: clamp(72px, 9vw, 120px); }
.post-copy {
	box-sizing: content-box; max-width: 720px; margin: 0 auto;
	padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 48px) 0;
}
.post-copy > :first-child { margin-top: 0; }
.post-copy p, .post-copy ul, .post-copy ol { margin: 24px 0 0; font-size: 19px; line-height: 1.75; color: var(--prose); }
.post-copy ul { list-style: disc; padding-left: 1.2em; }
.post-copy ol { list-style: decimal; padding-left: 1.2em; }
.post-copy li + li { margin-top: 8px; }
.post-copy h2, .post-copy h3, .post-copy h4 { margin: 48px 0 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.post-copy h2 { font-size: clamp(30px, 3.2vw, 40px); }
.post-copy h3, .post-copy h4 { font-size: clamp(24px, 2.4vw, 30px); }
.post-copy blockquote { margin: 32px 0 0; padding-left: 20px; border-left: 1px solid var(--amber); }
.post-body > .post-copy:first-child > p:first-child {
	font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.28; color: var(--text);
}
.post-copy a:hover { color: var(--amber); }
.post-wide { padding: clamp(48px, 6vw, 80px) var(--pad-x) 0; }
.post-wide figure { max-width: 1240px; margin: 0 auto; }
.post-wide img { display: block; width: 100%; max-height: 88vh; object-fit: cover; }
.post-pair { display: flex; flex-wrap: wrap; gap: 16px; padding: clamp(48px, 6vw, 80px) var(--pad-x) 0; }
.post-pair figure { flex: 1 1 300px; min-width: 0; }
.post-pair[data-count="2"] figure:first-child { flex: 3 1 420px; }
.post-pair[data-count="2"] figure:last-child { flex: 2 1 300px; }
.post-pair[data-count="3"] figure, .post-pair[data-count="4"] figure { flex: 1 1 260px; }
.post-pair img { display: block; width: 100%; height: clamp(280px, 38vw, 560px); object-fit: cover; }
.post-pair[data-count="3"] img, .post-pair[data-count="4"] img { height: clamp(240px, 26vw, 420px); }
.post-body figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.pull-quote { margin: 0; padding: clamp(48px, 6vw, 80px) var(--pad-x) 0; max-width: 1100px; }
.pull-quote p { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -.01em; }
.pull-quote em { color: var(--amber); }
.pull-quote cite {
	display: block; margin-top: 16px; font-style: normal;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.post-video { box-sizing: content-box; max-width: 1100px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--pad-x) 0; }
.video {
	position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--hair);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
	text-decoration: none; color: var(--amber);
}
.video__play {
	width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--amber);
	display: flex; align-items: center; justify-content: center; transition: background-color .3s ease, color .3s ease;
}
.video:hover .video__play { background: var(--amber); color: var(--ground); }
.video__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.video > picture { position: absolute; inset: 0; } /* out of the flex flow, so the gap doesn't shift the play button */
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
a.video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 20, 18, .35); transition: background-color .3s ease; }
a.video:hover::before { background: rgba(12, 20, 18, .15); }
a.video:hover .video__poster { transform: scale(1.03); }
a.video { overflow: hidden; }
.video__play, .video__label { position: relative; z-index: 2; }
a.video .video__play { background: rgba(12, 20, 18, .55); }
a.video .video__label { color: var(--text); text-shadow: 0 1px 8px rgba(12, 20, 18, .8); }
.post-video--file figure { margin: 0; }
.post-video--file video { display: block; width: auto; height: auto; max-width: 100%; max-height: min(82vh, 760px); margin: 0 auto; background: var(--panel); object-fit: contain; }
.post-video--file figcaption { text-align: center; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-sign { padding-top: 28px; }
.post-sign .signature--post { margin-top: 0; }
.keep-reading { padding: clamp(64px, 8vw, 110px) var(--pad-x); }
.keep-reading__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px 24px; }
.keep { display: block; text-decoration: none; }
.keep__frame { display: block; overflow: hidden; }
.keep__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.keep__date { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.keep__title { display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
.post-body--page { padding-top: 0; }

/* ---------- Contact ---------- */
.contact {
	display: flex; flex-wrap: wrap; gap: 56px clamp(40px, 6vw, 96px);
	padding: clamp(56px, 7vw, 100px) var(--pad-x) clamp(72px, 9vw, 120px);
}
.contact__intro { flex: 1 1 380px; max-width: 560px; min-width: 0; }
.contact__lede { margin-top: 28px; max-width: 460px; font-size: 19px; color: var(--soft); }
.contact__facts { margin-top: 44px; display: flex; flex-direction: column; }
.contact__facts > div { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 18px 0; border-top: 1px solid var(--hair); }
.contact__facts > div:last-child { border-bottom: 1px solid var(--hair); }
.contact__facts dt { flex: 0 0 150px; padding-top: 7px; }
.contact__facts dd { flex: 1 1 220px; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.form {
	flex: 1 1 420px; max-width: 640px; min-width: 0; align-self: flex-start;
	background: var(--panel); padding: clamp(24px, 3.4vw, 48px);
	display: flex; flex-direction: column; gap: 26px;
}
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 12px; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
	display: flex; align-items: center; gap: 10px; cursor: pointer;
	border: 1px solid var(--control); padding: 12px 18px; font-size: 16px; font-weight: 600;
}
.radio:has(input:checked) { border-color: var(--amber); }
.radio input { accent-color: var(--amber); width: 18px; height: 18px; margin: 0; }
.radio:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.form__row { display: flex; flex-wrap: wrap; gap: 26px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form__row .field { flex: 1 1 220px; min-width: 0; }
.form input[type="text"], .form input[type="email"], .form textarea {
	font: inherit; color: var(--text); background: transparent; border-radius: 0;
}
.form input[type="text"], .form input[type="email"] {
	border: 0; border-bottom: 1px solid var(--control-2); padding: 12px 0; min-height: 48px;
}
.form textarea { border: 1px solid var(--control-2); padding: 14px 16px; resize: vertical; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--error); }
.form ::placeholder { color: var(--control-2); opacity: 1; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.form__note { font-size: 14px; color: var(--muted); }
.form__error { font-size: 14px; color: var(--error); }
.form__error--top { font-weight: 600; }
.form--sent { gap: 12px; }
.form--sent .eyebrow { margin: 0; }
.form__thanks { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 404 ---------- */
.lost { padding: clamp(56px, 7vw, 100px) var(--pad-x) clamp(72px, 9vw, 120px); max-width: 1100px; }
.lost__text { margin-top: 28px; max-width: 520px; font-size: 19px; color: var(--soft); }
.lost__text--links { margin-top: 40px; }
.lost__links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 0 32px; }
.lost__figure { margin: 40px 0 0; }
.lost__figure img { display: block; width: 220px; max-width: 60vw; height: auto; }
.lost__figure figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--amber); }

/* ---------- Hover zoom ---------- */
.zoom { overflow: hidden; }
.zoom img { transition: transform .9s ease, clip-path 1.1s var(--ease-out); }
.zoom:hover img { transform: scale(1.04); }

/* ---------- Scroll motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fill-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@supports (animation-timeline: view()) {
	.rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
	.ridge .draw { animation: draw linear both; animation-timeline: view(); animation-range: contain 0% contain 55%; }
	.route__stops { view-timeline: --route block; }
	.route__stop::before {
		animation: fill-line linear both;
		animation-timeline: --route;
		animation-range: contain calc(var(--i) * 9%) contain calc(var(--i) * 9% + 9%);
	}
}
/* Fallback when scroll timelines are missing: site.js adds .is-in once. */
@supports not (animation-timeline: view()) {
	.motion-ready .rise { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease-out); }
	.motion-ready .rise.is-in { opacity: 1; transform: none; }
}
/* Photo reveal: unmask from the bottom edge, once. */
.motion-ready .reveal-img:not(.is-in) { clip-path: inset(100% 0 0 0); }
.motion-ready .reveal-img { transition: clip-path 1.1s var(--ease-out), transform .9s ease; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html:not(.sig-seen) .signature--nav { -webkit-mask-image: none; mask-image: none; }
	.motion-ready .reveal-img:not(.is-in) { clip-path: none; }
	.motion-ready .rise { opacity: 1; transform: none; }
}
