/* esuite pro — design tokens and components.
   Brand orange #FF6B35 was read from the live esuite.pro stylesheet (--color-accent).
   Text-on-light uses the darker variants below, which pass WCAG AA (see README, "Contrast audit"). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FF6B35;        /* signature: fills, marks, text on carbon */
  --orange-deep: #D9480F;   /* large display text on light (>= 3:1) */
  --orange-text: #B93C0A;   /* small text on light (>= 4.5:1) */
  --orange-soft: #FFE9DF;
  --orange-on-dark: #FF9A70;
  --carbon: #111418;
  --ink-2: #3A3F45;
  --muted: #5C6066;
  --canvas: #FAF8F4;
  --tint: #F3EFE8;
  --white: #FFFFFF;
  --mint: #C9F1DC;
  --mint-soft: #E4F7EC;
  --hairline: #E4E4DF;
  --control-border: #8C8F94; /* >= 3:1 against white for form controls */
  --error: #B3261E;

  --radius-card: 22px;
  --radius-control: 14px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--carbon);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.55rem + 4.4vw, 5rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.875rem, 1.45rem + 2vw, 3.25rem); }
h3 { font-size: 1.3125rem; letter-spacing: -0.02em; line-height: 1.2; }
.h-small { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 20px; }
p { max-width: 70ch; text-wrap: pretty; }

.lead { font-size: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem); line-height: 1.5; color: var(--ink-2); }
.fine-print { font-size: 0.9375rem; color: var(--muted); }
.eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 18px;
}
.eyebrow-ink { color: var(--carbon); }
.eyebrow-on-dark { color: var(--orange-on-dark); }

.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;
}

/* Focus: one strong, consistent ring everywhere; light ring on dark surfaces. */
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; border-radius: 6px; }
.site-footer :focus-visible, .contact-intro :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--carbon); color: var(--white); border-radius: 12px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; outline-color: var(--orange); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: calc(820px + 2 * var(--gutter)); }

