/* ---------- fonts (self-hosted, SIL Open Font License) ---------- */
/* Instrument Sans, latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans, latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/instrument-sans-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;
}
/* Lexend Giga, latin-ext */
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lexend-giga-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lexend Giga, latin */
@font-face {
  font-family: 'Lexend Giga';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lexend-giga-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;
}
/* Martian Mono, latin-ext */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/martian-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Martian Mono, latin */
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/martian-mono-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;
}
/* Schibsted Grotesk, latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Schibsted Grotesk, latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('fonts/schibsted-grotesk-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;
}

/* HATSY — site v2 · palette P9 "Northern" · Corporate Memphis illustrations */

:root {
  /* brand */
  --teal: #004953;
  --teal-deep: #003138;
  --teal-hover: #0B5D69;
  --abyss: #0B191E;
  --coral: #FF6F5E;
  --peach: #FFA089;
  --peach-100: #FFE6DE;
  --slate: #4F666A;
  --frost: #E9EDF6;

  /* surfaces & text */
  --bg: #F5F7FB;
  --white: #FFFFFF;
  --text: #0B191E;
  --text-2: #4F666A;
  --coral-ink: #B93A2A;           /* coral that passes 4.5:1 on light surfaces */
  --on-teal: #FFFFFF;
  --on-teal-2: #A9C4C8;
  --line: rgba(79, 102, 106, 0.16);
  --line-2: rgba(79, 102, 106, 0.28);
  --line-teal: rgba(255, 255, 255, 0.14);

  --font-display: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-logo: "Lexend Giga", var(--font-display);

  --container: 1200px;
  --gutter: 24px;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 4px 20px -2px rgba(11, 25, 30, 0.05);
  --shadow-lift: 0 18px 36px -8px rgba(0, 73, 83, 0.16), 0 4px 10px -4px rgba(11, 25, 30, 0.06);
  /* dark blocks: soft glows + a faint hat-and-dot pattern so teal never reads as a flat slab */
  --teal-texture:
    radial-gradient(900px 520px at 88% -8%, rgba(255, 160, 137, 0.16), transparent 62%),
    radial-gradient(760px 560px at -6% 108%, rgba(127, 183, 195, 0.18), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cpath d='M14 12 L26 18 L14 24Z' fill='none' stroke='%23FFFFFF' stroke-opacity='.09' stroke-width='1.2' stroke-linejoin='round'/%3E%3Ccircle cx='62' cy='60' r='1.6' fill='%23FFFFFF' fill-opacity='.12'/%3E%3Ccircle cx='66' cy='18' r='1' fill='%23FFA089' fill-opacity='.25'/%3E%3Cpath d='M50 70 L58 74 L50 78Z' fill='%23FFA089' fill-opacity='.10'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: var(--peach); color: var(--abyss); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--abyss); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.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; }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.h2 { color: var(--teal); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.025em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-2); max-width: 58ch; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 14px; }
