/* ==========================================================================
   Howlers Digitals — Design system & public site styles
   Structure:
   1. Tokens          5. Header / navigation   9.  Blog & article
   2. Base / reset    6. Sections & heroes     10. Forms
   3. Layout          7. Cards & components    11. Footer, CTA, utilities
   4. Buttons         8. Home / about / services 12. Responsive & motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --orange: #FF7A00;          /* brand orange — fills, icons, accents on dark */
  --orange-600: #E06500;      /* large accent text on light (>= 3:1) */
  --orange-ink: #B34700;      /* small orange text on light (>= 4.5:1) */
  --orange-50: #FFF6EE;
  --orange-100: #FFE7D1;
  --orange-200: #FFD0A6;

  /* Neutrals */
  --ink: #111111;
  --ink-2: #262626;
  --muted: #555555;
  --muted-2: #6B6B6B;
  --line: #E9E4DC;
  --line-2: #F1EDE7;
  --paper: #FFFFFF;
  --cream: #F8F6F2;
  --dark: #111111;
  --dark-2: #1B1B1B;
  --dark-line: #2C2C2C;
  --on-dark-muted: #B9B9B9;

  /* Status */
  --success: #137A3F;
  --success-bg: #EAF7EF;
  --danger: #B42318;
  --danger-bg: #FDECEA;
  --warning: #8A5A00;
  --warning-bg: #FFF5DB;
  --info: #1F4E8C;
  --info-bg: #EAF1FB;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 0.98rem + 0.3vw, 1.18rem);
  --fs-lg: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem);
  --fs-display: clamp(2.6rem, 1.3rem + 5.4vw, 5.6rem);

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 5vw + 40px, 120px);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(17, 17, 17, .06);
  --shadow-sm: 0 2px 8px rgba(17, 17, 17, .06), 0 1px 2px rgba(17, 17, 17, .04);
  --shadow: 0 12px 32px -12px rgba(17, 17, 17, .18), 0 2px 6px rgba(17, 17, 17, .05);
  --shadow-lg: 0 30px 60px -24px rgba(17, 17, 17, .28);
  --shadow-orange: 0 14px 30px -12px rgba(255, 122, 0, .55);

  --header-h: 76px;
  --bottom-nav-h: 66px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 160ms;
  --t: 260ms;
}

/* 2. Base / reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; color: var(--muted-2); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:where(ul, ol)[role="list"], .list-reset { list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--orange-200); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: #FFB066; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 4vw + 20px, 72px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.stack > * + * { margin-top: var(--stack, 1rem); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3vw, 48px); flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; max-width: 18ch; }
.section-head p { max-width: 52ch; margin: 0; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 22ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section--dark .eyebrow, .page-hero--dark .eyebrow { color: #FFB066; }
.accent { color: var(--orange-600); }
.section--dark .accent, .page-hero--dark .accent { color: var(--orange); }
.lead { font-size: var(--fs-md); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

/* 4. Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
/* Primary: dark text on orange keeps WCAG AA contrast (7:1). */
.btn--primary { --btn-bg: var(--orange); --btn-fg: var(--ink); box-shadow: var(--shadow-orange); }
.btn--primary:hover { --btn-bg: #FF8C24; box-shadow: 0 18px 34px -12px rgba(255, 122, 0, .65); transform: translateY(-1px); }
.btn--ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: #000; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { --btn-bd: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .spinner { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-sm);
  color: var(--orange-ink); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.spinner {
  display: inline-block; width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 5. Header / navigation ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background-color var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17, 17, 17, .35); background: rgba(255, 255, 255, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 46px; width: auto; display: block; }
.site-footer .brand img { height: 60px; }
.mobile-menu .brand img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.brand-text span:first-child { font-size: .98rem; }
.brand-text span:last-child { font-size: .72rem; color: var(--orange-ink); letter-spacing: .16em; margin-top: 3px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-text span:last-child { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink-2);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--orange); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

/* Mobile menu sheet (secondary actions) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); animation: fade-in var(--t) var(--ease); }
.mobile-menu__panel {
  position: absolute; left: 12px; right: 12px; top: 12px;
  background: var(--paper); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg);
  animation: drop-in var(--t) var(--ease);
}
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-menu__links a {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-2);
}
.mobile-menu__links a svg { width: 18px; height: 18px; color: var(--muted-2); }
.mobile-menu .btn { margin-top: 18px; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* Bottom navigation (mobile primary nav) */
.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(17, 17, 17, .97);
  border-top: 1px solid var(--dark-line);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.bottom-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); height: var(--bottom-nav-h); }
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 100%;
  color: #C9C9C9; text-decoration: none; font-size: .7rem; font-weight: 600; letter-spacing: .01em;
  position: relative; -webkit-tap-highlight-color: transparent;
}
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a[aria-current="page"] { color: var(--orange); }
.bottom-nav a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--orange); transform: translateX(-50%);
}
.bottom-nav a:focus-visible { outline-offset: -4px; }

