/* Midtbygdens Ungdomslag · midtbygdensul.no
   Serif headlines, mono labels, a colour-blocked sidebar, photographs inset in the page. Nynorsk. */

/* ---------- Fonts (self-hosted, /fonts): Schibsted Grotesk for everything written, Martian Mono for labels ---------- */
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/martian-mono-400-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/martian-mono-400-normal-latin.woff2) format('woff2'); 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: 'Martian Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/martian-mono-500-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/martian-mono-500-normal-latin.woff2) format('woff2'); 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: 'Schibsted Grotesk'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-400-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-400-italic-latin.woff2) format('woff2'); 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: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-400-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-400-normal-latin.woff2) format('woff2'); 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: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/schibsted-grotesk-500-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/schibsted-grotesk-500-normal-latin.woff2) format('woff2'); 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: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/schibsted-grotesk-700-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/schibsted-grotesk-700-normal-latin.woff2) format('woff2'); 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: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/schibsted-grotesk-800-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/schibsted-grotesk-800-normal-latin.woff2) format('woff2'); 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 {
	--paper: #eef1e8; --cream: #f6f2e6; --sun: #f3ecd3; --white: #fffdfa;
	--ink: #232323; --muted: #6a6e65; --line: rgba(35, 35, 35, .14);
	--beige: #d7c5ba; --beige-2: #e6d9cf; --sage-1: #dbe4d5; --sage-2: #bfd0b7; --sage-3: #9db09a;
	--green-1: #6a7d5f; --green-2: #475a41; --green-3: #2b3828;
	--accent: #c97d1f;
	--head: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--text: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--mono: 'Martian Mono', ui-monospace, Menlo, monospace;
	--nav: 200px; --frame: 12px; --radius: 20px;
	--margin: clamp(20px, 4vw, 56px); --gutter: clamp(16px, 2vw, 32px);
	--display: clamp(3rem, 9.6vw, 8.6rem); --h2: clamp(2.2rem, 4.8vw, 4.4rem); --h3: clamp(1.25rem, 1.8vw, 1.6rem);
	--body: clamp(1.0625rem, 1.1vw, 1.2rem); --small: .78rem; --tiny: .68rem;
	--ease: cubic-bezier(.22, .8, .22, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; font: 400 var(--body)/1.5 var(--text); color: var(--ink); background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 42%, var(--sun) 72%, var(--sage-1) 100%); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; font: 500 var(--small) var(--mono); }
.skip:focus { top: 1rem; }

