/* ==========================================================================
   Harman Building & Carpentry — design system
   Deep navy from their own site board (#0c2949), warm stone paper,
   brass drawn from the crest. Serif display + Inter.
   ========================================================================== */

:root {
  --ink: #0c2949;
  --ink-soft: #143a63;
  --ink-deep: #071b32;
  --paper: #f5f2ea;
  --paper-dim: #ebe4d3;
  --paper-dimmer: #ddd0b3;
  --stone: #5b6577;
  --stone-light: #a7b1c6;
  --line: rgba(12, 41, 73, 0.14);
  --line-soft: rgba(12, 41, 73, 0.08);
  --line-invert: rgba(245, 242, 234, 0.18);
  --line-invert-soft: rgba(245, 242, 234, 0.09);
  --brass: #ad8228;
  --brass-light: #d8ae51;
  --brass-dim: #78591a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
  --gutter: clamp(24px, 5vw, 64px);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Herringbone parquet — the carpentry motif, our answer to Mayfair's fanlight */
  --pattern-herringbone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='rgba(216,174,81,0.5)' stroke-width='0.9'%3E%3Cpath d='M0 36 36 0 72 36 36 72Z'/%3E%3Cpath d='M0 0 36 36 72 0'/%3E%3Cpath d='M0 72 36 36 72 72'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-herringbone-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='rgba(12,41,73,0.55)' stroke-width='0.9'%3E%3Cpath d='M0 36 36 0 72 36 36 72Z'/%3E%3Cpath d='M0 0 36 36 72 0'/%3E%3Cpath d='M0 72 36 36 72 72'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 1040px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.05;
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow.on-dark { color: var(--brass-light); }
.eyebrow.center { justify-content: center; }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: var(--stone);
  max-width: 46em;
}
.lede.on-dark { color: var(--stone-light); }

.serif-quote {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: none;
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.btn span, .btn svg { position: relative; z-index: 1; transition: transform 0.5s var(--ease); }
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0%); }
.btn:hover svg { transform: translateX(4px); }

.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid::before { background: var(--brass); }
.btn.solid:hover { color: var(--ink); }

.btn.on-dark { border-color: var(--line-invert); color: var(--paper); }
.btn.on-dark::before { background: var(--paper); }
.btn.on-dark:hover { color: var(--ink); }

.btn.brass { border-color: var(--brass); color: var(--ink); }
.btn.brass::before { background: var(--brass); }
.btn.brass:hover { color: var(--paper); }

.btn.brass-solid {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
  font-weight: 700;
}
.btn.brass-solid::before { background: var(--paper); }
.btn.brass-solid:hover { color: var(--ink); }

.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn.sm { padding: 12px 22px; font-size: 11px; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-fade { opacity: 0; transition: opacity 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal-fade.in { opacity: 1; }

.reveal-scale { opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* word-by-word headline: fade + rise + blur, never a clipping mask */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(6px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.75s var(--ease);
  transition-delay: var(--wd, 0s);
}
.word.in { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade, .reveal-scale, .word {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Photo frame ---------- */

.photo-frame { position: relative; overflow: hidden; background: var(--ink-soft); }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.08);
  transition: filter 1.1s var(--ease), transform 1.4s var(--ease);
}
.photo-frame.is-in img,
.photo-frame:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1); }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-invert-soft);
  pointer-events: none;
}

/* ---------- Pattern spotlight ---------- */

.pattern-spotlight { position: relative; overflow: hidden; }
.pattern-spotlight-base,
.pattern-spotlight-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 72px 72px;
}
.pattern-spotlight.dark .pattern-spotlight-base,
.pattern-spotlight.dark .pattern-spotlight-glow { background-image: var(--pattern-herringbone); }
.pattern-spotlight.light .pattern-spotlight-base,
.pattern-spotlight.light .pattern-spotlight-glow { background-image: var(--pattern-herringbone-dark); }
.pattern-spotlight-base { opacity: 0.05; }
.pattern-spotlight-glow {
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), #000, transparent 72%);
  mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), #000, transparent 72%);
  transition: opacity 0.5s var(--ease);
}
.pattern-spotlight.spotlight-active .pattern-spotlight-glow { opacity: 1; }
.pattern-spotlight-content { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce), (hover: none) {
  .pattern-spotlight-glow { display: none; }
}