.hl {
  background: linear-gradient(transparent 60%, var(--peach) 60%, var(--peach) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 0.06em;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--white); border: 1px solid rgba(255, 111, 94, 0.35);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal);
}
.badge i { width: 9px; height: 9px; background: var(--coral); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

.on-teal { color: var(--on-teal); }
.on-teal .eyebrow { color: var(--peach); }
.on-teal .lead, .on-teal p { color: var(--on-teal-2); }
.on-teal h2, .on-teal h3 { color: var(--on-teal); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms, background-color 200ms, border-color 200ms, color 200ms;
}
.btn svg { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--sm svg { width: 16px; height: 16px; }
/* coral: dark text, white would fail contrast on peach/coral */
.btn--coral { --btn-bg: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%); background: var(--btn-bg); --btn-fg: var(--abyss); box-shadow: 0 6px 18px -4px rgba(255, 111, 94, 0.5); }
.btn--coral:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(255, 111, 94, 0.6); }
.btn--teal:hover { --btn-bg: var(--teal-hover); transform: translateY(-2px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal); --btn-bd: rgba(79, 102, 106, 0.35); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--teal); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--peach); padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 250ms var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245, 247, 251, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms, background-color 250ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 247, 251, 0.92); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); }
.logo__mark { width: 34px; height: 34px; color: var(--coral); transition: transform 600ms var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(60deg); }
.logo__word { font-family: var(--font-logo); font-weight: 600; font-size: 19px; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; margin-left: 32px; }
.nav__pill { display: flex; gap: 2px; padding: 5px; margin-inline: auto; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.nav__link { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; transition: background-color 200ms, color 200ms; }
.nav__link:hover { color: var(--teal); background: var(--frost); }
.nav__link[aria-current="page"] { color: var(--teal); background: var(--frost); }
.nav-toggle { display: none; position: relative; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--teal); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(0, 73, 83, 0.55); transition: background-color 250ms, transform 200ms var(--ease-out); }
.nav-toggle:hover { background: var(--teal-hover); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle__lines { position: relative; width: 20px; height: 14px; }
.nav-toggle__lines i { position: absolute; right: 0; height: 2px; border-radius: 2px; background: #fff; transition: transform 350ms var(--ease-out), width 350ms var(--ease-out), opacity 200ms, top 350ms var(--ease-out); }
.nav-toggle__lines i:nth-child(1) { top: 0; width: 20px; }
.nav-toggle__lines i:nth-child(2) { top: 6px; width: 13px; background: var(--peach); }
.nav-toggle__lines i:nth-child(3) { top: 12px; width: 17px; }
.nav-toggle:hover .nav-toggle__lines i { width: 20px; }
.nav-toggle[aria-expanded="true"] { background: var(--coral); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i { width: 20px; background: var(--abyss); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:nth-child(2) { opacity: 0; transform: translateX(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 120px); }
.section--white { background: var(--white); }
.section--frost { background: var(--frost); }
.section--peach { background: radial-gradient(circle, rgba(255, 111, 94, 0.16) 1.4px, transparent 1.8px) 0 0 / 24px 24px, var(--peach-100); }
.section--teal { background: var(--teal-texture), var(--teal); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head > div { max-width: 640px; }
.section-head > p { max-width: 440px; color: var(--text-2); }
.on-teal .section-head > p { color: var(--on-teal-2); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--tight { margin-bottom: 24px; }



/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero::before {
  /* Memphis dot grid, kept away from the copy */
  content: ""; position: absolute; z-index: -1; right: -40px; bottom: 24px; width: 360px; height: 220px;
  background: radial-gradient(circle, rgba(0, 73, 83, 0.22) 1.6px, transparent 2px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, transparent 10%, #000 70%); mask-image: linear-gradient(120deg, transparent 10%, #000 70%);
}
.hero { isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__copy .display { color: var(--teal); }
.hero__art { position: relative; margin-right: -4%; }
.hero__art img { width: 100%; }
.hero--home .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr); }
.hero__art--home { margin-right: -9%; }
/* hero build: hero.png cut into layers. Parts are placed in source pixels of the 1800×1440 artwork
   (--x, --y, --w) and move in cqw, so every offset scales with the illustration. */
.hero__art--home .build { position: relative; z-index: 1; container-type: inline-size; }
.build .build__base { position: relative; width: 100%; }
.build .build__part { position: absolute; left: calc(var(--x) / 1800 * 100%); top: calc(var(--y) / 1440 * 100%); width: calc(var(--w) / 1800 * 100%); }
/* the roof hangs in a box clipped at the crane pulley, so its cable can be long and move with it */
.build__hoist { height: calc(var(--h) / 1440 * 100%); overflow: hidden; }
.build__load { position: absolute; inset: 0; }
.build .build__load img { position: absolute; left: calc(8 / 266 * 100%); top: calc(99 / 264 * 100%); width: calc(248 / 266 * 100%); }
.build__cable { position: absolute; left: calc(125 / 266 * 100%); bottom: calc(154 / 264 * 100%); width: calc(6 / 266 * 100%); height: 300%;
  background: color-mix(in srgb, var(--teal) 50%, var(--teal-deep)); }
/* scroll (--p from main.js): rows drift apart, clouds and confetti move at their own depth */
.build__block { translate: 0 calc(var(--p, 0) * var(--row) * -1.1cqw); }
.build__load { translate: 0 calc(var(--p, 0) * -3.3cqw); }
.build__cloud { --dx: 1.2cqw; translate: calc(var(--p, 0) * -4cqw) calc(var(--p, 0) * 5cqw); }
.build__cloud--r { --dx: -1cqw; translate: calc(var(--p, 0) * 4cqw) calc(var(--p, 0) * 5cqw); }
.build__confetti { translate: 0 calc(var(--p, 0) * -7cqw); }
/* on load: the tower stacks row by row, then the crane lowers the roof; clouds and confetti idle */
.js .build__block { animation: block-in 820ms calc(300ms + var(--t) * 120ms) both; }
.js .build__load { animation: load-in 1500ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both, load-hover 5s ease-in-out 3100ms infinite; }
.js .build__cloud { animation: drift 18s ease-in-out infinite; }
.js .build__cloud--r { animation-duration: 23s; }
.js .build__confetti { animation: float 7s ease-in-out infinite; }
/* wait until every layer has decoded (main.js adds .is-ready) */
.js .build:not(.is-ready) .build__block, .js .build:not(.is-ready) .build__load { animation-play-state: paused; }
@keyframes block-in {
  0% { opacity: 0; transform: translateY(-4cqw); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5); }
  58% { opacity: 1; transform: translateY(0.2cqw); animation-timing-function: ease-out; }
  78% { transform: translateY(-0.12cqw); animation-timing-function: ease-in-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes load-in { from { transform: translateY(-3.6cqw); } }
@keyframes load-hover { 50% { transform: translateY(-0.4cqw); } }
@keyframes drift { 50% { transform: translateX(var(--dx)); } }
@keyframes float { 50% { transform: translateY(-0.45cqw); } }
/* faint coral light behind the illustration */
.hero__glow { position: absolute; z-index: 0; left: 12%; top: 8%; width: 80%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 111, 94, 0.22) 0%, rgba(255, 160, 137, 0.12) 38%, transparent 68%); filter: blur(10px); }
/* floating hats: drift a few px against the pointer (see main.js) */
.tri { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1 / 0.9; pointer-events: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translate(calc(var(--px, 0) * var(--k) * 1px), calc(var(--py, 0) * var(--k) * 1px)) rotate(var(--r));
  transition: transform 900ms var(--ease-out); }
.tri--coral { background: var(--coral); opacity: 0.85; }
.tri--peach { background: var(--peach); opacity: 0.9; }
.tri--teal { background: var(--teal); opacity: 0.7; }
.tri--line { background: transparent; }
.tri--line::before { content: ""; position: absolute; inset: 0; background: var(--coral); clip-path: polygon(50% 0, 100% 100%, 0 100%, 0 100%, 7% 93%, 93% 93%, 50% 13%, 7% 93%, 0 100%); opacity: 0.7; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { list-style: none; margin: 8px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; border-top: 1px solid var(--line-2); }
.promises li { display: flex; flex-direction: column; line-height: 1.3; }
.promises b { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--teal); letter-spacing: -0.01em; }
.promises span { font-size: 14px; color: var(--text-2); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.hero--page .display { font-size: clamp(40px, 5vw, 64px); }

/* ---------- logos ---------- */
.logos { padding-block: 8px 56px; }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.logos__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); max-width: 150px; line-height: 1.6; }
.logos__row { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; color: var(--slate); }
.logos__row > div { display: flex; align-items: center; gap: 8px; opacity: 0.85; transition: opacity 200ms; }
.logos__row > div:hover { opacity: 1; }
.logos__row svg { width: 22px; height: 22px; }
.logo-img img { width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--r-l); background: var(--white); color: var(--text);
  border: 1.5px solid transparent;
  transition: transform 450ms var(--ease-out), border-color 300ms, box-shadow 450ms var(--ease-out);
}
.service:hover { transform: translateY(-6px); border-color: var(--peach); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.45); }
.service__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--frost); color: var(--teal); margin-bottom: 8px; transition: transform 450ms var(--ease-out); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.06); }
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 22px; color: var(--text); }
.section--teal .service p { color: var(--text-2); font-size: 16px; }
.service__tags { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--teal); }
.service--ai .service__icon { background: linear-gradient(135deg, var(--peach), var(--coral)); color: var(--abyss); }
.service--art { padding: 12px; justify-content: center; }
.service--art img { width: 100%; height: 100%; object-fit: contain; }
.service--art:hover { transform: none; border-color: transparent; box-shadow: none; }

