/* Gîte du Frêne: brick, white stone and slate of the house itself.
   Young Serif (display) + Hanken Grotesk (text), both SIL OFL, self-hosted. */

@font-face {
    font-family: "Young Serif";
    src: url("/fonts/young-serif.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Hanken Grotesk";
    src: url("/fonts/hanken-grotesk.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --paper: #faf6ec;
    --sheet: #fffdf8;
    --stone: #efe5cf;
    --stone-2: #e3d4b4;
    --brick: #8a3d2b;
    --brick-deep: #6b2a1d;
    --brick-night: #4f1e14;
    --brick-ink: #7d3424;
    --slate: #2b333b;
    --slate-2: #3a434c;
    --slate-3: #4c5660;
    --blue: #5f7f88;
    --blue-ink: #3f5f68;
    --mustard: #e0ad2e;
    --ink: #24282c;
    --muted: #5b564f;
    --line: #d8cbb0;
    --on-dark: #f6efe2;
    --on-dark-muted: #ded2bf;
    --radius: 22px;
    --radius-s: 12px;
    --shadow: 0 18px 40px -22px rgba(43, 26, 18, .45);
    --display: "Young Serif", Georgia, "Times New Roman", serif;
    --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --brick-bond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.22' stroke-width='2'%3E%3Cpath d='M0 15h64M0 31h64M16 0v15M48 0v15M0 16v15M32 16v15M64 16v15'/%3E%3C/g%3E%3C/svg%3E");
    --lb-bg: rgba(24, 18, 14, .94);
    --lb-text: #f6efe2;
    --lb-accent: #e0ad2e;
    --lb-accent-soft: rgba(224, 173, 46, .25);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--text);
    font-size: clamp(1rem, .96rem + .2vw, 1.0875rem);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brick-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brick-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    color: var(--slate);
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 5rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
p { margin: 0 0 1em; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--slate); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; color: #fff; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 246, 236, .88);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(138, 61, 43, .18);
}
.top-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
    padding-block: .7rem;
}
.brand {
    display: inline-flex; align-items: center; gap: .5rem;
    text-decoration: none; color: var(--slate); margin-right: auto;
}
.brand:hover { color: var(--brick-deep); }
.brand-leaf { color: var(--brick); flex: none; }
.brand-name { font-family: var(--display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1; white-space: nowrap; }
.call {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--brick); color: #fff; text-decoration: none; font-weight: 700;
    padding: .5rem .95rem; border-radius: 999px; white-space: nowrap;
    box-shadow: 0 8px 18px -10px rgba(107, 42, 29, .8);
}
.call:hover { background: var(--brick-deep); color: #fff; }
.lang { display: inline-flex; gap: .15rem; font-weight: 700; font-size: .9rem; }
.lang a, .lang span { padding: .35rem .55rem; border-radius: 999px; text-decoration: none; }
.lang span { background: var(--slate); color: #fff; }
.lang a { color: var(--slate); }
.lang a:hover { background: var(--stone); }
.menu-btn {
    display: none; align-items: center; gap: .5rem;
    font: 700 .95rem var(--text); color: var(--slate);
    background: var(--stone); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
    display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.nav { display: flex; flex-wrap: wrap; gap: .2rem; width: 100%; }
.nav a {
    color: var(--slate); text-decoration: none; font-weight: 600; font-size: .97rem;
    padding: .4rem .75rem; border-radius: 999px;
}
.nav a:hover { background: var(--stone); color: var(--brick-deep); }
.nav a[aria-current] { background: var(--slate); color: #fff; }

@media (min-width: 1000px) {
    .top-row { flex-wrap: nowrap; }
    .brand { margin-right: 0; }
    .nav { width: auto; order: 1; margin-left: auto; flex-wrap: nowrap; }
    .call { order: 2; }
    .lang { order: 3; }
    .nav a { font-size: .93rem; padding: .4rem .6rem; }
}
@media (max-width: 999px) {
    .js .menu-btn { display: inline-flex; }
    .js .nav { display: none; padding: .4rem 0 .6rem; }
    .js .nav.open { display: flex; }
    .js .nav a { font-size: 1.05rem; }
}
@media (max-width: 420px) {
    .call { padding: .45rem .75rem; font-size: .95rem; }
    .brand-name { font-size: 1.15rem; }
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: 700 1rem/1.2 var(--text); text-decoration: none; text-align: center;
    padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-deep); color: #fff; }
.btn-stone { background: var(--stone); color: var(--brick-deep); }
.btn-stone:hover { background: #fff; color: var(--brick-deep); }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-3); color: #fff; }
.btn-line { border-color: currentColor; color: var(--slate); background: transparent; }
.btn-line:hover { background: var(--slate); color: #fff; border-color: var(--slate); }
.btn.big { font-size: 1.2rem; padding: 1rem 1.6rem; }

/* ---------- brick ---------- */
.bricky {
    background-color: var(--brick);
    background-image: var(--brick-bond), linear-gradient(160deg, var(--brick) 0%, var(--brick-deep) 100%);
    background-size: 64px 32px, auto;
    color: var(--on-dark);
}
.brick-course {
    height: 34px;
    background-color: var(--brick);
    background-image: linear-gradient(to bottom, transparent 0 22px, var(--stone) 22px 30px, transparent 30px), var(--brick-bond);
    background-size: auto, 64px 32px;
}

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
    display: grid; gap: 0;
    grid-template-columns: 1fr;
}
.hero-text {
    padding: clamp(2.2rem, 1rem + 5vw, 5rem) clamp(1.25rem, 4vw, 4rem) clamp(2.4rem, 1rem + 4vw, 4rem);
    position: relative;
}
.hero-text h1 { color: #fff; margin-bottom: .25em; }
.hero .eyebrow { color: var(--stone); }
.hero-sub {
    font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); line-height: 1.25;
    color: var(--stone); max-width: 30ch; margin-bottom: 1.4em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-actions .btn-line { color: #fff; }
.hero-actions .btn-line:hover { background: #fff; color: var(--brick-deep); border-color: #fff; }
.hero-photo { position: relative; background: var(--slate); min-height: 260px; }
.hero-photo a { display: block; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: var(--stone); pointer-events: none;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(72vh, 640px); }
    .hero-photo { border-bottom-left-radius: 0; }
    .hero-photo img { position: absolute; inset: 0; }
    .hero-text { display: flex; flex-direction: column; justify-content: center; }
}

.eyebrow {
    font-family: var(--text); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--brick-ink); margin: 0 0 .9rem;
}

/* opening moment */
@media (prefers-reduced-motion: no-preference) {
    .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
    .hero-text > *:nth-child(2) { animation-delay: .08s; }
    .hero-text > *:nth-child(3) { animation-delay: .16s; }
    .hero-text > *:nth-child(4) { animation-delay: .24s; }
    .hero-photo img { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); filter: saturate(.6); } to { transform: none; filter: none; } }

/* ---------- figures ---------- */
.figures {
    background: var(--slate); color: var(--on-dark);
}
.figures ul {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.figures li {
    padding: 1.4rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.figures strong {
    display: flex; align-items: center; justify-content: center; gap: .15rem;
    font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; color: #fff;
}
.figures strong small { font-size: .45em; margin-left: .1em; }
.figures span { display: block; margin-top: .4rem; color: var(--on-dark-muted); font-weight: 600; }
.figures .stars { color: var(--mustard); gap: .1rem; }
.figures .stars svg { width: .75em; height: .75em; }
@media (min-width: 760px) {
    .figures ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .figures li { border-bottom: 0; }
    .figures li:last-child { border-right: 0; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.band-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.band-stone { background: var(--stone); }
.band-slate { background: var(--slate); color: var(--on-dark); }
.band-slate h2, .band-slate h3 { color: #fff; }
.band-slate a:not(.btn) { color: var(--mustard); }
.band-slate a:not(.btn):hover { color: #fff; }
.band-slate .eyebrow { color: var(--mustard); }
.band-slate .muted { color: var(--on-dark-muted); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; max-width: 44rem; }
.muted { color: var(--muted); }

.welcome {
    display: grid; gap: 2rem; align-items: start;
}
.welcome-text h2 + p::first-letter {
    font-family: var(--display); float: left; font-size: 3.6em; line-height: .85; padding: .06em .08em 0 0; color: var(--brick);
}
.welcome-aside {
    background: var(--sheet); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.welcome-aside h3 { margin-bottom: .6rem; }
.welcome-aside ul { margin: 0; padding-left: 1.1rem; }
.welcome-aside li { margin-bottom: .35rem; }
.bienvenue { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: var(--brick); margin: .5rem 0 0; }
@media (min-width: 900px) { .welcome { grid-template-columns: 1.35fr 1fr; gap: 3.5rem; } }

/* ---------- plan (signature) ---------- */
.plan { display: grid; gap: 1.8rem; align-items: start; }
@media (min-width: 980px) { .plan { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; } }
.plan-figure {
    margin: 0; background: var(--sheet); border-radius: var(--radius); padding: clamp(.8rem, 2vw, 1.6rem);
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.plan-svg { width: 100%; height: auto; display: block; font-family: var(--text); }
.plan-svg .rooms > * { fill: #f4ecdb; transition: fill .25s ease; }
.plan-svg .rooms > [data-room^="ch"] { fill: #eedfc3; }
.plan-svg .rooms > [data-room^="sdb"] { fill: #dde6e5; }
.plan-svg .rooms > *:hover { fill: var(--mustard); }
.plan-svg .walls path { stroke: var(--slate); stroke-width: 5; stroke-linejoin: round; stroke-linecap: square; }
.plan-svg .walls path:nth-child(2), .plan-svg .walls path:nth-child(4) { stroke-width: 3; }
.plan-svg .stairs path { stroke: var(--blue); stroke-width: 2; }
.plan-svg text { fill: var(--slate); font-size: 17px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.plan-svg text.small { font-size: 13px; font-weight: 600; fill: var(--muted); }
.plan-svg text.plan-level { text-anchor: start; font-family: var(--display); font-weight: 400; font-size: 20px; fill: var(--brick-ink); }
.plan:has(.plan-list [data-r="ch1"]:hover) [data-room="ch1"],
.plan:has(.plan-list [data-r="ch2"]:hover) [data-room="ch2"],
.plan:has(.plan-list [data-r="ch3"]:hover) [data-room="ch3"],
.plan:has(.plan-list [data-r="ch4"]:hover) [data-room="ch4"],
.plan:has(.plan-list [data-r="ch5"]:hover) [data-room="ch5"],
.plan:has(.plan-list [data-r="ch6"]:hover) [data-room="ch6"],
.plan:has(.plan-list [data-r="sdb1"]:hover) [data-room="sdb1"],
.plan:has(.plan-list [data-r="sdb2"]:hover) [data-room="sdb2"] { fill: var(--mustard); }
.plan-sum { font-weight: 600; }
.plan-list { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid var(--line); }
.plan-list li {
    padding: .6rem .5rem; border-bottom: 1px solid var(--line); transition: background-color .2s ease;
    display: grid; grid-template-columns: 8.2rem 1fr; gap: .6rem; cursor: default;
}
.plan-list li:hover { background: rgba(224, 173, 46, .22); }
.plan-list strong { color: var(--brick-ink); }
.owner-plan { margin: 0; }
.owner-plan a { display: block; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.owner-plan figcaption { font-size: .92rem; color: var(--muted); margin-top: .4rem; }
@media (prefers-reduced-motion: no-preference) {
    .plan-svg .walls path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.4, .1, .2, 1) .2s forwards; }
    .plan-svg .walls path:nth-child(3), .plan-svg .walls path:nth-child(4) { animation-delay: .9s; }
    .plan-svg .rooms, .plan-svg .plan-labels, .plan-svg .stairs { animation: fadein .8s ease 1.6s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- bento of photos ---------- */
.bento {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bento li { margin: 0; }
.bento figure { margin: 0; height: 100%; }
.bento a { display: block; height: 100%; border-radius: var(--radius-s); overflow: hidden; background: var(--stone-2); }
.bento img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s ease; }
.bento a:hover img { transform: scale(1.04); }
.bento li:first-child { grid-column: span 2; }
@media (min-width: 800px) {
    .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
    .bento li:first-child { grid-column: span 2; grid-row: span 2; }
    .bento img { aspect-ratio: auto; }
}
.more-link { margin-top: 1.4rem; }

/* ---------- area strip / cards ---------- */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .area-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: var(--sheet); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem; border: 1px solid var(--line);
    text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease;
}
a.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.area-card .ac-dist {
    align-self: flex-start; font-weight: 800; font-size: .85rem; color: #fff; background: var(--brick);
    padding: .25rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.area-card .ac-kind { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.area-card h3 { margin: .3rem 0 .5rem; }
.area-card p { margin: 0 0 1rem; color: var(--muted); }
.area-card .ac-go { margin-top: auto; font-weight: 700; color: var(--brick-ink); }
.band-slate .area-card { background: var(--slate-2); border-color: rgba(255, 255, 255, .1); color: var(--on-dark); }
.band-slate .area-card h3 { color: #fff; }
.band-slate .area-card p { color: var(--on-dark-muted); }
.band-slate .area-card .ac-kind { color: var(--stone-2); }
.band-slate .area-card .ac-go { color: var(--mustard); }
.band-slate a.area-card:hover { color: var(--on-dark); background: var(--slate-3); }

/* the road: distances from the gîte */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.road li { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr; gap: .8rem; align-items: center; }
.road .rd-city { font-family: var(--display); font-size: 1.2rem; }
.road .rd-bar {
    position: relative; height: 34px; border-radius: 999px; background: rgba(255, 255, 255, .08);
}
.road .rd-bar span {
    position: absolute; inset: 0 auto 0 0; width: var(--w); min-width: 4.6rem;
    border-radius: 999px; background: linear-gradient(90deg, var(--mustard), #f0c869);
    color: var(--slate); font-weight: 800; font-size: .92rem; display: flex; align-items: center; justify-content: flex-end; padding-right: .7rem;
    white-space: nowrap;
}
.band-stone .road .rd-bar { background: rgba(43, 51, 59, .1); }
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .road .rd-bar span { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    }
}
@keyframes grow { from { width: 4.6rem; } to { width: var(--w); } }

/* ---------- distinctions ---------- */
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .awards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.awards li {
    background: var(--sheet); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line);
}
.awards strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--slate); margin-bottom: .35rem; }
.awards .aw-big { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--brick); display: flex; gap: .15rem; margin-bottom: .6rem; }
.awards .aw-big svg { width: 2rem; height: 2rem; color: var(--mustard); }
.awards p { margin: 0; color: var(--muted); }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(2.4rem, 1.5rem + 4vw, 4.6rem) 0 clamp(2rem, 1.4rem + 2.5vw, 3.4rem); position: relative; }
.page-hero.bricky h1 { color: #fff; }
.page-hero.bricky .lead { color: var(--stone); }
.page-hero.bricky .eyebrow { color: var(--stone); }
.page-hero.bricky a:not(.btn) { color: #fff; }
.page-hero .hero-actions .btn-line { color: #fff; }
.page-hero .hero-actions .btn-line:hover { background: #fff; color: var(--brick-deep); border-color: #fff; }
.page-hero-area { background: var(--stone); }
.crumbs { font-size: .93rem; margin-bottom: 1.2rem; color: var(--muted); }
.crumbs a { font-weight: 600; }
.crumbs [aria-current] { color: var(--ink); }
.dist-badge { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; margin: .4rem 0 0; }
.dist-badge span { background: var(--brick); color: #fff; padding: .3rem .8rem; border-radius: 999px; font-weight: 800; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.note {
    border-left: 4px solid var(--mustard); background: var(--sheet); padding: 1rem 1.2rem; border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.area-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
@media (min-width: 760px) { .area-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-mini a {
    display: block; padding: 1rem 1.2rem; background: var(--sheet); border-radius: var(--radius-s);
    border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%;
}
.area-mini a:hover { border-color: var(--brick); color: var(--ink); }
.area-mini .am-kind { display: block; font-size: .82rem; font-weight: 700; color: var(--blue-ink); margin-bottom: .2rem; }
.area-mini strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--brick-ink); }

/* ---------- house ---------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li {
    background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1.1rem 1.2rem;
}
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--brick-ink); margin-bottom: .25rem; }
.facts p { margin: 0; color: var(--muted); }
.duo { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }

/* ---------- gallery ---------- */
.album { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); scroll-margin-top: 6rem; }
.album:last-child { margin-bottom: 0; }
.album-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.album-head h2 { margin: 0; }
.album-head span { color: var(--muted); font-weight: 700; }
.photos { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photos figure { margin: 0; }
.photos a { display: block; border-radius: var(--radius-s); overflow: hidden; background: var(--stone-2); }
.photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.photos .tall img { aspect-ratio: 3 / 2; object-position: center 35%; }
.photos a:hover img { transform: scale(1.04); }
.photos figcaption { font-size: .95rem; color: var(--muted); margin-top: .45rem; }
.album-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.album-nav a { text-decoration: none; font-weight: 700; padding: .45rem .95rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.album-nav a:hover { background: #fff; color: var(--brick-deep); }

/* ---------- rates ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sheet); box-shadow: var(--shadow); }
.rates { width: 100%; border-collapse: collapse; min-width: 640px; }
.rates th, .rates td { padding: .8rem .9rem; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates thead th { background: var(--slate); color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.rates thead th small { display: block; font-family: var(--text); font-size: .85rem; color: var(--on-dark-muted); font-weight: 600; margin-top: .2rem; }
.rates tbody th { text-align: left; font-weight: 700; color: var(--slate); background: #f7f0e1; }
.rates .price td { font-family: var(--display); font-size: 1.5rem; color: var(--brick-ink); }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates .group th { background: var(--stone); color: var(--brick-ink); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.table-note { font-size: .92rem; color: var(--muted); margin-top: .6rem; }
.extras { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 640px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.extras li { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.extras strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--brick-ink); white-space: nowrap; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.rules li { padding: .8rem 1rem .8rem 2.6rem; background: var(--sheet); border-radius: var(--radius-s); border: 1px solid var(--line); position: relative; }
.rules li::before {
    content: ""; position: absolute; left: 1rem; top: 1.15rem; width: .8rem; height: .5rem;
    border-left: 3px solid var(--brick); border-bottom: 3px solid var(--brick); transform: rotate(-45deg);
}
.band-slate .rules li { background: var(--slate-2); border-color: rgba(255, 255, 255, .1); }
.band-slate .rules li::before { border-color: var(--mustard); }

/* documents */
.doc { margin: 0; }
.doc a { display: block; background: #fff; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc img { width: 100%; }
.doc figcaption { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
.band-slate .doc figcaption { color: var(--on-dark-muted); }
.doc-small { max-width: 600px; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 1rem; padding: 0; list-style: none; font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 1.4rem; height: .9rem; border-radius: 3px; display: inline-block; border: 1px solid rgba(0, 0, 0, .25); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 1.6rem; align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; } }
.card { background: var(--sheet); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.3rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow); }
.big-phone { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); text-decoration: none; color: var(--brick); line-height: 1.1; }
.big-phone:hover { color: var(--brick-deep); }
.contact-list { margin: 1.2rem 0 0; }
.contact-list div { padding: .8rem 0; border-top: 1px solid var(--line); }
.contact-list dt { font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.contact-list dd { margin: .2rem 0 0; }

.contact-form > div { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--slate); }
.contact-form input, .contact-form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1.5px solid #b9aa8c; border-radius: var(--radius-s); padding: .75rem .9rem;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brick); outline: 3px solid rgba(224, 173, 46, .5); outline-offset: 1px; }
.contact-form ul { color: #a01f12; margin: .3rem 0 0; padding-left: 1.1rem; font-weight: 600; }
.form-hint { font-size: .9rem; color: var(--muted); margin: .8rem 0 0; }
.contact-sent { background: #e6f1e4; border: 1px solid #9cc29a; border-radius: var(--radius-s); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.contact-sent strong { display: block; }

/* ---------- call band ---------- */
.callband { background: var(--slate); color: var(--on-dark); padding-block: clamp(2.4rem, 1.8rem + 3vw, 4rem); }
.callband h2 { color: #fff; }
.callband p { color: var(--on-dark-muted); max-width: 36rem; margin: 0; }
.callband-row { display: grid; gap: 1.5rem; align-items: center; }
.callband-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.callband .btn-line { color: #fff; }
.callband .btn-line:hover { background: #fff; color: var(--slate); border-color: #fff; }
@media (min-width: 980px) { .callband-row { grid-template-columns: 1fr auto; } .callband-actions { justify-content: flex-end; max-width: 36rem; } }

/* ---------- footer ---------- */
.foot { background: var(--brick-night); color: var(--on-dark); }
.foot a { color: #fff; }
.foot a:hover { color: var(--mustard); }
.foot-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h2 { font-family: var(--text); font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); margin-bottom: .8rem; }
.foot p, .foot address { color: var(--on-dark-muted); font-style: normal; margin: 0 0 .8rem; }
.foot-brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-size: 1.7rem; color: #fff !important; line-height: 1.1; }
.foot-brand svg { color: var(--mustard); flex: none; }
.foot-phone { font-family: var(--display); font-size: 1.5rem; text-decoration: none; }
.foot-nav { list-style: none; margin: 0; padding: 0; }
.foot-nav li { margin-bottom: .3rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.2rem 1.6rem; }
.foot-bottom p { margin: 0; font-size: .9rem; color: var(--on-dark-muted); }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.not-found > div { max-width: 40rem; }
.not-found .foot-brand { color: #fff !important; margin-bottom: 1.5rem; }
.not-found h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 3vw, 3.4rem); }
.not-found h2 { color: #fff; margin-top: 2rem; }
.not-found p { color: var(--stone); }
.not-found a:not(.btn) { color: #fff; }

/* scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
@media (min-width: 760px) { .table-note { display: none; } }
.area-card h2 { margin: .3rem 0 .5rem; }
