/* Self-hosted typefaces — Jaunmārtiņi
   Newsreader (display serif) + Manrope (body sans). Local files only, no CDN. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/local/newsreader-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: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/local/newsreader-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: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/local/newsreader-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: "Newsreader";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/local/newsreader-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/local/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/local/manrope-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;
}

/* Jaunmārtiņi site.css
   Warm rural-modern hospitality system. Real venue photography, serif voice. */

/* ---------- tokens ---------- */
:root {
  --bg: oklch(0.955 0.012 95);
  --surface: oklch(0.985 0.008 95);
  --surface-2: oklch(0.965 0.01 95);
  --fg: oklch(0.28 0.02 155);
  --muted: oklch(0.52 0.018 150);
  --border: oklch(0.88 0.015 95);
  --border-strong: oklch(0.8 0.02 130);
  --accent: #15663A; /* --jm-forest */
  --accent-strong: oklch(0.4 0.1 150);
  --accent-bright: #2E9E52; /* --jm-moss, graphics only */
  --accent-fresh: #6FC98A; /* --jm-fresh, green for dark grounds */
  --deep: #0E1A14; /* --jm-deep */
  --deep-2: oklch(0.2 0.024 155);
  --deep-fg: oklch(0.955 0.012 95);
  --deep-muted: oklch(0.78 0.02 140);
  --ember: oklch(0.6 0.13 55);

  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(24, 34, 26, .06), 0 4px 14px -8px rgba(24, 34, 26, .14);
  --shadow-md: 0 2px 6px rgba(24, 34, 26, .07), 0 22px 48px -26px rgba(24, 34, 26, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; }
iframe, video, svg:not([width]) { max-width: 100%; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid oklch(0.6 0.16 150); outline-offset: 3px; border-radius: 3px; }

/* ---------- base type ---------- */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 450;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.18; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
}
.eyebrow--plain::before { display: none; }
.on-deep .eyebrow { color: var(--accent-fresh); }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.32rem); color: var(--muted); line-height: 1.6; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head .lede { margin-top: 1.1rem; }
.stack > * + * { margin-top: 1.15rem; }

.bg-paper { background: var(--bg); }
.bg-surface { background: var(--surface); }
.bg-deep { background: var(--deep); color: var(--deep-fg); }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--deep-fg); }
.bg-deep .lede, .bg-deep p { color: var(--deep-muted); }
.hairline-top { border-top: 1px solid var(--border); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in oklab, var(--bg) 93%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -24px rgba(24, 34, 26, .5);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; flex: 0 1 auto; min-width: 0; }
.brand img { height: 30px; width: auto; max-width: 100%; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em;
  color: var(--fg);
}
.brand .brand-name span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem .85rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--fg);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { background: color-mix(in oklab, var(--accent) 12%, transparent); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--accent); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s var(--ease); }

.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 264px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.dropdown a {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .6rem .7rem; border-radius: var(--radius-sm);
  transition: background .18s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: color-mix(in oklab, var(--accent) 11%, transparent); }
.dropdown a .dd-title { font-weight: 650; font-size: .95rem; }
.dropdown a .dd-sub { font-size: .82rem; color: var(--muted); }

.header-cta { display: inline-flex; }

/* ---------- language picker ---------- */
.lang { position: relative; flex-shrink: 0; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 40px; padding: 0 .7rem; cursor: pointer;
  background: transparent; border: 1px solid var(--border-strong); border-radius: 999px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 650; color: var(--fg);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lang__btn:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); border-color: var(--accent); }
.lang__btn[aria-expanded="true"] { background: color-mix(in oklab, var(--accent) 13%, transparent); border-color: var(--accent); }
.lang__btn .chev { width: 11px; height: 11px; color: var(--muted); transition: transform .2s var(--ease); }
.lang__btn[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--accent-strong); }
.lang__code { letter-spacing: .04em; }
.lang img { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(24, 34, 26, .18); flex: none; }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 196px; z-index: 90;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; width: 100%; align-items: center; gap: .6rem;
  padding: .55rem .6rem; cursor: pointer; text-align: left;
  background: transparent; border: 0; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--fg);
  transition: background .18s var(--ease);
}
.lang__menu button:hover, .lang__menu button:focus-visible { background: color-mix(in oklab, var(--accent) 11%, transparent); }
.lang__menu button[aria-current="true"] { color: var(--accent-strong); font-weight: 700; }
.lang__menu button[aria-current="true"]::after {
  content: ""; margin-left: auto; width: 15px; height: 15px; flex: none; background: var(--accent);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}

