/* ============================================================
   South Bay Stays — shared styles (redesign v14)
   Calm, editorial, blue & white. Change the variables below to
   re-theme the whole site. Set --radius to 0 for sharp corners.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --paper: #fafbfe;
  --tint: #f0f4fd;
  --royal: #1b3a8c;
  --royal-dark: #142c6b;
  --accent: #3b6cf5;
  --ph-border: #a9b8e3;
  --ink: #0f1633;
  --slate: #566082;
  --line: #e0e6f6;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 51, 0.05), 0 4px 14px rgba(15, 22, 51, 0.05);
  --shadow-md: 0 2px 4px rgba(15, 22, 51, 0.04), 0 14px 34px rgba(27, 58, 140, 0.12);
  --max-width: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark, .footer-name {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--slate); max-width: 62ch; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */

.topbar { background: var(--tint); border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 26px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--slate); transition: color 0.2s; }
.topbar a:hover { color: var(--royal); }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */

header {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
}
.nav .brand { justify-self: center; }
.nav .nav-links { justify-self: start; }
.nav .nav-spacer { justify-self: end; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand .wordmark { font-size: 1.2rem; }

.nav-links { display: flex; align-items: center; gap: 6px; font-size: 0.94rem; font-weight: 500; }
.nav-links a {
  text-decoration: none;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--tint); color: var(--royal); }
.nav-links a[aria-current="page"] { color: var(--royal); }
.nav-links .cta { background: var(--royal); color: var(--white); margin-left: 10px; padding: 9px 20px; }
.nav-links .cta:hover { background: var(--royal-dark); color: var(--white); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.2s; }
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.btn-primary { background: var(--royal); color: var(--white); box-shadow: 0 6px 16px rgba(27, 58, 140, 0.22); }
.btn-primary:hover { background: var(--royal-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(27, 58, 140, 0.28); }
.btn-secondary { background: var(--white); color: var(--royal); border-color: var(--royal); }
.btn-secondary:hover { background: var(--tint); transform: translateY(-2px); }
button.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
}
.hero-motif { position: absolute; right: -40px; top: 0; width: 55%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 72px; align-items: center; }
.hero-content h1 { margin: 14px 0 20px; }

.eyebrow {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lede { font-size: 1.15rem; line-height: 1.7; max-width: 52ch; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-points { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-points li, .check-list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.94rem; font-weight: 500; }
.hero-points li::before, .check-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.2em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3a8c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }

.hero-visual { position: relative; }
.hero-media { aspect-ratio: 5 / 4; min-height: 0; box-shadow: var(--shadow-md); border-style: solid; }
.hero-float {
  position: absolute;
  left: -26px; bottom: -24px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 300px;
}
.hero-float strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.hero-float small { color: var(--slate); font-size: 0.82rem; }

/* ---------- Sections ---------- */

section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { margin: 0; font-size: 1.05rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.value-card .num { display: block; margin-bottom: 22px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--accent); letter-spacing: 0.08em; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { margin: 0; }
.value-card:hover, .icon-item:hover, .tile:hover, .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9d6f6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split .btn { margin-top: 12px; }

/* ---------- Icons & icon grid ---------- */

.icon-chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--royal);
}
.icon-chip svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icon-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.icon-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.icon-item p { margin: 0; font-size: 0.93rem; }
.section-tint .icon-item { background: var(--white); }


/* ---------- Table of contents (collapsible) ---------- */

.toc { border-top: 1px solid #cfd9f2; max-width: 860px; }
.toc-item { border-bottom: 1px solid #cfd9f2; }
.toc-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.toc-item summary::-webkit-details-marker { display: none; }
.toc-item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--royal); transition: transform 0.3s var(--ease); }
.toc-item[open] summary::after { transform: rotate(45deg); }
.toc-item summary:hover { color: var(--royal); }
.toc-item .toc-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.35s ease, opacity 0.25s ease; }
.toc-item .toc-body > p { min-height: 0; overflow: hidden; margin: 0; }
.toc-item[open] .toc-body { grid-template-rows: 1fr; opacity: 1; }
.toc-item[open] .toc-body > p { padding-bottom: 24px; }

/* ---------- Image placeholders ---------- */

.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 240px;
  border: 1.5px dashed var(--ph-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--tint) 0%, #e4ecfc 100%);
  color: var(--ph-border);
}
.img-placeholder svg { width: 40px; height: 40px; }
.img-placeholder .ph-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Gallery (full-bleed row that fades at the edges) ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid .img-placeholder { aspect-ratio: 4 / 3; min-height: 0; }
.bleed-row {
  /* The section around it is already full width, so 100% reaches both edges
     without the scrollbar overflow that 100vw causes on Windows. */
  width: 100%;
  padding: 0 48px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}

