/* =====================================================================================
   Southstone Construction: site.css
   Art direction "the building section": chalk paper, flint panels, brick as the live colour,
   drafting conventions (datums, hatches, title blocks), corners chamfered like dressed stone.
   Sections: 1 tokens  2 base  3 type  4 layout  5 grounds  6 header  7 menu  8 buttons + links
   9 labels  10 cards  11 figures  12 process  13 faq  14 forms  15 cta  16 footer
   17 motion  18 utilities
   ===================================================================================== */

/* ------------------------------------------------------------------ 1 tokens */
:root {
  --chalk: #F2EFE9;
  --chalk-2: #E8E4DB;
  --chalk-3: #DDD7CB;
  --card: #F9F7F3;
  --flint: #1A1E23;
  --flint-2: #22272D;
  --flint-3: #2C3239;
  --text: #1A1E23;
  --text-2: #454A51;
  --text-3: #5E636A;
  --on-flint: #F2EFE9;
  --on-flint-2: #C9C6C0;
  --on-flint-3: #9E9D99;
  --rule: #D6D0C4;
  --rule-2: #C4BCAD;
  --rule-flint: rgba(242, 239, 233, .13);
  --rule-flint-2: rgba(242, 239, 233, .24);
  --brick: #B04A2A;
  --brick-d: #8C391F;
  --brick-l: #E0785A;
  --brick-wash: rgba(176, 74, 42, .08);
  --sand: #D9C7A3;
  --sand-l: #EFE6D3;
  --slate: #59616B;

  --f-text: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --fs-display: clamp(2.75rem, 1.4rem + 4.6vw, 5.4rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.35rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  --fs-h4: 1.15rem;
  --fs-lead: clamp(1.1rem, 1rem + .4vw, 1.32rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-xs: .8125rem;
  --fs-mono: .75rem;

  --max: 1280px;
  --narrow: 860px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(76px, 4rem + 5vw, 148px);
  --header-h: 76px;
  --cut: 14px;
  --cut-s: 8px;
  --chamf: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --grid-paper: linear-gradient(rgba(26, 30, 35, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 30, 35, .045) 1px, transparent 1px);
  --grid-flint: linear-gradient(rgba(242, 239, 233, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 239, 233, .045) 1px, transparent 1px);
}
@media (max-width: 1079px) { :root { --header-h: 64px; } }

/* ------------------------------------------------------------------ 2 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--chalk); color: var(--text);
  font-family: var(--f-text); font-size: var(--fs-body); line-height: 1.6; font-weight: 420;
  font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: 'ss01' 0;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--brick); color: #fff; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
.theme-flint :focus-visible, .theme-flint2 :focus-visible { outline-color: var(--brick-l); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 12px 16px; background: var(--flint); color: var(--on-flint); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ 3 type */
.display, .h1, .h2, .h3, .h4 { font-family: var(--f-text); color: inherit; text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 690; font-stretch: 112%; line-height: .98; letter-spacing: -.028em; }
.h1 { font-size: var(--fs-h1); font-weight: 680; font-stretch: 110%; line-height: 1; letter-spacing: -.026em; }
.h2 { font-size: var(--fs-h2); font-weight: 670; font-stretch: 108%; line-height: 1.03; letter-spacing: -.022em; }
.h3 { font-size: var(--fs-h3); font-weight: 640; font-stretch: 104%; line-height: 1.15; letter-spacing: -.012em; }
.h4 { font-size: var(--fs-h4); font-weight: 640; line-height: 1.25; letter-spacing: -.005em; }
.accent { color: var(--brick); }
.theme-flint .accent, .theme-flint2 .accent { color: var(--brick-l); }
.lede { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }
.theme-flint .lede, .theme-flint2 .lede { color: var(--on-flint-2); }
.eyebrow {
  display: block; margin-bottom: 22px;
  font: 500 var(--fs-mono)/1.5 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 26px; height: 1px; margin: -2px 12px 0 0; background: currentColor; opacity: .8; }
.eyebrow b { font-weight: 600; color: var(--brick); }
.theme-flint .eyebrow, .theme-flint2 .eyebrow { color: var(--on-flint-3); }
.theme-flint .eyebrow b, .theme-flint2 .eyebrow b { color: var(--brick-l); }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; }
.tel { font-family: var(--f-mono); letter-spacing: .02em; white-space: nowrap; }
.muted { color: var(--text-3); }
.theme-flint .muted, .theme-flint2 .muted { color: var(--on-flint-3); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.05em; }
.prose a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li + li { margin-top: .45em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: .7em; height: 1.5px; background: var(--brick); }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose strong { font-weight: 640; }

/* ------------------------------------------------------------------ 4 layout */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.sec { padding-block: var(--sec); position: relative; }
.sec--tight { padding-block: calc(var(--sec) * .62); }
.sec--flush-top { padding-top: 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head .lede { margin-top: 20px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 64px; align-items: end; }
.sec-head--split .lede { margin-top: 0; justify-self: end; }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); } .sec-head--split .lede { justify-self: start; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; }
@media (max-width: 999px) { .grid--3, .grid--4 { --cols: 2; } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { --cols: 1; } }
.stack > * + * { margin-top: var(--stack, 16px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 420px) { .btns > .btn { flex: 1 1 100%; justify-content: center; } }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; } .mt-8 { margin-top: 64px; }

