:root {
  --ink: #202322;
  --muted: #69706a;
  --paper: #f7f2e9;
  --paper-soft: #fbf8f1;
  --navy: #2c7194;
  --navy-deep: #205875;
  --navy-soft: #e5f0f4;
  --footer: #14384c;
  --sage: #8c9a82;
  --sand: #d8c3a0;
  --clay: #a76f52;
  --line: rgba(32, 35, 34, 0.14);
  --white: #fffdf8;
  --shadow: 0 24px 72px rgba(20, 56, 76, 0.13);
  --radius: 8px;
  --max: 1180px;
  --ease: 180ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(167, 111, 82, 0.6);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--navy);
  color: white;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(20, 56, 76, 0.08);
  background: rgba(251, 248, 241, 0.96);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.brand {
  display: grid;
  gap: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
}

.brand span {
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .48rem;
}

.main-nav a {
  border-radius: 999px;
  padding: .62rem .86rem;
  color: var(--navy-deep);
  font-size: .95rem;
  font-weight: 650;
  transition: background var(--ease), color var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(44, 113, 148, 0.1);
  color: var(--navy-deep);
}

.main-nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(44, 113, 148, 0.16);
}

.booking-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: .75rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.main-nav a.booking-link,
.site-footer a.booking-link,
.mobile-booking.booking-link {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.main-nav a.booking-link:hover,
.site-footer a.booking-link:hover,
.mobile-booking.booking-link:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.booking-link:hover,
.button:hover {
  transform: translateY(-2px);
  background: var(--navy-deep);
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.button.secondary:hover {
  background: rgba(44, 113, 148, 0.1);
}

.booking-note {
  margin-top: .78rem;
  color: inherit;
  opacity: .78;
  font-size: .86rem;
  line-height: 1.4;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { overflow: hidden; }

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--clay);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0;
}

h1 { font-size: clamp(3rem, 8vw, 6.7rem); max-width: 980px; }
h2 { font-size: clamp(2.25rem, 5vw, 4.35rem); max-width: 860px; }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); }

p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 2vw, 1.38rem); max-width: 760px; color: #4b524d; }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(20, 56, 76, .06), rgba(20, 56, 76, .72)),
    var(--hero-image, linear-gradient(135deg, var(--navy), var(--sage)));
  background-size: cover;
  background-position: var(--hero-position, center);
  color: var(--white);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 253, 248, .16), transparent 34%),
    linear-gradient(90deg, rgba(12, 36, 49, .3), transparent 58%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.hero p,
.hero .eyebrow { color: rgba(255, 253, 248, .86); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .72);
}

.hero .button.secondary:hover {
  background: rgba(255, 255, 255, .13);
}

.page-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(247, 242, 233, .96), rgba(247, 242, 233, .68)),
    var(--hero-image, linear-gradient(135deg, var(--paper), var(--sand)));
  background-size: cover;
  background-position: var(--hero-position, center);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, .8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.media-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(44, 113, 148, .16), rgba(140, 154, 130, .32));
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(.86) contrast(.96) brightness(.98);
}

.media-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .8rem 1rem;
  background: rgba(255, 253, 248, .88);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: .9rem;
  backdrop-filter: blur(12px);
}

.trust-strip {
  background: var(--navy-deep);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
}

.trust-item {
  padding: 1.4rem;
  background: var(--navy-deep);
}

.trust-item strong { display: block; font-family: Georgia, Cambria, "Times New Roman", serif; font-size: 1.25rem; font-weight: 500; }
.trust-item span { color: rgba(255,255,255,.72); font-size: .95rem; }

.intro-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.intro-row p { max-width: 520px; }

.grid {
  display: grid;
  gap: 1.15rem;
}

.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 113, 148, .28);
  box-shadow: 0 18px 48px rgba(20, 56, 76, .1);
}

.card-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(44, 113, 148, .18), rgba(216, 195, 160, .42));
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(.96) brightness(.98);
}

.card-body { padding: 1.35rem; }
.card-body p { margin-top: .55rem; }
.card .text-link { margin-top: 1rem; }

