/* ============================================================
   Azure Coast Pools & Spa — concept demo by Goodland Web Co.
   Quiet coastal modern: warm beige + white + near-black,
   with a single muted azure accent. Arches & serif display.
   ============================================================ */
:root {
  --deep: #1c1d1b;        /* near-black — dark sections */
  --teal: #3c6675;        /* muted azure — the one accent (var name kept for cascade) */
  --aqua: #6d8e9a;        /* lighter azure — gradient */
  --aqua-soft: #d7dfe1;   /* pale azure */
  --sand: #ece5d7;        /* warm beige */
  --sand-2: #e1d8c6;      /* deeper beige */
  --cream: #f4efe6;       /* soft beige — main background */
  --ink: #1b1b18;         /* near-black text */
  --ink-soft: #6c675e;    /* muted warm gray */
  --gold: #4f7280;        /* azure (was ochre accent) */
  --gold-soft: #d4ccb6;   /* soft beige — accent text on dark */
  --clay: #3c6675;        /* azure (was terracotta) */
  --blue: #3c6675;        /* azure — accent */
  --olive: #7c7a6d;       /* neutral taupe */
  --line: rgba(27, 27, 24, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);
  --white: #ffffff;
  --shadow: 0 18px 50px -28px rgba(20, 20, 18, 0.4);
  --shadow-lift: 0 36px 80px -36px rgba(20, 20, 18, 0.46);
  --scrim: 24, 24, 22;    /* neutral dark for image scrims (rgb triplet) */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --arch: 240px 240px 12px 12px; /* Spanish-revival arched top for imagery */
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---- Demo bar ---- */
.demobar {
  background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.02em;
  text-align: center; padding: 0.5rem 1rem;
}
.demobar strong { font-weight: 600; }
.demobar a { color: var(--gold-soft); font-weight: 500; white-space: nowrap; }
.demobar a:hover { text-decoration: underline; }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold-soft); }
.h-display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08;
  letter-spacing: 0.01em; color: var(--ink); margin: 0 0 1.3rem;
}
.h-display--light { color: var(--cream); }
.h-feature {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; color: var(--ink); margin: 0 0 1rem;
}
.lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 1.6rem; max-width: 52ch; }
.lead--center { margin-left: auto; margin-right: auto; }
.link-gold { font-weight: 500; letter-spacing: 0.04em; color: var(--gold); border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; transition: color 0.2s ease; }
.link-gold:hover { color: var(--teal); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--sand { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.section--deep { background: var(--deep); color: var(--cream); }
.section__head { max-width: 60ch; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.section__head .lead--center { text-align: center; }
.section__head:has(.lead--center) { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.95rem 1.7rem; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.22s ease; white-space: nowrap;
}
.btn--lg { padding: 1.1rem 2.1rem; font-size: 0.84rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--ink); color: var(--cream); }
.btn--line { border-color: var(--line-light); color: var(--cream); background: rgba(255,255,255,0.04); }
.btn--line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--ghost { border-color: currentColor; padding: 0.7rem 1.3rem; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---- Image placeholders (swap background-image for real photos) ---- */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--aqua-soft);
  background-image: linear-gradient(135deg, #2c4e5a 0%, #3c6675 45%, #6d8e9a 100%);
  background-size: cover; background-position: center;
}
.ph__cap {
  display: none; /* real photos are in place — labels only remain on slots still awaiting a photo (team portraits) */
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84%; text-align: center;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
  background: rgba(46, 35, 27, 0.4); border: 1px dashed rgba(255, 250, 240, 0.5);
  padding: 0.6rem 0.8rem; border-radius: 3px; line-height: 1.4; pointer-events: none;
}
.team__photo .ph__cap { display: block; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.4rem 0;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -20px rgba(20,20,18,0.55); padding: 0.25rem 0; }
/* single row, all on one level: logo left · menu items left · Book right */
.nav__inner { display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; flex: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; color: var(--blue); }
.brand__logo { display: block; height: clamp(54px, 7vw, 80px); width: auto; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: 0.01em; color: var(--ink); }
.brand__sub { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
/* footer sits on the dark band */
.footer__brand .brand__word { color: var(--cream); }
.footer__brand .brand__sub { color: var(--gold-soft); }
.nav__links { flex: 1; display: flex; align-items: center; gap: clamp(0.85rem, 1.8vw, 1.5rem); margin-left: clamp(1.5rem, 4vw, 3rem); }
.nav__links a { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); transition: color 0.2s ease; white-space: nowrap; }
.nav__links a:not(.btn):hover { color: var(--clay); }
.nav__cta { flex: none; white-space: nowrap; }
.nav__toggle { display: none; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,24,22,0.45) 0%, rgba(24,24,22,0.15) 35%, rgba(24,24,22,0.78) 100%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(4rem, 9vw, 8rem); padding-top: 8rem; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: 0.01em; margin: 0 0 1.4rem; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,0.88); margin: 0 0 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,0.5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--gold-soft); transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 12px); } }

