/* ==========================================================================
   Orchard · Holiday lets — ili studio theme
   Concept: "the farmhouse window". Warm paper, a fine serif that mixes roman
   and italic, arched photographs like old farmhouse windows, and a hand-drawn
   sprig on a deep green panel. Fraunces (variable, roman + italic) +
   Instrument Sans.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette 1 — Meadow & ochre (overridden by #ili-palette) */
  --ili-primary: #33472F;
  --ili-accent: #C99A4B;
  --ili-ink: #3A3424;
  --ili-bg: #F6EBD3;
  --ili-soft: #ECDDBC;

  --muted: color-mix(in srgb, var(--ili-ink) 74%, var(--ili-bg));
  --line: color-mix(in srgb, var(--ili-ink) 22%, transparent);
  --line-soft: color-mix(in srgb, var(--ili-ink) 12%, transparent);
  --on-primary: var(--ili-bg);
  --on-primary-muted: color-mix(in srgb, var(--ili-bg) 78%, var(--ili-primary));
  --on-primary-line: color-mix(in srgb, var(--ili-bg) 24%, transparent);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.75rem, 0.73rem + 0.08vw, 0.8rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.15rem);
  --step-1: clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
  --step-2: clamp(1.75rem, 1.4rem + 1.7vw, 2.9rem);
  --step-3: clamp(2.3rem, 1.6rem + 3.3vw, 4.6rem);
  --step-4: clamp(2.9rem, 1.5rem + 6.6vw, 8rem);

  --gutter: clamp(16px, 2vw, 32px);
  --margin: clamp(20px, 4.5vw, 72px);
  --max: 1440px;
  --section-y: clamp(80px, 11vw, 176px);
  --arch: 999px 999px 6px 6px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --botanical: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22560%22 height=%221260%22 viewBox=%22-30 -40 560 1260%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath stroke-width=%223%22 d=%22M230 1190 C150 900 360 640 250 70%22/%3E%3Cpath transform=%22translate%28214 1104%29 rotate%28-54%29%22 d=%22M0 0 C60 -44 167 -31 239 36 C172 67 72 83 0 0Z M10 0 Q120 20 222 34 M67 8 Q86 -14 105 -31 M67 8 Q86 31 105 46 M115 14 Q134 -8 153 -25 M115 14 Q134 36 153 52 M158 19 Q177 -3 196 -20 M158 19 Q177 42 196 58%22/%3E%3Cpath transform=%22translate%28212 1026%29 rotate%28-135%29%22 d=%22M0 0 C60 -88 168 -74 241 -20 C173 38 72 56 0 0Z M10 0 Q120 -11 224 -19 M67 -5 Q87 -30 106 -49 M67 -5 Q87 21 106 39 M115 -8 Q135 -33 154 -53 M115 -8 Q135 17 154 36 M159 -11 Q178 -36 197 -56 M159 -11 Q178 15 197 33%22/%3E%3Cpath transform=%22translate%28219 937%29 rotate%28-35%29%22 d=%22M0 0 C49 -44 137 -34 195 17 C141 47 59 60 0 0Z M8 0 Q98 9 182 16 M55 4 Q70 -14 86 -29 M55 4 Q70 22 86 35 M94 6 Q109 -12 125 -26 M94 6 Q109 25 125 38 M129 9 Q144 -9 160 -23 M129 9 Q144 27 160 40%22/%3E%3Cpath transform=%22translate%28231 854%29 rotate%28-138%29%22 d=%22M0 0 C52 -72 144 -60 206 -19 C148 28 62 43 0 0Z M8 0 Q103 -11 192 -18 M58 -4 Q74 -24 91 -40 M58 -4 Q74 16 91 30 M99 -7 Q115 -27 132 -43 M99 -7 Q115 13 132 27 M136 -10 Q152 -30 169 -46 M136 -10 Q152 10 169 24%22/%3E%3Cpath transform=%22translate%28251 735%29 rotate%28-20%29%22 d=%22M0 0 C50 -43 140 -32 200 29 C144 59 60 73 0 0Z M8 0 Q100 16 186 27 M56 7 Q72 -14 88 -30 M56 7 Q72 27 88 41 M96 11 Q112 -9 128 -25 M96 11 Q112 32 128 46 M132 15 Q148 -5 164 -21 M132 15 Q148 36 164 50%22/%3E%3Cpath transform=%22translate%28267 627%29 rotate%28-122%29%22 d=%22M0 0 C50 -82 141 -71 201 -35 C145 18 60 32 0 0Z M8 0 Q101 -20 187 -33 M56 -8 Q73 -28 89 -43 M56 -8 Q73 12 89 26 M97 -14 Q113 -34 129 -49 M97 -14 Q113 6 129 20 M133 -19 Q149 -39 165 -54 M133 -19 Q149 1 165 15%22/%3E%3Cpath transform=%22translate%28278 521%29 rotate%28-45%29%22 d=%22M0 0 C37 -40 104 -31 149 17 C107 44 45 56 0 0Z M6 0 Q74 9 139 16 M42 4 Q54 -13 66 -26 M42 4 Q54 21 66 33 M71 7 Q83 -10 95 -24 M71 7 Q83 23 95 36 M98 9 Q110 -8 122 -21 M98 9 Q110 26 122 38%22/%3E%3Cpath transform=%22translate%28283 391%29 rotate%28-142%29%22 d=%22M0 0 C34 -55 96 -47 137 -21 C99 15 41 25 0 0Z M5 0 Q69 -12 128 -19 M38 -5 Q49 -19 60 -29 M38 -5 Q49 9 60 19 M66 -8 Q77 -22 88 -33 M66 -8 Q77 6 88 16 M91 -11 Q102 -25 113 -36 M91 -11 Q102 3 113 13%22/%3E%3Cpath transform=%22translate%28277 262%29 rotate%28-55%29%22 d=%22M0 0 C35 -33 97 -25 139 12 C100 34 42 44 0 0Z M6 0 Q70 7 129 11 M39 3 Q50 -11 61 -21 M39 3 Q50 16 61 26 M67 5 Q78 -9 89 -19 M67 5 Q78 18 89 28 M92 6 Q103 -7 114 -18 M92 6 Q103 20 114 29%22/%3E%3Cpath transform=%22translate%28250 70%29 rotate%28-105%29%22 d=%22M0 0 C38 -39 105 -29 150 17 C108 44 45 56 0 0Z M6 0 Q75 10 140 16 M42 4 Q54 -13 66 -25 M42 4 Q54 20 66 32 M72 7 Q84 -10 96 -23 M72 7 Q84 23 96 35 M99 9 Q111 -7 123 -20 M99 9 Q111 26 123 38%22/%3E%3Cpath stroke-width=%222.2%22 d=%22M241 796 C330 520 400 470 450 330%22/%3E%3Cpath transform=%22translate%28327 576%29 rotate%28-19%29%22 d=%22M0 0 C32 -29 91 -21 130 19 C93 39 39 48 0 0Z M5 0 Q65 11 121 18 M36 4 Q47 -9 57 -20 M36 4 Q47 18 57 27 M62 7 Q73 -6 83 -17 M62 7 Q73 21 83 30 M86 10 Q96 -3 106 -14 M86 10 Q96 23 106 33%22/%3E%3Cpath transform=%22translate%28380 475%29 rotate%28-118%29%22 d=%22M0 0 C29 -45 80 -38 115 -18 C82 11 34 19 0 0Z M5 0 Q57 -10 106 -17 M32 -4 Q41 -15 50 -24 M32 -4 Q41 7 50 15 M55 -7 Q64 -18 73 -27 M55 -7 Q64 4 73 12 M76 -10 Q85 -21 94 -30 M76 -10 Q85 2 94 10%22/%3E%3Cpath transform=%22translate%28421 399%29 rotate%28-14%29%22 d=%22M0 0 C28 -25 80 -18 114 20 C82 38 34 47 0 0Z M5 0 Q57 11 106 19 M32 5 Q41 -8 50 -18 M32 5 Q41 17 50 26 M55 8 Q64 -5 73 -15 M55 8 Q64 21 73 30 M75 11 Q84 -2 93 -12 M75 11 Q84 23 93 33%22/%3E%3Cpath transform=%22translate%28450 330%29 rotate%28-70%29%22 d=%22M0 0 C28 -41 77 -34 110 -13 C79 14 33 22 0 0Z M4 0 Q55 -7 102 -12 M31 -3 Q40 -14 48 -22 M31 -3 Q40 8 48 16 M53 -5 Q62 -16 70 -24 M53 -5 Q62 6 70 14 M73 -7 Q81 -18 90 -26 M73 -7 Q81 4 90 12%22/%3E%3Cpath stroke-width=%222.2%22 d=%22M217 955 C120 770 60 700 40 560%22/%3E%3Cpath transform=%22translate%28123 784%29 rotate%28-160%29%22 d=%22M0 0 C37 -61 104 -52 148 -19 C107 22 44 34 0 0Z M6 0 Q74 -10 138 -17 M41 -4 Q53 -21 65 -34 M41 -4 Q53 12 65 24 M71 -7 Q83 -24 95 -37 M71 -7 Q83 9 95 21 M98 -10 Q110 -27 121 -39 M98 -10 Q110 7 121 19%22/%3E%3Cpath transform=%22translate%2874 686%29 rotate%28-63%29%22 d=%22M0 0 C27 -30 75 -23 107 9 C77 29 32 37 0 0Z M4 0 Q54 5 100 8 M30 2 Q39 -10 47 -19 M30 2 Q39 14 47 22 M51 3 Q60 -8 69 -17 M51 3 Q60 15 69 24 M71 5 Q79 -7 88 -16 M71 5 Q79 16 88 25%22/%3E%3Cpath transform=%22translate%2840 560%29 rotate%28-98%29%22 d=%22M0 0 C26 -28 74 -21 105 12 C76 31 32 40 0 0Z M4 0 Q52 7 98 11 M29 3 Q38 -9 46 -18 M29 3 Q38 15 46 23 M50 5 Q59 -7 67 -16 M50 5 Q59 17 67 25 M69 6 Q78 -5 86 -14 M69 6 Q78 18 86 27%22/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ili-bg);
  color: var(--ili-ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 340; text-wrap: balance; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ili-primary); color: var(--ili-bg); }