.label { margin: 0; font: 500 var(--tiny)/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.label b { font-weight: 500; color: var(--ink); }
.label--light { color: rgba(255, 255, 255, .72); }
.label--light b { color: #fff; }
.link { color: inherit; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: rgba(35, 35, 35, .35); }
.link:hover { text-decoration-color: currentColor; }

.pill { display: inline-flex; align-items: center; gap: .7rem; padding: .5rem .5rem .5rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font: 500 var(--tiny)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background .25s; }
.pill i { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 7px; font-style: normal; font-size: .85rem; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ink i { background: rgba(255, 255, 255, .16); }
.pill--ink:hover { background: #000; }
.pill--light { background: var(--white); color: var(--ink); }
.pill--light i { background: var(--ink); color: #fff; }
.pill--muted { background: rgba(35, 35, 35, .08); color: var(--muted); padding-right: 1rem; cursor: default; }
.pill:hover { transform: translateY(-1px); }
.pill--muted:hover { transform: none; }

.chip { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-block; background: var(--white); color: var(--ink); font: 500 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 4px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }

/* ---------- Top bar: the logo and (on small screens) the menu pill ---------- */
.top { position: static; height: 0; }
/* The logo is fixed on its own (not inside a fixed bar) so the difference blend reads the page behind it. */
.logo { position: fixed; top: calc(var(--frame) + 14px); left: calc(var(--frame) + 16px); z-index: 70; display: inline-flex; align-items: center; gap: .6rem; height: 2.1rem; color: #fff; mix-blend-mode: difference; text-decoration: none; font: 500 var(--small)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.top__menu { position: fixed; top: calc(var(--frame) + 14px); right: calc(var(--frame) + 16px); z-index: 70; }
.logo__mark { width: 22px; height: 22px; flex: none; }
.top__menu { gap: .6rem; }
.top__menu i { font-size: 1rem; }

/* ---------- The nav: stacked colour rows, a sidebar on wide screens, the whole screen on small ones ---------- */
.nav { position: fixed; z-index: 60; display: flex; flex-direction: column; font: 600 .95rem/1.2 var(--text); letter-spacing: -.01em; }
.nav__row { flex: 1; display: flex; align-items: center; gap: .7rem; min-height: 3.2rem; padding: 0 1.3rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(35, 35, 35, .08); transition: filter .25s, padding-left .35s var(--ease); }
.nav__row i { margin-left: auto; font-style: normal; opacity: .6; }
.nav__row:hover { filter: brightness(.96); padding-left: 1.6rem; }
.nav__row.is-active { padding-left: 1.6rem; font-weight: 600; }
.nav__row.is-active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .1rem; }
.nav__row--1 { background: var(--beige); }
.nav__row--2 { background: var(--beige-2); }
.nav__row--3 { background: var(--sage-1); }
.nav__row--4 { background: var(--sage-2); }
.nav__row--5 { background: var(--sage-3); }
.nav__row--6 { background: var(--green-2); color: #fff; border-color: rgba(255, 255, 255, .1); }
.nav__row--7 { background: var(--green-3); color: #fff; border-color: rgba(255, 255, 255, .1); }

@media (min-width: 1100px) {
	body { padding-right: var(--nav); }
	/* Inset and rounded like the hero and the footer: the page is a set of cards on the paper. */
	.nav { top: var(--frame); right: var(--frame); bottom: var(--frame); width: calc(var(--nav) - var(--frame)); border-radius: var(--radius); overflow: hidden; }
	.nav__row:last-child { border-bottom: 0; }
	.top__menu { display: none; }
}
@media (max-width: 1099.98px) {
	.nav { inset: 0; transform: translateY(-102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
	html.nav-open .nav { transform: none; visibility: visible; transition: transform .55s var(--ease); }
	html.nav-open { overflow: hidden; }
	html.nav-open .logo { mix-blend-mode: normal; color: var(--ink); }
	.nav__row { padding-left: calc(var(--frame) + 16px); font-size: clamp(1.4rem, 4.5vw, 2rem); }
	.nav__row:first-child { padding-top: 4.5rem; }
	.nav__row:hover, .nav__row.is-active { padding-left: calc(var(--frame) + 16px); }
	/* Past the hero the small screen has no room for a floating logo over the text; the menu pill stays. */
	html.past-hero:not(.nav-open) .logo { opacity: 0; pointer-events: none; }
	.logo { transition: opacity .3s; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100svh - var(--frame) * 2); margin: var(--frame); padding: clamp(5rem, 12vh, 8rem) var(--margin) clamp(1.5rem, 4vh, 2.5rem); border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--green-2); }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 26, 22, .3) 0%, rgba(18, 26, 22, 0) 32%, rgba(18, 26, 22, .04) 60%, rgba(18, 26, 22, .6) 100%); }
.hero__text { text-align: center; margin: auto 0; }
.hero__eyebrow { color: rgba(255, 255, 255, .85); max-width: 50ch; margin-inline: auto; text-wrap: balance; }
.hero__title { margin: .7rem 0 0; font: 800 var(--display)/.94 var(--head); letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .12); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__foot { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; }
.hero__lead { margin: 0; max-width: 46ch; font-size: var(--body); line-height: 1.4; text-wrap: pretty; color: rgba(255, 255, 255, .92); }
.chip--hero { top: auto; bottom: clamp(1.5rem, 4vh, 2.5rem); left: var(--margin); }
@media (max-width: 700px) { .chip--hero { display: none; } .hero { padding-top: 6rem; } }

/* ---------- Sections: a 12-column grid, the heading left, the intro right ---------- */
.section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: start; padding: clamp(5rem, 11vw, 9.5rem) var(--margin) 0; }
.section__head { grid-column: 1 / 7; }
.section__title { margin: .7rem 0 0; font: 700 var(--h2)/1 var(--head); letter-spacing: -.04em; max-width: 12ch; text-wrap: balance; }
.section__intro { grid-column: 8 / 13; margin-top: .7rem; max-width: 44ch; }
.section__intro p { margin: 0 0 1rem; }
.section__intro .pill { margin-top: .4rem; }
.section__body { grid-column: 1 / 13; margin-top: 1rem; }
.section__more { grid-column: 1 / 13; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin: 2rem 0 0; }
.section--page { padding-top: clamp(7rem, 14vw, 10rem); }
.section--page .section__title { font-size: clamp(2.6rem, 7vw, 6rem); }
@media (max-width: 900px) {
	.section__head, .section__intro { grid-column: 1 / 13; }
	.section__intro { margin-top: 0; }
}

/* ---------- Programme ---------- */
.feat { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: center; padding: 2rem 0; border-top: 1px solid var(--line); }
.feat__media { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sage-1); }
.feat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat__media--date { display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: var(--beige-2); }
.feat__media--date b { font: 800 clamp(5rem, 12vw, 10rem)/.85 var(--head); letter-spacing: -.06em; }
.feat__media--date span:last-child { font: 500 var(--small)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.feat__body { padding: 0 clamp(0px, 2vw, 2rem); }
.feat__title { margin: .8rem 0 .9rem; font: 700 clamp(1.9rem, 3.8vw, 3.4rem)/1.02 var(--head); letter-spacing: -.04em; text-wrap: balance; }
.feat__title a { color: inherit; text-decoration: none; }
.feat__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .08em; }
.feat__actions { margin-top: 1.5rem; justify-content: flex-start; }
@media (max-width: 800px) { .feat { grid-template-columns: 1fr; } .feat__body { padding: 0; } }

.evs { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 4.6rem 6rem minmax(0, 1fr) auto; gap: var(--gutter); align-items: center; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.ev:last-child { border-bottom: 1px solid var(--line); }
.ev__date { display: flex; flex-direction: column; font: 500 var(--tiny)/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ev__date b { margin: .2rem 0; font: 700 2rem/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.ev__thumb { display: block; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--sage-1), var(--beige-2)); }
.ev__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; margin: 0; font: 600 var(--h3)/1.15 var(--head); letter-spacing: -.025em; }
.ev__title a { color: inherit; text-decoration: none; }
.ev__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .08em; }
.ev__when { font: 500 var(--tiny)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--accent); }
.label .ev__when { margin-left: .9em; }
.ev__meta { margin: .4rem 0 0; font: 500 var(--tiny)/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ev__actions { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.evs__month { padding: 2.5rem 0 .8rem; }
.evs__month + .ev { border-top-color: var(--ink); }
@media (max-width: 700px) {
	.ev { grid-template-columns: 3.8rem minmax(0, 1fr); }
	.ev__thumb { display: none; }
	.ev__actions { grid-column: 2; justify-content: flex-start; }
}

.empty { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: end; padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty__title { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.5rem)/1.05 var(--head); letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; }
.empty p { margin: 0 0 1.2rem; max-width: 40ch; color: var(--muted); }
@media (max-width: 800px) { .empty { grid-template-columns: 1fr; } }

.city { grid-column: 1 / 13; margin-top: 3rem; }
.cevs { list-style: none; margin: .8rem 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.cev { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: var(--gutter); align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cev__date { font: 500 var(--tiny) var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cev__date b { font: 700 1.2rem/1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.cev__body { display: flex; flex-direction: column; gap: .15rem; }
.cev__title { font: 600 1.05rem/1.25 var(--head); letter-spacing: -.015em; color: inherit; text-decoration: none; }
.cev__title:hover { text-decoration: underline; }
.cev__meta { font: 500 var(--tiny) var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cev__arrow { color: var(--muted); }

/* ---------- The house ---------- */
.house__photo { position: relative; grid-column: 1 / 8; margin: 1.5rem 0 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sage-1); }
.house__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.house__spec { grid-column: 8 / 13; margin-top: 1.5rem; align-self: end; }
.spec { margin: 0; }
.spec div { display: flex; align-items: baseline; gap: .8rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font: 500 var(--tiny)/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.spec dt { color: var(--muted); white-space: nowrap; }
.spec dd { margin: 0; text-align: right; }
.spec a { color: inherit; }
.spec__dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted rgba(35, 35, 35, .4); transform: translateY(-.35em); }
@media (max-width: 900px) { .house__photo, .house__spec { grid-column: 1 / 13; } }

/* ---------- Renting ---------- */
.uses { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); list-style: none; margin: 1.5rem 0 0; padding: 0; }
.uses li { border-top: 1px solid var(--ink); padding: 1.2rem 0 0; }
.uses h3 { margin: 0 0 .5rem; font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.05 var(--head); letter-spacing: -.03em; }
.uses p { margin: 0; max-width: 30ch; color: var(--muted); }
@media (max-width: 700px) { .uses { grid-template-columns: 1fr; } }

/* ---------- The club ---------- */
.stats { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin: 1.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--ink); }
.stats div { display: flex; flex-direction: column-reverse; gap: .5rem; }
.stats dd { margin: 0; font: 800 clamp(2.8rem, 6.5vw, 6rem)/.9 var(--head); letter-spacing: -.06em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { grid-column: 1 / 7; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem var(--gutter); margin-top: 1rem; }
.contact p { margin: .4rem 0 0; line-height: 1.4; }
.map { grid-column: 7 / 13; margin: 1rem 0 0; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--sage-1); filter: grayscale(1) contrast(1.05); }
.map figcaption { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: .8rem; font: 500 var(--tiny) var(--mono); letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 900px) { .contact, .map { grid-column: 1 / 13; } }

/* ---------- Footer: the name across the whole width ---------- */
.foot { margin: clamp(5rem, 11vw, 9.5rem) var(--frame) var(--frame); padding: clamp(2rem, 4vw, 3.5rem) var(--margin) 0; border-radius: var(--radius); background: var(--green-3); color: var(--cream); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem var(--gutter); margin-bottom: clamp(3rem, 6vw, 5rem); }
.foot__stat { grid-column: 1 / 6; }
.foot__stat b { display: block; margin: .4rem 0; font: 800 clamp(2.8rem, 5.5vw, 5rem)/1 var(--head); letter-spacing: -.06em; }
.foot__note { font: 500 var(--tiny) var(--mono); letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.foot__col { grid-column: span 3; }
.foot__links { display: flex; flex-direction: column; gap: .25rem; margin-top: .5rem; font: 600 1.1rem/1.3 var(--head); letter-spacing: -.015em; }
.foot__links a { color: inherit; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__col--mono p { margin: .4rem 0 1.2rem; font: 400 var(--small)/1.6 var(--mono); }
.foot__col--mono a { color: inherit; }
/* The name, cut by the footer's bottom edge (the whole word is in the legal line and the title). */
.foot__mark { margin: 1.2rem 0 -.3em; font: 800 clamp(3rem, 13vw, 16rem)/.85 var(--head); letter-spacing: -.045em; text-transform: uppercase; text-align: center; white-space: nowrap; color: var(--sage-1); user-select: none; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font: 500 var(--tiny)/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.foot__legal a { color: inherit; }
@media (max-width: 900px) { .foot__stat { grid-column: 1 / 13; } .foot__col { grid-column: span 6; } }
@media (max-width: 600px) { .foot__col { grid-column: 1 / 13; } }

/* ---------- Motion: the headline rises once, blocks fade up as they arrive ---------- */
.js .hero__title .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); }
.js .hero__eyebrow, .js .hero__foot, .js .chip--hero { opacity: 0; animation: fade 1s var(--ease) forwards; animation-delay: .7s; }
.js .hero__foot { animation-delay: .9s; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .hero__title .line > span, .js .hero__eyebrow, .js .hero__foot, .js .chip--hero { animation: none; transform: none; opacity: 1; }
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	.nav, .nav__row, .pill { transition: none; }
}
