/* Inter, Latin subset, served from baywell.tech */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Baywell Tech — shared styles */

:root {
  --bg: #fbfbfd;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #0071e3;
  --accent-hover: #0a7df0;
  --accent-ink: #0062c4;
  --night: #0b0b0d;
  --night-2: #161618;
  --on-night: #f5f5f7;
  --on-night-2: #a1a1a6;
  --bay: #0c3b5c;
  --nav-bg: rgba(251, 251, 253, 0.8);
  --nav-bg-solid: #fbfbfd;
  --hover: rgba(0, 0, 0, 0.05);
  --mock-bg: #fff;
  --mock-line: rgba(0, 0, 0, 0.06);
  --field-bg: #fff;
  --icon-bg: #fff;
  --notes-a: #e4e4ea;
  --notes-b: #d9d9e0;
  --note-bg: rgba(255, 255, 255, 0.82);
  --tile-shadow: rgba(0, 0, 0, 0.28);
  --night-edge: transparent;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1080px;
  --gutter: 22px;
  --nav-h: 56px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --surface: #1c1c1e;
    --surface-2: #2c2c2f;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #86868b;
    --line: rgba(255, 255, 255, 0.14);
    --accent-ink: #2997ff;
    --night: #101012;
    --night-2: #0a0a0b;
    --nav-bg: rgba(0, 0, 0, 0.72);
    --nav-bg-solid: #000;
    --hover: rgba(255, 255, 255, 0.09);
    --mock-bg: #2c2c2f;
    --mock-line: rgba(255, 255, 255, 0.08);
    --field-bg: #2c2c2f;
    --icon-bg: #2c2c2f;
    --notes-a: #34343a;
    --notes-b: #28282d;
    --note-bg: rgba(72, 72, 78, 0.78);
    --tile-shadow: rgba(0, 0, 0, 0.7);
    --night-edge: rgba(255, 255, 255, 0.09);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  transition: top 160ms var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); background: var(--hover); }
}
.nav__links .nav__cta {
  margin-left: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  padding: 0 16px;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links .nav__cta:hover { background: var(--accent-hover); color: #fff; }
}
.nav__links .nav__cta:active { transform: scale(0.97); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.nav__toggle span,
.nav__toggle span::before {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms var(--ease-out);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { content: ""; position: absolute; top: 6px; }
.nav__toggle span { transform: translateY(-3px); }
.nav__toggle[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--nav-bg-solid);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform-origin: top;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav__links a {
    min-height: 52px;
    font-size: 1.0625rem;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links .nav__cta {
    margin: 16px 0 0;
    justify-content: center;
    border-radius: 999px;
    border: 0;
  }
}

/* Right-hand nav cluster (mobile menu button) */
.nav__right { display: flex; align-items: center; gap: 2px; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); }
}
.btn--ghost {
  background: transparent;
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: var(--accent); color: #fff; }
}
.btn--light { background: #fff; color: #1d1d1f; }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #e8e8ed; }
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-ink);
  font-size: 1.0625rem;
}
.arrow-link svg {
  width: 14px;
  height: 14px;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .arrow-link:hover svg, .tile:hover .arrow-link svg { transform: translateX(3px); }
}
.on-night .arrow-link { color: #5eb1ff; }

/* ---------- Layout primitives ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--surface { background: var(--surface); }
.section--night { background: var(--night); color: var(--on-night); }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.on-night .eyebrow, .section--night .eyebrow { color: #5eb1ff; }

.h-xl {
  font-size: clamp(2.5rem, 7.2vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h-lg {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h-md {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.lead {
  font-size: clamp(1.1875rem, 2vw, 1.4375rem);
  line-height: 1.4;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.section--night .lead { color: var(--on-night-2); }
.center { text-align: center; }
.center .lead, .center .h-xl, .center .h-lg { margin-inline: auto; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 11vw, 144px) clamp(56px, 8vw, 104px);
  text-align: center;
}
.hero > .wrap { position: relative; }
.hero .eyebrow { margin: 28px 0 0; }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .lead { max-width: 36ch; margin: 16px auto 0; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Statement ---------- */

.statement {
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 22ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
}


/* ---------- Service rows ---------- */

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 16px; max-width: 40ch; }
.section-head.center .lead { margin-inline: auto; }

.rows { border-bottom: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  isolation: isolate;
}
.row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}
.row:nth-child(even)::before { transform-origin: right; }

.row__n {
  display: block;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.row__name {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.row__tag {
  margin-top: 20px;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
}
.row__desc { margin-top: 10px; max-width: 34ch; color: var(--ink-2); }
.row .arrow-link { margin-top: 24px; }
.row .arrow-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.row .arrow-link:focus-visible { outline: none; }
.row:has(.arrow-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
  .row:hover .arrow-link svg { transform: translateX(3px); }
}

/* Zigzag: even rows put the stage on the left */
@media (min-width: 761px) {
  .row:nth-child(even) .row__text { order: 2; }
}

.row .stage {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(360px, 36vw, 440px);
  padding: 36px 36px 0;
}
.row .stage--night { box-shadow: inset 0 0 0 1px var(--night-edge); }

.tile__visual { position: relative; width: 100%; max-width: 440px; margin-inline: auto; pointer-events: none; }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 32px; }
  .row .stage { min-height: 320px; padding: 28px 22px 0; }
}

