/* =========================================================
   Dormi — Site Styles
   Brand tokens reverse-engineered from the live site:
     navy primary, tan accent, serif display, sans body.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Colours */
  --navy-900: #1f3548;          /* deep navy used in dark sections */
  --navy-800: #25425a;
  --navy-700: #2c4a63;
  --ink:      #233544;          /* body / headlines on light bg */
  --ink-muted:#4a5b6b;
  --ink-soft: #6f7c89;
  --tan:      #c9a37a;          /* primary accent */
  --tan-soft: #d9b894;
  --tan-deep: #b08a5f;
  --cream:    #f5f1ea;          /* warm cream section bg */
  --paper:    #faf8f4;          /* page background */
  --line:     #e3ddd2;          /* subtle dividers */
  --line-strong: #d3cabb;
  --white:    #ffffff;
  --success:  #6b8e6b;

  /* Typography */
  --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body:    'Merriweather', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-w: 1180px;
  --gutter: clamp(24px, 5.5vw, 64px);
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-deep);
  font-weight: 500;
  margin: 0 0 1.2rem;
  display: inline-block;
}

p { margin: 0 0 1em; color: var(--ink-muted); }
p.lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 60ch;
}

/* Accent word in serif headlines */
.accent { color: var(--tan); font-style: italic; font-weight: 500; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--tan);
  color: var(--white);
  border-color: var(--tan);
}
.btn-primary:hover { background: var(--tan-deep); border-color: var(--tan-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: var(--tan); border-color: var(--tan); }
.btn .arrow { transition: transform 0.25s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(31, 53, 72, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.on-light {
  background: rgba(250, 248, 244, 0.92);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.site-header.on-light .brand { color: var(--ink); }
.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
}
.brand-mark .ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}
.brand-mark .ring:nth-child(1){ top: 0; left: 6px; color: rgba(255,255,255,0.85); }
.brand-mark .ring:nth-child(2){ bottom: 0; left: 0; color: var(--tan-soft); }
.brand-mark .ring:nth-child(3){ bottom: 0; right: 0; color: var(--tan); }
.site-header.on-light .brand-mark .ring:nth-child(1){ color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 400;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}
.site-header.on-light .nav-links a { color: var(--ink-muted); }
.nav-links a:hover { color: var(--white); }
.site-header.on-light .nav-links a:hover { color: var(--ink); }
.nav-links a.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--tan);
}
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 14px 26px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  color: var(--white);
}
.site-header.on-light .nav-toggle { color: var(--ink); }
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  margin: 4px auto;
  transition: transform 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-header.on-light .nav-links.open { background: var(--paper); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,53,72,0.82) 0%, rgba(31,53,72,0.65) 50%, rgba(31,53,72,0.92) 100%),
              url('https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=1800&q=80') center/cover;
  z-index: -1;
}
.hero-bg.alt {
  background: linear-gradient(180deg, rgba(31,53,72,0.85) 0%, rgba(31,53,72,0.7) 50%, rgba(31,53,72,0.95) 100%),
              url('https://images.unsplash.com/photo-1631049552057-403cdb8f0658?w=1800&q=80') center/cover;
}
.hero-bg.operators {
  background: linear-gradient(180deg, rgba(31,53,72,0.85) 0%, rgba(31,53,72,0.7) 50%, rgba(31,53,72,0.95) 100%),
              url('https://images.unsplash.com/photo-1631049421450-348ccd7f8949?w=1800&q=80') center/cover;
}
.hero-bg.proqure {
  background: linear-gradient(180deg, rgba(31,53,72,0.88) 0%, rgba(31,53,72,0.78) 50%, rgba(31,53,72,0.95) 100%),
              url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?w=1800&q=80') center/cover;
}
.hero-bg.about {
  background: linear-gradient(180deg, rgba(31,53,72,0.88) 0%, rgba(31,53,72,0.75) 50%, rgba(31,53,72,0.95) 100%),
              url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?w=1800&q=80') center/cover;
}
.hero-bg.values {
  background: linear-gradient(180deg, rgba(31,53,72,0.88) 0%, rgba(31,53,72,0.7) 50%, rgba(31,53,72,0.95) 100%),
              url('https://images.unsplash.com/photo-1590490360182-c33d57733427?w=1800&q=80') center/cover;
}
.hero-bg.contact {
  background: linear-gradient(180deg, rgba(31,53,72,0.9) 0%, rgba(31,53,72,0.85) 100%),
              url('https://images.unsplash.com/photo-1578683010236-d716f9a3f461?w=1800&q=80') center/cover;
}