.text-link {
  display: inline-flex;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.band {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.navy-band {
  background: var(--navy);
  color: var(--white);
}

.navy-band p { color: rgba(255, 253, 248, .78); }

.story-stack {
  display: grid;
  gap: 1.25rem;
}

.story-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
  min-height: 340px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-panel:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
.story-panel:nth-child(even) .story-copy { order: -1; }

.story-panel img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(.88) contrast(.96) brightness(.98);
}

.story-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  align-self: center;
}

.story-copy p { margin-top: .8rem; }

.feature-list {
  display: grid;
  gap: .7rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: #4b524d;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--clay);
}

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

blockquote {
  margin: 0;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

blockquote p { color: var(--ink); font-family: Georgia, Cambria, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.42rem); line-height: 1.38; }
blockquote footer { margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--clay);
  font-size: 1.4rem;
}

.faq-question[aria-expanded="true"]::after { content: "-"; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--ease);
}

.faq-answer > div { overflow: hidden; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-answer p { padding: 0 1.1rem 1.1rem; }

.cta {
  text-align: center;
  padding: clamp(4.8rem, 8vw, 7.8rem) 1rem;
  background:
    linear-gradient(180deg, rgba(20, 56, 76, .7), rgba(20, 56, 76, .86)),
    var(--cta-image, linear-gradient(135deg, var(--navy), var(--sage)));
  background-size: cover;
  background-position: var(--cta-position, center);
  color: var(--white);
}

.cta p { color: rgba(255,253,248,.82); margin: 1rem auto 0; max-width: 660px; }
.cta .button { margin-top: 1.6rem; background: var(--white); color: var(--navy); border-color: var(--white); }
.cta .booking-note { color: rgba(255,253,248,.78); }

.site-footer {
  background:
    linear-gradient(180deg, rgba(20, 56, 76, .98), rgba(15, 43, 58, 1));
  color: var(--white);
  padding: clamp(4rem, 6vw, 5.75rem) 0 5.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .75fr .75fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.site-footer p,
.site-footer a,
.site-footer li { color: rgba(255,253,248,.78); }

.site-footer h2,
.site-footer h3 {
  font-size: 1.28rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .58rem;
}

.footer-bottom {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mobile-booking {
  display: none;
  position: fixed;
  z-index: 120;
  left: 12px;
  right: 12px;
  bottom: 12px;
  box-shadow: 0 14px 34px rgba(20, 56, 76, .24);
}

.map-card {
  min-height: 360px;
  display: flex;
  align-items: end;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20,56,76,.06), rgba(20,56,76,.86)),
    url("images/st-andrews-beach-pexels.jpg"),
    linear-gradient(135deg, rgba(44,113,148,.85), rgba(140,154,130,.72));
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: left;
  padding: clamp(1.35rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.map-card p { color: rgba(255,253,248,.82); max-width: 420px; }

.map-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.mini-meta span {
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,253,248,.58);
  font-size: .86rem;
}

@media (max-width: 1040px) {
  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: .25rem;
    padding: 1rem 16px 1.4rem;
    background: rgba(251, 248, 241, .98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: .95rem 1rem;
    border-radius: var(--radius);
    font-size: 1rem;
  }

  .main-nav .booking-link { margin-top: .4rem; }
  .menu-toggle { display: block; }
  .mobile-booking { display: inline-flex; }
}

@media (max-width: 860px) {
  .hero { min-height: 680px; }
  .hero .container { padding-bottom: clamp(3rem, 12vw, 5rem); }
  .split,
  .story-panel,
  .story-panel:nth-child(even) { grid-template-columns: 1fr; }
  .story-panel:nth-child(even) .story-copy { order: 0; }
  .grid.four,
  .grid.three,
  .grid.two,
  .quote-grid,
  .trust-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .intro-row { display: grid; align-items: start; }
  .media-frame { min-height: 300px; }
  .story-panel img { min-height: 280px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .nav-wrap { width: min(100% - 24px, var(--max)); min-height: 70px; }
  .main-nav { inset: 70px 0 auto 0; }
  .brand span { font-size: .66rem; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .section { padding: 4rem 0; }
  .page-hero { padding: 4.5rem 0 3rem; }
  .hero-actions .button { width: 100%; }
  .card-body { padding: 1.15rem; }
  blockquote { padding: 1.25rem; }
  .map-card { min-height: 430px; }
  .site-footer { padding-bottom: 6.2rem; }
}
