/* ==========================================================================
   BUTTON EYES RESORT — Design System
   Primary grey #72757A + white. Display: "Brown Sugar" (placeholder: Fraunces).
   Body/UI: "Glacial Indifference" (placeholder: Jost).
   Replace the two @font-face-ready stacks below once licensed font files
   (Brown Sugar, Glacial Indifference) are supplied — see comments at top
   of :root.
   ========================================================================== */

:root {
  /* ---- Brand colour ---- */
  --grey: #72757A;
  --grey-soft: #9a9da1;
  --grey-faint: #e7e7e8;
  --grey-wash: #f3f3f3;
  --white: #ffffff;
  --ink: #33353a; /* used only for highest-emphasis headings on white, sparingly */

  /* ---- Typography ----
     Brown Sugar and Glacial Indifference are licensed brand fonts not yet
     supplied to this build. Fraunces (display) and Jost (body) are used as
     close-spirited placeholders — swap the font-family stacks below for
     the licensed files and nothing else needs to change. */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Jost', 'Century Gothic', 'Futura', sans-serif;

  /* ---- Spacing scale ---- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --container: 1280px;
  --container-narrow: 860px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 var(--space-sm); }
}

/* ---- Type scale ---- */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 400;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
}
.lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--grey);
  max-width: 46em;
}
.h1-visual { font-family: var(--font-display); }
.sr-h1 {
  /* Visible, styled like an eyebrow line — the true semantic H1 for SEO,
     paired above/below a larger display statement that carries the
     emotional brand headline. Never visually hidden: both are real,
     readable text. */
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--grey);
  border-radius: 2px;
  transition: background var(--ease) .35s, color var(--ease) .35s, border-color var(--ease) .35s;
  white-space: nowrap;
}
.btn-primary { background: var(--grey); color: var(--white); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--grey); }
.btn-outline:hover { background: var(--grey); color: var(--white); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-white:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }

/* ---- Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-faint);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo-footer { height: 42px; }
.nav-links { display: flex; gap: var(--space-md); align-items: center; }
.nav-links a:not(.btn) {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--grey);
  padding: 0.4em 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease) .3s, color var(--ease) .3s;
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn)[aria-current="page"] { color: var(--ink); border-color: var(--grey); }
.nav-cta { margin-left: var(--space-sm); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .3s var(--ease); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; top: 64px;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a:not(.btn) { font-size: 1rem; }
  .nav-cta { margin-left: 0; }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: var(--space-sm) 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--grey-soft);
}
.breadcrumbs a { color: var(--grey-soft); }
.breadcrumbs a:hover { color: var(--grey); }
.breadcrumbs .sep { margin: 0 0.5em; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero .ph-image { position: absolute; inset: 0; z-index: 0; border-radius: 0; height: 100%; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,32,35,.15) 0%, rgba(25,27,30,.15) 40%, rgba(20,22,24,.62) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: var(--space-2xl) var(--space-lg) var(--space-xl); width: 100%; }
.hero-eyebrow { color: rgba(255,255,255,.85); margin-bottom: var(--space-sm); }
.hero h1 { color: var(--white); }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.1rem; margin: var(--space-sm) 0 var(--space-lg); max-width: 34em; }
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.015em;
  color: var(--white);
  margin: 0.7em 0 0.2em;
  max-width: 32em;
}
.page-h1 { color: var(--ink); }
.hero-page {
  min-height: 56vh;
  align-items: center;
}

/* ---- Placeholder imagery ----
   Stand-ins for real property photography. Each carries the exact alt
   text the final photo should ship with. Swap the <img src> for the real
   asset; the alt attribute, caption, and layout require no changes. */
.ph-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: var(--grey-wash);
}
.ph-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph-image:hover img { transform: scale(1.045); }
.ph-caption {
  position: absolute; left: 0.9em; bottom: 0.8em;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(20,20,20,.32);
  padding: 0.4em 0.7em;
  backdrop-filter: blur(2px);
}
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-3-2 { aspect-ratio: 3/2; }
.ratio-21-9 { aspect-ratio: 21/9; }

/* ---- Sections ---- */
section { padding: var(--space-2xl) 0; }
.section-tight { padding: var(--space-xl) 0; }
.section-header { margin-bottom: var(--space-lg); }
.section-header .eyebrow { margin-bottom: var(--space-sm); display: block; }
.section-foot { margin-top: var(--space-lg); }
.bg-wash { background: var(--grey-wash); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.85); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.divider { height: 1px; background: var(--grey-faint); border: none; margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 960px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Photo wall (large, uniform-tile galleries) ---- */
.photo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
@media (max-width: 960px) { .photo-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .photo-wall { grid-template-columns: 1fr 1fr; gap: var(--space-sm); } }

/* ---- Editorial split (asymmetric intro sections) ---- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
  align-items: center;
}
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

/* ---- Accommodation cards ---- */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg) var(--space-md); }
@media (max-width: 1080px) { .acc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-card { display: flex; flex-direction: column; }
.acc-card .ph-image { margin-bottom: var(--space-sm); }
.acc-card h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.acc-card .acc-tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-soft); margin-bottom: 0.6em; display: block; }
.acc-card p { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.acc-card .btn { align-self: flex-start; }

/* ---- Fact strip (occupancy / size / privacy) ---- */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grey-faint); border-bottom: 1px solid var(--grey-faint); }
.fact { padding: var(--space-md) var(--space-sm); border-left: 1px solid var(--grey-faint); }
.fact:first-child { border-left: none; }
.fact .eyebrow { display: block; margin-bottom: 0.5em; }
.fact strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 400; display: block; }
@media (max-width: 760px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n+1) { border-left: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--grey-faint); }
}

