/* ==========================================================================
   Northmark — styles
   Websites, lead systems and business photography for North Texas businesses
   Layout system mirrors the Ayala Photography site; brand follows the Northmark Blueprint v1.0.
   Palette: Navy #0B1F33 · Signal Blue #316BFF · Graphite #171A1F · North White #F7F9FC · White · Slate #667085 · Border #E4E7EC
   Type: Outfit only — 800 hero/logo, 800 section headings, 700 buttons, 400 body
   Shape: buttons + inputs 8px, cards 12px, images 12px. 8px spacing grid.
   ========================================================================== */

/* Self-hosted font (SIL OFL). Outfit variable, latin subset, ~32KB. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-var.woff2") format("woff2-variations"), url("../fonts/outfit-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Brand */
  --navy: #0B1F33;
  --blue: #316BFF;            /* Signal Blue: accents, links, icons, large text */
  --blue-btn: #2B63F5;        /* Signal Blue tuned so white button text passes WCAG AA (5:1) */
  --blue-btn-hover: #1F55E0;
  --blue-ink: #1F55E0;        /* blue for small text on light backgrounds (5.8:1) */
  --blue-on-dark: #7FA3FF;    /* blue for text on navy (6.8:1) */
  --graphite: #171A1F;
  --north: #F7F9FC;
  --white: #FFFFFF;
  --slate: #667085;
  --border: #E4E7EC;

  /* Derived */
  --mist: #EEF2F7;            /* alternate light section */
  --ink: #171A1F;
  --ink-soft: #475467;
  --ink-mute: #667085;
  --blue-soft: #E3EBFF;
  --line: #E4E7EC;
  --line-strong: #D0D5DD;
  --on-dark: #F7F9FC;
  --on-dark-soft: rgba(247, 249, 252, .72);
  --line-dark: rgba(247, 249, 252, .14);
  --error: #B42318;

  /* Type */
  --display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(2.9rem, 1.5rem + 4.6vw, 5.6rem);
  --fs-h2: clamp(2.3rem, 1.3rem + 3.6vw, 4.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + .9vw, 2rem);
  --fs-lede: clamp(1.1rem, 1rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Space + shape */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 6vw + 40px, 144px);
  --r-img: 12px;
  --r-card: 12px;
  --r-btn: 8px;
  --r-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(11,31,51,.05), 0 12px 32px -16px rgba(11,31,51,.18);
  --shadow-lift: 0 1px 2px rgba(11,31,51,.05), 0 24px 48px -24px rgba(11,31,51,.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--north);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Never allow sideways scrolling on phones (clip doesn't break the sticky header) */
html, body { overflow-x: clip; }
body { overflow-wrap: break-word; }
.quote__direct a, .footer__contact a, .work__live { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
em { font-style: normal; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--navy); color: var(--north); padding: 8px 16px; border-radius: var(--r-btn); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.h2 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h2); line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.h2 em, .hero__title em, .cta-band__title em { color: var(--blue); }
.h2--sm { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); }
.h3 { font-family: var(--display); font-weight: 700; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .25em .7em; align-items: center;
}
.eyebrow i { font-style: normal; color: var(--blue); }
.eyebrow--light { color: var(--on-dark-soft); }
.eyebrow--light i { color: var(--blue-on-dark); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-soft); max-width: 36em; }

