/* ═══════════════════════════════════════════════════════════════
   ROYAL MAJESTY HOMECARE
   Design system: Watercolor illustration · Editorial serif · Warm ivory
   Palette  : Ivory · Forest green · Sage · Honey gold
   Typefaces: Lora (serif headlines) · Inter (sans body)
   Version  : 3.0 — Apple-clean bento layout
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Color */
  --ivory:       #F8F5EF;
  --ivory-deep:  #F1EDE4;
  --ivory-card:  #FDFAF5;
  --forest:      #1a2744;      /* Royal Majesty navy — brand primary */
  --forest-mid:  #243460;      /* navy mid */
  --muted:       #6E736B;
  --muted-lt:    #9A9E97;
  --royal-gold:  #c8993e;      /* Royal Majesty original gold */
  --sage:        #8B9971;
  --sage-dark:   #5C6E50;
  --sage-pale:   #D4E6D0;
  --honey:       #D4A84B;
  --honey-pale:  #F0E3BA;
  --rule:        #DDD8CE;
  --white:       #FFFFFF;

  /* Type */
  --serif:  'Lora', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t1:     0.22s var(--ease);
  --t2:     0.45s var(--ease);
  --t3:     0.75s var(--ease);

  /* Layout */
  --max:        1180px;
  --px:         clamp(1.25rem, 5vw, 3.5rem);
  --section-v:  clamp(5rem, 10vw, 9rem);
  --card-r:     18px;
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--forest);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img        { display: block; max-width: 100%; height: auto; }
a          { color: inherit; text-decoration: none; }
ul         { list-style: none; }
address    { font-style: normal; }
button     { cursor: pointer; border: none; background: none; font-family: inherit; }
figure     { margin: 0; }

/* ─── CONTAINER ───────────────────────────────────────────────── */
.container {
  width: min(var(--max), 100% - var(--px) * 2);
  margin-inline: auto;
}

/* ─── TYPOGRAPHY SCALE ────────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--forest);
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.15;
  color: var(--forest);
  letter-spacing: -0.015em;
}
h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
p  {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.78;
  font-weight: 300;
}

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-gold);
  margin-bottom: 0.9rem;
}
.section-label.light { color: rgba(255,255,255,0.55); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.8rem;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all var(--t1);
  cursor: pointer;
}
.btn--forest {
  background: var(--forest);
  color: var(--white);
  border: 1.5px solid var(--forest);
}
.btn--forest:hover {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,39,68,0.22);
}
.btn--ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--rule);
}
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn--honey {
  background: var(--honey);
  color: var(--forest);
  border: 1.5px solid var(--honey);
  font-weight: 600;
}
.btn--honey:hover {
  background: #c49336;
  border-color: #c49336;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,168,75,0.3);
}
.btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--ghost-light:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--full { width: 100%; }

/* ─── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t3), transform var(--t3);
}
.reveal.vis { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.32s; }

/* ─── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  padding-block: 1.1rem;
  transition: background var(--t2), box-shadow var(--t2);
}
.nav.scrolled {
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav__inner {
  width: min(var(--max), 100% - var(--px) * 2);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  flex-shrink: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.nav__logo-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.nav__logo-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--royal-gold);
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.2;
}
.nav__logo-sub {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  padding: 0.4rem 0.9rem;
  border-radius: 7px;
  transition: color var(--t1);
  white-space: nowrap;
}
.nav__links a:hover  { color: var(--forest); }
.nav__cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  border-radius: 9px !important;
  padding: 0.45rem 1.15rem !important;
  font-weight: 500 !important;
  margin-left: 0.5rem;
  transition: background var(--t1), box-shadow var(--t1) !important;
}
.nav__cta:hover {
  background: var(--forest-mid) !important;
  box-shadow: 0 3px 12px rgba(26,39,68,0.22) !important;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 21px;
  height: 1.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform var(--t1), opacity var(--t1);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile open */
