/* ==========================================================================
   Corkscrew Real Estate — design system
   Palette, type and spacing taken from the Corkscrew brand deck (Variant 1).
   ========================================================================== */

:root {
  /* Brand colours — exact values from the brand deck */
  --primary: #555F37;        /* PRIMARY   brand green */
  --bg: #EFEEEA;             /* BACKGROUND cream */
  --secondary: #D5D4C3;      /* SECONDARY sand */
  --text: #1E1A18;           /* TEXT      near-black */

  /* Tints derived from the four brand colours — no new hues introduced */
  --primary-dark: #414A29;
  --primary-soft: #6E7A4C;
  --sand-deep: #C6C4AE;
  --cream: #F7F6F3;
  --white: #ffffff;

  --ink-soft: #5A5750;
  --ink-faint: #8A8781;
  --line: #DAD8CE;
  --line-strong: #C3C0B4;

  /* Type — Georgia for headlines, Instrument Sans for everything else.
     The deck specifies Intrinseca for subheads; it has no web licence, so
     letterspaced Instrument Sans caps stands in. See README.md. */
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 2px;
  --radius-lg: 4px;

  --shadow-sm: 0 1px 2px rgba(30, 26, 24, 0.05);
  --shadow-md: 0 8px 30px rgba(30, 26, 24, 0.08);
  --shadow-lg: 0 24px 70px rgba(30, 26, 24, 0.14);

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

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap-narrow { max-width: 780px; }

.section { padding: clamp(64px, 8.5vw, 118px) 0; }
.section-cream { background: var(--cream); }
.section-sand { background: var(--secondary); }
.section-green { background: var(--primary); color: #E4E4DA; }
.section-green h2, .section-green h3, .section-green h4 { color: var(--bg); }

/* Accent label — the deck's "Intrinseca Medium All Caps" role */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}
.section-green .eyebrow, .hero .eyebrow { color: var(--secondary); }

.lede { font-size: 1.12rem; color: var(--ink-soft); }
.section-green .lede { color: #CFD0C2; }

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; max-width: 660px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: var(--bg); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }

.btn-cream { background: var(--bg); color: var(--primary); }
.btn-cream:hover { background: var(--white); }

.btn-outline { background: transparent; color: var(--bg); border-color: rgba(239, 238, 234, 0.5); }
.btn-outline:hover { background: var(--bg); color: var(--primary); border-color: var(--bg); }

.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--bg); }

.btn-block { width: 100%; }
.btn-lg { padding: 19px 40px; font-size: 0.83rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 238, 234, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 88px;
}