/* ---------- Buttons & links ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--bh); padding: 0 24px;
  font: 700 1rem/1 var(--sans); letter-spacing: 0;
  text-decoration: none; border-radius: var(--r-btn); border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-btn); color: var(--white); }
.btn--primary:hover { background: var(--blue-btn-hover); box-shadow: 0 8px 20px -12px rgba(49,107,255,.8); }
.btn--dark { background: var(--navy); color: var(--north); }
.btn--dark:hover { background: #16304A; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(11,31,51,.03); }
.btn--light-ghost { background: transparent; color: var(--north); border-color: rgba(247,249,252,.45); }
.btn--light-ghost:hover { border-color: var(--north); background: rgba(247,249,252,.08); }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { --bh: 56px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; color: var(--blue-ink); padding-block: 8px; cursor: pointer;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.link-arrow > span[aria-hidden] { transition: transform .25s var(--ease); display: inline-block; }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover > span[aria-hidden] { transform: translateX(4px); }
.link-arrow--light { color: var(--blue-on-dark); }

/* ---------- Photo frame (real image, with placeholder behind it until the photo is added) ---------- */
.ph {
  --c1: #DCE3EC; --c2: #8C9BAE; --c3: #1C2733; --glow: rgba(255, 244, 226, .75); --gx: 72%; --gy: 20%; --sx: 50%;
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  aspect-ratio: var(--ar, 4/5); max-width: 100%;
  border-radius: var(--r-img);
  background-color: var(--c3);
  background-image:
    radial-gradient(circle at var(--gx) var(--gy), var(--glow), transparent 44%),
    linear-gradient(to bottom, var(--c1) 0%, var(--c2) 52%, var(--c3) 100%);
}
/* soft subject silhouette on placeholders */
.ph.is-empty::before {
  content: ""; position: absolute; z-index: 0; inset: 0;
  background:
    radial-gradient(circle at var(--sx) 44%, rgba(12, 18, 26, .5) 0 7%, transparent 12%),
    radial-gradient(ellipse 22% 42% at var(--sx) 92%, rgba(12, 18, 26, .55) 0 60%, transparent 100%);
  filter: blur(8px);
}
/* grain */
.ph.is-empty::after {
  content: ""; position: absolute; z-index: 0; inset: 0; opacity: .1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph img {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  object-fit: cover; color: transparent; font-size: 0;
  transition: transform 1.1s var(--ease);
}
.ph__note {
  position: absolute; z-index: 1; left: 8px; bottom: 8px; right: 8px;
  display: flex; pointer-events: none;
}
.ph__note span {
  font: 500 .6875rem/1.3 var(--sans); letter-spacing: .03em;
  color: var(--north); background: rgba(11, 31, 51, .66);
  padding: 4px 8px; border-radius: 6px; max-width: 100%;
}
.ph.is-empty { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

/* Tones: natural, warm-neutral, documentary (Blueprint §28) */
.t-site    { --c1: #EADCC6; --c2: #A88B67; --c3: #2B2A26; --glow: rgba(255, 238, 206, .9); --gx: 78%; --gy: 18%; --sx: 42%; }
.t-steel   { --c1: #D9E1EA; --c2: #7C8EA3; --c3: #17212C; --glow: rgba(255, 244, 226, .7); --gx: 20%; --gy: 16%; --sx: 58%; }
.t-navy    { --c1: #3B5474; --c2: #20344D; --c3: #0B1320; --glow: rgba(127, 163, 255, .55); --gx: 30%; --gy: 30%; --sx: 60%; }
.t-sky     { --c1: #C9D9EE; --c2: #6F8FB4; --c3: #1A2636; --glow: rgba(255, 236, 200, .85); --gx: 82%; --gy: 22%; --sx: 45%; }
.t-yard    { --c1: #D8E2CF; --c2: #7F9870; --c3: #1E2B1C; --glow: rgba(255, 234, 190, .75); --gx: 20%; --gy: 14%; --sx: 55%; }
.t-shop    { --c1: #E4D7C9; --c2: #9A7A62; --c3: #262229; --glow: rgba(244, 206, 140, .55); --gx: 15%; --gy: 30%; --sx: 55%; }
.t-dusk    { --c1: #2F4466; --c2: #A9745C; --c3: #151B27; --glow: rgba(255, 200, 150, .8); --gx: 30%; --gy: 58%; --sx: 60%; }

@media (hover: hover) {
  a:hover .ph img, .photo-strip .ph:hover img { transform: scale(1.03); }
}

/* Entrance: scroll-driven where supported, fully visible otherwise */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .service, .price-card, .step, .reason, .qa, .stage, .care__plan {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes rise { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   1. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 249, 252, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.brand--light { color: var(--north); }

.nav { margin-inline: auto; display: none; }
.nav__links { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 40px); }
.nav__links a { text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--ink-soft); padding-block: 8px; position: relative; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--navy); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { display: none; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-mute); }
.lang a { text-decoration: none; color: var(--ink-mute); padding: 6px 2px; }
.lang a[aria-current="true"] { color: var(--navy); }
.lang a:hover { color: var(--navy); }
.header-cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--navy);
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: absolute; inset: var(--header-h) 0 auto 0;
  background: var(--north); border-top: 1px solid var(--line);
  padding: 8px var(--gutter) 32px;
  box-shadow: 0 24px 40px -24px rgba(11,31,51,.3);
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.mobile-menu ul { list-style: none; margin-bottom: 24px; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu nav a { display: block; padding: 16px 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: 1.75rem; line-height: 1.1; text-decoration: none; color: var(--navy); }
.mobile-menu__meta { margin-top: 16px; text-align: center; font-size: .9375rem; color: var(--ink-mute); }
.mobile-menu__meta a { color: var(--ink-soft); padding: 8px; }
.mobile-menu__meta a[aria-current="true"] { color: var(--navy); font-weight: 600; }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav { display: block; }
  .lang { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ==========================================================================
   2. Hero
   ========================================================================== */
.hero { padding-block: 8px clamp(64px, 6vw, 96px); }
.hero__grid { display: grid; gap: 40px; }
.hero__media { position: relative; order: -1; margin-inline: calc(var(--gutter) * -1); }
.hero__main { aspect-ratio: auto; height: min(52svh, 520px); border-radius: 0; }
.hero__caption { display: none; }
.hero__copy { display: grid; gap: 24px; align-content: center; padding-top: 16px; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: var(--fs-hero); line-height: .98; letter-spacing: -.035em; color: var(--navy); }
.hero__lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); max-width: 32em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-small); color: var(--ink-mute); letter-spacing: .01em; }
.hero__meta strong { color: var(--navy); font-weight: 600; }
.hero .btn-row { margin-top: 0; }

/* Lead card: an illustration of what happens after someone fills out the form */
.lead-card {
  position: absolute; right: var(--gutter); bottom: -40px; z-index: 3;
  width: min(300px, 78%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-lift); padding: 16px;
  display: grid; gap: 8px; font-size: .875rem;
}
.lead-card__top { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.lead-card__top .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); flex: none; }
.lead-card__top small { margin-left: auto; font-weight: 500; font-size: .75rem; color: var(--ink-mute); }
.lead-card__job { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lead-card ul { list-style: none; display: grid; gap: 6px; color: var(--ink-soft); }
.lead-card li { display: flex; gap: 8px; align-items: center; }
.lead-card li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.lead-card li.done::before {
  border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.lead-card li.done { color: var(--ink); }

@media (max-width: 479px) {
  .hero .btn-row .btn { flex: 1 1 100%; }
  .lead-card { font-size: .8125rem; padding: 12px; width: 82%; }
  .lead-card__job { font-size: 1rem; }
}
@media (min-width: 640px) {
  .hero__media { margin-inline: 0; }
  .hero__main { border-radius: var(--r-img); height: min(60svh, 600px); }
  .lead-card { right: -8px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 16px; }
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
  .hero__media { order: 0; }
  .hero__main { height: clamp(540px, calc(100svh - var(--header-h) - 64px), 820px); }
  .lead-card { right: auto; left: -40px; bottom: 8%; width: 290px; }
  .hero__caption { display: block; position: absolute; right: 0; bottom: -32px; font-size: .75rem; letter-spacing: .06em; color: var(--ink-mute); }
  .hero__caption span { color: var(--navy); font-weight: 600; }
  .hero__copy { padding-block: 24px; }
}

/* ==========================================================================
   3. Who we serve strip
   ========================================================================== */
.strip { border-block: 1px solid var(--line); background: var(--white); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; padding-block: 24px; }
.strip__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.strip__label span { display: block; margin-top: 4px; font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: .875rem; color: var(--ink-mute); }
.strip__list { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem); color: var(--ink-soft); max-width: 60em; }
.strip__list i { font-style: normal; color: var(--blue); padding-inline: .2em; }
.strip__list span { font-family: var(--sans); font-size: var(--fs-small); color: var(--ink-mute); margin-left: .4em; white-space: nowrap; }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 4vw, 64px); max-width: 800px; }
.section-head__copy { color: var(--ink-soft); max-width: 34em; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow { justify-content: center; }
@media (min-width: 900px) {
  .section-head--split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 48px; }
  .section-head--split .section-head__copy { padding-bottom: 8px; }
}
.section-foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; margin-top: clamp(32px, 3vw, 48px); }

/* ==========================================================================
   4. Services
   ========================================================================== */
.services { background: var(--north); }
.service-grid { list-style: none; display: grid; gap: 40px 24px; grid-template-columns: 1fr; }
.service__link { display: grid; gap: 16px; text-decoration: none; color: inherit; border-radius: var(--r-img); height: 100%; align-content: start; }
.service .ph { aspect-ratio: 3/2; }
.service__body { display: grid; gap: 8px; }
.service__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.service__title { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.25rem); line-height: 1.05; color: var(--navy); }
.service__body p { color: var(--ink-soft); font-size: 1rem; max-width: 30em; }
.service__list { list-style: none; display: grid; gap: 4px; margin-top: 4px; font-size: .9375rem; color: var(--ink-soft); }
.service__list li { position: relative; padding-left: 20px; }
.service__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.service__cta { font-size: 1rem; font-weight: 700; color: var(--blue-ink); margin-top: 8px; display: inline-flex; gap: .4em; }
.service__cta span { transition: transform .25s var(--ease); }
.service__link:hover .service__cta span { transform: translateX(4px); }

@media (min-width: 640px) and (max-width: 1023px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service .ph { aspect-ratio: 4/5; }
  .service:last-child { grid-column: 1 / -1; }
  .service:last-child .ph { aspect-ratio: 16/9; }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; padding-bottom: 48px; }
  .service .ph { aspect-ratio: 4/5; }
  /* editorial stagger on the middle column, as on Ayala */
  .service:nth-child(3n+2) { transform: translateY(48px); }
}

/* ==========================================================================
   5. The problem (mirrors Ayala's "experience" block)
   ========================================================================== */
.problem { background: var(--white); }
.problem__grid { display: grid; gap: 40px; align-items: center; }
.problem__media { position: relative; }
.problem__tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--white); color: var(--navy); padding: 8px 12px; border-radius: var(--r-btn);
}
.problem__copy { display: grid; gap: 24px; align-content: center; }
.points { display: grid; gap: 0; margin: 8px 0; border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.point dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.point dd { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
@media (max-width: 479px) { .point { grid-template-columns: 1fr; gap: 4px; } }
@media (min-width: 900px) {
  .problem__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); }
}