:focus-visible { outline: 2px solid var(--ili-primary); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ili-primary); color: var(--ili-bg); padding: 12px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--ili-soft); }
.section--green { background: var(--ili-primary); color: var(--on-primary); }
.rule { border-top: 1px solid var(--line); }

/* ---------- Type roles ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(20px, 3vw, 32px);
}
/* a tiny arch, the theme's mark */
.label::before {
  content: "";
  width: 9px; height: 12px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  flex: none;
}
.section--green .label, .split-green .label { color: var(--on-primary-muted); }
.display {
  font-size: var(--step-4);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: .95;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: var(--step-3);
  font-weight: 320;
  font-variation-settings: "opsz" 120;
  line-height: 1;
  letter-spacing: -0.03em;
}
.h3 {
  font-size: var(--step-1);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.italic { font-style: italic; }
.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--ili-primary);
}
.lead { font-size: var(--step-1); line-height: 1.5; font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 24; max-width: 40ch; }
.small { font-size: .9rem; color: var(--muted); }
.strong-sm { font-weight: 650; font-size: .95rem; line-height: 1.45; letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.prose { display: grid; gap: 1em; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 650 .82rem/1.1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn:active { transform: scale(.97); transition-duration: 60ms; }
.btn--solid { background: var(--ili-primary); color: var(--on-primary); }
.btn--accent { background: var(--ili-accent); color: var(--ili-ink); }
.btn--line { border-color: currentColor; background: transparent; }
@media (hover: hover) {
  .btn--solid:hover { background: color-mix(in srgb, var(--ili-primary) 84%, var(--ili-ink)); }
  .btn--accent:hover { background: color-mix(in srgb, var(--ili-accent) 85%, var(--ili-ink)); }
  .btn--line:hover { background: var(--ili-ink); border-color: var(--ili-ink); color: var(--ili-bg); }
  .section--green .btn--line:hover { background: var(--ili-bg); border-color: var(--ili-bg); color: var(--ili-primary); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--serif); font-style: italic; font-size: var(--step-1);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--ili-accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ili-bg) 86%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--serif); font-weight: 380; font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a, .menu__panel a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 650 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--ili-accent); text-decoration-thickness: 1.5px; }