.nav__links.open {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  z-index: 800;
}
.nav__links.open a {
  font-family: var(--serif) !important;
  font-size: 2.2rem !important;
  font-weight: 500 !important;
  color: var(--forest) !important;
  padding: 0.55rem 2rem !important;
  background: none !important;
  border-radius: 0 !important;
}
.nav__links.open .nav__cta {
  margin-top: 1.5rem !important;
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  background: var(--forest) !important;
  padding: 0.75rem 2.2rem !important;
  border-radius: 10px !important;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-block-start: clamp(6rem, 12vw, 9rem);
  background: var(--ivory);
}
.hero__grid {
  width: min(var(--max), 100% - var(--px) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  padding-block-end: clamp(3rem, 6vw, 5rem);
  min-height: clamp(520px, 80vh, 780px);
}

/* Main card spans both rows on left column */
.hero__main {
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--card-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Side cards sit in explicit rows on right column */
.hero__card--a {
  grid-column: 2;
  grid-row: 1;
}
.hero__card--b {
  grid-column: 2;
  grid-row: 2;
}
.hero__main-text {
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1.75rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.hero__eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal-gold);
  font-family: var(--sans);
}
.hero__headline { color: var(--forest); }
.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--royal-gold);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-top: -0.25rem;
}
.hero__tagline em {
  font-style: italic;
  color: var(--forest);
  opacity: 0.65;
}
.hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  font-family: var(--sans);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.3rem;
}
.hero__figure {
  border-top: 1px solid var(--rule);
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s var(--ease);
}
.hero__main:hover .hero__figure img { transform: scale(1.025); }

/* Side column — no longer needed as a flex wrapper, cards placed directly in grid */
.hero__side { display: contents; }
.hero__card {
  border-radius: var(--card-r);
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--ivory-card);
  display: flex;
  flex-direction: column;
}

/* Card A — problem */
.hero__card--a {
  background: var(--ivory-card);
}
.hero__card--a .hcard__body {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  flex: 0 0 auto;
}
.hcard__label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-lt);
  font-family: var(--sans);
  margin-bottom: 0.6rem;
  display: block;
}
.hcard__h {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.55rem;
  line-height: 1.2;
}
.hcard__p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.72;
}
.hcard__graphic {
  border-top: 1px solid var(--rule);
  background: var(--ivory-deep);
  padding: 1rem;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hcard__graphic svg {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 180px;
}

/* Card B — advisor stat (light navy tint, split layout) */
.hero__card--b {
  background: #E8EDF6;
  border: 1px solid #C8D3E8;
}
.stat__body {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num span {
  font-size: 1em;
  color: var(--forest);
  vertical-align: baseline;
}
.stat__graphic {
  border-top: 1px solid #C8D3E8;
  background: #dde4f0;
  padding: 1rem;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.stat__graphic svg {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 180px;
}
.stat__label {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}
.stat__rule {
  width: 40px;
  height: 1.5px;
  background: var(--royal-gold);
  opacity: 0.45;
}
.stat__caption {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.55;
}

/* ─── PILLARS ─────────────────────────────────────────────────── */
.pillars {
  padding-block: var(--section-v);
  background: var(--ivory);
  border-top: 1px solid var(--rule);
}
.pillars__head {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  max-width: 580px;
}
.pillars__h { margin-top: 0.4rem; }

.pillars__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--card-r);
  overflow: hidden;
}
.pillar {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--rule);
  background: var(--ivory-card);
  transition: background var(--t2);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--ivory-deep); }

.pillar__icon {
  width: 52px;
  height: 52px;
  background: var(--sage-pale);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.55rem;
}
.pillar__desc { font-size: 0.82rem; line-height: 1.72; }

/* ─── SERVICES ────────────────────────────────────────────────── */
.services {
  padding-block: var(--section-v);
  background: var(--ivory-deep);
  border-top: 1px solid var(--rule);
}

