/* Haven Residential House - shared stylesheet
   Orange and dark grey scheme chosen by the client 28 Oct 2026 (from a stationery mockup). */

:root {
  --slate: #2B2F3A;
  --slate-soft: #3A3F4B;
  --orange: #EE6A1F;          /* accents, rules, buttons, orange on dark grey (4.5:1) */
  --orange-ink: #B84A0C;
  --orange-on-dark: #FF8A4C; /* orange text on dark grey (AA 4.9:1) */
  --btn-ink: #1A1D24;       /* text on orange buttons (AA 5:1) */
  --orange-head: #E85D10;   /* bright orange for large headings on white or stone (3.5:1 / 3.1:1, AA large) */
  --paper: #FFFFFF;
  --stone: #F1F2F4;
  --ink: #23262E;
  --ink-soft: #50545F;
  --on-dark: #FFFFFF;
  --on-dark-soft: #D3D5DB;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --measure: 34rem;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

*, *::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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--orange-head);
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }

a { color: var(--orange-ink); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--slate); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--orange); color: var(--slate); padding: 0.6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Placeholders (swap before final sign-off) ---------- */
.ph {
  display: inline-block;
  background: #FFF1C9;
  color: #5C3B00;
  border: 1px dashed #B07A1F;
  padding: 0.05em 0.45em;
  font-family: var(--sans);
  font-size: 0.85em;
  line-height: 1.5;
}

/* ---------- Logo lockup ---------- */
.lockup {
  display: inline-flex; align-items: center; gap: 0.85rem;
  color: var(--on-dark); text-decoration: none;
}
.lockup:hover { color: var(--on-dark); }
.lockup svg { width: 4.6rem; height: auto; color: var(--orange); flex: none; }
.lockup-text { display: flex; flex-direction: column; line-height: 1; }
.lockup-name {
  font-family: var(--sans); font-weight: 500; font-size: 1.2rem;
  letter-spacing: 0.42em; margin-right: -0.42em;
}
.lockup-sub {
  margin-top: 0.4rem; font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.32em; color: var(--orange-on-dark);
}

/* ---------- Header + nav ---------- */
.site-header { background: var(--slate); position: relative; z-index: 10; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 5rem; gap: 1rem;
}
.nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(238, 106, 31, 0.6); color: var(--on-dark);
  font: inherit; font-size: 0.9rem; padding: 0.45rem 0.9rem; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
.site-nav a {
  color: var(--on-dark-soft); text-decoration: none; font-size: 0.95rem;
  padding: 0.4rem 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--on-dark); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--slate); border-top: 1px solid rgba(238, 106, 31, 0.35); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .site-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .no-js .site-nav { display: block; position: static; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--sans); font-weight: 500;
  font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem; border: 1px solid var(--orange);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-orange { background: var(--orange); color: var(--btn-ink); }