/* ---------- Divider ---------- */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 var(--gutter);
  height: 1px;
  position: relative;
}
.section-divider-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-dim) 50%, transparent);
}
.section-divider.on-dark .section-divider-line {
  background: linear-gradient(90deg, transparent, var(--brass-light) 50%, transparent);
}
.section-divider-mark { flex: none; color: var(--brass); background: var(--paper); }
.section-divider.on-dark .section-divider-mark { color: var(--brass-light); background: var(--ink); }

.rule { height: 1px; background: var(--line); border: none; }
.num { font-family: var(--font-display); font-weight: 700; -webkit-text-stroke: 1px var(--stone-light); color: transparent; }
::selection { background: var(--ink); color: var(--paper); }

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

/* ---------- Preloader ---------- */

.preloader { position: fixed; inset: 0; z-index: 300; }
.preloader.open { pointer-events: none; }
.preloader-panel {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 50%;
  overflow: hidden;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at center, rgba(216, 174, 81, 0.07), transparent 60%),
    var(--pattern-herringbone);
  background-size: auto, 72px 72px;
  transition: transform 1.15s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader-left { left: 0; }
.preloader-right { right: 0; }
.preloader.open .preloader-left { transform: translateX(-100%); }
.preloader.open .preloader-right { transform: translateX(100%); }
.preloader-inner {
  position: absolute; top: 0; width: 100vw; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner-left { left: 0; }
.preloader-inner-right { right: 0; }
.preloader-mark {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--paper);
  animation: preloaderFade 0.9s var(--ease) both;
}
@keyframes preloaderFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.preloader-crest { color: var(--brass-light); margin-bottom: 2px; }
.preloader-word {
  font-family: var(--font-display);
  font-weight: 600; font-size: 38px; letter-spacing: 0.16em;
  text-transform: uppercase; white-space: nowrap;
}
.preloader-rule { width: 0; height: 1px; background: var(--brass-light); animation: preloaderRule 1.3s var(--ease-soft) 0.3s both; }
@keyframes preloaderRule { from { width: 0; } to { width: 130px; } }
.preloader-sub {
  font-family: var(--font-display); font-style: italic; font-size: 16px;
  letter-spacing: 0.02em; color: var(--brass-light);
}
.preloader-loading {
  margin-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--stone-light);
}

@media (max-width: 720px) {
  .preloader-word { font-size: 24px; }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid,
.nav.scrolled,
.nav.menu-open {
  background: rgba(12, 41, 73, 0.94);
  backdrop-filter: blur(10px);
  border-color: var(--line-invert-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; transition: height 0.4s var(--ease);
}
.nav.scrolled .nav-inner { height: 76px; }
.nav .brand { color: var(--paper); }
.brand-inner { display: flex; align-items: center; gap: 13px; }
.brand-crest { flex: none; color: var(--brass-light); }
.brand-mark { font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: 0.06em; }
.brand-name {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1.5; color: var(--stone-light);
  border-left: 1px solid var(--line-invert); padding-left: 12px;
}
.nav-links { display: none; align-items: center; gap: 32px; }
.nav-item { position: relative; }
.nav-links a {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--stone-light); transition: color 0.3s var(--ease); padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass-light); transition: width 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink-soft);
  border: 1px solid var(--line-invert-soft);
  min-width: 250px; padding: 10px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 11px 22px; white-space: nowrap; font-size: 11.5px; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(245, 242, 234, 0.06); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--stone-light); }
.nav-phone:hover { color: var(--paper); }
.nav-cta {
  display: none; padding: 13px 24px; font-size: 11px;
  border-color: var(--brass); background: var(--brass); color: var(--ink); font-weight: 700;
}
.nav-cta::before { background: var(--paper); }
.nav-cta:hover { color: var(--ink); }

