@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks. Arial stands in while the webfont loads, scaled
   and re-bearinged so the swap does not reflow the page (measured against
   each font's own hhea metrics and average lowercase advance). */
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 100.7%;
  ascent-override: 99.3%;
  descent-override: 25.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Satoshi Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 112%;
  ascent-override: 90.2%;
  descent-override: 21.4%;
  line-gap-override: 8.9%;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --ink: #0a0a0b;
  --ink-2: #16161a;
  --ink-3: #26262c;
  --paper: #ffffff;
  --stone-50: #fafafa;
  --stone-100: #f2f2f3;
  --stone-200: #e4e4e6;
  --stone-300: #cdcdd1;
  --stone-500: #8b8b93;
  --stone-600: #62626b;
  --stone-700: #45454d;

  /* --teal and --clay are the brand colours: use them for fills, borders,
     icons and display type. --teal-ink / --clay-ink are the same hues pushed
     dark enough to clear WCAG AA (4.5:1) for small text on white, and for
     white text sitting on top of them. */
  --teal: #009bab;
  --teal-ink: #007c8a;
  --teal-bright: #19c4d6;
  --sky: #85d3e4;
  --clay: #e99e59;
  --clay-ink: #a85f18;
  --clay-soft: #e8bd9a;

  --fg: var(--ink);
  --bg: var(--paper);
  --muted: var(--stone-600);
  --rule: var(--stone-200);

  --display: "Outfit", "Outfit Fallback", Arial, sans-serif;
  --body: "Satoshi", "Satoshi Fallback", Arial, sans-serif;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 30px;
  --r-xl: 44px;

  --band: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }

/* Paired with the width/height attributes, this keeps the intrinsic aspect
   ratio whenever CSS sets only one dimension. */
img { height: auto; }

/* The UA gives figure/blockquote a 40px side margin, which quietly shrinks
   any grid item built from them. */
figure,
blockquote { margin: 0; }

a { color: inherit; }

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

:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ primitives */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
  margin: 0;
}

h1.display { font-size: clamp(2.6rem, 6.1vw, 5rem); }
h2.display { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.028em; }

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}

.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-fg: #fff;
  --btn-bg: var(--teal-ink);
  --btn-bd: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05em 1.9em;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(0, 155, 171, 0.65);
}
.btn:hover::after,
.btn:focus-visible::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--teal-ink);
  --btn-bd: var(--teal-ink);
}
.btn--ghost:hover,
.btn--ghost:focus-visible { --btn-fg: #fff; }

.btn--clay {
  --btn-bg: transparent;
  --btn-fg: var(--clay);
  --btn-bd: var(--clay);
}
.btn--clay::after { background: var(--clay); }
.btn--clay:hover,
.btn--clay:focus-visible {
  --btn-fg: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(233, 158, 89, 0.6);
}

.btn--onink {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}
.btn--onink::after { background: var(--teal); }
.btn--onink:hover,
.btn--onink:focus-visible { --btn-fg: #fff; }

.btn--lg { padding: 1.25em 2.3em; font-size: 0.88rem; }

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 14px;
  transition: padding-top 0.35s var(--ease);
}
.header.is-stuck { padding-top: 0; }

.header__bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
  transition: border-radius 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.header.is-stuck .header__bar {
  border-radius: 0;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}
.header.is-stuck .header__inner {
  max-width: none;
  padding-inline: 0;
}
.header.is-stuck .header__bar { padding-inline: var(--gutter) 10px; }

.header__logo {
  display: block;
  flex: none;
  margin-right: auto;
  padding-block: 4px;
}
.header__logo img {
  width: clamp(132px, 15vw, 172px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
}
.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--teal-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="true"] { color: #fff; }
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }

.header__tel {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 8px 4px;
  white-space: nowrap;
  transition: color 0.2s;
}
.header__tel:hover { color: var(--teal-bright); }
.header__tel svg { flex: none; }

.header .btn {
  padding: 0.85em 1.5em;
  font-size: 0.75rem;
  --btn-bg: transparent;
  --btn-fg: var(--teal-bright);
  --btn-bd: var(--teal-bright);
}
.header .btn::after { background: var(--teal-bright); }
.header .btn:hover,
.header .btn:focus-visible { --btn-fg: var(--ink); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.skip {
  position: absolute;
  left: 8px;
  top: -70px;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 8px; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}
/* Direct children only — the call button in the footer keeps its own size. */
.drawer > a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.16em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}
.drawer > a:hover,
.drawer > a:focus-visible {
  color: var(--teal-bright);
  padding-left: 0.1em;
}
.drawer__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1000px) {
  .nav,
  .header__tel { display: none; }
  .burger { display: block; }
  .header .btn { display: none; }
  .header__bar { padding: 10px 10px 10px 18px; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-top: clamp(140px, 17vw, 210px);
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero > .shell { max-width: 1340px; }
.header__inner { max-width: 1340px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin-bottom: 0.44em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--teal); }
.hero .lede { margin: 0 0 2.1rem; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__art {
  position: relative;
  justify-self: end;
  margin-right: calc(var(--gutter) * -0.45);
}
.hero__art img {
  width: min(122%, 660px);
  height: auto;
  filter: drop-shadow(0 40px 45px rgba(0, 0, 0, 0.22));
  animation: drift 9s ease-in-out infinite;
  transform-origin: 60% 55%;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-10px, -16px, 0) rotate(-1.6deg); }
}

