/* Dothaus site styles. Tokens from handoff SPEC.md. Desktop >= 1024px, mobile <= 767px, tablet uses mobile layout. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-Regular.fbae3a8824.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Inter-Medium.5b3e0c38c5.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-SemiBold.2ad441f4ac.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/BricolageGrotesque-ExtraBold.976a25a738.woff2") format("woff2"); }
@font-face { font-family: Fredoka; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Fredoka-SemiBold.21f3d39428.woff2") format("woff2"); }

:root {
  --sunny: #FFBC0A; --fresh: #2DB45F; --brick: #F2462A; --sky: #2484F0;
  --ink: #1C1B1A; --slate: #4C4D4D; --paper: #F6F4EF; --hairline: #E7E3DB; --white: #fff;
  --muted: #6B6863; /* spec #77746F, darkened to 4.5:1 on Paper */ --placeholder: #A8A49C; --input-border: #D9D4CA; --footer-muted: #BDBBB6; --dashed: #CFC9BE;
  --sky-hover: #155DB3; --sky-text: #1A6FD4; /* Sky where it carries text: 4.9:1 with white */ --fresh-text: #1B7F40; --error-bg: #FDECE9; --error-text: #C7321A;
  --heading: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-hover: 0 8px 20px rgba(28, 27, 26, .18);
  --shadow-card-hover: 0 10px 24px rgba(28, 27, 26, .10);
  --shadow-sky-hover: 0 8px 20px rgba(36, 132, 240, .28);
  --ring: 0 0 0 3px #fff, 0 0 0 6px var(--sky);
  --pad: 64px;
}
@media (max-width: 1023px) { :root { --pad: 40px; } }
@media (max-width: 767px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.display, .h1, .h2, .card__title, .cta__title, .study__title, .plan__name, .plan__price span, .know__headline, .study__section h3, .tile h3 {
  font-family: var(--heading); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink);
}
.display { font-size: clamp(64px, 7.23vw, 104px); line-height: .92; max-width: 1040px; text-align: center; }
.h1 { font-size: 88px; line-height: .95; }
.h2 { font-size: 56px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); line-height: 1.2; }