.services__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services__head { max-width: 480px; }
.services__h    { margin-block: 0.45rem 0.75rem; }
.services__sub  { font-size: 0.96rem; }
.services__illus {
  border-radius: var(--card-r);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ivory-card);
}
.services__illus img {
  width: 100%;
  display: block;
  max-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease);
}
.services__illus:hover img { transform: scale(1.03); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--card-r);
  overflow: hidden;
}
.svc {
  background: var(--ivory-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background var(--t1);
}
.svc:nth-child(3n)        { border-right: none; }
.svc:nth-last-child(-n+3) { border-bottom: none; }
.svc:hover { background: var(--ivory); }

.svc__icon {
  width: 46px;
  height: 46px;
  background: var(--sage-pale);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { margin-bottom: 0.5rem; }
.svc p  { font-size: 0.83rem; }

/* ─── WHO WE SERVE ────────────────────────────────────────────── */
.who {
  padding-block: var(--section-v);
  background: var(--ivory);
  border-top: 1px solid var(--rule);
}
.who__header { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.who__h      { margin-top: 0.4rem; }

.who__bento {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}

/* Large image card */
.who__main {
  background: var(--forest);
  border-radius: var(--card-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.who__figure {
  overflow: hidden;
  flex: 1;
}
.who__figure img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s var(--ease);
  mix-blend-mode: luminosity;
  opacity: 0.8;
}
.who__main:hover .who__figure img { transform: scale(1.03); }
.who__main-caption {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.who__quote {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.who__quote footer {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-style: normal;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

/* Persona cards */
.who__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
}
.who__card {
  background: var(--ivory-card);
  border: 1px solid var(--rule);
  border-radius: var(--card-r);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: background var(--t1), box-shadow var(--t1);
}
.who__card:hover {
  background: var(--ivory-deep);
  box-shadow: 0 2px 16px rgba(43,62,51,0.06);
}
.who__icon {
  width: 38px;
  height: 38px;
  background: var(--sage-pale);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who__icon svg { width: 20px; height: 20px; }
.who__card h3 { font-size: 0.92rem; margin: 0; }
.who__card p  { font-size: 0.8rem; }

/* ─── WHY ROYAL MAJESTY ───────────────────────────────────────── */
.why {
  padding-block: var(--section-v);
  background: var(--ivory-deep);
  border-top: 1px solid var(--rule);
}
.why__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.why__head { max-width: 480px; }
.why__h    { margin-top: 0.4rem; }
.why__intro {
  font-size: 0.96rem;
  margin-top: 0.85rem;
  line-height: 1.75;
}
.why__figure {
  border-radius: var(--card-r);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--ivory-card);
}
.why__figure img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}
.why__figure:hover img { transform: scale(1.03); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  border-radius: var(--card-r);
  overflow: hidden;
}
.why__item {
  background: var(--ivory-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background var(--t1);
}
.why__item:nth-child(3n)        { border-right: none; }
.why__item:nth-last-child(-n+3) { border-bottom: none; }
.why__item:hover { background: var(--ivory); }
.why__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal-gold);
}
.why__item p { font-size: 0.84rem; line-height: 1.78; }

/* ─── CTA BAND ────────────────────────────────────────────────── */
.cta-band {
  background: var(--forest);
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-band__text .section-label { margin-bottom: 1rem; }
.cta-band__h {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.cta-band__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cta-band__right { flex-shrink: 0; }
.cta-band__ring  { width: clamp(140px, 18vw, 220px); height: clamp(140px, 18vw, 220px); }
.cta-band__ring svg { width: 100%; height: 100%; }

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact {
  padding-block: var(--section-v);
  background: var(--ivory);
  border-top: 1px solid var(--rule);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact__h   { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-block: 0.5rem 0.75rem; }
.contact__sub { font-size: 0.96rem; margin-bottom: 2.25rem; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.cdet {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  transition: color var(--t1);
}
.cdet:hover { color: var(--sage-dark); }
.cdet__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--sage-pale);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  margin-top: 0;
}
.cdet__icon svg { width: 15px; height: 15px; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__f   { display: flex; flex-direction: column; gap: 0.38rem; }
.form__f--full { grid-column: 1/-1; }
.form__f label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__f input,
.form__f select,
.form__f textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: 9px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--forest);
  background: var(--white);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.form__f input::placeholder,
.form__f textarea::placeholder { color: #C5C1B9; }
.form__f input:focus,
.form__f select:focus,
.form__f textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(139,153,113,0.14);
}
.form__f textarea { resize: vertical; min-height: 115px; }
.form__note {
  font-size: 0.71rem;
  color: var(--muted-lt);
  text-align: center;
  margin-top: 0.2rem;
}
.form__ok {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
  padding: 3.5rem 1rem;
}
.form__ok[hidden] { display: none; }
.form__ok h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--forest);
}
.form__ok p { font-size: 0.9rem; }

/* ─── WATERMARK QUOTES ───────────────────────────────────────── */
.wm-quote {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--forest);
  opacity: 0.55;
  letter-spacing: 0.03em;
  padding: 1.75rem var(--px) 1rem;
  pointer-events: none;
  user-select: none;
}
.wm-quote--light {
  color: var(--white);
  opacity: 0.55;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--ivory-deep);
  border-top: 1px solid var(--rule);
  padding-block: 3.25rem 2.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
}
.footer__logo { font-size: 0.96rem; margin-bottom: 0.8rem; }
.footer__brand p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 28ch;
}
.footer__license {
  font-size: 0.7rem !important;
  color: var(--muted-lt) !important;
  margin-top: 0.5rem;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer__nav a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color var(--t1);
}
.footer__nav a:hover { color: var(--forest); }
.footer__right { text-align: right; }
.footer__copy  { font-size: 0.78rem; color: var(--muted-lt); margin-bottom: 0.4rem; }
.footer__phone {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-dark);
  transition: color var(--t1);
}
.footer__phone:hover { color: var(--forest); }