/* ===== INTRO ===== */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro__marks { list-style: none; margin: 0 0 1.9rem; padding: 0; }
.intro__marks li { position: relative; display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; color: var(--ink); }
.intro__marks li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(60,102,117,0.12); color: var(--clay); font-size: 0.78rem; font-weight: 700; }
.ph--tall { min-height: clamp(360px, 52vw, 620px); border-radius: 3px; }
.intro__media { box-shadow: var(--shadow); }

/* ===== FEATURES ===== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--rev .feature__media { order: 2; }
.feature__media { min-height: clamp(300px, 38vw, 460px); border-radius: 3px; box-shadow: var(--shadow); }
.feature__no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); display: block; margin-bottom: 0.4rem; }
.feature__body p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 1.05rem; }

.features__more { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; }
.features__more li span {
  display: inline-block; padding: 0.55rem 1.1rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.84rem; letter-spacing: 0.06em; color: var(--ink);
  background: rgba(255,255,255,0.5);
}

/* ===== EXPERIENCE BAND ===== */
.experience { position: relative; min-height: 78vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; }
.experience__media { position: absolute; inset: 0; }
.experience__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,24,22,0.78) 0%, rgba(24,24,22,0.35) 60%, rgba(24,24,22,0.2) 100%); }
.experience__inner { position: relative; z-index: 2; max-width: 760px; }
.experience__quote { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.18; margin: 0 0 1.2rem; }
.experience__by { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-soft); margin: 0; }

/* ===== GALLERY ===== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery__item { border-radius: 3px; box-shadow: var(--shadow); display: block; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(24,24,22,0); transition: background 0.3s ease; }
.gallery__item:hover::after { background: rgba(24,24,22,0.18); }

/* ===== PROCESS ===== */
.process__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; counter-reset: step; }
.process__step { padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.process__no { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold-soft); }
.process__step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0.5rem 0 0.6rem; color: var(--cream); }
.process__step p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.98rem; }

/* ===== STATS ===== */
.stats__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.stats__media { box-shadow: var(--shadow); }
.stats__row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin: 1.8rem 0; }
.stat__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--teal); line-height: 1; }
.stat__label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.stats__area { font-size: 0.95rem; color: var(--ink-soft); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.stats__area strong { color: var(--ink); font-weight: 600; }

/* ===== CONTACT ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.contact__list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.contact__k { display: inline-block; width: 5rem; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.contact__list a:hover { color: var(--teal); }
.footer__sample { display: block; margin-top: 1rem; font-size: 0.78rem; font-style: italic; color: var(--ink-soft); opacity: 0.8; }

.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 3px; padding: 0.7rem 0.85rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact__form .btn { grid-column: 1 / -1; }
.contact__note { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--teal); }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.8); padding: clamp(3rem, 5vw, 4.5rem) 0 1.6rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand .brand__word { color: var(--cream); font-size: 1.6rem; }
.footer__brand p { margin: 0.6rem 0 0; max-width: 34ch; font-size: 0.95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }
.footer__nav a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; margin-top: 1.4rem; font-size: 0.82rem; }
.footer__bottom strong { color: var(--cream); font-weight: 600; }
.footer__top:hover { color: var(--gold-soft); }

/* ===== Subpage hero (shorter banner for inner pages) ===== */
.page-hero { position: relative; min-height: 50vh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,24,22,0.5) 0%, rgba(24,24,22,0.22) 42%, rgba(24,24,22,0.82) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; margin: 0 0 0.6rem; }
.page-hero__sub { max-width: 52ch; color: rgba(255,255,255,0.86); font-size: 1.1rem; margin: 0; }