.pill { display: inline-flex; align-self: flex-start; align-items: center; border-radius: 999px; padding: 7px 14px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pill--live { background: var(--fresh-text); color: #fff; }
.pill--sky { background: var(--sky-text); color: #fff; }
.pill--concept { padding: 6px 11px; color: var(--muted); font-size: 12px; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 16px 28px; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; border: 2px solid transparent; transition: background-color .15s, box-shadow .15s, border-color .15s; }
.btn--small { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; box-shadow: var(--shadow-hover); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--paper); }
.btn--blue { background: var(--sky-text); color: #fff; }
.btn--blue:hover { background: var(--sky-hover); box-shadow: var(--shadow-sky-hover); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); }
.btn:focus-visible { box-shadow: var(--ring); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); transition: background-color .15s; }
.icon-btn:hover { background: var(--hairline); }
.icon-btn--ghost { width: 52px; height: 52px; background: transparent; border: 2px solid var(--ink); }
.icon-btn--ghost:hover { background: var(--paper); }
.icon-btn--ink { width: 52px; height: 52px; background: var(--ink); color: #fff; }
.icon-btn--ink:hover { background: #000; }
.icon-btn--close { width: 48px; height: 48px; }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; border-radius: 12px; }
.logo__text { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.logo__word { font-family: Fredoka, var(--body); font-weight: 600; letter-spacing: -.01em; font-size: 38px; line-height: .9; }
.logo__tag { font-weight: 500; font-size: 9px; letter-spacing: .24em; line-height: 1; color: var(--slate); margin-right: -.24em; }
.logo--footer { gap: 8px; color: #fff; }
.logo--footer .logo__word { font-size: 34px; }
.logo--footer .logo__tag { font-size: 8px; color: var(--footer-muted); }

/* ---------- Header / nav ---------- */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { font-size: 15px; font-weight: 500; padding: 10px 16px; border-radius: 999px; line-height: 1.2; }
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a.is-current { background: var(--paper); }
.nav__links a.is-current { font-weight: 600; }
.nav__cta { justify-self: end; }
.nav__menu { display: none; justify-self: end; }
.burger { display: flex; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); }

.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); }
.menu::backdrop { background: #fff; }
.menu[open] { display: flex; flex-direction: column; }
.menu .nav { display: flex; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.menu__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 12px var(--pad) 40px; }
.menu__link { display: block; padding: 18px 0; border-bottom: 1px solid var(--hairline); font-family: var(--heading); font-weight: 800; letter-spacing: -.04em; font-size: 40px; line-height: 1; }
.menu__body .btn { margin-top: 28px; }
.menu__email { font-size: 14px; color: var(--muted); align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer__links { display: flex; gap: 28px; font-size: 15px; }
.footer a:hover { text-decoration: underline; }
.footer :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--sky); border-radius: 4px; }
.footer__legal { font-size: 14px; color: var(--footer-muted); }

/* ---------- Home: hero ---------- */
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 72px; padding-bottom: 40px; }
.hero__inner > .pill { align-self: center; }
.hero__sub { font-size: 20px; line-height: 1.5; color: var(--slate); text-align: center; max-width: 640px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__deco { position: absolute; border-radius: 999px; pointer-events: none; }
.hero__deco--a { left: 110px; top: 190px; width: 90px; height: 90px; background: var(--sunny); }
.hero__deco--b { left: 176px; top: 250px; width: 54px; height: 54px; background: var(--fresh); }
.hero__deco--c { right: 120px; top: 60px; width: 70px; height: 70px; background: var(--sky); }
.hero__deco--d { right: 92px; top: 110px; width: 44px; height: 44px; background: var(--brick); }
.hero__dots { display: none; }
@media (max-width: 1279px) { .hero__deco--a { left: 24px; } .hero__deco--b { left: 90px; } .hero__deco--c { right: 40px; } .hero__deco--d { right: 20px; } }

/* Intro motion: four logo dots drop, roll into a row and become the cards (site.js drives it). */
.intro-dots { display: none; }
.motion .intro-dots { display: block; position: absolute; left: 50%; bottom: 0; width: 0; height: 0; z-index: 3; pointer-events: none; }
.intro-dots span { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 999px; background: var(--accent); opacity: 0; will-change: transform, opacity; }
.motion .track .card { opacity: 0; animation: show .3s 3s forwards; } /* failsafe if the script never runs */
@keyframes show { to { opacity: 1; } }

/* ---------- Home: work ---------- */
.work { padding: 72px 0 88px; scroll-margin-top: 8px; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.work__head .h2 { margin-top: 12px; }
.work__sub { margin-top: 12px; font-size: 17px; color: var(--slate); }
.arrows { display: flex; gap: 10px; }
.arrows--bottom { display: none; }
.track { display: flex; gap: 24px; margin-top: 32px; padding: 4px max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad))); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 440px; display: flex; flex-direction: column; gap: 16px; padding: 14px 14px 22px; border-radius: 32px; background: #fff; border: 1.5px solid var(--hairline); scroll-snap-align: start; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--ink); box-shadow: var(--shadow-card-hover); }
.card:has(.card__link:focus-visible) { box-shadow: var(--ring); }
.card__media { height: 290px; border-radius: 22px; overflow: hidden; background: #EEF0F5; }
/* Screenshot cards: the whole first screen, inset on a light mat, same frame for every project */
.card__media:not(.card__media--empty) { display: grid; place-items: center; padding: 0 18px; }
.card__media img { width: 100%; height: auto; aspect-ratio: 1048 / 655; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 24, 40, .06), 0 10px 24px -14px rgba(16, 24, 40, .35); }
.card__media--empty { position: relative; background: var(--paper); }
.blob { position: absolute; border-radius: 999px; }
.blob--green { width: 261px; height: 261px; right: -58px; bottom: -87px; background: var(--fresh); }
.blob--blue { width: 102px; height: 102px; left: 35px; top: 35px; background: var(--sky); opacity: .9; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.card__title { font-size: 26px; letter-spacing: -.03em; line-height: 1.2; }
.card__line { font-size: 15px; line-height: 1.45; color: var(--slate); }
.card__link { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--sky-text); border-radius: 6px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: 32px; }
.card__link:focus-visible { box-shadow: none; }
.work__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.dots { display: flex; align-items: center; gap: 8px; }
.dots span { width: 10px; height: 10px; border-radius: 99px; background: var(--hairline); transition: width .2s, background-color .2s; }
.dots span.is-on { width: 32px; background: var(--sunny); }
.count { font-size: 14px; color: var(--muted); }