.burger {
  width: 40px; height: 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; background: none; border: none; cursor: pointer;
}
.burger span { width: 22px; height: 1px; background: var(--paper); transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 92px 0 0 0; background: var(--ink);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--gutter) 40px; overflow-y: auto; z-index: 99;
}
.mobile-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-links { display: flex; flex-direction: column; }
.mobile-group { border-bottom: 1px solid var(--line-invert-soft); }
.mobile-group > a {
  display: block; padding: 16px 0; font-family: var(--font-display);
  font-size: 28px; text-transform: uppercase; font-weight: 700; color: var(--paper);
}
.mobile-sub { display: flex; flex-direction: column; padding-bottom: 14px; gap: 2px; }
.mobile-sub a { padding: 7px 0 7px 4px; color: var(--stone-light); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.mobile-contact {
  margin-top: 22px; align-self: flex-start; padding: 15px 26px;
  border: 1px solid var(--brass); background: var(--brass); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.mobile-footer { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; font-size: 13px; color: var(--stone-light); }

@media (min-width: 1140px) {
  .nav-links { display: flex; }
  .nav-phone { display: block; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-panel { display: none; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--stone-light); padding: 96px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 60px; border-bottom: 1px solid var(--line-invert-soft);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-mark { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: 0.05em; color: var(--paper); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 30em; color: var(--stone-light); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--line-invert);
  display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: 0.06em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 6px; }
.footer-col a, .footer-col address, .footer-col span {
  font-size: 13.5px; font-style: normal; line-height: 1.6; color: var(--stone-light);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px; padding-top: 26px; font-size: 12px; color: var(--stone);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero ---------- */

.parallax-wrap { position: absolute; inset: 0; overflow: hidden; }
.parallax-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14); transition: transform 5s var(--ease-soft);
}
.parallax-img.settled { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .parallax-img { transition: none; transform: scale(1); } }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--ink);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,27,50,0.72) 0%, rgba(7,27,50,0) 22%),
    linear-gradient(180deg, rgba(12,41,73,0.40) 0%, rgba(12,41,73,0.36) 38%, rgba(12,41,73,0.97) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(56px, 7vw, 92px); padding-top: 132px; }
.hero-title { color: var(--paper); font-size: clamp(46px, 8vw, 112px); margin-top: 18px; }
.hero-title em { font-family: var(--font-display); font-style: italic; text-transform: none; color: var(--brass-light); }
.hero-lede-wrap { max-width: 660px; }
.hero-lede { margin-top: 24px; color: var(--stone-light); font-size: clamp(16px, 1.4vw, 19px); }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 52px);
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-invert);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: var(--font-display); font-size: 26px; color: var(--paper); font-weight: 600; }
.hero-meta span { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-light); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 1px; height: 56px; background: var(--line-invert); overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -56px; left: 0; width: 100%; height: 100%;
  background: var(--brass-light); animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(0); } 100% { transform: translateY(112px); } }

/* ---------- Intro ---------- */

.intro { padding: clamp(88px, 11vw, 152px) 0; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.intro-title { margin-top: 18px; font-size: clamp(32px, 4.4vw, 54px); }
.intro-body p { color: var(--stone); margin-bottom: 18px; font-size: 17px; line-height: 1.7; }
.intro-body .lede { color: var(--ink); }
.intro-link { margin-top: 12px; }

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

/* ---------- Accreditations ---------- */

.accreditations { padding: 52px 0 60px; background: var(--paper); border-top: 1px solid var(--line-soft); }
.accred-label {
  text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 28px;
}
.accred-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 2.5vw, 26px); }
.accred-badge {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--ink); padding: 11px 22px; border: 1px solid var(--line); white-space: nowrap;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.accred-badge:hover { border-color: var(--brass); background: var(--paper-dim); }

/* ---------- Services list ---------- */

.services {
  padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-dim);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.services-head { margin-bottom: 60px; max-width: 780px; }
.services-title { margin-top: 14px; font-size: clamp(34px, 5vw, 58px); }
.services-lede { margin-top: 22px; }
.services-list { border-top: 1px solid var(--line); }

.service-link {
  display: grid; grid-template-columns: 70px 1fr 150px 40px;
  align-items: center; gap: 32px; padding: 32px 0;
  border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease);
}
.service-link:hover { padding-left: 14px; }
.service-link:hover .service-arrow { transform: translateX(6px); }
.service-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; -webkit-text-stroke: 1px var(--stone-light); color: transparent; }
.service-name { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; margin-bottom: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.015em; }
.service-text p { color: var(--stone); font-size: 14.5px; max-width: 48ch; }
.service-photo { width: 150px; height: 100px; flex: none; }
.service-arrow { display: flex; justify-content: flex-end; color: var(--ink); transition: transform 0.4s var(--ease); }

@media (max-width: 900px) {
  .service-link {
    grid-template-columns: 44px 1fr;
    grid-template-areas: "num name" "photo photo";
    row-gap: 16px;
  }
  .service-num { grid-area: num; }
  .service-text { grid-area: name; }
  .service-photo { grid-area: photo; width: 100%; height: 190px; }
  .service-arrow { display: none; }
}