/* mobile nav */
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border); border-radius: 999px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--fg); transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 76px 0 0 0; z-index: 70;
  background: var(--bg); padding: 1.5rem var(--gutter) 3rem;
  overflow-y: auto; display: none;
}
.drawer.is-open { display: block; animation: fade .25s var(--ease); }
.drawer a.drawer-link {
  display: block; padding: 1rem 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 500;
}
.drawer a.drawer-link:hover { color: var(--accent); }
.drawer .drawer-sub { padding-left: 0; }
.drawer .drawer-sub a { display: block; padding: .7rem 0 .7rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 1rem; }
.drawer .drawer-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }
.drawer .drawer-contact a { font-weight: 650; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .85rem 1.5rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: .97rem; font-weight: 650; letter-spacing: -0.005em;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { background: color-mix(in oklab, var(--accent) 10%, transparent); border-color: var(--accent); color: var(--accent-strong); }
.btn--light { background: var(--surface); color: var(--fg); border-color: transparent; }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--on-deep { background: var(--deep-fg); color: var(--deep); }
.btn--on-deep:hover { background: #fff; transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--deep-fg); border-color: color-mix(in oklab, var(--deep-fg) 45%, transparent); }
.btn--outline-light:hover { background: color-mix(in oklab, var(--deep-fg) 14%, transparent); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 18, 12, .82) 0%, rgba(10, 18, 12, .5) 38%, rgba(10, 18, 12, .12) 68%, rgba(10, 18, 12, .34) 100%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(2.4rem, 6vw, 4.5rem); padding-top: 8rem; }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero__sub { margin-top: 1.3rem; max-width: 54ch; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: rgba(255, 255, 255, .9); }
.hero .btn-row { margin-top: 2rem; }

/* ---------- service cards ---------- */
.card-grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.card-grid--services { grid-template-columns: repeat(6, 1fr); }
.svc {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  grid-column: span 2; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc:nth-child(n+4) { grid-column: span 3; }
.svc__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.2rem, 2.6vw, 1.7rem); }
.svc h3 { color: var(--fg); font-size: clamp(1.3rem, 2vw, 1.6rem); }
.svc__arrow { display: inline-block; width: 20px; height: 20px; margin-left: .25rem; vertical-align: -2px; color: var(--accent);
  transition: transform .25s var(--ease); }
.svc__desc { margin-top: .6rem; font-size: .96rem; color: var(--muted); }
.svc:hover, .svc:focus-visible { box-shadow: var(--shadow-md); border-color: var(--accent); }
.svc:hover .svc__arrow, .svc:focus-visible .svc__arrow { transform: translateX(5px); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split__media--collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split__media--collage img:first-child { grid-column: span 2; }

/* feature list */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 2rem; margin-top: 1.6rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.feature-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .28rem;
  background: var(--accent-bright);
  -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat;
}
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.feature-list--single { grid-template-columns: 1fr; }

