/* ═══════════════════════════════════════════════
   ARC Development LLC — Brand System & Styles
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Jost:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

/* ── Custom Properties ── */
:root {
  /* Foundations */
  --ink: #1C1917;
  --obsidian: #2C2825;
  --fog: #EAE7E1;
  --cream: #F5F1EA;
  --ivory: #FDFAF5;

  /* Warmth */
  --sand: #C9B99A;
  --terracotta: #A0614A;
  --antique-gold: #B8913A;

  /* Jewel */
  --persian-blue: #1B4FD8;
  --persian-mid: #2D64E8;
  --persian-light: #5B84EE;
  --persian-mist: #D6E0FA;
  --deep-plum: #5C3A5A;
  --deep-mallow: #B48AB2;
  --plum-mist: #E8D6E7;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container: min(90rem, 90%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Skip Link (a11y) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--persian-blue);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Focus Visible (a11y) ── */
:focus-visible {
  outline: 2px solid var(--persian-blue);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

.label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════
   NAVIGATION
   ══════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}

.nav.scrolled {
  background: rgba(28, 25, 23, 0.88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  padding: 0.75rem 0;
}

.nav__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Wordmark in nav */
.nav__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav__brand svg {
  width: 2.6rem;
  height: auto;
  margin-bottom: 0.1rem;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  color: var(--ivory);
  line-height: 1;
}

.nav__brand-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.2rem;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(253, 250, 245, 0.78);
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav__link:hover,
.nav__link:focus-visible { color: var(--ivory); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(253, 250, 245, 0.25);
  border-radius: 0;
  background: transparent;
  transition: all 0.35s;
}

.nav__cta:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--ivory);
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════
   FOOTER
   ══════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(253, 250, 245, 0.72);
  padding: 4rem 0 2.5rem;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 28ch;
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer__links a:hover { color: var(--ivory); }

.footer__contact p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer__contact a:hover { color: var(--ivory); }

.footer__bottom {
  width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(253, 250, 245, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer__dots {
  display: flex;
  gap: 0.6rem;
}

.footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.footer__dot--blue { background: var(--persian-blue); }
.footer__dot--terra { background: var(--terracotta); }
.footer__dot--mallow { background: var(--deep-mallow); }

/* ══════════════════════════
   BUTTONS / SHARED COMPONENTS
   ══════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 2.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--terracotta);
  border: none;
  border-radius: 0;
  transition: background 0.35s, transform 0.3s;
}

.btn-primary:hover {
  background: #8B5340;
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 2.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  transition: all 0.35s;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

/* Section utility */
.section {
  padding: var(--section-pad) 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ══════════════════════════
   HOME — HERO
   ══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(160, 97, 74, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(27, 79, 216, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__wordmark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.hero__arc {
  width: clamp(5rem, 12vw, 9rem);
  height: auto;
  margin-bottom: 0.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.4em;
  line-height: 1;
  padding-left: 0.4em; /* compensate for letter-spacing */
}

.hero__rule {
  width: clamp(6rem, 15vw, 12rem);
  height: 1px;
  background: var(--persian-blue);
  margin: 0.8rem 0 0.6rem;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero__headline {
  text-align: center;
}

.hero__headline-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: rgba(253, 250, 245, 0.75);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════
   HOME — MARQUEE
   ══════════════════════════ */
.marquee {
  background: var(--obsidian);
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(253, 250, 245, 0.06);
  border-bottom: 1px solid rgba(253, 250, 245, 0.06);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee__item {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.marquee__item::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
}

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ══════════════════════════
   HOME — PHILOSOPHY
   ══════════════════════════ */
.philosophy {
  background: var(--ivory);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.philosophy__label {
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.philosophy__heading {
  margin-bottom: 2rem;
}

.philosophy__text {
  color: var(--obsidian);
  font-size: 1.02rem;
  line-height: 1.85;
}

.philosophy__text p + p {
  margin-top: 1.25rem;
}

.philosophy__accent {
  width: 3rem;
  height: 2px;
  background: var(--persian-blue);
  margin-bottom: 2rem;
}

/* ══════════════════════════
   HOME — SERVICES
   ══════════════════════════ */
.services {
  background: var(--cream);
}

.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__label {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--ivory);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(28, 25, 23, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--persian-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--persian-blue);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-card__text {
  color: var(--obsidian);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ══════════════════════════
   HOME — BELIEF QUOTE
   ══════════════════════════ */
.belief {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}

.belief__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  line-height: 1.4;
  max-width: 42ch;
  margin: 0 auto;
  font-style: italic;
  color: rgba(253, 250, 245, 0.85);
}

.belief__cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(253, 250, 245, 0.5);
  margin-top: 1.5rem;
}

.belief__rule {
  width: 3rem;
  height: 2px;
  background: var(--terracotta);
  margin: 2rem auto 0;
}

/* ══════════════════════════
   HOME — CTA
   ══════════════════════════ */
.cta-section {
  background: var(--cream);
  text-align: center;
}

.cta-section__heading {
  margin-bottom: 1rem;
}

.cta-section__text {
  color: var(--obsidian);
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

/* ══════════════════════════
   ABOUT — HERO
   ══════════════════════════ */
.page-hero {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: calc(var(--section-pad) + 5rem) 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(160, 97, 74, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__label {
  color: var(--terracotta);
  margin-bottom: 1.5rem;
  position: relative;
}

.page-hero__title {
  position: relative;
  font-style: italic;
}

/* ══════════════════════════
   ABOUT — FOUNDERS INTRO
   ══════════════════════════ */
.founders-intro {
  background: var(--ivory);
}

.founders-intro__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.founders-intro__heading {
  margin-bottom: 2rem;
}

.founders-intro__text {
  font-size: 1.05rem;
  color: var(--obsidian);
  line-height: 1.85;
}

.founders-intro__text p + p {
  margin-top: 1.25rem;
}

/* ══════════════════════════
   ABOUT — BELIEF CARDS
   ══════════════════════════ */
.beliefs {
  background: var(--cream);
}

.beliefs__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.beliefs__label {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.beliefs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.belief-card {
  background: var(--ivory);
  padding: 2.2rem 1.8rem;
  border-left: 3px solid var(--persian-blue);
  transition: transform 0.3s;
}

.belief-card:hover {
  transform: translateY(-3px);
}

.belief-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--persian-mist);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.belief-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.belief-card__text {
  font-size: 0.9rem;
  color: var(--obsidian);
  line-height: 1.7;
}

/* ══════════════════════════
   ABOUT — FOUNDER BIOS
   ══════════════════════════ */
.bios {
  background: var(--ivory);
}

.bios__header {
  text-align: center;
  margin-bottom: 4rem;
}

.bios__label {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.bio {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
}

.bio:nth-child(even) {
  direction: rtl;
}

.bio:nth-child(even) > * {
  direction: ltr;
}

.bio:last-child {
  margin-bottom: 0;
}

.bio__portrait {
  aspect-ratio: 4/5;
  background: var(--fog);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 25, 23, 0.06);
}

.bio__portrait-placeholder {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}

.bio__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.bio__role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.bio__text {
  font-size: 0.95rem;
  color: var(--obsidian);
  line-height: 1.8;
}

.bio__text p + p {
  margin-top: 1rem;
}

/* ══════════════════════════
   ABOUT — HERITAGE
   ══════════════════════════ */
.heritage {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
}

.heritage__label {
  color: var(--sand);
  margin-bottom: 1.5rem;
}

.heritage__heading {
  margin-bottom: 2rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.heritage__text {
  font-size: 1rem;
  color: rgba(253, 250, 245, 0.75);
  max-width: 52ch;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.heritage__colors {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.heritage__color {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.heritage__swatch {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.heritage__swatch--blue { background: var(--persian-blue); }
.heritage__swatch--terra { background: var(--terracotta); }
.heritage__swatch--mallow { background: var(--deep-mallow); }

.heritage__color-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(253, 250, 245, 0.72);
}

.heritage__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: rgba(253, 250, 245, 0.8);
  max-width: 40ch;
  margin: 3.5rem auto 0;
}

.heritage__cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(253, 250, 245, 0.5);
  margin-top: 1.25rem;
}

/* ══════════════════════════
   CONTACT — SPLIT SCREEN
   ══════════════════════════ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-left {
  background: var(--ink);
  color: var(--ivory);
  padding: calc(var(--section-pad) + 5rem) clamp(2rem, 5vw, 5rem) var(--section-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left__label {
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.contact-left__heading {
  margin-bottom: 1.5rem;
}

.contact-left__text {
  font-size: 1rem;
  color: rgba(253, 250, 245, 0.75);
  line-height: 1.85;
  max-width: 38ch;
  margin-bottom: 3rem;
}

.contact-left__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-left__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: rgba(253, 250, 245, 0.72);
}

.contact-left__detail svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--sand);
  flex-shrink: 0;
}

.contact-left__detail a:hover {
  color: var(--ivory);
}

.contact-right {
  background: var(--cream);
  padding: calc(var(--section-pad) + 5rem) clamp(2rem, 5vw, 5rem) var(--section-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-right__heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.contact-right__sub {
  font-size: 0.9rem;
  color: var(--obsidian);
  margin-bottom: 2.5rem;
}

/* ── Form ── */
.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--obsidian);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--persian-blue);
  box-shadow: 0 0 0 3px var(--persian-mist);
  outline: none;
}

.form__input:focus-visible,
.form__select:focus-visible,
.form__textarea:focus-visible {
  border-color: var(--persian-blue);
  box-shadow: 0 0 0 3px var(--persian-mist);
  outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--sand);
}

.form__textarea {
  resize: vertical;
  min-height: 7rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Branching form sections */
.form__branch {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              margin 0.4s ease;
  margin: 0;
}

.form__branch.active {
  max-height: 600px;
  opacity: 1;
  margin-bottom: 0.5rem;
}

.form__branch[hidden] {
  display: block;
}

.form__submit {
  margin-top: 0.5rem;
}

/* Success state */
.form__gate-notice {
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form__gate-notice p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--obsidian);
  margin: 0;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.form-success.show {
  display: block;
}

.form-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--persian-mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--persian-blue);
}

.form-success__heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.form-success__text {
  font-size: 0.92rem;
  color: var(--obsidian);
  line-height: 1.7;
}

/* ══════════════════════════
   RESPONSIVE
   ══════════════════════════ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(28, 25, 23, 0.96);
    backdrop-filter: blur(18px);
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
  }

  .philosophy__grid,
  .bio {
    grid-template-columns: 1fr;
  }

  .bio:nth-child(even) {
    direction: ltr;
  }

  .services__grid,
  .beliefs__grid {
    grid-template-columns: 1fr;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

@media (max-width: 640px) {
  .hero__title {
    letter-spacing: 0.25em;
    padding-left: 0.25em;
  }
}

/* ── Reduced Motion (WCAG 2.3.3) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}

/* Marquee pause on hover/focus for users who need time (WCAG 2.2.2) */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

/* ── High Contrast Mode ── */
@media (forced-colors: active) {
  .btn-primary,
  .nav__cta {
    border: 1px solid currentColor;
  }

  .hero__rule,
  .philosophy__accent,
  .belief__rule {
    background: currentColor;
  }
}
