/* =========================================================================
   A & D Holiday Home — styles
   Palette drawn from the photographed house: peach walls, pale green roof,
   Praslin granite, takamaka-frond green, late-afternoon sun.
   ========================================================================= */

:root {
  color-scheme: light;
  --shell: #fbf6ee;
  --shell-warm: #f4ecdd;
  --paper: #ffffff;
  --ink: #2e2a22;
  --ink-soft: #55503f;
  --granite: #6a685f;
  --line: #e4dbc8;
  --terracotta: #c0602f;
  --terracotta-deep: #a44f24;
  --roof: #8fa98a;
  --roof-soft: #e7ede2;
  --frond: #3e6b4f;
  --frond-deep: #2e5540;
  --sun: #e4a951;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(46, 42, 34, 0.06), 0 6px 18px rgba(46, 42, 34, 0.06);
  --shadow-md: 0 8px 30px rgba(46, 42, 34, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* This page commits to a single warm-light theme: the subject is a sun-lit garden
   house and the palette is drawn straight from its photographed colours. Every
   surface and text colour below is painted explicitly so the look never borrows
   from the host's theme. */

/* ---------- reset / base ---------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--frond);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--terracotta); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--frond);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 6vw, 5.25rem); }

.section-heading {
  max-width: 46ch;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 0.9rem;
}

.fineprint {
  font-size: 0.86rem;
  color: var(--granite);
  line-height: 1.5;
  margin-top: 1.25rem;
}

/* ---------- buttons ---------- */

.button {
  --btn-bg: var(--frond);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.button:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--frond-deep);
}
.button:active { transform: translateY(0); }

.button-small { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.button-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--granite);
}
.button-ghost:hover {
  --btn-fg: var(--ink);
  background: rgba(124, 122, 115, 0.12);
  box-shadow: none;
}

.button-arrow span { transition: transform 0.18s var(--ease); }
.button-arrow:hover span { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--shell) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-sticky {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--frond);
  background: var(--roof-soft);
  border-radius: 12px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-place {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--granite);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.3rem 0;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { flex: none; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--shell);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 12vw, 8rem) clamp(3rem, 9vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero-canopy {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-canopy svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 44ch; }
.hero-copy .eyebrow { color: var(--terracotta-deep); }
.hero h1 { margin-bottom: 0.5em; max-width: 16ch; }
.hero h1 em { white-space: nowrap; }
.hero-lead {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 1.9rem;
}

.hero-emblem {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}
.hero-emblem svg {
  width: min(340px, 78%);
  height: auto;
  overflow: visible;
}
.emblem-halo { fill: color-mix(in srgb, var(--roof) 20%, transparent); }
.emblem-body {
  fill: color-mix(in srgb, var(--roof) 42%, var(--shell));
  stroke: var(--frond-deep);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.emblem-veins path {
  fill: none;
  stroke: var(--frond-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.4;
}
.emblem-veins .emblem-veins-stalk { stroke-width: 3; opacity: 0.55; }
.hero-emblem figcaption {
  font-size: 0.78rem;
  color: var(--ink-soft);
  max-width: 32ch;
  text-align: center;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
@media (prefers-reduced-motion: no-preference) {
  .js .emblem-nut { transform: translateY(10px) rotate(-2deg); transform-origin: 50% 60%; }
  .js .emblem-halo { transform: scale(0.9); transform-origin: 50% 55%; }
  .hero .emblem-nut { animation: emblem-settle 1s var(--ease) 0.25s forwards; }
  .hero .emblem-halo { animation: emblem-bloom 1.1s var(--ease) 0.1s forwards; }
}
@keyframes emblem-settle { to { transform: translateY(0) rotate(0); } }
@keyframes emblem-bloom { to { transform: scale(1); } }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-chips li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * {
    transform: translateY(16px);
    animation: rise 0.7s var(--ease) forwards;
  }
  .js .hero-copy > :nth-child(1) { animation-delay: 0.04s; }
  .js .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
  .js .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
  .js .hero-copy > :nth-child(4) { animation-delay: 0.28s; }
  .js .hero-copy > :nth-child(5) { animation-delay: 0.36s; }
}
@keyframes rise {
  to { transform: translateY(0); }
}

/* ---------- orientation (signature) ---------- */

.orient-section { background: var(--shell-warm); }

.orient-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.orient-copy { max-width: 44ch; }

.orient-list {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0;
}
.orient-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.orient-list div:first-child { border-top: 1px solid var(--line); }
.orient-list dt { font-weight: 500; }
.orient-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--frond);
  white-space: nowrap;
}

.orient-figure { margin: 0; text-align: center; }
.orient-dial {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  height: auto;
  overflow: visible;
}
.orient-figure figcaption {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--granite);
  max-width: 34ch;
  margin-inline: auto;
}