@media (hover: hover) { .nav a:hover { color: var(--ili-primary); } }
.header-cta { display: none; }
.menu > summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ili-ink); border-radius: 999px;
  font: 650 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; list-style: none; user-select: none;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; left: calc(-1 * var(--margin)); right: calc(-1 * var(--margin)); top: 100%;
  padding: 8px var(--margin) 28px;
  background: var(--ili-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ili-ink) 35%, transparent);
}
.menu__panel li + li { border-top: 1px solid var(--line-soft); }
.menu__panel a { width: 100%; min-height: 58px; padding: 0; font: 340 1.7rem/1 var(--serif); letter-spacing: -0.02em; text-transform: none; }
.menu__panel .btn { width: 100%; margin-top: 18px; }
@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; }
  .nav { display: block; }
  .brand { justify-self: center; grid-column: 2; grid-row: 1; text-align: center; font-size: 1.75rem; }
  .nav--left { grid-column: 1; grid-row: 1; }
  .header-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 20px; }
  .menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 96px); }
.hero__kicker { margin-bottom: clamp(16px, 2vw, 28px); }
.hero .display { max-width: 15ch; }
@media (min-width: 1024px) {
  /* stepped headline: the second line steps in, like the reference's staircase */
  .hero .display { max-width: 13.5ch; text-indent: 1.6em; margin-left: calc(100% / 12 * 1); }
  .hero__kicker { margin-left: calc(100% / 12 * 1); }
}
.hero__row { row-gap: 28px; padding-block: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 48px); align-items: end; }
.hero__facts { grid-column: 1 / -1; }
.hero__lead { grid-column: 1 / -1; }
.hero__actions { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .hero__facts { grid-column: 2 / span 3; }
  .hero__lead { grid-column: 6 / span 4; }
  .hero__actions { grid-column: 10 / -1; justify-content: flex-end; }
  .hero__actions .btn { flex: 1 1 auto; }
}
.hero__media { padding-inline: clamp(8px, 1.4vw, 20px); }
.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--ili-soft);
  border-radius: 18px 18px 0 0;
}
@media (min-width: 768px) { .hero__img { aspect-ratio: 16 / 9; border-radius: 28px 28px 0 0; } }

