/* ============================================================
   Gerber Attorneys & Conveyancers — shared stylesheet
   Typography: Cormorant Garamond (display) + Jost (body)
   Palette derived from the hazy sky blue of the header image
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Sky-derived palette */
  --ink:            #0A0A0A;        /* near-black for headings */
  --ink-soft:       #1F2A33;        /* deep slate */
  --body:           #475561;        /* slightly muted body text */
  --body-soft:      #6B7884;        /* secondary text */
  --rule:           #D9DEE3;

  --sky-deep:       #2E4A60;        /* mountain navy (primary) */
  --sky-mid:        #5C7A92;        /* mid blue */
  --sky-soft:       #93A8BB;        /* hazy blue */
  --sky-pale:       #C9D5DF;        /* pale haze */
  --sky-mist:       #E6ECF0;        /* very pale background */
  --paper:          #FBFBF8;        /* warm off-white page */
  --paper-alt:      #F2F4F6;        /* alt section background */

  --shadow-sm:      0 1px 2px rgba(20, 30, 40, 0.06);
  --shadow-md:      0 12px 32px -12px rgba(20, 30, 40, 0.18);

  --max:            1240px;
  --gutter:         clamp(1.25rem, 4vw, 3rem);

  --serif:          'Cormorant Garamond', 'Times New Roman', serif;
  --sans:           'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--sky-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; }

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 1.1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); font-weight: 300; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-mid);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: inline-block;
}

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section   { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--alt { background: var(--paper-alt); }
.section--mist { background: var(--sky-mist); }
.section--ink  { background: var(--ink); color: #C9CDD2; }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.divider {
  width: 56px; height: 1px;
  background: var(--sky-mid);
  border: 0; margin: 0 0 1.75rem;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.95rem 1.65rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 0;
  transition: all .25s ease;
}
.btn:hover { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- floating single-pill navigation ---------- */
.nav {
  position: fixed;
  top: clamp(0.75rem, 1.6vw, 1.4rem);
  left: 0; right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  position: relative; /* anchor for the mobile dropdown */
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.5rem 0.45rem 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  box-shadow: 0 4px 22px rgba(20, 30, 40, 0.08);
}

/* Hamburger — hidden on desktop, shown on narrow widths */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-right: 0.25rem;
  background: transparent;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__logo {
  display: inline-flex; align-items: center;
  height: clamp(36px, 4vw, 46px);
  flex-shrink: 0;
}
.nav__logo img { height: 100%; width: auto; filter: none; }

.nav__right {
  display: flex; align-items: center; gap: 0.5rem;
}

.nav__links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none; margin: 0; padding: 0 1rem 0 0;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  padding: 0.4rem 0;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--sky-mid); }

.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: #fff !important;
  border-radius: 9999px;
  padding: 0.7rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--sky-deep); transform: translateY(-1px); }

@media (max-width: 600px) {
  /* On phones: the pill carries only the logo and a hamburger. Tapping the
     hamburger reveals a dropdown panel containing every nav link plus the
     Contact button. */
  .nav__inner { padding: 0.35rem 0.35rem 0.35rem 1rem; }
  .nav__toggle { display: inline-flex; }

  /* Collapse nav__right into a dropdown panel that drops out from under the pill. */
  .nav__right {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.4rem;
    padding: 0.6rem 0 0.85rem;
    box-shadow: 0 12px 32px rgba(20, 30, 40, 0.14);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav__right.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links {
    flex-direction: column;
    padding: 0;
    gap: 0;
    width: 100%;
  }
  .nav__links a,
  .nav__links a.is-active {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--ink);
  }
  .nav__links a:hover,
  .nav__links a.is-active { color: var(--sky-deep); background: rgba(46, 74, 96, 0.05); }
  .nav__full { display: inline; }

  /* Contact button sits at the foot of the dropdown as a centred pill. */
  .nav__cta {
    display: inline-flex;
    margin: 0.65rem 1.25rem 0.2rem;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    min-height: 44px;
  }
}

/* ---------- mobile usability: keep tap targets generous, sections breathable ---------- */
@media (max-width: 640px) {
  .btn { padding: 1rem 1.4rem; }
  .service { padding: 1.75rem 1.5rem; }
  .person__role { font-size: 0.7rem; }
  .footer__bottom { font-size: 0.8rem; }
}

/* keep anchored sections clear of the fixed pill nav */
section[id], header[id] { scroll-margin-top: clamp(80px, 10vw, 110px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink-soft) url('assets/hero.jpg') center/cover no-repeat;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,20,0.45) 0%, rgba(10,15,20,0) 35%, rgba(10,15,20,0) 55%, rgba(10,15,20,0.65) 100%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem);
}
.hero__mark {
  display: block;
  width: clamp(180px, 24vw, 360px);
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  filter: invert(1) brightness(1.4);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.hero__title em {
  font-style: italic;
  color: var(--sky-pale);
}
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  margin: 0 0 2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 38px;
  background: rgba(255,255,255,0.6);
  margin: 0.6rem auto 0;
}