/* amenity grid */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); margin-top: 3rem; }
.amenity { padding-top: 1.3rem; border-top: 1px solid var(--border); }
.amenity svg { width: 30px; height: 30px; color: var(--accent); }
.amenity h4 { margin-top: 1rem; }
.amenity p { margin-top: .35rem; color: var(--muted); font-size: .93rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; grid-auto-rows: 1fr; }
.gallery button { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; background: var(--deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s var(--ease), filter .3s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.06); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-tall img { aspect-ratio: 3/4; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-wide img { aspect-ratio: 8/3; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  background: rgba(8, 14, 10, .93); padding: 4vw; }
.lightbox.is-open { display: flex; animation: fade .25s var(--ease); }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  width: 50px; height: 50px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }

/* ---------- pricing ---------- */
.price-list { border-top: 1px solid var(--border); margin-top: 2rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--border); }
.price-row .label { font-weight: 600; }
.price-row .note { display: block; font-weight: 450; font-size: .86rem; color: var(--muted); margin-top: .15rem; }
.price-row .amount { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; white-space: nowrap; }
.price-row .amount small { font-size: .78rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.bg-deep .price-list, .bg-deep .price-row { border-color: color-mix(in oklab, var(--deep-fg) 18%, transparent); }
.bg-deep .price-row .amount small, .bg-deep .price-row .note { color: var(--deep-muted); }

/* ---------- location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.loc-list { margin-top: 1.6rem; display: grid; gap: .9rem; }
.loc-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.map-frame { position: relative; width: 100%; min-width: 0; aspect-ratio: 4 / 3; min-height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; background: var(--border); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc-list .dist { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent-strong); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10, 18, 12, .9), rgba(10, 18, 12, .7)); }
.cta-band__inner { position: relative; text-align: center; padding-block: clamp(4rem, 9vw, 7rem); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 1.1rem auto 2rem; max-width: 48ch; }
.cta-band .btn-row { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-item { padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.contact-item .k { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-family: var(--font-display); font-size: clamp(1.2rem, 5.6vw, 1.5rem); margin-top: .35rem; display: block; overflow-wrap: anywhere; }
.contact-item a.v:hover { color: var(--accent); }


/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--deep-fg); }
.site-footer h4 { color: var(--deep-fg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(3rem, 6vw, 5rem); }
.site-footer h4 { color: var(--deep-fg); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.site-footer a { color: var(--deep-muted); transition: color .2s; }
.site-footer a:hover { color: var(--deep-fg); }
.footer-col ul { margin-top: 1.1rem; display: grid; gap: .6rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--deep-fg); }
.footer-brand .brand-name span { color: var(--accent-fresh); }
.footer-blurb { margin-top: 1rem; color: var(--deep-muted); font-size: .92rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--deep-fg) 16%, transparent); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; color: var(--deep-muted); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 16, 11, .84), rgba(9, 16, 11, .28) 70%, rgba(9, 16, 11, .42)); }
.page-hero__inner { position: relative; padding-block: 7rem 3rem; width: 100%; }
.page-hero h1 { color: #fff; max-width: 20ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }

.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .82); margin-bottom: 1rem; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* related / next */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; }
.related a { display: block; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s; }
.related a:hover { border-color: var(--accent); transform: translateY(-2px); }
.related .r-title { display: block; font-family: var(--font-display); font-size: 1.35rem; }

/* ---------- editorial band (breaks the split/zigzag run) ---------- */
.band__head { max-width: 760px; }
.band__media { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(.9rem, 1.6vw, 1.2rem); }
.band__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.band .feature-list { margin-top: clamp(1.8rem, 3vw, 2.4rem); grid-template-columns: repeat(2, 1fr); gap: 1rem 3rem; max-width: 980px; }

/* ---------- block rhythm ---------- */
.split h2, .loc-grid h2, .contact-grid h2 { margin-top: 1rem; }
.split h2:first-child, .loc-grid h2:first-child, .contact-grid h2:first-child, .band h2:first-child { margin-top: 0; }
.split .lede, .loc-grid .lede, .contact-grid .lede, .band .lede { margin-top: 1.1rem; }
.split .btn-row, .loc-grid .btn-row, .contact-grid .btn-row { margin-top: 1.8rem; }
.contact-list { margin-top: 1.4rem; }
.card-grid--services, .gallery { margin-top: clamp(2rem, 3.4vw, 2.6rem); }
.page-hero .hero__sub { max-width: 46ch; }
.page-hero--404 { min-height: min(86vh, 760px); }
.page-hero--404 .page-hero__inner { padding-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.page-hero--404 .btn-row { margin-top: 2rem; }
.nf-code { font-family: var(--font-display); font-weight: 500; font-size: clamp(6.5rem, 24vw, 16rem); line-height: .8;
  letter-spacing: -.04em; margin: 0 0 .15em -.04em; color: rgba(255, 255, 255, .1);
  -webkit-text-stroke: 2px rgba(255, 255, 255, .8); text-shadow: none; user-select: none; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; }
}

.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .lang { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .card-grid--services { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(n) { grid-column: auto; }
  .svc:nth-child(5) { grid-column: span 2; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid, .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .card-grid--services { grid-template-columns: 1fr; }
  .svc:nth-child(n) { grid-column: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 1; }
  .gallery .g-tall img { aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-list, .band .feature-list { grid-template-columns: 1fr; }
  .band__media { grid-template-columns: 1fr; }
  .lightbox__nav { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* very small phones: keep the header inside the screen */
@media (max-width: 380px) {
  .header-inner { gap: .6rem; }
  .brand img { height: 26px; }
}
