/* =========================================================
   Dynabyt Technologies — design system
   Palette: deep forest, emerald, sage, mint, warm off-white, charcoal
   ========================================================= */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --forest: #123B2A;
  --forest-2: #0d2d20;
  --emerald: #247A50;
  --emerald-2: #1d6a44;
  --sage: #A8C5AE;
  --mint: #EAF3EC;
  --offwhite: #F8FAF7;
  --charcoal: #202824;
  --gray: #69736D;
  --white: #fff;
  --line: #DDE8DF;
  --line-dark: rgba(168, 197, 174, .22);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 59, 42, .06), 0 2px 8px rgba(18, 59, 42, .04);
  --shadow: 0 10px 30px -12px rgba(18, 59, 42, .18), 0 2px 6px rgba(18, 59, 42, .05);
  --shadow-lg: 0 30px 60px -24px rgba(18, 59, 42, .32);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--charcoal);
  background: var(--offwhite); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--forest); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); letter-spacing: -.028em; }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--emerald); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
.section--forest :focus-visible, .section--charcoal :focus-visible, .site-footer :focus-visible { outline-color: var(--sage); }
::selection { background: var(--sage); color: var(--forest); }
main:focus { outline: none; }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }
.narrow-w { width: min(820px, 100% - 3rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--forest); color: #fff; padding: .7rem 1rem; border-radius: 8px; z-index: 1000; transition: top .2s; }
.skip-link:focus { top: 1rem; color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sage); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--gray); max-width: 62ch; }
.section--forest .lead, .section--charcoal .lead { color: #cfe0d3; }
.muted { color: var(--gray); }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; justify-content: center; }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.grad-text { background: linear-gradient(90deg, #247A50, #3FA86C); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--white { background: var(--white); }
.section--mint { background: var(--mint); }
.section--forest { background: var(--forest); color: #e6efe8; }
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4,
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3 { color: #fff; }
.section--charcoal { background: var(--charcoal); color: #dfe7e2; }
.section--forest a:not(.btn), .section--charcoal a:not(.btn) { color: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1 var(--font-body);
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px -8px rgba(36, 122, 80, .7); }
.btn--primary:hover { background: var(--emerald-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(36, 122, 80, .75); }
.btn--ghost { background: transparent; color: var(--forest); border-color: #bcd2c1; }
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); background: rgba(36, 122, 80, .05); }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--mint); color: var(--forest); transform: translateY(-2px); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn--on-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(168, 197, 174, .35); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; line-height: 1; }
.logo-mark { width: 49px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; color: var(--forest); }
.logo-sub { font-size: .56rem; letter-spacing: .34em; text-transform: uppercase; color: var(--emerald); font-weight: 600; padding-left: 1px; }
.logo--dark .logo-name { color: #fff; }
.logo--dark .logo-sub { color: var(--sage); }
.header-cta .icon { width: 1em; height: 1em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(9, 41, 28, .96); border-bottom: 1px solid rgba(168, 197, 174, .12); transition: border-color .25s, box-shadow .25s; }
.site-header.is-stuck { border-color: rgba(168, 197, 174, .2); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .65); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { text-decoration: none; margin-right: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; }
.primary-nav a { display: block; padding: .6rem .9rem; color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 550; font-size: .98rem; border-radius: 10px; transition: color .2s, background .2s; }
.primary-nav a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.primary-nav a[aria-current="page"] { color: #7fe0a8; }
.primary-nav .submenu a:hover { background: var(--mint); color: var(--forest); }
.primary-nav .submenu a[aria-current="page"] strong { color: var(--emerald); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: .4rem .35rem; margin-left: -.5rem; cursor: pointer; color: rgba(255, 255, 255, .75); border-radius: 8px; display: grid; place-items: center; }
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon, .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: -1rem; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .6rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; list-style: none; display: block !important; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: .75rem .9rem; }
.submenu a strong { display: block; color: var(--forest); font-weight: 600; font-size: .98rem; }
.submenu a span { display: block; color: var(--gray); font-size: .85rem; margin-top: 2px; }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 12px; width: 46px; height: 46px; place-items: center; cursor: pointer; color: #fff; }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .primary-nav, .header-cta { display: none; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { background: rgba(9, 41, 28, .98); }
  .menu-btn { display: grid; }
  .mobile-menu:not([hidden]) { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--offwhite); padding: 1.25rem 1.5rem 2rem; overflow-y: auto; border-top: 1px solid var(--line); animation: menuIn .3s var(--ease); }
  .mobile-menu ul { list-style: none; }
  .mobile-menu > nav > ul > li > a { display: block; padding: 1rem 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu ul ul { padding: .25rem 0 .75rem 1rem; }
  .mobile-menu ul ul a { display: block; padding: .55rem 0; color: var(--gray); text-decoration: none; font-size: 1.02rem; }
  .mobile-menu .btn { margin-top: 1.5rem; }
  body.menu-open { overflow: hidden; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-visual { position: relative; }
@keyframes dash { to { stroke-dashoffset: -240; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.22); opacity: .2; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
/* ---------- hero (dark) ---------- */
/* On the home page the hero runs under a transparent header, so the two read as one surface.
   Once the page scrolls, the header turns solid dark. */
.is-home .site-header { background: transparent; border-bottom-color: transparent; }
.is-home .site-header.is-stuck { background: rgba(9, 41, 28, .96); border-bottom-color: rgba(168, 197, 174, .2); }
.is-home .hero { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5.25rem)); }
@media (max-width: 980px) { .is-home .site-header.is-stuck { background: rgba(9, 41, 28, .98); } .is-home .hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)); } }
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(3.25rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background: radial-gradient(880px 520px at 78% 42%, rgba(47, 150, 96, .28), transparent 64%), radial-gradient(760px 520px at 0% 0%, rgba(6, 36, 24, .8), transparent 70%), linear-gradient(135deg, #0b3223 0%, #114631 54%, #17603f 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 820' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M1010 150L1340 110L1440 360L1130 520Z' fill='%23fff' fill-opacity='.04'/%3E%3Cpath d='M-20 330L430 120L540 440L80 600Z' fill='%23fff' fill-opacity='.032'/%3E%3Cpath d='M640 700L1120 590L1250 820L690 820Z' fill='%23000' fill-opacity='.1'/%3E%3Cpath d='M300 -10L760 0L560 250Z' fill='%23fff' fill-opacity='.025'/%3E%3Cpath d='M1010 150L1130 520M430 120L1010 150M540 440L1130 520' stroke='%23a8c5ae' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E") center / cover no-repeat; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 4px 4px; opacity: .45; mask-image: linear-gradient(to bottom, #000, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero .eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .3em; color: var(--sage); margin-bottom: 1.6rem; }
.hero .eyebrow::before { display: none; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .grad-text { background: none; -webkit-text-fill-color: currentColor; color: #35ad72; }
.hero .lead { margin-bottom: 0; color: rgba(214, 233, 220, .8); }
.hero .btn--primary { background: #2a9460; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55); }
.hero .btn--primary:hover { background: #32a76c; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; margin-top: 2.4rem; font-family: var(--font-mono); font-weight: 500; font-size: .76rem; letter-spacing: .17em; text-transform: uppercase; color: rgba(168, 197, 174, .9); line-height: 2; }
.hero-chips li { display: inline-flex; align-items: center; gap: .7em; }
.hero-chips li::before { content: ""; width: 5px; height: 5px; background: #35ad72; border-radius: 1px; }
.hero-visual { position: relative; }
.eco { width: 100%; height: auto; overflow: visible; }
.eco-line { stroke: #a8c5ae; stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: 6 8; animation: dash 16s linear infinite; animation-delay: var(--d); }
.eco-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 4.5s ease-in-out infinite; }
.eco-card { animation: floaty 8s ease-in-out infinite; animation-delay: var(--d); }
.eco-dot { animation: pulse 3.2s ease-in-out infinite; animation-delay: var(--d); transform-box: fill-box; transform-origin: center; }
.eco-glow { transform-box: fill-box; transform-origin: center; animation: pulse 5s ease-in-out infinite; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 560px; margin-inline: auto; } }

/* ---------- ecosystem / tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.tech-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tech-group:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5dccb; }
.tech-group h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); font-family: var(--font-body); font-weight: 650; margin-bottom: 1rem; }
.chips { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.chip { display: grid; grid-template-columns: 9px 1fr; align-items: baseline; column-gap: .65rem; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--forest); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--emerald); align-self: center; }
.chip > span { line-height: 1.3; }
.chip small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--gray); font-size: .82rem; }
.chip--soft::before { background: var(--sage); }
.tech-note { margin-top: 1.5rem; color: var(--gray); font-size: .9rem; max-width: 80ch; }
@media (max-width: 1080px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tech-grid { grid-template-columns: 1fr; } }

/* ---------- service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-3, .cards-2, .cards-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service-card { position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--mint), #fff 55%); opacity: 0; transition: opacity .35s; z-index: -1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #bcd6c3; }
.service-card:hover::before { opacity: 1; }
.icon-tile { width: 54px; height: 54px; border-radius: 15px; background: var(--mint); color: var(--emerald); display: grid; place-items: center; margin-bottom: 1.3rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.icon-tile .icon { width: 28px; height: 28px; }
.service-card:hover .icon-tile { background: var(--emerald); color: #fff; transform: rotate(-4deg) scale(1.05); }
.service-card h3 { margin-bottom: .35em; }
.service-card .tagline { color: var(--forest); font-weight: 550; margin-bottom: .6rem; }
.service-card p.desc { color: var(--gray); font-size: .98rem; flex: 1; }
.service-card .text-link { margin-top: .6rem; }
.service-card .stretch::after { content: ""; position: absolute; inset: 0; }

/* ---------- problems ---------- */
.problems-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.problem-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.problem { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.1rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.problem:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5dccb; }
.problem .icon-tile { width: 42px; height: 42px; border-radius: 12px; margin: 0; background: #f2ebe4; color: #8a6a4d; }
.problem .icon-tile .icon { width: 22px; height: 22px; }
.problem p { margin: 0; font-size: .98rem; line-height: 1.45; font-weight: 520; color: var(--charcoal); }
.converge { position: sticky; top: calc(var(--header-h) + 24px); background: var(--forest); color: #dbe9df; border-radius: 26px; padding: 2.4rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.converge::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(92, 191, 132, .35), transparent 65%); }
.converge h3 { color: #fff; font-size: 1.7rem; }
.converge ul { list-style: none; margin: 1.3rem 0 0; display: grid; gap: .75rem; position: relative; z-index: 1; }
.converge li { display: flex; gap: .7rem; align-items: flex-start; }
.converge li .icon { color: #5CBF84; margin-top: .2rem; }
@media (max-width: 960px) { .problems-grid { grid-template-columns: 1fr; } .converge { position: relative; top: auto; } }
@media (max-width: 560px) { .problem-list { grid-template-columns: 1fr; } }

/* ---------- process timeline ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, var(--sage), var(--emerald), var(--sage)); opacity: .7; }
.step { position: relative; padding-top: 0; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--font-head); font-weight: 650; font-size: 1.15rem; display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 1.2rem; box-shadow: 0 0 0 6px var(--offwhite), 0 8px 18px -8px rgba(18, 59, 42, .6); transition: background .3s, transform .3s var(--ease); }
.section--white .step-num { box-shadow: 0 0 0 6px #fff, 0 8px 18px -8px rgba(18, 59, 42, .6); }
.step:hover .step-num { background: var(--emerald); transform: scale(1.08); }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--gray); font-size: .98rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--sage), var(--emerald), var(--sage)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.2rem; padding-bottom: 2rem; }
  .step-num { margin: 0; grid-row: span 2; }
}
.callout { margin-top: 3rem; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--mint); border: 1px solid #cfe2d4; display: flex; gap: 1rem; align-items: flex-start; color: var(--forest); }
.callout .icon { color: var(--emerald); margin-top: .2rem; width: 1.5rem; height: 1.5rem; }
.callout p { margin: 0; }

/* ---------- portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn { font: 600 .92rem/1 var(--font-body); padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--charcoal); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--emerald); color: var(--emerald); }
.filter-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter-btn .count { opacity: .6; font-weight: 500; margin-left: .25rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1060px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .project-grid { grid-template-columns: 1fr; } }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; position: relative; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #bcd6c3; }
.project-card[hidden] { display: none; }
.project-thumb { background: var(--mint); overflow: hidden; aspect-ratio: 16 / 10; }
.project-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb .mock { transition: transform .5s var(--ease); }
.project-card:hover .mock { transform: scale(1.03); }
.mock { display: block; line-height: 0; border-radius: inherit; overflow: hidden; }
.mock svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.project-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.tag { font-size: .74rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: var(--mint); color: var(--emerald-2); }
.tag--warn { background: #fbf0dc; color: #8a5a00; }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--gray); }
.project-card h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.project-card .client { color: var(--gray); font-size: .92rem; margin-bottom: .8rem; }
.project-card dl { margin: .4rem 0 1rem; display: grid; gap: .55rem; font-size: .93rem; }
.project-card dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); font-weight: 650; }
.project-card dd { margin: 0; color: var(--charcoal); }
.project-card .clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card .text-link { margin-top: auto; }
.project-card .stretch::after { content: ""; position: absolute; inset: 0; }
.stack-list { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; }
.stack-list li { font-size: .8rem; padding: .22rem .55rem; border-radius: 8px; background: var(--offwhite); border: 1px solid var(--line); color: var(--forest); font-weight: 550; }
.empty-state { text-align: center; padding: 3.5rem 1.5rem; border: 1.5px dashed #bcd2c1; border-radius: 22px; background: #fff; color: var(--gray); }
.empty-state h3 { margin-bottom: .4em; }
.sample-note { margin-top: 1.4rem; font-size: .9rem; color: var(--gray); }

/* ---------- mock previews ---------- */

/* ---------- split / why ---------- */
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; display: grid; gap: .9rem; }
.check-list li { display: flex; gap: .85rem; align-items: flex-start; }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; flex: none; margin-top: .1rem; }
.check-list .tick .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.check-list strong { color: var(--forest); display: block; font-weight: 650; }
.check-list span.sub { color: var(--gray); font-size: .96rem; display: block; }
.section--forest .check-list li { color: #dbe9df; }
.section--forest .check-list span.sub { color: #b9d0be; }
.section--forest .check-list strong { color: #fff; }
.stack-visual { position: relative; border-radius: 28px; background: var(--forest); padding: 2.2rem; overflow: hidden; box-shadow: var(--shadow-lg); }
.stack-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0, rgba(92, 191, 132, .28), transparent 60%); }
.sv-title { position: relative; color: var(--sage); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; margin-bottom: 1.2rem; }
.sv-layer { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); margin-bottom: .75rem; color: #e8f1ea; transition: transform .3s var(--ease), background .3s; }
.sv-layer:hover { transform: translateX(6px); background: rgba(255, 255, 255, .1); }
.sv-layer .icon { color: #5CBF84; width: 26px; height: 26px; }
.sv-layer b { font-family: var(--font-head); color: #fff; font-weight: 600; display: block; font-size: 1.05rem; }
.sv-layer small { color: #b6cdbb; font-size: .85rem; }
.sv-join { position: relative; display: flex; align-items: center; gap: .6rem; margin: 1rem 0 0; color: var(--sage); font-size: .9rem; }
.sv-join::before { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.sv-join::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }

/* ---------- engagement models ---------- */
.model { display: flex; flex-direction: column; gap: .4rem; }
.model .num { font-family: var(--font-head); font-weight: 650; color: var(--sage); font-size: 2.2rem; line-height: 1; }
.model h3 { font-size: 1.15rem; margin: .2rem 0 .1rem; }
.model p { color: var(--gray); font-size: .96rem; margin: 0; }
.card:hover.model, .model.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5dccb; }

/* ---------- collab (testimonial alternative) ---------- */
.collab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.collab .item { padding: 1.6rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.collab .item h3 { color: #fff; font-size: 1.15rem; }
.collab .item p { color: #bcd2c1; margin: 0; font-size: .98rem; }
.collab .item .icon { color: #5CBF84; width: 28px; height: 28px; margin-bottom: 1rem; }
@media (max-width: 860px) { .collab { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: hidden; position: relative; }
.net-bg { will-change: transform; contain: strict; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.net-line { stroke-width: 1.2; stroke-dasharray: 5 9; animation: dash 18s linear infinite; animation-delay: var(--d, 0s); }
.net-dot { transform-box: fill-box; transform-origin: center; animation: netPulse 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes netPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .45; } }
.cta-inner { position: relative; }
.cta-inner > * { max-width: 780px; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta-inner .lead { max-width: 56ch; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 360px at 8% 100%, rgba(36, 122, 80, .5), transparent 70%); }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 90% 0, rgba(36, 122, 80, .45), transparent 70%); }
.page-hero-inner { position: relative; display: grid; gap: 3rem; }
.page-hero-inner.has-aside { grid-template-columns: 1.1fr .9fr; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero-aside { max-width: 420px; justify-self: end; width: 100%; }
@media (max-width: 920px) { .page-hero-inner.has-aside { grid-template-columns: 1fr; } .page-hero-aside { display: none; } }
.breadcrumbs { margin-bottom: 1.6rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: #aac3b0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { color: #cfe0d3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- feature lists / service pages ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5dccb; }
.feature .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem; }
.feature .icon-tile .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--gray); font-size: .96rem; }
.bullets { list-style: none; display: grid; gap: .55rem; }
.bullets li { display: flex; gap: .7rem; align-items: flex-start; }
.bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--emerald); margin-top: .62rem; flex: none; }
.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 2rem; }
@media (max-width: 700px) { .two-col-list { grid-template-columns: 1fr; } }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }
.compare .card h3 { display: flex; align-items: center; gap: .6rem; }
.compare .label { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--emerald); margin-bottom: .6rem; }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 1rem; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); width: 44px; height: 44px; border-radius: 12px; background: var(--forest); color: #fff; font-family: var(--font-head); font-weight: 650; display: grid; place-items: center; }
.mini-steps strong { display: block; color: var(--forest); font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.mini-steps span { color: var(--gray); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #bcd6c3; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--forest); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--emerald); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--gray); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- case study ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-top: -3rem; position: relative; z-index: 2; }
.stat { background: #fff; padding: 1.6rem 1.4rem; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; color: var(--forest); line-height: 1; margin-bottom: .45rem; }
.stat span { color: var(--gray); font-size: .92rem; line-height: 1.4; display: block; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); font-weight: 650; margin: 1.4rem 0 .6rem; }
.cs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cs-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.cs-toc ol { list-style: none; display: grid; gap: .2rem; border-left: 2px solid var(--line); }
.cs-toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--gray); text-decoration: none; font-size: .95rem; font-weight: 520; }
.cs-toc a:hover, .cs-toc a.active { color: var(--emerald); border-left-color: var(--emerald); }
@media (max-width: 960px) { .cs-layout { grid-template-columns: 1fr; } .cs-toc { display: none; } }
.cs-section { margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.cs-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cs-section .prose-p { font-size: 1.1rem; max-width: 68ch; }
.cs-steps { display: grid; gap: 1rem; margin-top: 1.4rem; }
.cs-step { display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; }
.cs-step .n { width: 48px; height: 48px; border-radius: 14px; background: var(--forest); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 650; }
.cs-step h3 { font-size: 1.1rem; margin-bottom: .2em; }
.cs-step p { margin: 0; color: var(--gray); font-size: .98rem; }
.cs-visual { margin-block: 1.4rem 0; padding: 1.5rem 1.5rem 0; border-radius: 22px; background: linear-gradient(135deg, var(--mint), #d6e8db); overflow: hidden; }
.cs-note { font-size: .88rem; color: var(--gray); margin-top: .8rem; }
.skills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.skills li { padding: .45rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 550; font-size: .92rem; color: var(--forest); }
.cs-aside-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; margin-top: 1.5rem; font-size: .95rem; }
.cs-aside-card dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); font-weight: 650; margin-top: .8rem; }
.cs-aside-card dt:first-child { margin-top: 0; }
.cs-aside-card dd { margin: .15rem 0 0; color: var(--charcoal); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field > span, .field > label { font-weight: 600; font-size: .93rem; color: var(--forest); }
.field .opt { font-weight: 400; color: var(--gray); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--charcoal); background: var(--offwhite); border: 1.5px solid #cfdcd3; border-radius: 12px; padding: .85rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fbea9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(36, 122, 80, .15); background: #fff; }
.field [aria-invalid="true"] { border-color: #b3382c; background: #fff7f6; }
.field-error { color: #a52e23; font-size: .88rem; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--gray); }
.check input { width: 20px; height: 20px; accent-color: var(--emerald); margin-top: .15rem; flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 1.2rem; padding: 1rem 1.2rem; border-radius: 14px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status--ok { background: var(--mint); border: 1px solid #b7d6bf; color: var(--forest); }
.form-status--err { background: #fdeceb; border: 1px solid #f0b9b4; color: #7d231b; }
.form-fine { font-size: .84rem; color: var(--gray); margin: 1rem 0 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.expect { list-style: none; display: grid; gap: 1.1rem; margin: 2rem 0; }
.expect li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; }
.expect .icon-tile { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
.expect .icon-tile .icon { width: 20px; height: 20px; }
.expect strong { color: var(--forest); display: block; }
.expect span { color: var(--gray); font-size: .96rem; }
.spinner { width: 1em; height: 1em; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: spin 0.8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-arrow { display: none; }

/* ---------- prose (legal) ---------- */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; display: grid; gap: .35rem; }
.prose .meta { color: var(--gray); font-size: .95rem; }
.prose .note { background: var(--mint); border: 1px solid #cfe2d4; border-radius: 14px; padding: 1rem 1.2rem; font-size: .95rem; color: var(--forest); }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.nf .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 18vw, 12rem); line-height: .9; background: linear-gradient(135deg, var(--emerald), var(--sage)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.06em; }
.nf .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-2); color: #bcd2c1; padding: 4.5rem 0 2rem; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { max-width: 36ch; margin: 1.1rem 0; color: #a3bda9; }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 650; margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #d4e4d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn { text-decoration: none; }
.social { display: flex !important; gap: .6rem !important; }
.social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.social a:hover { background: rgba(255, 255, 255, .08); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: grid; gap: .7rem; color: #8aa592; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .tm { max-width: 100ch; }

/* ---------- consent ---------- */
.consent { position: fixed; z-index: 200; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; background: var(--forest); color: #e1ede4; border-radius: 18px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent a { color: var(--sage); }
.consent-actions { display: flex; gap: .5rem; }
.consent .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@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; }
  .eco-line, .net-line { stroke-dasharray: none; }
}
@media print { .site-header, .site-footer, .cta-band, .consent { display: none; } body { background: #fff; } }

/* ---------- phone mock + service page extras ---------- */
.service-aside .mock { border-radius: 16px; box-shadow: var(--shadow-lg); }
.service-aside { transform: rotate(1.5deg); }
.benefit { display: grid; gap: .6rem; }
.benefit .icon-tile { margin-bottom: .4rem; }
.benefit h3 { margin: 0; font-size: 1.2rem; }
.benefit p { margin: 0; color: var(--gray); }
.note-box { margin-top: 2rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--emerald); background: #fff; border-radius: 0 14px 14px 0; box-shadow: var(--shadow-sm); color: var(--charcoal); }
.note-box strong { color: var(--forest); }
.maint-list { columns: 2; column-gap: 2.5rem; }
.maint-list li { break-inside: avoid; margin-bottom: .55rem; }
@media (max-width: 700px) { .maint-list { columns: 1; } }

@media (max-width: 560px) {
  .eco-label { font-size: 21px; }
  .eco-cap { font-size: 15px; }
}

.net-bg { -webkit-mask-image: linear-gradient(to right, transparent 25%, #000 80%); mask-image: linear-gradient(to right, transparent 25%, #000 80%); }
@media (max-width: 720px) { .net-bg { opacity: .5; } }

/* ---------- scroll performance ---------- */
/* Animations only run while their section is on screen (toggled in main.js) */
.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
.js .reveal { will-change: opacity, transform; }
.js .reveal.in { will-change: auto; }

/* compact case-study cards (home page) */
.project-brief { color: var(--gray); font-size: .98rem; line-height: 1.6; margin: .6rem 0 1.2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card--compact .project-body { padding-bottom: 1.4rem; }
.project-card--compact .text-link { margin-top: auto; }