/* ---------- Statement ---------- */
.statement { text-align: center; }
.statement p:not(.label) {
  font-family: var(--serif); font-weight: 330; font-size: var(--step-2);
  font-variation-settings: "opsz" 72; line-height: 1.2; letter-spacing: -0.02em;
  max-width: 28ch; margin-inline: auto;
  text-wrap: balance;
}
.statement .label { justify-content: center; }

/* ---------- Arched photos (signature) ---------- */
.arch { margin: 0; }
.arch img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--arch);
  background: var(--ili-soft);
}
.photo img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--ili-soft);
}
.photo--tall img { aspect-ratio: 4 / 5; }

/* ---------- Spaces (the house) ---------- */
.head { row-gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); align-items: end; }
.head__title { grid-column: 1 / -1; }
.head__aside { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .head__title { grid-column: 1 / span 7; }
  .head__aside { grid-column: 9 / -1; }
}
.head__aside .text-link { margin-top: 12px; }
.spaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) var(--gutter); }
@media (min-width: 1024px) {
  .spaces { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spaces > :nth-child(even) { margin-top: clamp(48px, 7vw, 112px); }
  .spaces--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spaces--3 > :nth-child(even) { margin-top: clamp(48px, 7vw, 112px); }
}
.space figcaption { padding-top: 18px; }
.space .eyebrow { font: 650 var(--step--1)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.space .h3 { margin-top: 8px; }
.space p:not(.eyebrow) { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* ---------- Green split with sprig ---------- */
.split-green { display: grid; grid-template-columns: 1fr; background: var(--ili-primary); color: var(--on-primary); }
.split-green__text { position: relative; overflow: hidden; padding: var(--section-y) var(--margin); isolation: isolate; }
/* decorative sprig: drawn with a mask so it follows the palette */
.split-green__text::before {
  content: "";
  position: absolute; z-index: -1;
  right: -8%; top: 6%;
  width: min(62%, 420px); aspect-ratio: 560 / 1260;
  background: color-mix(in srgb, var(--ili-bg) 18%, transparent);
  -webkit-mask: var(--botanical) center / contain no-repeat;
  mask: var(--botanical) center / contain no-repeat;
}
.split-green .h2 { margin-bottom: clamp(20px, 3vw, 32px); max-width: 12ch; }
.split-green p { max-width: 44ch; }
.distances { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--on-primary-line); max-width: 520px; }
.distances li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--on-primary-line); }
.distances li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ili-accent); transform: translateY(-2px); }
.split-green__media { margin: 0; min-height: 360px; }
.split-green__media img { width: 100%; height: 100%; min-height: 360px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ili-soft); }
@media (min-width: 1024px) {
  .split-green { grid-template-columns: 1fr 1fr; }
  .split-green__text { padding-left: max(var(--margin), calc((100vw - var(--max)) / 2 + var(--margin))); }
  .split-green__media img { aspect-ratio: auto; }
}
.section--green :focus-visible, .split-green :focus-visible, .site-footer :focus-visible { outline-color: var(--ili-accent); }

