/* 250brands — site styles (design v3.2 "Cards")
   Tokens mirror the "min-" variables in the Pencil file. */
:root {
  --primary: #0F8441;
  --primary-hover: #0B6E36;
  --primary-tint: #E8F4ED;
  --yellow: #F9D101;
  --yellow-tint: #FEF7CC;
  --yellow-text: #6B5A00;
  --blue: #0CAEE1;
  --blue-tint: #E3F5FC;
  --blue-text: #0786AE;
  --dark: #06231A;
  --dark-card: #0B3324;
  --dark-muted: #A7BDB2;
  --bg: #FFFFFF;
  --surface: #F6F8F7;
  --surface-2: #EEF2F0;
  --border: #E3E8E5;
  --text: #011015;
  --text-2: #5D6964;
  --text-3: #8C9691;
  --prose: #2A3530;

  --font-head: "Lato", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-accent: "EB Garamond", Georgia, serif;

  --fs-hero: clamp(56px, 7.2vw, 104px);
  --fs-display: clamp(40px, 4.6vw, 64px);
  --fs-h1: clamp(32px, 3.4vw, 48px);
  --fs-h2: clamp(26px, 2.6vw, 36px);
  --fs-h3: clamp(20px, 1.8vw, 24px);

  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  --pad-x: clamp(20px, 8.3vw, 120px);
  --section-y: clamp(72px, 7.8vw, 112px);
  --max: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--r-md); }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .display, .hero__title, .cta__title, .acc__title, .case__title { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.03em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.18; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--text-2); }

/* One word per title in blue EB Garamond Bold Italic */
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.22em; line-height: .8; letter-spacing: -.01em; color: var(--blue); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-head); color: var(--primary); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--yellow { color: var(--yellow); }

/* ---------- Buttons: one pill style ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-full); border: 1px solid transparent; background: none; font: 700 14px/1.2 var(--font-head); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 10px 18px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--text); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--ink { background: var(--text); color: #fff; }
.btn--ink:hover { background: #1d2a2f; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Header (dark over the home hero, light everywhere else) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header--static { position: sticky; top: 0; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; height: var(--header-h); padding: 0 clamp(20px, 4.4vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: height .3s; }
.logo { justify-self: start; }
.nav { display: flex; gap: 40px; justify-self: center; }
.nav-cta { justify-self: end; grid-column: 3; }
.nav a { color: rgba(255, 255, 255, .7); font: 400 14px/1 var(--font-head); transition: color .2s; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { font-weight: 700; }
.menu-toggle { display: none; grid-column: 3; justify-self: end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; align-items: center; justify-content: center; }
.mobile-menu { display: grid; gap: 4px; padding: 8px 20px 24px; background: #fff; border-bottom: 1px solid var(--border); max-height: calc(100svh - 72px); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: var(--text); font: 700 20px/1 var(--font-head); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a[aria-current="page"] { color: var(--primary); }
.mobile-menu .btn { margin-top: 16px; }

.site-header.is-light { background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-light .site-header__inner { border-color: var(--border); }
.site-header.is-light .nav a { color: var(--text-2); }
.site-header.is-light .nav a:hover, .site-header.is-light .nav a[aria-current="page"] { color: var(--text); }
.site-header.is-light .logo__word { color: var(--text); }
.site-header.is-light .nav-cta { background: var(--primary); border-color: var(--primary); color: #fff; }
.site-header.is-light .nav-cta:hover { background: var(--primary-hover); }
.site-header.is-light .menu-toggle { color: var(--text); border-color: var(--border); }
.site-header.is-compact .site-header__inner { height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 4px; }
.logo__mark { width: 62px; height: 52px; overflow: hidden; }
.logo__mark img { height: 52px; width: auto; max-width: none; }
.logo__word { font: 400 22px/.95 "Archivo Black", sans-serif; color: #fff; transition: color .3s; }
.logo__word i { font-style: normal; color: var(--blue); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(640px, 92svh, 820px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px var(--pad-x) 110px;
  background: radial-gradient(128.5% 206.9% at 50% 158%, #0F8542 0%, #06241A 71.8%);
}
.hero__glow { position: absolute; right: 8%; top: 18%; width: 620px; height: 560px; background: radial-gradient(closest-side, rgba(63, 191, 115, .22), transparent); z-index: -1; pointer-events: none; }
.hero__inner { width: 100%; max-width: var(--max); display: grid; grid-template-columns: minmax(0, 1fr) 560px; align-items: center; gap: 32px; }
.hero__center { display: grid; justify-items: start; gap: 24px; }
.hero__title { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.034em; color: #fff; }
.hero__sub { max-width: 520px; color: rgba(255, 255, 255, .7); font-size: 18px; }
.hero .actions { padding-top: 8px; justify-content: flex-start; }
.hero__scroll { position: absolute; bottom: 44px; left: max(var(--pad-x), calc((100% - var(--max)) / 2)); display: grid; justify-items: center; gap: 8px; color: #fff; font: 700 10px/1 var(--font-head); letter-spacing: .2em; }
.hero__scroll .ico { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- Approach stack (hero) ----------
   Liquid glass: each layer is a rounded square turned into an isometric diamond.
   Stacked box-shadows give it thickness; --spread opens the stack on scroll. */