/* ---------- Home: CTA band ---------- */
.cta-wrap { padding-bottom: 88px; }
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 64px; border-radius: 36px; background: var(--sky-text); color: #fff; }
.cta__blob { position: absolute; border-radius: 999px; }
.cta__blob--sun { right: -50px; top: -70px; width: 170px; height: 170px; background: var(--sunny); }
.cta__blob--brick { right: 90px; bottom: -50px; width: 100px; height: 100px; background: var(--brick); }
.cta__text, .cta__actions { position: relative; }
.cta__title { font-size: 48px; color: #fff; }
.cta__text p { margin-top: 10px; font-size: 18px; }
.cta__actions { display: flex; gap: 12px; }

/* ---------- Case study dialogs ---------- */
.study { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 56px 120px 80px; border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain; }
.study::backdrop { background: rgba(28, 27, 26, .75); }
.study[open] { animation: fade .2s ease-out; }
.study__panel { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; padding: 56px 64px; border-radius: 40px; background: #fff; }
.study__grab { display: none; }
.study__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.study__heading { display: flex; flex-direction: column; gap: 14px; }
.study__title { font-size: 72px; line-height: .95; }
.study__summary { font-size: 20px; line-height: 1.55; color: var(--slate); max-width: 900px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 18px; background: var(--paper); }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.fact dd { font-size: 16px; font-weight: 600; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 18px; background: var(--paper); }
.tile h3 { font-size: 22px; }
.tile p { font-size: 16px; line-height: 1.5; color: var(--slate); }
.study__section { display: flex; flex-direction: column; gap: 16px; }
.study__section h3 { font-size: 32px; }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba { display: flex; flex-direction: column; gap: 12px; }
.ba__frame { aspect-ratio: 524 / 330; border-radius: 24px; overflow: hidden; border: 1.5px solid var(--hairline); }
.ba__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ba__frame--empty { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--dashed); background: var(--paper); }
.ba__frame--empty span { font-family: var(--heading); font-weight: 800; letter-spacing: -.04em; font-size: 28px; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 200px)); gap: 16px; }
.thumbs li { display: flex; flex-direction: column; gap: 10px; min-width: 0; font-size: 14px; font-weight: 600; }
.thumb { height: 160px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--hairline); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.quote { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px; border-radius: 24px; background: var(--paper); }
.quote p { font-size: 18px; line-height: 1.5; font-weight: 500; }
.quote figcaption { font-size: 14px; color: var(--slate); }
.study__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.study__steps { font-size: 15px; font-weight: 600; }
.study__steps a { border-radius: 4px; }
.study__steps a:hover { text-decoration: underline; }
.study__steps [aria-disabled] { color: var(--placeholder); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: .6; } }

/* ---------- Page hero (pricing, 404) ---------- */
.page-hero { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 64px; padding-bottom: 48px; text-align: center; }
.page-hero > .pill { align-self: center; }
.page-hero__sub { font-size: 20px; line-height: 1.5; color: var(--slate); max-width: 640px; }
.page-hero__dots { position: absolute; right: 96px; top: 150px; }
.page-hero--404 { gap: 24px; padding-top: 96px; padding-bottom: 120px; }
.page-hero--404 .page-hero__sub { max-width: 560px; }
.page-hero--404 .hero__deco--a { top: 140px; } .page-hero--404 .hero__deco--b { top: 200px; }
.page-hero--404 .hero__deco--c { top: 80px; } .page-hero--404 .hero__deco--d { top: 130px; }