/* ===== Home: feature teaser cards ===== */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); }
.fcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.fcard__media { height: 190px; }
.fcard__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.fcard__no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.fcard__title { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; margin: 0.2rem 0 0.5rem; color: var(--ink); }
.fcard__body p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.fcard__link { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.fcard:hover .fcard__link { color: var(--teal); }
.center { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ===== CTA band ===== */
.cta-band { background: var(--deep); color: var(--cream); text-align: center; }
.cta-band .container { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.cta-band__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 1rem; }
.cta-band p { max-width: 48ch; margin: 0 auto 1.8rem; color: rgba(255,255,255,0.8); }

/* ===== Team ===== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); }
.team__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; box-shadow: var(--shadow); margin-bottom: 1rem; background: var(--sand); }
/* portraits are stock placeholders, so they're blurred — reads as "your team here" */
.team__blur { position: absolute; inset: 0; background-size: cover; background-position: center top; filter: blur(8px) saturate(1.05); transform: scale(1.18); }
.team__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,24,22,0) 55%, rgba(24,24,22,0.28)); }
.team__name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 0; color: var(--ink); }
.team__role { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0.2rem 0 0.6rem; }
.team > div > p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { margin: -0.2rem 0 1.2rem; color: var(--ink-soft); }

/* ===== Tiered "what's included" list ===== */
.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr)); gap: 0.9rem; }
.incl li { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; box-shadow: 0 14px 30px -26px rgba(20,20,18,0.5); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.incl li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.incl li::before { content: "\2713"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(60,102,117,0.12); color: var(--clay); font-size: 0.85rem; font-weight: 700; }

@media (max-width: 900px) { .fgrid, .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fgrid, .team { grid-template-columns: 1fr; } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__scroll span { animation: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .process__steps { grid-template-columns: 1fr 1fr; }
}
/* shorten "Book a consultation" → "Book" so the one-row nav fits before the hamburger appears */
@media (max-width: 1120px) { .nav__cta-x { display: none; } }
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 60; }
  .nav__toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav.is-open .nav__toggle span { background: var(--cream); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    grid-column: auto; justify-self: auto;
    position: fixed; top: 0; bottom: 0; left: 0; width: 100vw;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--deep); transform: translateX(100%); transition: transform 0.32s ease;
  }
  .nav.is-open .nav__links { transform: none; }
  .nav__links { flex: none; }
  .nav__links a { font-size: 1.1rem; color: var(--cream); }
  .nav__inner { display: flex; align-items: center; gap: 0.5rem; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__word { font-size: 1.1rem; white-space: nowrap; }
  .brand__sub { display: none; }
  .nav__cta { flex: none; padding: 0.5rem 0.85rem; font-size: 0.68rem; }
  .nav__toggle { flex: none; margin-left: 0.2rem; }
  .nav__cta-x { display: none; } /* mobile shows just "Book" so the menu toggle fits */

  .intro__grid, .feature, .feature--rev .feature__media, .stats__grid, .contact__grid, .contact__form { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .feature__media, .intro__media, .stats__media { order: -1; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
}

/* ============================================================
   Mediterranean motifs — arches, softening, terracotta accents
   ============================================================ */
.intro__media, .stats__media, .feature__media, .team__photo { border-radius: var(--arch); }
.gallery__item { border-radius: 12px; }
.btn { border-radius: 4px; }
.eyebrow { color: var(--clay); }
.eyebrow--light { color: var(--gold-soft); }
.stat__num { color: var(--clay); }
.link-gold, .fcard__link { color: var(--clay); }
.link-gold { border-bottom-color: var(--gold-soft); }
.link-gold:hover, .fcard:hover .fcard__link { color: var(--blue); }
/* hero's primary CTA is beige (stands out on the dark photo) */
.hero__cta .btn--solid { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.hero__cta .btn--solid:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
/* ---- Gallery category filter ---- */
.gallery-filter { position: sticky; top: 70px; z-index: 30; background: rgba(244,239,230,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.gallery-filter__inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; padding: 0.85rem 0; }
.gallery-filter__btn { font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 0.55rem 1.15rem; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.gallery-filter__btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.gallery-filter__btn.is-active { background: var(--clay); border-color: var(--clay); color: #fff; }
.svc:hover .svc__link { color: var(--blue); }
.feature__no { color: var(--clay); }
.process__no { color: var(--gold-soft); }
.brand__mark { color: var(--gold-soft); }
.btn--solid { background: var(--clay); color: #fff; }
.btn--solid:hover { background: var(--ink); color: var(--cream); }
/* a subtle arch accent above section heads */
.section__head .eyebrow::before { content: ""; display: block; width: 46px; height: 23px; margin: 0 0 0.9rem; border: 1.5px solid var(--blue); border-bottom: none; border-radius: 46px 46px 0 0; }
.section__head--center .eyebrow::before, .section__head:has(.lead--center) .eyebrow::before { margin-left: auto; margin-right: auto; }

/* ============================================================
   Features slider (horizontal, scroll-snap, arched cards)
   ============================================================ */
.fslider { position: relative; }
.fslider__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0.2rem 1.4rem; scrollbar-width: none; -ms-overflow-style: none; }
.fslider__track::-webkit-scrollbar { display: none; }
.fslide { flex: 0 0 clamp(255px, 76vw, 360px); scroll-snap-align: center; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.fslide:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.fslide__media { height: 280px; background-size: cover; background-position: center; }
.fslide__body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fslide__no { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.15rem; }
.fslide__title { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.1; margin: 0.15rem 0 0.55rem; color: var(--ink); }
.fslide__body p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.fslide__link { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); font-weight: 500; }
.fslider__nav { display: flex; gap: 0.6rem; justify-content: center; margin-top: 0.4rem; }
.fslider__btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background 0.2s ease, color 0.2s ease; }
.fslider__btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* care-plan cards (Service & Care) */
.care-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.9rem 1.7rem; box-shadow: var(--shadow); }
.care-card .team__name { margin-bottom: 0.1rem; }
.care-card--feature { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay), var(--shadow-lift); }

/* services overview — "what we do" cards (design/build, renovations, repairs, care) */
.svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(0.9rem, 2vw, 1.4rem); }
.svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem 1.5rem 1.5rem; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.svc h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin: 0 0 0.5rem; }
.svc p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.svc__link { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); font-weight: 500; }
.svc:hover .svc__link { color: var(--olive); }

/* sticky feature index (features page) — arched tabs, highlights the section in view */
.feat-nav { position: sticky; top: 70px; z-index: 30; background: rgba(244,239,230,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-nav__inner { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.7rem 0; scrollbar-width: none; -ms-overflow-style: none; }
.feat-nav__inner::-webkit-scrollbar { display: none; }
.feat-nav a { flex: none; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding: 0.5rem 1.05rem; border: 1px solid var(--line); border-radius: 999px 999px 7px 7px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.feat-nav a:hover { color: var(--ink); border-color: var(--clay); }
.feat-nav a.is-active { background: var(--clay); border-color: var(--clay); color: #fff; }
.features .feature { scroll-margin-top: 140px; }