/* ------------------------------------------------------------------ 5 grounds */
.theme-chalk { background: var(--chalk); }
.theme-chalk2 { background: var(--chalk-2); }
.theme-card { background: var(--card); }
.theme-flint, .theme-flint2 { color: var(--on-flint); }
.theme-flint { background: var(--flint); }
.theme-flint2 { background: var(--flint-2); }
.bg-grid { background-image: var(--grid-paper); background-size: 24px 24px; }
.theme-flint.bg-grid, .theme-flint2.bg-grid { background-image: var(--grid-flint); }
.panel { margin-inline: clamp(8px, 1.4vw, 20px); clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
@media (max-width: 640px) { .panel { margin-inline: 0; clip-path: none; } }

/* ------------------------------------------------------------------ 6 header */
.hdr {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  color: var(--text); background: rgba(242, 239, 233, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--rule); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr[data-theme="ink"] { color: var(--on-flint); background: rgba(26, 30, 35, .82); }
.hdr[data-theme="ink"].is-scrolled { border-bottom-color: var(--rule-flint); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; flex: 0 0 auto; }
.brand svg { height: 32px; width: auto; }
.brand .lg-mark { fill: currentColor; }
.brand .lg-word { fill: currentColor; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__a {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  font-size: .95rem; font-weight: 520; text-decoration: none; color: inherit;
}
.nav__a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hdr[data-theme="ink"] .nav__a::after { background: var(--brick-l); }
.nav__a:hover::after, .nav__a[aria-current]::after { transform: scaleX(1); }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; margin: 0 10px 0 14px; font-family: var(--f-mono); font-size: .86rem; letter-spacing: .02em; text-decoration: none; color: inherit; white-space: nowrap; }
.hdr__tel svg { width: 16px; height: 16px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: inherit; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1079px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr .hdr__cta { display: none; }
  .brand svg { height: 28px; }
}
@media (max-width: 1079px) and (min-width: 560px) { .hdr__tel { margin-left: auto; } .burger { margin-left: 0; } }
@media (max-width: 559px) { .hdr__tel { display: none; } }

/* ------------------------------------------------------------------ 7 mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--flint); color: var(--on-flint);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
  background-image: var(--grid-flint); background-size: 24px 24px; overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.menu-open .hdr { color: var(--on-flint); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open { overflow: hidden; }
.menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-flint); }
.menu__list li { border-bottom: 1px solid var(--rule-flint); transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; transition-delay: calc(var(--i, 0) * 45ms); }
.menu.is-open .menu__list li, .menu.is-open .menu__foot > * { transform: none; opacity: 1; }
.menu__list a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; font-size: clamp(1.9rem, 7vw, 2.6rem); font-weight: 660; font-stretch: 110%; letter-spacing: -.02em; text-decoration: none; }
.menu__list a span { font: 500 var(--fs-mono)/1 var(--f-mono); letter-spacing: .12em; color: var(--on-flint-3); }
.menu__list a[aria-current] { color: var(--brick-l); }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.menu__foot > * { transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; transition-delay: calc(var(--i, 0) * 45ms); }

/* ------------------------------------------------------------------ 8 buttons + links */
/* A button is a dressed stone on a mortar bed: the face (::after) sits on the bed (::before);
   hover lowers it 1px, a press drops it flush, release springs it back. The element itself is
   not clipped, so the focus ring is never cut off. */
.btn {
  --bg: var(--brick); --fg: #fff; --bed: var(--brick-d); --bd: transparent; --c: var(--cut-s);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px 3px; border: 0; background: none; color: var(--fg);
  font-size: .97rem; font-weight: 600; letter-spacing: .005em; line-height: 1; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn::before, .btn::after { content: ''; position: absolute; left: 0; right: 0; z-index: -1; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.btn::before { top: 3px; bottom: 0; background: var(--bed); z-index: -2; }
.btn::after { top: 0; bottom: 3px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--bd); transition: transform .16s var(--ease), background-color .2s; }
.btn > * { position: relative; transition: transform .16s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover::after, .btn:hover > * { transform: translateY(1px); }
.btn:active::after, .btn:active > *, .btn.is-pressed::after, .btn.is-pressed > * { transform: translateY(3px); transition-duration: .06s; }
.btn:hover .i-arrow { transform: translate(3px, 1px); }
.btn--ghost { --bg: var(--card); --fg: var(--text); --bed: var(--rule-2); --bd: var(--rule-2); }
.btn--ghost:hover { --bd: var(--flint); }
.btn--ink { --bg: var(--flint); --fg: var(--on-flint); --bed: #000; }
.theme-flint .btn--ghost, .theme-flint2 .btn--ghost, .hdr[data-theme="ink"] .btn--ghost { --bg: var(--flint-3); --fg: var(--on-flint); --bed: #0d0f12; --bd: var(--rule-flint-2); }
.theme-flint .btn--ghost:hover, .theme-flint2 .btn--ghost:hover { --bd: var(--on-flint-2); }
.btn--sm { min-height: 42px; padding: 0 16px 3px; font-size: .9rem; }
.btn--lg { min-height: 60px; padding: 0 28px 3px; font-size: 1.05rem; }
.btn--phone span { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.link { color: var(--brick); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.theme-flint .link, .theme-flint2 .link { color: var(--brick-l); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: inherit; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); color: var(--brick); }
.link-arrow:hover svg { transform: translateX(4px); }
.theme-flint .link-arrow svg, .theme-flint2 .link-arrow svg { color: var(--brick-l); }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }

/* ------------------------------------------------------------------ 9 labels, chips, tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2);
  border: 1px solid var(--rule-2); background: rgba(249, 247, 243, .6);
}
.chip svg { width: 14px; height: 14px; }
.theme-flint .chip, .theme-flint2 .chip { color: var(--on-flint-2); border-color: var(--rule-flint-2); background: rgba(255, 255, 255, .03); }
.tag { display: inline-block; padding: 5px 8px 4px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--flint); color: var(--on-flint); clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.tag--light { background: var(--card); color: var(--text); }
.num { font: 500 var(--fs-mono)/1 var(--f-mono); letter-spacing: .1em; color: var(--text-3); }
.num b { color: var(--brick); font-weight: 600; }

/* ------------------------------------------------------------------ 10 cards (dressed stone) */
/* ::before is the border, ::after the face, both chamfered top-left and bottom-right. */
.stone { position: relative; isolation: isolate; }
.stone::before, .stone::after { content: ''; position: absolute; z-index: -1; clip-path: var(--chamf); transition: background-color .3s, transform .45s var(--ease); }
.stone::before { inset: 0; background: var(--rule); }
.stone::after { inset: 1px; background: var(--card); clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px)); }
.theme-flint .stone::before, .theme-flint2 .stone::before { background: var(--rule-flint-2); }
.theme-flint .stone::after, .theme-flint2 .stone::after { background: var(--flint-2); }
.theme-flint2 .stone::after { background: var(--flint-3); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); list-style: none; padding: 0; margin: 0; }
@media (max-width: 999px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.2vw, 30px); text-decoration: none; color: inherit;
}
.card__art { height: 128px; margin: -4px -6px 22px; display: flex; align-items: center; justify-content: center; }
.card__art svg { width: 100%; height: 100%; }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card__t, .card__d { display: block; }
.card__t { font-size: var(--fs-h3); font-weight: 650; font-stretch: 106%; letter-spacing: -.014em; line-height: 1.12; text-wrap: balance; }
.card__d { margin-top: 10px; color: var(--text-2); font-size: var(--fs-small); line-height: 1.55; }
.card__list { margin: 14px 0 0; padding: 0; list-style: none; font-size: var(--fs-small); color: var(--text-2); }
.card__list li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px dashed var(--rule-2); }
.card__list li::before { content: ''; width: 6px; height: 6px; flex: 0 0 auto; background: var(--brick); transform: translateY(-1px) rotate(45deg); }
.card__go { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-small); }
.card__go svg { width: 18px; height: 18px; color: var(--brick); transition: transform .3s var(--ease); }
a.card:hover .card__go svg { transform: translateX(4px); }
a.card.stone:hover::before { background: var(--flint); }
.theme-flint a.card.stone:hover::before { background: var(--on-flint-2); }
.card--cta { justify-content: space-between; color: var(--on-flint); }
.card--cta.stone::before { background: var(--flint); }
.card--cta.stone::after { background: var(--flint); }
.card--cta .card__d { color: var(--on-flint-2); }
.card--cta .card__go svg { color: var(--brick-l); }
a.card--cta.stone:hover::before { background: var(--brick); }