/* Mini UI: browser */
.mini-browser {
  background: var(--mock-bg);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px var(--mock-line), 0 24px 40px -20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-inline: 4px;
}
.mini-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--mock-line);
}
.mini-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); }
.mini-browser__url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 0.6875rem;
  line-height: 22px;
  padding-inline: 10px;
  color: var(--ink-3);
}
.mini-browser__body { padding: 22px 20px 0; }
.mini-browser__h { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; max-width: 14ch; }
.mini-browser__p { margin-top: 8px; height: 6px; width: 70%; border-radius: 3px; background: var(--line); }
.mini-browser__p + .mini-browser__p { width: 52%; margin-top: 6px; }
.mini-browser__btn { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 500; }
.mini-browser__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.mini-browser__row b { height: 64px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, var(--surface), var(--line)); }

/* Mini UI: search */
.mini-search {
  margin-inline: 4px;
  padding: 18px;
  border-radius: 18px 18px 0 0;
  background: #26262a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.mini-search__q {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-inline: 14px;
  border-radius: 999px;
  background: #3a3a3f;
  color: #e8e8ed;
  font-size: 0.8125rem;
}
.mini-search__q svg { width: 14px; height: 14px; opacity: 0.7; flex: none; }
.mini-search__list { margin-top: 14px; display: grid; gap: 10px; }
.mini-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8125rem;
  color: #c7c7cc;
}
.mini-search__item .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.6875rem; font-weight: 600; background: rgba(255, 255, 255, 0.12); flex: none; font-variant-numeric: tabular-nums; }
.mini-search__item small { display: block; color: #8e8e93; font-size: 0.6875rem; }
.mini-search__item.is-you { background: rgba(0, 113, 227, 0.22); color: #fff; box-shadow: inset 0 0 0 1px rgba(94, 177, 255, 0.45); }
.mini-search__item.is-you .n { background: var(--accent); }
.mini-search__item.is-you small { color: #a9d4ff; }

/* Mini UI: chat */
.mini-chat { margin-inline: 4px; padding: 20px 18px 0; display: grid; gap: 8px; border-radius: 18px 18px 0 0; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.3;
}
.bubble--in { background: rgba(255, 255, 255, 0.16); color: #fff; border-bottom-left-radius: 6px; }
.bubble--out { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.mini-chat__meta { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.55); padding-inline: 6px; }
.mini-chat__meta.r { justify-self: end; }
.mini-chat > :last-child { margin-bottom: 0; }
.mini-chat__pad { height: 36px; }

/* Mini UI: phone notifications */
.mini-notes { margin-inline: 4px; padding: 20px 18px 0; display: grid; gap: 10px; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, var(--notes-a), var(--notes-b)); }
.note {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--note-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 0.8125rem;
  line-height: 1.25;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.25);
}
.note__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #34c759; color: #fff; }
.note__ic svg { width: 18px; height: 18px; }
.note__ic--blue { background: var(--accent); }
.note__ic--red { background: #ff453a; }
.note b { display: block; font-weight: 600; color: var(--ink); }
.note span { color: var(--ink-3); }
.note time { font-size: 0.6875rem; color: var(--ink-3); align-self: start; }
.mini-notes__pad { height: 28px; }

/* Mini UI: AI search discovery */
.mini-ai { padding: 22px; border: 1px solid var(--line); border-radius: 20px 20px 0 0; background: var(--bg); color: var(--ink); box-shadow: 0 12px 40px -24px rgba(0,0,0,.2); }
.mini-ai__head { display: flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 600; }
.mini-ai__head svg { width: 22px; height: 22px; color: var(--accent-ink); }
.mini-ai__apps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mini-ai__apps span { padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .6875rem; }
.mini-ai__query { position: relative; margin: 22px 0 20px 16px; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--surface); font-size: .875rem; line-height: 1.45; }
.mini-ai__query::after { content: ""; position: absolute; right: -6px; bottom: 0; width: 10px; height: 14px; background: var(--surface); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.mini-ai__answer { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.mini-ai__answer > p { margin-bottom: 12px; }
.mini-ai__reply { position: relative; width: fit-content; margin-left: 6px; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); }
.mini-ai__reply::before { content: ""; position: absolute; left: -6px; bottom: 0; width: 10px; height: 14px; background: var(--surface); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.mini-ai__result { position: relative; padding: 14px; border: 1px solid var(--accent); border-radius: 14px; background: var(--surface); }
.mini-ai__result b { display: block; color: var(--accent-ink); font-size: 1rem; margin-bottom: 4px; }
.mini-ai__source { display: block; margin-top: 10px; font-size: .6875rem; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .js .live .mini-ai__query, .js .live .mini-ai__answer, .js .live .mini-ai__result { animation: ai-answer-arrive 500ms var(--ease-out) both; animation-play-state: var(--motion-play, paused); }
  .js .live .mini-ai__query { animation-delay: 600ms; }
  .js .live .mini-ai__answer { animation-delay: 950ms; }
  .js .live .mini-ai__result { animation-delay: 1250ms; }
  @keyframes ai-answer-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}


/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.step__n {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
.section--night .step p { color: var(--on-night-2); }
.section--night .step__n { color: #5eb1ff; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */

.local {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.local p { color: var(--ink-2); margin-top: 18px; max-width: 42ch; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 1rem;
  color: var(--ink);
}
.areas li:first-child { background: var(--ink); color: var(--bg); }
.areas__note { margin-top: 18px; font-size: 0.9375rem; color: var(--ink-3); }
@media (max-width: 760px) { .local { grid-template-columns: 1fr; } }

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

.cta {
  text-align: center;
  background: var(--night);
  color: var(--on-night);
  border-radius: 32px;
  padding: clamp(56px, 9vw, 112px) var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--night-edge);
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 100%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(0, 113, 227, 0.5), transparent 70%);
  z-index: -1;
}
.cta .lead { color: var(--on-night-2); margin: 18px auto 0; max-width: 34ch; }
.cta .btn { margin-top: 34px; }
.cta__sub { margin-top: 16px; font-size: 0.9375rem; color: var(--on-night-2); }

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

.footer { background: var(--surface); padding-block: 56px 36px; font-size: 0.8125rem; color: var(--ink-3); margin-top: clamp(72px, 10vw, 128px); }
.footer--flush { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer h4 { font-size: 0.75rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer li + li { margin-top: 2px; }
.footer a { display: inline-block; padding-block: 4px; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--ink); text-decoration: underline; } }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer__about { max-width: 28ch; line-height: 1.45; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Service / inner pages ---------- */

.page-hero { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); text-align: center; }
.page-hero h1 { max-width: 16ch; margin-inline: auto; }
.page-hero .lead { max-width: 38ch; margin: 22px auto 0; }
.page-hero .hero__actions { margin-top: 32px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 28px 32px;
}
.feature__ic {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--icon-bg); color: var(--accent-ink);
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature { padding: 24px; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split p { color: var(--ink-2); margin-top: 18px; }
.split .tile__visual { padding-top: 0; }
.stage {
  border-radius: 28px;
  background: var(--surface);
  padding: 36px 32px 0;
  overflow: hidden;
  pointer-events: none;
}
.stage--night { background: var(--night-2); }
.stage--bay { background: linear-gradient(160deg, #0f4a73 0%, #0c3b5c 55%, #09283f 100%); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--flip .stage { order: -1; } }

.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink); line-height: 1.4; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.faq { max-width: 720px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 14px;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--ink-3);
  transition: transform 240ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 32px 22px 0; color: var(--ink-2); }

/* About */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--surface); border-radius: 24px; padding: 32px; }
.value h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.value p { color: var(--ink-2); }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } .value { padding: 24px; } }
.prose { max-width: 640px; margin-inline: auto; }
.prose p { color: var(--ink-2); font-size: 1.1875rem; line-height: 1.5; }
.prose p + p { margin-top: 20px; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__info li + li { margin-top: 22px; }
.contact__info b { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
.contact__info a, .contact__info span { font-size: 1.1875rem; }
@media (hover: hover) and (pointer: fine) { .contact__info a:hover { color: var(--accent-ink); } }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.form .btn { justify-self: start; }
.form__note { font-size: 0.8125rem; color: var(--ink-3); }
.form__status { font-size: 0.9375rem; color: var(--ink-2); }

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

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav__links, .arrow-link svg { transition-duration: 0.01ms; }
}

/* ---------- Motion ---------- */



/* Statement scrub: words light up as you scroll */
.statement .sw { color: var(--on-night); opacity: 0.32; transition: opacity 240ms var(--ease-out); }
.statement .sw.on { opacity: 1; }

.hero > .wrap { will-change: transform, opacity; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero headline: words rise out of a mask */
  .js .hero h1 .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.14em;
    margin-bottom: -0.14em;
  }
  .js .hero h1 .w > span {
    display: inline-block;
    transform: translateY(110%);
    animation: rise 900ms var(--ease-out) forwards;
    animation-delay: calc(100ms + var(--w) * 80ms);
  }
  @keyframes rise { to { transform: none; } }

  /* Tile visuals play once when scrolled into view */
  .js .tile__visual { transition: transform 420ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .row:hover .tile__visual { transform: translateY(-8px); }
  }

  .js .bubble,
  .js .note,
  .js .mini-search__item,
  .js .mini-browser__body > * { opacity: 0; }
  .js .bubble--in { transform: translateY(10px) scale(0.94); transform-origin: left bottom; }
  .js .bubble--out { transform: translateY(10px) scale(0.94); transform-origin: right bottom; }
  .js .note { transform: translateY(-14px) scale(0.96); }
  .js .mini-search__item { transform: translateX(-12px); }
  .js .mini-browser__body > * { transform: translateY(10px); }
  .js .mini-browser__row b { transform: translateY(24px); }
  .js .mini-search__q .typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; vertical-align: bottom; }

  .js .live .bubble {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out), transform 420ms var(--ease-out);
    transition-delay: calc(300ms + var(--b) * 620ms);
  }
  .js .live .note {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out), transform 520ms var(--ease-out);
    transition-delay: calc(250ms + var(--b) * 650ms);
  }
  .js .live .mini-search__item {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out), transform 460ms var(--ease-out);
    transition-delay: calc(1300ms + var(--b) * 140ms);
  }
  .js .live .mini-search__q .typed { animation: typing 1100ms steps(15, end) 250ms forwards; }
  @keyframes typing { to { width: 100%; } }
  .js .live .mini-search__item.is-you { animation: you-glow 1400ms var(--ease-out) 2000ms both; }
  @keyframes you-glow {
    0% { box-shadow: inset 0 0 0 1px rgba(94, 177, 255, 0.45), 0 0 0 0 rgba(0, 113, 227, 0.55); }
    60% { box-shadow: inset 0 0 0 1px rgba(94, 177, 255, 0.9), 0 0 0 10px rgba(0, 113, 227, 0); }
    100% { box-shadow: inset 0 0 0 1px rgba(94, 177, 255, 0.45), 0 0 0 0 rgba(0, 113, 227, 0); }
  }
  .js .live .mini-browser__body > * {
    opacity: 1; transform: none;
    transition: opacity 400ms var(--ease-out), transform 520ms var(--ease-out);
  }
  .js .live .mini-browser__body > :nth-child(1) { transition-delay: 100ms; }
  .js .live .mini-browser__body > :nth-child(2) { transition-delay: 200ms; }
  .js .live .mini-browser__body > :nth-child(3) { transition-delay: 270ms; }
  .js .live .mini-browser__body > :nth-child(4) { transition-delay: 330ms; }
  .js .live .mini-browser__body > :nth-child(5) { transition-delay: 420ms; }
  .js .live .mini-browser__body > :nth-child(6) { transition-delay: 520ms; }
  .js .live .mini-browser__body > :nth-child(7) { transition-delay: 1000ms; }
  .js .live .mini-browser__row b {
    transform: none;
    transition: transform 620ms var(--ease-out);
    transition-delay: calc(650ms + var(--b) * 110ms);
  }

  /* Steps: a line draws across, then the copy settles */
  .step::before {
    content: "";
    display: block;
    height: 2px;
    margin-bottom: 22px;
    border-radius: 2px;
    background: var(--accent);
    transform-origin: left;
  }
  .js .step::before { transform: scaleX(0); transition: transform 900ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 160ms + 150ms); }
  .js .step.is-in::before { transform: none; }

  /* Area chips */
  .js .areas li { opacity: 0; transform: translateY(8px) scale(0.94); }
  .js .is-in .areas li {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out), transform 460ms var(--ease-out);
    transition-delay: calc(250ms + var(--k) * 55ms);
  }

  /* Service rows: the rule draws, then text and stage settle in */
  .js .row.reveal { opacity: 1; transform: none; transition: none; }
  .js .row::before { transform: scaleX(0); transition: transform 1100ms var(--ease-in-out); }
  .js .row.is-in::before { transform: none; }
  .js .row .row__text, .js .row .stage { opacity: 0; transform: translateY(22px); }
  .js .row.is-in .row__text, .js .row.is-in .stage {
    opacity: 1; transform: none;
    transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .js .row.is-in .row__text { transition: opacity 320ms var(--ease-out), transform 380ms var(--ease-out); transition-delay: 60ms; }
  .js .row.is-in .stage { transition-delay: 500ms; }

  .js .reveal.h-lg { transform: translateY(20px); }
  .js .reveal.h-lg.is-in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .step::before { background: var(--line); }
  .statement .sw { opacity: 1; }
}