/* ---------- Signature scroll: strip back / build up ---------- */

.transform {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}
.transform-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.transform-track { height: 320vh; position: relative; }
.transform-stage {
  position: absolute; inset: 0;
}
.transform-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.transform-after {
  clip-path: inset(0 0 0 calc((1 - var(--p, 0)) * 100%));
}
.transform-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,27,50,0.9) 0%, rgba(7,27,50,0.5) 42%, rgba(7,27,50,0.62) 100%);
}
.transform-seam {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--p, 0) * 100%);
  width: 2px; background: var(--brass-light);
  box-shadow: 0 0 24px 3px rgba(216,174,81,0.5);
  opacity: calc(1 - max(0, (var(--p, 0) - 0.94)) * 16);
}
.transform-seam::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--brass-light); background: rgba(12,41,73,0.6);
}
.transform-content {
  position: relative; z-index: 3; width: 100%;
}
.transform-inner { max-width: 640px; }
.transform-title { font-size: clamp(34px, 5.4vw, 68px); margin: 16px 0 22px; color: var(--paper); }
.transform-copy { color: var(--stone-light); font-size: 16.5px; line-height: 1.7; }
.transform-labels {
  display: flex; align-items: center; gap: 18px; margin-top: 34px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.transform-labels b { color: var(--stone-light); font-weight: 700; transition: color 0.4s var(--ease); }
.transform-labels .lbl-before { color: var(--paper); }
.transform-bar { flex: 1; max-width: 260px; height: 2px; background: var(--line-invert); position: relative; }
.transform-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--brass-light); }
.transform-spec {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-invert);
  opacity: var(--p, 0); transition: opacity 0.2s linear;
}
.transform-spec div span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass-light); margin-bottom: 6px;
}
.transform-spec div strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--paper); }

@media (max-width: 760px) {
  .transform-track { height: 260vh; }
  .transform-spec { grid-template-columns: 1fr; gap: 14px; }
  .transform-scrim { background: linear-gradient(180deg, rgba(7,27,50,0.6) 0%, rgba(7,27,50,0.92) 100%); }
}

/* ---------- Process ---------- */

.process { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.process-head { margin-bottom: 52px; }
.process-title { margin-top: 14px; font-size: clamp(34px, 5vw, 60px); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 32px; display: block; margin-bottom: 8px; -webkit-text-stroke: 1px var(--brass); color: transparent; }
.process-item { border-top: 1px solid var(--line); padding-top: 22px; }
.process-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.process-copy p { font-size: 14px; color: var(--stone); line-height: 1.62; }

@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */

.stats { background: var(--paper); color: var(--ink); padding: 68px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats.dark { background: var(--ink); color: var(--paper); border-color: var(--line-invert-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; padding-right: 24px; border-left: 1px solid var(--line); padding-left: 24px; }
.stats.dark .stat { border-color: var(--line-invert-soft); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; }
.stats.dark .stat-num { color: var(--paper); }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.stats.dark .stat-label { color: var(--stone-light); }

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---------- Comparison table ---------- */

.compare { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-dim); border-top: 1px solid var(--line); }
.compare-head { max-width: 780px; margin-bottom: 48px; }
.compare-title { margin-top: 14px; font-size: clamp(32px, 4.6vw, 56px); }
.compare-table { border: 1px solid var(--line); background: var(--paper); }
.compare-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 20px 24px; font-size: 14.5px; }
.compare-row.head > div {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--paper-dim); padding: 18px 24px;
}
.compare-row.head .col-us { background: var(--ink); color: var(--paper); }
.compare-crit { font-weight: 600; color: var(--ink); }
.col-them { color: var(--stone); border-left: 1px solid var(--line); }
.col-us { border-left: 1px solid var(--line); color: var(--ink); font-weight: 500; background: rgba(173, 130, 40, 0.06); }
.compare-row:not(.head) .col-us { position: relative; }
.compare-row:not(.head) .col-us::before {
  content: "✓"; color: var(--brass); font-weight: 700; margin-right: 9px;
}
.compare-row:not(.head) .col-them::before {
  content: "—"; color: var(--stone-light); margin-right: 9px;
}