.btn-orange:hover { background: #F5823D; color: var(--btn-ink); }
.btn-line { color: var(--on-dark); background: transparent; }
.btn-line:hover { background: rgba(238, 106, 31, 0.15); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: var(--on-dark); background: var(--slate);
  min-height: min(88vh, 46rem); display: flex; align-items: flex-end;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { overflow: hidden; }
.hero-media img { object-fit: cover; object-position: 50% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(43, 47, 58, 0.35) 0%, rgba(43, 47, 58, 0.15) 35%, rgba(43, 47, 58, 0.9) 100%),
    linear-gradient(90deg, rgba(43, 47, 58, 0.65) 0%, rgba(43, 47, 58, 0) 70%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: var(--on-dark); max-width: 12ch; }
.hero-areas {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: #FFFFFF; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.85rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-areas::before { content: ""; width: 2.5rem; height: 2px; background: var(--orange); flex: none; }
.hero p.lede { font-size: 1.15rem; color: #ECEDF0; max-width: 33rem; }

/* ---------- Opening banner ---------- */
.opening {
  background: var(--orange); color: var(--btn-ink);
}
.opening .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 0.35rem 1.25rem; padding-top: 1.1rem; padding-bottom: 1.1rem; text-align: center;
}
.opening strong { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: #FFFFFF; }
.opening span, .opening a { color: var(--btn-ink); }
.opening a { font-weight: 500; }

/* ---------- Angled band (from the client's stationery mockup) ---------- */
.hero::after, .page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(var(--orange), var(--orange)) right bottom / 100% 100% no-repeat;
  clip-path: polygon(48% 100%, 100% 0, 100% 100%);
}
.page-head::after { z-index: 1; }

/* ---------- Roofline divider (the house mark, drawn as a section break) ---------- */
.roofline {
  display: flex; align-items: flex-end; gap: 0; margin: 0 auto;
  width: min(100%, 26rem); color: var(--orange);
}
.roofline::before, .roofline::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.7; }
.roofline svg { width: 5.5rem; height: auto; flex: none; margin-bottom: -0.5px; }
.roofline-wrap { padding: 0 var(--gutter); }
.roofline-wrap + .section { padding-top: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-stone { background: var(--stone); }
.section-dark { background: var(--slate); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--orange-on-dark); }
.section-dark p { color: var(--on-dark-soft); }
.section-dark a:not(.btn) { color: var(--orange-on-dark); }
.intro { text-align: center; margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 38rem; }
.intro p { margin-left: auto; margin-right: auto; color: var(--ink-soft); }

/* Three areas: open columns divided by orange hairlines, not cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 0.5rem clamp(1.25rem, 3vw, 2.75rem); border-left: 1px solid rgba(238, 106, 31, 0.55); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar h3 { margin-bottom: 0.5em; }
.pillar p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child, .pillar:last-child { border-left: 0; border-top: 1px solid rgba(238, 106, 31, 0.55); padding: 1.75rem 0 1rem; }
  .pillar:first-child { border-top: 0; padding-top: 0; }
}

/* About: heading column + facts list */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 1.1rem 0; border-top: 1px solid rgba(184, 74, 12, 0.35); }
.facts li:last-child { border-bottom: 1px solid rgba(184, 74, 12, 0.35); }
.facts strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--orange-head); line-height: 1.3; }
.facts span { color: var(--ink-soft); }

/* The villa: photo composition + amenities */
.villa { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.villa-photos { display: grid; grid-template-columns: 3fr 2fr; grid-template-rows: auto auto; gap: 0.75rem; }
.villa-photos figure { margin: 0; overflow: hidden; background: var(--stone); }
.villa-photos img { width: 100%; height: 100%; object-fit: cover; }
.villa-photos .tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.villa-photos .sq { aspect-ratio: 1 / 1; }
@media (max-width: 900px) {
  .villa { grid-template-columns: 1fr; }
}
.amenities { list-style: none; margin: 1.5rem 0 0; padding: 0; columns: 2; column-gap: 2rem; }
.amenities li { break-inside: avoid; padding: 0.45rem 0 0.45rem 1.2rem; position: relative; }
.amenities li::before {
  content: ""; position: absolute; left: 0; top: 1.05em; width: 0.55rem; height: 1px; background: var(--orange);
}
@media (max-width: 420px) { .amenities { columns: 1; } }
.villa-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--slate); color: var(--on-dark); overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta-band .wrap { position: relative; text-align: center; padding-top: var(--space); padding-bottom: var(--space); }
.cta-band h2 { color: var(--orange-on-dark); }
.cta-band p { margin: 0 auto; color: #ECEDF0; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; background: var(--slate); color: var(--on-dark); }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.page-head .wrap { position: relative; padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.page-head h1 { color: var(--on-dark); max-width: 16ch; }
.page-head p { color: #ECEDF0; font-size: 1.15rem; }

/* ---------- Programmes ---------- */
.lengths { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--orange); border-bottom: 1px solid var(--orange); }
.lengths div { text-align: center; padding: 1.75rem 0.5rem; border-left: 1px solid rgba(238, 106, 31, 0.45); }
.lengths div:first-child { border-left: 0; }
.lengths strong, .steps li::before, .fee-list li span:last-child, .pay-steps li::before, .opening strong, .facts strong, .price-table tbody th {
  font-variant-numeric: lining-nums;
}
.lengths strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem); color: var(--orange-head); line-height: 1; }
.lengths span { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 600px) {
  .lengths { grid-template-columns: 1fr 1fr; }
  .lengths div:nth-child(3) { border-left: 0; }
  .lengths div:nth-child(n+3) { border-top: 1px solid rgba(238, 106, 31, 0.45); }
}

