/* ==========================================================================
   launder.it — Design System
   A premium, editorial stylesheet. No frameworks, no build step.
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. Tokens
---------------------------------------------------------------------------- */
:root {
  /* Palette */
  --ink:        #0E1726;
  --ink-soft:   #2A3753;
  --bone:       #F5F2EC;
  --bone-deep:  #ECE7DC;
  --paper:      #FFFFFF;
  --azure:      #2F6BFF;
  --azure-deep: #1E47C7;
  --mist:       #DCE7F5;
  --mint:       #7BE0C3;
  --lav:        #B9C6FF;
  --citrus:     #FFD66B;
  --line:       rgba(14, 23, 38, 0.10);
  --line-soft:  rgba(14, 23, 38, 0.06);

  /* Typography */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 7rem;

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(14, 23, 38, 0.06);
  --shadow-md: 0 18px 50px -24px rgba(14, 23, 38, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(14, 23, 38, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------------------------
   2. Reset & base
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--azure); color: #fff; }

:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ----------------------------------------------------------------------------
   3. Typography
---------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}

.display {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 480;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}

.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; }
.text-azure { color: var(--azure-deep); }

/* ----------------------------------------------------------------------------
   4. Layout primitives
---------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }

section { position: relative; }
.section { padding-block: clamp(3.5rem, 9vw, var(--sp-7)); }
.section--tight { padding-block: clamp(2.5rem, 6vw, var(--sp-6)); }

.bg-paper { background: var(--paper); }
.bg-ink   { background: var(--ink); color: var(--bone); }
.bg-bone-deep { background: var(--bone-deep); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: var(--sp-2); }

/* ----------------------------------------------------------------------------
   5. Buttons
---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--azure);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(47, 107, 255, 0.6);
}
.btn--primary:hover { background: var(--azure-deep); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(47, 107, 255, 0.7); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--light {
  background: var(--bone);
  color: var(--ink);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--azure-deep);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, gap 0.2s var(--ease);
}
.textlink:hover { border-color: var(--azure-deep); gap: 0.65rem; }

/* ----------------------------------------------------------------------------
   6. Header / Nav
---------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bone) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bone) 92%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word {
  font-family: var(--sans);
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.brand__word .dot { color: var(--azure); }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--azure);
  transition: width 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after  { transform: translateY(5px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) clamp(1.25rem, 4vw, 2.5rem) var(--sp-3);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__menu.nav__links { display: flex; }
  .nav__menu a { padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav__menu .btn { margin-top: var(--sp-2); }
}

/* ----------------------------------------------------------------------------
   7. Hero
---------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero__copy { max-width: 38rem; }
.hero__copy .display { margin-top: var(--sp-2); }
.hero__copy .lede { margin-top: var(--sp-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: var(--sp-4); }
.hero__meta {
  margin-top: var(--sp-4);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.hero__meta strong { color: var(--ink); font-weight: 700; }
.hero__art { position: relative; }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; }
}

/* decorative blobs */
.blob { position: absolute; filter: blur(60px); opacity: 0.5; pointer-events: none; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }

/* ----------------------------------------------------------------------------
   8. Cards
---------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mist), #fff);
  margin-bottom: var(--sp-2);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.99rem; }

.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3, .cards-4, .cards-2 { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------------------
   9. Steps (How it works)
---------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step__num {
  counter-increment: step;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--azure);
  font-weight: 460;
  min-width: 2.5ch;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__body h3 { margin-bottom: 0.5rem; }
.step__body p { color: var(--ink-soft); max-width: 52ch; }

/* ----------------------------------------------------------------------------
   10. Pricing
---------------------------------------------------------------------------- */
.plan-toggle {
  display: inline-flex;
  background: var(--bone-deep);
  border-radius: var(--radius-pill);
  padding: 5px;
  gap: 4px;
  margin-inline: auto;
}
.plan-toggle button {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s, box-shadow 0.3s;
}
.plan-toggle button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.plan-toggle .save { color: var(--azure-deep); font-size: 0.78em; margin-left: 0.35rem; }

.plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: var(--ink);
  color: var(--bone);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.plan--featured .plan__price small,
.plan--featured .plan__feat { color: rgba(245,242,236,0.78); }
.plan--featured .plan__feat svg circle { fill: rgba(123,224,195,0.18); }
.plan--featured .plan__feat svg path { stroke: var(--mint); }

.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--mint); color: var(--ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: var(--radius-pill);
}
.plan__name { font-family: var(--serif); font-size: 1.5rem; }
.plan__tag { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.25rem; }
.plan--featured .plan__tag { color: rgba(245,242,236,0.7); }
.plan__price { margin: var(--sp-3) 0; font-family: var(--serif); font-size: 3rem; line-height: 1; letter-spacing: -0.03em; }
.plan__price small { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.plan__feats { display: grid; gap: 0.8rem; margin: var(--sp-2) 0 var(--sp-4); }
.plan__feat { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.96rem; }
.plan__feat svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }

.price-note { color: var(--ink-soft); font-size: 0.9rem; }

/* one-off price list */
.pricelist { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.pricerow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line-soft);
}
.pricerow:first-child { border-top: none; }
.pricerow__name { font-weight: 600; }
.pricerow__desc { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.1rem; }
.pricerow__price { font-family: var(--serif); font-size: 1.5rem; white-space: nowrap; }
.pricerow__price small { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   11. Feature split / media rows
---------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__copy h2 { margin-bottom: var(--sp-2); }
.split__copy p { color: var(--ink-soft); }
.split__media { position: relative; }

/* Photographic media */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1.12;
  background: var(--bone-deep);
}
.media-frame--wide { aspect-ratio: 4 / 3; }
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.media-frame:hover img { transform: scale(1.04); }
.media-frame__tag {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(8px);
  color: var(--bone);
  padding: 0.55rem 1rem; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600;
}
.media-frame__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }

/* Full-width photo band with overlay */
.photo-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(280px, 38vw, 420px);
  display: grid;
  align-items: end;
}
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,23,38,0.78) 0%, rgba(14,23,38,0.45) 45%, rgba(14,23,38,0.05) 100%);
}
.photo-band__copy { position: relative; padding: clamp(1.75rem, 4vw, 3rem); color: var(--bone); max-width: 40rem; }
.photo-band__copy h2 { color: var(--bone); }
.photo-band__copy p { color: rgba(245,242,236,0.82); margin-top: var(--sp-2); }

.feature-list { display: grid; gap: 1rem; margin-top: var(--sp-3); }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-list svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--ink-soft); font-size: 0.95rem; }

/* ----------------------------------------------------------------------------
   12. Stats / marquee
---------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat__label { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.5rem; }
.bg-ink .stat__label { color: rgba(245,242,236,0.66); }

.logos { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; justify-content: center; opacity: 0.65; }
.logos span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   13. Testimonials
---------------------------------------------------------------------------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: var(--sp-3);
  height: 100%;
}
.quote__stars { display: flex; gap: 2px; color: var(--citrus); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; letter-spacing: -0.01em; }
.quote__person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.quote__name { font-weight: 600; font-size: 0.95rem; }
.quote__role { color: var(--ink-soft); font-size: 0.85rem; }

/* ----------------------------------------------------------------------------
   14. FAQ (accordion)
---------------------------------------------------------------------------- */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink);
}
.faq__q .icon { width: 26px; height: 26px; flex: none; position: relative; }
.faq__q .icon::before, .faq__q .icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--azure); border-radius: 2px;
}
.faq__q .icon::before { width: 16px; height: 2px; }
.faq__q .icon::after  { width: 2px; height: 16px; transition: transform 0.3s var(--ease); }
.faq__item.is-open .faq__q .icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__a-inner { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 64ch; }