.hero__blob {
  position: absolute;
  z-index: -1;
  width: 78%;
  aspect-ratio: 1;
  right: -6%;
  top: 4%;
  border-radius: 46% 54% 58% 42% / 52% 45% 55% 48%;
  background: radial-gradient(circle at 34% 32%, var(--sky), rgba(133, 211, 228, 0) 68%);
  opacity: 0.6;
  animation: morph 16s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 52% 45% 55% 48%; }
  50% { border-radius: 58% 42% 44% 56% / 44% 58% 42% 56%; }
}

.areas {
  margin-top: clamp(40px, 6vw, 68px);
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.areas__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-right: 6px;
}
.chip {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5em 1.05em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--stone-700);
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.chip:hover {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
  transform: translateY(-2px);
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art {
    order: -1;
    justify-self: center;
    margin-right: 0;
    max-width: 460px;
  }
  .hero__art img { width: 100%; }
  .hero { padding-top: 116px; }
}

/* ----------------------------------------------------------- ink section */
.ink {
  background: var(--ink);
  color: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --rule: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.ink .eyebrow { color: var(--clay); }

.covered {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.covered__split {
  display: grid;
  gap: 26px;
}
.split-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 32px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.split-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}
.split-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  color: var(--sky);
}
.split-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.ink__ridge {
  position: absolute;
  left: 0;
  /* An SVG with a viewBox resolves to its intrinsic width when absolutely
     positioned, so left/right offsets alone leave it short. */
  width: 100%;
  bottom: -2px;
  height: clamp(40px, 6vw, 86px);
  pointer-events: none;
  color: var(--stone-100);
}

/* --------------------------------------------------------- ant trail art
   The signature device from the original site: a column of ants marching a
   winding path, with one teal scout out front. */