@media (max-width: 800px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.head { display: none; }
  .compare-row > div { padding: 12px 18px; }
  .compare-crit { background: var(--paper-dim); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; }
  .col-them, .col-us { border-left: none; }
  .col-them::after { content: " (the usual builder)"; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-light); }
  .col-us::after { content: " (Harman)"; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
}

/* ---------- Pricing ---------- */

.pricing { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.pricing-head { max-width: 780px; margin-bottom: 48px; }
.pricing-title { margin-top: 14px; font-size: clamp(32px, 4.6vw, 56px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.price-card { background: var(--paper); padding: 38px 30px; display: flex; flex-direction: column; gap: 12px; transition: background 0.4s var(--ease); }
.price-card:hover { background: var(--paper-dim); }
.price-card.feature { background: var(--ink); color: var(--paper); }
.price-card.feature:hover { background: var(--ink-soft); }
.price-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.price-card.feature .price-tag { color: var(--brass-light); }
.price-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.price-figure { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.1; }
.price-note { font-size: 13px; color: var(--stone); }
.price-card.feature .price-note { color: var(--stone-light); }
.price-list { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-card.feature .price-list { border-color: var(--line-invert); }
.price-list li { font-size: 13.5px; color: var(--stone); padding-left: 18px; position: relative; }
.price-card.feature .price-list li { color: var(--stone-light); }
.price-list li::before { content: "·"; position: absolute; left: 4px; color: var(--brass); font-weight: 700; }
.pricing-foot { margin-top: 28px; font-size: 13.5px; color: var(--stone); max-width: 70ch; }

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

/* ---------- Testimonial ---------- */

.testimonial { position: relative; padding: clamp(96px, 14vw, 176px) 0; overflow: hidden; background: var(--ink); }
.t-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.t-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,27,50,0.78), rgba(7,27,50,0.94)); }
.t-content { position: relative; z-index: 2; max-width: 940px; }
.t-quote { margin-top: 26px; font-size: clamp(25px, 3.5vw, 42px); line-height: 1.36; color: var(--paper); }
.t-author { display: block; margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-light); }

/* ---------- Areas ---------- */

.areas { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.areas-head { margin-bottom: 40px; }
.areas-title { margin-top: 14px; font-size: clamp(30px, 4vw, 50px); }
.areas-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  border: 1px solid var(--line); padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: var(--stone); transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.area-chip:hover { border-color: var(--brass); color: var(--ink); background: var(--paper-dim); }
.areas-photo { aspect-ratio: 4 / 3; }
.areas-note { margin-top: 24px; font-size: 14px; color: var(--stone); }

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

/* ---------- CTA ---------- */

.cta { background: var(--paper); padding: clamp(72px, 10vw, 140px) 0; }
.cta.dark { background: var(--ink); color: var(--paper); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-copy { max-width: 660px; }
.cta-title { font-size: clamp(36px, 5vw, 62px); margin: 16px 0 20px; }
.cta.dark .cta-title { color: var(--paper); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */

.page-hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; padding-top: 92px; overflow: hidden; background: var(--ink); }
.page-hero.small { min-height: 50vh; }
.ph-image { position: absolute; inset: 0; }
.ph-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.45) contrast(1.05) brightness(0.72); }
.ph-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,41,73,0.6) 0%, rgba(12,41,73,0.28) 34%, rgba(12,41,73,0.95) 100%);
}
.ph-content { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 88px); padding-top: 120px; }
.ph-title { color: var(--paper); font-size: clamp(42px, 6.8vw, 94px); max-width: 18ch; }
.ph-lede { margin-top: 24px; color: var(--stone-light); max-width: 60ch; }

/* ---------- Pillars ---------- */

.pillars { padding: clamp(84px, 10vw, 140px) 0; background: var(--paper); }
.pillars-head { margin-bottom: 52px; max-width: 780px; }
.pillars-title { margin: 14px 0 20px; font-size: clamp(32px, 4.6vw, 52px); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar-card { background: var(--paper); padding: 42px 30px; display: flex; flex-direction: column; gap: 13px; transition: background 0.4s var(--ease); }
.pillar-card:hover { background: var(--paper-dim); }
.pillar-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; -webkit-text-stroke: 1px var(--brass); color: transparent; }
.pillar-title { font-size: 18.5px; font-weight: 700; }
.pillar-card p { font-size: 14px; color: var(--stone); line-height: 1.62; }