.includes { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .includes { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li, .tick-list li { padding: 0.8rem 0 0.8rem 2.75rem; position: relative; border-bottom: 1px solid rgba(184, 74, 12, 0.25); }
.check-list li::before, .tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--orange);
}
.check-list li::after, .tick-list li::after {
  content: ""; position: absolute; left: 0.52rem; top: 1.2rem;
  width: 0.7rem; height: 0.38rem; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg);
}
.not-included { background: var(--stone); padding: 1.75rem; align-self: start; }
.not-included h3 { font-size: 1.4rem; }
.not-included p { margin: 0; color: var(--ink-soft); }

.price-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.price-table caption { text-align: left; color: var(--ink-soft); font-size: 0.95rem; padding-bottom: 1rem; caption-side: bottom; padding-top: 1rem; }
.price-table th, .price-table td { padding: 1.15rem 0.75rem; text-align: right; border-bottom: 1px solid rgba(184, 74, 12, 0.3); }
.price-table th:first-child, .price-table td:first-child { text-align: left; padding-left: 0; }
.price-table th:last-child, .price-table td:last-child { padding-right: 0; }
.price-table thead th { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--ink-soft); border-bottom: 1px solid var(--orange); }
.price-table tbody th { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--slate); }
.price-table td { font-family: var(--serif); font-size: 1.45rem; color: var(--slate); font-variant-numeric: lining-nums tabular-nums; }
.price-table td.on-request { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 480px) {
  .price-table th, .price-table td { padding: 0.9rem 0.35rem; }
  .price-table tbody th { font-size: 1.1rem; }
  .price-table td { font-size: 1.15rem; }
  .price-table td.on-request { font-size: 0.8rem; }
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.fee-list { list-style: none; margin: 0; padding: 0; }
.fee-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(238, 106, 31, 0.4); }
.fee-list li span:last-child { font-family: var(--serif); font-size: 1.6rem; color: var(--orange-on-dark); }
.section-dark .fee-list li span:first-child { color: var(--on-dark); }

.pay-steps { list-style: none; margin: 0; padding: 0; counter-reset: pay; }
.pay-steps li { counter-increment: pay; padding: 0.9rem 0 0.9rem 2.75rem; position: relative; border-bottom: 1px solid rgba(238, 106, 31, 0.4); color: var(--on-dark); }
.pay-steps li::before {
  content: counter(pay); position: absolute; left: 0; top: 0.65rem;
  font-family: var(--serif); font-size: 1.5rem; color: var(--orange-on-dark);
}

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 46rem; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 2.25rem 4.5rem; min-height: 3.5rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.35rem;
  width: 3rem; text-align: center;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--orange-ink);
}
.steps li::after {
  content: ""; position: absolute; left: 1.5rem; top: 2.75rem; bottom: 0.5rem; width: 1px; background: rgba(238, 106, 31, 0.55);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.45rem; margin-bottom: 0.3em; }