/* ==========================================================================
   6. The Northmark system (controlled dark section, like Ayala's events)
   ========================================================================== */
.system { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
/* faint coordinate grid (Blueprint §30: secondary graphic device) */
.system::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(247,249,252,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,249,252,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.system .h2 { color: var(--north); }
.system .h2 em { color: var(--blue-on-dark); }
.system .section-head__copy { color: var(--on-dark-soft); }
.route { list-style: none; display: grid; gap: 0; position: relative; counter-reset: stage; }
.stage { position: relative; display: grid; gap: 8px; padding: 0 0 40px 48px; }
/* the route line + waypoints */
.stage::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: -4px; width: 2px; background: linear-gradient(var(--line-dark), var(--line-dark)); }
.stage:last-child::before { display: none; }
.stage__dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--blue-on-dark); background: var(--navy); display: grid; place-items: center; }
.stage__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.stage:last-child .stage__dot { background: var(--blue); border-color: var(--blue); }
.stage:last-child .stage__dot::after { background: var(--white); }
.stage__num { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-on-dark); }
.stage__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.025em; line-height: 1.05; color: var(--north); }
.stage p { color: var(--on-dark-soft); font-size: 1rem; max-width: 26em; }
.stage__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.stage__tools li { font-size: .8125rem; font-weight: 500; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: var(--r-btn); padding: 4px 8px; }
.system__foot { margin-top: clamp(24px, 3vw, 48px); padding-top: 32px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.system__foot p { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); letter-spacing: -.015em; line-height: 1.3; max-width: 30em; }
.system :focus-visible { outline-color: var(--blue-on-dark); }
@media (min-width: 1024px) {
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .stage { padding: 48px 0 0; }
  .stage::before { left: 28px; right: -32px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .stage__dot { top: 0; }
}

/* ==========================================================================
   7. Work / case study
   ========================================================================== */
.work__grid { display: grid; gap: 48px; }
.work__media { position: relative; padding-bottom: 32px; }
.browser { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong); background: var(--white); box-shadow: var(--shadow-soft); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--mist); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.browser__bar span { margin-left: 8px; font-size: .75rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .ph { border-radius: 0; }
.phone {
  position: absolute; right: 16px; bottom: 0; width: 26%; max-width: 200px; min-width: 104px;
  border-radius: 24px; padding: 6px; background: var(--graphite); box-shadow: var(--shadow-lift);
}
.phone .ph { border-radius: 18px; }
.work__copy { display: grid; gap: 24px; align-content: start; }
.work__client { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.work__client strong { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.025em; color: var(--navy); line-height: 1.1; }
.work__client span { font-size: .875rem; color: var(--ink-mute); }
.casefile { display: grid; gap: 0; border-top: 1px solid var(--line); }
.casefile > div { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.casefile dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); padding-top: 4px; }
.casefile dd { margin: 0; color: var(--ink-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .875rem; font-weight: 500; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 4px 12px; }
.work__actions { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; }
.work__note { font-size: var(--fs-small); color: var(--ink-mute); }
@media (max-width: 479px) { .casefile > div { grid-template-columns: 1fr; gap: 4px; } }
@media (min-width: 1024px) {
  .work__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .phone { right: -24px; }
}

/* ==========================================================================
   8. Business photography (one photo + copy)
   ========================================================================== */
.photos-sec { padding-top: 0; }
.photos-split { display: grid; gap: 32px; align-items: center; }
.photos-split__copy { display: grid; gap: 16px; align-content: center; }
@media (min-width: 900px) { .photos-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }

/* ==========================================================================
   9. Why Northmark
   ========================================================================== */
.why { background: var(--white); }
.reasons { list-style: none; display: grid; gap: 16px; }
.reason { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--north); }
.reason__icon { width: 40px; height: 40px; border-radius: var(--r-btn); display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--blue); margin-bottom: 8px; }
.reason__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; color: var(--navy); }
.reason p { color: var(--ink-soft); font-size: 1rem; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .reason { padding: 32px; } }