.hero__credit {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(0.8rem, 1.8vw, 1.4rem);
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

/* ---------- page header (non-hero pages) ---------- */
.page-head {
  position: relative;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--sky-mist);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-head h1 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.page-head p {
  max-width: 56ch; margin: 0 auto;
  color: var(--body);
  font-size: 1.05rem;
}

/* ---------- service cards ---------- */
.service {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-soft); }
/* Anchor-cards (used on the home services for Intellectual Property and Compliance) */
a.service { color: inherit; text-decoration: none; display: block; }
a.service:hover h3 { color: var(--sky-deep); }
.service__num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sky-mid);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.service h3 { margin-bottom: 0.85rem; }
.service p  { margin: 0; }
.service__more {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-mid);
  font-weight: 500;
  transition: color .2s ease;
}
a.service:hover .service__more { color: var(--sky-deep); }

/* ---------- people cards ---------- */
.person { text-align: left; }
.person__photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sky-mist);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.person__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.person:hover .person__photo img { transform: scale(1.03); }
.person h3 { margin-bottom: 0.25rem; font-weight: 500; }
.person__role {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin: 0 0 1.1rem;
}
.person p { color: var(--body); }

/* ---------- contact form ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--body-soft);
  margin-bottom: 0.45rem;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  font: inherit;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: 0.95rem 1.1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(46, 74, 96, 0.12);
}
.form textarea { min-height: 160px; resize: vertical; }

.form__note {
  font-size: 0.85rem; color: var(--body-soft);
}

/* ---------- contact info block ---------- */
.contact-info { display: grid; gap: 1.5rem; }
.contact-info__item {
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
}
.contact-info__label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.contact-info__value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}

/* ---------- two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature--reverse { grid-template-columns: 1fr 1.05fr; }
.feature--reverse .feature__media { order: 2; }
@media (max-width: 820px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}
.feature__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.feature__media--portrait img {
  aspect-ratio: 3/4;
  max-width: 380px;
  margin: 0 auto;
}

/* ---------- callout ---------- */
.callout {
  background: var(--sky-deep);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.callout h2 { color: #fff; max-width: 22ch; margin: 0 auto 1rem; }
.callout p  { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto 2rem; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #B8BEC4;
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
  font-size: 0.92rem;
}
.footer a { color: #DCE0E4; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img {
  height: 32px; width: auto;
  filter: invert(1) brightness(1.4);
  margin-bottom: 1rem;
}
.footer__brand p { color: #9CA3AA; max-width: 30ch; }
.footer h4 {
  color: #fff; font-family: var(--sans);
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 1.1rem; font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.55rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.82rem; color: #8A9098;
}

/* ---------- intro split block (used on home) ---------- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 820px) { .intro-split { grid-template-columns: 1fr; } }
.intro-split h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- legal documents (privacy / PAIA) ---------- */
.legal {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}
.legal h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  margin: 2.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  scroll-margin-top: clamp(80px, 10vw, 110px);
}
.legal h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}
.legal h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sky-mid);
  margin: 1.75rem 0 0.5rem;
}
.legal p { margin: 0 0 1.1em; }
.legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}
.legal ul li {
  position: relative;
  padding: 0.15em 0 0.15em 1.5em;
  margin-bottom: 0.4em;
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 0.7em; height: 1px;
  background: var(--sky-mid);
}
.legal a {
  color: var(--sky-deep);
  border-bottom: 1px solid var(--sky-pale);
}
.legal a:hover { color: var(--ink); border-color: var(--sky-mid); }
.legal__back { text-align: left; }

/* ---------- blog article cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-soft);
}
.article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sky-mist);
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__body {
  padding: 1.75rem 1.6rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.9rem;
}
.article-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  transition: color .2s ease;
}
.article-card p {
  color: var(--body);
  font-size: 0.96rem;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.article-card__read {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-mid);
  font-weight: 500;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}
.article-card:hover h3,
.article-card:hover .article-card__read { color: var(--sky-deep); }
.article-card:hover .article-card__read { transform: translateX(3px); }

/* ---------- newsletter signup (Brevo, native form to hidden iframe) ---------- */
.newsletter {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.newsletter h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  margin: 0.4rem 0 0.85rem;
  line-height: 1.2;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
  margin: 0;
  max-width: 42ch;
}
.newsletter .eyebrow { color: var(--sky-pale); }
.nl-form { display: grid; gap: 1rem; }
.nl-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}
@media (max-width: 600px) { .nl-row { grid-template-columns: 1fr; } }
.nl-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 16px; /* avoid iOS zoom */
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.nl-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.nl-input:focus {
  outline: none;
  border-color: var(--sky-soft);
  background: rgba(255, 255, 255, 0.1);
}
.nl-submit {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid #fff;
  color: var(--ink);
  padding: 0.95rem 1.65rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.nl-submit:hover { background: var(--sky-pale); border-color: var(--sky-pale); color: var(--ink); }
.nl-submit:disabled { opacity: 0.55; cursor: progress; }
.nl-consent {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.nl-consent input { margin-top: 0.3rem; flex: none; }
.nl-status {
  min-height: 1.3em;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.nl-status.ok { color: var(--sky-pale); }
.nl-status.err { color: #FF9B8C; }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--body-soft); }
