/* Voss Rental – site styles (same design as villabjorge.no, mountain colours). Mobile first.
   Calm and spacious, large photos, serif headings, pine green + warm stone, thin wood-gold lines.
   Colours and fonts are set once below (the variable names --fjord… are kept from the template). */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/cormorant-latin.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url(/assets/fonts/cormorant-italic-latin.woff2) format('woff2'); }
@font-face { font-family: Jost; font-weight: 400 500; font-display: swap; src: url(/assets/fonts/jost-latin.woff2) format('woff2'); }

:root {
  --fjord: #23392f;        /* pine green: buttons, links, dark bands (contrast 11:1 on white) */
  --fjord-dark: #172821;
  --fjord-soft: #35544a;
  --gold: #c49a62;         /* wood/gold: decorative lines and icons only – not for text on light backgrounds */
  --gold-text: #85602f;    /* gold for small text on white/stone: 5:1 */
  --ink: #1b2226;          /* headings */
  --text: #3c4549;
  --muted: #646d72;
  --stone: #f5f1ea;        /* alternate section background */
  --stone-2: #ece5d9;
  --line: #e2dacb;
  --white: #fff;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(20, 40, 51, .10);
  --wrap: 1240px;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font: Jost, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
  /* names the shared scripts and components expect */
  --accent: var(--fjord);
  --accent-dark: var(--fjord-dark);
  --brand: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.75 var(--font); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fjord); text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--gold); }
a:hover { color: var(--fjord-dark); text-decoration-thickness: 2px; }
main :is(p, li, td) > a:not(.btn):hover { background: color-mix(in srgb, var(--gold) 20%, transparent); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
h4 { font: 500 .8rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .2em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--fjord); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--gold) 40%, transparent); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