/* ==========================================================================
   10. Process
   ========================================================================== */
.steps { list-style: none; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 4px 16px; padding-block: 24px; border-top: 1px solid var(--line-strong); }
.step__num { grid-row: span 2; font-family: var(--display); font-weight: 800; letter-spacing: -.04em; font-size: 2.75rem; line-height: .9; color: var(--blue); font-variant-numeric: lining-nums; }
.step__title { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--navy); }
.step p { color: var(--ink-soft); font-size: 1rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; position: relative; }
  .step__num { grid-row: auto; font-size: clamp(3.5rem, 2.6rem + 2.2vw, 5rem); }
  .step::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
}

/* ==========================================================================
   11. Pricing
   ========================================================================== */
.pricing { background: var(--mist); }
.price-grid { display: grid; gap: 24px; align-items: stretch; max-width: 1200px; margin-inline: auto; }
.price-card {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-strong); border-radius: var(--r-card);
  background: var(--north);
}
.price-card--featured { background: var(--white); border-color: var(--blue); box-shadow: var(--shadow-lift); }
.badge {
  position: absolute; top: 0; left: clamp(24px, 3vw, 40px); transform: translateY(-50%);
  background: var(--navy); color: var(--north);
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 12px; border-radius: var(--r-btn);
}
.badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-on-dark); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
.price-card__head { display: grid; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price-card__name { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.price-card__from { font-size: .875rem; color: var(--ink-mute); margin-bottom: -4px; }
.price-card__price { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; font-size: clamp(3.25rem, 2.6rem + 2.4vw, 4.5rem); line-height: .95; font-variant-numeric: lining-nums tabular-nums; color: var(--navy); }
.price-card__price .cur { font-size: .45em; vertical-align: .9em; margin-right: .04em; color: var(--ink-soft); }
.price-card__fit { font-size: 1rem; font-weight: 500; color: var(--ink); }
.checklist { list-style: none; display: grid; gap: 12px; font-size: .9375rem; color: var(--ink-soft); flex: 1; }
.checklist li { position: relative; padding-left: 24px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.checklist li.plus { color: var(--navy); font-weight: 500; }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-card--featured { margin-block: -16px; padding-block: calc(clamp(24px, 3vw, 40px) + 16px); }
}
@media (max-width: 899px) {
  .price-card--featured { order: -1; margin-bottom: 8px; }
  .price-grid { gap: 32px; }
}
.pricing__fine { text-align: center; font-size: var(--fs-small); color: var(--ink-soft); margin-top: 32px; }

/* Care plans (mirrors Ayala's event rate list) */
.care { max-width: 1200px; margin: clamp(48px, 5vw, 80px) auto 0; padding-top: 32px; border-top: 1px solid var(--line-strong); display: grid; gap: 24px; }
.care__intro { display: grid; gap: 8px; align-content: start; }
.care__title { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; color: var(--navy); }
.care__intro p { color: var(--ink-soft); }
.care__plans { display: grid; gap: 16px; }
.care__plan { display: grid; gap: 8px; padding: 24px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.care__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.care__name { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.care__price { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; font-size: 2.25rem; line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.care__price small { font-size: .9375rem; letter-spacing: 0; font-weight: 500; color: var(--ink-mute); margin-left: 2px; }
.care__plan p { font-size: .9375rem; color: var(--ink-soft); }
@media (min-width: 640px) { .care__plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .care { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; } }

/* ==========================================================================
   12. Founding client program (replaces testimonials until real ones exist)
   ========================================================================== */
.founding__card {
  display: grid; gap: 40px; padding: clamp(24px, 5vw, 64px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  position: relative; overflow: hidden; isolation: isolate;
}
.founding__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.founding__copy { display: grid; gap: 16px; align-content: start; }
.founding__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 8px; }
.founding__price strong { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.founding__price span { font-size: .9375rem; color: var(--ink-mute); }
.founding__spots { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); background: var(--blue-soft); border-radius: var(--r-btn); padding: 8px 12px; }
.founding__lists { display: grid; gap: 32px; }
.founding__lists h3 { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.founding .btn { justify-self: start; }
@media (max-width: 479px) { .founding .btn { justify-self: stretch; } }
@media (min-width: 640px) { .founding__lists { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .founding__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); } }

/* ==========================================================================
   13. About
   ========================================================================== */
.about { background: var(--white); }
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__copy { display: grid; gap: 24px; align-content: center; max-width: 560px; }
.prose { display: grid; gap: 1em; color: var(--ink-soft); }
.prose .pull { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); line-height: 1.25; color: var(--navy); }
.more-about > summary { list-style: none; width: fit-content; }
.more-about > summary::-webkit-details-marker { display: none; }
.more-about[open] > summary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.more-about__body { margin-top: 24px; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); }
}

/* ==========================================================================
   14. CTA band
   ========================================================================== */
.cta-band { position: relative; isolation: isolate; color: var(--on-dark); overflow: hidden; background: var(--navy); }
.cta-band__bg { position: absolute !important; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -1; height: 100%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,51,.55), rgba(11,31,51,.85)); }
.cta-band__inner { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: clamp(96px, 12vw, 176px); }
.cta-band__title { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(2.6rem, 1.4rem + 4.8vw, 6rem); line-height: .98; max-width: 14ch; color: var(--north); }
.cta-band__title em { color: var(--blue-on-dark); }
.cta-band__body { color: rgba(247,249,252,.86); max-width: 32em; font-size: var(--fs-lede); }
.cta-band .ph__note { top: 12px; bottom: auto; left: auto; right: 12px; justify-content: flex-end; }
.cta-band :focus-visible { outline-color: var(--blue-on-dark); }
@media (max-width: 479px) { .cta-band .btn-row .btn { flex: 1 1 100%; } }

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: 32px; }
.faq__head { display: grid; gap: 16px; align-content: start; }
.accordion { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.3; color: var(--navy);
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: var(--r-btn); border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2px 12px no-repeat;
  transition: transform .25s var(--ease), background-color .25s;
}
.qa[open] > summary::after { transform: rotate(45deg); background-color: var(--blue-soft); border-color: transparent; }
.qa > summary:hover::after { border-color: var(--navy); }
.qa__a { padding: 0 56px 24px 0; color: var(--ink-soft); max-width: 40em; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ==========================================================================
   16. Quote form
   ========================================================================== */
.quote { background: var(--mist); }
.quote__grid { display: grid; gap: 40px; }
.quote__intro { display: grid; gap: 24px; align-content: start; }
.quote__facts { list-style: none; display: grid; gap: 8px; margin-top: 8px; font-size: .9375rem; color: var(--ink-soft); }
.quote__facts li { position: relative; padding-left: 16px; }
.quote__facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.quote__facts strong { color: var(--navy); font-weight: 600; }
.quote__direct { font-size: .9375rem; color: var(--ink-soft); line-height: 1.7; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.quote__direct a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.quote__direct a:hover { color: var(--blue-ink); }

.form-card { background: var(--white); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: clamp(24px, 4vw, 48px); }
.form { display: grid; gap: 24px; }
.field-row { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .check { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.req { color: var(--blue-ink); }
.opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--north); border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #8A94A6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #98A2B3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(49,107,255,.25); }
.field [aria-invalid="true"] { border-color: var(--error); background: #FEF3F2; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.2); }
.field__error { font-size: .8125rem; color: var(--error); font-weight: 500; display: flex; gap: 8px; }
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: var(--white); font-size: .6875rem; font-weight: 700; display: grid; place-items: center; transform: translateY(2px); }
.form__error-summary { background: #FEF3F2; border: 1px solid rgba(180,35,24,.35); color: var(--error); border-radius: var(--r-btn); padding: 12px 16px; font-size: .9375rem; font-weight: 500; }
.form__error-summary:focus { outline: none; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500; line-height: 1.45; padding: 4px 0; }
.check input {
  flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 6px;
  -webkit-appearance: none; appearance: none; background: var(--north); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s var(--ease); }
.check input:checked { background: var(--blue-btn); border-color: var(--blue-btn); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check__es { display: block; color: var(--ink-mute); font-weight: 400; font-size: .8125rem; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form__assure { text-align: center; font-size: var(--fs-small); color: var(--ink-mute); margin-top: -8px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: grid; gap: 16px; padding-block: 24px; }
.form-success:focus { outline: none; }
.form-success .h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 800; }
.form-success p:not(.eyebrow) { color: var(--ink-soft); }

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); }
}

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-dark-soft); padding-block: clamp(64px, 7vw, 112px) 32px; font-size: .9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--blue-on-dark); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: grid; gap: 16px; justify-items: start; align-content: start; max-width: 340px; }
.footer__brand .brand__name { font-size: 1.625rem; }
.footer__tagline { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--on-dark); }
.footer__brand .btn { color: var(--white); margin-top: 8px; }
.footer__brand .btn:hover { color: var(--white); }
.footer__contact { line-height: 1.8; }
.footer__h { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.footer__h--gap { margin-top: 24px; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__small { font-size: .8125rem; margin-top: 8px; }
.lang--footer { display: flex; gap: 8px; color: var(--on-dark-soft); }
.site-footer .lang--footer a { color: var(--on-dark-soft); padding: 0; }
.site-footer .lang--footer a[aria-current="true"] { color: var(--on-dark); font-weight: 600; }
.site-footer .lang--footer a:hover { color: var(--blue-on-dark); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .8125rem; }
.site-footer :focus-visible { outline-color: var(--blue-on-dark); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; } }

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(247,249,252,.97); border-top: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(32px + 72px); } }