/* ---------- Richer mock-ups ---------- */

.mini-browser__nav { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 0.6875rem; color: var(--ink-3); }
.mini-browser__nav em { font-style: normal; }
.mini-browser__logo { margin-right: auto; font-weight: 600; font-size: 0.75rem; color: var(--ink); letter-spacing: -0.01em; }
.mini-browser__h { font-size: 1.5rem; max-width: 13ch; }
.mini-browser__p { height: 7px; }
.mini-browser__btn { margin-top: 16px; padding: 8px 18px; font-size: 0.75rem; }
.mini-browser__row b { height: 72px; }
.mini-browser__rev { margin-top: 0; padding: 14px 0 16px; font-size: 0.6875rem; color: var(--ink-3); }
.mini-browser__rev span { color: #f5a623; letter-spacing: 1px; margin-right: 6px; }

.mini-search { padding: 22px 22px 22px; }
.mini-search__chips { display: flex; gap: 8px; margin-top: 14px; }
.mini-search__chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #c7c7cc; font-size: 0.75rem; }
.mini-map {
  position: relative;
  height: 112px;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, 0.1) 47.5%, rgba(255, 255, 255, 0.1) 49%, transparent 49.5%),
    linear-gradient(20deg, transparent 58%, rgba(255, 255, 255, 0.08) 58.5%, rgba(255, 255, 255, 0.08) 60%, transparent 60.5%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 36px 100%,
    #1f2a33;
}
.pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #8e8e93; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.pin.you { width: 16px; height: 16px; background: var(--accent); box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.3), 0 0 0 11px rgba(0, 113, 227, 0.14); }
.mini-search__item { padding: 14px 16px; font-size: 0.875rem; }