/* ----------------------------------------------------------------------------
   15. CTA band
---------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azure-deep), var(--azure) 55%, #4f86ff);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin: var(--sp-2) auto var(--sp-4); max-width: 48ch; }
.cta-band .btn--light { color: var(--azure-deep); }
.cta-band__suds { position: absolute; inset: 0; opacity: 0.25; pointer-events: none; }

/* ----------------------------------------------------------------------------
   16. Forms (contact)
---------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-3); }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(47,107,255,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-success {
  display: none;
  background: linear-gradient(135deg, var(--mint), #d8f7ec);
  border-radius: var(--radius);
  padding: var(--sp-3);
  color: var(--ink);
  font-weight: 500;
}
.form-success.is-visible { display: block; }

.contact-cards { display: grid; gap: var(--sp-2); }
.contact-card { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-card svg { width: 26px; height: 26px; flex: none; color: var(--azure-deep); margin-top: 2px; }
.contact-card strong { display: block; }
.contact-card a, .contact-card span { color: var(--ink-soft); }

/* ----------------------------------------------------------------------------
   17. Footer
---------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--bone); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand .brand__word { color: var(--bone); }
.footer__blurb { color: rgba(245,242,236,0.6); font-size: 0.95rem; margin-top: var(--sp-2); max-width: 30ch; }
.footer__col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.5); margin-bottom: var(--sp-2); }
.footer__col a { display: block; padding: 0.35rem 0; color: rgba(245,242,236,0.82); font-size: 0.96rem; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  margin-top: var(--sp-5); padding-top: var(--sp-3);
  border-top: 1px solid rgba(245,242,236,0.12);
  color: rgba(245,242,236,0.5); font-size: 0.85rem;
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,242,236,0.08); transition: background 0.2s; }
.footer__social a:hover { background: rgba(245,242,236,0.18); }
.footer__social svg { width: 18px; height: 18px; }

/* ----------------------------------------------------------------------------
   18. "For sale" — deliberately separate from site content
---------------------------------------------------------------------------- */
.sale-ribbon {
  position: fixed;
  z-index: 90;
  top: 50px;
  right: -96px;
  width: 400px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #F23A2E 0%, #C81E14 100%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 15px 0 13px;
  box-shadow: 0 12px 32px -8px rgba(200,30,20,0.6);
  border-top: 2px solid rgba(255,255,255,0.55);
  border-bottom: 2px solid rgba(0,0,0,0.22);
  text-shadow: 0 1px 2px rgba(14,23,38,0.28);
  transition: transform 0.3s var(--ease), filter 0.25s;
}
.sale-ribbon:hover { filter: brightness(1.07); transform: rotate(45deg) translateY(-2px); }
.sale-ribbon__main { display: block; font-size: 1.12rem; font-weight: 700; letter-spacing: 0.01em; }
.sale-ribbon__sub {
  display: block; margin-top: 3px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #FFE3E0;
}
@media (max-width: 560px) {
  .sale-ribbon { width: 360px; right: -104px; top: 38px; padding: 12px 0 10px; }
  .sale-ribbon__main { font-size: 0.95rem; }
  .sale-ribbon__sub { font-size: 0.68rem; }
}

.footer__col .muted-phone { display: block; padding: 0.35rem 0; color: rgba(245,242,236,0.82); font-size: 0.96rem; }

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 1.25rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14,23,38,0.55); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 480px; width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__panel::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, var(--mint), transparent 70%); opacity: 0.4;
}
.modal__tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azure-deep); }
.modal h3 { margin: 0.75rem 0 0.5rem; font-size: 1.7rem; }
.modal p { color: var(--ink-soft); font-size: 0.98rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sp-3); }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft);
  background: var(--bone); transition: background 0.2s, color 0.2s; z-index: 1;
}
.modal__close:hover { background: var(--bone-deep); color: var(--ink); }
.modal__fineprint { font-size: 0.8rem; color: var(--ink-soft); margin-top: var(--sp-2); }

/* ----------------------------------------------------------------------------
   19. Reveal animations
---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------------
   20. Page hero (interior pages)
---------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.page-hero .display { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .lede { margin-top: var(--sp-2); }

.pill-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); border: 1px solid var(--line);
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
}
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* utilities */
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mb-3 { margin-bottom: var(--sp-3); }
.maxw-head { max-width: 22ch; }