.hero-inner {
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 .accent { color: var(--tan-soft); }
.hero p.lead { color: rgba(255,255,255,0.82); max-width: 56ch; margin-bottom: 40px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.hero-tag .dot { width: 6px; height: 6px; background: var(--tan); border-radius: 50%; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Compact hero (interior pages) */
.hero.compact { min-height: 62vh; }
.hero.compact .hero-inner { padding-top: 100px; padding-bottom: 60px; }

/* Hero-fold split (homepage) */
.hero-fold {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-quick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: rgba(31,53,72,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.hero-quick h4 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-soft);
  font-weight: 500;
  margin: 0 0 4px;
}
.hero-quick a.quick-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  transition: padding 0.25s var(--ease);
}
.hero-quick a.quick-link:last-child { border-bottom: none; }
.hero-quick a.quick-link:hover { padding-left: 10px; }
.hero-quick a.quick-link strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.hero-quick a.quick-link span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.hero-quick a.quick-link .arrow { color: var(--tan-soft); }

@media (max-width: 1000px) {
  .hero-fold { grid-template-columns: 1fr; gap: 36px; }
}

/* Tablet & phone hero tuning */
@media (max-width: 720px) {
  .hero { min-height: 78vh; border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }
  .hero.compact { min-height: 56vh; }
  .hero-inner { padding-top: 96px; padding-bottom: 56px; }
  .hero.compact .hero-inner { padding-top: 80px; padding-bottom: 48px; }
  .hero-quick { padding: 22px; }
  .hero-quick a.quick-link strong { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: 72px; padding-bottom: 48px; }
  .hero.compact .hero-inner { padding-top: 64px; padding-bottom: 40px; }
  .hero-tag { font-size: 0.7rem; padding: 6px 12px; margin-bottom: 24px; }
  .hero h1 { margin-bottom: 18px; }
  .hero p.lead { margin-bottom: 28px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- Section helpers ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.dark-section {
  background: var(--navy-900);
  color: var(--white);
}
.dark-section h2,
.dark-section h3,
.dark-section h4 { color: var(--white); }
.dark-section .eyebrow { color: var(--tan-soft); }
.dark-section p { color: rgba(255,255,255,0.72); }

.cream-section { background: var(--cream); }
.paper-section { background: var(--paper); }

/* ---------- Two-track block (homepage) ---------- */
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.track-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--tan);
  box-shadow: 0 24px 60px -30px rgba(31,53,72,0.25);
}
.track-card .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan-deep);
}
.track-card h3 { margin: 4px 0 6px; font-size: 2rem; }
.track-card .who {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.track-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 22px;
}
.track-card ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.track-card ul li:last-child { border-bottom: 1px solid var(--line); }
.track-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 14px; height: 1.4px;
  background: var(--tan);
}
.track-card .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 800px) {
  .tracks { grid-template-columns: 1fr; }
}

/* ---------- Comparison block ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.compare > div {
  padding: 36px 32px;
}
.compare .col-them {
  background: var(--paper);
  border-right: 1px solid var(--line);
}
.compare .col-us {
  background: var(--navy-900);
  color: var(--white);
}
.compare .col-us h3, .compare .col-us h4 { color: var(--white); }
.compare h3 {
  font-size: 1.4rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.compare .col-us h3 { border-bottom-color: rgba(255,255,255,0.12); }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare ul li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  align-items: flex-start;
}
.compare .col-us ul li { color: rgba(255,255,255,0.82); }
.compare ul li .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.compare .col-them .icon { color: #b89a8a; }
.compare .col-us .icon { color: var(--tan-soft); }

.compare-callout {
  margin-top: 28px;
  padding: 22px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--tan);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.4;
}
.compare-callout strong { color: var(--tan-deep); font-weight: 500; }

@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare .col-them { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- Three-phase / step cards ---------- */
.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.phase {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.phase:hover { transform: translateY(-4px); border-color: var(--tan); }
.phase .step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--tan);
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.85;
}
.phase h4 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.phase p { font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 880px) { .phases { grid-template-columns: 1fr; } }

