/* SDproject, Sofia infographic hero (vector) + normal one-pager */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:root {
  --paper:    #faf6ed;
  --paper-2:  #f3eee2;
  --paper-3:  #ece4d2;
  --card:     #ffffff;
  --ink:      #1f2421;          /* deep forest-black like reference */
  --ink-2:    #3a443c;
  --ink-3:    #5a655c;
  --muted:    #7a857d;
  --line:     rgba(31,36,33,.10);
  --line-2:   rgba(31,36,33,.18);
  --line-3:   rgba(31,36,33,.28);
  --accent:   #2f5b4a;          /* dark forest green like reference */
  --accent-2: #1f3f33;
  --accent-soft: #d6dfd5;
  --warm:     #b95a3e;
  --leaf:     #6f8576;
  --copper:   #7a9181;          /* oxidized copper for cathedral domes */
  --copper-d: #5d7565;
  --gold:     #c9a44a;
  --tan:      #d6c8a8;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --t: cubic-bezier(.2,.7,.2,1);
  --serif: "Fraunces", "Cormorant Garamond", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad); position: relative;
}

/* ============== NAV ============== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px var(--pad);
  background: rgba(250,246,237,.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--t), background .35s, border-color .3s;
}
.nav.shrunk {
  padding: 12px var(--pad);
  background: rgba(250,246,237,.94);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--serif);
  font-size: 1.18rem; font-weight: 500;
  letter-spacing: -.01em; color: var(--ink);
  text-decoration: none;
}
.brand .brand-text {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -.005em;
  color: var(--ink);
}
.brand .brand-text em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.brand .brand-name,
.brand .brand-tld { display: inline-block; }

/* Typewriter caret after the brand text */
.brand .brand-text {
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.brand .brand-text::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: -0.12em;
  animation: brand-caret 1s steps(2) infinite;
}
.brand .brand-text.typing::after { animation: none; opacity: 1; }
@keyframes brand-caret { 50% { opacity: 0; } }
@media (max-width: 540px) {
  .brand .brand-text { font-size: 1rem; }
}

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); position: relative;
  transition: color .2s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--t);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.cta {
  color: var(--paper); background: var(--accent);
  padding: 11px 22px; border-radius: 999px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s var(--t), background .25s;
}
.nav-menu a.cta::after { display: none; }
.nav-menu a.cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.8px; background: var(--ink); margin: 5px auto; transition: transform .25s var(--t), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250,246,237,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: transform .3s var(--t), opacity .25s, visibility .25s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-menu a { padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
  .nav-menu a::after { display: none; }
  .nav-menu a.cta { margin: 12px var(--pad) 0; text-align: center; justify-content: center; }
}

/* ============== TYPOGRAPHY ============== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  margin: 0 0 .35em;
  line-height: 1.05;
  letter-spacing: -.022em;
  font-weight: 400;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 600; line-height: 1.35; }
h4 { font-family: var(--sans); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
p { margin: 0 0 1em; color: var(--ink-2); }
p.lede { font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  margin: 0 0 22px;
  line-height: 1;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow.center { /* center applies via parent text-align */ }
.center { text-align: center; }
.section-lede { max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: .96rem;
  font-family: var(--sans);
  transition: transform .25s var(--t), background .25s, color .25s, box-shadow .3s;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(31,63,51,.28); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform .3s var(--t); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: gap .25s var(--t), border-color .2s;
}
.link-arrow:hover { gap: 12px; border-color: currentColor; }