.stack { --gap: 76px; --spread: 0; --base: 318px; position: relative; height: 500px; }
.stack__scene { position: absolute; inset: 0 180px 0 0; }
.layer { position: absolute; left: 50%; top: calc(var(--base) - var(--i) * (var(--gap) + var(--spread) * 44px)); width: 340px; height: 200px;
  transform: translate(-50%, -50%) translate(var(--px, 0px), calc(var(--py, 0px) + var(--lift, 0px) + var(--drop, 0px)));
  transition: transform .5s var(--ease), opacity .5s var(--ease), filter .4s; z-index: calc(var(--i) + 1); outline-offset: 8px; border-radius: 40px; }
.layer__tile { position: absolute; left: 50%; top: 50%; width: 236px; height: 236px; margin: -118px 0 0 -118px; border-radius: 44px;
  transform: rotateX(60deg) rotateZ(-45deg); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
@keyframes float { 50% { translate: 0 -7px; } }
.stack.is-loading .layer { --drop: -70px; opacity: 0; }
.stack .layer { transition-delay: calc((2 - var(--i)) * 110ms); }
.stack.is-ready .layer { transition-delay: 0s; }
.layer.is-active { --lift: -14px; }
.stack.has-active .layer:not(.is-active) { opacity: .5; }

/* Liquid glass */
.stack--glass .layer__tile {
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    linear-gradient(135deg, rgba(var(--rgb), .28), rgba(var(--rgb), .62));
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,.6);
  box-shadow:
    inset -2px 2px 1px rgba(255,255,255,.85),
    inset 8px -8px 24px rgba(var(--rgb), .55),
    inset 0 0 0 1px rgba(255,255,255,.12),
    -2.83px 2.83px 0 rgba(var(--rgb), .2), -5.66px 5.66px 0 rgba(var(--rgb), .2), -8.48px 8.48px 0 rgba(var(--rgb), .2), -11.31px 11.31px 0 rgba(var(--rgb), .2), -14.14px 14.14px 0 rgba(var(--rgb), .2), -16.97px 16.97px 0 rgba(var(--rgb), .2), -19.80px 19.80px 0 rgba(var(--rgb), .2), -22.62px 22.62px 0 rgba(var(--rgb), .2), -25.45px 25.45px 0 rgba(var(--rgb), .2), -28.28px 28.28px 0 rgba(var(--rgb), .2),
    -34px 34px 60px rgba(var(--rgb), .35);
}
.stack--glass .layer.is-active .layer__tile { border-color: #fff; }

/* Labels */
.stack__labels { position: absolute; top: 0; bottom: 0; right: 0; width: 180px; }
.stack__labels li { position: absolute; left: 0; top: calc(var(--base) - var(--i) * (var(--gap) + var(--spread) * 44px)); transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-full); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: 700 14px/1 var(--font-head); white-space: nowrap; cursor: pointer; transition: background .3s, border-color .3s, opacity .4s, transform .5s var(--ease); }
.stack__labels li::before { content: ""; position: absolute; right: 100%; top: 50%; width: 40px; height: 1px; margin-right: 6px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4)); }
.stack__labels i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.stack__labels b { font-weight: 700; color: rgba(255,255,255,.5); }
.stack__labels li.is-active { background: rgba(255,255,255,.16); border-color: var(--c); transform: translate(6px, -50%); }
.stack.has-active .stack__labels li:not(.is-active) { opacity: .5; }


/* ---------- Inner page header ---------- */
.page-header { padding: 96px var(--pad-x) 72px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.page-header .display { max-width: 900px; }
.page-header .lead { max-width: 640px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font: 700 14px/1.2 var(--font-head); transition: color .2s; }
.back:hover { color: var(--text); }
.back .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.back:hover .ico { transform: translateX(-3px); }

/* ---------- Clients ---------- */
.clients { padding: 104px 0 72px; display: grid; gap: 28px; }
.clients__label { text-align: center; color: var(--text-3); font: 400 14px/1 var(--font-head); }
.logos { display: grid; gap: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); }
.logos__row { display: flex; gap: 16px; width: max-content; animation: slide 50s linear infinite; }
.logos__row--reverse { animation-direction: reverse; animation-duration: 56s; }
.logos:hover .logos__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
.logo-tile { display: flex; align-items: center; justify-content: center; gap: 8px; width: 200px; height: 72px; flex: none; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--text-3); transition: color .3s, border-color .3s; }
.logo-tile .ico { width: 20px; height: 20px; }
.logo-tile b { font-size: 20px; font-weight: 700; line-height: 1; }
.logo-tile:hover { color: var(--text); border-color: #CBD3CF; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--pad-x); display: flex; flex-direction: column; align-items: center; gap: 56px; }
.section > * { width: 100%; max-width: var(--max); }
.section--surface { background: var(--surface); }
.section--tight { padding-top: 64px; gap: 32px; }
.head { display: grid; justify-items: center; gap: 14px; text-align: center; }
.more { display: flex; justify-content: center; }

/* Greyscale photos that turn to colour on hover */
.photo, .acc__item::before, .case::before, .avatar { filter: grayscale(1); transition: filter .5s var(--ease), transform .8s var(--ease); }
.hover-colour:hover .photo, .photo:hover, .hover-colour:focus-within .photo { filter: grayscale(0); }
.img-frame { overflow: hidden; border-radius: var(--r-lg); background: var(--surface-2); }
.img-frame > .photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Labels ---------- */
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-full); font: 700 12px/1 var(--font-head); }
.badge--yellow { background: var(--yellow); color: var(--text); }
.badge--glass { background: rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-full); font: 700 12px/1.2 var(--font-head); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--green { background: var(--primary-tint); color: var(--primary); }
.tag--blue { background: var(--blue-tint); color: var(--blue-text); }
.tag--yellow { background: var(--yellow-tint); color: var(--yellow-text); }
.tag--ink { background: var(--surface-2); color: var(--text); }
.chip { display: inline-flex; padding: 7px 12px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--bg); color: var(--text-2); font-size: 13px; line-height: 1.2; }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filter { padding: 10px 18px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--bg); color: var(--text-2); font: 700 14px/1.2 var(--font-head); transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--text); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.empty { text-align: center; color: var(--text-3); padding: 32px 0; }

