/* =========================================================
   93 Great Suffolk Street — Waverley Equity
   Brand-themed responsive single-page stylesheet
   ========================================================= */

:root {
  /* Brand brown (preferred logo colour) */
  --brown:        #7C6A55;
  --brown-dark:   #5f5141;
  --brown-soft:   #9a8a76;

  /* Neutral stone palette */
  --stone-warm:   #DAD7C5;
  --stone-light:  #E3E2D5;
  --stone-mid:    #BDBDB0;
  --stone-dark:   #999889;

  /* Accents */
  --sage:         #8BAEA1;
  --orange:       #F78E1E;
  --navy:         #002F65;

  /* Functional */
  --ink:          #2b2722;
  --ink-soft:     #5b5347;
  --paper:        #ffffff;
  --paper-tint:   #faf9f4;

  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 14px 40px -18px rgba(60, 50, 38, 0.45);
  --shadow-sm: 0 4px 18px -10px rgba(60, 50, 38, 0.4);

  --font-head: 'Archivo', 'Calibri', system-ui, sans-serif;
  --font-body: 'Calibri', 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brown); text-decoration: none; }
a:hover { color: var(--brown-dark); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brown); color: #fff; }
.btn-primary:hover { background: var(--brown-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-block { width: 100%; margin-top: .4rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(124, 106, 85, 0.16);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-logo { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--brown-dark); letter-spacing: .005em; }
.brand-text small { font-size: .74rem; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: .35rem; }
.main-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--ink); padding: .55rem .85rem; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--stone-light); color: var(--brown-dark); }
.main-nav .nav-cta { background: var(--brown); color: #fff; padding: .55rem 1.25rem; margin-left: .4rem; }
.main-nav .nav-cta:hover { background: var(--brown-dark); }

/* Mobile nav toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle-label span { display: block; width: 26px; height: 3px; background: var(--brown-dark); border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(rgba(40,33,26,.25), rgba(40,33,26,.25)), url('images/optimized/hero-external-view.jpg') center 35% / cover no-repeat;
  color: #fff;
  padding-bottom: 120px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,39,34,.55) 0%, rgba(43,39,34,.30) 40%, rgba(95,81,65,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 2rem; }

.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 600; margin: 0 0 .9rem; color: var(--stone-warm); }
.eyebrow-dark { color: var(--brown); }

.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.3); margin-bottom: .35em; }
.hero h1 span { display: block; font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 400; color: var(--stone-warm); margin-top: .5rem; letter-spacing: 0; }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 620px; color: #f3efe6; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* Pricing strip */
.pricing-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(95, 81, 65, 0.92);
  backdrop-filter: blur(6px);
  border-top: 3px solid var(--orange);
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pricing-item { padding: 1.2rem 1rem; text-align: center; color: #fff; border-left: 1px solid rgba(255,255,255,.14); }
.pricing-item:first-child { border-left: none; }
.pricing-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); }
.pricing-label { display: block; font-size: .82rem; letter-spacing: .03em; color: var(--stone-warm); margin-top: .2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-tint); }
.intro { background: var(--paper); }

.section-head { max-width: 760px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); margin: 0; }

/* Highlights */
.highlights { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.highlights li { display: flex; align-items: baseline; gap: .7rem; padding: .85rem 0; border-bottom: 1px solid var(--stone-light); font-size: 1.05rem; }
.hl-num { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brown); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }

.descriptors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.descriptor {
  text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius);
  background: var(--stone-light); color: var(--brown-dark);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  border: 1px solid rgba(124,106,85,.12);
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.feature-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(124,106,85,.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-mid); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.feature-card:hover .feature-media img { transform: scale(1.05); }
.feature-body { padding: 1.3rem 1.4rem 1.6rem; }
.feature-body h3 { font-size: 1.25rem; color: var(--brown-dark); }
.feature-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Facilities */
.facilities { margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--stone-light); }
.facilities-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.facilities-tags { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.facilities-tags li {
  background: var(--stone-light); color: var(--brown-dark);
  padding: .5rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(124,106,85,.14);
}

/* ---------- Layout ---------- */
.layout-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.layout-plan {
  margin: 0; background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--stone-mid); padding: 1.2rem; box-shadow: var(--shadow-sm);
}
.layout-plan img { width: 100%; height: auto; border-radius: 6px; }
.layout-plan figcaption { text-align: center; margin-top: .9rem; font-family: var(--font-head); font-weight: 600; color: var(--brown-dark); }
.layout-note { margin-top: 1.6rem; color: var(--ink-soft); font-style: italic; text-align: center; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.location-copy h3 { font-size: 1.3rem; color: var(--brown-dark); margin-top: 1.6rem; }
.location-copy h3:first-child { margin-top: 0; }
.transport-list { list-style: none; padding: 0; margin: .4rem 0 1.2rem; }
.transport-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--stone-light); }
.transport-list span { font-weight: 600; color: var(--ink); }
.transport-list em { font-style: normal; color: var(--ink-soft); font-size: .92rem; white-space: nowrap; }
.location-extra { color: var(--ink-soft); }