.steps p { color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.details { margin: 0; }
.details div { padding: 1rem 0; border-top: 1px solid rgba(184, 74, 12, 0.3); }
.details dt { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.details dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.35rem; color: var(--slate); overflow-wrap: anywhere; }
.details dd a { color: var(--slate); }
.details dd small { display: block; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }

.bank { margin-top: 2.5rem; background: var(--slate); color: var(--on-dark); padding: 1.75rem; }
.bank h3 { color: var(--on-dark); font-size: 1.5rem; }
.bank p { color: var(--on-dark-soft); margin-bottom: 0.75rem; }
.bank p:last-child { margin-bottom: 0; }

.form { background: #FFFFFF; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 2px solid var(--orange); }
.form h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.95rem; font-weight: 500; margin-bottom: 0.35rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #B5B8BF; padding: 0.8rem 0.9rem; border-radius: 0;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange-ink); }
.form-note { font-size: 0.95rem; background: var(--stone); padding: 0.85rem 1rem; border-left: 2px solid var(--orange); max-width: none; }
.form button { cursor: pointer; }
.form-status { margin-top: 1rem; font-weight: 500; max-width: none; }
.form-status.ok { color: #1D5C3A; }
.form-status.err { color: #8A1C1C; }

.privacy { font-size: 0.95rem; color: var(--ink-soft); }
.privacy h2 { font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--on-dark-soft); font-size: 0.95rem; }
.site-footer .wrap { padding-top: 3.5rem; padding-bottom: 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(238, 106, 31, 0.35); }
.footer-contact p { margin: 0 0 0.35rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--orange-on-dark); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; font-size: 0.85rem; }
.footer-base p { margin: 0; max-width: none; }
.footer-base nav { display: flex; gap: 1.5rem; }

/* ---------- More orange (Dee, 28 Oct 2026: "I really want the orange lit up") ---------- */
.section-orange { background: var(--orange); color: var(--btn-ink); }
.section-orange h2, .section-orange h3 { color: #FFFFFF; }
.section-orange p { color: var(--btn-ink); }
.section-orange a:not(.btn) { color: var(--btn-ink); font-weight: 500; }
.label {
  display: inline-block; margin-bottom: 1.25rem; padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.28); color: var(--btn-ink);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.section-dark .label { background: rgba(238, 106, 31, 0.2); color: var(--orange-on-dark); }
.programme-band h2 { max-width: 16ch; }
.programme-band p.big { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; max-width: 40rem; }

.heal { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .heal { grid-template-columns: 1fr; } }
.heal p { color: var(--ink-soft); }
.tick-card { background: #FFFFFF; border-top: 4px solid var(--orange); box-shadow: 0 18px 40px rgba(43, 47, 58, 0.12); padding: clamp(1.25rem, 3vw, 2rem); }
.tick-card h3 { font-size: 1.5rem; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { color: var(--slate); font-weight: 500; }
.tick-list li:last-child { border-bottom: 0; }

.movement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .movement { grid-template-columns: 1fr; } }
.movement figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.movement figure img { width: 100%; height: 100%; object-fit: cover; }

/* Book an assessment: the one bright button everywhere */
.btn-book {
  background: var(--orange); color: var(--btn-ink); border-color: var(--orange);
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; box-shadow: 0 8px 24px rgba(238, 106, 31, 0.45);
}
.btn-book:hover { background: #FF7A2E; color: var(--btn-ink); }
.section-orange .btn-book { background: var(--btn-ink); color: #FFFFFF; border-color: var(--btn-ink); box-shadow: none; }
.section-orange .btn-book:hover { background: var(--slate); color: #FFFFFF; }
.site-nav .nav-cta {
  background: var(--orange); color: var(--btn-ink); padding: 0.55rem 1rem; font-weight: 500;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: #FF7A2E; color: var(--btn-ink); }
.site-nav ul { align-items: center; }
@media (max-width: 760px) {
  .site-nav ul { align-items: stretch; }
  .site-nav .nav-cta { margin-top: 0.75rem; text-align: center; border-bottom: 0; }
}

/* Prices on dark grey, so the euro figures can glow orange */
.section-dark .price-table caption { color: var(--on-dark-soft); }
.section-dark .price-table thead th { color: #FFFFFF; border-bottom-color: var(--orange); }
.section-dark .price-table th, .section-dark .price-table td { border-bottom-color: rgba(238, 106, 31, 0.35); }
.section-dark .price-table tbody th { color: var(--orange-on-dark); font-size: 1.6rem; }
.section-dark .price-table td { color: var(--orange-on-dark); font-weight: 600; font-size: 1.75rem; }
.section-dark .price-table td.on-request { color: var(--orange-on-dark); font-weight: 500; }
@media (max-width: 480px) { .section-dark .price-table td { font-size: 1.25rem; } }

/* Assessments + payment on solid orange */
.section-orange .fee-list li { border-bottom-color: rgba(26, 29, 36, 0.3); }
.section-orange .fee-list li span:first-child { color: var(--btn-ink); }
.section-orange .fee-list li span:last-child { color: #FFFFFF; font-weight: 600; font-size: 2rem; }
.section-orange .pay-steps li { color: var(--btn-ink); border-bottom-color: rgba(26, 29, 36, 0.3); }
.section-orange .pay-steps li::before { color: #FFFFFF; font-weight: 600; }

/* ---------- Motion ----------
   One page-load sequence (logo draws, hero text rises, orange band sweeps in, photo settles),
   plus two scroll moments: the roofline divider draws and the How it works steps arrive in order.
   Off entirely for prefers-reduced-motion; without JS the scroll items simply show. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes hv-rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
  @keyframes hv-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hv-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes hv-sweep {
    from { clip-path: polygon(100% 100%, 100% 100%, 100% 100%); }
    to   { clip-path: polygon(48% 100%, 100% 0, 100% 100%); }
  }

  .site-header .lockup svg .roof path { stroke-dasharray: 1; animation: hv-draw 1.4s 0.15s cubic-bezier(0.65, 0, 0.35, 1) both; }
  .site-header .lockup-text, .site-header .lockup svg .figs { animation: hv-fade 0.8s 0.5s ease both; }

  .hero-media img { animation: hv-settle 14s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
  .hero .wrap > *, .page-head .wrap > * { animation: hv-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .wrap > :nth-child(1), .page-head .wrap > :nth-child(1) { animation-delay: 0.25s; }
  .hero .wrap > :nth-child(2), .page-head .wrap > :nth-child(2) { animation-delay: 0.4s; }
  .hero .wrap > :nth-child(3) { animation-delay: 0.55s; }
  .hero .wrap > :nth-child(4) { animation-delay: 0.7s; }
  .hero::after, .page-head::after { animation: hv-sweep 1.1s 0.6s cubic-bezier(0.7, 0, 0.2, 1) both; }

  .btn { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
  .btn:hover { transform: translateY(-2px); }

  /* Scroll: roofline divider draws, its hairlines grow out from the house */
  .js .roofline::before { transform-origin: right; }
  .js .roofline::after { transform-origin: left; }
  .js .roofline::before, .js .roofline::after { transform: scaleX(0); transition: transform 1s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .roofline svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(0.65, 0, 0.35, 1); }
  .js .roofline.is-in::before, .js .roofline.is-in::after { transform: scaleX(1); }
  .js .roofline.is-in svg path { stroke-dashoffset: 0; }

  /* Scroll reveal, same feel as bakermedia.ie: fade and rise, staggered within a group (--rd set in site.js) */
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--rd, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }

  /* Photos ease in on hover */
  .villa-photos img { transition: transform 0.6s ease; }
  .villa-photos figure:hover img { transform: scale(1.04); }

  /* Large faint roofline drifting in the hero */
  .hero-media::after {
    content: ""; position: absolute; z-index: 0; right: -4vw; top: 30%; width: min(52vw, 640px); aspect-ratio: 120 / 44;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 44' fill='none' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M3 41 L30 21 L42 29 L60 5 L78 29 L90 21 L117 41'/%3E%3Cpath d='M53 41 V30 H67 V41'/%3E%3C/svg%3E") center / contain no-repeat;
    opacity: 0.16; animation: hv-float 9s ease-in-out infinite;
  }
  @keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

  /* Scroll progress bar */
  .progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: var(--orange); transform: scaleX(0); transform-origin: left; pointer-events: none; }
}

/* Common questions (how-it-works) */
.faq { max-width: 46rem; }
.faq-item { border-top: 1px solid rgba(43, 47, 58, 0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(43, 47, 58, 0.15); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--sans); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.85rem; font-size: 1.6rem; line-height: 1; color: var(--orange-ink); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.faq-item p { margin: 0 0 1.2rem; color: var(--ink-soft); max-width: var(--measure); }
.faq-item a { color: var(--orange-ink); }