/* ─── RESPONSIVE — 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid           { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .hero__main           { grid-column: 1; grid-row: 1; }
  .hero__card--a        { grid-column: 1; grid-row: 2; }
  .hero__card--b        { grid-column: 1; grid-row: 3; }

  .pillars__strip       { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2)  { border-right: none; }
  .pillar:nth-child(1),
  .pillar:nth-child(2)  { border-bottom: 1px solid var(--rule); }

  .services__top        { grid-template-columns: 1fr; }
  .services__illus      { max-width: 540px; }
  .services__grid       { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(3n)        { border-right: 1px solid var(--rule); }
  .svc:nth-child(2n)        { border-right: none; }
  .svc:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .svc:nth-last-child(-n+2) { border-bottom: none; }

  .who__bento           { grid-template-columns: 1fr; }

  .why__top             { grid-template-columns: 1fr; }
  .why__grid            { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(3n)        { border-right: 1px solid var(--rule); }
  .why__item:nth-child(2n)        { border-right: none; }
  .why__item:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .why__item:nth-last-child(-n+2) { border-bottom: none; }

  .cta-band__inner      { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band__right      { display: none; }

  .contact__grid        { grid-template-columns: 1fr; gap: 3rem; }

  .footer__inner        { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer__brand p      { max-width: none; margin-inline: auto; }
  .footer__right        { text-align: center; }
  .footer__license      { text-align: center !important; }
  .footer__nav          { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ─── RESPONSIVE — 680px ──────────────────────────────────────── */
@media (max-width: 680px) {
  .nav__links:not(.open) { display: none; }
  .nav__burger           { display: flex; }

  .hero__card--a        { grid-column: 1; grid-row: 2; }
  .hero__card--b        { grid-column: 1; grid-row: 3; }

  .pillars__strip        { grid-template-columns: 1fr; }
  .pillar                { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .pillar:last-child     { border-bottom: none; }

  .services__grid        { grid-template-columns: 1fr; }
  .svc                   { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .svc:last-child        { border-bottom: none !important; }

  .who__cards            { grid-template-columns: 1fr; }

  .why__grid             { grid-template-columns: 1fr; }
  .why__item             { border-right: none !important; border-bottom: 1px solid var(--rule) !important; }
  .why__item:last-child  { border-bottom: none !important; }

  .form__row             { grid-template-columns: 1fr; }

  .hero__actions         { flex-direction: column; }
  .cta-band__actions     { flex-direction: column; align-items: flex-start; }
}

/* ─── FOCUS & A11Y ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