/* Steps row (Proqure setup) */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.step {
  text-align: left;
  padding: 28px 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--tan-soft);
  margin-bottom: 12px;
  display: block;
}
.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  padding: 30px 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,163,122,0.4);
}
.feature .ico {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(201,163,122,0.18);
  color: var(--tan-soft);
  border-radius: 8px;
  margin-bottom: 16px;
}
.feature h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; font-weight: 500; }
.feature p { font-size: 0.9rem; line-height: 1.55; margin: 0; }

@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

/* ---------- Solution rows (Proqure / Operators) ---------- */
.solution-list {
  display: grid;
  gap: 0;
}
.solution-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.solution-list .solution-row:last-child { border-bottom: 1px solid var(--line); }
.solution-row .check {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--tan-deep);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.solution-row h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.solution-row p { margin: 0; font-size: 0.95rem; }

/* ---------- Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.sector {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 22px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-start;
}
.sector .badge {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--tan-deep);
  letter-spacing: 0.04em;
}
.sector h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.sector p { margin: 0; font-size: 0.9rem; }

@media (max-width: 760px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Stat / Big number ---------- */
.big-stat {
  text-align: center;
  padding: 30px 0;
}
.big-stat .num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400;
  color: var(--tan);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.big-stat p {
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 16px auto 0;
}

/* ---------- Why-Dormi numbered list ---------- */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 56px;
  margin-top: 40px;
}
.why-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
}
.why-item .digit {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--tan);
  line-height: 1;
}
.why-item h4 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 6px; }
.why-item p { font-size: 0.92rem; margin: 0; line-height: 1.55; }

@media (max-width: 800px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Founder card (about) ---------- */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.founder-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--cream), var(--line));
  border-radius: var(--radius);
  background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=900&q=80');
  background-size: cover;
  background-position: center;
}
.founder h3 { font-size: 1.85rem; margin-bottom: 4px; }
.founder .role { color: var(--tan-deep); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.04em; }

@media (max-width: 800px) { .founder { grid-template-columns: 1fr; padding: 32px; } }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
  margin-top: 24px;
  font-weight: 500;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}
.contact-info dd a:hover { color: var(--tan-deep); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tan);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-msg {
  display: none;
  padding: 14px 16px;
  background: #eef3ec;
  border: 1px solid #c9dcc7;
  border-radius: var(--radius-sm);
  color: #3e6b3a;
  font-size: 0.92rem;
}
.form-msg.show { display: block; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Closing CTA block ---------- */
.cta-final {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 88px);
  color: var(--white);
  text-align: center;
  margin: 0 auto;
  max-width: 980px;
}
.cta-final .eyebrow { color: var(--tan-soft); }
.cta-final h2 { color: var(--white); margin-bottom: 18px; }
.cta-final h2 .accent { color: var(--tan-soft); }
.cta-final p { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 32px; }
.cta-final .btn { margin-inline: 6px; }

/* ---------- Method block (homepage Dormi Method) ---------- */
.method {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.method-checklist { display: grid; gap: 14px; }
.method-checklist .check-row {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.method-checklist .check-row:hover { transform: translateX(4px); border-color: var(--tan); }
.method-checklist .check-row .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tan-deep);
  font-size: 0.7rem;
}
.method-checklist .check-row span { font-size: 0.95rem; color: var(--ink); }

@media (max-width: 880px) { .method { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Values cards ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.value-card:hover { border-color: var(--tan); transform: translateY(-2px); }
.value-card .v-ico {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--tan-deep);
  border-radius: 50%;
  flex-shrink: 0;
}
.value-card h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin-bottom: 6px; }
.value-card p { font-size: 0.9rem; margin: 0; line-height: 1.55; }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Proof / credentials strip ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proof > div {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.proof > div:last-child { border-right: none; }
.proof .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--tan-deep);
  line-height: 1.1;
  margin-bottom: 6px;
  display: block;
}
.proof h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; margin-bottom: 8px; }
.proof p { margin: 0; font-size: 0.9rem; }

@media (max-width: 760px) {
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-right: none; border-bottom: 1px solid var(--line); }
  .proof > div:last-child { border-bottom: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; font-size: 0.92rem; }
.site-footer ul li a:hover { color: var(--tan-soft); }
.site-footer .tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  max-width: 30ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ---------- Reveal-on-scroll ----------
   Only hidden once JS has confirmed it's running — avoids permanent
   invisibility if JS is disabled or hasn't loaded yet. */
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-ready .reveal.in { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 60px 0;
  max-width: var(--max-w);
  margin-inline: auto;
}
