/* =========================================================================
   Caritasova kuća „Sv. Kamilo de Lellis" — Vrbovec
   Design system: deep forest green on warm white, editorial serif display.
   Layout concept: wide rounded photography, centred conversational headings,
   hairline structure, green used sparingly as the signature.
   ========================================================================= */

@layer reset, base, components, utilities;

/* Animatable custom properties */
@property --reveal {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}
@property --tilt {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Colour — the only hex values in this file live here */
  --green-900: #0B3B2A;
  --green-800: #10523A;
  --green-700: #15664A;
  --green-600: #1C7A58;
  --green-100: #E3EFE9;
  --green-50:  #F1F7F4;
  --cream-50:  #FBF9F5;
  --cream-100: #F4F0E9;
  --ink-900:   #15201C;
  --ink-700:   #36423D;
  --ink-600:   #4F5A55; /* slightly deeper than brief's #5A6560 → AAA on cream */
  --line:      #E6E3DC;
  --white:     #FFFFFF;
  --black:     #000000;
  --error:     #A1261B;

  /* Derived tints (oklch / color-mix) */
  --green-tint: color-mix(in oklch, var(--green-600) 12%, var(--white));
  --line-strong: color-mix(in oklch, var(--line) 60%, var(--ink-600));
  --on-green-line: color-mix(in oklch, var(--white) 22%, transparent);
  --on-green-line-strong: color-mix(in oklch, var(--white) 55%, transparent);
  --on-green-muted: color-mix(in oklch, var(--white) 78%, var(--green-800));
  --scrim: color-mix(in oklch, var(--green-900) 78%, transparent);
  --shadow-color: color-mix(in oklch, var(--green-900) 10%, transparent);

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.94rem;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem); /* 17–18px */
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --fs-h4: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h3: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem);
  --fs-h2: clamp(2rem, 1.55rem + 2.1vw, 3.3rem);
  --fs-h1: clamp(2.6rem, 5.5vw, 4.4rem);
  --fs-stat: clamp(2.6rem, 2rem + 2.6vw, 4rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --space-8: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --space-9: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --container: 1240px;
  --measure: 62ch;

  /* Radius & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-whisper: 0 1px 2px var(--shadow-color), 0 8px 24px -12px var(--shadow-color);
  --shadow-card: 0 18px 40px -24px var(--shadow-color);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 600ms;
  --header-h: 72px;

  color-scheme: light;
}

/* ------------------------------------------------------------------ reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, picture, svg, video { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  [hidden] { display: none !important; }
}

/* ------------------------------------------------------------------- base */
@layer base {
  @view-transition { navigation: auto; }

  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
  body {
    background: var(--cream-50);
    color: var(--ink-600);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
    font-optical-sizing: auto;
  }
  h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }
  h4 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
  p, li, dd { text-wrap: pretty; }
  p { max-width: var(--measure); }
  a { color: var(--green-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
  a:hover { color: var(--green-900); }
  strong { color: var(--ink-900); font-weight: 600; }
  em { font-style: italic; }

  :focus-visible {
    outline: 3px solid var(--green-600);
    outline-offset: 3px;
    border-radius: 6px;
  }
  ::selection { background: var(--green-100); color: var(--ink-900); }

  [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
}

/* ------------------------------------------------------------- components */
@layer components {

  /* Skip link */
  .skip-link {
    position: absolute; left: var(--gutter); top: -100px; z-index: 100;
    background: var(--green-800); color: var(--white);
    padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
    text-decoration: none; font-weight: 600;
  }
  .skip-link:focus { top: 12px; color: var(--white); }

  /* Container */
  /* Sections: 90% of the viewport width */
  .container {
    width: 90%;
    margin-inline: auto;
  }
  /* Navbar and hero: full width */
  .site-header__inner.container {
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  /* Hero: edge to edge, no side gap */
  .hero.container,
  .page-hero.container {
    width: 100%;
    padding-inline: 0;
  }
  .container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

  .section { padding-block: var(--space-9); }
  .section--tight { padding-block: var(--space-8); }
  .section--cream { background: var(--cream-100); }
  .section--white { background: var(--white); }
  .section + .section--white, .section--white + .section { border-top: 0; }

  /* Eyebrow */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.6em;
    font-family: var(--font-body);
    font-size: var(--fs-xs); font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: var(--space-4);
  }
  .eyebrow::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: currentColor; flex: none;
  }
  .eyebrow--muted { color: var(--ink-600); }
  .eyebrow--light { color: var(--on-green-muted); }
  .eyebrow--light::before { background: var(--white); }

  .section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); }
  .section-head--center { justify-items: center; text-align: center; }
  .section-head--center p { margin-inline: auto; }
  .section-head .eyebrow { margin-bottom: 0; }
  .section-head h2 { max-width: 22ch; }
  .section-head--center h2 { max-width: 24ch; }
  .lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-700); }

  /* Buttons — pill with ↗ */
  .btn {
    --btn-bg: var(--green-800);
    --btn-fg: var(--white);
    --btn-bd: var(--green-800);
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    min-height: 48px; padding: 0.7em 0.9em 0.7em 1.4em;
    border-radius: var(--radius-pill);
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-bd);
    font-size: var(--fs-sm); font-weight: 600; line-height: 1.2;
    text-decoration: none; white-space: nowrap;
    transition: background-color 250ms var(--ease-out), color 250ms, border-color 250ms;
  }
  .btn:hover { --btn-bg: var(--green-900); --btn-bd: var(--green-900); color: var(--btn-fg); }
  .btn__arrow {
    display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: color-mix(in oklch, var(--white) 16%, transparent);
    flex: none;
  }
  .btn__arrow svg { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
  .btn:hover .btn__arrow svg, .link-arrow:hover svg, .card-link:hover .link-arrow svg { transform: translate(2px, -2px); }

  .btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
  .btn--ghost .btn__arrow { background: var(--green-100); color: var(--green-800); }
  .btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink-900); --btn-fg: var(--ink-900); }
  .btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--on-green-line-strong); }
  .btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--green-900); --btn-bd: var(--white); }
  .btn--light:hover .btn__arrow { background: var(--green-100); }
  .btn--white { --btn-bg: var(--white); --btn-fg: var(--green-900); --btn-bd: var(--white); }
  .btn--white .btn__arrow { background: var(--green-100); }
  .btn--white:hover { --btn-bg: var(--green-50); --btn-bd: var(--green-50); --btn-fg: var(--green-900); }
  .btn--block { width: 100%; }

  .link-arrow {
    display: inline-flex; align-items: center; gap: 0.45em;
    font-weight: 600; font-size: var(--fs-sm);
    color: var(--green-700); text-decoration: none;
    min-height: 44px;
  }
  .link-arrow svg { width: 14px; height: 14px; transition: transform 300ms var(--ease-out); }
  .link-arrow:hover { color: var(--green-900); text-decoration: underline; }

  /* --------------------------------------------------------- Header */
  /* Transparent at the top; a floating rounded bar once the page scrolls */
  .site-header {
    --header-gap: 10px;
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    padding-top: var(--header-gap);
    background: transparent;
  }
  .site-header__inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    gap: var(--space-5); min-height: var(--header-h);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition:
      width 450ms var(--ease-out),
      background-color 450ms var(--ease-out),
      border-radius 450ms var(--ease-out),
      box-shadow 450ms var(--ease-out);
  }
  /* Scrolled: the bar narrows a little, gets a white background and rounded corners */
  .site-header.is-scrolled .site-header__inner.container {
    width: calc(100% - 24px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px -12px color-mix(in oklch, var(--green-900) 28%, transparent), 0 1px 2px var(--shadow-color);
  }
  /* Over a photo hero, the transparent bar uses white text */
  body:has(.hero__frame, .page-hero__frame) .site-header:not(.is-scrolled) :is(.brand, .brand__mark, .brand__sub, .nav__link, .menu-toggle) {
    color: var(--white);
    transition: color 450ms var(--ease-out);
  }
  body:has(.hero__frame, .page-hero__frame) .site-header:not(.is-scrolled) .menu-toggle {
    border-color: color-mix(in oklch, var(--white) 45%, transparent);
  }
  body:has(.hero__frame, .page-hero__frame) .site-header:not(.is-scrolled) .nav__link:hover,
  body:has(.hero__frame, .page-hero__frame) .site-header:not(.is-scrolled) .nav__link[aria-expanded="true"] {
    background: color-mix(in oklch, var(--white) 16%, transparent);
  }
  /* Pull photo heroes up under the transparent header */
  .hero.container, .page-hero.container {
    margin-top: calc(-1 * (var(--header-h) + 10px));
  }
  .brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink-900); }
  .brand__mark { width: 36px; height: 40px; flex: none; color: var(--green-800); }
  .brand__text { display: grid; line-height: 1.05; }
  .brand__name { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -0.01em; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-600); font-weight: 600; margin-top: 3px; }

  .nav { justify-self: center; }
  .nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
  .nav__item { position: relative; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 0.3em;
    min-height: 44px; padding-inline: 0.75rem;
    font-size: 0.93rem; font-weight: 500;
    color: var(--ink-700); text-decoration: none; border-radius: var(--radius-pill);
  }
  .nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--green-800); background: var(--green-50); }
  .nav__link[aria-current="page"] { color: var(--green-800); }
  .nav__link[aria-current="page"]::after {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-600);
    margin-left: 0.15em;
  }
  .nav__chev { width: 12px; height: 12px; transition: transform 200ms; }
  .nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
  .nav__sub {
    position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0;
    min-width: 250px; list-style: none; padding: var(--space-2);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
  }
  .nav__sub a {
    display: block; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm);
    color: var(--ink-700); text-decoration: none; font-size: 0.93rem;
  }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--green-50); color: var(--green-800); }
  .header-cta { justify-self: end; }
  .menu-toggle {
    display: none; align-items: center; gap: 0.5rem;
    min-height: 48px; padding-inline: 1rem;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    font-weight: 600; font-size: var(--fs-sm); color: var(--ink-900);
  }
  .menu-toggle svg { width: 18px; height: 18px; }

  /* Mobile nav dialog */
  .mobile-nav {
    width: 100%; max-width: 100%; height: 100%; max-height: 100%;
    margin: 0; border: 0; padding: 0;
    background: var(--white);
  }
  .mobile-nav::backdrop { background: var(--scrim); }
  .mobile-nav__inner {
    display: flex; flex-direction: column; gap: var(--space-5);
    min-height: 100%;
    padding: calc(var(--space-5) + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(var(--space-6) + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  }
  .mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
  .mobile-nav ul { list-style: none; padding: 0; display: grid; }
  .mobile-nav a { display: block; padding: 0.7rem 0; color: var(--ink-900); text-decoration: none; font-family: var(--font-display); font-size: 1.6rem; border-bottom: 1px solid var(--line); }
  .mobile-nav .mobile-nav__sub a { font-family: var(--font-body); font-size: 1rem; padding-left: 1rem; color: var(--ink-600); }
  .mobile-nav a[aria-current="page"] { color: var(--green-700); }

  /* --------------------------------------------------------- Hero */
  .hero { padding-top: 0; padding-bottom: var(--space-6); }
  .hero__frame {
    position: relative; isolation: isolate;
    border-radius: 0; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: grid; align-items: end;
    background: var(--green-900);
    view-transition-name: hero-photo;
  }
  .hero__frame > img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 60% 40%; z-index: -2;
  }
  .hero__frame::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(90deg, color-mix(in oklch, var(--green-900) 82%, transparent) 0%, color-mix(in oklch, var(--green-900) 50%, transparent) 38%, transparent 68%),
      linear-gradient(0deg, color-mix(in oklch, var(--black) 35%, transparent) 0%, transparent 40%);
  }
  .hero__content {
    padding: clamp(1.75rem, 5vw, 4.5rem);
    padding-bottom: clamp(2rem, 6vw, 5rem);
    max-width: 760px; color: var(--white);
    display: grid; gap: var(--space-5); justify-items: start;
  }
  .hero__content h1 { color: var(--white); max-width: 15ch; }
  .hero__content p { color: color-mix(in oklch, var(--white) 88%, transparent); font-size: var(--fs-lead); line-height: 1.55; max-width: 44ch; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
  .hero__card {
    position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem);
    max-width: 290px; padding: var(--space-4) var(--space-5);
    background: var(--white); border-radius: var(--radius-md);
    box-shadow: var(--shadow-whisper);
    font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-700);
  }
  .hero__card strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink-900); margin-bottom: 0.15rem; }

  /* Page hero (sub pages) */
  .page-hero { padding-top: 0; }
  .page-hero__frame {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 0;
    min-height: clamp(340px, 46svh, 480px);
    display: grid; align-items: end;
    background: var(--green-900);
    view-transition-name: hero-photo;
  }
  .page-hero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .page-hero__frame::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, color-mix(in oklch, var(--green-900) 84%, transparent), color-mix(in oklch, var(--green-900) 35%, transparent) 55%, transparent 85%);
  }
  .page-hero__content { padding: clamp(1.5rem, 5vw, 4rem); color: var(--white); display: grid; gap: var(--space-4); max-width: 780px; }
  .page-hero__content h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
  .page-hero__content p { color: color-mix(in oklch, var(--white) 88%, transparent); font-size: var(--fs-lead); line-height: 1.55; }
  .page-hero--plain { padding-block: var(--space-8) var(--space-6); text-align: center; }
  .page-hero--plain h1 { max-width: 20ch; margin-inline: auto; }
  .page-hero--plain p { margin-inline: auto; margin-top: var(--space-4); }

  .breadcrumbs { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
  .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5em; list-style: none; padding: 0; }
  .breadcrumbs li + li::before { content: "/"; margin-right: 0.5em; opacity: 0.6; }
  .breadcrumbs a { color: inherit; text-decoration: none; }
  .breadcrumbs a:hover { text-decoration: underline; }

  /* --------------------------------------------------------- Trust strip */
  .trust {
    border-block: 1px solid var(--line);
    background: var(--white);
  }
  .trust__inner {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch;
    padding-inline: max(20px, env(safe-area-inset-left, 0px));
  }
  .trust__marks { display: contents; list-style: none; padding: 0; }
  .trust__label, .trust__mark {
    display: flex; align-items: center; justify-content: center; gap: 0.6em;
    padding: var(--space-5) var(--space-4); text-align: center;
    border-left: 1px solid var(--line);
  }
  .trust__label {
    border-left: 0;
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    line-height: 1.4; color: var(--green-700);
  }
  .trust__mark { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-700); }
  .trust__mark svg { width: 22px; height: 22px; flex: none; color: var(--green-700); }

  /* --------------------------------------------------------- Story */
  .story__top {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-7);
    align-items: start; padding-bottom: var(--space-7);
  }
  .story__statement {
    font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem);
    line-height: 1.3; color: var(--ink-900); max-width: 40ch; letter-spacing: -0.01em;
  }
  .person { display: flex; align-items: center; gap: var(--space-3); padding-top: 0.4rem; }
  .person__photo {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none;
    background: var(--green-100); color: var(--green-800);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.15rem;
  }
  .person > span:last-child, .quote figcaption > span:last-child { display: grid; }
  .person__name { font-weight: 600; color: var(--ink-900); line-height: 1.3; font-size: var(--fs-sm); }
  .person__role { font-size: var(--fs-xs); color: var(--ink-600); }
  .story__bottom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: end; }
  .story__aside { display: grid; gap: var(--space-4); align-content: end; }
  .tint-box { background: var(--green-50); border-radius: var(--radius-md); padding: var(--space-5); }
  .tint-box p { font-size: var(--fs-sm); }
  .media {
    border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100);
    position: relative;
  }
  .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
  a:hover > .media img, .media:hover img { transform: scale(1.03); }

  /* --------------------------------------------------------- About (Tko smo mi) */
  .about {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: center;
  }
  .about__media { position: relative; }
  .about__photo { aspect-ratio: 4 / 5; }
  .about__badge {
    position: absolute; right: clamp(-1.5rem, -2vw, -0.5rem); bottom: clamp(1.5rem, 4vw, 3rem);
    max-width: 210px; padding: var(--space-4) var(--space-5);
    background: var(--green-800); color: var(--white);
    border-radius: var(--radius-md); box-shadow: var(--shadow-card);
    font-size: var(--fs-sm); line-height: 1.45;
  }
  .about__badge strong {
    display: block; font-family: var(--font-display); font-weight: 400;
    font-size: 2rem; line-height: 1.1; margin-bottom: 0.2rem;
  }
  .about__body { display: grid; gap: var(--space-5); align-content: center; }
  .about__body .story__statement { max-width: none; }
  .about__list {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-5);
  }
  .about__list li { display: flex; gap: 0.7rem; align-items: start; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-700); }
  .about__list svg {
    width: 26px; height: 26px; flex: none; padding: 6px;
    border-radius: 50%; background: var(--green-100); color: var(--green-800);
  }
  .about__price { padding: var(--space-4) var(--space-5); }
  .about__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4);
    padding-top: var(--space-5); border-top: 1px solid var(--line);
  }
  .about__foot .person { padding-top: 0; }

  /* --------------------------------------------------------- Stats */
  .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; }
  .stats__item { padding: var(--space-4) var(--space-5); border-left: 1px solid var(--line); }
  .stats__item:first-child { border-left: 0; padding-left: 0; }
  .stats__value {
    display: block; font-family: var(--font-display); font-size: var(--fs-stat);
    line-height: 1; color: var(--ink-900); letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums lining-nums;
  }
  .stats__label { display: block; margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.4; }

  /* --------------------------------------------------------- Collage */
  .collage-section { padding-block: var(--space-9) var(--space-8); text-align: center; background: var(--white); overflow: hidden; }
  .collage-section h2 { max-width: 22ch; margin-inline: auto; }
  .collage {
    display: flex; justify-content: center; align-items: center;
    margin-block: var(--space-8) var(--space-6);
    padding-inline: var(--space-4);
    list-style: none;
  }
  .collage__item {
    --tilt: 0deg;
    flex: none; margin-inline: -1.6%;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: 0 20px 40px -26px color-mix(in oklch, var(--green-900) 45%, transparent);
    border: 5px solid var(--white);
    background: var(--green-100);
    rotate: var(--tilt);
    transition: rotate 700ms var(--ease-out), translate 700ms var(--ease-out);
  }
  .collage__item img { width: 100%; height: 100%; object-fit: cover; }
  .collage__item:nth-child(1) { --tilt: -7deg; width: 19%; aspect-ratio: 4/3.3; translate: 0 6%; z-index: 1; }
  .collage__item:nth-child(2) { --tilt: 4deg;  width: 15%; aspect-ratio: 3/4;   translate: 0 -8%; z-index: 2; }
  .collage__item:nth-child(3) { --tilt: -3deg; width: 21%; aspect-ratio: 4/3.4; translate: 0 2%; z-index: 4; }
  .collage__item:nth-child(4) { --tilt: 5deg;  width: 16%; aspect-ratio: 3/4;   translate: 0 -6%; z-index: 3; }
  .collage__item:nth-child(5) { --tilt: -4deg; width: 18%; aspect-ratio: 4/3.2; translate: 0 8%; z-index: 2; }
  .collage__item:nth-child(6) { --tilt: 6deg;  width: 13%; aspect-ratio: 3/3.8; translate: 0 -2%; z-index: 1; }
  .collage__item:hover { z-index: 6; translate: 0 -4%; }

  /* --------------------------------------------------------- Services (photo bento) */
  .svc { background: var(--cream-100); }
  .svc__head {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-6) clamp(2rem, 5vw, 5rem); align-items: end;
    margin-bottom: var(--space-7);
  }
  .svc__head h2 { max-width: 16ch; }
  .svc__intro { display: grid; gap: var(--space-4); justify-items: start; }
  .svc__intro p { color: var(--ink-700); }
  .svc__grid {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 22vw, 300px);
    gap: var(--space-4);
  }
  .svc__item--1 { grid-column: span 2; grid-row: span 2; }
  .svc__card {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: end; height: 100%;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    border-radius: var(--radius-lg);
    background: var(--green-900);
    color: var(--white); text-decoration: none;
  }
  .svc__card img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 900ms var(--ease-out);
  }
  .svc__card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 25%, color-mix(in oklch, var(--green-900) 88%, transparent) 100%);
    transition: background-color 400ms var(--ease-out);
  }
  .svc__card:hover img { transform: scale(1.06); }
  .svc__card:hover::after { background-color: color-mix(in oklch, var(--green-900) 25%, transparent); }
  .svc__body { display: grid; gap: var(--space-2); max-width: 46ch; padding-right: 3.5rem; }
  .svc__body h3 { color: var(--white); font-size: var(--fs-h4); font-family: var(--font-display); }
  .svc__body p {
    font-size: var(--fs-sm); line-height: 1.5;
    color: color-mix(in oklch, var(--white) 85%, transparent);
  }
  .svc__item--1 .svc__body h3 { font-size: var(--fs-h3); }
  .svc__item--1 .svc__body p { font-size: var(--fs-body); }
  .svc__num {
    position: absolute; top: clamp(1rem, 2vw, 1.5rem); right: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.05em;
    color: color-mix(in oklch, var(--white) 80%, transparent);
  }
  .svc__tag {
    position: absolute; top: clamp(1rem, 2vw, 1.5rem); left: clamp(1rem, 2vw, 1.5rem);
    padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
    background: var(--white); color: var(--green-800);
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em;
  }
  .svc__arrow {
    position: absolute; right: clamp(1.25rem, 2.2vw, 2rem); bottom: clamp(1.25rem, 2.2vw, 2rem);
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--white); color: var(--green-800);
    transition: transform 400ms var(--ease-out), background-color 300ms;
  }
  .svc__arrow svg { width: 16px; height: 16px; }
  .svc__card:hover .svc__arrow { transform: rotate(45deg); background: var(--green-100); }

  /* --------------------------------------------------------- Services page */
  .svc-nav {
    position: sticky; top: calc(var(--header-h) + 10px); z-index: 20;
    margin-top: var(--space-5);
    padding: var(--space-3) max(20px, env(safe-area-inset-left, 0px));
    background: color-mix(in oklch, var(--white) 92%, transparent);
    backdrop-filter: blur(8px);
    border-block: 1px solid var(--line);
  }
  .svc-nav__list {
    list-style: none; padding: 0; margin: 0 auto;
    display: flex; justify-content: center; gap: var(--space-2);
    overflow-x: auto; scrollbar-width: none;
  }
  .svc-nav__list::-webkit-scrollbar { display: none; }
  .svc-nav a {
    display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
    min-height: 40px; padding: 0.35rem 1rem 0.35rem 0.4rem;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700); text-decoration: none;
    transition: background-color 200ms, border-color 200ms, color 200ms;
  }
  .svc-nav a span {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-50); color: var(--green-800); font-size: var(--fs-xs); font-weight: 600;
  }
  .svc-nav a:hover { border-color: var(--green-700); color: var(--green-800); background: var(--green-50); }

  .incl__grid {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4);
  }
  .incl__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .incl__item {
    display: grid; gap: var(--space-3); align-content: start;
    padding: var(--space-6) var(--space-5);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: border-color 300ms, transform 300ms var(--ease-out);
  }
  .incl__item:hover { border-color: var(--green-600); transform: translateY(-3px); }
  .incl__item svg {
    width: 52px; height: 52px; padding: 13px; margin-bottom: var(--space-2);
    border-radius: 50%; background: var(--green-800); color: var(--white);
  }
  .incl__item h3 { font-size: var(--fs-h4); font-family: var(--font-display); }
  .incl__item p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.55; }
  .incl { background: var(--cream-100); }

  .svc-list { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
  .svc-row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: center;
    scroll-margin-top: calc(var(--header-h) + 90px);
  }
  .svc-row:nth-child(even) .svc-row__media { order: 2; }
  .svc-row__media {
    position: relative; overflow: hidden; aspect-ratio: 9 / 7;
    border-radius: var(--radius-xl); background: var(--green-100);
  }
  .svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
  .svc-row:hover .svc-row__media img { transform: scale(1.04); }
  .svc-row__num {
    position: absolute; top: var(--space-4); left: var(--space-4);
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--green-800);
    font-family: var(--font-display); font-size: 1.3rem;
  }
  .svc-row__text { display: grid; gap: var(--space-4); justify-items: start; }
  .svc-row__text h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.7rem); max-width: 20ch; }
  .svc-row__text > p:not(.eyebrow) { color: var(--ink-700); max-width: 54ch; }
  .svc-row__text .checklist { margin-block: var(--space-2); }

  /* --------------------------------------------------------- About page */
  .timeline {
    list-style: none; padding: 0; position: relative;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4);
  }
  .timeline::before {
    content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 2px;
    background: var(--line-strong);
  }
  .timeline__item {
    position: relative; display: grid; gap: var(--space-2); align-content: start;
  }
  .timeline__year {
    justify-self: start; position: relative; z-index: 1;
    padding: 0.55rem 1.1rem; border-radius: var(--radius-pill);
    background: var(--green-800); color: var(--white);
    font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2;
    margin-bottom: var(--space-3);
  }
  .timeline__item:last-child .timeline__year { background: var(--white); color: var(--green-800); border: 2px solid var(--green-800); }
  .timeline__date { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700); }
  .timeline__item h3 { font-size: var(--fs-h4); font-family: var(--font-display); }
  .timeline__item p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.55; max-width: 34ch; }

  .saint { background: var(--green-800); color: var(--on-green-muted); padding-block: var(--space-9); }
  .saint__inner {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: clamp(2rem, 6vw, 6rem); align-items: center;
  }
  .saint__media { aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; background: var(--green-900); }
  .saint__media img { width: 100%; height: 100%; object-fit: cover; }
  .saint__body { display: grid; gap: var(--space-5); }
  .saint h2 { color: var(--white); max-width: 16ch; }
  .saint__body > p:not(.eyebrow) { max-width: 60ch; }
  .saint__quote {
    margin: 0; padding-left: var(--space-5); border-left: 3px solid var(--white);
  }
  .saint__quote p {
    font-family: var(--font-display); font-style: italic; color: var(--white);
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; max-width: 32ch;
  }
  .saint__facts {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--on-green-line);
  }
  .saint__facts li { display: grid; gap: 0.3rem; padding: var(--space-4) var(--space-4) 0 0; font-size: var(--fs-sm); line-height: 1.4; }
  .saint__facts span { font-family: var(--font-display); font-size: 1.7rem; color: var(--white); line-height: 1; }
  .saint__note { font-size: var(--fs-sm); }

  .lead-org {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: center;
  }
  .lead-org__text { display: grid; gap: var(--space-4); justify-items: start; }
  .lead-org__text h2 { max-width: 16ch; }
  .lead-org__stats { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .lead-org__stats li {
    display: grid; gap: var(--space-2); padding: var(--space-5);
    border-radius: var(--radius-lg); background: var(--cream-100);
    font-size: var(--fs-sm); color: var(--ink-600);
  }
  .lead-org__stats li:first-child { background: var(--green-800); color: var(--on-green-muted); }
  .lead-org__stats li:first-child .lead-org__num { color: var(--white); }
  .lead-org__num { font-family: var(--font-display); font-size: var(--fs-stat); line-height: 1; color: var(--green-800); letter-spacing: -0.02em; }

  /* --------------------------------------------------------- Accommodation page */
  .rooms { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  .room {
    display: grid; grid-template-rows: auto 1fr; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white);
    transition: border-color 300ms, transform 300ms var(--ease-out);
  }
  .room:hover { border-color: var(--green-600); transform: translateY(-4px); }
  .room__media { position: relative; aspect-ratio: 6 / 5; overflow: hidden; background: var(--green-100); }
  .room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
  .room:hover .room__media img { transform: scale(1.05); }
  .room__beds {
    position: absolute; top: var(--space-3); left: var(--space-3);
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--green-800);
    font-family: var(--font-display); font-size: 1.4rem;
  }
  .room__body { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); }
  .room__body h3 { font-size: var(--fs-h4); font-family: var(--font-display); }
  .room__body p { font-size: var(--fs-sm); color: var(--ink-600); }
  .room__note {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-top: var(--space-2);
    font-size: var(--fs-xs); font-weight: 600; color: var(--green-800);
  }
  .room__note svg, .equip__chips svg, .temp__list svg { width: 18px; height: 18px; flex: none; }

  .equip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .equip__media { aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; background: var(--green-100); }
  .equip__media img { width: 100%; height: 100%; object-fit: cover; }
  .equip__body { display: grid; gap: var(--space-5); }
  .equip__body h2 { max-width: 18ch; }
  .equip__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .equip__grid .grounds__feat svg { background: var(--white); }
  .equip__house { display: grid; gap: var(--space-3); }
  .equip__house-title { font-weight: 600; color: var(--ink-900); }
  .equip__chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .equip__chips li {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.5rem 0.95rem; border-radius: var(--radius-pill);
    background: var(--white); border: 1px solid var(--line);
    font-size: var(--fs-sm); color: var(--ink-700);
  }
  .equip__chips svg { color: var(--green-700); }

  .temp {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden;
    border-radius: var(--radius-xl); background: var(--green-800); color: var(--on-green-muted);
    scroll-margin-top: calc(var(--header-h) + 24px);
  }
  .temp__media { position: relative; min-height: 360px; }
  .temp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .temp__body { display: grid; gap: var(--space-4); align-content: center; justify-items: start; padding: clamp(1.75rem, 5vw, 4rem); }
  .temp h2 { color: var(--white); max-width: 16ch; }
  .temp__list { list-style: none; padding: 0; display: grid; gap: var(--space-2); margin-bottom: var(--space-2); }
  .temp__list li { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-size: var(--fs-sm); }

  .faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .faq-wrap__head { display: grid; gap: var(--space-4); justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
  .faq-wrap__head p:not(.eyebrow) { color: var(--ink-700); }

  /* --------------------------------------------------------- Life page: activities */
  .acts {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto);
    gap: var(--space-4);
  }
  .act {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5);
    padding: var(--space-5);
    border-radius: var(--radius-lg); background: var(--cream-100);
    transition: transform 300ms var(--ease-out);
  }
  .act:hover { transform: translateY(-4px); }
  .act__icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--green-800); color: var(--white);
  }
  .act__icon svg { width: 24px; height: 24px; }
  .act__text { display: grid; gap: var(--space-2); }
  .act h3 { font-size: var(--fs-h4); font-family: var(--font-display); }
  .act p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.55; }
  .act--photo { background: var(--green-900); color: var(--white); }
  .act--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
  .act--photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, transparent 20%, color-mix(in oklch, var(--green-900) 90%, transparent) 100%);
  }
  .act--photo:hover img { transform: scale(1.05); }
  .act--photo .act__icon { background: var(--white); color: var(--green-800); }
  .act--photo h3 { color: var(--white); }
  .act--photo p { color: color-mix(in oklch, var(--white) 86%, transparent); }
  .acts__more { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
  .acts__more > p { font-weight: 600; color: var(--ink-900); }
  .about__body .acts__more { margin-top: 0; }

  /* --------------------------------------------------------- Lightbox */
  .gallery a { cursor: zoom-in; position: relative; }
  .gallery a::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    background: color-mix(in oklch, var(--green-900) 0%, transparent); transition: background-color 300ms;
  }
  .gallery a:hover::after { background: color-mix(in oklch, var(--green-900) 18%, transparent); }
  html.lb-open { overflow: hidden; }
  .lb {
    position: fixed; inset: 0; z-index: 200;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4);
    padding: clamp(1rem, 3vw, 2.5rem);
    background: color-mix(in oklch, #0b1f17 94%, transparent);
  }
  .lb[hidden] { display: none; }
  .lb__figure { margin: 0; display: grid; gap: var(--space-3); justify-items: center; min-width: 0; }
  .lb__img {
    max-width: 100%; max-height: calc(100svh - 9rem); width: auto; height: auto;
    border-radius: var(--radius-md); box-shadow: 0 30px 80px -30px #000;
    transition: opacity 250ms;
  }
  .lb.is-loading .lb__img { opacity: 0.35; }
  .lb__caption { display: flex; gap: var(--space-4); align-items: baseline; justify-content: center; flex-wrap: wrap; color: #fff; font-size: var(--fs-sm); text-align: center; }
  .lb__count { color: color-mix(in oklch, #fff 65%, transparent); font-variant-numeric: tabular-nums; }
  .lb__btn {
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center;
    background: color-mix(in oklch, #fff 14%, transparent); color: #fff;
    transition: background-color 200ms;
  }
  .lb__btn:hover { background: #fff; color: var(--green-900); }
  .lb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .lb__btn svg { width: 22px; height: 22px; }
  .lb__close { position: absolute; top: clamp(0.75rem, 2vw, 1.5rem); right: clamp(0.75rem, 2vw, 1.5rem); }
  @media (max-width: 767px) {
    .lb { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 4.5rem 1rem 1.5rem; }
    .lb__figure { grid-column: 1 / -1; grid-row: 1; }
    .lb__prev { grid-row: 2; justify-self: end; }
    .lb__next { grid-row: 2; justify-self: start; }
  }

  /* --------------------------------------------------------- Contact page */
  .qc-section { padding-bottom: 0; }
  .qc-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  .qc {
    height: 100%; display: grid; gap: var(--space-2); align-content: start;
    padding: var(--space-5); border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--line);
    color: inherit; text-decoration: none;
    transition: border-color 300ms, transform 300ms var(--ease-out), box-shadow 300ms;
  }
  a.qc:hover { border-color: var(--green-600); transform: translateY(-4px); box-shadow: var(--shadow-card); }
  .qc__icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-3);
    background: var(--green-800); color: var(--white);
  }
  .qc__icon svg { width: 22px; height: 22px; }
  .qc__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); }
  .qc__value { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--ink-900); overflow-wrap: anywhere; }
  .qc__cta { margin-top: auto; padding-top: var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: var(--green-800); }
  a.qc .qc__cta::after { content: " →"; }
  div.qc .qc__cta { color: var(--ink-600); font-weight: 400; }

  .contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: start; }
  .contact-aside { display: grid; gap: var(--space-4); position: sticky; top: calc(var(--header-h) + 32px); }
  .contact-aside__card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--green-800); color: var(--on-green-muted); }
  .contact-aside__card h3 { color: var(--white); font-size: var(--fs-h4); margin-bottom: var(--space-4); }
  .after-steps { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
  .after-steps li { display: grid; grid-template-columns: 34px 1fr; gap: var(--space-3); align-items: start; }
  .after-steps li > span {
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--green-800); font-weight: 600; font-size: var(--fs-sm);
  }
  .after-steps strong { color: var(--white); display: block; }
  .after-steps p { font-size: var(--fs-sm); line-height: 1.45; }
  .contact-aside .map { aspect-ratio: 4 / 3; }
  .contact-aside__transit { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); color: var(--ink-700); }
  .contact-aside__transit svg { width: 40px; height: 40px; flex: none; padding: 10px; border-radius: 50%; background: var(--white); color: var(--green-800); }

  /* --------------------------------------------------------- Green band */
  .band {
    background: var(--green-800); color: var(--on-green-muted);
    padding-block: var(--space-9);
  }
  .band h2, .band h3 { color: var(--white); }
  .band__head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
    gap: var(--space-5); margin-bottom: var(--space-7);
  }
  .band__head h2 { max-width: 18ch; }
  .card-row {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4); list-style: none; padding: 0;
  }
  .card-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .line-card {
    container-type: inline-size;
    display: flex; flex-direction: column; gap: var(--space-3);
    padding: var(--space-6) var(--space-5);
    border: 1px solid var(--on-green-line); border-radius: var(--radius-lg);
    transition: border-color 300ms, background-color 300ms;
    color: var(--on-green-muted);
    text-decoration: none;
    height: 100%;
  }
  .line-card:hover { border-color: var(--on-green-line-strong); background: color-mix(in oklch, var(--white) 4%, transparent); color: var(--on-green-muted); }
  .line-card__icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: color-mix(in oklch, var(--white) 10%, transparent); color: var(--white);
    margin-bottom: var(--space-3);
  }
  .line-card__icon svg { width: 22px; height: 22px; }
  .line-card h3 { font-size: var(--fs-h4); font-family: var(--font-display); color: var(--white); }
  .line-card p { font-size: var(--fs-sm); line-height: 1.6; flex: 1; }
  .line-card .link-arrow { color: var(--white); margin-top: var(--space-2); }
  @container (max-width: 260px) {
    .line-card h3 { font-size: 1.15rem; }
  }

  /* --------------------------------------------------------- Values */
  .values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); list-style: none; padding: 0; }
  .value-card {
    container-type: inline-size;
    position: relative;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: var(--space-5); padding-top: calc(var(--space-5) + 56px);
    min-height: 260px; display: flex; flex-direction: column; justify-content: end; gap: var(--space-2);
    transition: border-color 300ms;
  }
  .value-card:hover { border-color: var(--line-strong); }
  .badge {
    position: absolute; top: var(--space-5); left: var(--space-5);
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--green-800); color: var(--white);
    display: grid; place-items: center;
  }
  .badge svg { width: 19px; height: 19px; }
  .value-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; line-height: 1.35; }
  .value-card p { font-size: var(--fs-sm); line-height: 1.6; }

  /* --------------------------------------------------------- Feature split */
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
  .split--reverse > :first-child { order: 2; }
  .split__text { display: grid; gap: var(--space-4); }
  .split__text .btn, .split__text .link-arrow { justify-self: start; }
  .checklist { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
  .checklist li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; }
  .checklist li::before {
    content: ""; width: 22px; height: 22px; margin-top: 0.25em; border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310523A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  }

  /* Grounds — image-led */
  .grounds__head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5) clamp(2rem, 5vw, 5rem); align-items: end;
    margin-bottom: var(--space-7);
  }
  .grounds__head h2 { max-width: 18ch; }
  .grounds__head .lead { max-width: 52ch; }
  .grounds__top {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-4);
  }
  .grounds__photo { min-height: 100%; aspect-ratio: 7 / 5; }
  .grounds__address {
    position: absolute; left: var(--space-4); bottom: var(--space-4);
    padding: 0.5rem 1rem; border-radius: var(--radius-pill);
    background: var(--white); color: var(--ink-900);
    font-size: var(--fs-xs); font-weight: 600;
  }
  .grounds__counts {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(150px, 1fr); gap: var(--space-4);
  }
  .grounds__count {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: end; gap: 0.35rem;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--green-900); color: var(--white);
  }
  .grounds__count img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 900ms var(--ease-out);
  }
  .grounds__count::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, color-mix(in oklch, var(--green-900) 10%, transparent) 20%, color-mix(in oklch, var(--green-900) 85%, transparent) 100%);
  }
  .grounds__count:hover img { transform: scale(1.06); }
  .grounds__count--main { grid-column: 1 / -1; }
  .grounds__num {
    font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1;
    color: var(--white); letter-spacing: -0.02em;
  }
  .grounds__count--main .grounds__num { font-size: clamp(3.2rem, 2.6rem + 2.6vw, 4.8rem); }
  .grounds__label { display: grid; gap: 0.15rem; font-weight: 600; color: var(--white); line-height: 1.3; }
  .grounds__count--main .grounds__label { font-size: 1.1rem; }
  .grounds__label small { font-weight: 400; font-size: var(--fs-sm); color: color-mix(in oklch, var(--white) 85%, transparent); }
  .grounds__outside { margin-top: var(--space-8); }
  .grounds__subhead { font-size: var(--fs-h3); margin-bottom: var(--space-5); }
  .grounds__feats {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }
  .grounds__feat {
    display: flex; gap: var(--space-4); align-items: start;
    padding: var(--space-5) var(--space-5) var(--space-5) 0;
    border-bottom: 1px solid var(--line);
  }
  .grounds__feat svg {
    width: 46px; height: 46px; flex: none; padding: 11px;
    border-radius: 50%; background: var(--green-50); color: var(--green-800);
  }
  .grounds__feat h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; }
  .grounds__feat p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.5; }
  .grounds-section .photo-note { margin-top: var(--space-4); }
  .photo-note { font-size: var(--fs-xs); color: var(--ink-600); letter-spacing: 0.02em; }

  /* Life grid (bento) */
  .life { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: var(--space-4); list-style: none; padding: 0; }
  .life__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); isolation: isolate; min-height: 240px; }
  .life__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
  .life__item:hover img { transform: scale(1.03); }
  .life__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in oklch, var(--green-900) 82%, transparent) 0%, transparent 60%); }
  .life__caption { position: absolute; inset: auto 0 0 0; padding: var(--space-5); color: var(--white); }
  .life__caption h3 { color: var(--white); font-size: 1.3rem; }
  .life__caption p { font-size: var(--fs-sm); line-height: 1.5; color: color-mix(in oklch, var(--white) 88%, transparent); margin-top: 0.3rem; }
  .life__item--tall { grid-row: span 2; }
  .life__item--wide { grid-column: span 2; }
  .life__item--text {
    background: var(--cream-100); border: 1px solid var(--line);
    padding: var(--space-5); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4);
  }
  .life__item--text::after { display: none; }
  .life__item--text ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-size: var(--fs-sm); }
  .life__item--text li::before { content: "·"; color: var(--green-600); font-weight: 700; margin-right: 0.5em; }
  .life__btn { justify-content: space-between; white-space: normal; text-align: left; }

  /* Dementia */
  /* Home: short dementia teaser card */
  .dem-teaser {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: stretch; overflow: hidden;
    border-radius: var(--radius-xl); background: var(--cream-100);
    color: inherit; text-decoration: none;
  }
  .dem-teaser__media { position: relative; min-height: 320px; overflow: hidden; }
  .dem-teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
  .dem-teaser:hover .dem-teaser__media img { transform: scale(1.04); }
  .dem-teaser__body {
    display: grid; gap: var(--space-4); align-content: center; justify-items: start;
    padding: clamp(1.75rem, 4vw, 3.5rem);
  }
  .dem-teaser__body h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); max-width: 20ch; }
  .dem-teaser__body p:not(.eyebrow) { color: var(--ink-700); max-width: 52ch; }
  .dem-teaser:hover .btn--ghost { --btn-bd: var(--ink-900); }

  .dementia { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
  .dementia__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); position: sticky; top: calc(var(--header-h) + 24px); }
  .dementia__media .media:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .dementia__media .media { aspect-ratio: 1; }
  .pillars { display: grid; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); margin-top: var(--space-5); }
  .pillars li { display: grid; grid-template-columns: 9rem 1fr; gap: var(--space-5); padding-block: var(--space-5); border-bottom: 1px solid var(--line); }
  .pillars h3 { font-size: 1.25rem; }
  .pillars p { font-size: var(--fs-sm); }
  .note {
    display: flex; gap: var(--space-3); align-items: start;
    background: var(--green-50); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
    font-size: var(--fs-sm); color: var(--ink-700);
  }
  .note svg { width: 20px; height: 20px; flex: none; margin-top: 0.2em; color: var(--green-700); }

  /* Stepper */
  .routes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-7); }
  .route { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
  .route__tag { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); }
  .route h3 { font-size: 1.55rem; }
  .route p { font-size: var(--fs-sm); }
  .steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0; }
  .step {
    counter-increment: step;
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-5);
    position: relative; padding-bottom: var(--space-6);
  }
  .step::before {
    content: counter(step);
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--green-800); color: var(--white);
    font-family: var(--font-display); font-size: 1.3rem;
    position: relative; z-index: 1;
  }
  .step::after {
    content: ""; position: absolute; left: 23.5px; top: 52px; bottom: 4px;
    width: 1px; background: var(--line-strong);
  }
  .step:last-child::after { display: none; }
  .step h3 { font-size: 1.35rem; margin-bottom: var(--space-2); padding-top: 0.45rem; }
  .step p { font-size: var(--fs-sm); }
  .doc-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); margin-top: var(--space-4); }
  .doc-list li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); font-size: var(--fs-sm); line-height: 1.5; padding-block: var(--space-2); border-bottom: 1px solid var(--line); }
  .doc-list li::before {
    content: ""; width: 18px; height: 18px; border: 1.5px solid var(--green-600); border-radius: 5px; margin-top: 0.2em;
  }

  /* Team */
  .team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); list-style: none; padding: 0; }
  .team-card {
    border-radius: var(--radius-md); overflow: hidden; background: var(--cream-100);
    display: grid; grid-template-rows: 1fr auto;
  }
  .team-card__photo {
    aspect-ratio: 4/4.3; display: grid; place-items: center;
    background:
      radial-gradient(circle at 50% 38%, var(--green-100) 0 22%, transparent 23%),
      radial-gradient(ellipse at 50% 100%, var(--green-100) 0 42%, transparent 43%),
      var(--green-50);
    color: var(--green-700);
    position: relative;
  }
  .team-card__photo span {
    position: absolute; top: var(--space-3); right: var(--space-3);
    font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
    background: var(--white); color: var(--ink-600); padding: 0.25rem 0.6rem; border-radius: var(--radius-pill);
  }
  .plate { background: var(--green-800); color: var(--white); padding: var(--space-3) var(--space-4); }
  .plate__name { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
  .plate__role { display: block; font-size: var(--fs-xs); color: var(--on-green-muted); margin-top: 0.15rem; }

  /* Quote */
  .quote { display: grid; justify-items: center; text-align: center; gap: var(--space-6); }
  .quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: var(--green-600); height: 2.2rem; }
  .quote blockquote p {
    font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
    line-height: 1.3; color: var(--ink-900); max-width: 30ch; margin-inline: auto;
  }
  .quote figcaption { display: flex; align-items: center; gap: var(--space-3); text-align: left; }

  /* Testimonials (component exists, section commented out until consent) */
  .testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  .testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); }

  /* Gallery */
  .gallery { columns: 4 240px; column-gap: var(--space-4); }
  .gallery a { display: block; margin-bottom: var(--space-4); break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; }
  .gallery img { width: 100%; transition: transform 700ms var(--ease-out); }
  .gallery a:hover img { transform: scale(1.03); }

  /* Contact */
  .contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-6); align-items: start; }
  .contact__info { display: grid; gap: var(--space-5); }
  .contact__list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
  .contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-3); padding-block: var(--space-4); border-bottom: 1px solid var(--line); align-items: center; }
  .contact__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-50); color: var(--green-800); display: grid; place-items: center; }
  .contact__icon svg { width: 18px; height: 18px; }
  .contact__label { display: block; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink-600); }
  .contact__value { font-size: 1.08rem; color: var(--ink-900); text-decoration: none; overflow-wrap: anywhere; }
  a.contact__value:hover { color: var(--green-700); text-decoration: underline; }
  .map { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-50); border: 1px solid var(--line); z-index: 0; position: relative; }
  .map__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--space-5); font-size: var(--fs-sm); }

  /* Form */
  /* Contact form: choose between a message and an application */
  .choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .choice__opt {
    position: relative; cursor: pointer;
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius-md);
    background: var(--white); transition: border-color 200ms, background-color 200ms;
  }
  .choice__opt:hover { border-color: var(--green-600); }
  .choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
  .choice__opt:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
  .choice__opt:has(input:focus-visible) { outline: 2px solid var(--green-700); outline-offset: 2px; }
  .choice__icon {
    width: 42px; height: 42px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--green-100); color: var(--green-800);
  }
  .choice__opt:has(input:checked) .choice__icon { background: var(--green-800); color: var(--white); }
  .choice__icon svg { width: 20px; height: 20px; }
  .choice__opt strong { display: block; font-size: var(--fs-sm); color: var(--ink-900); }
  .choice__opt small { display: block; font-size: var(--fs-xs); color: var(--ink-600); line-height: 1.35; }
  .form__extra {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4);
    padding: var(--space-5); border-radius: var(--radius-md); background: var(--cream-100);
  }
  .form__extra[hidden] { display: none; }
  .form:has(#tip-poruka:checked) .form__extra[data-for="prijava"] { display: none; }
  .form__extra-title { grid-column: 1 / -1; font-weight: 600; color: var(--green-800); }

  /* Contact page: how to get a place */
  .how { background: var(--cream-100); }
  .how .routes { margin-bottom: var(--space-6); }
  .mini-steps {
    list-style: none; padding: 0; margin-bottom: var(--space-6);
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4);
  }
  .mini-steps li { display: grid; gap: var(--space-2); align-content: start; padding-top: var(--space-4); border-top: 2px solid var(--green-700); }
  .mini-steps__num {
    font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--green-700);
  }
  .mini-steps h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
  .mini-steps p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.5; }

  /* Home: full-width "how to get a place" call to action, just above the footer */
  .join {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(4rem, 9vw, 7.5rem);
    background: var(--green-900); color: var(--on-green-muted);
    border-bottom: 1px solid var(--on-green-line); /* separates it from the footer, which is the same green */
  }
  .join__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
  .join::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, color-mix(in oklch, var(--green-900) 94%, transparent) 0%, color-mix(in oklch, var(--green-900) 82%, transparent) 50%, color-mix(in oklch, var(--green-900) 55%, transparent) 100%);
  }
  .join__inner {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: center;
  }
  .join__text { display: grid; gap: var(--space-4); justify-items: start; }
  .join h2 { color: var(--white); font-size: var(--fs-h2); max-width: 18ch; }
  .join__lead { color: color-mix(in oklch, var(--white) 86%, transparent); font-size: var(--fs-lead); line-height: 1.55; max-width: 50ch; }
  .join__steps { list-style: none; padding: 0; margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-3); }
  .join__steps li {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.45rem; border-radius: var(--radius-pill);
    border: 1px solid var(--on-green-line); color: var(--white); font-size: var(--fs-sm);
    background: color-mix(in oklch, var(--white) 6%, transparent);
  }
  .join__steps li span {
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); color: var(--green-800); font-weight: 600; font-size: var(--fs-xs);
  }
  .join__card {
    display: grid; gap: var(--space-5);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--white); color: var(--ink-700);
    border-radius: var(--radius-xl); box-shadow: 0 30px 60px -30px color-mix(in oklch, var(--black) 55%, transparent);
  }
  .join__routes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .join__route { display: grid; gap: 0.3rem; padding: var(--space-4); border-radius: var(--radius-md); background: var(--cream-100); }
  .join__tag { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-700); }
  .join__route strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink-900); }
  .join__route p { font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.45; }
  .join__actions { display: grid; gap: var(--space-3); }
  .join__actions .btn { justify-content: space-between; }
  .join__phone {
    display: flex; align-items: center; gap: var(--space-3);
    padding-top: var(--space-4); border-top: 1px solid var(--line);
    color: var(--ink-700); text-decoration: none; font-size: var(--fs-sm);
  }
  .join__phone svg { width: 40px; height: 40px; flex: none; padding: 10px; border-radius: 50%; background: var(--green-50); color: var(--green-800); }
  .join__phone strong { color: var(--green-800); white-space: nowrap; }
  .join__phone:hover strong { text-decoration: underline; }
  .btn--white { --btn-bg: var(--white); --btn-fg: var(--green-900); --btn-bd: var(--white); }
  .btn--white:hover { --btn-bg: var(--green-50); --btn-bd: var(--green-50); --btn-fg: var(--green-900); }
  .btn--white .btn__arrow { background: var(--green-100); color: var(--green-800); }

  .form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.5rem); }
  .form-card h3 { margin-bottom: var(--space-2); }
  .form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); margin-top: var(--space-5); }
  .field { display: grid; gap: var(--space-2); }
  .field--full { grid-column: 1 / -1; }
  .field label, .field legend { font-weight: 600; font-size: var(--fs-sm); color: var(--ink-900); }
  .field .hint { font-size: var(--fs-xs); color: var(--ink-600); margin-top: -0.2rem; }
  .req { color: var(--green-700); }
  .input, .select, .textarea {
    width: 100%; min-height: 52px; padding: 0.75rem 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--cream-50); color: var(--ink-900);
    font-size: 1rem;
    transition: border-color 200ms, background-color 200ms;
  }
  .textarea { min-height: 130px; resize: vertical; }
  .input:hover, .select:hover, .textarea:hover { border-color: var(--ink-600); }
  .input:focus-visible, .select:focus-visible, .textarea:focus-visible { background: var(--white); border-color: var(--green-700); outline-offset: 1px; }
  .field:has([aria-invalid="true"]) .input,
  .field:has([aria-invalid="true"]) .select,
  .field:has([aria-invalid="true"]) .textarea { border-color: var(--error); border-width: 2px; }
  .field__error { display: none; align-items: center; gap: 0.4em; font-size: var(--fs-sm); color: var(--error); font-weight: 600; }
  .field__error svg { width: 16px; height: 16px; flex: none; }
  .field:has([aria-invalid="true"]) .field__error { display: flex; }
  .consent { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; font-size: var(--fs-sm); }
  .consent input { width: 22px; height: 22px; margin-top: 0.2em; accent-color: var(--green-700); }
  .form__status { grid-column: 1 / -1; }
  .form__success { display: flex; gap: var(--space-3); align-items: start; background: var(--green-50); border: 1px solid var(--green-100); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); color: var(--ink-900); }
  .form__success svg { width: 22px; height: 22px; color: var(--green-700); flex: none; }

  /* FAQ */
  .faq { display: grid; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
    padding-block: var(--space-5); min-height: 48px;
    font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-900);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%;
    background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310523A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: rotate 300ms var(--ease-out);
  }
  .faq details[open] summary::after { rotate: 45deg; }
  .faq details > div { padding-bottom: var(--space-5); }

  /* Price */
  .price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: var(--space-4); }
  .price-card__from { font-family: var(--font-display); font-size: var(--fs-stat); line-height: 1; color: var(--ink-900); }
  .price-card__qual { font-size: var(--fs-sm); }
  .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
  table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
  th, td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
  th { font-weight: 600; color: var(--ink-900); background: var(--green-50); }
  tr:last-child td { border-bottom: 0; }

  /* News */
  .news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; padding: 0; }
  .news-card { display: grid; gap: var(--space-3); align-content: start; text-decoration: none; color: inherit; }
  .news-card .media { aspect-ratio: 4/3; }
  .news-card time { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--green-700); }
  .news-card h3 { font-size: 1.4rem; }
  .news-card p { font-size: var(--fs-sm); }
  .empty-state { text-align: center; padding: var(--space-8) var(--space-5); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

  /* Prose (legal pages) */
  .prose { max-width: 760px; margin-inline: auto; display: grid; gap: var(--space-4); }
  .prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: var(--space-6); }
  .prose h3 { font-size: 1.35rem; margin-top: var(--space-4); }
  .prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: var(--space-2); }

  /* CTA panel */
  .cta-panel {
    background: var(--green-900); color: var(--on-green-muted);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 6vw, 5rem);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: end;
  }
  .cta-panel h2 { color: var(--white); max-width: 20ch; }
  .cta-panel p { margin-top: var(--space-4); }
  .cta-panel__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

  /* Footer */
  .site-footer { background: var(--green-900); color: var(--on-green-muted); padding-top: var(--space-9); padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-sm); }
  .site-footer a { color: var(--white); text-decoration: none; }
  .site-footer a:hover { text-decoration: underline; }
  .footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--space-7); padding-bottom: var(--space-8); border-bottom: 1px solid var(--on-green-line); }
  .footer__brand { display: grid; gap: var(--space-4); align-content: start; }
  .footer__brand .brand { color: var(--white); }
  .footer__brand .brand__mark { color: var(--white); }
  .footer__brand .brand__sub { color: var(--on-green-muted); }
  .footer__legal { display: grid; gap: 0.2rem; font-style: normal; }
  .footer__col h2 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); font-weight: 600; margin-bottom: var(--space-4); }
  .footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
  .footer__col a { display: inline-block; padding-block: 0.35rem; }
  .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); }
  .footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; }

  /* Sticky mobile bar */
  .mobile-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    gap: var(--space-2);
    padding: var(--space-2) max(12px, env(safe-area-inset-right, 0px)) calc(var(--space-2) + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; padding-inline: 1rem; }

  /* Video (click-to-play) */
  .video-poster { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; }
}