@media (max-width: 1000px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- Detail split ---------- */

.split { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split.plain { background: var(--paper); border: none; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-grid.flip .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 5; }
.split-media.wide { aspect-ratio: 4 / 3; }
.split-title { margin: 14px 0 22px; font-size: clamp(30px, 4vw, 48px); }
.split-body p { color: var(--stone); font-size: 16.5px; line-height: 1.72; margin-bottom: 16px; }
.split-checks { display: flex; flex-direction: column; gap: 11px; margin: 26px 0 30px; }
.split-checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); }
.split-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid.flip .split-media { order: 0; }
}

/* ---------- Gallery ---------- */

.gallery { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { position: relative; }
.gallery-photo { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.gallery-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; display: block; }
.gallery-name { font-size: 19px; font-weight: 700; }
.gallery-meta { font-size: 13.5px; color: var(--stone); margin-top: 6px; }
.gallery-item:nth-child(3n+2) { margin-top: 56px; }

@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(3n+2) { margin-top: 0; }
  .gallery-item:nth-child(2n) { margin-top: 40px; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { margin-top: 0 !important; }
}

/* ---------- Contact ---------- */

.contact { padding: clamp(84px, 10vw, 140px) 0 clamp(96px, 12vw, 160px); background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact-title { margin: 14px 0 34px; font-size: clamp(32px, 4.4vw, 50px); }
.contact-block { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.contact-value { font-size: 18px; font-style: normal; line-height: 1.6; color: var(--ink); }
a.contact-value:hover { color: var(--brass); }
.contact-form-wrap { background: var(--paper-dim); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row.two { flex-direction: row; gap: 20px; }
.form-row.two > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.contact-form label, .field label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.contact-form input, .contact-form textarea, .contact-form select,
.field input, .field textarea, .field select {
  border: 1px solid var(--line); background: var(--paper); padding: 14px 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); resize: vertical;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus,
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); }
.contact-form button { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--stone); }
.form-status { font-size: 14px; padding: 12px 16px; border: 1px solid var(--line); background: var(--paper); display: none; }
.form-status.show { display: block; }
.form-status.ok { border-color: var(--brass); color: var(--ink); }
.form-status.err { border-color: #a3352b; color: #a3352b; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .form-row.two { flex-direction: column; } }

/* ==========================================================================
   Project Planner — the lead engine
   ========================================================================== */

.planner { padding: clamp(60px, 8vw, 110px) 0 clamp(84px, 10vw, 140px); background: var(--paper); }
.planner-shell {
  display: grid; grid-template-columns: 1fr 400px; gap: 0;
  border: 1px solid var(--line); background: var(--paper);
}
.planner-main { padding: clamp(28px, 4vw, 52px); min-height: 560px; display: flex; flex-direction: column; }
.planner-side {
  background: var(--ink); color: var(--paper);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
}
.planner-side::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern-herringbone); background-size: 72px 72px; opacity: 0.06;
}
.planner-side > * { position: relative; z-index: 1; }

.planner-progress { display: flex; gap: 6px; margin-bottom: 30px; }
.planner-progress i {
  flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden;
}
.planner-progress i.done { background: var(--brass); }
.planner-progress i.now { background: var(--line); }
.planner-progress i.now::after {
  content: ""; position: absolute; inset: 0; background: var(--brass);
  animation: pulseBar 1.6s var(--ease) infinite alternate;
}
@keyframes pulseBar { from { opacity: 0.35; } to { opacity: 1; } }