/* ---------- Ways to stay ---------- */
.formats { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 200px 200px 10px 10px;
  padding-top: clamp(64px, 7vw, 96px);
  background: var(--ili-bg);
  text-align: center;
  align-items: center;
}
.format .h2 { font-size: var(--step-2); }
.format p { color: var(--muted); max-width: 34ch; }
.format .detail { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); width: 100%; font: 650 .82rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ili-ink); }

/* ---------- Extras: big serif lines ---------- */
.lines { border-top: 1px solid var(--line); }
.line {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: clamp(20px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.line h3 {
  font-size: var(--step-3); font-weight: 300; font-variation-settings: "opsz" 144;
  line-height: 1; letter-spacing: -0.03em; color: var(--ili-primary);
}
.line:nth-child(even) h3 { font-style: italic; }
.line p { color: var(--muted); max-width: 40ch; }
@media (min-width: 1024px) {
  .line { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
  .line h3 { grid-column: 1 / span 8; }
  .line p { grid-column: 9 / -1; }
  .line:nth-child(even) h3 { grid-column: 2 / span 7; }
}

/* ---------- Hosts / about ---------- */
.hosts { row-gap: clamp(40px, 6vw, 64px); align-items: center; }
.hosts__media { grid-column: 1 / -1; }
.hosts__text { grid-column: 1 / -1; }
.hosts__text .h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.hosts__text .prose p:first-child { font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; font-weight: 340; }
@media (min-width: 768px) { .hosts__media { grid-column: 2 / span 4; } }
@media (min-width: 1024px) {
  .hosts__media { grid-column: 2 / span 4; }
  .hosts__text { grid-column: 7 / span 5; }
}

/* ---------- Reviews ---------- */
.reviews__head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.reviews__head .label { justify-content: center; }
.reviews__head .h2 { margin-inline: auto; max-width: 18ch; }
.reviews__summary { margin-top: 16px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--gutter); }
.review {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--ili-bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.section--soft .review { background: var(--ili-bg); }
.stars { color: var(--ili-accent); letter-spacing: .18em; font-size: 1.05rem; line-height: 1; filter: saturate(1.1); }
.review > p:not(.who) { font-family: var(--serif); font-size: var(--step-1); font-weight: 340; line-height: 1.4; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: .88rem; color: var(--muted); }
.who b { color: var(--ili-ink); font-weight: 650; }
.who > :not([hidden]) ~ :not([hidden])::before { content: " · "; color: var(--muted); }
/* keep the separator out of the link underline */
.who a::before { display: inline-block; white-space: pre; }
.who a { text-decoration-color: var(--ili-accent); text-underline-offset: 3px; }
.reviews__cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.ili-reviews-widget { margin: 24px 0; }

/* ---------- Enquire (form) ---------- */
.enquire { row-gap: clamp(40px, 6vw, 64px); }
.enquire__text { grid-column: 1 / -1; }
.enquire__form { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .enquire__text { grid-column: 1 / span 5; }
  .enquire__form { grid-column: 7 / -1; }
}
.enquire__text .h2 { margin-bottom: 24px; }
.details { margin: clamp(28px, 4vw, 44px) 0 0; border-top: 1px solid var(--line); }
.details > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { font: 650 var(--step--1)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 0; font-family: var(--serif); font-size: var(--step-1); font-weight: 360; overflow-wrap: anywhere; }
.details a { text-decoration-color: var(--ili-accent); text-underline-offset: 5px; text-decoration-thickness: 1px; display: inline-block; min-height: 44px; padding-top: 4px; }

.form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--ili-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.section--soft .form { background: var(--ili-bg); }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 8px; font: 650 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ili-ink); }
.form input, .form textarea, .form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans);
  letter-spacing: 0; text-transform: none;
  color: var(--ili-ink);
  background: color-mix(in srgb, var(--ili-soft) 45%, var(--ili-bg));
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: color-mix(in srgb, var(--ili-ink) 50%, transparent); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ili-primary); background: var(--ili-bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ili-primary) 18%, transparent); }
.form button { justify-self: start; }
.form .small { font-size: .85rem; }
@media (max-width: 639px) { .form button { justify-self: stretch; } }