.dial-ring {
  fill: none;
  stroke: var(--roof);
  stroke-width: 1.3;
  opacity: 0.75;
}
.dial-scale {
  fill: var(--granite);
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-anchor: middle;
  dominant-baseline: middle;
}
.dial-spokes line {
  stroke: var(--granite);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: 0.55;
}
.dial-home path { fill: var(--terracotta); }
.dial-home text {
  fill: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  text-anchor: middle;
}
.dial-pin circle {
  fill: var(--frond);
  stroke: var(--shell-warm);
  stroke-width: 2.5;
}
.dial-pin text {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: var(--shell-warm);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.dial-pin--first circle { fill: var(--terracotta); }

@media (prefers-reduced-motion: no-preference) {
  .js .dial-ring { stroke-dasharray: 960; stroke-dashoffset: 960; }
  .js .dial-spokes { opacity: 0; }
  .js .dial-pin-in { transform: translateY(9px); }
  .orient-dial.is-drawn .dial-ring { animation: draw 1s var(--ease) forwards; }
  .orient-dial.is-drawn .dial-ring:nth-of-type(2) { animation-delay: 0.07s; }
  .orient-dial.is-drawn .dial-ring:nth-of-type(3) { animation-delay: 0.14s; }
  .orient-dial.is-drawn .dial-ring:nth-of-type(4) { animation-delay: 0.21s; }
  .orient-dial.is-drawn .dial-spokes { animation: fade-in 0.5s var(--ease) 0.4s forwards; }
  .orient-dial.is-drawn .dial-pin-in { animation: pin-pop 0.45s var(--ease) both; }
  .orient-dial.is-drawn .dial-pin:nth-of-type(2) .dial-pin-in { animation-delay: 0.55s; }
  .orient-dial.is-drawn .dial-pin:nth-of-type(3) .dial-pin-in { animation-delay: 0.66s; }
  .orient-dial.is-drawn .dial-pin:nth-of-type(4) .dial-pin-in { animation-delay: 0.77s; }
  .orient-dial.is-drawn .dial-pin:nth-of-type(5) .dial-pin-in { animation-delay: 0.88s; }
  .orient-dial.is-drawn .dial-pin:nth-of-type(6) .dial-pin-in { animation-delay: 0.99s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pin-pop { from { transform: translateY(9px); } to { transform: translateY(0); } }

/* ---------- split layout ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-copy { max-width: 46ch; }

.tick-list,
.meta-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--roof);
  transform: rotate(45deg);
}

.callout {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--roof-soft);
  border-left: 3px solid var(--frond);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.96rem;
}
.callout strong { color: var(--frond-deep); }

.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.meta-list dt { color: var(--granite); font-size: 0.9rem; }
.meta-list dd { margin: 0; font-weight: 500; text-align: right; }
.location-section .button-ghost { margin-top: 1.5rem; }

/* ---------- frames (photo placeholders) ---------- */

.frame {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 15% 0%, color-mix(in srgb, var(--sun) 20%, transparent), transparent 55%),
    linear-gradient(155deg, color-mix(in srgb, var(--roof) 26%, var(--shell)), color-mix(in srgb, var(--terracotta) 16%, var(--shell-warm)));
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-align: left;
  color: var(--ink);
  font: inherit;
  cursor: default;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center / 132px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 3C19 18 15 35 15 45c0 8 5 14 17 16 12-2 17-8 17-16 0-10-4-27-17-42zm0 12c6 9 10 20 10 28 0 6-3 10-10 12-7-2-10-6-10-12 0-8 4-19 10-28z' fill='%233e6b4f'/%3E%3C/svg%3E");
  opacity: 0.16;
  pointer-events: none;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed color-mix(in srgb, var(--granite) 60%, transparent);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.frame:has(img)::before,
.frame:has(img)::after { display: none; }
.frame-tall { aspect-ratio: 3 / 4; }
.frame-map { aspect-ratio: 4 / 3; }
.frame-plate {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.frame-tag {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--frond);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.frame-label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

button.frame-photo { cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
button.frame-photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- feature grid ---------- */

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.feature-card {
  padding: 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--roof-soft);
  color: var(--frond);
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.3rem; }
.feature-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- good to know ---------- */

.gtk-section { background: var(--shell-warm); }
.gtk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gtk-grid li {
  background: var(--shell-warm);
  padding: 1.6rem 1.4rem;
}
.gtk-grid h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.5rem;
}
.gtk-grid p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- gallery ---------- */

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery-grid .frame-wide { grid-column: span 2; aspect-ratio: 8 / 5; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .frame-wide { grid-column: span 2; }
}

/* ---------- enquire ---------- */

.enquire-section { background: var(--frond-deep); color: #f3efe3; }
.enquire-section .eyebrow { color: #efc178; }
.enquire-section h2 { color: #fff; }
.enquire-section h2 em { color: var(--sun); }
.enquire-section a { color: #fff; }
.enquire-section .fineprint { color: color-mix(in srgb, #f3efe3 72%, transparent); }

.enquire-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.enquire-copy { max-width: 40ch; }
.enquire-direct { margin: 1.4rem 0 0.4rem; }
.maillink {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  text-decoration-color: var(--sun);
}

.enquire-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label,
.field legend {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 3.5rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--frond);
  background: var(--paper);
}
.field-check {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 0;
}
.field-check legend { padding: 0 0.4rem; }
.field-check label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-top: 0.55rem;
}
.field-check input { width: auto; accent-color: var(--frond); }
.enquire-form .button { justify-self: start; }
.form-status {
  font-size: 0.9rem;
  color: var(--frond-deep);
  margin: 0;
}

/* ---------- footer ---------- */

.site-footer {
  background: #211d16;
  color: #d8d2c4;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  display: block;
  margin-bottom: 0.6rem;
}
.footer-brand p { font-size: 0.9rem; color: #b3ac9d; }
.footer-brand a { color: #fff; }
.footer-column h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8f897b;
  margin: 0 0 0.9rem;
}
.footer-column a {
  display: block;
  color: #d8d2c4;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.28rem 0;
}
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  padding-top: 1.8rem;
  display: grid;
  gap: 0.6rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #928b7c;
  max-width: 70ch;
}

/* ---------- lightbox ---------- */

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(680px, 92vw);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(20, 18, 14, 0.72); backdrop-filter: blur(3px); }
.lightbox-inner {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-md);
}
.lightbox-stage {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(120% 120% at 15% 0%, color-mix(in srgb, var(--sun) 18%, transparent), transparent 55%),
    linear-gradient(160deg, var(--roof-soft), color-mix(in srgb, var(--terracotta) 12%, var(--shell)));
  border: 1px dashed var(--granite);
}
.lightbox-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.lightbox-caption {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.lightbox-close {
  margin-top: 1rem;
  background: var(--frond);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--frond-deep); }

/* ---------- reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Transform-only so text is never transparent (keeps automated contrast
     scans clean and content readable even if the observer never fires). */
  .js .reveal-item {
    transform: translateY(22px);
    transition: transform 0.7s var(--ease);
  }
  .js .reveal-item.is-visible { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .orient-grid { grid-template-columns: 1fr; }
  .orient-copy { max-width: none; order: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gtk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .brand-place { display: none; }
  .brand-name { font-size: 1rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-copy { max-width: none; }
  .hero-emblem { flex-direction: row; align-items: center; gap: 1.25rem; justify-content: flex-start; }
  .hero-emblem svg { width: 120px; flex: none; }
  .hero-emblem figcaption { text-align: left; max-width: 40ch; }
}


@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 0; }
  .split-copy { max-width: none; }
  .enquire-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .feature-grid,
  .gtk-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .frame-wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .hero-actions, .enquire-form, .lightbox { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- document pages (privacy / legal / accessibility / 404) ---------- */

.doc-header {
  border-bottom: 1px solid var(--line);
  padding-block: 1.4rem;
}
.doc-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.doc-back {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}
.doc-back:hover { color: var(--terracotta); }

.doc-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.doc-page .container { max-width: 72ch; }
.doc-page h1 { margin-bottom: 0.6rem; }
.doc-page .updated {
  font-size: 0.85rem;
  color: var(--granite);
  margin-bottom: 2.5rem;
}
.doc-page h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}
.doc-page ul { padding-left: 1.2rem; }
.doc-page li { margin-bottom: 0.4rem; }