/* ============================================================ */
/*                  HERO with animated process tape              */
/* ============================================================ */
.hero {
  position: relative;
  padding: clamp(110px, 14vh, 150px) var(--pad) clamp(48px, 7vh, 80px);
  overflow: hidden;
}
.hero::before {
  /* faint blueprint grid backdrop */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to right, rgba(31,36,33,.04) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(to bottom, rgba(31,36,33,.04) 1px, transparent 1px) 0 0/56px 56px,
    radial-gradient(900px 500px at 50% -10%, rgba(214,223,213,.5), transparent 60%);
  pointer-events: none;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 60%, transparent 100%);
}
.hero-stack {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 6vh, 64px);
  text-align: center;
}
.hero-text { max-width: 760px; margin: 0 auto; }
.hero-text .eyebrow { margin-bottom: 20px; }
.hero-text h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -.025em;
}
.hero-text h1 em {
  font-style: italic; color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-text h1 em::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: .82em;
  background: var(--accent);
  margin-left: 5px;
  vertical-align: -0.06em;
  border-radius: 1.5px;
  animation: brand-caret 1s steps(2) infinite;
}
.hero-text h1 em.typing::after { animation: none; opacity: 1; }
.hero-text .lede {
  max-width: 580px; margin: 0 auto 32px;
  font-size: 1.15rem; line-height: 1.5;
  color: var(--ink-2);
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}

/* Process tape */
.process-tape {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 18px 24px 26px;
  box-shadow: 0 20px 50px -28px rgba(31,36,33,.18);
}
.tape-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tape-label {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.tape-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .35; }
}
.tape-counter {
  font-family: var(--serif); font-style: italic;
  font-size: .92rem; color: var(--muted);
}
.tape-counter strong { color: var(--accent); font-weight: 500; font-style: italic; }

.tape-rail {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
}
.stage {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  opacity: .35;
  transition: opacity .5s var(--t), color .4s;
}
.stage.active { opacity: 1; }
.stage.done { opacity: 1; }
.stage-num {
  font-family: var(--serif); font-style: italic;
  font-size: .82rem; color: var(--muted);
  transition: color .4s;
}
.stage.active .stage-num,
.stage.done .stage-num { color: var(--accent); }

.stage-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.6px solid var(--line-3);
  background: var(--paper);
  display: grid; place-items: center;
  color: var(--ink-2);
  position: relative;
  transition: background .4s, border-color .4s, color .4s, transform .35s var(--t);
}
.stage-icon svg { width: 26px; height: 26px; }
.stage.active .stage-icon {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.06);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.stage.done .stage-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.stage.done .stage-icon svg { opacity: 0; }
.stage.done .stage-check { opacity: 1; transform: scale(1); }

.stage-check {
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  display: grid; place-items: center;
  color: var(--paper);
  opacity: 0; transform: scale(.6);
  transition: opacity .35s var(--t), transform .35s var(--t);
  pointer-events: none;
}
.stage-check svg { width: 22px; height: 22px; }

.stage-name {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -.005em;
}

.connector {
  position: relative;
  align-self: center;
  margin-top: 38px;            /* align with center of icon */
  width: 100%; min-width: 30px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--line-3) 0 5px, transparent 5px 9px);
  border-radius: 2px;
  overflow: hidden;
}
.connector span {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width .9s cubic-bezier(.6,.05,.3,1);
}
.connector.full span { width: 100%; }