/* ---- Amenity list ---- */
.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7em 2em; }
.amenity-list li { font-size: 0.95rem; padding-left: 1.2em; position: relative; }
.amenity-list li::before { content: '—'; position: absolute; left: 0; color: var(--grey-soft); }
@media (max-width: 560px) { .amenity-list { grid-template-columns: 1fr; } }

/* ---- Experience blocks ---- */
.exp-block { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.exp-block.reverse { direction: rtl; }
.exp-block.reverse > * { direction: ltr; }
.exp-media { position: relative; }
.exp-media .ph-image { height: 100%; border-radius: 0; }
.exp-text { display: flex; flex-direction: column; justify-content: center; padding: var(--space-xl) var(--space-2xl); }
@media (max-width: 900px) {
  .exp-block, .exp-block.reverse { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
  .exp-media .ph-image { aspect-ratio: 4/3; }
  .exp-text { padding: var(--space-lg) var(--space-sm); }
}

/* ---- Guest review quotes (editorial, no card chrome) ---- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl) var(--space-lg); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { border-top: 1px solid var(--grey-faint); padding-top: var(--space-md); }
.review-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 var(--space-sm);
}
.review-attr { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-soft); }

/* ---- Icon-free feature row (used sparingly) ---- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
.feature-row h4 { font-size: 1rem; margin-bottom: 0.4em; letter-spacing: 0.02em; }
.feature-row p { font-size: 0.88rem; }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--grey-faint); max-width: var(--container-narrow); }
.faq-item { border-bottom: 1px solid var(--grey-faint); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: var(--space-md) 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 1.02rem; color: var(--ink); gap: var(--space-md);
}
.faq-q .plus { font-size: 1.3rem; color: var(--grey); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a { padding: 0 0 var(--space-md); font-size: 0.95rem; max-width: 42em; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---- CTA band ---- */
.cta-band { background: var(--ink); color: rgba(255,255,255,.85); text-align: center; padding: var(--space-2xl) 0; }
.cta-band h2 { color: var(--white); margin-bottom: var(--space-sm); }
.cta-band .lede { margin: 0 auto var(--space-lg); color: rgba(255,255,255,.75); }
.cta-band .btn-row { justify-content: center; }

/* ---- Contact / location block ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { margin-top: var(--space-md); }
.contact-list li { padding: 0.7em 0; border-top: 1px solid var(--grey-faint); font-size: 0.98rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--grey-faint); }
.contact-list .label { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-soft); margin-bottom: 0.3em; }
.map-embed { background: var(--grey-wash); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--space-lg); border: 1px solid var(--grey-faint); }
.map-embed p { font-size: 0.85rem; color: var(--grey-soft); margin: 0; }

/* ---- Forms ---- */
.field-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.enquiry-form .field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.6em; }
.field input, .field select, .field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--grey-faint);
  padding: 0.7em 0.1em; background: transparent; color: var(--ink);
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--grey); }
.field textarea { resize: vertical; min-height: 5em; }
.field-radio { display: flex; gap: var(--space-md); align-items: center; }
.field-radio label { display: flex; align-items: center; gap: 0.5em; text-transform: none; font-size: 0.92rem; letter-spacing: 0; color: var(--ink); margin: 0; }
.field-radio input[type="radio"] { accent-color: var(--grey); margin: 0; }
.form-note { font-size: 0.82rem; color: var(--grey-soft); margin-top: var(--space-sm); }
.form-success { display: none; padding: var(--space-lg); background: var(--grey-wash); text-align: center; }
.form-success.is-visible { display: block; }
@media (max-width: 700px) { .enquiry-form { grid-template-columns: 1fr; } }

/* ---- Policies ---- */
.policy-group { margin-bottom: var(--space-lg); }
.policy-group h3 { font-size: 1.05rem; margin-bottom: 0.6em; }
.policy-group ul li { font-size: 0.94rem; padding: 0.4em 0; border-top: 1px solid var(--grey-faint); }

/* ---- Footer ---- */
.site-footer { background: var(--white); border-top: 1px solid var(--grey-faint); padding: var(--space-xl) 0 var(--space-lg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-lg); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-soft); margin-bottom: var(--space-sm); font-weight: 500; }
.footer-grid li { padding: 0.35em 0; font-size: 0.92rem; }
.footer-grid li a:hover { color: var(--ink); }
.footer-brand .brand { margin-bottom: var(--space-sm); }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--grey-faint); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--grey-soft); flex-wrap: wrap; gap: var(--space-sm); }
.footer-credit a { color: var(--grey-soft); border-bottom: 1px solid transparent; transition: color var(--ease) .3s, border-color var(--ease) .3s; }
.footer-credit a:hover { color: var(--ink); border-color: var(--grey); }

/* ---- Mobile sticky CTA ---- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--grey-faint);
  padding: 0.7em var(--space-sm);
  gap: 0.6em;
}
@media (max-width: 720px) { .mobile-cta { display: flex; } }
.mobile-cta .btn { flex: 1; justify-content: center; padding: 0.85em 0.5em; font-size: 0.72rem; }
body { padding-bottom: 0; }
@media (max-width: 720px) { body { padding-bottom: 64px; } }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ph-image img { transition: none; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.small { font-size: 0.85rem; color: var(--grey-soft); }