.mini-chat { padding: 0 20px; gap: 9px; }
.chat-head { display: flex; align-items: center; gap: 12px; margin: 0 -20px 4px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.chat-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.chat-av svg { width: 20px; height: 20px; }
.chat-head b { color: #fff; display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.chat-head small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.chat-label { text-align: center; font-size: 0.6875rem; color: rgba(255, 255, 255, 0.5); padding-block: 4px; }
.bubble { font-size: 0.9375rem; padding: 11px 15px; max-width: 82%; }
.mini-chat > :last-child { margin-bottom: 20px; }

.mini-notes { padding: 22px 20px 22px; gap: 10px; border-radius: 18px 18px 0 0; }
.mini-notes__clock { text-align: center; padding-bottom: 6px; color: var(--ink); }
.mini-notes__clock b { display: block; font-size: 2.75rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.mini-notes__clock span { font-size: 0.8125rem; color: var(--ink-3); }
.note { padding: 12px 14px; }
.note__ic--gold { background: #f5a623; }


/* Additional motion stays within the original Baywell visual language. */
.hero > .wrap { will-change: auto; }
.js .reveal:focus-within,
.js .row:focus-within .row__text,
.js .row:focus-within .stage,
.hero:focus-within > .wrap { opacity: 1 !important; transform: none !important; transition-delay: 0s !important; }

@media (prefers-reduced-motion: no-preference) {
  .hero.motion-in-view > .wrap { will-change: transform, opacity; }

  /* A restrained, staggered lift gives section headings a softer arrival. */
  .motion-word { display: inline-block; opacity: 0; transform: translateY(.45em); transition: transform 650ms var(--ease-out), opacity 550ms var(--ease-out); }
  .is-in .motion-word { opacity: 1; transform: none; transition-delay: calc(100ms + var(--word) * 38ms); }

  /* Static text width; only the small cover moves during the typing effect. */
  .js .mini-search__q .typed { position: relative; width: auto; }
  .js .live .mini-search__q .typed { animation: none; }
  .js .mini-search__q .typed::after { content: ""; position: absolute; inset: 0; background: #3a3a3f; border-left: 1px solid #c7c7cc; transform: translateX(0); }
  .js .live .mini-search__q .typed::after { animation: search-reveal 1050ms steps(22, end) 250ms forwards; animation-play-state: var(--motion-play, paused); }
  @keyframes search-reveal { to { transform: translateX(101%); } }

  /* The rings are painted once, then scaled and faded by the compositor. */
  .js .live .mini-search__item.is-you { animation: none; position: relative; }
  .js .live .mini-search__item.is-you::after { content: ""; position: absolute; inset: -1px; border: 1px solid #5eb1ff; border-radius: inherit; pointer-events: none; opacity: 0; animation: result-halo 1250ms var(--ease-out) 1900ms 1; animation-play-state: var(--motion-play, paused); }
  @keyframes result-halo { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05, 1.2); } }
  .js .live .pin { animation: pin-arrive 600ms var(--ease-out) both; animation-delay: calc(650ms + var(--pin) * 100ms); animation-play-state: var(--motion-play, paused); }
  @keyframes pin-arrive { from { opacity: 0; transform: translateY(-8px) scale(.65); } to { opacity: 1; transform: none; } }
  .pin.you::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #5eb1ff; opacity: 0; }
  .js .live .pin.you::after { animation: map-ripple 1800ms var(--ease-out) 1600ms 2; animation-play-state: var(--motion-play, paused); }
  @keyframes map-ripple { from { opacity: .8; transform: scale(.8); } to { opacity: 0; transform: scale(2.6); } }

  /* Short, one-time accents in the existing service demonstrations. */
  .mini-browser__btn, .btn { position: relative; overflow: hidden; isolation: isolate; }
  .mini-browser__btn::after, .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.24) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
  .js .live .mini-browser__btn::after { animation: button-sheen 900ms var(--ease-out) 1400ms 1; animation-play-state: var(--motion-play, paused); }
  @keyframes button-sheen { to { transform: translateX(120%); } }
  .js .live .note__ic svg { animation: icon-settle 600ms var(--ease-out) both; animation-delay: calc(500ms + var(--b) * 650ms); animation-play-state: var(--motion-play, paused); }
  @keyframes icon-settle { from { opacity: .3; transform: scale(.72) rotate(-8deg); } to { opacity: 1; transform: none; } }
  .js .live .chat-av svg { animation: reception-ready 1000ms var(--ease-out) 300ms 1; animation-play-state: var(--motion-play, paused); }
  @keyframes reception-ready { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.16); } }
  .js .cta.is-in::before { animation: cta-glow-arrive 1600ms var(--ease-out) both; animation-play-state: var(--motion-play, paused); }
  @keyframes cta-glow-arrive { from { opacity: .25; transform: translateY(20px) scale(.92); } to { opacity: 1; transform: none; } }

  .btn { transition: transform 220ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
  .btn:focus-visible::after { animation: button-sheen 700ms var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .btn:hover { transform: translateY(-3px); }
    .btn:hover::after { animation: button-sheen 700ms var(--ease-out); }
    .btn:active { transform: translateY(0) scale(.97); }
    .row .arrow-link svg { transition: transform 300ms var(--ease-out); }
    .row:hover .arrow-link svg { transform: translateX(6px); }
  }
  .js.motion-paused *, .js.motion-paused *::before, .js.motion-paused *::after { animation-play-state: paused !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-word { opacity: 1; transform: none; }
  .hero > .wrap { opacity: 1 !important; transform: none !important; will-change: auto; }
  .js .bubble, .js .note, .js .mini-search__item, .js .mini-browser__body > *, .js .row .stage, .js .row .row__text, .js .areas li { opacity: 1; transform: none; }
}

/* The blue pill follows the current section instead of staying on Contact. */
.nav__links > a { position: relative; z-index: 1; font-weight: 500; }
.nav__links > a[aria-current="location"] { color: #fff; background: transparent; }
.nav-indicator { position: absolute; top: 0; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--accent); pointer-events: none; opacity: 0; transition: transform 260ms var(--ease-out), width 260ms var(--ease-out), opacity 160ms ease; }
@media (min-width: 861px) { .nav__links { position: relative; } }
@media (hover: hover) and (pointer: fine) {
  .nav__links > a[aria-current="location"]:hover { color: #fff; background: transparent; }
}
@media (max-width: 860px) {
  .nav-indicator { display: none; }
  .nav__links > a[aria-current="location"] { background: var(--accent); border-radius: 12px; padding-inline: 12px; border-color: transparent; }
}
@media (prefers-reduced-motion: reduce) { .nav-indicator { transition: none; } }
/* Opening wordmark: no assets to download and no layout-changing animation. */
.brand-intro { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); pointer-events: none; opacity: 1; }
.brand-intro__word { display: block; font-family: var(--font); font-size: clamp(64px, 21vw, 340px); font-weight: 600; letter-spacing: -.065em; line-height: 1.1; padding: .08em .12em; }
.intro-active .brand-intro { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .intro-active .brand-intro__word { animation: intro-word-arrive 700ms var(--ease-out) both; }
  .intro-active:not(.intro-leaving) .hero h1 .w > span { animation-play-state: paused; }
  .intro-active .brand-intro { will-change: transform; }
  /* The wordmark panel slides up and off the top, revealing the page underneath. */
  .intro-active.intro-leaving .brand-intro { transform: translateY(-100%); transition: transform 600ms var(--ease-in-out); }
  @keyframes intro-word-arrive { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .brand-intro, .intro-active .brand-intro { display: none; } }

/* Mock-up fit on narrow screens */
.mini-browser__logo, .mini-search__chips span { white-space: nowrap; }
@media (max-width: 760px) {
  .mini-browser__nav { gap: 10px; }
  .mini-browser__nav em:nth-of-type(2) { display: none; }
  .mini-search { padding: 18px 16px 18px; }
  .mini-search__chips { gap: 6px; }
  .mini-search__chips span { padding: 6px 10px; font-size: 0.6875rem; }
  .mini-browser__h { font-size: 1.375rem; }
}

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

.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1.5 1.5 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.4; }
.field select.is-placeholder { color: var(--ink-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form.is-sent > :not(.form__thanks) { display: none; }
.form__thanks { display: grid; justify-items: start; gap: 12px; padding: clamp(12px, 4vw, 32px) 0; outline: none; }
.form__thanks[hidden] { display: none; }
.form__thanks-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.25rem; }
.form__thanks h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.1; letter-spacing: -0.04em; }
.form__thanks p { color: var(--ink-2); max-width: 36ch; }
.form__thanks b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.form__again { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.form__again:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .form__again:hover { color: var(--ink); } }
@media (prefers-reduced-motion: no-preference) {
  .form__thanks:not([hidden]) { animation: thanks-arrive 360ms var(--ease-out) both; }
  @keyframes thanks-arrive { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
}
.form__note { font-size: 0.8125rem; color: var(--ink-3); }
.form__status { font-size: 0.9375rem; color: var(--ink-2); }
.conversation { padding-top: clamp(36px, 6vw, 72px); scroll-margin-top: 90px; }
.conversation__intro { padding: 24px 0; }
.conversation__eyebrow { color: var(--accent-ink); font-size: .75rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; }
.conversation__intro h3 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.045em; margin-bottom: 20px; }
.conversation__intro h1 { margin-bottom: 20px; }
.conversation__intro > p:not(.conversation__eyebrow) { color: var(--ink-2); max-width: 330px; }
.conversation__steps { display: grid; gap: 16px; margin: 32px 0; font-size: .875rem; color: var(--ink-2); }
.business-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.business-details summary { cursor: pointer; font-size: .875rem; font-weight: 500; }
.business-details summary span { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.business-details[open] > p { margin: 12px 0; }
#inquiry-email-fallback { color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) { .conversation:not([hidden]) { animation: conversation-arrive 280ms var(--ease-out) both; } @keyframes conversation-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } }

/* ---------- Custom dropdowns ---------- */
/* Custom service and industry pickers */
.picker { position: relative; }
.picker__native { position:absolute !important; width:1px !important; height:1px !important; min-height:0 !important; padding:0 !important; opacity:0; pointer-events:none; }
.picker__trigger { display:flex; align-items:center; gap:12px; width:100%; min-height:54px; padding:12px 15px; border:1px solid var(--line); border-radius:14px; background:var(--bg); color:var(--ink); font:inherit; text-align:left; cursor:pointer; transition:border-color 160ms,box-shadow 160ms; }
.picker__trigger:hover { border-color:var(--accent-ink); }
.picker__trigger:focus-visible,.picker__trigger[aria-expanded="true"] { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent); }
.picker__icon { display:grid; place-items:center; width:28px; height:28px; flex:none; border-radius:8px; background:color-mix(in srgb,var(--accent) 10%,var(--bg)); color:var(--accent-ink); }
.picker__icon svg { width:16px; height:16px; }
.picker__value { flex:1; min-width:0; }
.picker__trigger.is-placeholder .picker__value { color:var(--ink-3); }
.picker__chevron { width:16px; height:16px; flex:none; color:var(--ink-3); transition:transform 180ms; }
.picker__trigger[aria-expanded="true"] .picker__chevron { transform:rotate(180deg); }
.picker__menu { position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:40; border:1px solid var(--line); border-radius:18px; padding:7px; background:var(--bg); box-shadow:0 18px 50px rgba(0,0,0,.15); }
.picker__caption { padding:8px 11px; font-size:.6875rem; font-weight:600; color:var(--ink-3); letter-spacing:.08em; text-transform:uppercase; }
.picker__list { max-height:280px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.picker__option { display:flex; align-items:center; gap:12px; padding:11px; min-height:44px; border-radius:11px; cursor:pointer; font-size:.9375rem; color:var(--ink-2); transition:background-color 120ms,color 120ms; }
.picker__option:hover,.picker__option.is-active { background:var(--surface); color:var(--ink); }
.picker__option[aria-selected="true"] { background:color-mix(in srgb,var(--accent) 12%,var(--bg)); color:var(--accent-ink); }
.picker__option span:first-child { flex:1; }
.picker__check { opacity:0; color:var(--accent-ink); }
.picker__option[aria-selected="true"] .picker__check { opacity:1; }
@media (prefers-reduced-motion:no-preference) { .picker__menu:not([hidden]) { animation:picker-arrive 160ms var(--ease-out) both; } @keyframes picker-arrive { from { opacity:0;transform:translateY(-5px); } to { opacity:1;transform:none; } } }

.local__aside { margin-top: 32px; font-size: 1.125rem; letter-spacing: -0.01em; }
.local__aside-text { margin-top: 8px; color: var(--ink-3); font-size: 0.9375rem; max-width: 40ch; }

.brand { display: inline-flex; align-items: center; gap: 0.2em; }
.brand__waves { width: 1.3em; height: auto; flex: 0 0 auto; }
.footer .brand { display: inline-flex; align-items: center; }

/* Services bubble: the six services open out to the left and right of Services. */
.nav__bubble { display: inline-flex; align-items: center; border-radius: 999px; padding: 0; transition: padding 420ms var(--ease-out), background-color 300ms var(--ease-out); }
.nav.is-services .nav__bubble { padding: 3px; background: var(--surface); }
.nav__group { display: inline-flex; align-items: center; max-width: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-width 420ms var(--ease-out), opacity 240ms var(--ease-out), visibility 0s linear 420ms; }
.nav__group--left { justify-content: flex-end; transform-origin: right center; }
.nav__group--right { justify-content: flex-start; transform-origin: left center; }
.nav.is-services .nav__group { max-width: 420px; opacity: 1; visibility: visible; transition: max-width 420ms var(--ease-out), opacity 240ms var(--ease-out), visibility 0s; }
.nav__group .nav__sub { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .nav__bubble, .nav__group, .nav.is-services .nav__group { transition: none; } }
/* The Services label steps aside while its six services are open, and returns when you leave them. */
/* While the bubble is opening or closing, the highlight tracks it directly instead of easing behind it. */
.nav.is-moving .nav-indicator { transition: opacity 160ms var(--ease-out); }
.nav__bubble > a[href="#services"] { max-width: 96px; overflow: hidden; white-space: nowrap; opacity: 1; padding-left: 12px; padding-right: 12px; transition: max-width 420ms var(--ease-out), opacity 240ms var(--ease-out), padding 420ms var(--ease-out), color 160ms var(--ease-out); }
.nav.is-services .nav__bubble > a[href="#services"] { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; }
@media (prefers-reduced-motion: reduce) { .nav__bubble > a[href="#services"] { transition: none; } }

/* Selected nav item: white label on the blue highlight. */
.nav__links a[aria-current="location"] { color: #fff; }

/* Phones only: text appears at once instead of loading in as you scroll.
   The opening title in the hero keeps its animation. */
@media (max-width: 760px) {
  .js .reveal, .js .reveal.h-lg, .js .row.reveal, .js .row .row__text, .js .reveal.h-lg.is-in {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .motion-word, .is-in .motion-word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .statement .sw, .statement .sw.on { opacity: 1 !important; transition: none !important; }
}

/* Meta Ads: social campaign preview */
/* Built like the other product mock-ups: cards animate in once when scrolled into view. Black card, white text. */
.mini-ads { margin-inline: 4px; padding: 20px 18px 12px; display: grid; gap: 10px; color: #f5f5f7; }
.mini-ads__chips { display: flex; gap: 6px; }
.mini-ads__chips span { border-radius: 999px; padding: 4px 10px; font-size: .6875rem; font-weight: 500; color: #2997ff; background: #1c1c1e; }
.mini-ads__post { background: #000000; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(0,0,0,.7); }
.mini-ads__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.mini-ads__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0071e3; color: #ffffff; font-size: .8125rem; font-weight: 500; flex: none; }
.mini-ads__head b { display: block; font-size: .8125rem; font-weight: 500; color: #f5f5f7; }
.mini-ads__head small { display: block; font-size: .625rem; color: #a1a1a6; }
.mini-ads__copy { margin: 0; padding: 0 14px 12px; font-size: .75rem; line-height: 1.5; color: #d2d2d7; }
.mini-ads__image { background: #0071e3; color: #ffffff; padding: 22px 20px; }
.mini-ads__image strong { display: block; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; color: #ffffff; }
.mini-ads__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #1c1c1e; }
.mini-ads__cta small { display: block; font-size: .5625rem; color: #a1a1a6; letter-spacing: .04em; }
.mini-ads__cta b { display: block; font-size: .75rem; font-weight: 500; margin-top: 2px; color: #f5f5f7; }
.mini-ads__cta span { padding: 8px 12px; border-radius: 8px; background: #0071e3; color: #ffffff; font-size: .625rem; font-weight: 500; white-space: nowrap; }
.mini-ads__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #1c1c1e; font-size: .8125rem; color: #f5f5f7; border: 1px solid rgba(255,255,255,.08); }
.mini-ads__dot { width: 8px; height: 8px; border-radius: 50%; background: #2997ff; flex: none; }
.mini-ads__caption { display: block; text-align: center; padding-top: 6px; font-size: .6875rem; color: #86868b; }
@media (prefers-reduced-motion: no-preference) {
  .js .ad-item { opacity: 0; transform: translateY(14px) scale(.97); }
  .js .live .ad-item {
    opacity: 1; transform: none;
    transition: opacity 360ms var(--ease-out), transform 520ms var(--ease-out);
    transition-delay: calc(250ms + var(--b) * 500ms);
  }
}
@media (prefers-reduced-motion: reduce) { .js .ad-item { opacity: 1; transform: none; } }
@media (min-width: 861px) and (max-width: 1050px) { .nav__inner { gap: 12px; } .nav__links a { padding-inline: 9px; } }

/* Phones only: the menu is one plain dropdown list. Services opens its five services underneath. */
@media (max-width: 860px) {
  .nav__bubble, .nav.is-services .nav__bubble {
    display: flex; flex-direction: column; align-items: stretch;
    padding: 0 !important; background: none !important; border-radius: 0;
  }
  .nav__bubble > a[href="#services"], .nav.is-services .nav__bubble > a[href="#services"] {
    order: 1; max-width: none; opacity: 1; overflow: visible; white-space: normal;
    display: flex; align-items: center; justify-content: space-between; cursor: pointer;
    min-height: 52px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line);
    padding-left: 4px !important; padding-right: 4px !important;
  }
  .nav__bubble > a[href="#services"]::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-left: 12px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease-out);
  }
  .nav.services-open .nav__bubble > a[href="#services"]::after { transform: rotate(-135deg) translateY(-2px); }
  .nav__group, .nav.is-services .nav__group, .nav__group--left, .nav__group--right {
    display: none; flex-direction: column; align-items: stretch; justify-content: flex-start;
    max-width: none; opacity: 1; visibility: visible; overflow: visible; transition: none;
  }
  .nav.services-open .nav__group, .nav.services-open.is-services .nav__group { display: flex; }
  .nav__group--left { order: 2; }
  .nav__group--right { order: 3; }
  .nav__group .nav__sub {
    min-height: 52px; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line);
    padding: 0 4px 0 16px;
  }
}