/* thin gold rule under eyebrows / headings */
.rule { display: block; width: 56px; height: 1px; background: var(--gold); border: 0; margin: 1.4rem 0 1.8rem; }
.center .rule, .rule.center, .section-title + .rule { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .8em 2em; border-radius: var(--radius); border: 1px solid transparent; font: 500 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .2em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--fjord); color: #fff; }
.btn-primary:hover { background: var(--fjord-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); color: var(--ink); }
.btn-outline { border-color: var(--fjord); color: var(--fjord); background: transparent; }
.btn-outline:hover { background: var(--fjord); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(0,0,0,.12); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: .55em 1.4em; }
.link-arrow { font: 500 .8rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .18em; text-decoration: none; color: var(--fjord); }
.link-arrow::after { content: ' →'; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { font: 500 1.75rem/1 var(--serif); letter-spacing: .04em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand small { display: block; font: 500 .62rem/1 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.brand:hover { color: var(--fjord); }
.menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; color: inherit; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 26px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; content: ''; }
.menu-bars { position: relative; }
.menu-bars::before { position: absolute; top: -8px; }
.menu-bars::after { position: absolute; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-8px) rotate(-45deg); }
.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.08); display: none; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 16px 24px; }
.main-nav a:not(.btn) { display: flex; align-items: center; gap: 8px; padding: 14px 4px; color: var(--ink); font: 500 .82rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav a[aria-current="page"] { color: var(--gold-text); }
.nav-lang img { border-radius: 50%; width: 22px; height: 22px; transition: transform .2s; }
.nav-lang a:hover img { transform: scale(1.12); }
.nav-cta { padding-top: 16px; }
.nav-cta .btn { width: 100%; }
html:not(.js) .main-nav { display: block; position: static; box-shadow: none; }

@media (min-width: 1120px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .main-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
  .main-nav a:not(.btn) { border: 0; padding: 10px 13px; font-size: .74rem; letter-spacing: .18em; position: relative; }
  .main-nav a:not(.btn)::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
  .main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav a[aria-current="page"] { color: inherit; }
  .nav-lang { margin-left: 8px; }
  .nav-cta { padding: 0 0 0 14px; }
}

/* Pages with a full photo at the top: the header lies over the photo until the guest scrolls */
@media (min-width: 1120px) {
  .overlay-header .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10,20,26,.5), rgba(10,20,26,0)); border-color: transparent; color: #fff; }
  .overlay-header .site-header .brand, .overlay-header .site-header .main-nav a:not(.btn) { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
  .overlay-header .site-header .brand small { color: #ead9b5; }
  .overlay-header .site-header .nav-cta .btn { background: transparent; border-color: rgba(255,255,255,.8); }
  .overlay-header .site-header .nav-cta .btn:hover { background: #fff; color: var(--ink); }
  .overlay-header .site-header.scrolled { background: rgba(255,255,255,.97); border-color: var(--line); color: var(--ink); }
  .overlay-header .site-header.scrolled .brand, .overlay-header .site-header.scrolled .main-nav a:not(.btn) { color: var(--ink); text-shadow: none; }
  .overlay-header .site-header.scrolled .brand small { color: var(--gold-text); }
  .overlay-header .site-header.scrolled .nav-cta .btn { background: var(--fjord); border-color: var(--fjord); }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--fjord); color: #dde5df; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #fff; }
.section-dark .btn-primary { background: #fff; color: var(--ink); }
.section-dark .btn-primary:hover { background: var(--stone); color: var(--ink); }
.section-title { text-align: center; }
.section-intro { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; font-size: 1.1rem; }
.eyebrow { font: 500 .75rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .28em; color: var(--gold-text); margin-bottom: 1em; }
.section-dark .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); line-height: 1.7; color: var(--ink); }
.serif-quote { font: italic 500 clamp(1.6rem, 3.2vw, 2.3rem)/1.35 var(--serif); color: var(--ink); }

/* ---------- hero (front page) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,20,26,.45) 0%, rgba(10,20,26,0) 22%, rgba(10,20,26,0) 45%, rgba(10,20,26,.7) 100%); }
.hero-content { padding: 140px 0 clamp(56px, 9vh, 96px); max-width: 860px; }
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero .eyebrow { color: #ead9b5; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 620px; margin-bottom: 2rem; }
.hero .eyebrow, .hero-lead, .page-hero .breadcrumb, .page-hero p { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 2px 14px rgba(0,0,0,.45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.8)); }
@media (max-width: 700px) { .hero-scroll { display: none; } }

.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; min-height: clamp(380px, 62vh, 620px); display: grid; align-items: end; }
.page-hero .hero-img::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,26,.45) 0%, rgba(10,20,26,0) 30%, rgba(10,20,26,.1) 50%, rgba(10,20,26,.7) 100%); }
.page-hero-content { padding: clamp(120px, 16vw, 170px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.3); max-width: 900px; margin-bottom: .2em; }
.page-hero p { max-width: 640px; font-size: 1.15rem; margin: 0; }
.breadcrumb { font: 500 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.2rem; color: var(--muted); }
.breadcrumb a { color: inherit; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--fjord); }
.page-hero .breadcrumb { color: rgba(255,255,255,.88); }
.page-hero .breadcrumb a { color: #fff; }
.page-hero .breadcrumb a:hover { color: #ead9b5; }

/* ---------- key facts strip ---------- */
.facts-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .facts-strip { grid-template-columns: repeat(5, 1fr); } }
.facts-strip div { padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); }
.facts-strip div:last-child { border-right: 0; }
@media (max-width: 899px) { .facts-strip div:nth-child(2n) { border-right: 0; } .facts-strip div { border-bottom: 1px solid var(--line); } .facts-strip div:last-child { grid-column: 1 / -1; border-bottom: 0; } }
.facts-strip strong { display: block; font: 500 clamp(1.9rem, 3.4vw, 2.5rem)/1.1 var(--serif); color: var(--ink); }
.facts-strip span { font: 500 .7rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }

/* ---------- intro / feature blocks ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } .split.wide-img { grid-template-columns: 1.25fr 1fr; } }
.split-img img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-img.landscape img { aspect-ratio: 4 / 3; }
.check-list { list-style: none; padding: 0; display: grid; gap: .6em; }
.check-list li { padding-left: 1.8em; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .78em; width: 1em; height: 1px; background: var(--gold); }
.two-col-list { columns: 2 220px; column-gap: 2.5rem; }
.two-col-list li { break-inside: avoid; }

/* experiences: large photo with text, alternating */
.feature-list { display: grid; gap: clamp(64px, 9vw, 128px); }
.feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.3fr 1fr; gap: 72px; } .feature:nth-child(even) { grid-template-columns: 1fr 1.3fr; } .feature:nth-child(even) > :first-child { order: 2; } }
.feature img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.feature .num { font: italic 500 1.2rem/1 var(--serif); color: var(--gold-text); display: block; margin-bottom: .8rem; }

