/* SyncIt — shared styles: fonts, tokens, header, footer and inner pages.
   Sizing: on desktop (>=1024px) every length is expressed in "u" — 1px of the
   1920px-wide original design — so the whole site scales with the window exactly
   like the deck does. Below 1024px, u is clamped and layouts collapse to one
   column. Slide-specific styles live in deck.css.                                */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-display: swap;
  font-weight: 200 700;
  src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/oswald-latin-wght-normal.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;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("../fonts/dm-sans-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/dm-sans-latin-opsz-normal.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;
}

:root {
  --ink: #15110F;
  --cream: #F6F1EA;
  --paper: #FFFBF6;
  --orange: #F2622E;
  --rust: #C8461A;
  --layer: #221A16;
  --muted: #CBBFB4;      /* body text on dark */
  --dim: #8F8379;        /* small print on dark */
  --body: #4A3F38;       /* body text on light */
  --foot: #7A6E66;       /* small print on light */
  --rule: #3A2F29;       /* dividers on dark */
  --line: #E4DBD0;       /* dividers on light */
  --hero-text: #EFE3DA;
  --hero-small: #D3C4BA;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* 1u = 1px of the 1920px deck, measured against the nearest container */
  --u: calc(100cqw / 1920);
  /* the deck's hero artwork overlay (fitted to the deck pixel-for-pixel) */
  --hero-veil: linear-gradient(90deg, rgba(21,17,15,.919) 0%, rgba(21,17,15,.864) 10%, rgba(21,17,15,.804) 20%, rgba(21,17,15,.747) 30%, rgba(21,17,15,.687) 40%, rgba(21,17,15,.629) 50%, rgba(21,17,15,.546) 60%, rgba(21,17,15,.436) 70%, rgba(21,17,15,.324) 80%, rgba(21,17,15,.215) 90%, rgba(21,17,15,.113) 100%);
  --hero-art: image-set(url("../img/hero-art.webp") type("image/webp"), url("../img/hero-art.jpg") type("image/jpeg"));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-variation-settings: "opsz" 14;   /* DM Sans 14pt cut, as used in the deck */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, table, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .link { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .06em; }
strong, b { font-weight: 700; }
p { text-wrap: pretty; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
/* keep anchored sections clear of the fixed header */
#faq, #demo { scroll-margin-top: max(calc(128 * var(--u)), 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 16px; }

/* Every top-level block is a size container so "u" scales with the page width */
.site-header, .deck, .page, .site-footer { container-type: inline-size; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: max(calc(67 * var(--u)), 48px);
  padding: 0 max(calc(36 * var(--u)), 22px);
  border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: max(calc(28 * var(--u)), 16px); line-height: 1;
  white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--solid { background: var(--orange); color: var(--ink); }
.btn--solid:hover { background: #F57A4C; }
.btn--line { background: transparent; color: var(--cream); border: max(calc(2 * var(--u)), 1.5px) solid currentColor; }
.btn--line:hover { color: var(--orange); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #2A221D; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: max(calc(24 * var(--u)), 12px) max(calc(128 * var(--u)), 16px) 0;
}
.glass {
  pointer-events: auto;
  background: rgba(21, 17, 15, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(246, 241, 234, .10);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(21, 17, 15, .18);
}
.brand {
  display: flex; align-items: center;
  height: max(calc(72 * var(--u)), 48px);
  padding: 0 max(calc(28 * var(--u)), 18px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.brand img { height: max(calc(30 * var(--u)), 22px); width: auto; }
.brand:hover { text-decoration: none; }
/* On the home page the deck's own logo is on screen at the top, so the header logo waits */
.is-home:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; transform: translateY(-6px); }

.nav { display: flex; align-items: center; gap: max(calc(8 * var(--u)), 4px); height: max(calc(72 * var(--u)), 48px); padding: 0 max(calc(8 * var(--u)), 6px) 0 max(calc(20 * var(--u)), 12px); }
.nav__link {
  display: inline-flex; align-items: center; height: 100%;
  padding: 0 max(calc(18 * var(--u)), 10px);
  font-weight: 500; font-size: max(calc(24 * var(--u)), 15px); color: var(--cream);
}
.nav__link:hover { color: var(--orange); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--orange); }
.nav__cta { height: max(calc(56 * var(--u)), 38px); padding: 0 max(calc(28 * var(--u)), 16px); font-size: max(calc(24 * var(--u)), 15px); margin-left: max(calc(10 * var(--u)), 6px); }
.menu-btn { display: none; }
.menu { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: calc(128 * var(--u)) calc(128 * var(--u)) calc(64 * var(--u)); border-top: max(calc(2 * var(--u)), 1px) solid var(--rule); }
.site-footer__logo { width: calc(240 * var(--u)); min-width: 150px; }
.site-footer__mission { margin-top: calc(56 * var(--u)); max-width: calc(1380 * var(--u)); font-weight: 400; font-size: calc(44 * var(--u)); line-height: 1.3; color: var(--hero-text); }
.site-footer__cta { margin-top: calc(56 * var(--u)); display: flex; flex-wrap: wrap; gap: calc(28 * var(--u)); }
.site-footer__base {
  margin-top: calc(112 * var(--u)); padding-top: calc(40 * var(--u));
  border-top: max(calc(2 * var(--u)), 1px) solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: calc(40 * var(--u));
  font-size: calc(22 * var(--u)); color: var(--dim);
}
.site-footer__credit { margin-top: calc(10 * var(--u)); }
.site-footer__credit a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(246, 241, 234, .25); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.site-footer__credit a:hover { color: var(--orange); text-decoration-color: var(--orange); }
.site-footer__links { display: flex; gap: calc(40 * var(--u)); font-weight: 500; font-size: calc(24 * var(--u)); color: var(--muted); margin-bottom: calc(16 * var(--u)); }
.site-footer__links a:hover { color: var(--orange); text-decoration: none; }
.socials { display: flex; gap: calc(16 * var(--u)); }
.socials a {
  display: grid; place-items: center;
  width: max(calc(56 * var(--u)), 40px); height: max(calc(56 * var(--u)), 40px);
  border-radius: 50%; border: max(calc(2 * var(--u)), 1.5px) solid var(--rule); color: var(--cream);
  transition: color .15s ease, border-color .15s ease;
}
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.socials svg { width: 46%; height: 46%; }

/* ---------- Inner pages ---------- */
.page { background: var(--cream); color: var(--ink); }
.band { position: relative; padding: calc(128 * var(--u)); }
.band--dark  { background: var(--ink); color: var(--cream); }
.band--light { background: var(--cream); color: var(--ink); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--hot   { background: var(--orange); color: var(--ink); }
.band--light + .band--light, .band--paper + .band--paper { padding-top: 0; }

.page-hero {
  position: relative;
  min-height: calc(860 * var(--u));
  padding: calc(260 * var(--u)) calc(128 * var(--u)) calc(128 * var(--u));
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--hero-veil), var(--ink) var(--hero-art) center / cover no-repeat;
  color: var(--cream);
}
.page-hero--short { min-height: calc(720 * var(--u)); }
.page-hero__title { margin-top: calc(28 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(140 * var(--u)); line-height: 1; text-transform: uppercase; }
.page-hero__lead { margin-top: calc(44 * var(--u)); max-width: calc(1300 * var(--u)); font-size: calc(44 * var(--u)); line-height: 1.3; color: var(--hero-text); }

.kicker { font-weight: 700; font-size: calc(28 * var(--u)); letter-spacing: .145em; text-transform: uppercase; color: var(--rust); }
.band--dark .kicker, .page-hero .kicker { color: var(--orange); }
.band--hot .kicker { color: var(--ink); }
.title { margin-top: calc(32 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(88 * var(--u)); line-height: calc(93 * var(--u)); text-transform: uppercase; max-width: calc(1500 * var(--u)); }
.title--xl { font-size: calc(96 * var(--u)); line-height: calc(101 * var(--u)); }
.band--dark .hl { color: var(--orange); }
.band--light .hl, .band--paper .hl { color: var(--rust); }
.lead { margin-top: calc(40 * var(--u)); max-width: calc(1240 * var(--u)); font-size: calc(36 * var(--u)); line-height: 1.4; color: var(--body); }
.band--dark .lead { color: var(--muted); }
.prose { font-size: calc(30 * var(--u)); line-height: 1.5; color: var(--body); }
.prose p + p { margin-top: 1em; }
.band--dark .prose { color: var(--muted); }

.grid { display: grid; gap: calc(32 * var(--u)); margin-top: calc(80 * var(--u)); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--paper); border-radius: calc(16 * var(--u)); }
.card--pad { padding: calc(40 * var(--u)); }
.card--dark { background: var(--ink); color: var(--cream); }
.card--layer { background: var(--layer); color: var(--cream); }
.card__num { font-family: var(--display); font-weight: 600; font-size: calc(88 * var(--u)); line-height: 1; color: var(--rust); }
.card--dark .card__num, .card--layer .card__num { color: var(--orange); }
.card__title { font-family: var(--display); font-weight: 600; font-size: calc(44 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.card__num + .card__title, .card__num + .card__text { margin-top: calc(16 * var(--u)); }
.card__text { margin-top: calc(14 * var(--u)); font-size: calc(30 * var(--u)); line-height: 1.4; color: var(--body); }
.card--dark .card__text, .card--layer .card__text { color: var(--muted); }

/* About — story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: calc(96 * var(--u)); margin-top: calc(72 * var(--u)); align-items: start; }
.story__lead { font-size: calc(40 * var(--u)); line-height: 1.4; color: var(--ink); }
.mission { margin-top: calc(32 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(96 * var(--u)); line-height: calc(101 * var(--u)); text-transform: uppercase; max-width: calc(1600 * var(--u)); }

/* About — team */
.team { grid-template-columns: repeat(3, 1fr); row-gap: calc(64 * var(--u)); }
.person-card__photo {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; border-radius: calc(16 * var(--u));
  background: var(--ink); color: var(--orange);
}
.person-card__photo picture { display: contents; }
/* Source photos arrive in mixed colour styles, so they share one black-and-white
   treatment and show their original colour on hover. */
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .3s ease; }
.person-card:hover .person-card__photo img { filter: none; }
.person-card__photo::after {
  content: attr(data-initials); position: absolute; inset: 0; display: none; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: calc(140 * var(--u));
}
.person-card__photo.is-missing img { display: none; }
.person-card__photo.is-missing::after { display: grid; }
.person-card__name { margin-top: calc(32 * var(--u)); font-family: var(--display); font-weight: 600; font-size: calc(44 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.person-card__role { margin-top: calc(12 * var(--u)); font-weight: 700; font-size: calc(26 * var(--u)); color: var(--rust); }
.person-card__bio { margin-top: calc(14 * var(--u)); font-size: calc(28 * var(--u)); line-height: 1.45; color: var(--body); }

/* About — advisors & operations (smaller cards) */
.team__sub { margin-top: calc(96 * var(--u)); padding-top: calc(40 * var(--u)); border-top: max(calc(2 * var(--u)), 1px) solid var(--line); font-weight: 700; font-size: calc(24 * var(--u)); letter-spacing: .145em; text-transform: uppercase; color: var(--rust); }
.team-small { margin-top: calc(40 * var(--u)); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(48 * var(--u)) calc(32 * var(--u)); }
.person-mini { display: grid; grid-template-columns: calc(140 * var(--u)) 1fr; column-gap: calc(28 * var(--u)); align-items: center; align-content: start; }
.person-mini__photo { position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; border-radius: calc(12 * var(--u)); background: var(--ink); color: var(--orange); }
.person-mini__photo picture { display: contents; }
.person-mini__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transition: filter .3s ease; }
.person-mini:hover .person-mini__photo img { filter: none; }
.person-mini__photo::after { content: attr(data-initials); position: absolute; inset: 0; display: none; place-items: center; font-family: var(--display); font-weight: 700; font-size: calc(48 * var(--u)); }
.person-mini__photo.is-missing img { display: none; }
.person-mini__photo.is-missing::after { display: grid; }
.person-mini__name { font-family: var(--display); font-weight: 600; font-size: calc(36 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.person-mini__role { margin-top: calc(6 * var(--u)); font-weight: 700; font-size: calc(22 * var(--u)); color: var(--rust); }
.person-mini__bio { grid-column: 1 / -1; margin-top: calc(20 * var(--u)); font-size: calc(26 * var(--u)); line-height: 1.45; color: var(--body); }

/* About — FAQ */
.faq { display: grid; grid-template-columns: calc(480 * var(--u)) 1fr; gap: calc(96 * var(--u)); margin-top: calc(80 * var(--u)); }
.faq__group + .faq__group { margin-top: calc(64 * var(--u)); }
.faq__group h3 { font-weight: 700; font-size: calc(24 * var(--u)); letter-spacing: .145em; text-transform: uppercase; color: var(--orange); margin-bottom: calc(16 * var(--u)); }
.faq details { border-top: max(calc(2 * var(--u)), 1px) solid var(--rule); }
.faq details:last-child { border-bottom: max(calc(2 * var(--u)), 1px) solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: calc(32 * var(--u));
  padding: calc(28 * var(--u)) 0;
  font-weight: 500; font-size: calc(32 * var(--u)); line-height: 1.3; color: var(--cream);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); min-width: 12px; min-height: 12px;
  background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange); }
.faq details p { padding: 0 calc(80 * var(--u)) calc(32 * var(--u)) 0; font-size: calc(28 * var(--u)); line-height: 1.5; color: var(--muted); }

/* Products */
.product-block { display: grid; grid-template-columns: 1fr 1fr; gap: calc(96 * var(--u)); align-items: center; }
.product-block + .product-block { margin-top: calc(128 * var(--u)); }
.product-block--flip .product-block__media { order: 2; }
.product-block__media { border-radius: calc(16 * var(--u)); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; }
.product-block__media img, .product-block__media video { width: 100%; height: 100%; object-fit: cover; }
.product-block__name { margin-top: calc(24 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(80 * var(--u)); line-height: calc(84 * var(--u)); text-transform: uppercase; }
.product-block .prose { margin-top: calc(32 * var(--u)); }
.tool__list { margin-top: calc(24 * var(--u)); padding-top: calc(24 * var(--u)); border-top: max(calc(2 * var(--u)), 1px) solid var(--line); display: grid; gap: calc(14 * var(--u)); }
.tool__list li { position: relative; padding-left: calc(28 * var(--u)); font-size: calc(26 * var(--u)); line-height: 1.45; color: var(--body); }
.tool__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: calc(10 * var(--u)); height: calc(10 * var(--u)); min-width: 6px; min-height: 6px; border-radius: 50%; background: var(--orange); }

/* Products: Fanthem tagline + points */
.product-block__tag { margin-top: calc(24 * var(--u)); font-family: var(--display); font-weight: 600; font-size: calc(44 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.points { margin-top: calc(40 * var(--u)); display: grid; gap: calc(28 * var(--u)); }
.points li { border-left: max(calc(3 * var(--u)), 2px) solid var(--orange); padding-left: calc(25 * var(--u)); }
.points h3 { font-family: var(--display); font-weight: 600; font-size: calc(40 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.points p { margin-top: calc(8 * var(--u)); font-size: calc(28 * var(--u)); line-height: 1.4; color: var(--muted); }
.band--dark .grid + .lead { margin-top: calc(56 * var(--u)); }

/* Products: supporting layers */
.layer-card { overflow: hidden; display: flex; flex-direction: column; }
.layer-card img { width: 100%; height: auto; }  /* whole dashboard, uncropped */
.layer-card__body { padding: calc(40 * var(--u)); }
.layer-card__name { font-family: var(--display); font-weight: 600; font-size: calc(48 * var(--u)); line-height: 1.1; text-transform: uppercase; }
.layer-card__line { margin-top: calc(14 * var(--u)); font-size: calc(30 * var(--u)); line-height: 1.4; color: var(--ink); }

/* Products: in development */
.next { display: grid; grid-template-columns: 1fr 1fr; gap: calc(96 * var(--u)); align-items: end; }
.next .lead { margin-top: 0; }
.next .site-footer__cta { margin-top: calc(40 * var(--u)); }

/* Contact: one section over the hero artwork; text + details left, form right */
.contact-hero {
  padding: calc(220 * var(--u)) calc(128 * var(--u)) calc(128 * var(--u));
  background: var(--hero-veil), var(--ink) var(--hero-art) center / cover no-repeat;
  color: var(--cream);
}
.contact { display: grid; grid-template-columns: 1fr calc(880 * var(--u)); gap: calc(128 * var(--u)); align-items: start; }
.contact__aside { padding-top: calc(24 * var(--u)); }
.contact__title { margin-top: calc(28 * var(--u)); font-family: var(--display); font-weight: 700; font-size: calc(112 * var(--u)); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.contact__lead { margin-top: calc(40 * var(--u)); max-width: calc(680 * var(--u)); font-size: calc(36 * var(--u)); line-height: 1.4; color: var(--hero-text); }
.contact__direct { margin: calc(64 * var(--u)) 0 0; padding-top: calc(40 * var(--u)); border-top: max(calc(2 * var(--u)), 1px) solid rgba(246, 241, 234, .18); display: grid; gap: calc(32 * var(--u)); }
.contact__direct dt { font-weight: 700; font-size: calc(22 * var(--u)); letter-spacing: .145em; text-transform: uppercase; color: var(--orange); }
.contact__direct dd { margin: calc(8 * var(--u)) 0 0; font-size: calc(30 * var(--u)); line-height: 1.4; color: var(--cream); }
.contact__direct .link:hover { color: var(--orange); }
.contact__direct .socials a { border-color: rgba(246, 241, 234, .28); color: var(--cream); }
.contact__direct .socials a:hover { border-color: var(--orange); color: var(--orange); }
.contact .form { box-shadow: 0 24px 60px rgba(21, 17, 15, .35); color: var(--ink); }
.form { padding: calc(56 * var(--u)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(24 * var(--u)); }
.field { display: grid; gap: calc(12 * var(--u)); margin-top: calc(28 * var(--u)); }
.form__row .field { margin-top: 0; }
.field > label, .field > legend { font-weight: 700; font-size: max(calc(22 * var(--u)), 13px); letter-spacing: .12em; text-transform: uppercase; color: var(--body); padding: 0; }
.field input, .field textarea {
  width: 100%; border: max(calc(2 * var(--u)), 1px) solid var(--line); background: #fff; border-radius: calc(14 * var(--u));
  padding: max(calc(20 * var(--u)), 12px) max(calc(24 * var(--u)), 14px);
  font-size: max(calc(28 * var(--u)), 16px); line-height: 1.4; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: calc(220 * var(--u)); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 98, 46, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rust); }
fieldset.field { border: 0; margin-left: 0; margin-right: 0; padding: 0; }
.field > legend { margin-bottom: calc(14 * var(--u)); }
.nowrap { white-space: nowrap; }
.checks { display: flex; flex-wrap: wrap; gap: calc(12 * var(--u)); }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span {
  display: inline-flex; align-items: center; height: max(calc(56 * var(--u)), 40px); padding: 0 max(calc(24 * var(--u)), 14px);
  border-radius: 999px; border: max(calc(2 * var(--u)), 1px) solid var(--line); background: #fff;
  font-weight: 500; font-size: max(calc(26 * var(--u)), 15px); color: var(--body); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.check input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: calc(40 * var(--u)); width: 100%; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__note { margin-top: calc(20 * var(--u)); font-size: max(calc(22 * var(--u)), 13px); color: var(--foot); }
.form__status { margin-top: calc(24 * var(--u)); padding: calc(24 * var(--u)) calc(28 * var(--u)); border-radius: calc(14 * var(--u)); font-size: max(calc(26 * var(--u)), 15px); line-height: 1.4; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #E9F5EC; color: #1E5B32; }
.form__status--err { background: #FBE9E3; color: #8A2F12; }
.thanks { text-align: left; }

/* Trusted by (home) */
.trusted { background: var(--paper); color: var(--ink); padding: calc(112 * var(--u)) calc(128 * var(--u)) calc(120 * var(--u)); container-type: inline-size; }
.trusted .kicker { color: var(--rust); }
.trusted__grid { margin-top: calc(56 * var(--u)); display: grid; grid-template-columns: repeat(6, 1fr); border-top: max(calc(2 * var(--u)), 1px) solid var(--line); border-left: max(calc(2 * var(--u)), 1px) solid var(--line); }
.trusted__grid li { display: grid; place-items: center; height: calc(168 * var(--u)); padding: calc(24 * var(--u)) calc(32 * var(--u)); border-right: max(calc(2 * var(--u)), 1px) solid var(--line); border-bottom: max(calc(2 * var(--u)), 1px) solid var(--line); }
.trusted__grid img { max-height: calc(84 * var(--u)); max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .2s ease, opacity .2s ease; }
.trusted__grid li:hover img { filter: none; opacity: 1; }

/* ---------- Below 1024px: one readable column ---------- */
@media (max-width: 1023.98px) {
  :root { --u: clamp(0.5px, calc(100cqw / 760), 0.72px); }
  .site-header__bar { padding: 12px 16px 0; }
  .nav { display: none; }
  .is-home:not(.is-scrolled) .brand { opacity: 1; visibility: visible; transform: none; background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .is-home:not(.is-scrolled) .brand img { opacity: 0; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 20px; pointer-events: auto;
    border: 1px solid rgba(246, 241, 234, .10); cursor: pointer; font-weight: 700; font-size: 15px; color: var(--cream);
  }
  .menu-btn__icon { width: 18px; height: 12px; position: relative; }
  .menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease; }
  .menu-btn__icon::before { top: 1px; } .menu-btn__icon::after { top: 9px; }
  .menu-open .menu-btn__icon::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-btn__icon::after { top: 5px; transform: rotate(-45deg); }
  .menu {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: -1; pointer-events: auto;
    padding: 96px 24px 32px; background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu a.menu__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1.1; text-transform: uppercase; color: var(--cream); }
  .menu a.menu__link[aria-current="page"] { color: var(--orange); }
  .menu .btn { margin-top: 28px; }
  .menu .socials { margin-top: auto; padding-top: 32px; }
  .menu-open { overflow: hidden; }

  .site-footer { padding: 64px 24px 32px; }
  .site-footer__mission { font-size: 20px; }
  .site-footer__base { flex-direction: column; align-items: flex-start; font-size: 12px; gap: 20px; }
  .site-footer__links { font-size: 15px; gap: 20px; flex-wrap: wrap; }
  .site-footer__cta { gap: 12px; }

  .band { padding: 64px 24px; }
  .band--light + .band--light, .band--paper + .band--paper { padding-top: 0; }
  .page-hero { min-height: 72svh; padding: 120px 24px 48px; background: linear-gradient(180deg, rgba(21,17,15,.55), rgba(21,17,15,.88)), var(--ink) var(--hero-art) 30% center / cover no-repeat; }
  .page-hero__title { font-size: clamp(44px, 13vw, 84px); }
  .page-hero__lead { font-size: 18px; }
  .kicker { font-size: 13px; }
  .title, .title--xl, .mission { font-size: clamp(32px, 9vw, 56px); line-height: 1.05; }
  .lead { font-size: 18px; }
  .prose { font-size: 16px; }
  .grid { margin-top: 32px; gap: 14px; }
  .grid--2, .grid--3, .grid--4, .team, .next { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .card--pad { padding: 24px; }
  .card__num { font-size: 44px; }
  .card__title { font-size: 26px; }
  .card__text { font-size: 16px; }
  .story, .faq, .product-block, .contact, .next { grid-template-columns: 1fr; gap: 32px; }
  .story__lead { font-size: 20px; }
  .team { row-gap: 40px; }
  .person-card__name { font-size: 26px; margin-top: 16px; }
  .person-card__role { font-size: 14px; }
  .person-card__bio { font-size: 15px; }
  .person-card__photo::after { font-size: 72px; }
  .team__sub { margin-top: 48px; padding-top: 24px; font-size: 12px; }
  .team-small { grid-template-columns: 1fr; margin-top: 20px; gap: 28px; }
  .person-mini { grid-template-columns: 88px 1fr; column-gap: 16px; }
  .person-mini__photo::after { font-size: 30px; }
  .person-mini__name { font-size: 22px; }
  .person-mini__role { font-size: 13px; }
  .person-mini__bio { margin-top: 12px; font-size: 15px; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq details p { font-size: 15px; padding: 0 0 20px; }
  .faq__group h3 { font-size: 12px; }
  .product-block + .product-block { margin-top: 64px; }
  .product-block--flip .product-block__media { order: 0; }
  .product-block__name { font-size: 40px; line-height: 1.05; }
  .product-block__tag { font-size: 24px; }
  .points h3 { font-size: 22px; }
  .points p { font-size: 16px; }
  .layer-card__body { padding: 24px; }
  .layer-card__name { font-size: 28px; }
  .layer-card__line { font-size: 17px; }
  .tool__list li { font-size: 15px; padding-left: 18px; }
  .contact-hero { padding: 104px 24px 48px; background: linear-gradient(180deg, rgba(21,17,15,.55), rgba(21,17,15,.88)), var(--ink) var(--hero-art) 30% center / cover no-repeat; }
  .contact__aside { padding-top: 0; }
  .contact__title { font-size: clamp(40px, 12vw, 72px); }
  .contact__lead { font-size: 18px; }
  .contact__direct { margin-top: 32px; padding-top: 24px; }
  .contact__direct dt { font-size: 12px; }
  .contact__direct dd { font-size: 17px; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__row .field + .field { margin-top: 20px; }
  .field { margin-top: 20px; gap: 8px; }
  .trusted { padding: 56px 24px; }
  .trusted .kicker { font-size: 13px; }
  .trusted__grid { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
  .trusted__grid li { height: 92px; padding: 14px; }
  .trusted__grid img { max-height: 44px; }
}
@media (max-width: 520px) {
  .trusted__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: 1fr; }
}