.location-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.location-gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.location-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.location-gallery figure:hover img { transform: scale(1.06); }
.location-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1rem .7rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(43,39,34,.78));
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.contact-form-wrap {
  background: var(--paper); padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(124,106,85,.12);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--brown-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper-tint); border: 1.5px solid var(--stone-mid); border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brown); box-shadow: 0 0 0 3px rgba(124,106,85,.16); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 1rem 0 0; }

.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-card { background: var(--paper-tint); border: 1px solid rgba(124,106,85,.14); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.contact-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brown); margin-bottom: .6rem; }
.contact-card address { font-style: normal; font-size: 1.08rem; line-height: 1.5; }
.contact-person { font-weight: 600; margin: 0 0 .3rem; }
.contact-owner { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); color: var(--stone-warm); padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 64px; width: auto; }
.footer-brand p { margin: 0; font-size: .92rem; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; }
.footer-nav a { color: var(--stone-warm); font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { text-align: right; font-size: .88rem; margin: 0; line-height: 1.6; }
.footer-fine { color: var(--stone-dark); font-size: .8rem; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: #fff; border-bottom: 3px solid var(--orange);
  padding: clamp(2.6rem, 7vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.2rem);
}
.legal-hero .eyebrow { color: var(--stone-warm); }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.legal-updated { color: var(--stone-warm); margin: .7rem 0 0; font-size: .92rem; letter-spacing: .02em; }

.legal-body { padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal-body .container { max-width: 840px; }
.legal-body h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--brown-dark); margin: 2.4rem 0 .6rem; }
.legal-body > .container > h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; color: var(--brown-dark); margin: 1.7rem 0 .4rem; }
.legal-body p { color: var(--ink-soft); margin: 0 0 1rem; }
.legal-body ul { padding-left: 1.2rem; margin: .4rem 0 1.3rem; color: var(--ink-soft); }
.legal-body li { margin-bottom: .4rem; }
.legal-body a { color: var(--brown); text-decoration: underline; }
.legal-body a:hover { color: var(--brown-dark); }

.legal-info {
  list-style: none; padding: 1.3rem 1.5rem; margin: 1.2rem 0 1.4rem;
  background: var(--paper-tint); border: 1px solid rgba(124,106,85,.14); border-radius: var(--radius);
}
.legal-info li { margin-bottom: .5rem; padding-left: 0; }
.legal-info li:last-child { margin-bottom: 0; }
.legal-info strong { color: var(--ink); font-family: var(--font-head); }

.legal-back { display: inline-block; margin-top: 2.4rem; font-family: var(--font-head); font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.6rem; }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-tint); border-bottom: 1px solid rgba(124,106,85,.16);
    padding: .5rem clamp(1.1rem, 4vw, 2.5rem) 1rem;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease, visibility .25s;
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle:checked ~ .main-nav { max-height: 420px; opacity: 1; visibility: visible; }
  .main-nav a { padding: .9rem .4rem; border-radius: 0; border-bottom: 1px solid var(--stone-light); }
  .main-nav .nav-cta { margin: .8rem 0 0; text-align: center; padding: .85rem; border-radius: 999px; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .pricing-strip { position: static; margin-top: 1.8rem; }
  .hero { padding-bottom: 0; min-height: clamp(480px, 80vh, 640px); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-item:nth-child(1), .pricing-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .pricing-item:nth-child(odd) { border-left: none; }

  .highlights { grid-template-columns: 1fr; gap: 0; }
  .descriptors { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .layout-grid { grid-template-columns: 1fr; }
  .location-gallery { grid-template-columns: 1fr 1fr; }
  .brand-text small { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--stone-light);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: .85rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brown-dark);
  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-weight: 400;
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--brown); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq-answer p { margin: 0; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