.planner-step { display: none; flex: 1; flex-direction: column; }
.planner-step.active { display: flex; animation: stepIn 0.55s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.planner-q { font-family: var(--font-display); font-size: clamp(25px, 3vw, 36px); font-weight: 700; margin: 12px 0 8px; line-height: 1.15; }
.planner-hint { font-size: 14.5px; color: var(--stone); margin-bottom: 28px; max-width: 52ch; }

.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt-grid.three { grid-template-columns: repeat(3, 1fr); }
.opt {
  text-align: left; border: 1px solid var(--line); background: var(--paper);
  padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 5px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.opt:hover { border-color: var(--brass); background: var(--paper-dim); }
.opt.sel { border-color: var(--brass); background: var(--ink); color: var(--paper); }
.opt strong { font-size: 15.5px; font-weight: 600; }
.opt span { font-size: 12.5px; color: var(--stone); line-height: 1.45; }
.opt.sel span { color: var(--stone-light); }

.planner-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
.planner-back {
  background: none; border: none; cursor: pointer; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); padding: 8px 0;
}
.planner-back:hover { color: var(--ink); }
.planner-back[hidden] { visibility: hidden; }

.planner-side-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); }
.planner-side-figure { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); font-weight: 600; line-height: 1.05; color: var(--paper); }
.planner-side-figure.muted { color: var(--stone-light); font-size: 26px; }
.planner-side-sub { font-size: 13.5px; color: var(--stone-light); line-height: 1.6; }
.planner-summary { display: flex; flex-direction: column; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-invert); }
.planner-summary div {
  display: flex; justify-content: space-between; gap: 14px; padding: 11px 0;
  border-bottom: 1px solid var(--line-invert-soft); font-size: 13px;
}
.planner-summary dt { color: var(--stone-light); }
.planner-summary dd { margin: 0; color: var(--paper); text-align: right; font-weight: 500; }
.planner-side-foot { margin-top: auto; font-size: 12px; color: var(--stone-light); line-height: 1.6; padding-top: 20px; border-top: 1px solid var(--line-invert); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.slider-wrap { margin: 10px 0 4px; }
.slider-val { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.slider-val em { font-style: normal; font-size: 16px; color: var(--stone); font-family: var(--font-body); }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px;
  background: var(--line); margin: 18px 0 8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; background: var(--ink);
  border: 3px solid var(--brass); cursor: pointer; border-radius: 50%;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--ink); border: 3px solid var(--brass);
  cursor: pointer; border-radius: 50%;
}
.slider-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--stone); }

/* Result */
.result-figure { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 68px); font-weight: 600; line-height: 1.05; margin: 8px 0 6px; }
.result-range { font-size: 14px; color: var(--stone); margin-bottom: 26px; }
.result-break { border: 1px solid var(--line); margin-bottom: 26px; }
.result-break div { display: flex; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.result-break div:last-child { border-bottom: none; background: var(--paper-dim); font-weight: 700; }
.result-break span:last-child { font-variant-numeric: tabular-nums; }
.planner-disclaimer { font-size: 12.5px; color: var(--stone); line-height: 1.6; margin-top: 18px; }

.planner-done { text-align: left; }
.planner-done .tick {
  width: 60px; height: 60px; border: 1px solid var(--brass); color: var(--brass);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 24px;
}

@media (max-width: 1000px) {
  .planner-shell { grid-template-columns: 1fr; }
  .planner-side { order: -1; }
  .opt-grid, .opt-grid.three { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
}

/* ---------- Trust strip under planner ---------- */

.why { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper-dim); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.why-item { border-top: 1px solid var(--brass); padding-top: 20px; }
.why-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-item p { font-size: 14.5px; color: var(--stone); line-height: 1.65; }

@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Dashboard ---------- */

.dash { background: var(--paper); min-height: 100vh; padding: 120px 0 80px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.dash-title { font-size: clamp(30px, 4vw, 46px); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 30px; }
.dash-stat { background: var(--paper); padding: 22px 24px; }
.dash-stat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.dash-stat strong { font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.dash-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  border: 1px solid var(--line); background: var(--paper); padding: 9px 17px; font-size: 12px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  transition: all 0.3s var(--ease); font-family: inherit; color: var(--stone);
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.lead-list { display: flex; flex-direction: column; gap: 12px; }
.lead {
  border: 1px solid var(--line); background: var(--paper); padding: 20px 24px;
  display: grid; grid-template-columns: 1fr 150px 150px 110px; gap: 20px; align-items: center;
}
.lead-name { font-weight: 600; font-size: 16px; }
.lead-sub { font-size: 13px; color: var(--stone); margin-top: 4px; }
.lead-val { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.lead-k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.score { display: inline-block; padding: 6px 13px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.score.hot { background: #a3352b; color: #fff; }
.score.warm { background: var(--brass); color: var(--ink); }
.score.cool { background: var(--paper-dim); color: var(--stone); border: 1px solid var(--line); }
.dash-gate { max-width: 440px; margin: 60px auto; border: 1px solid var(--line); padding: 40px; background: var(--paper-dim); }
.dash-empty { padding: 60px; text-align: center; border: 1px dashed var(--line); color: var(--stone); }

@media (max-width: 900px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .lead { grid-template-columns: 1fr; gap: 10px; }
}