.anttrail {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  color: var(--ink);
}
.anttrail--light { color: #fff; }

.anttrail__guide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.anttrail .dotted {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 1 15;
  stroke-linecap: round;
  opacity: 0.2;
}

.ant {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: auto;
  opacity: 0.6;
  offset-rotate: auto;
  offset-anchor: 50% 50%;
  animation-name: march;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: offset-distance;
}
.anttrail--light .ant { opacity: 0.42; }

@keyframes march {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

/* Without offset-path support the ants would pile up in the top-left corner,
   so only show them where the property actually works. */
@supports not (offset-path: path("M0 0 L1 1")) {
  .ant { display: none; }
}

/* ------------------------------------------------------------- services */
.services {
  position: relative;
  background: var(--stone-100);
  overflow: hidden;
}
.services .shell { position: relative; z-index: 1; }
.services__head {
  text-align: center;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.services__head .eyebrow { justify-content: center; }
.services__head .lede { margin-inline: auto; }

/* Two headline services on top, three specialist ones beneath — the same
   2 + 3 rhythm the original site used. */
.tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.tiles > * { grid-column: span 2; }
.tiles > :nth-child(1),
.tiles > :nth-child(2) { grid-column: span 3; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles > * { grid-column: span 1; }
  .tiles > :nth-child(1),
  .tiles > :nth-child(2) { grid-column: span 1; }
  .tiles > :nth-child(5) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tiles > :nth-child(5) { grid-column: span 1; }
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
  text-decoration: none;
  min-height: 250px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 70%;
  z-index: -1;
  background: radial-gradient(60% 100% at 50% 100%, var(--tile-tint, var(--sky)), transparent 72%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.tile:hover,
.tile:focus-visible {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 48px -26px rgba(10, 10, 11, 0.4);
}
.tile:hover::before,
.tile:focus-visible::before { opacity: 0.55; }

.tile__icon {
  width: 44px;
  height: 44px;
  color: var(--teal);
  flex: none;
  transition: transform 0.45s var(--ease), color 0.3s;
}
.tile:hover .tile__icon { transform: translateY(-3px) scale(1.06); }

.tile h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}
.tile p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--stone-600);
  line-height: 1.55;
}
.tile__go {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.tile__go svg { transition: transform 0.3s var(--ease); }
.tile:hover .tile__go svg { transform: translateX(5px); }

.tiles > :nth-child(1) h3,
.tiles > :nth-child(2) h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.tiles > :nth-child(1),
.tiles > :nth-child(2) { min-height: 290px; }

.tile--clay { --tile-tint: var(--clay-soft); }
.tile--clay .tile__icon,
.tile--clay .tile__go { color: var(--clay-ink); }

/* -------------------------------------------------------------- feature */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
}
.feature__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--stone-100);
  box-shadow: 0 30px 60px -40px rgba(10, 10, 11, 0.6);
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease);
}
.feature:hover .feature__media img { transform: scale(1.06); }
.feature--flip .feature__media { order: -1; }
.feature .btn { margin-top: 0.6rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--sky);
  color: #05343c;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .covered { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- why us */
.why {
  background: var(--stone-50);
  border-block: 1px solid var(--stone-200);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  margin-top: clamp(34px, 4vw, 54px);
}
.why__item {
  padding-top: 22px;
  border-top: 3px solid var(--ink);
}
.why__item h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.why__item p {
  margin: 0;
  color: var(--stone-600);
  font-size: 0.95rem;
}
.why__item:nth-child(1) { border-color: var(--teal); }
.why__item:nth-child(2) { border-color: var(--clay); }
.why__item:nth-child(3) { border-color: var(--sky); }
.why__item:nth-child(4) { border-color: var(--ink); }

/* ---------------------------------------------------------- testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin-top: clamp(38px, 5vw, 60px);
}
.quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--r-lg);
  padding: clamp(26px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quote::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -15px;
  width: 30px;
  height: 16px;
  background: inherit;
  border-right: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
  border-bottom-right-radius: 4px;
  transform: skewX(-24deg);
}
.quote:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 46px -28px rgba(10, 10, 11, 0.35);
}
.quote__mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 4.4rem;
  line-height: 0.68;
  color: var(--q, var(--sky));
  margin-bottom: 0.5rem;
  user-select: none;
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.01rem;
  line-height: 1.6;
  color: var(--stone-700);
}
.quote figcaption {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.quote:nth-child(2) { --q: var(--stone-300); }
.quote:nth-child(3) { --q: var(--clay-soft); }

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--clay-ink);
  margin-bottom: 1rem;
}

/* -------------------------------------------------------------- contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.contact__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M12 92 L60 30 L108 92 L90 92 L60 54 L30 92 Z' fill='%23ececed'/%3E%3C/svg%3E");
  background-size: clamp(76px, 8vw, 118px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.contact .shell { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact__info h2 {
  margin-bottom: 1.1rem;
  /* Small enough that "We're Here To Help!" holds one line. */
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}
@media (min-width: 901px) {
  .contact__info { padding-bottom: clamp(140px, 16vw, 230px); }
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.contact__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 0.35em 0;
  transition: color 0.25s, transform 0.3s var(--ease);
}
.contact__links a:hover,
.contact__links a:focus-visible {
  color: var(--teal-ink);
  transform: translateX(5px);
}
.contact__links svg {
  color: var(--teal-ink);
  flex: none;
}

