/* Self hosted fonts (SIL Open Font License, see fonts/OFL files). No requests to Google. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-500.woff") format("woff"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cormorant-600.woff") format("woff"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dmsans-400.woff") format("woff"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dmsans-500.woff") format("woff"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/dmsans-600.woff") format("woff"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/greatvibes-400.woff") format("woff"); }

/* Layout: quiet luxury. Full width photo hero with left aligned serif headline, a sand coloured values strip,
   split section heads (heading left, intro right), photo cards, photo bands with text on a navy gradient,
   bronze numbered steps, navy footer. One deliberate light look, all colours set explicitly. */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --sand: #efebe3;
  --ink: #15282d;
  --muted: #5b6b6d;
  --line: #e0dad0;
  --navy: #0f2f37;
  --navy-2: #163b44;
  --on-navy: #f4f2ed;
  --on-navy-muted: #b9c6c6;
  --bronze: #9a7656;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;
  --wrap: 1180px;
  --step-0: 1rem;
  --step-1: 1.15rem;
  --step-2: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3: clamp(2.1rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.4rem);
  color-scheme: light;
}

*, *::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(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 520px) { .wrap { padding-inline: 18px; } }
.prose { max-width: 66ch; }
.stack { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 20; }

/* Logo */
.logo { display: inline-grid; gap: 2px; text-decoration: none; color: var(--ink); line-height: 1; }
.logo b { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; letter-spacing: 0.16em; }
.logo small { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.bar { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding-block: 14px; }
.nav { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.88rem; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 1.25rem; }
.langs { display: flex; gap: 0.7rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--ink); }
@media (max-width: 900px) {
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 1.2rem; }
  .nav a { white-space: nowrap; }
  .bar-end { margin-left: auto; }
}
@media (max-width: 520px) { .bar-end .btn { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font: 600 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 1.4rem; border: 1px solid var(--navy); background: var(--navy); color: var(--on-navy); text-decoration: none; cursor: pointer; border-radius: 2px; }
.btn:hover { background: var(--navy-2); color: var(--on-navy); }
.btn.outline { background: transparent; color: var(--on-navy); border-color: rgba(244, 242, 237, 0.75); }
.btn.outline:hover { background: rgba(244, 242, 237, 0.12); }
.btn.small { padding: 0.75rem 1.1rem; }
.btn .arrow { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Photo hero and bands */
.photo { position: relative; color: var(--on-navy); background: var(--navy); overflow: hidden; isolation: isolate; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 34, 41, 0.82) 0%, rgba(10, 34, 41, 0.55) 45%, rgba(10, 34, 41, 0.05) 80%); }
@media (max-width: 760px) { .photo::before { background: linear-gradient(180deg, rgba(10, 34, 41, 0.55), rgba(10, 34, 41, 0.85)); } }
.photo .eyebrow { color: var(--on-navy); opacity: 0.9; }
.photo p { color: var(--on-navy); }
.hero { min-height: clamp(460px, 56vw, 640px); display: grid; align-items: center; }
.hero .inner { display: grid; gap: 1.4rem; padding-block: 4.5rem; justify-items: start; }
.hero .inner > * { max-width: 640px; }
.hero h1 { color: #ffffff; }
.hero .sub { font-size: var(--step-1); max-width: 46ch; }
.script { position: absolute; right: 5%; bottom: 7%; font-family: var(--script); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); color: #ffffff; line-height: 1; transform: rotate(-6deg); text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
@media (max-width: 760px) { .script { display: none; } }
.band { min-height: 340px; display: grid; align-items: center; }
.band .inner { display: flex; gap: 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 4rem; }
.band .copy { display: grid; gap: 1rem; max-width: 520px; }
.band h2 { color: #ffffff; }
.page-hero { min-height: 320px; display: grid; align-items: end; }
.page-hero .inner { display: grid; gap: 1rem; padding-block: 3.5rem; }
.page-hero .inner > * { max-width: 720px; }
.page-hero h1 { color: #ffffff; font-size: var(--step-3); }

/* Values strip */
.values { background: var(--sand); padding-block: 2.4rem; }
.values ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
@media (max-width: 760px) { .values ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values li { display: grid; justify-items: center; gap: 0.35rem; }
.values strong { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.values span { font-size: 0.82rem; color: var(--muted); }
.icon { width: 34px; height: 34px; color: var(--ink); stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section.tight { padding-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.75rem; }
.head .stack { gap: 0.9rem; }
.head > p { color: var(--muted); max-width: 52ch; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .body { padding: 1.75rem 1.75rem 2rem; display: grid; gap: 0.8rem; align-content: start; }
.card .kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.card .actions { margin-top: 0.6rem; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; text-align: center; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.features li { display: grid; justify-items: center; gap: 0.7rem; font-size: 0.95rem; line-height: 1.4; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.75rem; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; display: grid; gap: 0.5rem; align-content: start; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--bronze); padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
.steps h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.steps p { font-size: 0.92rem; color: var(--muted); }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.cols > div { display: grid; gap: 0.9rem; align-content: start; min-width: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); padding: 2rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.8rem; height: 0.45rem; border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid var(--line); background: var(--surface); padding: 0.35rem 0.9rem; font-size: 0.88rem; }

/* FAQ */
.faq { display: grid; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1.2rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--bronze); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 0.8rem; color: var(--muted); max-width: 70ch; }

/* Lead form */
.form-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
form.lead-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
@media (max-width: 560px) { form.lead-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field.full, .full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 0.75rem 0.85rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(15, 47, 55, 0.12); }
.field textarea { min-height: 110px; resize: vertical; }
.check { grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { margin-top: 0.3rem; width: 1rem; height: 1rem; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); }
.form-error { grid-column: 1 / -1; background: #f6e7dc; color: #6b3416; padding: 0.8rem 1rem; font-weight: 600; font-size: 0.92rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 3.5rem 2rem; font-size: 0.9rem; }
.site-footer .logo { color: var(--on-navy); }
.site-footer .logo small { color: var(--on-navy-muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h3 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--on-navy); margin-bottom: 0.9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-navy); }
.foot-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(244, 242, 237, 0.18); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; }

/* Language chooser and simple pages */
.chooser { min-height: 70vh; display: grid; align-content: center; gap: 2.5rem; padding-block: 3rem; }
.chooser .cards a { text-decoration: none; color: var(--ink); }
.chooser .card .body { padding: 1.5rem; }
.chooser .card:hover { border-color: var(--navy); }
.simple { padding-block: clamp(3rem, 7vw, 5rem); display: grid; gap: 1.2rem; }

/* Hero: full width banner as in the sketch, veil only behind the text on the left */
.hero > img { object-position: left center; }
.hero::before { background: linear-gradient(90deg, rgba(10, 34, 41, 0.78) 0%, rgba(10, 34, 41, 0.62) 36%, rgba(10, 34, 41, 0.18) 55%, rgba(10, 34, 41, 0) 68%); }
/* Bands: lighter veil so the photo stays visible, darker only behind the text */
.band::before { background: linear-gradient(90deg, rgba(10, 34, 41, 0.72) 0%, rgba(10, 34, 41, 0.4) 40%, rgba(10, 34, 41, 0.08) 70%, rgba(10, 34, 41, 0.15) 100%); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(15, 47, 55, 0.45), rgba(15, 47, 55, 0.85)); }
  .band::before { background: linear-gradient(180deg, rgba(10, 34, 41, 0.45), rgba(10, 34, 41, 0.75)); }
}
.hero .btn:not(.outline) { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.hero .btn:not(.outline):hover { background: #ffffff; color: var(--navy); }
.band > img[src*="sea"] { object-position: center 22%; }
.band > img[src*="sunset"] { object-position: center 8%; }
@media (max-width: 760px) { .hero > img { object-position: 72% center; } }

/* Tally form embed and fallback (replaces the old PHP form) */
.tally-wrap, .lead-fallback { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.25rem); }
.tally-wrap iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.lead-fallback { display: grid; gap: 1.2rem; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: rgba(15, 47, 55, 0.06); color: var(--navy); }