/* -------------------------------------------------------------- utilities */
@layer utilities {
  .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;
  }
  .center { text-align: center; }
  .mt-4 { margin-top: var(--space-4); }
  .mt-5 { margin-top: var(--space-5); }
  .mt-6 { margin-top: var(--space-6); }
  .mt-7 { margin-top: var(--space-7); }
  .stack { display: grid; gap: var(--space-4); }
  .ar-4-3 { aspect-ratio: 4/3; }
  .ar-3-2 { aspect-ratio: 3/2; }
  .ar-4-5 { aspect-ratio: 4/5; }
  .ar-16-9 { aspect-ratio: 16/9; }
  .token { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.92em; background: var(--green-50); color: var(--green-800); padding: 0.05em 0.35em; border-radius: 4px; }
}

/* ------------------------------------------------------------- reveals
   CSS scroll-driven animations for simple text rises. Content is fully
   visible without support or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    @keyframes rise {
      from { opacity: 0; translate: 0 20px; }
      to   { opacity: 1; translate: 0 0; }
    }
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 350ms; }
  ::view-transition-group(hero-photo) { animation-duration: 550ms; animation-timing-function: var(--ease-out); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}

/* --------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { grid-template-columns: 1fr auto auto; }
  .header-cta { display: none; }
  .card-row, .card-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .life { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .qc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-aside { position: static; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equip, .temp, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .equip__media { aspect-ratio: 16 / 10; }
  .temp__media { min-height: 0; aspect-ratio: 16 / 10; }
  .faq-wrap__head { position: static; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
  .timeline::before { display: none; }
  .saint__inner, .lead-org { grid-template-columns: minmax(0, 1fr); }
  .saint__media { aspect-ratio: 16 / 10; }
  .saint__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__label { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .trust__mark:nth-child(1) { border-left: 0; }
  .incl__grid, .incl__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .svc-nav__list { justify-content: flex-start; }
  .dem-teaser { grid-template-columns: minmax(0, 1fr); }
  .dem-teaser__media { min-height: 0; aspect-ratio: 16 / 10; }
  .join__inner { grid-template-columns: minmax(0, 1fr); }
  .mini-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__head { grid-template-columns: minmax(0, 1fr); }
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .svc__item--1 { grid-column: 1 / -1; grid-row: span 1; }
  .about__photo { aspect-ratio: 4 / 3; }
  .about__badge { right: 1rem; bottom: 1rem; }
  .story__top, .story__bottom, .split, .dementia, .contact, .routes, .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .grounds__head, .grounds__top { grid-template-columns: minmax(0, 1fr); }
  .grounds__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dementia__media { position: static; }
  .pillars li { grid-template-columns: 1fr; gap: var(--space-2); }
  .doc-list { grid-template-columns: 1fr; }
  .testimonials, .news { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage__item { border-width: 3px; }
  .hero__card { position: static; margin: 0 clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem); max-width: none; }
  .hero__frame { align-content: end; }
}

@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  .btn { white-space: normal; text-align: left; }
  .mobile-bar .btn { white-space: nowrap; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .card-row, .card-row--4, .values, .life { grid-template-columns: 1fr; }
  .life__item--wide, .life__item--tall { grid-column: auto; grid-row: auto; }
  .form { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .choice, .form__extra, .mini-steps { grid-template-columns: 1fr; }
  .qc-grid { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .act--photo { min-height: 280px; }
  .rooms, .equip__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .incl__grid, .incl__grid--3 { grid-template-columns: 1fr; }
  .join__routes { grid-template-columns: 1fr; }
  .grounds__feats { grid-template-columns: 1fr; }
  .svc__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__label, .trust__mark { border-left: 0; padding-block: var(--space-3); }
  .trust__mark + .trust__mark { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr; }
  .collage { flex-wrap: nowrap; }
  .collage__item:nth-child(n) { width: 30%; }
  .collage__item:nth-child(5), .collage__item:nth-child(6) { display: none; }
  .collage__item:nth-child(1) { width: 34%; }
  .collage__item:nth-child(3) { width: 38%; }
  .collage__item:nth-child(4) { width: 30%; }
}

/* --------------------------------------------------------- user prefs */
@media (prefers-contrast: more) {
  :root { --ink-600: var(--ink-900); --line: var(--line-strong); --on-green-muted: var(--white); }
  .hero__frame::after, .page-hero__frame::after { background: color-mix(in oklch, var(--green-900) 85%, transparent); }
}
@media (forced-colors: active) {
  .btn, .line-card, .value-card, .route, .form-card, .team-card { border: 1px solid CanvasText; }
  .eyebrow::before, .step::before, .badge { forced-color-adjust: none; }
  .hero__frame::after, .page-hero__frame::after, .life__item::after { display: none; }
  .hero__content, .page-hero__content, .life__caption { background: Canvas; color: CanvasText; }
  .hero__content h1, .page-hero__content h1, .life__caption h3 { color: CanvasText; }
}

@media print {
  .site-header, .mobile-bar, .site-footer, .map, form { display: none !important; }
  body { background: var(--white); color: var(--black); }
}