/* Check list */
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F8441' 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 / 13px no-repeat; }
.checks--lg { gap: 12px; font-size: 17px; }
.checks--lg li::before { width: 24px; height: 24px; }

/* Icon tile */
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--primary-tint); color: var(--primary); flex: none; }
.icon-tile .ico { width: 22px; height: 22px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: var(--r-lg); }
.icon-tile--lg .ico { width: 24px; height: 24px; }
.icon-tile--yellow { background: var(--yellow); color: var(--text); }

/* Cards */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); }
.card--surface { background: var(--surface); border-color: transparent; }
.card--dark { color: #fff; border: 0; background: radial-gradient(100% 140% at 85% 0%, rgba(63, 191, 115, .2), transparent 60%), linear-gradient(180deg, #06231A, #0B3324); }
.card--dark p { color: var(--dark-muted); }

/* ---------- Services accordion (home) ---------- */
.acc { display: flex; gap: 16px; height: 600px; }
.acc__item { position: relative; flex: 0 0 150px; overflow: hidden; border-radius: var(--r-xl); color: #fff; isolation: isolate; transition: flex .6s var(--ease); }
.acc__item::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; }
.acc__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 35, 26, .8); transition: background .5s; }
.acc__item.is-open { flex: 1 1 auto; }
.acc__item.is-open::before { filter: grayscale(0); }
.acc__item.is-open::after { background: linear-gradient(0deg, rgba(6,35,26,.95), rgba(6,35,26,.8) 45%, rgba(6,35,26,.2)); }
.acc__item:not(.is-open):hover::before { filter: grayscale(.3); transform: scale(1.04); }
.acc__item:not(.is-open):hover::after { background: rgba(6, 35, 26, .65); }
.acc__tab { position: absolute; inset: 0; width: 100%; border: 0; background: none; color: inherit; transition: opacity .3s; }
.acc__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); }
.acc__icon .ico { width: 24px; height: 24px; }
.acc__label { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font: 700 18px/1 var(--font-head); white-space: nowrap; }
.acc__item.is-open .acc__tab { opacity: 0; pointer-events: none; }
.acc__body { position: absolute; inset: auto 0 0 0; padding: 48px; display: grid; justify-items: start; gap: 14px; min-width: 560px; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .3s, visibility 0s .3s; }
.acc__item.is-open .acc__body { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s .3s, transform .3s .3s, visibility 0s; }
.acc__title { font-size: 44px; line-height: 1.08; letter-spacing: -.025em; max-width: 540px; }
.acc__body p { max-width: 600px; font-size: 16px; color: rgba(255,255,255,.85); }
.acc__body .btn { margin-top: 10px; }
.pager { display: flex; justify-content: center; gap: 8px; }
.pager button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--border); transition: width .3s, background .3s; }
.pager button.is-on { width: 28px; background: var(--primary); }