.contact__bee {
  position: absolute;
  left: -6%;
  bottom: -104px;
  width: clamp(180px, 21vw, 290px);
  z-index: 0;
  pointer-events: none;
  animation: hover-bee 7s ease-in-out infinite;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.2));
}
@keyframes hover-bee {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(14px, -20px, 0) rotate(4deg); }
}

/* form */
.form {
  background: var(--teal-ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 40px 70px -40px rgba(0, 124, 138, 0.8);
}
.form__row { margin-bottom: 1.1rem; }
.form label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}
.form label .req { color: #ffe0c2; }
.form input,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  padding: 0.85em 1em;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea {
  min-height: 132px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.16);
}
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] { border-color: #ffb4a2; }

.form .err {
  display: block;
  min-height: 0;
  font-size: 0.83rem;
  font-weight: 500;
  color: #ffe0c2;
  margin-top: 0.35rem;
}
.form .err:empty { display: none; }

.form__submit {
  width: 100%;
  margin-top: 0.6rem;
  --btn-bg: var(--ink);
  --btn-bd: var(--ink);
  --btn-fg: #fff;
}
.form__submit::after { background: #fff; }
.form__submit:hover,
.form__submit:focus-visible {
  --btn-fg: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(10, 10, 11, 0.8);
}
.form__submit[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.form__note {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #f0fbfc;
}
.form__note a { color: #fff; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.formstate {
  margin-top: 1.1rem;
  padding: 1em 1.1em;
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.formstate:empty { display: none; }
.formstate a { color: #fff; font-weight: 700; }
.formstate--ok {
  background: #fff;
  color: var(--teal-ink);
  border-color: #fff;
}
.formstate--ok a { color: var(--teal-ink); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__bee { display: none; }
}

/* --------------------------------------------------------------- footer */
.footer {
  background: var(--ink);
  color: #fff;
  --rule: rgba(255, 255, 255, 0.13);
  padding-block: clamp(54px, 6vw, 86px) 34px;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}
.footer__logo img { width: clamp(180px, 22vw, 240px); }
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.footer nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.footer nav a:hover,
.footer nav a:focus-visible { color: var(--teal-bright); }

.footer__mid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
  padding-block: 40px;
}
.footer__mid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin: 0 0 0.9rem;
}
.footer__mid p,
.footer__mid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.75;
}
.footer__mid a { text-decoration: none; }
.footer__mid a:hover { color: var(--teal-bright); }
.footer__big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #fff !important;
  display: inline-block;
}

.footer__bot {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bot a { text-decoration: none; }
.footer__bot a:hover { color: #fff; }

/* -------------------------------------------------------------- utility */
.center { text-align: center; }
.layer { position: relative; z-index: 1; }
.pt-0 { padding-top: 0; }
.mt-sm { margin-top: 1.1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 34px; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] { transition-delay: 0.09s; }
.reveal[data-d="2"] { transition-delay: 0.18s; }
.reveal[data-d="3"] { transition-delay: 0.27s; }
.reveal[data-d="4"] { transition-delay: 0.36s; }

/* -------------------------------------------------------------- 404 page */
.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.lost__inner { position: relative; z-index: 1; }
.lost h1 {
  font-size: clamp(4rem, 18vw, 11rem);
  line-height: 0.86;
}
.lost p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
  margin: 1.4rem auto 2.2rem;
}
.lost__logo {
  width: 200px;
  margin: 0 auto 2.5rem;
}

/* ---------------------------------------------------------- simple page */
.page {
  padding-top: clamp(140px, 16vw, 200px);
  padding-bottom: var(--band);
}
.page__body {
  max-width: 68ch;
  font-size: 1.03rem;
}
.page__body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  margin: 2.4rem 0 0.7rem;
}
.page__body h2:first-of-type { margin-top: 1.6rem; }
.page__body p { margin: 0 0 1.1em; color: var(--stone-700); }
.page__body a { color: var(--teal-ink); }

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero__art img,
  .contact__bee,
  .hero__blob { animation: none; }
  /* A frozen column of ants reads as a bug, not a decoration. Leave the
     dotted trail and drop the ants. */
  .ant { display: none; }
}

@media print {
  .header, .drawer, .anttrail, .hero__blob, .contact__bee { display: none !important; }
  body { color: #000; }
}