/* full-width photo band with a quote */
.photo-band { position: relative; min-height: clamp(420px, 70vh, 720px); display: grid; place-items: center; text-align: center; color: #fff; isolation: isolate; overflow: hidden; padding: 64px 0; }
.photo-band .band-img { position: absolute; inset: 0; z-index: -2; }
.photo-band .band-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(10, 22, 30, .45); }
.photo-band .serif-quote { color: #fff; max-width: 900px; margin: 0 auto 1rem; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.photo-band p { text-shadow: 0 1px 10px rgba(0,0,0,.5); }

.photo-tiles { display: grid; gap: 4px; }
@media (min-width: 760px) { .photo-tiles { grid-template-columns: 1fr 1fr; } }
.photo-tile { position: relative; overflow: hidden; color: #fff; min-height: clamp(380px, 48vw, 560px); display: grid; align-items: end; isolation: isolate; text-decoration: none; }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.photo-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(10,20,26,.82)); }
.photo-tile div { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 2px 12px rgba(0,0,0,.4); }
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile div { padding: clamp(28px, 4vw, 48px); }
.photo-tile h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.photo-tile p { margin: 0 0 1.2em; max-width: 440px; }
.photo-tile .link-arrow { color: #fff; }
.photo-tile:hover { color: #fff; }

.icon-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .icon-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .icon-cards { grid-template-columns: repeat(3, 1fr); } }
.icon-card { background: #fff; padding: clamp(28px, 3.5vw, 44px); }
.section-alt .icon-card { background: var(--stone); }
.icon-card svg { width: 38px; height: 38px; color: var(--gold); margin-bottom: 18px; stroke-width: 1.25; }
.icon-card h3 { font-size: 1.45rem; margin-bottom: .4em; }
.icon-card p { margin: 0; font-size: .98rem; }

.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; font: 500 .74rem/1.6 var(--font); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); padding-top: 19px; }
.spec-table td { color: var(--ink); }

/* ---------- enquiry + booking ---------- */
.enquiry-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 960px) { .enquiry-grid { grid-template-columns: 1fr 1.15fr; } }
.enquiry-card { background: #fff; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); }
.booking-widget { min-height: 420px; }
.booking-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }
.contact-cards { display: grid; gap: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.contact-card svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 1px solid var(--gold); color: var(--fjord); transition: background .25s, color .25s, border-color .25s; }
a.contact-card:hover svg, .contact-card:has(a:hover) svg { background: var(--fjord); border-color: var(--fjord); color: #fff; }
a.contact-card:hover { color: var(--text); }
.contact-card strong { display: block; font: 500 .72rem/1.5 var(--font); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.contact-card span { color: var(--ink); overflow-wrap: anywhere; }
.contact-card span a { color: var(--ink); text-decoration: none; }
.contact-card span a:hover { color: var(--fjord); background: color-mix(in srgb, var(--gold) 20%, transparent); }
.promise { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7em; font-size: .98rem; }
.promise li { padding-left: 1.8em; position: relative; }
.promise li::before { content: ''; position: absolute; left: 0; top: .8em; width: 1em; height: 1px; background: var(--gold); }

/* ---------- cards: properties + posts ---------- */
.property-grid, .post-grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 700px) { .property-grid, .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .property-grid, .post-grid { grid-template-columns: repeat(3, 1fr); } }
.property-card, .post-card { display: flex; flex-direction: column; }
.property-img img, .post-card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.property-img, .post-card-img { overflow: hidden; display: block; }
.property-card:hover img, .post-card:hover img { transform: scale(1.04); }
.property-body, .post-card-body { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.property-body h3 a, .post-card-body h3 a { color: var(--ink); text-decoration: none; }
.property-body h3 a:hover, .post-card-body h3 a:hover { color: var(--fjord); }
.property-body .eyebrow { margin-bottom: .5em; }
.property-body .facts { font-size: .9rem; color: var(--muted); margin-bottom: .6em; }
.property-body .link-arrow, .post-card-body .link-arrow { margin-top: auto; }
.property-body p, .post-card-body p { font-size: .98rem; }

/* ---------- reviews ---------- */
.reviews-scroller { max-width: 900px; margin: 0 auto; text-align: center; }
.scroller-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.scroller-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 8px; align-self: center; }
.review-slide blockquote { margin: 0 0 1.6rem; font: italic 500 clamp(1.45rem, 3vw, 2.1rem)/1.4 var(--serif); color: inherit; }
.section-dark .review-slide blockquote { color: #fff; }
.review-slide blockquote p::before { content: '“'; } .review-slide blockquote p::after { content: '”'; }
:lang(no) .review-slide blockquote p::before { content: '«'; } :lang(no) .review-slide blockquote p::after { content: '»'; }
.review-slide figcaption, .review-card figcaption { display: inline-flex; align-items: center; gap: 12px; font: 500 .78rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .22em; }
.stars { color: var(--gold); letter-spacing: .3em; font-size: .95rem; margin-bottom: 1.2rem; }
.avatar { display: none; }
.scroller-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2rem; }
.scroller-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .8; }
.scroller-btn:hover { opacity: 1; }
.dots { display: flex; }
.dot { width: 26px; height: 26px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.dot::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; }
.dot[aria-current="true"]::before { background: var(--gold); opacity: 1; }
html:not(.js) .scroller-controls { display: none; }
.review-grid { columns: 1; column-gap: 32px; }
@media (min-width: 760px) { .review-grid { columns: 2; } }
.review-card { break-inside: avoid; background: #fff; padding: 32px; margin: 0 0 32px; border-top: 1px solid var(--gold); }
.review-card blockquote { margin: 0 0 1rem; font: italic 500 1.3rem/1.5 var(--serif); color: var(--ink); }
.review-card p { margin: 0; }

/* ---------- other homes (front page cards keep .property-grid) ---------- */

/* ---------- gallery ---------- */
.gallery-nav { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; margin-bottom: 8px; background: rgba(255,255,255,.96); scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.gallery-nav a { flex: none; padding: .5em 1.1em; color: var(--ink); font: 500 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .16em; text-decoration: none; border: 1px solid transparent; }
.gallery-nav a:hover { border-color: var(--gold); color: var(--ink); }
.gallery-section { padding-top: 44px; }
.gallery-section h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); display: flex; align-items: baseline; gap: 14px; }
.gallery-section h2 .count { font: 500 .7rem/1 var(--font); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; grid-auto-flow: dense; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .85rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; }
@media (hover: none) { .gallery-caption { opacity: 1; font-size: .78rem; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 22, .97); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; user-select: none; touch-action: pan-y; }
.lightbox figcaption { padding: 12px 64px; text-align: center; font: italic 500 1.2rem/1.4 var(--serif); }
.lb-btn { position: absolute; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.12); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 12px; top: 12px; }
.lb-count { position: absolute; left: 16px; top: 18px; margin: 0; font-size: .8rem; letter-spacing: .2em; opacity: .8; }