/* ---------- Pricing ---------- */
.plans { display: flex; justify-content: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.plan { position: relative; flex: 0 1 640px; display: flex; flex-direction: column; gap: 22px; padding: 40px; border-radius: 32px; }
.plan--basic { border: 3px solid var(--sky); background: #fff; }
.plan--custom { background: var(--paper); }
.plan__badge { position: absolute; top: -16px; left: 40px; }
.plan__dots { position: absolute; top: -14px; right: 28px; }
.plan__top { display: flex; flex-direction: column; gap: 6px; }
.plan__name { font-size: 36px; line-height: 1.2; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price span { font-size: 72px; }
.plan__price small { font-size: 15px; color: var(--muted); }
.plan__price--talk span { font-size: 56px; line-height: 1.1; }
.plan__line { font-size: 16px; color: var(--slate); }
.checks { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.checks svg { flex-shrink: 0; margin-top: 2px; }
.know { padding-top: 64px; padding-bottom: 80px; }
.know__title { font-size: 44px; }
.know__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; }
/* Payment and Extra work stack on the left; the care plan spans both rows on the right.
   Column ratios are tuned per width so the left pair and the care plan come out the same
   height with no empty space in any card (measured 768-1920px; see the verify skill). */
.know__card--care { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 1365px) { .know__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
@media (max-width: 1199px) { .know__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 1023px) { .know__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); } }
.know__card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 28px; border: 1.5px solid var(--hairline); }
.know__dot { width: 26px; height: 26px; border-radius: 99px; }
.know__headline { font-size: 32px; line-height: 1.05; }
.know__line, .know__lead, .know__list { font-size: 15px; line-height: 1.5; color: var(--slate); }
.know__lead { margin-top: 6px; font-size: 13px; color: var(--ink); font-weight: 600; }
.know__list { display: flex; flex-direction: column; gap: 8px; }
.know__list li { position: relative; padding-left: 18px; }
.know__list li::before, .bullets li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 99px; background: var(--sky); }
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--slate); }
.note { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 20px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; }
.note span { width: 10px; height: 10px; border-radius: 99px; background: var(--sky); }