/* 6. Sections & heroes ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 5vw, 88px) clamp(56px, 6vw, 104px);
  background:
    radial-gradient(1100px 520px at 88% 10%, rgba(255, 122, 0, .13), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255, 176, 102, .18), transparent 60%),
    linear-gradient(180deg, #FFFDFB 0%, var(--cream) 100%);
}
.hero .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; width: 100%; }
.hero-visual > img { width: 100%; height: 100%; object-fit: contain; animation: float 9s ease-in-out infinite; }
.hero-swoosh {
  position: absolute; inset: auto -20% -12% -10%; height: 46%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 122, 0, .22), transparent 70%);
  filter: blur(10px);
}
.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.hero-chip .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-100); color: var(--orange-ink); }
.hero-chip .dot svg { width: 16px; height: 16px; }
.hero-chip--1 { top: 12%; left: -2%; animation: float 7s ease-in-out infinite; }
.hero-chip--2 { bottom: 20%; left: 4%; animation: float 8s ease-in-out -2s infinite; }
.hero-chip--3 { bottom: 6%; right: 6%; animation: float 7.5s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 5vw, 96px) clamp(48px, 5vw, 88px);
  background:
    radial-gradient(900px 420px at 92% 0%, rgba(255, 122, 0, .14), transparent 62%),
    linear-gradient(180deg, #FFFDFB, var(--cream));
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--dark { background: radial-gradient(900px 460px at 90% 0%, rgba(255, 122, 0, .28), transparent 60%), var(--dark); color: #fff; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: var(--on-dark-muted); }
.page-hero__art { position: absolute; right: max(-40px, calc((100vw - var(--container)) / 2 - 40px)); top: 50%; width: clamp(200px, 26vw, 360px); transform: translateY(-50%); opacity: .9; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(179,71,0,.25)); }
.page-hero__content { position: relative; z-index: 1; max-width: 680px; }

.breadcrumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--ink); }
.page-hero--dark .breadcrumbs { color: var(--on-dark-muted); }

/* 7. Cards & components ----------------------------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 28px); box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, var(--orange-50), var(--orange-100)); color: var(--orange-ink);
  margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--dark { background: #222; color: var(--orange); }

/* Metrics strip */
.metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.metric { padding: clamp(18px, 2.4vw, 30px); text-align: center; }
.metric + .metric { border-left: 1px solid var(--line-2); }
.metric__value { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.metric__value .star { color: var(--orange); }
.metric__label { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; }
.metrics-wrap { margin-top: clamp(-56px, -4vw, -32px); position: relative; z-index: 2; }
.demo-note {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: var(--fs-xs); color: var(--warning); background: var(--warning-bg);
  padding: 4px 10px; border-radius: var(--radius-pill); font-weight: 600;
}
.demo-note svg, .featured-post__label svg { width: 14px; height: 14px; flex: none; }
html.hide-demo .demo-note, html.hide-demo .demo-badge { display: none !important; }
.demo-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(17, 17, 17, .82); color: #fff; padding: 4px 9px; border-radius: var(--radius-pill);
}

/* Service cards */
.service-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.service-card p { flex: 1; }
.service-card .link-arrow { margin-top: 18px; }
.service-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card:hover .icon-tile { background: var(--orange); color: var(--ink); }
.service-card .icon-tile { transition: background-color var(--t), color var(--t); }

/* Feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon-tile { margin-bottom: 0; width: 46px; height: 46px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--dark .feature p { color: var(--on-dark-muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: step; position: relative; }
.process-step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.section--dark .process-step { background: var(--dark-2); border-color: var(--dark-line); }
.process-step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-weight: 800; margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { margin: 0; font-size: .95rem; color: var(--muted); }
.section--dark .process-step p { color: var(--on-dark-muted); }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -18px; width: 12px; height: 12px;
  border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg);
  z-index: 1;
}

/* Media (image wrappers with graceful fallback) */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, #2A2A2A, #111 60%, #3A1E08);
}
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 80% 20%, rgba(255, 122, 0, .25), transparent 70%);
  opacity: 0; transition: opacity var(--t);
}
.media.img-failed::after { opacity: 1; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.media img.is-broken { visibility: hidden; }
.media img.media-ph { position: absolute; inset: 0; margin: auto; width: 26%; height: auto; object-fit: contain; opacity: .95; }
.post-card:hover .media img.media-ph { transform: none; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1x1 { aspect-ratio: 1 / 1; }

/* Case studies */
.case-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.case-card .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.case-card .media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 25%, rgba(17, 17, 17, .92) 100%); }
.case-card:hover .media img { transform: scale(1.04); }
.case-card__body { padding: 26px; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.case-card h3 { color: #fff; margin-bottom: 6px; }
.case-card p { color: #D6D6D6; margin: 0; font-size: .95rem; }

/* Chips & badges */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; min-height: 40px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--paper);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--orange-50); color: var(--orange-ink); text-decoration: none;
}
.tag--dark { background: rgba(255, 255, 255, .12); color: #FFD0A6; }
.tag--plain { background: var(--line-2); color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .8rem; }

/* Values */
.value-card { text-align: left; }
.value-card .icon-tile { margin-bottom: 16px; }

/* Team */
.team-card { text-align: left; padding: 0; overflow: hidden; position: relative; }
.team-card__photo {
  aspect-ratio: 4 / 4.3; display: grid; place-items: center; position: relative;
  background: radial-gradient(70% 60% at 70% 20%, rgba(255, 122, 0, .35), transparent 70%), linear-gradient(160deg, #262626, #111);
  color: #fff;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-card__initials { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; color: #FFD0A6; }
.team-card__body { padding: 20px 22px 24px; }
.team-card__body h3 { margin-bottom: 2px; font-size: 1.1rem; }
.team-card__role { font-size: var(--fs-sm); font-weight: 700; color: var(--orange-ink); margin-bottom: 10px !important; }
.team-card__body p { font-size: .92rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px;
  transition: border-color var(--t-fast), box-shadow var(--t);
}
.faq details[open] { border-color: var(--orange-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B34700' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Alerts, states, toasts */
.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: .95rem;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert p { margin: 0; }
.alert--error { background: var(--danger-bg); color: var(--danger); border-color: #F6C6C1; }
.alert--success { background: var(--success-bg); color: var(--success); border-color: #BFE5CC; }
.alert--info { background: var(--info-bg); color: var(--info); border-color: #C9DAF2; }
.alert--warning { background: var(--warning-bg); color: var(--warning); border-color: #F2DFAA; }

.state {
  text-align: center; padding: clamp(36px, 5vw, 64px) 20px; border: 1px dashed var(--line);
  border-radius: var(--radius-lg); background: var(--paper);
}
.state__icon { width: 60px; height: 60px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-50); color: var(--orange-ink); }
.state__icon svg { width: 28px; height: 28px; }
.state h3 { margin-bottom: 6px; }
.state p { color: var(--muted); max-width: 44ch; margin: 0 auto 18px; }

.skeleton {
  background: linear-gradient(90deg, var(--line-2) 0%, #FAF8F5 40%, var(--line-2) 80%);
  background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.toast-region { position: fixed; z-index: 200; left: 50%; bottom: calc(var(--bottom-nav-h) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 600; animation: drop-in var(--t) var(--ease); }
.toast--error { background: var(--danger); }
.toast--success { background: #0F5F31; }

/* 8. Home / about / services specifics -------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.image-stack { position: relative; }
.image-stack .media { box-shadow: var(--shadow-lg); }
.image-stack__badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--paper); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.image-stack__badge .icon-tile { margin: 0; width: 44px; height: 44px; }
.image-stack__badge strong { display: block; line-height: 1.2; }
.image-stack__badge span { font-size: var(--fs-sm); color: var(--muted); }

.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.mission-card { display: flex; gap: 18px; align-items: flex-start; }
.mission-card .icon-tile { margin: 0; }
.mission-card--dark { background: var(--dark); border-color: var(--dark); }
.mission-card--dark h3 { color: #fff; }
.mission-card--dark p { color: var(--on-dark-muted); }

/* Services page */
.service-index { display: flex; flex-wrap: wrap; gap: 10px; }
.service-detail {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(40px, 4vw, 64px); border-top: 1px solid var(--line); align-items: start;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.service-detail:first-of-type { border-top: 0; }
.service-detail__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.service-detail__num { font-size: var(--fs-sm); font-weight: 800; color: var(--orange-ink); letter-spacing: .12em; }
.service-detail h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); margin: 10px 0 14px; }
.service-detail__body { display: grid; gap: 18px; }
.service-detail__box { background: var(--cream); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px); }
.service-detail__box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }

/* 9. Blog & article --------------------------------------------------------- */
.blog-toolbar { display: grid; gap: 18px; margin-bottom: clamp(28px, 3vw, 40px); }
.search-field { position: relative; max-width: 560px; }
.search-field svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search-field input { padding-left: 50px; min-height: 56px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); }
.search-field .spinner { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--orange-ink); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip-row .chip { flex: none; }
.results-meta { font-size: var(--fs-sm); color: var(--muted); min-height: 1.5em; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.post-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative; height: 100%;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .media { border-radius: 0; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 1.12rem; line-height: 1.3; margin: 12px 0 8px; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.post-card__excerpt { color: var(--muted); font-size: .94rem; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 14px; height: 14px; }
.post-meta .author { font-weight: 700; color: var(--ink-2); }

.featured-post {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: clamp(28px, 3vw, 44px); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t) var(--ease);
}
.featured-post:hover { box-shadow: var(--shadow); }
.featured-post .media { border-radius: 0; min-height: 300px; height: 100%; }
.featured-post__body { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-post__label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.featured-post h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); margin-bottom: 12px; }
.featured-post h2 a { text-decoration: none; }
.featured-post h2 a::after { content: ""; position: absolute; inset: 0; }
.featured-post:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.featured-post p { color: var(--muted); }

.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }

.card-skeleton .media { background: none; }
.card-skeleton .skeleton-line { height: 14px; margin-bottom: 10px; }

.demo-banner {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px;
}

/* Article */
.article-hero { padding-block: clamp(36px, 4vw, 72px) clamp(28px, 3vw, 44px); background: linear-gradient(180deg, #FFFDFB, var(--cream)); }
.article-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); max-width: 22ch; margin: 14px 0 18px; }
.article-hero .lead { margin-bottom: 22px; }
.article-cover { margin-top: clamp(-8px, -1vw, 0px); }
.article-cover .media { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.aside-box h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; font-size: .9rem; }
.toc a { text-decoration: none; color: var(--ink-2); display: block; padding-left: 12px; border-left: 2px solid var(--line); }
.toc a:hover, .toc a.is-active { border-left-color: var(--orange); color: var(--ink); }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.share-links a, .share-links button { width: 42px; height: 42px; }

.prose { font-size: 1.075rem; line-height: 1.8; color: var(--ink-2); max-width: 72ch; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin: 2em 0 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.4rem); margin: 1.6em 0 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose a { color: var(--orange-ink); font-weight: 600; text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-600); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 500; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--line-2); padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--dark); color: #F2F2F2; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; text-align: center; }
.prose hr { margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--cream); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.preview-banner { position: sticky; top: var(--header-h); z-index: 40; background: var(--warning-bg); color: var(--warning); border-bottom: 1px solid #F2DFAA; padding: 10px 0; font-weight: 700; font-size: var(--fs-sm); text-align: center; }

/* 10. Forms ----------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--orange-ink); }
.field .optional { font-weight: 500; color: var(--muted-2); font-size: .82rem; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  font-size: 1rem; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #8A8A8A; }
.input:hover, .select:hover, .textarea:hover { border-color: #CFC8BD; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 0, .16); outline: none; }
.textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.select {
  padding-right: 44px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field-error { display: none; font-size: .84rem; font-weight: 600; color: var(--danger); }
.field.has-error .field-error { display: flex; gap: 6px; align-items: center; }
.field-hint { font-size: .82rem; color: var(--muted); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange-600); cursor: pointer; }
.checkbox a { color: var(--orange-ink); font-weight: 700; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.contact-item .icon-tile { margin: 0; width: 46px; height: 46px; }
.h-reset { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; line-height: 1.3; }
.contact-item p, .contact-item a { margin: 0; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { text-decoration: underline; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.form-success .state__icon { background: var(--success-bg); color: var(--success); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* 11. Footer, CTA, utilities ------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(700px 300px at 100% 0%, rgba(255, 122, 0, .45), transparent 65%), var(--dark);
  color: #fff; padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 20ch; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 52ch; }
.cta-band__art { position: absolute; right: -30px; bottom: -50px; width: 240px; opacity: .12; pointer-events: none; }

.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: clamp(56px, 6vw, 88px) 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.footer-about p { margin: 18px 0 20px; max-width: 34ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--on-dark-muted); overflow-wrap: anywhere; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: #1F1F1F; color: #fff; border: 1px solid var(--dark-line);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.social-links a:hover { background: var(--orange); color: var(--ink); }
.social-links svg { width: 18px; height: 18px; }
.contact-socials .social-links a { background: var(--paper); color: var(--ink); border-color: var(--line); }
.contact-socials .social-links a:hover { background: var(--orange); }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom a { color: var(--on-dark-muted); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
[hidden] { display: none !important; }

/* Reveal-on-scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 80ms; }
.js .reveal-delay-2 { transition-delay: 160ms; }
.js .reveal-delay-3 { transition-delay: 240ms; }

/* 13. v2 components -------------------------------------------------------- */
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--orange-ink); }
.header-phone:hover { background: var(--line-2); }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: #fff; background: var(--orange-600); border-radius: 50%; padding: 3px; }

.hero-media { position: relative; width: 100%; max-width: 580px; margin-left: auto; aspect-ratio: 1 / 1.02; }
.hero-media__glow { position: absolute; inset: 8% -6% -4% 6%; background: radial-gradient(closest-side, rgba(255, 122, 0, .35), transparent 75%); filter: blur(20px); }
.hero-media__main { position: absolute; top: 0; right: 0; width: 84%; height: 76%; border-radius: 32px; box-shadow: var(--shadow-lg); }
.hero-media__sub { position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.hero-media__badge { position: absolute; right: 6%; bottom: 6%; width: 92px; height: 92px; border-radius: 26px; background: var(--dark); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(17, 17, 17, .5); animation: float 8s ease-in-out infinite; }
.hero-media__badge img { width: 62px; height: auto; }
.hero-media .hero-chip--1 { top: 9%; left: 0; }
.hero-media .hero-chip--3 { right: auto; left: 54%; bottom: 30%; }

.service-card--img { padding-top: 0; overflow: hidden; }
.service-card--img > .media { margin: 0 calc(clamp(20px, 2.2vw, 28px) * -1); border-radius: 0; }
.service-card--img > .icon-tile { margin-top: -26px; position: relative; z-index: 1; outline: 4px solid #fff; }
.service-card--img:hover .media img { transform: scale(1.05); }

.section--photo { overflow: hidden; isolation: isolate; }
.section-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; z-index: -1; filter: grayscale(.3); }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 85% 0%, rgba(255, 122, 0, .25), transparent 65%); }

.loc-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--dark); }
.loc-card .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.loc-card .media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17, 17, 17, .05) 20%, rgba(17, 17, 17, .9) 100%); }
.loc-card:hover .media img { transform: scale(1.04); }
.loc-card__body { padding: clamp(22px, 3vw, 32px); }
.loc-card h3 { color: #fff; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); margin: 10px 0 8px; }
.loc-card p { color: #DADADA; margin: 0 0 14px; max-width: 46ch; }
.link-arrow--light { color: #FFB066; }

.answer-box { border-left: 5px solid var(--orange); background: var(--orange-50); border-radius: 0 var(--radius) var(--radius) 0; padding: clamp(20px, 3vw, 32px); }
.answer-box h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-ink); margin-bottom: 10px; }
.answer-box p { margin: 0; font-size: var(--fs-md); color: var(--ink-2); }
.answer-box a { color: var(--orange-ink); font-weight: 700; }

.diff-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.diff-list li { display: flex; gap: 16px; align-items: flex-start; }
.diff-list .icon-tile { margin: 0; width: 46px; height: 46px; }
.diff-list h3 { font-size: 1.05rem; margin-bottom: 2px; }
.diff-list p { margin: 0; color: var(--muted); }

.page-hero__split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.page-hero__split .page-hero__content { max-width: none; }
.page-hero__split h1 { max-width: 18ch; }
.page-hero__media { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero .lead a { color: var(--orange-ink); font-weight: 700; }

.service-detail__body > .media { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.contact-item p + p { margin-top: 2px; }
.contact-item--link { text-decoration: none; color: inherit; transition: border-color var(--t-fast), box-shadow var(--t); }
.contact-item--link:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.icon-tile--wa { background: #E7F8EE; color: #128C4A; }

.wa-float { position: fixed; right: 20px; bottom: 24px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7); transition: transform var(--t-fast); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

.modal { border: 0; padding: 0; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--paper); }
.modal::backdrop { background: rgba(17, 17, 17, .6); backdrop-filter: blur(3px); }
.modal[open] { animation: drop-in var(--t) var(--ease); display: flex; flex-direction: column; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px clamp(18px, 3vw, 30px) 16px; border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--orange-50), #fff); }
.modal__head h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 4px 0 6px; }
.modal__head a { color: var(--orange-ink); font-weight: 700; }
.modal__body { padding: 20px clamp(18px, 3vw, 30px) 26px; overflow-y: auto; }
.modal .textarea { min-height: 110px; }
body.modal-open { overflow: hidden; }

.thanks { min-height: 64vh; display: grid; align-items: center; text-align: center; }
.thanks__card { max-width: 680px; margin: 0 auto; }
.thanks__card h1 { max-width: none; }
.thanks__card .eyebrow::before { display: none; }
.thanks__icon { width: 76px; height: 76px; background: var(--success-bg); color: var(--success); }
.thanks__card .lead { margin-inline: auto; }
.thanks__card a:not(.btn) { color: var(--orange-ink); font-weight: 700; }
.btn svg:not(.i-arrow) { width: 18px; height: 18px; }

/* 12. Responsive & motion --------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 240px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .bottom-nav { display: block; }
  .brand img { height: 38px; }

  .split, .hero .split, .contact-layout, .service-detail, .featured-post { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 380px; margin: 8px auto 0; }
  .hero-chip--1 { left: 0; }
  .grid-3, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .service-detail__intro { position: static; }
  .contact-layout > .form-card { order: -1; }
  .page-hero__split { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 460px; margin: 12px auto 0; }
  .wa-float { bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; }
  .loc-card { min-height: 320px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
  .toc-box { display: none; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .page-hero__art { opacity: .16; right: -80px; }
  .image-stack__badge { left: 12px; }
  .featured-post .media { min-height: 0; aspect-ratio: 16 / 9; }
  .toast-region { bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom)); }
}

@media (min-width: 901px) {
  .toast-region { bottom: 24px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .post-grid, .why-grid, .mission-grid, .form-grid, .check-list--2 { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { align-items: flex-start; }
  .hero h1 { font-size: clamp(2.4rem, 1.5rem + 6vw, 3.2rem); }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .hero-chip { font-size: .75rem; padding: 8px 12px; }
  .hero-chip .dot { width: 24px; height: 24px; }
  .cta-band .btn { width: 100%; }
  .case-card { min-height: 320px; }
}

@media (max-width: 360px) {
  .brand-text span:first-child { font-size: .86rem; }
  .metric { padding: 16px 10px; }
  .bottom-nav a { font-size: .64rem; }
}

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

@media print {
  .site-header, .bottom-nav, .site-footer, .cta-band, .article-aside, .skip-link { display: none !important; }
  body { padding: 0; }
}