/* ---------- Call to action band ---------- */
.band { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.band::before, .band::after {
  content: ""; position: absolute; z-index: -1; top: 50%; translate: 0 -50%;
  width: clamp(120px, 18vw, 260px); aspect-ratio: 560 / 1260;
  background: color-mix(in srgb, var(--ili-bg) 16%, transparent);
  -webkit-mask: var(--botanical) center / contain no-repeat;
  mask: var(--botanical) center / contain no-repeat;
}
.band::before { left: 2%; rotate: -12deg; }
.band::after { right: 2%; rotate: 168deg; }
.band .h2 { max-width: 16ch; margin: 0 auto clamp(28px, 3vw, 40px); }
.band .actions { justify-content: center; }
.band .btn--line { color: var(--on-primary); }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 128px) clamp(40px, 6vw, 88px); }
.page-hero .display { max-width: 14ch; }
.page-hero .lead { margin-top: clamp(24px, 3vw, 40px); }
@media (min-width: 1024px) {
  .page-hero .display { text-indent: 1.6em; }
  .page-hero .lead { margin-left: calc(100% / 12 * 6); }
}

/* ---------- Features (stay page) ---------- */
.features { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .features { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features li { display: flex; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: var(--step-1); font-weight: 340; line-height: 1.3; }
.features li::before { content: ""; flex: none; width: 8px; height: 10px; border: 1.5px solid var(--ili-accent); border-bottom: 0; border-radius: 999px 999px 0 0; transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 920px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -4px; transition: rotate 260ms var(--ease), translate 260ms var(--ease); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 4px; }
.faq details p { padding: 0 0 28px; max-width: 64ch; color: var(--muted); }

/* ---------- Thanks ---------- */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.thanks .display { max-width: 12ch; margin-inline: auto; }
.thanks .lead { margin: 28px auto 36px; }
.thanks .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ili-primary); color: var(--on-primary); padding-block: clamp(64px, 8vw, 120px) 32px; }
.site-footer a { text-decoration: none; }
.footer__grid { row-gap: 40px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .brand { font-size: clamp(2.4rem, 1.4rem + 4vw, 5.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: .95; }
.footer__brand p { margin-top: 18px; max-width: 40ch; color: var(--on-primary-muted); }
.footer__col { grid-column: span 2; }
.footer__col h2 { font: 650 var(--step--1)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-primary-muted); margin-bottom: 12px; }
.footer__col a, .footer__col p { display: flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }
@media (hover: hover) { .footer__col a:hover { color: var(--ili-accent); } }
.footer__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(24px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--on-primary-line); font-size: .85rem; color: var(--on-primary-muted); }
@media (min-width: 768px) { .footer__brand { grid-column: 1 / -1; } .footer__col { grid-column: span 2; } }
@media (min-width: 1024px) {
  .footer__brand { grid-column: 1 / span 6; }
  .footer__col--pages { grid-column: 7 / span 2; }
  .footer__col--contact { grid-column: 9 / span 4; }
}

/* ---------- Motion: CSS only, progressive ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* arches open like shutters as they come into view */
    .arch img, .hero__img {
      animation: unveil linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes unveil {
      from { clip-path: inset(10% 6% 0 6% round 999px 999px 6px 6px); }
      to   { clip-path: inset(0 0 0 0 round 999px 999px 6px 6px); }
    }
    .hero__img { animation-name: unveil-wide; }
    @keyframes unveil-wide {
      from { clip-path: inset(6% 4% 0 4% round 28px 28px 0 0); }
      to   { clip-path: inset(0 0 0 0 round 28px 28px 0 0); }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--ili-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print { .site-header, .menu, .actions, .form { display: none; } }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }
/* a single review stays a readable card, centred */
.review:only-child { width: 100%; max-width: 640px; justify-self: center; }