@media (max-width: 760px) {
  .tape-rail {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .connector {
    margin: 4px auto;
    width: 2px; height: 28px; min-width: 0;
    background: repeating-linear-gradient(to bottom, var(--line-3) 0 5px, transparent 5px 9px);
  }
  .connector span { width: 100%; height: 0; }
  .connector.full span { width: 100%; height: 100%; transition: height .9s; }
  .stage { flex-direction: row; gap: 14px; text-align: left; padding: 8px; }
  .stage-icon { flex-shrink: 0; }
}

/* trust stats */
.hero-trust {
  position: relative; z-index: 1;
  list-style: none; padding: 0;
  margin: clamp(36px, 5vh, 56px) auto 0; max-width: var(--max);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 48px;
  color: var(--muted); font-size: .9rem;
}
.hero-trust li { display: flex; align-items: baseline; gap: 6px; }
.hero-trust strong {
  font-family: var(--serif); color: var(--ink);
  font-size: 1.5rem; font-weight: 500; line-height: 1;
}

/* ============== MARQUEE ============== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden; padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marq 38s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink); white-space: nowrap; font-weight: 400;
}
.marquee-track > span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============== SECTIONS ============== */
.section { padding: clamp(48px, 7vh, 88px) 0; position: relative; z-index: 1; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* Display variant, bigger, more dramatic, decorative line */
.section-head.display {
  max-width: 900px;
  padding: 14px 0 28px;
  margin-bottom: 72px;
  position: relative;
}
.section-head.display .eyebrow {
  font-size: .82rem;
  letter-spacing: .22em;
  margin-bottom: 28px;
}
.section-head.display .eyebrow::before { width: 36px; height: 1.5px; }
.section-head.display h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.025em;
  font-weight: 400;
}
.section-head.display h2 span {
  color: var(--ink);
}
.section-head.display h2 em {
  display: inline-block;
  margin-top: 4px;
  font-style: italic;
  color: var(--accent);
}
.section-head.display::after {
  content: "";
  display: block;
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 28px auto 0;
}

/* Display heading inside dark contact card */
.contact h2.display-h {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.contact h2.display-h span { color: var(--paper); display: block; }
.contact h2.display-h em { color: var(--gold); font-style: italic; }
.contact h2.display-h::after {
  content: ""; display: block;
  width: 60px; height: 2px; background: var(--gold);
  margin-top: 22px;
}

.about-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.activities {
  background: var(--accent); color: var(--paper);
  border-radius: var(--radius);
  padding: 24px 26px;
  position: relative; overflow: hidden;
  max-width: 360px;
}
@media (max-width: 880px) { .activities { max-width: none; } }
.activities::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(201,164,74,.18), transparent 60%);
  pointer-events: none;
}
.activities .eyebrow {
  background: rgba(255,255,255,.12);
  color: #ffffff;
  position: relative;
  margin-bottom: 14px;
}
.activities .eyebrow::before { background: var(--gold); }
.activities h3 { color: var(--paper); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 14px; position: relative; }
.activities ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0; position: relative;
}
.activities ul li {
  padding: 7px 0 7px 20px;
  position: relative;
  color: rgba(250,246,237,.92);
  font-size: .9rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(250,246,237,.1);
}
.activities ul li:last-child { border-bottom: 0; }
.activities ul li::before {
  content: "•";
  position: absolute; left: 0; top: 4px;
  color: var(--gold); font-size: 1.2rem; line-height: 1;
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stats .stat {
  background: var(--card);
  padding: 36px 28px; text-align: center;
  transition: background .3s;
}
.stats .stat:hover { background: var(--paper-2); }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 3rem; font-weight: 400; line-height: 1;
  margin-bottom: 6px; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stats span { color: var(--muted); font-size: .92rem; }

/* services pillars (3 featured cards) */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar-card {
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--t), box-shadow .4s;
}
.pillar-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 250px at 100% 0%, rgba(201,164,74,.22), transparent 60%);
  pointer-events: none;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -22px rgba(31,63,51,.4); }
.pillar-card .num {
  font-family: var(--serif); font-style: italic;
  color: var(--gold); font-size: .95rem; display: block; margin-bottom: 14px;
  position: relative;
}
.pillar-card h3 {
  color: var(--paper);
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
}
.pillar-card p, .pillar-card span {
  color: rgba(250,246,237,.85);
  font-size: .94rem;
  line-height: 1.55;
  margin: 0; display: block;
}
.pillar-card span + span { margin-top: 6px; }
.pillar-card p { margin: 0; }

/* Services subhead between pillars and cards */
.services-divider {
  position: relative;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  color: var(--muted); font-size: .92rem;
  margin: 0 auto 28px;
  display: flex; align-items: center; gap: 18px; max-width: 700px;
}
.services-divider::before, .services-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-2);
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.services-grid.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .services-grid,
  .services-grid.services-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid,
  .services-grid.services-grid-2 { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--t), box-shadow .4s, border-color .3s;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--t);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 24px 40px -22px rgba(31,36,33,.22); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border-radius: 14px;
  margin-bottom: 18px;
  transition: transform .35s var(--t), background .3s;
}
.service-card .card-icon img {
  width: 36px; height: 36px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(27%) sepia(13%) saturate(1485%) hue-rotate(108deg) brightness(94%) contrast(89%);
}
.service-card:hover .card-icon { background: var(--accent); transform: rotate(-4deg) scale(1.05); }
.service-card:hover .card-icon img { filter: brightness(0) invert(1); }
.service-card .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: .9rem; display: block; margin-bottom: 12px; }
.service-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.55; }