/* ---------- Contact ---------- */
.contact { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; padding: 72px max(var(--pad), calc((100% - 1440px) / 2 + 120px)) 100px; }
.contact__intro { flex: 0 1 520px; display: flex; flex-direction: column; gap: 24px; }
.contact__sub { font-size: 19px; line-height: 1.5; color: var(--slate); }
.mailbox { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 24px; border: 1.5px solid var(--hairline); }
.mailbox a { align-self: flex-start; font-family: var(--heading); font-weight: 800; letter-spacing: -.03em; font-size: 32px; line-height: 1.2; color: var(--sky-text); border-radius: 6px; }
.mailbox a:hover { text-decoration: underline; }
.contact__where { margin-top: 4px; font-size: 15px; color: var(--slate); }
.contact .dot-row { margin-top: 4px; }
.form-card { flex: 0 1 640px; padding: 44px; border-radius: 32px; background: var(--paper); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--input-border); background: #fff; font: 500 16px/1.4 var(--body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input { height: 56px; }
.field textarea { height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); font-weight: 400; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(36, 132, 240, .25); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--brick); }
.field__error { font-size: 13px; font-weight: 600; color: var(--error-text); }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }
.form__send { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form__helper { font-size: 13px; color: var(--muted); }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--error-bg); border: 1.5px solid var(--brick); font-size: 14px; line-height: 1.45; }
.banner svg { flex-shrink: 0; }
.banner a { font-weight: 600; text-decoration: underline; }
.success { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.success:focus { outline: none; }
.success h2 { font-family: var(--heading); font-weight: 800; letter-spacing: -.04em; font-size: 36px; line-height: 1.05; }
.success p { font-size: 17px; line-height: 1.5; color: var(--slate); }

/* ---------- Tablet + mobile ---------- */
@media (max-width: 1023px) {
  .nav { display: flex; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .logo { gap: 6px; }
  .logo .mark { width: 30px; height: 30px; }
  .logo__word { font-size: 28px; }
  .logo__tag { font-size: 7px; }
  .logo--footer .logo__word { font-size: 32px; }
  .logo--footer .logo__tag { font-size: 7px; }

  .hero__inner { align-items: flex-start; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .hero__inner > .pill { align-self: flex-start; }
  .hero__deco { display: none; }
  .hero__dots { display: block; position: absolute; right: var(--pad); top: 18px; width: 72px; height: 48px; }
  .display { font-size: 50px; line-height: .95; text-align: left; }
  .hero__sub { font-size: 17px; text-align: left; }
  .actions { flex-direction: column; gap: 10px; width: 100%; }
  .actions .btn { width: 100%; }

  .work { padding: 36px 0 40px; }
  .work__head .h2 { font-size: 36px; margin-top: 8px; }
  .work__sub { font-size: 15px; margin-top: 8px; }
  .arrows--top { display: none; }
  .arrows--bottom { display: flex; }
  .arrows .icon-btn { width: 44px; height: 44px; }
  .count { display: none; }
  .track { gap: 14px; margin-top: 20px; }
  .card { flex-basis: 310px; }
  .card__media { height: 200px; }
  .card__media:not(.card__media--empty) { padding: 0 14px; }
  .card__media img { border-radius: 8px; }
  .card__title { font-size: 22px; }
  .blob--green { width: 180px; height: 180px; right: -40px; bottom: -60px; }
  .blob--blue { width: 70px; height: 70px; left: 24px; top: 24px; }
  .work__foot { margin-top: 20px; }

  .cta-wrap { padding-bottom: 40px; }
  .cta { flex-direction: column; align-items: stretch; gap: 14px; padding: 28px; border-radius: 28px; }
  .cta__blob { display: none; }
  .cta__title { font-size: 34px; }
  .cta__text p { font-size: 16px; margin-top: 14px; }
  .cta__pricing { display: none; }
  .cta__actions .btn { width: 100%; }
  .cta__quote { background: #fff; color: var(--ink); }
  .cta__quote:hover { background: var(--paper); box-shadow: none; }

  .footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 32px; padding-bottom: 40px; }
  .footer__links { gap: 18px; font-size: 14px; }

  .h1 { font-size: 50px; }
  .h2 { font-size: 36px; }
  .page-hero { align-items: flex-start; text-align: left; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
  .page-hero > .pill { align-self: flex-start; }
  .page-hero__sub { font-size: 17px; }
  .page-hero__dots { right: var(--pad); top: 24px; width: 64px; height: 42px; }
  .page-hero--404 { gap: 20px; padding-top: 64px; padding-bottom: 80px; }
  .page-hero--404 .actions { flex-direction: row; flex-wrap: wrap; width: auto; }
  .page-hero--404 .actions .btn { width: auto; }

  .plans { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 8px; }
  .plan { flex-basis: auto; padding: 28px; }
  .plan__badge { left: 28px; }
  .plan__price span { font-size: 56px; }
  .plan__price--talk span { font-size: 44px; }
  .know { padding-top: 36px; padding-bottom: 48px; }
  .know__title { font-size: 36px; }
  .know__grid { gap: 16px; margin-top: 18px; }
  .know__card { padding: 24px; }
  .know__headline { font-size: 28px; }
  .note { border-radius: 20px; }

  .contact { flex-direction: column; gap: 28px; padding: 28px var(--pad) 48px; }
  .contact__intro { flex-basis: auto; width: 100%; }
  .contact__sub { font-size: 17px; }
  .mailbox a { font-size: 26px; }
  .contact .dot-row { display: none; }
  .form-card { flex-basis: auto; width: 100%; padding: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__send .btn { width: 100%; }
  .form__send { align-items: stretch; }

  .study { padding: 56px 0 0; }
  .study[open] { display: flex; flex-direction: column; }
  .study::backdrop { background: rgba(28, 27, 26, .55); }
  .study[open] { animation: none; }
  .study[open] .study__panel { animation: rise .25s ease-out; }
  .study__panel { flex: 1 0 auto; width: 100%; max-width: none; gap: 28px; padding: 12px 20px 40px; border-radius: 28px 28px 0 0; }
  .study__grab { display: block; align-self: center; width: 44px; height: 5px; border-radius: 99px; background: var(--hairline); margin-bottom: -12px; }
  .study__heading { gap: 10px; }
  .study__title { font-size: 38px; }
  .icon-btn--close { width: 40px; height: 40px; }
  .study__summary { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 14px 16px; }
  .duo, .ba-row { grid-template-columns: 1fr; gap: 12px; }
  .ba-row { gap: 24px; }
  .study__section h3 { font-size: 26px; }
  .thumbs { display: flex; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .thumbs li { width: 150px; flex-shrink: 0; }
  .quote p { font-size: 16px; }
  .thumb { height: 120px; border-radius: 14px; }
  .quote { padding: 24px; }
  .study__foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .study__foot .btn { width: 100%; }
}
@media (max-width: 767px) {
  .know__grid { grid-template-columns: 1fr; }
  .know__card--care { grid-column: auto; grid-row: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .display { font-size: 72px; }
  .h1 { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