/* ------------------------------------------------------------------ 11 figures (drawing sheets) */
.sheet { position: relative; padding: clamp(14px, 2vw, 26px); }
.sheet.stone::after { background-color: var(--card); background-image: var(--grid-paper); background-size: 20px 20px; }
.theme-flint .sheet.stone::after { background-color: var(--flint-2); background-image: var(--grid-flint); }
.sheet__corner { position: absolute; font: 500 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.sheet__corner--tl { top: 14px; left: calc(var(--cut) + 14px); }
.sheet__corner--tr { top: 14px; right: 16px; }
.cap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 14px; font-size: var(--fs-xs); line-height: 1.5; color: var(--text-3); }
.cap__n { font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.theme-flint .cap, .theme-flint2 .cap { color: var(--on-flint-3); }
.theme-flint .cap__n, .theme-flint2 .cap__n { color: var(--on-flint); }
.dgm { width: 100%; height: auto; overflow: visible; }
.dgm .ln { fill: none; stroke: var(--flint); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.dgm .ln-b { stroke-width: 1.8; }
.dgm .ln-f { fill: none; stroke: var(--flint); stroke-width: .6; }
.dgm .ln-d { fill: none; stroke: var(--slate); stroke-width: .7; stroke-dasharray: 3 3; }
.dgm .lead { fill: none; stroke: var(--flint); stroke-width: .6; }
.dgm .fl-card { fill: var(--card); } .dgm .fl-chalk { fill: var(--chalk-2); } .dgm .fl-sand { fill: var(--sand-l); } .dgm .fl-oak { fill: #D9BC88; } .dgm .fl-timber { fill: #E8D5AF; }
.dgm .fl-brick { fill: #D9A894; } .dgm .fl-brick2 { fill: #C98E77; } .dgm .fl-conc { fill: #DEDAD2; } .dgm .fl-slate { fill: #8B9097; } .dgm .fl-live { fill: var(--brick); } .dgm .fl-flint { fill: var(--flint); } .dgm .fl-none { fill: none; }
.dgm .tx { font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; fill: var(--flint); text-transform: uppercase; }
.dgm .tx-s { font-size: 8.5px; fill: var(--text-3); letter-spacing: .1em; }
.dgm .tx-l { font-size: 12.5px; }
.dgm .tx-m { text-anchor: middle; } .dgm .tx-e { text-anchor: end; }
.dgm .bal circle { fill: var(--card); stroke: var(--flint); stroke-width: .9; }
.dgm .bal text { font: 600 8.5px/1 var(--f-mono); fill: var(--flint); text-anchor: middle; }
.dgm .bal--n circle { fill: var(--flint); } .dgm .bal--n text { fill: var(--chalk); }
@media (max-width: 640px) { .dgm .tx { font-size: 13px; } .dgm .tx-s { font-size: 11px; } }
.key { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); font-size: var(--fs-small); color: var(--text-2); }
.key li { display: flex; gap: 10px; align-items: baseline; }
.key b { color: var(--text); font-weight: 620; }
.key__b { flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--flint); font: 600 .62rem/1 var(--f-mono); color: var(--text); transform: translateY(4px); }

/* ------------------------------------------------------------------ 12 process: a string line between pegs */
.process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.process__rail { position: absolute; left: 0; right: 0; top: 23px; height: 2px; pointer-events: none; }
.process__rail::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--rule-2) 0 8px, transparent 8px 13px); }
.process__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--brick); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process__head { display: none; }
.process__step { position: relative; padding-top: 70px; }
.process__peg { position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; color: var(--text-3); }
.process__peg::before, .process__peg::after { content: ''; position: absolute; inset: 0; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background-color .35s; }
.process__peg::before { background: var(--rule-2); }
.process__peg::after { inset: 1px; background: var(--chalk); clip-path: polygon(9.6px 0, 100% 0, 100% calc(100% - 9.6px), calc(100% - 9.6px) 100%, 0 100%, 0 9.6px); }
.theme-chalk2 .process__peg::after { background: var(--chalk-2); }
.process__peg svg { position: relative; z-index: 1; width: 22px; height: 22px; transition: color .35s; }
.process__step.is-lit .process__peg { color: #fff; }
.process__step.is-lit .process__peg::before, .process__step.is-lit .process__peg::after { background: var(--brick); }
.process__n { display: block; font: 600 var(--fs-mono)/1 var(--f-mono); letter-spacing: .12em; color: var(--brick); margin-bottom: 10px; }
.process__t { font-size: 1.12rem; font-weight: 640; letter-spacing: -.005em; }
.process__d { margin-top: 8px; font-size: var(--fs-small); color: var(--text-2); max-width: 30ch; }
@media (max-width: 899px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .process__rail { left: 23px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .process__rail::before { background: repeating-linear-gradient(180deg, var(--rule-2) 0 8px, transparent 8px 13px); }
  .process__fill { width: auto; height: 100%; right: 0; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .process__step { padding: 4px 0 0 72px; min-height: 48px; }
}

/* ------------------------------------------------------------------ 13 faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 899px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq__list { border-top: 1px solid var(--rule-2); }
.faq__item { border-bottom: 1px solid var(--rule-2); }
.faq__q { list-style: none; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px 0; cursor: pointer; font-size: 1.08rem; font-weight: 620; letter-spacing: -.004em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brick); }
.faq__sw { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq__sw::before, .faq__sw::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq__sw::after { transform: rotate(90deg); }
.faq__item[open] .faq__sw::after { transform: rotate(0deg); }
.faq__item[open] .faq__q { color: var(--brick); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }
.faq__a > div > * + * { margin-top: .8em; }

/* ------------------------------------------------------------------ 14 forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field__label { font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.field__label small { font-size: inherit; color: var(--text-3); letter-spacing: .08em; text-transform: none; }
.input, .textarea, .select {
  width: 100%; min-width: 0; padding: 14px 16px; font-size: 1rem; color: var(--text); background: var(--card);
  border: 1px solid var(--rule-2); border-radius: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.input:hover, .textarea:hover { border-color: var(--slate); }
.input:focus, .textarea:focus { outline: none; border-color: var(--flint); box-shadow: 0 0 0 3px var(--brick-wash); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--brick); }
.field__err { font-size: var(--fs-xs); color: var(--brick); font-weight: 560; }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.tiles legend { padding: 0; margin-bottom: 8px; }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile__in { --c: 9px; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 14px 14px 13px; font-size: .9rem; font-weight: 580; line-height: 1.2; color: var(--text); }
.tile__in::before, .tile__in::after { content: ''; position: absolute; z-index: -1; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: background-color .2s; }
.tile__in::before { inset: 0; background: var(--rule-2); }
.tile__in::after { inset: 1px; background: var(--card); clip-path: polygon(calc(var(--c) - .4px) 0, 100% 0, 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, 0 100%, 0 calc(var(--c) - .4px)); }
.tile__in svg { width: 24px; height: 24px; color: var(--slate); transition: color .2s; }
.tile__tick { position: absolute; right: 10px; top: 10px; width: 16px; height: 16px; border: 1px solid var(--rule-2); background: var(--card); display: grid; place-items: center; }
.tile__tick svg { width: 11px; height: 11px; color: #fff; opacity: 0; }
.tile:hover .tile__in::before { background: var(--slate); }
.tile input:checked + .tile__in::before { background: var(--brick); }
.tile input:checked + .tile__in::after { background: #FBF2EE; }
.tile input:checked + .tile__in svg { color: var(--brick); }
.tile input:checked + .tile__in .tile__tick { background: var(--brick); border-color: var(--brick); }
.tile input:checked + .tile__in .tile__tick svg { opacity: 1; }
.tile input:focus-visible + .tile__in { outline: 2px solid var(--brick); outline-offset: 2px; }
.form__note { font-size: var(--fs-xs); color: var(--text-3); }
.form__status { padding: 14px 16px; font-size: var(--fs-small); border-left: 3px solid var(--brick); background: var(--brick-wash); }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.sent { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.sent .h3 { color: var(--text); }

/* ------------------------------------------------------------------ 15 cta band */
.cta { position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 899px) { .cta__grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.cta__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-flint); }
.cta__list li { border-bottom: 1px solid var(--rule-flint); }
.cta__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-decoration: none; color: var(--on-flint); }
.cta__list a span:first-child { font: 500 var(--fs-mono)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-flint-3); }
.cta__list a b { font-weight: 600; font-size: 1.05rem; }
.cta__list a:hover b { color: var(--brick-l); }
.cta__mark { position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px; color: rgba(242, 239, 233, .035); pointer-events: none; }
@media (max-width: 899px) { .cta__mark { width: 300px; height: 300px; right: -90px; bottom: -110px; } }