/* ---------- AI ---------- */
.ai-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px); }
.ai-intro__copy { display: flex; flex-direction: column; gap: 18px; }
.ai-intro__copy .h2 { color: var(--teal); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 20px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.card h3 { font-size: clamp(22px, 2.2vw, 28px); }
.card--teal { background: var(--teal-texture), var(--teal); border-color: var(--teal); position: relative; overflow: hidden; }
.card--teal::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--peach); opacity: 0.12; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(18deg); }
.card .btn { align-self: flex-start; }
.card__kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.on-teal .card__kicker { color: var(--peach); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.flow span { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-teal); color: #fff; }
.flow .flow__core { background: var(--peach); border-color: var(--peach); color: var(--abyss); }
.flow i { width: 22px; height: 0; border-top: 2px dashed var(--peach); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 12px; background: var(--coral); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.on-teal .ticks li { color: #E6EFF0; }
.on-teal .ticks li::before { background: var(--peach); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--teal); line-height: 1.25; }
.facts dd { font-size: 14px; color: var(--text-2); }

/* ---------- stack ---------- */
.stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stack__copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stack__copy .h2 { color: var(--teal); }
.stack__copy > p { color: var(--text-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--frost); align-self: flex-start; }
.tab { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; transition: background-color 200ms, color 200ms, box-shadow 200ms; }
.tab:hover { color: var(--teal); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--white); color: var(--teal); box-shadow: 0 2px 8px rgba(11, 25, 30, 0.08); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 104px; align-content: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; }
.js .chip { animation: chip-in 380ms var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(6px); } }
.chip i { width: 9px; height: 9px; border-radius: 2px; background: var(--line-2); }
.chip.is-core { border-color: rgba(255, 111, 94, 0.5); background: var(--peach-100); }
.chip.is-core i { background: var(--coral); clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.chip-legend { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.chip-legend i { width: 9px; height: 9px; background: var(--coral); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.editor { min-width: 0; border-radius: var(--r-l); background: var(--abyss); color: #E6EFF0; padding: 8px; box-shadow: 0 30px 60px -24px rgba(0, 49, 56, 0.5); position: relative; }
.editor::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: linear-gradient(90deg, var(--coral), var(--peach), #7FB7C3); border-radius: 2px; }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; font-family: var(--font-mono); font-size: 11.5px; color: #99ADB2; }
.editor__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.editor__bar i:first-child { background: var(--coral); }
.editor__bar span { margin-left: 10px; }
.editor pre { margin: 0; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.85; overflow-x: auto; }
.editor .k { color: var(--peach); }
.editor .s { color: #97D0DB; }
.editor .n { color: var(--coral); }
.editor__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 14px 8px; font-size: 13px; color: #99ADB2; }
.editor__foot b { color: var(--peach); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 26px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.step img { width: 100%; aspect-ratio: 1 / 0.82; object-fit: contain; border-radius: 18px; margin-bottom: 6px; }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 10px; }
.step__n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.step__time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--coral-ink); background: var(--peach-100); padding: 5px 10px; border-radius: 999px; }
.step h3, .step p { padding-inline: 10px; }
.step h3 { font-size: 22px; color: var(--teal); margin-top: 6px; }
.step p { font-size: 15.5px; color: var(--text-2); }

/* ---------- teaser ---------- */
.teaser { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(20px, 3vw, 32px) clamp(24px, 5vw, 64px) clamp(20px, 3vw, 32px) clamp(12px, 2vw, 24px); border-radius: 36px; background: var(--white); border: 1px solid var(--line); }
.teaser__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.teaser__copy .h2 { color: var(--teal); }
.teaser__copy p { color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--teal-texture), var(--teal); padding: 72px 0 32px; color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer .logo__mark { color: var(--peach); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-teal); }
.footer__brand { max-width: 340px; display: flex; flex-direction: column; gap: 18px; }
.footer__brand p { color: var(--on-teal-2); font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-teal); color: #fff; transition: background-color 200ms, color 200ms, border-color 200ms; }
.socials a:hover { background: var(--peach); color: var(--abyss); border-color: var(--peach); }
.socials svg { width: 18px; height: 18px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 88px); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peach); margin-bottom: 4px; }
.footer__col a, .footer__col span { color: var(--on-teal-2); text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: var(--on-teal-2); }
.footer__bottom a { color: var(--on-teal-2); }
.footer__bottom a:hover { color: #fff; }

/* ---------- about ---------- */
.about-story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-ring { position: relative; aspect-ratio: 1; border-radius: 36px; background: #01343E; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); display: grid; place-items: center; overflow: hidden; }
.about-ring img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.about-ring:hover img { transform: scale(1.03) rotate(2deg); }
.about-ring__caption { position: absolute; z-index: 1; padding: 8px 14px; border-radius: 14px; background: rgba(1, 52, 62, 0.82); left: 26px; bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; color: #fff; }
.about-story__copy { display: flex; flex-direction: column; gap: 16px; }

/* team: each person in their own circle; hover or tap swaps photo for the illustrated portrait */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.crew__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.crew__circle { position: relative; display: block; width: min(100%, 236px); aspect-ratio: 1; margin-bottom: 20px; padding: 0; border: 0; border-radius: 50%; background: var(--frost); cursor: pointer; }
.crew__circle::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(255, 111, 94, 0.55); transition: transform 1600ms var(--ease-out), border-color 300ms; }
.crew__circle::after { content: ""; position: absolute; z-index: 2; top: -6%; right: 8%; width: 18%; aspect-ratio: 0.85; background: linear-gradient(160deg, var(--peach), var(--coral)); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(22deg) scale(0); transform-origin: 50% 100%; transition: transform 450ms var(--ease-out); }
.crew__circle img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.crew__photo { object-position: center 30%; transition: transform 600ms var(--ease-out); }
.crew__art { object-position: center 18%; background: #fff; opacity: 0; transform: scale(1.08) rotate(-8deg); transition: opacity 400ms ease, transform 650ms var(--ease-out); }
.crew__circle:hover::before, .crew__circle[aria-pressed="true"]::before, .crew__circle:focus-visible::before { transform: rotate(90deg); border-color: var(--coral); }
.crew__circle:hover::after, .crew__circle[aria-pressed="true"]::after { transform: rotate(22deg) scale(1); }
.crew__circle:hover .crew__art, .crew__circle[aria-pressed="true"] .crew__art { opacity: 1; transform: none; }
.crew__item h3 { font-size: 19px; color: var(--teal); }
.crew__item p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 10px; }
.crew__in { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--teal); transition: background-color 200ms, color 200ms, border-color 200ms; }
.crew__in svg { width: 18px; height: 18px; }
.crew__in:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.crew__join { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--peach-100); text-decoration: none; }
.crew__join svg { width: 34%; height: 34%; color: var(--coral); transition: transform 700ms var(--ease-out); }
.crew__join b { font-family: var(--font-display); font-size: 19px; color: var(--teal); }
.crew__join:hover svg { transform: rotate(60deg); }
.crew__item--join .link-arrow { margin-top: 4px; font-size: 15px; }
.crew__hint { margin-top: 40px; text-align: center; font-size: 14px; color: var(--text-2); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 32px 30px 28px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.quote:nth-child(2) { background: var(--teal-texture), var(--teal); border-color: var(--teal); }
.quote::before { content: ""; width: 36px; height: 28px; background: var(--coral); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16C0 7 5 1.5 14 0l1.6 4C10.4 5.6 8 9 8 13h7v15zm20 0V16c0-9 5-14.5 14-16l1.6 4C30.4 5.6 28 9 28 13h7v15z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V16C0 7 5 1.5 14 0l1.6 4C10.4 5.6 8 9 8 13h7v15zm20 0V16c0-9 5-14.5 14-16l1.6 4C30.4 5.6 28 9 28 13h7v15z'/%3E%3C/svg%3E") center / contain no-repeat; }
.quote:nth-child(2)::before { background: var(--peach); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--teal); letter-spacing: -0.01em; }
.quote:nth-child(2) blockquote { color: #fff; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.quote:nth-child(2) figcaption { border-top-color: var(--line-teal); }
.quote__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--peach); }
.quote__avatar--initials { display: grid; place-items: center; background: var(--peach-100); color: var(--coral-ink); font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.quote:nth-child(2) .quote__avatar { box-shadow: 0 0 0 3px var(--teal), 0 0 0 5px var(--peach); }
.quote b { display: block; font-weight: 600; color: var(--teal); }
.quote small { font-size: 14px; color: var(--text-2); }
.quote:nth-child(2) b { color: #fff; }
.quote:nth-child(2) small { color: var(--on-teal-2); }
.quotes__note { margin-top: 24px; text-align: center; font-size: 13px; color: var(--text-2); }

/* contact block before the footer */
.contact-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-block__copy { display: flex; flex-direction: column; gap: 18px; }
.contact-block__copy > p { color: var(--slate); max-width: 46ch; }
.contact-block__details { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.contact-block__details dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.contact-block__details dd { font-weight: 600; color: var(--teal); overflow-wrap: anywhere; }
.contact-block__details a { color: inherit; }
.contact-block__art { max-width: 480px; margin-top: 8px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-l); background: var(--bg); border: 1px solid var(--line); }
.value__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: var(--peach); margin-bottom: 8px; }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 21px; color: var(--teal); }
.value p { font-size: 15.5px; color: var(--text-2); }

.place { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.place__art { border-radius: 36px; background: var(--white); border: 1px solid var(--line); padding: 16px; }
.place__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.place__card .h3 { color: var(--teal); }
.place__card p { color: var(--text-2); }

/* ---------- careers ---------- */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.perk { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-l); background: var(--white); border: 1px solid var(--line); transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
.perk:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.perk__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--peach-100); color: var(--coral-ink); margin-bottom: 8px; }
.perk__icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 21px; color: var(--teal); }
.perk p { font-size: 15.5px; color: var(--text-2); }
.life { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.life__item { border-radius: var(--r-l); background: var(--white); overflow: hidden; }
.life__item img { width: 100%; aspect-ratio: 4 / 2.7; object-fit: cover; }
.life__item figcaption { padding: 14px 22px 18px; font-family: var(--font-display); font-weight: 650; font-size: 18px; color: var(--teal); border-top: 1px solid var(--line); }
.life__note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-family: var(--font-display); font-size: 19px; font-weight: 650; color: #fff !important; }
.life__note svg { width: 32px; height: 32px; color: var(--peach); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin-bottom: 24px; border-radius: 999px; background: var(--frost); width: fit-content; max-width: 100%; }
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px 32px; padding: 22px 26px; border-radius: var(--r-m); background: var(--white); border: 1px solid var(--line); transition: border-color 250ms, box-shadow 350ms var(--ease-out), transform 350ms var(--ease-out); }
.job:hover { border-color: rgba(255, 111, 94, 0.5); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.job[hidden] { display: none; }
.job__team { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.job h3 { font-size: 21px; color: var(--teal); margin: 4px 0 10px; }
.job__meta { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text-2); text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 13px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--frost); color: var(--teal); }
.cv-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; padding: 26px 28px; border-radius: var(--r-m); border: 1.5px dashed rgba(255, 111, 94, 0.6); background: var(--peach-100); }
.cv-box b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--teal); display: block; }
.cv-box p { color: var(--slate); }
.hire-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hire-steps li { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-l); background: var(--bg); border: 1px solid var(--line); }
.hire-steps b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 15px; margin-bottom: 8px; }
.hire-steps h3 { font-size: 21px; color: var(--teal); }
.hire-steps p { font-size: 15.5px; color: var(--text-2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-card); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--teal); padding: 0; }
.field .opt { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-s); border: 1px solid rgba(79, 102, 106, 0.3); background: var(--white); font: inherit; font-size: 16px; color: var(--text); transition: border-color 200ms, box-shadow 200ms; }
.field textarea { min-height: 140px; resize: vertical; }
/* custom chevron so the arrow sits 16px from the edge instead of the browser default */
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004953' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 73, 83, 0.14); }
.field input[aria-invalid="true"] { border-color: #BA1A1A; }
.field__error { font-size: 13px; color: #BA1A1A; }
.field__hint { font-size: 13px; color: var(--text-2); }
.field input[type="file"] { padding: 8px; font-size: 15px; color: var(--text-2); cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--frost); color: var(--teal); font: inherit; font-weight: 600; cursor: pointer; transition: background-color 200ms; }
.field input[type="file"]:hover::file-selector-button { background: var(--peach-100); }
.field select[aria-invalid="true"] { border-color: #BA1A1A; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; font-weight: 500; transition: background-color 200ms, border-color 200ms, color 200ms; }
.check input:hover + span { border-color: var(--teal); }
.check input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.check input:checked + span::before { content: ""; width: 10px; height: 10px; background: var(--peach); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.check input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form__foot p { font-size: 14px; color: var(--text-2); }
.form__failure { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--r-s); background: #FCE8E6; color: #93000A; font-size: 15px; }
.form__failure a { color: inherit; font-weight: 600; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
/* honeypot for spam bots: off-screen, not announced */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
.form-success svg { width: 56px; height: 56px; color: var(--coral); }
.form-success .h3 { color: var(--teal); }
.form-card.is-sent .form { display: none; }
.form-card.is-sent .form-success { display: flex; }
.contact__side { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--teal-texture), var(--teal); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.info-card dl { display: flex; flex-direction: column; gap: 18px; }
.info-card dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--peach); margin-bottom: 4px; }
.info-card dd { font-weight: 600; color: #fff; }
.info-card a { text-decoration: none; color: #fff; }
.info-card a:hover { color: var(--peach); }
.note-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px; border-radius: var(--r-l); background: var(--peach-100); }
.note-card b { font-family: var(--font-display); font-size: 19px; color: var(--teal); }
.note-card li { color: var(--slate); font-size: 15.5px; }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r-l); background: var(--bg); border: 1px solid var(--line); }
.next-steps b { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--peach); color: var(--abyss); font-family: var(--font-display); }
.next-steps p { color: var(--text-2); padding-top: 9px; }