/* ==========================================================================
   Simple pages (privacy, 404)
   ========================================================================== */
.page { max-width: 760px; display: grid; gap: 24px; }
.page .prose a { color: var(--blue-ink); }

/* ==========================================================================
   First-load motion (same approach as Ayala)
   - Starts once the font is ready (html.is-ready), so text never re-wraps mid-animation.
   - Transform + opacity only; ends exactly at the natural layout.
   - Skipped for reduced motion; content is always visible without JS.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.is-ready) .site-header,
  html.js:not(.is-ready) .hero__copy > *,
  html.js:not(.is-ready) .hero__main,
  html.js:not(.is-ready) .lead-card,
  html.js:not(.is-ready) .hero__caption,
  html.js:not(.is-ready) .strip__inner { opacity: 0; }

  html.is-ready .site-header { animation: load-fade .5s ease-out both; }
  html.is-ready .hero__copy > * { animation: load-up .6s var(--ease) both; }
  html.is-ready .hero__copy > :nth-child(2) { animation-delay: .06s; }
  html.is-ready .hero__copy > :nth-child(3) { animation-delay: .12s; }
  html.is-ready .hero__copy > :nth-child(4) { animation-delay: .18s; }
  html.is-ready .hero__copy > :nth-child(5) { animation-delay: .24s; }
  html.is-ready .hero__main { animation: load-photo .9s var(--ease) both; }
  html.is-ready .hero__main > img { animation: load-zoom 1.3s var(--ease) both, drift 20s 1.3s ease-in-out infinite alternate; }
  html.is-ready .lead-card { animation: load-up .6s .45s var(--ease) both; }
  html.is-ready .lead-card li.done { animation: load-fade .3s ease-out both; }
  html.is-ready .lead-card li.done:nth-child(1) { animation-delay: .9s; }
  html.is-ready .lead-card li.done:nth-child(2) { animation-delay: 1.15s; }
  html.is-ready .hero__caption,
  html.is-ready .strip__inner { animation: load-fade .5s .55s ease-out both; }
}
@keyframes load-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes load-up   { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes load-photo{ from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes load-zoom { from { transform: scale(1.06); } to { transform: scale(1.02); } }
@keyframes drift     { from { transform: scale(1.02); } to { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ph img { transition: none; }
}
@media (max-width: 419px) { .simple-cta { display: none; } }

/* ==========================================================================
   Reviews (real Google reviews, same pattern as Ayala)
   ========================================================================== */