/* ------------------------------------------------------------------ 16 footer: the title block */
.ftr { background: var(--flint); color: var(--on-flint); padding-top: clamp(56px, 6vw, 88px); overflow: hidden; position: relative; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 999px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: minmax(0, 1fr); } }
.ftr__brand svg { height: 40px; width: auto; color: var(--on-flint); }
.ftr__brand p { margin-top: 18px; max-width: 34ch; color: var(--on-flint-2); font-size: var(--fs-small); }
.ftr__h { font: 500 var(--fs-mono)/1 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--on-flint-3); margin-bottom: 16px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-small); }
.ftr__list a { color: var(--on-flint); text-decoration: none; }
.ftr__list a:hover { color: var(--brick-l); }
.ftr__list .tel { font-size: .9rem; }
.tb { margin-top: clamp(44px, 5vw, 72px); display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; border: 1px solid var(--rule-flint-2); }
.tb > div { padding: 12px 14px 13px; border-left: 1px solid var(--rule-flint-2); min-width: 0; }
.tb > div:first-child { border-left: 0; }
.tb dt { font: 500 .6rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-flint-3); margin-bottom: 8px; }
.tb dd { margin: 0; font: 500 .82rem/1.25 var(--f-mono); letter-spacing: .04em; color: var(--on-flint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .tb { grid-template-columns: 1fr 1fr; }
  .tb > div:first-child { grid-column: 1 / -1; }
  .tb > div:nth-child(2), .tb > div:nth-child(4) { border-left: 0; }
  .tb > div:nth-child(n+2) { border-top: 1px solid var(--rule-flint-2); }
}
.ftr__word { margin: clamp(36px, 5vw, 64px) 0 0; color: rgba(242, 239, 233, .06); }
.ftr__word svg { width: 100%; height: auto; }
.ftr__word path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ftr__base { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding: 22px 0 28px; border-top: 1px solid var(--rule-flint); font-size: var(--fs-xs); color: var(--on-flint-3); }
.ftr__legal { max-width: 82ch; line-height: 1.55; }
.ftr__base a { color: var(--on-flint-2); text-decoration: none; }
.ftr__base a:hover { color: var(--on-flint); }
.credit { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.credit i { display: inline-block; width: 55px; height: 13px; background: rgba(242, 239, 233, .6); -webkit-mask: url('/img/saasyn-word.svg') center / contain no-repeat; mask: url('/img/saasyn-word.svg') center / contain no-repeat; transition: background-color .2s; }
.credit:hover i { background: #fff; }

/* ------------------------------------------------------------------ 17 motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-done, .js [data-stagger].is-done > * { transition: none; }
.js [data-split]:not(.is-split):not(.is-in) { opacity: 0; }
/* SplitText wraps each line in a mask (.sn-line-mask, overflow: clip). Padding on the line grows the
   mask so descenders and overhangs are not cut; the mask's negative margin keeps the layout. */
.sn-line { padding: .06em .25em .3em; }
.sn-line-mask { margin: -.06em -.25em -.3em; }
.sn-word { padding: .06em .25em .3em; }
.sn-word-mask { margin: -.06em -.25em -.3em; }
.sn-failsafe [data-reveal], .sn-failsafe [data-stagger] > *, .sn-failsafe [data-split] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split] { opacity: 1 !important; transform: none !important; }
}
.marquee { overflow: hidden; }
.marquee__rail { display: flex; width: max-content; animation: sn-marquee var(--marquee-dur, 40s) linear infinite; }
.marquee.is-paused .marquee__rail { animation-play-state: paused; }
.marquee__track { display: flex; flex: 0 0 auto; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee.is-static .marquee__track { flex-wrap: wrap; justify-content: center; }
@keyframes sn-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ 18 utilities */
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none !important; } }
.show-sm { display: none !important; } @media (max-width: 640px) { .show-sm { display: revert !important; } }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ logo fills (inline partials) */
.lg-mark, .lg-word { fill: currentColor; }
.lg-sub { fill: var(--brick); }
.ftr .lg-sub, .theme-flint .lg-sub { fill: var(--brick-l); }
.cta__mark svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------------ lightbox */
.lb { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 17, 20, .94); color: var(--on-flint); }
.lb::backdrop { background: rgba(15, 17, 20, .6); }
.lb[open] { display: grid; place-items: center; }
.lb__fig { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 72px 28px; max-width: 100%; max-height: 100%; }
.lb__img { max-width: min(1100px, calc(100vw - 144px)); max-height: calc(100vh - 150px); width: auto; height: auto; opacity: 0; transform: scale(.985); transition: opacity .35s var(--ease), transform .5s var(--ease); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.lb__img.is-in { opacity: 1; transform: none; }
.lb__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: var(--fs-small); color: var(--on-flint-2); }
.lb__count { font: 500 var(--fs-mono)/1 var(--f-mono); letter-spacing: .12em; color: var(--on-flint-3); }
.lb__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--rule-flint-2); background: rgba(26, 30, 35, .7); color: var(--on-flint); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__btn:hover { border-color: var(--on-flint-2); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb__fig { padding: 70px 12px 90px; }
  .lb__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 190px); }
  .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; }
  .lb__prev { left: calc(50% - 56px); } .lb__next { right: calc(50% - 56px); }
}
.lb-open { overflow: hidden; }