/* ---------- Tiles ---------- */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile {
  display: block; text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tile-media { aspect-ratio: 16 / 9; min-height: 0; border: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.tile-body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; }
.tile-body h3 { margin-bottom: 6px; font-size: 1.3rem; }
.tile-body p { margin: 0; }
.tile-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--royal);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.tile-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-arrow { background: var(--royal); color: var(--white); transform: translateX(4px); }

/* ---------- About: pillars ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--royal); border-radius: var(--radius); padding: 32px 30px; }
.pillar h3 { margin-bottom: 12px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 28px 0 0; border-top: 2px solid var(--line); }
.step-index { display: block; margin-bottom: 18px; font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; font-weight: 500; color: var(--accent); line-height: 1; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; }

.section-dark { background: linear-gradient(160deg, #101c4a 0%, #0c1536 100%); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #b5c1e6; }
.section-dark .step { border-top-color: rgba(255, 255, 255, 0.18); }
.section-dark .step-index { color: #7fa0ff; }

/* ---------- CTA band ---------- */

.cta-band { background: linear-gradient(135deg, var(--royal) 0%, var(--royal-dark) 100%); color: var(--white); text-align: center; padding: 88px 0; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #c3cff0; margin: 0 auto; }
.cta-actions { justify-content: center; margin-top: 32px; }
.cta-band .btn-primary { background: var(--white); color: var(--royal); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.cta-band .btn-primary:hover { background: var(--tint); }
.cta-band .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: #aab5d8; padding: 72px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.footer-name { font-size: 1.4rem; color: var(--white); margin-bottom: 14px; }
.footer-desc { color: #aab5d8; max-width: 46ch; }
.footer-badges { display: flex; gap: 12px; margin-top: 22px; }
.logo-ph {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 96px; height: 44px; padding: 0 16px;
  border: 1.5px dashed var(--ph-border);
  border-radius: var(--radius);
  color: var(--ph-border);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
footer .logo-ph { border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.45); }
.footer-links-group { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7fa0ff; margin-bottom: 6px; }
.footer-col a { color: #d3dbf3; text-decoration: none; font-size: 0.96rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }

/* ---------- Contact page ---------- */

.contact-hero { display: grid; grid-template-columns: 0.9fr 1.3fr; align-items: stretch; max-width: 1400px; margin: 0 auto; padding: 0; min-height: calc(100vh - 140px); }
section.contact-hero { padding: 0; }
.contact-media { width: 100%; min-height: 0; border: none; border-radius: 0; }
.contact-panel { display: flex; align-items: center; justify-content: flex-end; padding: 48px; }
.contact-panel-inner { max-width: 500px; width: 100%; }
.contact-panel h1 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin-bottom: 14px; }
.contact-panel-inner p { margin-bottom: 10px; }
.contact-details { margin: 18px 0 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-details p { margin: 0 0 4px; color: var(--ink); }
.contact-details a { color: var(--royal); font-weight: 600; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-group-label { display: block; margin-bottom: 2px; }
.form-group .form-row .form-group { margin-bottom: 0; }
.form-group label .req { font-weight: 400; color: var(--slate); font-size: 0.78rem; margin-left: 4px; }
.form-group input, .form-group textarea {
  border: 1px solid #cfd9f2;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 108, 245, 0.15); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-status { margin-top: 12px; font-size: 0.92rem; min-height: 1.4em; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #b3261e; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Colour layer (v15): more blue, sky and teal accents ---------- */

:root {
  --sky: #0ea5e9;
  --sky-tint: #e0f2fe;
  --teal: #0d9488;
  --teal-tint: #ccfbf1;
  --indigo: #4f46e5;
  --indigo-tint: #e0e7ff;
  --blue-tint: #dbe7ff;
}

.topbar { background: var(--royal); border-bottom: none; }
.topbar a { color: #dbe6ff; }
.topbar a:hover { color: var(--white); }

header { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--royal), var(--accent), var(--sky)) 1; }

.hero {
  background:
    radial-gradient(60% 70% at 88% 12%, rgba(14, 165, 233, 0.20) 0%, transparent 60%),
    radial-gradient(50% 60% at 6% 100%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #f2f6ff 0%, var(--white) 100%);
}
.hero-media { background: linear-gradient(135deg, #cfe0ff 0%, #bfe6fb 100%); border-color: #9cc3f5; color: #6f9ee0; }
.eyebrow { background: linear-gradient(90deg, var(--accent), var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.section-tint { background: linear-gradient(180deg, #eaf1ff 0%, #e3f1fd 100%); }
.img-placeholder { background: linear-gradient(135deg, #e3ebff 0%, #d7edfb 100%); }

/* Cards: coloured top edge and rotating icon colours */
.value-card { border-top: 3px solid var(--accent); }
.value-card:nth-child(2) { border-top-color: var(--sky); }
.value-card:nth-child(3) { border-top-color: var(--indigo); }
.value-card:nth-child(2) .num { color: var(--sky); }
.value-card:nth-child(3) .num { color: var(--indigo); }

.icon-chip { background: var(--blue-tint); color: var(--royal); }
.icon-grid .icon-item:nth-child(4n+2) .icon-chip { background: var(--sky-tint); color: #0369a1; }
.icon-grid .icon-item:nth-child(4n+3) .icon-chip { background: var(--teal-tint); color: var(--teal); }
.icon-grid .icon-item:nth-child(4n) .icon-chip { background: var(--indigo-tint); color: var(--indigo); }
.hero-float .icon-chip { background: var(--teal-tint); color: var(--teal); }

.pillar { border-top-color: var(--royal); }
.pillar:nth-child(2) { border-top-color: var(--sky); }
.pillar:nth-child(3) { border-top-color: var(--teal); }


.toc-item summary::after { color: var(--accent); }
.toc-item[open] summary { color: var(--royal); }

.tile:nth-child(2) .tile-arrow { background: var(--teal-tint); color: var(--teal); }
.tile:nth-child(2):hover .tile-arrow { background: var(--teal); color: var(--white); }
.tile-arrow { background: var(--blue-tint); }

.step-index { background: linear-gradient(90deg, var(--accent), var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step { border-top-color: var(--blue-tint); }

.section-dark {
  background:
    radial-gradient(50% 80% at 90% 0%, rgba(14, 165, 233, 0.25) 0%, transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(79, 70, 229, 0.30) 0%, transparent 60%),
    linear-gradient(160deg, #101c4a 0%, #0c1536 100%);
}
.section-dark .step-index { background: linear-gradient(90deg, #8fb0ff, #67d4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.cta-band {
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(14, 165, 233, 0.45) 0%, transparent 60%),
    radial-gradient(45% 100% at 0% 100%, rgba(79, 70, 229, 0.45) 0%, transparent 60%),
    linear-gradient(135deg, var(--royal) 0%, var(--royal-dark) 100%);
}

footer { background: linear-gradient(180deg, #0f1633 0%, #0a1030 100%); border-top: 3px solid var(--accent); }
.footer-col-title { color: #67d4ff; }

.badge-pill { background: var(--sky-tint); border-color: #bde3f8; color: #0369a1; }
.check-list li::before, .hero-points li::before { background-color: var(--teal-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

.contact-media { background: linear-gradient(135deg, #cfe0ff 0%, #bfe6fb 100%); }
.contact-details a { color: var(--accent); }

/* ---------- Design layer (v17): warm sand, coastal colour, pill buttons ----------
   Inspired by sailorestates.co.uk (warm off-white pages, outlined pill buttons)
   and homesuitehome.uk (big statement line, one large rounded photo corner).
   Delete this block to go back to the v16 look. */

:root {
  --sand: #f7f1e8;
  --sand-deep: #efe4d3;
  --coral: #f08a6c;
  --coral-tint: #fde5dc;
  --radius: 10px;
  --radius-xl: 96px;
}

body { background: var(--sand); overflow-x: clip; }

/* Plain sections: sand with two soft colour glows so they never look empty */
section:not([class]) {
  background:
    radial-gradient(42% 55% at 100% 0%, rgba(14, 165, 233, 0.10) 0%, transparent 70%),
    radial-gradient(38% 50% at 0% 100%, rgba(240, 138, 108, 0.10) 0%, transparent 70%),
    var(--sand);
}
.section-tint {
  background:
    radial-gradient(40% 60% at 0% 0%, rgba(255, 255, 255, 0.7) 0%, transparent 70%),
    linear-gradient(180deg, #eaf1ff 0%, #e2f0fc 100%);
}

/* Sticky, frosted header */
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

/* Pill buttons */
.btn, .nav-links .cta, .nav-links a { border-radius: 999px; }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }

/* Hero: morning sky fading to sand, a low sun, and waves along the bottom edge */
.hero-motif { display: none; }
.hero {
  --wave-fill: var(--sand);
  padding-bottom: 150px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 196, 150, 0.55) 0, rgba(240, 138, 108, 0.18) 9%, transparent 24%),
    radial-gradient(55% 70% at 95% 0%, rgba(14, 165, 233, 0.22) 0%, transparent 65%),
    radial-gradient(45% 60% at 0% 90%, rgba(79, 70, 229, 0.10) 0%, transparent 65%),
    linear-gradient(180deg, #dcebff 0%, #eaf3ff 55%, #f6f1ea 100%);
}
.hero:has(+ .section-tint) { --wave-fill: #eaf1ff; }
.hero::before, .hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64c160-34 320-44 480-18s320 60 480 46 320-56 480-62v90H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 64c160-34 320-44 480-18s320 60 480 46 320-56 480-62v90H0z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.hero::before { height: 130px; background: rgba(59, 108, 245, 0.16); transform: scaleX(-1); }
.hero::after { height: 100px; background: var(--wave-fill); }
.hero .wrap { z-index: 1; }

/* Photo placeholders: a simple beach scene (sky, sea, sand) instead of a dashed grey box.
   They disappear as soon as you swap in real <img> photos. */
.img-placeholder {
  position: relative;
  overflow: hidden;
  border: none;
  color: rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(circle at 76% 28%, #fff1de 0 6%, rgba(255, 200, 160, 0.55) 10%, transparent 28%),
    linear-gradient(180deg, #8fc3f3 0%, #cfe6fb 48%, #4f9fe0 48.5%, #2f7fd0 68%, #f1dcc0 68.5%, #e8cfae 100%);
}
.img-placeholder svg, .img-placeholder .ph-label { filter: drop-shadow(0 1px 3px rgba(15, 22, 51, 0.35)); }
.img-placeholder:nth-of-type(3n+2) {
  background:
    radial-gradient(circle at 24% 36%, #fff0e0 0 6%, rgba(255, 170, 130, 0.6) 11%, transparent 30%),
    linear-gradient(180deg, #f6b49c 0%, #fbd9c2 46%, #4a86d4 46.5%, #2a5fb0 68%, #efd6b6 68.5%, #e4c6a0 100%);
}
.img-placeholder:nth-of-type(3n) {
  background:
    radial-gradient(circle at 60% 30%, #ffffff 0 5%, rgba(200, 225, 255, 0.6) 10%, transparent 26%),
    linear-gradient(180deg, #5b7fdc 0%, #9fc0f2 50%, #1f9aa8 50.5%, #157e8c 70%, #eedbc2 70.5%, #e2c9a6 100%);
}
.hero-media, .contact-media, .tile-media { border: none; }
.hero-media { border-radius: var(--radius) var(--radius) var(--radius) var(--radius-xl); }
.split .img-placeholder { border-radius: var(--radius) var(--radius-xl) var(--radius) var(--radius); box-shadow: var(--shadow-md); }
.gallery-grid .img-placeholder { border-radius: 18px; }

/* Big centred statement line (home page) */
.statement {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(240, 138, 108, 0.12) 0%, transparent 70%),
    var(--sand);
}
.statement .wrap::before {
  content: '';
  display: block;
  width: 72px; height: 16px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, var(--accent), var(--sky));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 16'%3E%3Cpath d='M2 8c6-6 11-6 17 0s11 6 17 0 11-6 17 0 11 6 17 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 16'%3E%3Cpath d='M2 8c6-6 11-6 17 0s11 6 17 0 11-6 17 0 11 6 17 0' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.statement-text {
  max-width: 24ch;
  margin: 0 auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.statement-text span {
  background: linear-gradient(90deg, var(--coral), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards: white on sand, slightly softer */
.value-card, .icon-item, .pillar, .tile { border-color: rgba(27, 58, 140, 0.08); }
.value-card:first-child { border-top-color: var(--accent); }
.pillar:first-child { border-top-color: var(--royal); }
.icon-grid .icon-item:nth-child(4n+3) .icon-chip { background: var(--coral-tint); color: #c2552f; }
.hero-float { border-radius: 16px; }
.icon-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Warmer CTA band and footer accents */
.cta-band {
  background:
    radial-gradient(40% 90% at 100% 0%, rgba(240, 138, 108, 0.45) 0%, transparent 60%),
    radial-gradient(45% 100% at 0% 100%, rgba(14, 165, 233, 0.40) 0%, transparent 60%),
    linear-gradient(135deg, var(--royal) 0%, var(--royal-dark) 100%);
}
footer { border-top: none; }

/* Contact page: sand panel beside the photo */
.contact-panel {
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(14, 165, 233, 0.10) 0%, transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(240, 138, 108, 0.12) 0%, transparent 70%),
    var(--sand);
}
.form-group input, .form-group textarea { background: var(--white); }

/* ---------- Privacy page and form note ---------- */

.legal {
  max-width: 760px;
  padding: 48px 52px;
  background: var(--white);
  border: 1px solid rgba(27, 58, 140, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--slate); }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: 8px; }
.legal li strong { color: var(--ink); }
.legal a, .form-note a { color: var(--accent); font-weight: 600; }
.legal-updated { font-size: 0.86rem; margin-bottom: 0; }
.form-note { margin: 14px 0 0; font-size: 0.84rem; }
@media (max-width: 700px) { .legal { padding: 30px 22px; } }

/* ---------- Gallery: zoom on hover, click to open full screen ---------- */

.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.9s var(--ease) var(--delay, 0s), translate 0.9s var(--ease) var(--delay, 0s), box-shadow 0.4s;
}
.gallery-item > * {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover, .gallery-item:focus-visible { box-shadow: var(--shadow-md); }
.gallery-item:hover > *, .gallery-item:focus-visible > * { transform: scale(1.07); }
/* Placeholders inside buttons: give each a different beach colour */
.gallery-item:nth-child(3n+1) .img-placeholder {
  background:
    radial-gradient(circle at 76% 28%, #fff1de 0 6%, rgba(255, 200, 160, 0.55) 10%, transparent 28%),
    linear-gradient(180deg, #8fc3f3 0%, #cfe6fb 48%, #4f9fe0 48.5%, #2f7fd0 68%, #f1dcc0 68.5%, #e8cfae 100%);
}
.gallery-item:nth-child(3n+2) .img-placeholder {
  background:
    radial-gradient(circle at 24% 36%, #fff0e0 0 6%, rgba(255, 170, 130, 0.6) 11%, transparent 30%),
    linear-gradient(180deg, #f6b49c 0%, #fbd9c2 46%, #4a86d4 46.5%, #2a5fb0 68%, #efd6b6 68.5%, #e4c6a0 100%);
}
.gallery-item:nth-child(3n) .img-placeholder {
  background:
    radial-gradient(circle at 60% 30%, #ffffff 0 5%, rgba(200, 225, 255, 0.6) 10%, transparent 26%),
    linear-gradient(180deg, #5b7fdc 0%, #9fc0f2 50%, #1f9aa8 50.5%, #157e8c 70%, #eedbc2 70.5%, #e2c9a6 100%);
}

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 84px;
  background: rgba(10, 16, 48, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
.lightbox-stage > * {
  max-width: 100%;
  max-height: calc(100vh - 144px);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.lightbox.open .lightbox-stage > * { opacity: 1; transform: none; }
.lightbox-stage img { width: auto; height: auto; }
.lightbox-stage .img-placeholder { width: min(1000px, 84vw); height: auto; aspect-ratio: 4 / 3; min-height: 0; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; letter-spacing: 0.08em; }
@media (max-width: 700px) {
  .lightbox { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; translate: none; }
  .lb-count { bottom: 26px; }
}

/* ---------- Thin colour line under the header (static) ---------- */

header { border-bottom: none; border-image: none; }
header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 3px;
}
.cta-band { position: relative; overflow: hidden; }

/* ---------- Page fade-in ----------
   The whole page fades in when it opens, and fades out when you click
   through to another page (see script.js). */

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes page-out { from { opacity: 1; } to { opacity: 0; } }
body { animation: page-in 0.9s var(--ease) both; }
body.page-leaving { animation: page-out 0.3s ease forwards; }

/* ---------- Fade-in on scroll (uses the separate `translate` property so
   it never fights with hover transforms). --delay staggers cards in a row. ---------- */

.fade-in {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease) var(--delay, 0s), translate 0.9s var(--ease) var(--delay, 0s), transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.fade-in.in-view { opacity: 1; translate: 0 0; }
.hero-content.fade-in { --delay: 0.2s; }
.hero-visual.fade-in { --delay: 0.4s; }

/* ============================================================
   Beach hut identity (v21)
   Chalk white, harbour navy, sea-glass green, beach-hut yellow and
   pale sky. Bricolage Grotesque for headings, Public Sans for text. The one
   showpiece is the row of beach huts along the bottom of each hero;
   everything else is kept quiet. Delete this block to go back to v20.
   ============================================================ */

:root {
  --chalk: #F4F7F6;
  --navy: #1B3A8C;
  --navy-deep: #13286A;
  --ink: #14213D;
  --slate: #4E5A73;
  --glass: #7FB8A4;
  --glass-deep: #2F7A64;
  --glass-tint: #E4F1EC;
  --sun: #F2C14E;
  --sun-tint: #FCF3D9;
  --sky: #CFE3F2;
  --sky-tint: #EAF3FA;
  --royal: var(--navy);
  --royal-dark: var(--navy-deep);
  --accent: var(--navy);
  --line: #D9E3E0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, 0.06), 0 6px 18px rgba(20, 33, 61, 0.05);
  --shadow-md: 0 14px 34px rgba(20, 33, 61, 0.12);
}

body { font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--chalk); color: var(--ink); }
h1, h2, h3, .wordmark, .footer-name, .statement-text, .toc-item summary, .step-index {
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.2rem; letter-spacing: 0; }
.btn, .form-group input, .form-group textarea { font-family: 'Public Sans', sans-serif; }

/* Section colours: chalk, with sea-glass and sky bands */
section:not([class]) { background: var(--chalk); }
.section-tint { background: var(--glass-tint); }

/* Top bar, header and buttons */
.topbar { background: var(--navy-deep); }
header { background: rgba(244, 247, 246, 0.9); }
header::after { background: linear-gradient(90deg, var(--navy), var(--glass), var(--sun), var(--sky)); }
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--sky-tint); }
.nav-links a:hover { background: var(--sky-tint); color: var(--navy); }
.nav-links .cta, .nav-links .cta:hover { color: var(--white); }
.btn-primary { background: var(--navy); box-shadow: none; }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-secondary { border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* Hero: a clear morning sky with beach huts along the bottom */
.hero {
  padding: 52px 0 150px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-tint) 58%, var(--chalk) 100%);
}
.hero::before, .hero::after { display: none; }
.hero-media { box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.hero-content h1 { margin-top: 0; }
.hero-points li::before, .check-list li::before {
  background-color: var(--glass-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7A64' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.huts {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; align-items: flex-end; gap: 14px;
  height: 120px;
  overflow: hidden;
  border-bottom: 12px solid #DCE3E0;   /* the promenade the huts stand on */
  pointer-events: none;
}
.hut {
  position: relative;
  flex: 0 0 58px;
  height: var(--h);
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  animation: hut-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 55ms + 0.25s);
}
.hut::before {             /* shaded gable */
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 30%;
  background: rgba(20, 33, 61, 0.2);
}
.hut::after {              /* door */
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 36%; height: 50%;
  translate: -50% 0;
  border-radius: 3px 3px 0 0;
  background: rgba(244, 247, 246, 0.88);
}
.hut--navy  { background: var(--navy); }
.hut--glass { background: var(--glass); }
.hut--sun   { background: var(--sun); }
.hut--sky   { background: #8EC0E4; }
.hut--stripe-navy  { background: repeating-linear-gradient(90deg, var(--navy) 0 9px, #fff 9px 18px); }
.hut--stripe-glass { background: repeating-linear-gradient(90deg, var(--glass) 0 9px, #fff 9px 18px); }
.hut--stripe-sun   { background: repeating-linear-gradient(90deg, var(--sun) 0 9px, #fff 9px 18px); }
.hut[class*="stripe"]::after, .hut--sun::after { background: var(--navy); }
@keyframes hut-rise { from { transform: translateY(105%); } to { transform: none; } }

/* What we offer / What sets us apart: open columns with a coloured rule, not boxed cards */
.value-card, .pillar {
  background: none;
  border: none;
  border-left: 3px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0 2px 24px;
}
.value-card:nth-child(2), .pillar:nth-child(2) { border-left-color: var(--glass); }
.value-card:nth-child(3), .pillar:nth-child(3) { border-left-color: var(--sun); }
.value-card:hover, .pillar:hover, .icon-item:hover { transform: none; box-shadow: none; }
.value-card h3, .pillar h3 { margin-bottom: 10px; }

/* Included as standard / landlord benefits: a simple two-column list */
.icon-grid, .icon-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 0 56px; max-width: 960px; }
.icon-item, .section-tint .icon-item {
  flex-direction: row; align-items: flex-start; gap: 18px;
  padding: 22px 0;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.icon-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.icon-chip { border-radius: 10px; background: var(--sky-tint); color: var(--navy); }
.icon-grid .icon-item:nth-child(4n+2) .icon-chip { background: var(--glass-tint); color: var(--glass-deep); }
.icon-grid .icon-item:nth-child(4n+3) .icon-chip { background: var(--sun-tint); color: #8A6410; }
.icon-grid .icon-item:nth-child(4n) .icon-chip { background: var(--sky-tint); color: var(--navy); }

/* Steps keep their numbers — they really are a sequence */
.step-index, .section-dark .step-index {
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
  font-size: 2.6rem;
}
.step-index { color: var(--glass-deep); }
.section-dark .step-index { color: var(--sun); }
.step { border-top-color: var(--line); }
.section-dark { background: var(--navy-deep); }

/* Statement band */
.statement { background: var(--sky-tint); }
.statement .wrap::before { background: linear-gradient(90deg, var(--navy), var(--glass), var(--sun), var(--navy)); background-size: 300% 100%; }
.statement-text { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.22; }
.statement-text span { white-space: nowrap; background-image: linear-gradient(90deg, var(--navy), var(--glass-deep), #C9921A, var(--glass-deep), var(--navy)); background-size: 300% 100%; }

/* Questions */
.toc { border-top-color: #C4DCD3; }
.toc-item { border-bottom-color: #C4DCD3; }
.toc-item summary { font-size: 1.2rem; }
.toc-item summary::after, .toc-item[open] summary { color: var(--navy); }

/* Link tiles */
.tile { border: none; border-radius: 16px; box-shadow: var(--shadow-sm); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile-arrow { background: var(--sky-tint); color: var(--navy); }
.tile:nth-child(2) .tile-arrow { background: var(--glass-tint); color: var(--glass-deep); }
.tile:nth-child(2):hover .tile-arrow { background: var(--glass-deep); color: var(--white); }

/* Get-in-touch band: navy, with a yellow button */
.cta-band { background: var(--navy); }
.cta-band p { color: #C9D5F2; }
.cta-band .btn-primary { background: var(--sun); color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #E8B43A; }

/* Footer */
footer { background: var(--ink); }
.footer-col-title { text-transform: none; letter-spacing: 0; font-size: 0.92rem; color: var(--sun); }

/* Contact page */
.contact-panel { background: var(--chalk); }
.contact-details a, .legal a, .form-note a { color: var(--navy); }

/* Calmer entrances: fade only, no slide */
.fade-in { translate: none; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 140px; }
  .huts { gap: 9px; height: 92px; }
  .hut { flex-basis: 42px; height: calc(var(--h) * 0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .hut { animation: none; }
}

/* ============================================================
   Layout v23: photo backgrounds, About dropdown, tighter spacing
   Photos live in /images. Each hero / band sets its photo with
   style="--img: url(images/....jpg)" in the HTML.
   ============================================================ */

/* Tighter spacing everywhere */
section { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { margin-bottom: 10px; }

/* About dropdown in the menu */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  border: none; border-radius: 999px;
  background: none;
  font: inherit; font-size: 0.94rem; font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-drop-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.nav-drop-toggle:hover, .nav-drop.open .nav-drop-toggle, .nav-drop-toggle.is-current { background: var(--sky-tint); color: var(--navy); }
.nav-drop.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  display: none; flex-direction: column; gap: 2px;
  min-width: 190px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.nav-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }  /* keeps hover open across the gap */
.nav-drop.open .nav-drop-menu { display: flex; }
@media (hover: hover) and (min-width: 801px) {
  .nav-drop:hover .nav-drop-menu { display: flex; }
}
.nav-drop-menu a { border-radius: 8px; padding: 10px 14px; }

/* Photo heroes: the photo fills the section, text sits on a navy shade on the left */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 28, 74, 0.88) 0%, rgba(13, 28, 74, 0.62) 48%, rgba(13, 28, 74, 0.15) 100%),
    var(--img) center / cover no-repeat,
    var(--navy-deep);
}
.hero { display: flex; align-items: center; min-height: min(78vh, 680px); padding: 72px 0 150px; }
.hero .wrap { width: 100%; }
.page-hero { padding: 96px 0 80px; }
.hero h1, .page-hero h1 { color: var(--white); margin: 0 0 18px; max-width: 16ch; }
.hero .lede, .page-hero .lede { color: #DCE6F7; max-width: 52ch; }
.hero-content { max-width: 640px; }
.hero .btn-primary, .page-hero .btn-primary { background: var(--sun); color: var(--ink); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover { background: #E8B43A; }
.hero .btn-secondary, .page-hero .btn-secondary { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: transparent; }
.hero .btn-secondary:hover, .page-hero .btn-secondary:hover { background: var(--white); color: var(--navy); }
.huts { border-bottom-color: var(--chalk); }

/* Photo band: full-width photo with a text panel on one side */
.photo-band {
  padding: 120px 0;
  background: var(--img) center / cover no-repeat, var(--navy-deep);
}
.band-panel {
  max-width: 480px;
  margin-left: auto;
  padding: 36px 40px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.band-panel h2 { margin-bottom: 12px; }
.band-panel .btn { margin-top: 8px; }

/* Photos beside text */
.split { gap: 56px; }
.split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); }
.split .check-list { margin-bottom: 24px; }

/* Contact page photo */
img.contact-media { height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  section { padding: 56px 0; }
  .hero { min-height: 0; padding: 64px 0 130px; }
  .page-hero { padding: 72px 0 56px; }
  .hero, .page-hero { background: linear-gradient(rgba(13, 28, 74, 0.78), rgba(13, 28, 74, 0.78)), var(--img) center / cover no-repeat, var(--navy-deep); }
  .photo-band { padding: 64px 0; }
  .band-panel { margin: 0 auto; padding: 28px 24px; }
}
@media (max-width: 800px) {
  .nav-drop-toggle { pointer-events: none; padding: 13px 14px; width: 100%; justify-content: flex-start; }
  .nav-drop-toggle svg { display: none; }
  .nav-drop-menu { display: flex; position: static; min-width: 0; padding: 0 0 0 14px; border: none; box-shadow: none; background: none; }
  .nav-drop-menu::before { display: none; }
  .nav .nav-links { justify-self: stretch; }   /* open menu spans the full width */
}

/* ============================================================
   v24: "Why Us" menu item with dropdown, compact footers
   ============================================================ */


/* Menu states (v25): the page you're on gets a yellow underline; "Get in touch" is a
   yellow action button, and switches to an outline on the contact page itself. */
.nav-links a[aria-current="page"], .nav-drop-toggle.is-current {
  background: none;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.nav-drop-menu a[aria-current="page"] { text-underline-offset: 6px; }
.nav-links .cta, .nav-links .cta:hover { color: var(--ink); background: var(--sun); text-decoration: none; }
.nav-links .cta:hover { background: #E8B43A; }
.nav-links .cta[aria-current="page"] { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.nav-links .cta[aria-current="page"]:hover { background: var(--sky-tint); }

/* Home top section (v27): text sits right of centre, with the navy shade on the right
   so the left of the photo stays clear */
@media (min-width: 901px) {
  .hero {
    background:
      linear-gradient(270deg, rgba(13, 28, 74, 0.88) 0%, rgba(13, 28, 74, 0.62) 50%, rgba(13, 28, 74, 0.12) 100%),
      var(--img) center / cover no-repeat,
      var(--navy-deep);
  }
  .hero .hero-content { margin-left: auto; margin-right: 2%; max-width: 600px; }
}

/* Logo (v26): mountain, sun and beach hut on the tide line */
.brand { gap: 9px; }
.brand .mark { width: 33px; height: 29px; }

/* Footers — all three preview options share these */
footer.footer-slim { padding: 28px 0; }
footer.footer-split { padding: 44px 0 36px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 32px;
}
.footer-row .footer-name { margin: 0; font-size: 1.15rem; }
.footer-links, .footer-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a, .footer-contact a { color: #D3DBF3; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-links a[aria-current="page"] { color: var(--white); font-weight: 600; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px 24px;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cta p { margin: 0; color: var(--white); font-size: 1.05rem; }
.footer-cta .btn-primary, .footer-prompt .btn-primary { background: var(--sun); color: var(--ink); padding: 10px 22px; }
.footer-cta .btn-primary:hover, .footer-prompt .btn-primary:hover { background: #E8B43A; }
.footer-split-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-prompt .footer-name { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.footer-prompt p { color: #AAB5D8; margin: 0 0 16px; }
.footer-links-stack { flex-direction: column; gap: 8px; }

@media (max-width: 700px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-split-grid { grid-template-columns: 1fr 1fr; }
  .footer-prompt { grid-column: 1 / -1; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .pillars, .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .hero-float { left: 16px; right: 16px; bottom: -22px; max-width: none; }

  .contact-hero { display: block; position: relative; min-height: 100vh; }
  .contact-media { position: absolute; inset: 0; width: 100%; height: 100%; }
  .contact-panel { position: relative; z-index: 1; align-items: center; justify-content: center; min-height: 100vh; padding: 32px 20px; }
  .contact-panel-inner { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 28px 22px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15, 22, 51, 0.18); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group .form-row .form-group { margin-bottom: 16px; }
}

/* Medium screens: not enough room for links | logo | space, so put the
   logo on the left and the links on the right instead of wrapping. */
@media (min-width: 801px) and (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav .nav-links { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav .nav-spacer { display: none; }
}
.nav-links a { white-space: nowrap; }

@media (max-width: 800px) {
  .wrap { padding: 0 20px; }
  .nav { grid-template-columns: 1fr auto; padding: 12px 20px; }
  .nav .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav .nav-spacer { grid-column: 2; grid-row: 1; }
  .nav-toggle { display: inline-flex; }
  .nav .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(15, 22, 51, 0.1);
    z-index: 20;
  }
  header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-links .cta { margin: 8px 0 0; text-align: center; }
  .topbar .wrap { justify-content: center; gap: 18px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .bleed-row { padding: 0 20px; -webkit-mask-image: none; mask-image: none; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .icon-grid, .footer-links-group { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar a:first-child { display: none; }
  .topbar .wrap { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Devices set to "reduce motion" (e.g. Windows with animations turned off) still get the
     soft fades and colour shifts, but sections no longer slide up and the glows stay still. */
  .fade-in { translate: none; }
  .cta-band::before { animation: none; }
}