.logo { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.logo img { width: 178px; height: auto; }
.logo-team {
  padding-left: 15px;
  border-left: 1px solid var(--line-strong);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--primary);
}
@media (max-width: 460px) {
  .logo img { width: 150px; }
  .logo-team { padding-left: 11px; gap: 11px; font-size: 0.56rem; }
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.nav a:hover, .nav a.is-current { color: var(--primary); }
.nav .btn { color: var(--bg); letter-spacing: 0.1em; padding: 13px 22px; }
.nav .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--primary);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: relative; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 4.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 26px 26px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
  .nav .btn { margin-top: 18px; border-bottom: none; justify-content: center; padding: 16px 22px; }
  .logo img { width: 158px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 660px;
  padding: 110px 0;
  color: var(--bg);
  background-color: var(--primary);
  /* The team photo is a bright white kitchen, so the overlay has to stay heavy
     the whole way across to keep cream text above 4.5:1 contrast. */
  background-image:
    linear-gradient(100deg, rgba(28, 33, 17, 0.94) 0%, rgba(44, 51, 27, 0.88) 48%, rgba(58, 66, 36, 0.78) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center 30%;
}

.hero .wrap { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero h1 { color: var(--bg); margin-bottom: 24px; }
.hero-lede { font-size: 1.16rem; color: #D9DAD0; max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(239, 238, 234, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8CABC;
}
.hero-sig strong { color: var(--bg); font-weight: 600; }
.hero-sig img { width: 40px; height: auto; opacity: 0.9; }

/* Compact hero for interior pages */
.hero-sub {
  min-height: 0;
  padding: clamp(78px, 9vw, 132px) 0;
  background-position: center 35%;
  background-image:
    linear-gradient(100deg, rgba(28, 33, 17, 0.95) 0%, rgba(44, 51, 27, 0.9) 55%, rgba(58, 66, 36, 0.82) 100%),
    url("../images/hero.jpg");
}
.hero-sub .hero-content { max-width: 660px; }

/* ==========================================================================
   Split CTA — sellers vs buyers
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 26px;
}

.split-card {
  display: flex;
  flex-direction: column;
  padding: 46px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.section-cream .split-card { background: var(--white); }
.split-card:hover { transform: translateY(-4px); border-color: var(--primary-soft); box-shadow: var(--shadow-md); }
.split-card h3 { margin-bottom: 12px; }
.split-card p { color: var(--ink-soft); flex: 1; }
.split-card .btn { margin-top: 28px; align-self: flex-start; }

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--primary);
}
.card-icon svg { width: 23px; height: 23px; }

/* ==========================================================================
   Feature / step grid
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 44px 40px;
  margin-top: 58px;
}
.feature h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.section-green .feature p { color: #C4C6B7; }

.step-num {
  display: block;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
}
.section-green .step-num { color: var(--secondary); border-color: rgba(239, 238, 234, 0.25); }

/* ==========================================================================
   Areas served
   ========================================================================== */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--bg);
  background: var(--primary);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.area-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease);
}
/* Dark scrim so the city name stays legible over any photo */
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18, 22, 10, 0.9) 0%, rgba(18, 22, 10, 0.4) 46%, rgba(18, 22, 10, 0.12) 100%);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.area-card:hover .area-bg { transform: scale(1.06); }
.area-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
  color: var(--bg);
}
.area-meta {
  position: relative;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 238, 234, 0.82);
}
.area-flag {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  padding: 5px 11px;
  background: rgba(18, 22, 10, 0.4);
  border: 1px solid rgba(239, 238, 234, 0.55);
  border-radius: 100px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 54px;
}
.quote {
  padding: 38px 34px;
  background: var(--bg);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.section-cream .quote { background: var(--white); }
.quote p { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.5; color: var(--text); }
.quote footer {
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.quote footer span { display: block; margin-top: 4px; font-weight: 400; letter-spacing: 0.1em; color: var(--ink-faint); }

/* ==========================================================================
   About / agent
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.about-reverse { grid-template-columns: 1.15fr minmax(240px, 0.85fr); }
@media (max-width: 860px) {
  .about, .about-reverse { grid-template-columns: 1fr; }
  .about-reverse .about-photo { order: -1; }
}

.about-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--secondary);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Full-frame variant — shows the entire photo, nobody cropped (home team shot) */
.about-photo.is-full { aspect-ratio: auto; background: none; }
.about-photo.is-full img { height: auto; }
.about-photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 24px 20px;
  background: linear-gradient(to top, rgba(30, 26, 24, 0.8), transparent);
  color: var(--bg);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.credentials li {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); }

/* Wide feature image */
.figure-wide {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.figure-wide img { width: 100%; height: auto; }
.figure-wide figcaption {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-layout {
  display: grid;
  grid-template-columns: 1fr minmax(350px, 500px);
  gap: clamp(32px, 5vw, 74px);
  align-items: start;
}
@media (max-width: 940px) { .form-layout { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(30px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-card h3 { margin-bottom: 8px; }
.form-card .form-intro { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 28px; }

.field { margin-bottom: 19px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field .req { color: var(--primary); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%235A5750' stroke-width='1.6' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 11px;
  padding-right: 40px;
}
.field textarea { min-height: 112px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(85, 95, 55, 0.13);
}

.field-hint { margin-top: 7px; font-size: 0.77rem; color: var(--ink-faint); }

.checks { display: grid; gap: 11px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.91rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input { width: 17px; height: 17px; margin-top: 4px; flex: none; accent-color: var(--primary); }

.form-consent { margin-top: 6px; font-size: 0.74rem; line-height: 1.55; color: var(--ink-faint); }

/* Honeypot — hidden from people, catches bots */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.89rem;
  display: none;
}
.form-status.is-error { display: block; background: #F6E9E4; color: #8A3E28; }
.form-status.is-busy { display: block; background: var(--secondary); color: var(--text); }

/* ==========================================================================
   Value list (sits beside forms)
   ========================================================================== */

.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 17px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.section-green .ticks li { color: #C4C6B7; }
.ticks li strong { color: var(--text); display: block; font-weight: 600; }
.section-green .ticks li strong { color: var(--bg); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23EFEEEA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/></svg>") center / 11px no-repeat;
}
.section-green .ticks li::before { background-color: var(--secondary); }

/* ==========================================================================
   Guides
   ========================================================================== */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 54px;
}
.guide {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-cover {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 28px;
  text-align: center;
  background: var(--primary);
  color: var(--bg);
}
/* Turtle watermark — adds branded depth behind the title */
.guide-cover::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -20%;
  width: 74%;
  aspect-ratio: 1;
  background: url(../images/icon-cream.png) no-repeat center / contain;
  opacity: 0.13;
  pointer-events: none;
}
.guide-cover > * { position: relative; z-index: 1; }
.guide:nth-child(2) .guide-cover { background: var(--primary-dark); }
.guide:nth-child(3) .guide-cover { background: #2F3620; }
.guide-cover span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.22; }
.guide-cover small {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
}
.guide-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.guide-body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.guide-body p { font-size: 0.93rem; color: var(--ink-soft); flex: 1; }
.guide-body .btn { margin-top: 24px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(30, 26, 24, 0.6);
  backdrop-filter: blur(3px);
}
.modal.is-open { display: flex; }
.modal-panel {
  width: 100%;
  max-width: 490px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: rise 0.28s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--secondary); }
.modal .form-card { position: relative; border: none; box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .modal-panel { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .split-card:hover, .area-card:hover, .guide:hover { transform: none; }
}

/* ==========================================================================
   Team grid (About page)
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 34px 28px;
  margin-top: 54px;
}
.team-card { display: flex; flex-direction: column; }
.team-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--secondary);
  margin-bottom: 20px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.team-bio { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.team-contact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.team-contact a { color: var(--primary); text-decoration: none; }
.team-contact a:hover { text-decoration: underline; }

/* ==========================================================================
   Blog
   ========================================================================== */

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 54px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-cover {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
  background: var(--primary);
  color: var(--bg);
}
.post-card:nth-child(2n) .post-cover { background: var(--primary-dark); }
.post-card:nth-child(3n) .post-cover { background: #2F3620; }
.post-cover span { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; }
.post-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.post-body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.post-body p { font-size: 0.95rem; color: var(--ink-soft); flex: 1; margin: 0; }
.post-meta {
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.post-card.is-soon { opacity: 0.72; pointer-events: none; }
.post-card.is-soon .post-cover { background: var(--sand-deep); color: var(--primary); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.breadcrumb {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.article-meta {
  margin: 0 0 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}
.article-body > p:first-of-type { font-size: 1.15rem; color: var(--ink-soft); }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 1.8em 0 0.5em; }
.article-body h3 { font-size: 1.2rem; margin: 1.5em 0 0.4em; }
.article-body p, .article-body li { color: var(--text); }
.article-body ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--text); }
.article-callout {
  margin: 1.8em 0;
  padding: 22px 26px;
  background: var(--cream);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.97rem;
}
.article-callout strong { display: block; margin-bottom: 6px; color: var(--primary); }

/* ==========================================================================
   FAQ (native accordions)
   ========================================================================== */

.faq-list { max-width: 820px; margin: 50px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  border-right: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-answer { padding: 0 0 24px; color: var(--ink-soft); }
.faq-item .faq-answer p { margin-bottom: 0.8em; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Band CTA
   ========================================================================== */

.band {
  padding: clamp(56px, 7vw, 92px) 0;
  background: var(--primary);
  color: var(--bg);
  text-align: center;
}
.band h2 { color: var(--bg); }
.band p { color: #CFD0C2; max-width: 580px; margin: 0 auto 32px; }
.band .hero-actions { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 72px 0 32px;
  background: var(--text);
  color: #9C978F;
  font-size: 0.91rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(239, 238, 234, 0.12);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 18px;
}
.site-footer a { color: #C0BBB2; text-decoration: none; }
.site-footer a:hover { color: var(--bg); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-brand img { width: 178px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 330px; font-size: 0.89rem; }
.footer-affil {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.78rem;
  color: #7E7972;
}
.footer-legal { max-width: 740px; line-height: 1.6; }

/* ==========================================================================
   Thank you page
   ========================================================================== */

.thanks { display: grid; place-items: center; min-height: 68vh; text-align: center; padding: 84px 0; }
.thanks-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
}
.thanks-mark svg { width: 38px; height: 38px; }

/* ==========================================================================
   Reveal on scroll — only active when JS is running (see head script)
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--bg);
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