.testimonials { background: var(--white); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9375rem; color: var(--ink-soft); }
.rating__stars { color: var(--blue); letter-spacing: .12em; font-size: 1rem; }
.rating strong { color: var(--navy); font-weight: 700; }
.reviews { display: grid; gap: 24px; }
.review { margin: 0; display: grid; gap: 16px; align-content: start; padding: 24px 0 0; border-top: 1px solid var(--line-strong); }
.review blockquote { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; color: var(--navy); }
.review figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-small); }
.review__name { font-weight: 600; color: var(--navy); }
.review__type { color: var(--ink-mute); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
@media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .review { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; } } }

/* ==========================================================================
   Work: featured demo + secondary case study
   ========================================================================== */
.work-feature { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r-card); padding: clamp(20px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.work-feature__badge { margin-bottom: -8px; }
.browser--link { display: block; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.browser--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.work-case { margin-top: clamp(56px, 7vw, 96px); }
.work-case .work__client strong { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.work__foot { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.work__foot p { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.015em; color: var(--navy); }
@media (min-width: 1024px) {
  .work__grid--alt { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .work__grid--alt .work__media { order: 2; }
  .work__grid--alt .phone { right: -16px; max-width: 170px; }
  .work-feature .phone { right: -40px; }
}
@media (max-width: 479px) { .work__actions .btn { flex: 1 1 100%; } .work__foot .btn { flex: 1 1 100%; } }