/* About column polish */
.about-grid .reveal { max-width: 60ch; }
.about-grid .lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  text-align: justify;
  text-wrap: pretty;
  hyphens: none;
}
.about-grid p {
  text-align: justify;
  text-wrap: pretty;
  hyphens: none;
  text-justify: inter-word;
}
.about-grid p + p { margin-top: .9em; }
.about-grid .first::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  float: left;
  line-height: .85;
  margin: 6px 10px 0 0;
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}

/* process */
.process { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-rail {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative; margin-top: 56px;
}
.process-rail::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 22px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-3) 0 6px, transparent 6px 12px);
}
.process-step { position: relative; padding: 0 14px; text-align: center; }
.process-step .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1.4px solid var(--line-3);
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic;
  position: relative; z-index: 1;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--t);
}
.process-step:hover .dot { background: var(--accent); color: var(--paper); border-color: var(--accent); transform: scale(1.08); }
.process-step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0; }
@media (max-width: 880px) {
  .process-rail { grid-template-columns: 1fr; gap: 12px; }
  .process-rail::before { display: none; }
  .process-step {
    text-align: left; padding: 14px 18px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center;
  }
  .process-step .dot { margin: 0; }
  .process-step .text { grid-column: 2; }
}

/* faq */
.faq-list { display: grid; gap: 0; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  padding: 26px 8px;
  font-family: var(--serif);
  font-size: 1.18rem; font-weight: 500;
  color: var(--ink); position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .25s;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) center/1.5px 100% no-repeat;
  transition: transform .35s var(--t); flex-shrink: 0;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] { background: var(--card); }
.faq-list details p { margin: 0; padding: 0 8px 26px; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 720px; }

/* contact */
.contact-section { padding: 56px var(--pad); }
.contact {
  background: var(--ink); color: var(--paper);
  border-radius: clamp(28px, 4vw, 48px);
  margin: 0 auto; max-width: var(--max);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(47,91,74,.4), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(201,164,74,.12), transparent 60%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { color: var(--paper); }
.contact p { color: rgba(250,246,237,.78); }
.contact .eyebrow {
  background: rgba(201,164,74,.18);
  color: var(--gold);
}
.contact .eyebrow::before { background: var(--gold); }
.contact h2 em { color: var(--gold); }
.contact .btn-primary { background: var(--gold); color: var(--ink); }
.contact .btn-primary:hover { background: #d8b25a; color: var(--ink); }
.contact .btn-ghost { color: var(--paper); border-color: rgba(250,246,237,.25); }
.contact .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(250,246,237,.1);
  border-radius: 14px; padding: 22px 24px;
  transition: background .3s, transform .3s var(--t);
}
.contact-card:hover { background: rgba(255,255,255,.07); transform: translateX(4px); }
.contact-card h3 { color: var(--paper); margin-bottom: 4px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.contact-card p { margin: 2px 0; color: rgba(250,246,237,.6); font-size: .92rem; }
.contact-card a { color: rgba(250,246,237,.85); transition: color .2s; }
.contact-card a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* footer */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer p { color: var(--muted); font-size: .92rem; max-width: 360px; }
.footer-tag {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.footer-tag strong {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.footer-bot a {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: color .2s;
}
.footer-bot a:hover { color: var(--accent-2); }
.footer h4 { margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); font-size: .92rem; transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bot {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .84rem; flex-wrap: wrap;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--t), transform .9s var(--t); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .tram-group, .tram-wheel, .car-1, .car-2,
  .tree, .tree-2, .tree-3, .cloud, .cloud-2 { animation: none; }
}

::selection { background: var(--accent); color: var(--paper); }