/* ---------- Case cards (photo with dark overlay) ---------- */
.bento { display: grid; grid-template-columns: 1fr 440px; grid-template-rows: 1fr 1fr; gap: 16px; height: 600px; }
.case { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; color: #fff; }
.case::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,35,26,.95), rgba(6,35,26,.8) 45%, rgba(6,35,26,.15)); }
.case:hover::before, .case:focus-within::before { filter: grayscale(0); transform: scale(1.04); }
.case--big { grid-row: span 2; padding: 40px; }
.case__top { display: flex; flex-wrap: wrap; gap: 8px; }
.case__bottom { display: grid; justify-items: start; gap: 10px; }
.case__bottom p { max-width: 520px; color: rgba(255,255,255,.8); }
.case__bottom .btn { margin-top: 8px; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.case__meta .btn { margin: 0; }
.case__client { font-size: 13px; color: rgba(255,255,255,.6); }
.case--big .h2, .case--feature .case__headline { max-width: 680px; }
.case__title { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.case__headline { font: 700 clamp(30px, 3.2vw, 44px)/1.08 var(--font-head); letter-spacing: -.028em; }
.case--feature { min-height: 560px; padding: 48px; }
.case-list { display: grid; gap: 16px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-grid .case { min-height: 440px; }
.case[hidden] { display: none; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); transition: border-color .3s, transform .3s var(--ease); }
.quote:hover { border-color: #CBD3CF; transform: translateY(-4px); }
.quote:hover .avatar { filter: grayscale(0); }
.quote__mark { width: 32px; height: 32px; color: var(--yellow); }
.quote blockquote { margin-top: -12px; font: 400 18px/1.55 var(--font-head); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span:not(.tag) { display: grid; flex: 1; line-height: 1.35; }
.quote figcaption b { font: 700 14px/1.3 var(--font-head); }
.quote figcaption small { color: var(--text-3); font-size: 12px; }
.controls { display: flex; justify-content: center; gap: 8px; }
.circle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--bg); color: var(--text); transition: background .2s, border-color .2s; }
.circle .ico { width: 16px; height: 16px; }
.circle:hover { border-color: var(--text); }
.circle--on { background: var(--primary); border-color: var(--primary); color: #fff; }
.circle--on:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.circle:disabled { opacity: .4; cursor: default; }

/* ---------- Approach ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: grid; gap: 16px; align-content: start; padding-top: 32px; }
.step__top { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; }
.step__num { font: 700 56px/1 var(--font-head); letter-spacing: -.04em; color: var(--primary-tint); transition: color .4s; }
.step:hover .step__num { color: #BFE3CD; }
.step p { color: var(--text-2); }

/* ---------- Services page ---------- */
.svc-list { display: grid; gap: 24px; }
.svc { display: grid; grid-template-columns: 500px 1fr; min-height: 540px; padding: 12px; }
.svc--flip { grid-template-columns: 1fr 500px; }
.svc--flip .svc__img { order: 2; }
.svc__img { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.svc__img .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__img::after { content: ""; position: absolute; inset: 0; background: rgba(6,35,26,.25); }
.svc__icon { position: absolute; z-index: 1; top: 24px; left: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.svc__icon .ico { width: 24px; height: 24px; }
.svc__text { display: grid; align-content: center; gap: 16px; padding: 44px 48px; }
.svc__text > p { font-size: 16px; color: var(--text-2); }
.svc__inc { font: 700 14px/1 var(--font-head); color: var(--text-3); margin-top: 4px; }
.svc__text .checks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.svc__text .actions { justify-content: flex-start; padding-top: 12px; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.addon { display: grid; align-content: start; justify-items: start; gap: 16px; padding: 36px; }
.addon > p { color: var(--text-2); }
.addon .checks { padding: 4px 0 8px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px !important; }
.faq__item { border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); transition: border-color .2s; }
.faq__item.is-open { border-color: var(--primary); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border: 0; background: none; text-align: left; font: 700 18px/1.3 var(--font-head); letter-spacing: -.01em; }
.faq__toggle { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); transition: background .2s, transform .3s var(--ease); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--text); transition: transform .3s var(--ease), background .2s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item.is-open .faq__toggle { background: var(--primary); }
.faq__item.is-open .faq__toggle::before, .faq__item.is-open .faq__toggle::after { background: #fff; }
.faq__item.is-open .faq__toggle::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 28px 24px; color: var(--text-2); }

/* ---------- Insights ---------- */
.feature-article { display: grid; grid-template-columns: 620px 1fr; min-height: 460px; padding: 12px; }
.feature-article .img-frame { min-height: 320px; }
.feature-article__text { display: grid; align-content: center; justify-items: start; gap: 16px; padding: 40px 48px; }
.feature-article__text > p { font-size: 16px; color: var(--text-2); }
.feature-article__title { font: 700 40px/1.08 var(--font-head); letter-spacing: -.03em; }
.author { display: flex; align-items: center; gap: 12px; }
.author__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 13px/1 var(--font-head); flex: none; }
.author b { display: block; font: 700 14px/1.3 var(--font-head); }
.author small { display: block; font-size: 12px; color: var(--text-3); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: flex; flex-direction: column; padding: 10px; transition: transform .3s var(--ease), border-color .3s; }
.article-card:hover { transform: translateY(-4px); border-color: #CBD3CF; }
.article-card .img-frame { height: 220px; }
.article-card__text { display: grid; justify-items: start; gap: 10px; padding: 20px 14px 14px; flex: 1; }
.article-card__title { font: 700 20px/1.25 var(--font-head); letter-spacing: -.01em; }
.article-card__foot { width: 100%; align-self: end; display: flex; justify-content: space-between; align-items: center; padding-top: 6px; font-size: 13px; color: var(--text-3); }
.arrow-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--text); transition: background .2s, color .2s; }
.arrow-dot .ico { width: 16px; height: 16px; }
.article-card:hover .arrow-dot { background: var(--primary); color: #fff; }
.article-card[hidden] { display: none; }

/* ---------- Article & case study ---------- */
.post-header { padding: 72px var(--pad-x) 56px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.post-header .display { max-width: 920px; }
.post-header .lead { max-width: 700px; }
.post-hero { padding: 0 var(--pad-x); display: grid; justify-items: center; gap: 12px; }
.post-hero .img-frame { width: 100%; max-width: var(--max); height: clamp(320px, 43vw, 620px); border-radius: var(--r-xl); }
.caption { font-size: 13px; color: var(--text-3); }
.post-body { padding: 80px var(--pad-x) var(--section-y); display: flex; justify-content: center; gap: 80px; }
.post-side { width: 260px; flex: none; }
.post-side__sticky { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { display: grid; gap: 4px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
.toc__k { font: 700 13px/1 var(--font-head); color: var(--text-3); margin-bottom: 10px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; line-height: 1.4; color: var(--text-2); transition: color .2s; }
.toc a::before { content: ""; width: 2px; height: 16px; flex: none; border-radius: 1px; background: var(--border); transition: background .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); font-weight: 600; }
.toc a.is-active::before { background: var(--primary); }
.share { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.share__k { font: 700 13px/1 var(--font-head); color: var(--text-3); margin-right: 4px; }
.share a, .share button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); transition: border-color .2s, background .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--text); }
.share .ico { width: 15px; height: 15px; }
.share button.is-copied { background: var(--primary); border-color: var(--primary); color: #fff; }
.prose { width: 720px; max-width: 100%; display: grid; gap: 24px; align-content: start; }
.prose > p { font-size: 18px; line-height: 1.75; color: var(--prose); }
.prose h2 { font: 700 30px/1.2 var(--font-head); letter-spacing: -.02em; margin-top: 16px; }
.prose h3 { font: 700 22px/1.25 var(--font-head); letter-spacing: -.01em; margin-top: 8px; }
.pullquote { display: grid; gap: 12px; padding: 28px 32px; border-radius: var(--r-xl); background: var(--surface); }
.pullquote .quote__mark { width: 28px; height: 28px; }
.pullquote p { font: 700 24px/1.3 var(--font-head); letter-spacing: -.015em; }
.prose figure { display: grid; gap: 12px; }
.prose figure .img-frame { height: 400px; border-radius: var(--r-xl); }
.takeaway { display: grid; gap: 10px; padding: 28px 32px; border-radius: var(--r-xl); background: var(--primary-tint); }
.takeaway p { font-size: 18px; line-height: 1.65; font-weight: 500; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.author-card { display: flex; align-items: center; gap: 16px; padding: 24px; }
.author-card .author__avatar { width: 52px; height: 52px; font-size: 16px; }
.author-card b { display: block; font: 700 15px/1.4 var(--font-head); }
.author-card p { font-size: 14px; color: var(--text-2); }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; }
.inline-cta h3 { font: 700 22px/1.25 var(--font-head); }
.inline-cta p { font-size: 14px; }

.details { padding: 24px var(--pad-x) 0; }
.details__card { max-width: var(--max); margin: 0 auto; display: flex; gap: 28px; padding: 28px 36px; border-radius: var(--r-xl); background: var(--surface); }
.details__item { display: grid; gap: 6px; width: 110px; flex: none; }
.details__item--wide { width: auto; flex: 1; }
.details__k { font: 700 13px/1 var(--font-head); color: var(--text-3); }
.details__v { font: 700 18px/1.3 var(--font-head); }
.details__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.story { display: grid; gap: 64px; }
.story__block { display: grid; gap: 16px; }
.story__block > p { font-size: 18px; line-height: 1.75; color: var(--prose); }
.gallery { display: grid; gap: 16px; }
.gallery__row { display: grid; gap: 16px; }
.gallery__row--1 { grid-template-columns: 1fr 400px; height: 560px; }
.gallery__row--1 > div { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; }
.gallery__row--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 340px; }
.gallery__row--1 { grid-template-rows: minmax(0, 1fr); }
.gallery__item { position: relative; display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; border: 0; padding: 0; border-radius: var(--r-xl); background: var(--surface-2); cursor: zoom-in; }
.gallery__item .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__item:hover .photo { filter: grayscale(0); transform: scale(1.03); }
.gallery__label { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.92); color: var(--text); font: 700 12px/1.2 var(--font-head); }
.gallery__item--video { cursor: pointer; display: grid; place-items: center; }
.gallery__item--video .play { position: relative; z-index: 1; }
.gallery__item--video::after { content: ""; position: absolute; inset: 0; background: rgba(6,35,26,.4); transition: background .3s; }
.gallery__item--video:hover::after { background: rgba(6,35,26,.2); }
.gallery__item--video .photo { position: absolute; inset: 0; }
.play { position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: #fff; color: var(--text); transition: transform .3s var(--ease); }
.play .ico { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.gallery__item--video:hover .play { transform: scale(1.08); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { display: grid; gap: 8px; padding: 36px; border-radius: var(--r-xl); background: var(--surface); }
.stat b { font: 700 64px/1 var(--font-head); letter-spacing: -.04em; color: var(--primary); }
.stat span { font-size: 16px; color: var(--text-2); }
.result-quote { display: grid; justify-items: center; gap: 20px; padding: 40px 48px; text-align: center; }
.result-quote .quote__mark { width: 36px; height: 36px; }
.result-quote p { max-width: 820px; font: 700 26px/1.35 var(--font-head); letter-spacing: -.02em; }
.result-quote small { font: 700 14px/1 var(--font-head); color: var(--text-3); }

/* Lightbox / video modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(1, 16, 21, .88); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.modal__inner { position: relative; max-width: min(1100px, 100%); max-height: 100%; }
.modal__inner img { max-height: calc(100svh - 120px); width: auto; border-radius: var(--r-lg); }
.modal__video { width: min(960px, calc(100vw - 48px)); aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--dark) center / cover; display: grid; place-items: center; color: #fff; text-align: center; padding: 24px; }
.modal__caption { color: rgba(255,255,255,.75); text-align: center; margin-top: 12px; font-size: 14px; }
.modal__close { position: fixed; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; display: grid; place-items: center; }
.modal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--text); display: grid; place-items: center; }
.modal__nav--prev { left: -64px; } .modal__nav--next { right: -64px; }
body.is-locked { overflow: hidden; }

/* ---------- About ---------- */
.collage { padding: 0 var(--pad-x); }
.collage__grid { max-width: var(--max); height: 520px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: minmax(0, 1fr); gap: 16px; }
.collage__grid > div { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 0; }
.collage .img-frame { position: relative; border-radius: var(--r-xl); height: 100%; min-height: 0; }
.collage .img-frame .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage .badge { position: absolute; top: 28px; left: 28px; z-index: 1; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-card { display: grid; align-content: start; justify-items: start; gap: 16px; padding: 40px; }
.story-card > p { font-size: 16px; color: var(--text-2); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { display: grid; align-content: start; gap: 14px; padding: 28px; transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: #CBD3CF; }
.value p { color: var(--text-2); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member { padding: 10px; }
.member .img-frame { height: 300px; }
.member__text { padding: 16px 10px 8px; }
.member__text b { display: block; font: 700 18px/1.3 var(--font-head); }
.member__text span { font-size: 14px; color: var(--text-3); }
.note { text-align: center; font-size: 13px; color: var(--text-3); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.careers { display: grid; align-content: space-between; justify-items: start; gap: 32px; min-height: 380px; padding: 48px; }
.careers__text { display: grid; gap: 14px; max-width: 440px; }
.visit { display: grid; grid-template-columns: 1fr 260px; padding: 12px; }
.visit__text { display: grid; align-content: center; gap: 14px; padding: 24px 36px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.contact-list .ico { width: 16px; height: 16px; color: var(--primary); }
.contact-list a:hover { color: var(--primary); }

/* ---------- Contact ---------- */
.options { padding: 0 var(--pad-x) 96px; }
.options__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option { display: grid; align-content: start; justify-items: start; gap: 18px; padding: 44px; }
.option > p { font-size: 16px; color: var(--text-2); }
.option.card--dark > p { color: var(--dark-muted); }
.option .btn { margin-top: 8px; }
.inquiry { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: start; }
.inquiry__intro { display: grid; justify-items: start; gap: 16px; }
.inquiry__intro > p { font-size: 16px; color: var(--text-2); }
.inquiry .contact-list { gap: 12px; padding-top: 16px; }
.inquiry .contact-list li { font-size: 15px; gap: 12px; }
.inquiry .contact-list .ico-ring { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); }
.form { display: grid; gap: 20px; padding: 40px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font: 700 14px/1.2 var(--font-head); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); font: 400 15px/1.4 var(--font-body); color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C9691' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field ::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: var(--bg); box-shadow: 0 0 0 3px rgba(15, 132, 65, .12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C2410C; background: #FFF7F3; }
.field__err { font-size: 13px; color: #C2410C; }
.field__err:empty { display: none; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 4px; }
.form__note { font-size: 13px; color: var(--text-3); }
.form__done { display: grid; justify-items: center; gap: 14px; padding: 56px 24px; text-align: center; }
.form__done[hidden] { display: none; }
.form__done .icon-tile { width: 64px; height: 64px; border-radius: 50%; }
.form__done .icon-tile .ico { width: 28px; height: 28px; }
.form__done p { color: var(--text-2); max-width: 380px; }
.hp { position: absolute; left: -9999px; }

/* ---------- CTA card ---------- */
.cta-wrap { padding: var(--section-y) var(--pad-x) 100px; }
.cta {
  max-width: var(--max); margin: 0 auto; padding: 88px 64px; border-radius: var(--r-xl);
  display: grid; justify-items: center; gap: 14px; text-align: center; color: #fff;
  background: radial-gradient(45% 60% at 50% 0%, rgba(63, 191, 115, .25), transparent), linear-gradient(180deg, #06231A, #0B3324);
}
.cta__title { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.027em; }
.cta p { font-size: 18px; color: var(--dark-muted); max-width: 640px; }
.cta .actions { padding-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); padding: 0 var(--pad-x) 40px; }
.footer__top { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; padding: 56px 0 40px; border-top: 1px solid var(--border); }
.footer__brand { display: grid; gap: 20px; max-width: 420px; }
.footer__logo { height: 52px; width: auto; }
.footer__brand > p { color: var(--text-2); }
.news { display: grid; gap: 10px; }
.news__label { font: 700 14px/1.4 var(--font-head); }
.news__field { display: flex; gap: 8px; padding: 5px; border-radius: var(--r-full); background: var(--bg); border: 1px solid var(--border); transition: border-color .2s; }
.news__field:focus-within { border-color: var(--primary); }
.news.is-invalid .news__field { border-color: #C2410C; }
.news__field input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; font: 400 14px var(--font-body); color: var(--text); outline: none; }
.news__field input::placeholder { color: var(--text-3); }
.news__msg { font-size: 13px; color: var(--primary); min-height: 1em; }
.news.is-invalid .news__msg { color: #C2410C; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 72px; }
.footer__cols div { display: grid; gap: 12px; align-content: start; font-size: 14px; }
.footer__cols h4 { font: 700 14px/1.4 var(--font-head); margin: 0; }
.footer__cols a, .footer__cols span { color: var(--text-2); transition: color .2s; }
.footer__cols a:hover { color: var(--primary); }
.footer__bottom { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .svc, .svc--flip { grid-template-columns: 1fr; min-height: 0; }
  .svc--flip .svc__img { order: 0; }
  .svc__img { height: 320px; }
  .feature-article { grid-template-columns: 1fr; }
  .feature-article .img-frame { height: 360px; }
  .post-body { gap: 48px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .inquiry { grid-template-columns: 1fr; gap: 40px; }
  .visit { grid-template-columns: 1fr; }
  .visit .img-frame { height: 220px; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero__center { justify-items: center; }
  .hero .actions { justify-content: center; }
  .hero__scroll { display: none; }
  .stack { width: 560px; max-width: 100%; }
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .acc { height: 520px; }
  .acc__item { flex-basis: 96px; }
  .acc__body { min-width: 420px; padding: 32px; }
  .acc__title { font-size: 34px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 260px; height: auto; }
  .case--big { grid-row: auto; grid-column: span 2; }
  .case-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer__top { flex-direction: column; }
  .post-body { flex-direction: column; align-items: center; }
  .post-side { width: 100%; max-width: 720px; }
  .post-side__sticky { position: static; }
  .details__card { flex-wrap: wrap; }
  .details__item--wide { flex-basis: 100%; }
  .gallery__row--1 { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery__row--1 > .gallery__item { height: 420px; }
  .gallery__row--1 > div { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 260px; }
  .modal__nav--prev { left: 8px; } .modal__nav--next { right: 8px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 110px; padding-bottom: 48px; min-height: 0; }
  .stack { --gap: 56px; --base: 210px; height: auto; width: 100%; }
  .stack__scene { position: relative; inset: auto; height: 300px; transform: scale(.72); transform-origin: 50% 70%; }
  .stack__labels { position: static; width: auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: -12px; }
  .stack__labels li { position: static; transform: none; padding: 7px 11px; font-size: 12px; }
  .stack__labels li::before { display: none; }
  .stack__labels li.is-active { transform: none; }
  :root { --header-h: 72px; }
  .logo__mark { width: 48px; height: 40px; } .logo__mark img { height: 40px; }
  .logo__word { font-size: 17px; }
  .hero__sub, .lead { font-size: 16px; }
  .hero .actions { width: 100%; max-width: 340px; }
  .hero .actions .btn { width: 100%; }
  .hero__scroll { bottom: 28px; }
  .page-header { padding-top: 64px; padding-bottom: 48px; }

  .acc { flex-direction: column; height: auto; }
  .acc__item { flex: none; height: 76px; transition: height .6s var(--ease); }
  .acc__item.is-open { height: 460px; }
  .acc__icon { left: 16px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; }
  .acc__label { left: 76px; bottom: auto; top: 50%; transform: translateY(-50%); writing-mode: horizontal-tb; font-size: 17px; }
  .acc__body { min-width: 0; padding: 24px; }
  .acc__title { font-size: 28px; }
  .pager { display: none; }

  .bento, .case-grid, .article-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .case { min-height: 300px; padding: 24px; }
  .case--big { grid-column: auto; min-height: 440px; padding: 24px; }
  .case--feature { min-height: 480px; padding: 24px; }
  .case-grid .case { min-height: 340px; }
  .quotes { grid-auto-columns: 86%; }
  .steps { grid-template-columns: 1fr; gap: 8px; }

  .svc__text { padding: 28px 16px 20px; }
  .svc__text .checks { grid-template-columns: 1fr; }
  .svc__img { height: 240px; }
  .addons, .story-cols, .split, .options__grid, .stats, .form__row { grid-template-columns: 1fr; }
  .addon, .story-card, .option, .careers, .form { padding: 28px 24px; }
  .faq__q { padding: 18px 20px; font-size: 16px; }
  .faq__a p { padding: 0 20px 20px; }
  .feature-article__text { padding: 28px 16px 16px; }
  .feature-article__title { font-size: 30px; }
  .values, .team { grid-template-columns: 1fr; }
  .collage__grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .collage__grid > .img-frame { height: 320px; }
  .collage__grid > div { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); height: 200px; }
  .prose figure .img-frame { height: 260px; }
  .pullquote p { font-size: 20px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .details__card { padding: 24px; }
  .gallery__row--1 > .gallery__item { height: 280px; }
  .gallery__row--1 > div { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery__row--1 > div > .gallery__item { height: 220px; }
  .gallery__row--2 { grid-template-columns: 1fr; height: auto; }
  .gallery__row--2 > .gallery__item { height: 220px; }
  .result-quote { padding: 28px 20px; }
  .result-quote p { font-size: 20px; }
  .form__foot { flex-direction: column; align-items: stretch; }

  .cta-wrap { padding-inline: 16px; padding-bottom: 64px; }
  .cta { padding: 56px 24px; }
  .cta .actions { flex-direction: column; width: 100%; max-width: 320px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
  .footer__bottom nav { flex-wrap: wrap; }
}

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


/* ==========================================================================
   WordPress + Elementor layer (added after the v3.2 static stylesheet).
   Everything above this line is 250brands-website/v3-2/style.css, unchanged.
   ========================================================================== */

/* WordPress basics */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; z-index: 100; top: 16px; left: 16px; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--r-md); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header--static { top: 0; } }
.site-main { display: block; }
.logo .custom-logo { height: 52px; width: auto; max-width: none; }
@media (max-width: 720px) { .logo .custom-logo { height: 40px; } }
.nav a.is-current, .mobile-menu a.is-current { font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Elementor: our widgets run edge to edge with no extra spacing */
.elementor .elementor-widget[class*="elementor-widget-b250-"]:not(:last-child) { margin-bottom: 0; margin-block-end: 0; }
.elementor-widget[class*="elementor-widget-b250-"] > .elementor-widget-container { padding: 0; margin: 0; }
.elementor-editor-active .js .reveal, .elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .stack.is-loading .layer { --drop: 0px; opacity: 1; }
/* Elementor resets image heights; keep the design's photo sizing */
.elementor img.photo { height: 100%; }
.elementor .avatar { height: 44px; }
.elementor .logo-tile img { height: 40px; }
.elementor .modal__inner img { height: auto; }

/* Client logo images (when a real logo is uploaded) */
.logo-tile img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }

/* Gallery rows with fewer than three images */
.gallery__row--2[data-n="1"] { grid-template-columns: 1fr; }
.gallery__row--2[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery__row--1[data-n="1"] { grid-template-columns: 1fr; }
.gallery__row--1[data-n="2"] > div { grid-template-rows: minmax(0, 1fr); }
@media (max-width: 720px) { .gallery__row--2[data-n] { grid-template-columns: 1fr; } }

/* Lightbox arrows: hide them for the brand film (display:grid overrode [hidden]) */
.modal__nav[hidden] { display: none; }

/* Brand film: real video in the modal */
.modal__video--embed { padding: 0; overflow: hidden; background: #000; }
.modal__video--embed iframe, .modal__video--embed video { width: 100%; height: 100%; border: 0; display: block; }

/* Form error from the server */
.form__error { padding: 12px 16px; border-radius: var(--r-md); background: #FFF7F3; color: #C2410C; font-size: 14px; }
.form__error[hidden] { display: none; }

/* Article / page content written in the WordPress editor */
.prose > * { margin: 0; }
.prose > ul, .prose > ol { display: grid; gap: 8px; padding-left: 22px; font-size: 18px; line-height: 1.7; color: var(--prose); }
.prose > ul { list-style: disc; }
.prose > ol { list-style: decimal; }
.prose a:not(.btn):not(.chip) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote:not(.pullquote) { display: grid; gap: 12px; padding: 28px 32px; border-radius: var(--r-xl); background: var(--surface); border: 0; }
.prose blockquote:not(.pullquote)::before { content: "“"; font: 700 56px/.6 var(--font-head); color: var(--primary); height: 24px; }
.prose blockquote:not(.pullquote) p { font: 700 24px/1.3 var(--font-head); letter-spacing: -.015em; }
.prose blockquote cite { font: 700 14px/1 var(--font-head); color: var(--text-3); font-style: normal; }
.prose .wp-block-pullquote { padding: 0; border: 0; text-align: left; }
.prose figure img, .prose .wp-block-image img { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: var(--r-xl); filter: grayscale(1); transition: filter .5s var(--ease); }
.prose figure:hover img { filter: grayscale(0); }
@media (max-width: 720px) { .prose figure img, .prose .wp-block-image img { max-height: 260px; } }
.prose figcaption, .prose .wp-element-caption { font-size: 13px; color: var(--text-3); text-align: left; margin: 0; }
.prose .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-xl); }
/* Key takeaway box (a Group block with the class "takeaway"; its first line becomes the green label) */
.prose .takeaway .wp-block-group__inner-container { display: grid; gap: 10px; }
.prose .takeaway p { margin: 0; }
.prose .takeaway p:first-child:not(:only-child) { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-head); color: var(--primary); }
.prose .takeaway p:first-child:not(:only-child)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface); font-size: .9em; }
.prose h2, .prose h3 { scroll-margin-top: 110px; }
.post-body--solo { justify-content: center; }
.page-content { padding: 0 var(--pad-x) var(--section-y); display: flex; justify-content: center; }

/* Archive / search / 404 */
.pagination { display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--bg); font: 700 14px/1 var(--font-head); color: var(--text-2); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--text); color: var(--text); }
.search-form { display: flex; gap: 8px; padding: 5px; border-radius: var(--r-full); background: var(--bg); border: 1px solid var(--border); width: 100%; max-width: 480px; }
.search-form:focus-within { border-color: var(--primary); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; font: 400 15px var(--font-body); color: var(--text); outline: none; }
.empty-state { display: grid; justify-items: center; gap: 18px; text-align: center; }

/* Comments (only shown if a post has comments switched on) */
.comments { width: 720px; max-width: 100%; display: grid; gap: 24px; }
.comments .comment-list { display: grid; gap: 16px; }
.comments .comment-body { padding: 20px 24px; border-radius: var(--r-lg); background: var(--surface); }
.comments textarea, .comments input[type="text"], .comments input[type="email"], .comments input[type="url"] { width: 100%; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); font: 400 15px/1.4 var(--font-body); }
.comments .submit { padding: 14px 24px; border-radius: var(--r-full); border: 0; background: var(--primary); color: #fff; font: 700 14px/1.2 var(--font-head); cursor: pointer; }