/* ---------- area page ---------- */
.area-grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 760px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.area-card div { padding: 20px 0 0; }
.area-card p { margin: 0; font-size: .98rem; }
.distance-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.distance-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.distance-list b { font-weight: 500; color: var(--ink); white-space: nowrap; }

/* ---------- article ---------- */
.article-page { padding-top: clamp(32px, 5vw, 64px); }
.article-page .breadcrumb { margin-bottom: 1.6rem; }
.article-page h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.article-meta { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.article-banner { margin: 32px auto 56px; }
.article-banner img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-body { font-size: 1.1rem; padding-bottom: clamp(48px, 7vw, 96px); }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.8em; }
.article-body h3 { margin-top: 1.6em; }
.article-body img { margin: 1.6em 0 .4em; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; display: block; overflow-x: auto; }
.article-body th, .article-body td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { font: 500 .7rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); border-bottom-color: var(--gold); }
.article-body blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.6em; border-left: 1px solid var(--gold); font: italic 500 1.35rem/1.5 var(--serif); color: var(--ink); }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; }

.cta-band { background: var(--fjord); color: #dde5df; padding: clamp(64px, 8vw, 104px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold); }
.cta-inner { max-width: 760px; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2rem; }
.cta-band .btn-light { background: #fff; color: var(--ink); }
.cta-band .btn-ghost { background: transparent; }

/* ---------- hosts ---------- */
.host-intro { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .host-intro { grid-template-columns: 360px 1fr; gap: 72px; } }
.host-intro img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 360px; margin: 0 auto; }
.signature { font: italic 500 1.9rem/1.2 var(--serif); color: var(--ink); }

/* ---------- forms ---------- */
.newsletter-form, .contact-form { display: grid; gap: 18px; }
.newsletter-form { max-width: 560px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row-3 { grid-template-columns: 1fr 1fr 1fr; } }
label span { display: block; font: 500 .7rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 6px; }
.section-dark label span { color: #cbd6cf; }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; padding: .8em .2em; border: 0; border-bottom: 1px solid #b9b2a5; border-radius: 0; background: transparent; color: var(--ink); }
select { padding-right: 1em; }
textarea { border: 1px solid #b9b2a5; padding: .8em; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--fjord); box-shadow: 0 1px 0 0 var(--fjord); }
textarea:focus { box-shadow: inset 0 0 0 1px var(--fjord); }
.section-dark input, .section-dark textarea { color: #fff; border-color: rgba(255,255,255,.45); }
.section-dark input:focus { border-color: #fff; box-shadow: 0 1px 0 0 #fff; }
label.check { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--text); cursor: pointer; }
label.check input { width: 18px; height: 18px; accent-color: var(--fjord); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.section-dark .form-note { color: #b6c4bc; }
.form-status { margin: 0; font-weight: 500; }
.form-status.ok { color: var(--fjord); } .section-dark .form-status.ok { color: #ead9b5; }
.form-status.err { color: #a8322a; } .section-dark .form-status.err { color: #ffb4a8; }
.newsletter-box { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .newsletter-box { grid-template-columns: 1fr 1fr; gap: 88px; } }

/* ---------- video + map ---------- */
.video-facade, .map-facade { position: relative; overflow: hidden; background: var(--fjord); aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-facade .play { position: relative; border: 0; background: none; cursor: pointer; transition: transform .2s; }
.video-facade .play:hover { transform: scale(1.1); }
.facade-note { position: absolute; bottom: 10px; left: 0; right: 0; margin: 0; text-align: center; font-size: .78rem; opacity: .85; }
.map-facade { background: var(--stone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 24h48M24 0v48' stroke='%23e2dacb'/%3E%3C/svg%3E"); color: var(--ink); }
.map-facade .facade-note { color: var(--muted); }
.video-facade iframe, .map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--fjord-dark); color: #b5c2ba; padding: clamp(64px, 8vw, 96px) 0 28px; font-size: .95rem; }
.site-footer a { color: #e8eef0; text-decoration: none; }
.site-footer a:hover { color: #ead9b5; }
.site-footer h2 { font: 500 .7rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .24em; color: var(--gold); margin-bottom: 1.2rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; font-size: 2.3rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand .brand small { color: var(--gold); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 22px; font-size: .82rem; letter-spacing: .03em; }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }

.whatsapp-float { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .big { font: italic 500 clamp(5rem, 16vw, 9rem)/1 var(--serif); color: var(--gold-text); margin: 0; }

@media print { .site-header, .whatsapp-float, .site-footer, .booking-widget { display: none; } }
a[href^="tel:"] { white-space: nowrap; }
.contact-block { scroll-margin-top: calc(var(--header-h) + 16px); }

/* gentle fade-in of sections as they scroll into view (only when JS runs and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- AI label ("ai": true in data/image-text.json) ---------- */
.ai-img { position: relative; display: block; container-type: inline-size; }
.ai-badge { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 999px; background: rgba(16, 20, 22, .82); border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: .72rem; font-weight: 500; line-height: 1.3; white-space: nowrap; pointer-events: none; }
.ai-badge b { padding: 1px 6px; border-radius: 999px; background: #fff; color: #111; font-size: .7rem; font-weight: 500; letter-spacing: .05em; }
@container (max-width: 300px) {
  .ai-badge { padding: 3px; }
  .ai-badge-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.hero-img .ai-img, .photo-tile .ai-img, .photo-band .ai-img { position: absolute; inset: 0; }
.photo-tile .ai-img { z-index: -2; }
.gallery-item .ai-img { height: 100%; }
.article-body .ai-img { margin: 1.6em 0 .4em; }
.article-body .ai-img img { margin: 0; }
.page-hero .ai-badge, .hero .ai-badge { bottom: 12px; right: 12px; }

/* phones: keep the hero buttons clear of the WhatsApp button */
@media (max-width: 700px) { .hero-content { padding-bottom: 104px; } }
/* maps in articles (file name contains "-map"): show the whole map, never crop it */
.article-body img[src*="-map-"] { aspect-ratio: auto; object-fit: contain; }
/* several photos in a row in an article (written on consecutive lines in the .md file) = photo grid */
.article-body p:has(> img + img) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 1.6em 0; }
@media (min-width: 700px) { .article-body p:has(> img + img) { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.article-body p:has(> img + img) img { margin: 0; aspect-ratio: 4 / 3; }
.article-body figure { margin: 1.6em 0; }
.article-body figure img { margin: 0 0 .4em; }
.article-body figcaption { font-size: .9rem; color: var(--muted); text-align: center; }