/* ---------- motion ---------- */
.js .load { animation: rise 900ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* hover lifts must not inherit the reveal delay */
.js .reveal.is-in:hover { transition-delay: 0ms; }

/* ---------- privacy ---------- */
.hero--legal { padding-block-end: clamp(32px, 4vw, 48px); }
.legal__updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-2); }
.legal-wrap { padding-block-start: 0; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; }
.legal__toc b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.legal__toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 8px; border-left: 2px solid var(--line-2); }
.legal__toc a { font-size: 15px; color: var(--text-2); text-decoration: none; }
.legal__toc a:hover { color: var(--teal); }
.legal { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { margin-top: 32px; font-size: clamp(22px, 2.2vw, 27px); color: var(--teal); letter-spacing: -0.015em; }
.legal h3 { margin: 8px 0 -6px; font-size: 17px; color: var(--text); }
.legal p, .legal li { color: var(--text-2); }
.legal ul:not(.ticks) { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal b { color: var(--text); }
.legal a { color: var(--teal); font-weight: 600; }
.legal__summary { display: flex; flex-direction: column; gap: 14px; padding: 26px 30px; border-radius: var(--r-l); background: var(--peach-100); }
.legal__summary .ticks li { color: var(--text); }
.legal__table { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--white); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.legal__table td:first-child { color: var(--text); font-weight: 600; }
.legal__table td { color: var(--text-2); }
.legal__table tr:last-child td { border-bottom: 0; }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { margin-left: 16px; }
  .nav__link { padding: 9px 12px; }
  .steps, .values, .hire-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: 76px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px;
    border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms, transform 250ms var(--ease-out), visibility 0s 250ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__pill { flex-direction: column; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .nav__link { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .hero__grid, .hero--page .hero__grid, .ai-intro, .stack, .teaser, .contact-block, .about-story, .place, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero__art, .hero__art--home { margin: 0 auto; width: 100%; max-width: 620px; }
  .hero--home .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .tri { display: none; }
  .services, .ai-grid, .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-intro__art { order: 2; max-width: 560px; }
  .teaser { padding: 24px; }
  .about-ring { max-width: 420px; }
  .job { grid-template-columns: minmax(0, 1fr) auto; }
  .job__meta { text-align: left; grid-column: 1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero__art { display: none; }
  .hero::before { display: none; }
  body { font-size: 16px; }
  .site-header__bar { height: 68px; }
  .nav { top: 64px; }
  .services, .perks, .steps, .values, .hire-steps, .next-steps, .life, .form { grid-template-columns: minmax(0, 1fr); }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .crew__circle::before { inset: -6px; }
  .crew__art { transform: scale(1.08) rotate(-3deg); }
  .crew__item h3 { font-size: 16px; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .promises li { flex-direction: row; align-items: baseline; gap: 8px; }
  .promises b { font-size: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .logos__label { max-width: none; }
  .logos__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .logos__row { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .job { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .job .btn { justify-self: start; }
  .tabs { border-radius: 22px; }
  .teaser { border-radius: 28px; }
  .hero::before { width: 220px; height: 160px; }
}