/* ---------- icons ---------- */
.ic { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.12em; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--radius-control);
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.btn .ic { transition: transform 200ms var(--ease); }
.btn:hover .ic, .btn:focus-visible .ic { transform: translate(2px, -2px); }
.btn-lg { min-height: 52px; padding: 14px 26px; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 0.9375rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--carbon); color: var(--white); border-color: var(--carbon); }
.btn-dark:hover { background: #2A2F36; border-color: var(--orange); }
.btn-light { background: var(--white); color: var(--carbon); border-color: #C9C9C3; }
.btn-light:hover { border-color: var(--orange); }
.btn[disabled] { opacity: 0.75; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.reply-note { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--orange-text);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px;
  transition: text-decoration-color 180ms var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link .ic { transition: transform 200ms var(--ease); }
.text-link:hover .ic, .text-link:focus-visible .ic { transform: translateX(3px); }
.text-link-ink { color: var(--carbon); text-decoration-color: currentColor; }

/* Makes a whole card clickable while keeping one real link for assistive tech. */
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
/* Logo PNGs are built by tools/brand/build.py at 4x; 102x22 is the size of the type they replace. */
.wordmark { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark img { width: 102px; height: 22px; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 6px; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  font-size: 0.9688rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
}
.nav-desktop a:hover { color: var(--carbon); background: var(--tint); }
.nav-desktop a[aria-current="page"] { color: var(--carbon); font-weight: 600; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.lang-switch a, .lang-switch .lang-current { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0 6px; border-radius: 10px; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--carbon); text-decoration: underline; text-underline-offset: 4px; }
.lang-current { color: var(--carbon); }
.lang-sep { color: var(--muted); }

.nav-mobile summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #C9C9C3; border-radius: 12px;
  background: var(--white); font-size: 0.9375rem; font-weight: 600; cursor: pointer; list-style: none; user-select: none;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { border-color: var(--carbon); }
.nav-mobile nav {
  position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 24px;
  background: var(--canvas); border-bottom: 1px solid var(--hairline); box-shadow: 0 18px 30px -18px rgba(17, 20, 24, 0.25);
}
.nav-mobile li a {
  display: flex; align-items: center; min-height: 52px; font-size: 1.125rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}
.nav-mobile li a[aria-current="page"] { color: var(--orange-text); }
.nav-mobile .btn { width: 100%; margin-top: 20px; }

@media (min-width: 920px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* Sticky only after the visitor has scrolled past the hero (class set by site.js). */
.is-stuck .site-header { position: sticky; top: 0; background: rgba(250, 248, 244, 0.94); backdrop-filter: blur(10px); }
@media (prefers-reduced-motion: no-preference) {
  .is-stuck .site-header { animation: header-drop 220ms var(--ease) both; }
}
@keyframes header-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-flush { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 860px; }
.section-head .lead { margin-top: 20px; }
.section-more { margin-top: 36px; }

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 104px); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
.display .line { display: block; }
.display .accent { color: var(--orange-deep); }
.hero .lead { margin-top: 26px; max-width: 34em; }

.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem); max-width: 17em; }
.page-hero .lead { margin-top: 24px; max-width: 40em; }

/* ---------- hero illustration (decorative, not a product screenshot) ---------- */
.hero-art {
  display: grid; place-items: center; min-height: 320px; padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 56px);
  background: var(--tint); border-radius: 28px; overflow: hidden;
}
.window { position: relative; width: min(100%, 360px); background: #FFFDFA; border-radius: 18px; box-shadow: 12px 14px 0 #E2DDD3; transform: rotate(3.5deg); }
.window-bar { display: flex; gap: 8px; align-items: center; height: 40px; padding: 0 16px; background: var(--carbon); border-radius: 18px 18px 0 0; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D9D9D4; }
.window-body { padding: 26px 26px 30px; }
.pill { display: inline-block; padding: 7px 14px; background: var(--mint); border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.window-title { margin: 20px 0 18px; font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.window-title .plus { color: var(--orange); }
.bar { display: block; height: 8px; width: 72%; margin-bottom: 10px; background: #DDE2DF; border-radius: 4px; }
.bar-short { width: 46%; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.tile { padding: 12px 12px 26px; background: var(--orange-soft); border-radius: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.window-spark { position: absolute; right: 26px; top: 84px; color: var(--orange); font-size: 2.25rem; line-height: 0; }
.window-spark .ic { width: 1em; height: 1em; }

/* Under 800ms, runs once, then the composition is still. */
@media (prefers-reduced-motion: no-preference) {
  .window { animation: window-in 620ms var(--ease) both; }
  .window-spark { animation: spark-in 700ms 80ms var(--ease) both; }
}
@keyframes window-in { from { opacity: 0; transform: translateY(14px) rotate(1deg); } to { opacity: 1; transform: rotate(3.5deg); } }
@keyframes spark-in { from { opacity: 0; transform: scale(0.4) rotate(-60deg); } to { opacity: 1; transform: none; } }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 34px);
  background: var(--white); border: 1.5px solid var(--hairline); border-radius: var(--radius-card);
  transition: border-color 200ms var(--ease);
}
.card p { color: var(--ink-2); }
.card .text-link { margin-top: auto; padding-top: 10px; }
.card-link:hover, .card-link:focus-within { border-color: var(--orange); }
.card-link .text-link:focus-visible { outline: none; }
.card-link:has(.text-link:focus-visible) { outline: 3px solid var(--carbon); outline-offset: 3px; }
.card-link:hover .ic { transform: translate(3px, -3px); }
.card-num { font-size: 0.875rem; font-weight: 700; color: var(--orange-text); letter-spacing: 0.04em; }

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .feature-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding: 24px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 18px; }
.feature h3 { font-size: 1.125rem; margin-bottom: 8px; }
.feature p { font-size: 1rem; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chips li { padding: 10px 16px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 999px; font-size: 1rem; font-weight: 500; }
.aside-note { margin-top: 28px; padding-left: 16px; border-left: 3px solid var(--orange); font-weight: 600; color: var(--ink-2); }
.callout { margin-top: 28px; padding: 18px 22px; background: var(--orange-soft); border-left: 4px solid var(--orange); border-radius: 12px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.step { padding: 24px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 18px; }
.section:not(.section-tint) .step { background: var(--tint); border-color: transparent; }
.step-num { display: block; margin-bottom: 14px; font-size: 0.875rem; font-weight: 700; color: var(--orange-text); letter-spacing: 0.04em; }
.step-title { font-size: 1.1875rem; margin-bottom: 8px; }
.step p { font-size: 1rem; color: var(--ink-2); }

/* ---------- services index ---------- */
.service-rows { border-top: 1.5px solid var(--hairline); }
.service-row {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: start;
  padding: clamp(24px, 3.5vw, 40px) 4px; border-bottom: 1.5px solid var(--hairline);
}
.service-row h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem); margin-bottom: 10px; }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.service-row p { color: var(--ink-2); }
.service-row .card-num { padding-top: 0.5em; }
.row-arrow { padding-top: 0.35em; font-size: 1.5rem; color: var(--orange-text); transition: transform 200ms var(--ease); }
.service-row:hover .row-arrow { transform: translate(4px, -4px); }

/* ---------- work ---------- */
.work-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
@media (min-width: 720px) { .work-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1.5px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.work-card:hover, .work-card:focus-within { border-color: var(--orange); }
.work-card:has(a:focus-visible) { outline: 3px solid var(--carbon); outline-offset: 3px; }
.work-card a:focus-visible { outline: none; }
.work-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; display: grid; place-items: center; }
.work-card-cityscroller .work-media, .case-figure-cityscroller .work-media { background: linear-gradient(135deg, #DC5809 0%, #E8720A 50%, #F59031 100%); }
.work-card-proto41 .work-media, .case-figure-proto41 .work-media { background: linear-gradient(135deg, #2A3F5F 0%, #3D5A80 50%, #4A6FA5 100%); }
.work-card-urbanscroller .work-media, .case-figure-urbanscroller .work-media { background: #171C24; }
.work-media picture { width: 100%; height: 100%; display: grid; place-items: center; }
.media-img { transition: transform 220ms var(--ease); }
.media-phone { width: 52%; height: auto; align-self: start; margin-top: 8%; filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35)); }
.media-product { width: 86%; filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.35)); }
/* Full-bleed artwork whose edges match the panel colour, so letterboxing is invisible. */
.media-full { width: 100%; height: 100%; object-fit: contain; }
.work-card:hover .media-img, .work-card:focus-within .media-img { transform: scale(1.02); }
.work-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 56px 24px 24px; }
.work-title { font-size: 1.3125rem; }
.work-title a { text-decoration: none; }
.work-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-body p { font-size: 1rem; color: var(--ink-2); }
.work-body .work-tags { font-size: 0.875rem; color: var(--muted); }
.work-arrow { position: absolute; right: 22px; bottom: 22px; font-size: 1.25rem; color: var(--orange-text); transition: transform 200ms var(--ease); }
.work-card:hover .work-arrow, .work-card:focus-within .work-arrow { transform: translate(3px, -3px); }
.badge {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; background: var(--carbon); color: var(--white);
  border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.work-grid + .fine-print { margin-top: 28px; }


/* ---------- case study ---------- */
.crumbs { margin-bottom: 28px; font-size: 0.9375rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #A4A7AB; }
.crumbs a { display: inline-block; padding-block: 8px; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--carbon); font-weight: 600; }
.case-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .case-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.case-figure .work-media { border-radius: var(--radius-card); aspect-ratio: 4 / 4.2; }
.case-figure figcaption { margin-top: 12px; font-size: 0.9375rem; color: var(--muted); }
.facts { display: grid; gap: 0; border-top: 1.5px solid var(--hairline); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 0.4fr) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1.5px solid var(--hairline); }
.facts dt { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2em; }
.facts dd { font-weight: 500; }
.case-section { margin-top: 36px; }
.case-section h2 { font-size: 1.625rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.case-section p { color: var(--ink-2); }
.case-external { margin-top: 36px; }
.case-external + .fine-print { margin-top: 12px; }
.proof { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .proof { grid-template-columns: 1.1fr 0.9fr; } }
.proof .lead { margin-top: 18px; }

/* ---------- AI band & final CTA ---------- */
.ai-band { position: relative; padding: clamp(32px, 5vw, 72px); background: var(--mint-soft); border-radius: 28px; overflow: hidden; }
.ai-band h2 { max-width: 15em; }
.ai-band .lead { margin: 20px 0 28px; max-width: 38em; }
.ai-spark { position: absolute; right: clamp(20px, 5vw, 64px); top: clamp(20px, 5vw, 56px); font-size: clamp(2.5rem, 6vw, 5rem); color: #7CCFA4; line-height: 0; }

.cta-band-wrap { padding-top: 0; }
.section-tint + .cta-band-wrap, .section-tight + .cta-band-wrap { padding-top: var(--section); }
.cta-band {
  display: grid; gap: 28px; align-items: end; padding: clamp(32px, 5vw, 72px);
  background: var(--orange-soft); border-radius: 28px;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band p { margin-top: 16px; color: var(--ink-2); font-size: 1.1875rem; }
.cta-band .reply-note { font-size: 0.9375rem; color: var(--ink-2); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; border-top: 1.5px solid var(--hairline); }
.faq-item { padding: 24px 0; border-bottom: 1.5px solid var(--hairline); }
.faq dt { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.faq dd { color: var(--ink-2); max-width: 70ch; }

/* ---------- contact ---------- */
.contact-page { padding-block: clamp(24px, 4vw, 64px) var(--section); }
.contact-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); } }
.contact-intro { padding: clamp(28px, 4vw, 48px); background: var(--carbon); color: var(--white); border-radius: 24px; }
.contact-intro h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem); }
.contact-intro .lead { margin-top: 22px; color: #D7D9DB; }
.reply-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 18px; background: #24322C; border-radius: 12px; font-size: 1rem; font-weight: 500; }
.reply-pill .ic { color: var(--mint); }
.contact-direct { display: grid; gap: 22px; margin-top: 44px; }
.contact-direct dt { font-size: 1rem; font-weight: 700; color: var(--orange-on-dark); margin-bottom: 2px; }
.contact-direct dd { font-size: 1.1875rem; }
.contact-direct a { display: inline-block; padding-block: 8px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.contact-direct a:hover { text-decoration-color: var(--white); }
.tel { white-space: nowrap; }

.contact-form-card { padding: clamp(22px, 3.5vw, 40px); background: var(--white); border: 1.5px solid var(--hairline); border-radius: 24px; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .optional summary { font-size: 1rem; font-weight: 600; }
.req { color: var(--orange-text); }
.field input, .field select, .field textarea, .admin select {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--control-border); border-radius: var(--radius-control);
  background: var(--white); color: var(--carbon); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 136px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23111418' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field ::placeholder { color: #6B6F75; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--carbon); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--carbon); box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--carbon);
}
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-hint { font-size: 0.9375rem; color: var(--muted); }
.field-error { font-size: 0.9375rem; font-weight: 600; color: var(--error); }
.field-error::before { content: "! "; font-weight: 800; }
.form-alert { padding: 14px 16px; background: #FCEDEB; border-left: 4px solid var(--error); border-radius: 10px; font-weight: 600; color: #7A1B15; }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.form-note a { color: var(--carbon); text-underline-offset: 4px; }
.optional summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--control-border); }
.optional[open] summary { margin-bottom: 12px; }
.optional .field + .field { margin-top: 20px; }
/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.success { display: grid; gap: 14px; justify-items: start; padding-block: 12px; }
.success:focus { outline: none; }
.success h1, .success h2 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem); }
.success-icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px;
  background: var(--mint); border-radius: 50%; font-size: 1.75rem; color: var(--carbon);
}
.spark { position: absolute; left: 50%; top: 50%; width: 3px; height: 12px; margin: -6px 0 0 -1.5px; border-radius: 2px; pointer-events: none; }
.sent-page { padding-block: clamp(56px, 9vw, 128px); }

/* ---------- legal / prose ---------- */
.prose h2 { font-size: 1.625rem; letter-spacing: -0.02em; margin: 44px 0 14px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin-bottom: 40px; border: 1.5px solid var(--hairline); border-radius: 16px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9375em; padding: 2px 6px; background: var(--tint); border-radius: 6px; }
.route-list { display: grid; gap: 4px; margin-top: 32px; }
.route-list a { min-height: 44px; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(48px, 6vw, 80px) 32px; background: var(--carbon); color: #D7D9DB; font-size: 1rem; }
.footer-top { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand p { margin-top: 12px; color: #B4B7BB; }
.footer-col h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #B4B7BB; margin-bottom: 10px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--orange); }
.site-footer .tel { display: inline-block; padding-block: 9px; color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid #2E3339; font-size: 0.9375rem; }
.footer-legal { color: #B4B7BB; max-width: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.site-footer .lang-switch a { color: #B4B7BB; }
.site-footer .lang-current { color: var(--white); }
.site-footer .lang-sep { color: #8A8E93; }

/* ---------- digitalizare (Romanian-only vertical) ---------- */
/* Warm orange CTA: carbon text on #FF6B35 is 6.6:1 (white would fail AA). */
.btn-accent { background: var(--orange); color: var(--carbon); border-color: var(--orange); }
.btn-accent:hover { background: #FF8152; border-color: var(--carbon); }
@media (prefers-reduced-motion: no-preference) {
  .btn-accent:hover { animation: cta-pulse 900ms var(--ease) 1; }
}
@keyframes cta-pulse { from { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.55); } to { box-shadow: 0 0 0 12px rgba(255, 107, 53, 0); } }

/* Nav item gets a small orange mark so the Romanian offer stands out without shouting. */
.nav-digital::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.nav-mobile .nav-digital::before { width: 9px; height: 9px; margin-right: 12px; }
/* Five nav items need more room before the desktop navigation fits. */
@media (min-width: 920px) and (max-width: 1099.98px) {
  .nav-5 .nav-desktop, .nav-5 .header-cta { display: none; }
  .nav-5 .nav-mobile { display: block; }
}

/* Sits directly under the hero; the next section's own top padding provides the gap below. */
.section-digital { padding-block: 0; }
.digital-panel {
  display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px);
  background: var(--white); border: 1.5px solid var(--hairline); border-radius: 28px;
  box-shadow: inset 6px 0 0 var(--orange);
}
@media (min-width: 980px) { .digital-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.digital-copy h2 { max-width: 14em; }
.digital-copy .lead { margin-top: 20px; }
.chips-digital li { background: var(--orange-soft); border-color: transparent; font-weight: 600; }
.digital-copy .btn-row { margin-top: 28px; }

.digital-hero .hero-grid { align-items: start; }
.digital-hero .aside-note { margin-top: 24px; max-width: 34em; }
.digital-art { padding: clamp(24px, 4vw, 40px); background: var(--tint); border-radius: 28px; }
.digital-proof { margin-bottom: 22px; font-size: 1.1875rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }

/* Flow diagram: nodes joined by a vertical line, the last node in orange. */
.flow-figure { margin: 0; }
.flow-caption { margin-bottom: 14px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.flow { position: relative; display: grid; gap: 10px; }
.flow-node { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px 18px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 16px; }
.flow-node + .flow-node::before {
  content: ""; position: absolute; left: 25px; top: -12px; width: 2px; height: 12px; background: var(--orange);
}
.flow-dot { flex: none; width: 14px; height: 14px; border: 2.5px solid var(--orange); border-radius: 50%; background: var(--white); }
.flow-node-end { border-color: var(--carbon); background: var(--carbon); color: var(--white); }
.flow-node-end .flow-dot { background: var(--orange); }
.flow-node-end .flow-text span { color: #D7D9DB; }
.flow-text { display: grid; gap: 2px; line-height: 1.3; }
.flow-text strong { font-size: 1rem; }
.flow-text span { font-size: 0.9375rem; color: var(--muted); }
@media (min-width: 1000px) {
  .flow-wide .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .flow-wide .flow-node { flex-direction: column; align-items: flex-start; padding: 20px; }
  .flow-wide .flow-node + .flow-node::before { left: -15px; top: 31px; width: 16px; height: 2px; }
}
/* One quiet pass of the connecting lines on first view, then still. */
@media (prefers-reduced-motion: no-preference) {
  .flow-node + .flow-node::before { transform-origin: top left; animation: flow-line 500ms var(--ease) both; }
  .flow-node:nth-child(2)::before { animation-delay: 150ms; }
  .flow-node:nth-child(3)::before { animation-delay: 300ms; }
  .flow-node:nth-child(4)::before { animation-delay: 450ms; }
  .flow-node:nth-child(5)::before { animation-delay: 600ms; }
}
@keyframes flow-line { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1000px) {
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-text); }
.card-usecase { background: var(--white); }
.section-tint .card-plain { background: var(--carbon); border-color: var(--carbon); color: var(--white); }
.section-tint .card-plain p { color: #D7D9DB; }
.section-tint .card-plain .card-num { color: var(--orange-on-dark); }

.inline-cta {
  display: grid; gap: 20px; align-items: center; margin-top: 32px; padding: clamp(24px, 3.5vw, 36px);
  background: var(--orange-soft); border-radius: var(--radius-card);
}
@media (min-width: 860px) { .inline-cta { grid-template-columns: 1fr auto; } }
.inline-cta p { margin-top: 8px; color: var(--ink-2); }

.objections-title { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.objections { display: grid; gap: 16px; }
@media (min-width: 760px) { .objections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.objection { padding: 24px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 18px; }
.objection dt { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.objection dd { color: var(--ink-2); font-size: 1rem; }

.compare { display: grid; gap: 16px; }
@media (min-width: 760px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare-card { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 34px); background: var(--white); border: 1.5px dashed var(--control-border); border-radius: var(--radius-card); }
.compare-card p { color: var(--ink-2); }
.compare-after { border: 1.5px solid var(--orange); box-shadow: inset 6px 0 0 var(--orange); }

.bullets { display: grid; gap: 12px; max-width: 860px; }
.bullets li { position: relative; padding: 16px 20px 16px 48px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 16px; }
.bullets li::before { content: ""; position: absolute; left: 20px; top: 1.45em; width: 12px; height: 12px; border: 2.5px solid var(--orange); border-radius: 50%; }

.section-flush-top { padding-top: 0; }
.section-tint + .section-flush-top, .section-tight + .section-flush-top { padding-top: var(--section); }
.block-note { margin-top: 20px; }

/* ---------- reveal (applied by site.js only to content below the fold) ---------- */
.pre-reveal { opacity: 0; transform: translateY(12px); }
.reveal { transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pre-reveal { opacity: 1; transform: none; }
}

/* ---------- admin ---------- */
.admin main { padding-block: 40px 80px; }
.admin h1 { font-size: 2.25rem; margin-bottom: 20px; }
.admin main > h2 { font-size: 1.5rem; margin: 48px 0 16px; }
.admin-enquiry { margin-top: 16px; padding: 22px; background: var(--white); border: 1.5px solid var(--hairline); border-radius: 16px; }
.admin-enquiry h2 { font-size: 1.125rem; letter-spacing: 0; }
.admin-message { margin: 14px 0; white-space: pre-wrap; max-width: 90ch; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.admin-actions form { display: flex; gap: 8px; align-items: center; }
.admin-actions label { font-size: 0.9375rem; font-weight: 600; }
.admin select { width: auto; min-height: 44px; padding: 8px 12px; }
.status { padding: 4px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 700; background: var(--tint); }
.status-sent { background: var(--mint); }
.status-failed { background: #FCEDEB; color: #7A1B15; }
