/* DST. Brand: sage #537769 and orange #F58736 from the logo, on an evergreen night. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --night: #0B1A16; --night-2: #11241F; --night-3: #193129; --night-line: rgba(233, 242, 237, .1);
  --sage: #537769; --sage-2: #6E9282; --sage-light: #9BBDAF; --sage-tint: #EAF1ED; --sage-wash: #DCE8E2;
  --orange: #F58736; --orange-deep: #E5711C; --orange-ink: #2A1404;
  --snow: #F4F7F5; --paper: #FFFFFF; --ink: #0F1A17; --stone: #4C5A54; --line: #DCE4DF;
  --mist: #C8D6CF; --cloud: #EEF4F0;
  --display: 'Geist', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --body: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell: 1280px; --gutter: clamp(20px, 4vw, 48px); --space: clamp(80px, 10vw, 152px);
  --r-lg: 28px; --r: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --head-h: 78px;
  --shadow: 0 1px 0 rgba(15, 26, 23, .04), 0 18px 40px -24px rgba(11, 26, 22, .35);
  --shadow-lg: 0 2px 0 rgba(15, 26, 23, .04), 0 40px 80px -40px rgba(11, 26, 22, .55);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--orange-ink); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 5rem); line-height: 1; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
.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: -80px; z-index: 100; background: var(--orange); color: var(--orange-ink); padding: 12px 18px; border-radius: 99px; font-weight: 600; }
.skip:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--mist); max-width: 36em; }
.lede-dark { color: var(--stone); }
.eyebrow { font-size: .95rem; font-weight: 600; color: var(--sage); }
.note { font-size: .95rem; color: var(--stone); margin-top: 18px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: var(--orange); color: var(--orange-ink); font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 10px 30px -12px rgba(245, 135, 54, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.button:hover { background: #FF9547; color: var(--orange-ink); transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(245, 135, 54, .75), inset 0 1px 0 rgba(255,255,255,.3); }
.button-large { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .95rem; box-shadow: none; }
.button-wide { width: 100%; }
.button-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); box-shadow: none; backdrop-filter: blur(6px); }
.button-ghost:hover { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .4em; transition: text-underline-offset .2s; }
.text-link:hover { color: var(--ink); text-underline-offset: .25em; }
.text-link-light, .text-link-light:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(11, 26, 22, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--night-line); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); transition: min-height .3s var(--ease); }
.brand { display: inline-flex; }
.brand img { width: 172px; height: auto; transition: width .3s var(--ease); }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; background: transparent; color: #fff; font: 600 .95rem var(--body); cursor: pointer; }
.menu-icon, .menu-icon::before { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-icon { position: relative; transform: translateY(-3px); }
.menu-icon::before { content: ''; position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav.open { display: flex; flex-direction: column; gap: 28px; position: fixed; top: var(--head-h); left: 0; right: 0; height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); background: var(--night); padding: 24px var(--gutter) 40px; overflow-y: auto; }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
.site-nav.open a:not(.button) { display: block; padding: 14px 0; border-bottom: 1px solid var(--night-line); color: #fff; text-decoration: none; font: 600 1.9rem/1.1 var(--display); letter-spacing: -.035em; }
.site-nav a[aria-current="page"] { color: var(--orange); }
.no-js .site-nav { display: block; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.no-js .site-nav a { color: #fff; }
.no-js .menu-toggle { display: none; }
@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0; background: none; overflow: visible; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a:not(.button), .site-nav.open a:not(.button) { display: inline-flex; padding: 9px 14px; border: 0; border-radius: 99px; color: var(--mist); font: 500 .97rem var(--body); letter-spacing: 0; text-decoration: none; transition: color .2s, background-color .2s; }
  .site-nav a:not(.button):hover { color: #fff; background: rgba(255,255,255,.06); }
  .site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 30%, rgba(83, 119, 105, .55), transparent 70%), radial-gradient(40% 50% at 70% 85%, rgba(245, 135, 54, .16), transparent 70%), radial-gradient(50% 60% at 10% 0%, rgba(110, 146, 130, .22), transparent 70%); }
.hero-glow::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent 75%); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1060px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; } }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; position: relative; z-index: 2; }
.hero-copy .lede { max-width: 26em; }
.hero h1 { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); line-height: .95; letter-spacing: -.055em; max-width: 9ch; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--orange); box-shadow: 0 0 0 4px rgba(245,135,54,.2); }

.stage { position: relative; height: clamp(340px, 42vw, 560px); perspective: 2000px; }
.stage-plate { position: absolute; margin: 0; transform-style: preserve-3d; }
.stage-plate a { display: block; border-radius: 14px; text-decoration: none; }
.stage-plate figcaption { margin-top: 12px; font-size: .85rem; color: var(--sage-light); }
.stage-1 { width: 74%; left: 6%; top: 0; z-index: 2; transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg); }
.stage-2 { width: 54%; right: -6%; top: 26%; z-index: 3; transform: rotateY(-16deg) rotateX(6deg) translateZ(80px); }
.stage-3 { width: 48%; left: -2%; top: 52%; z-index: 4; transform: rotateY(-16deg) rotateX(6deg) translateZ(140px); }
.stage .plate { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -30px rgba(0,0,0,.7), 0 0 80px -20px rgba(83,119,105,.5); }
@media (max-width: 1059px) { .stage { height: auto; perspective: none; } .stage-plate { position: relative; width: 100%; left: auto; right: auto; top: auto; transform: none; } .stage-2, .stage-3 { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .stage-plate { animation: rise 1.4s var(--ease) both; }
  .stage-2 { animation-delay: .18s; } .stage-3 { animation-delay: .36s; }
  @keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
}

/* ---------- plates (website snapshots) ---------- */
.plate { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a:hover > .plate { transform: translateY(-6px); }
.plate-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F3F5F4; border-bottom: 1px solid #E3E8E5; }
.plate-bar i { width: 9px; height: 9px; border-radius: 99px; background: #D3DAD6; }
.plate-bar i:first-child { background: #F2A27A; } .plate-bar i:nth-child(2) { background: #F3CD74; } .plate-bar i:nth-child(3) { background: #9CC7A9; }
.plate-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 99px; background: #fff; font-size: .74rem; color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--cloud); }
.plate-blank { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--sage-tint), var(--sage-wash)); color: var(--sage); font: 600 1.2rem var(--display); }

/* ---------- sections ---------- */
.section { padding-block: var(--space); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-dark { background: var(--night); color: #fff; }
.section-dark .section-head p { color: var(--mist); }
.section-tint { background: var(--cloud); }
.section-head { display: grid; gap: 16px 64px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .section-head > p, .section-head > a { justify-self: end; text-align: right; max-width: 26em; } }
.section-head h2 { max-width: 18ch; }
.section-head > p { color: var(--stone); font-size: 1.1rem; }

/* ---------- bento ---------- */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tile-web { grid-column: span 6; } .tile-plugin { grid-column: span 6; } .tile-video, .tile-docs { grid-column: span 3; } }
@media (min-width: 1100px) { .tile-web { grid-column: span 4; } .tile-plugin { grid-column: span 2; } }
.tile { position: relative; display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.tile-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.04; letter-spacing: -.03em; }
.tile-copy p { color: var(--stone); max-width: 32em; }
.tile-art { margin-top: auto; display: flex; justify-content: center; align-items: flex-end; padding: 28px 24px 0; border-radius: var(--r); background: linear-gradient(180deg, var(--sage-tint), var(--sage-wash)); min-height: 220px; overflow: hidden; }
.tile-web .tile-art { background: linear-gradient(160deg, #23463C, var(--night)); padding: 32px 32px 0; }
.tile-web .tile-art .plate { width: 100%; max-width: 640px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; transform: translateY(6px); }
.tile-web:hover .tile-art .plate { transform: translateY(0); }
.tile-plugin .tile-art { align-items: center; padding: 24px; }
.addon-tag { display: inline-flex; padding: 4px 12px; border-radius: 99px; background: #FDEBDD; color: #8A3E07; font-size: .82rem; font-weight: 600; }

/* ---------- vignettes (decorative product sketches) ---------- */
.vg { font-family: var(--body); color: var(--ink); }
.vg-donate { width: 100%; max-width: 320px; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11,26,22,.45), 0 0 0 1px rgba(15,26,23,.06); display: grid; gap: 10px; }
.vg-title { font: 600 1rem/1.2 var(--display); letter-spacing: -.01em; }
.vg-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.vg-amounts span { padding: 9px; border-radius: 10px; border: 1px solid var(--line); text-align: center; font-size: .88rem; font-weight: 600; }
.vg-amounts .on { border-color: var(--sage); background: var(--sage-tint); color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.vg-field { display: block; padding: 9px 12px; border-radius: 10px; background: var(--snow); border: 1px solid var(--line); font-size: .85rem; color: var(--stone); }
.vg-pay { display: block; padding: 12px; border-radius: 99px; background: var(--orange); color: var(--orange-ink); text-align: center; font-weight: 700; font-size: .92rem; }
.vg-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--stone); }
.vg-secure .icon { width: 14px; height: 14px; color: var(--sage); }
.vg-video { width: 100%; max-width: 360px; padding: 12px; border-radius: 16px; background: var(--night); box-shadow: 0 30px 60px -30px rgba(11,26,22,.6); }
.vg-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: radial-gradient(80% 90% at 30% 20%, #3E6A5C, var(--night-2) 70%); display: grid; place-items: center; }
.vg-screen::before { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 14%, transparent 14% 18%); mask-image: linear-gradient(transparent, #000); -webkit-mask-image: linear-gradient(transparent, #000); }
.vg-play { width: 54px; height: 54px; border-radius: 99px; background: rgba(255,255,255,.95); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.vg-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 15px solid var(--night); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.vg-caption { position: absolute; left: 12px; bottom: 10px; color: #fff; font: 600 .78rem var(--body); }
.vg-scrub { height: 4px; margin: 14px 4px 8px; border-radius: 99px; background: rgba(255,255,255,.15); }
.vg-scrub-fill { display: block; width: 36%; height: 100%; border-radius: inherit; background: var(--orange); }
.vg-times { display: flex; justify-content: space-between; padding: 0 4px; color: var(--sage-light); font-size: .74rem; }
.vg-docs { position: relative; width: 240px; height: 240px; }
.vg-page { position: absolute; width: 170px; height: 220px; left: 35px; top: 10px; border-radius: 8px; background: #fff; box-shadow: 0 24px 50px -24px rgba(11,26,22,.5), 0 0 0 1px rgba(15,26,23,.06); }
.vg-page.p3 { transform: rotate(-9deg) translate(-24px, 10px); background: #F6F1EA; }
.vg-page.p2 { transform: rotate(-4deg) translate(-10px, 4px); background: #FBF8F4; }
.vg-page.p1 { transform: rotate(4deg); display: flex; flex-direction: column; gap: 7px; padding: 18px 16px; border-top: 6px solid var(--sage); }
.vg-page b { font: 600 1.05rem/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.vg-page i { font-style: normal; font: 600 .8rem var(--display); color: var(--orange); margin-bottom: 6px; }
.vg-page em { display: block; height: 6px; border-radius: 99px; background: #E3E9E5; }
.vg-page em.short { width: 60%; }
.vg-bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: auto; }
.vg-bars u { flex: 1; border-radius: 4px 4px 0 0; background: var(--sage-wash); }
.vg-bars u:nth-child(1) { height: 35%; } .vg-bars u:nth-child(2) { height: 55%; } .vg-bars u:nth-child(3) { height: 72%; } .vg-bars u:nth-child(4) { height: 100%; background: var(--orange); }

/* ---------- proofs ---------- */
.proofs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.proof { padding: 28px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 12px; }
.proof .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(245,135,54,.12); color: var(--orange); }
.proof h3 { font-size: 1.2rem; margin-top: 8px; }
.proof p { color: var(--mist); font-size: .98rem; }
.proofs-light .proof { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.proofs-light .proof p { color: var(--stone); }
.proofs-light .proof .icon { background: var(--sage-tint); color: var(--sage); }

/* ---------- spotlight ---------- */
.spotlight { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .spotlight { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; } }
.spotlight-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.spotlight-copy > p { color: var(--stone); font-size: 1.1rem; max-width: 34em; }
.spotlight-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 28px; width: 100%; }
.spotlight-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 500; }
.tick { color: var(--sage); flex: none; }
.spotlight-art { display: grid; place-items: center; min-height: 460px; border-radius: var(--r-lg); background: radial-gradient(80% 80% at 30% 20%, #2D584B, var(--night) 75%); position: relative; overflow: hidden; }
.spotlight-art::before { content: ''; position: absolute; width: 360px; height: 360px; right: -100px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(245,135,54,.35), transparent 65%); }
.spotlight-art .vg-donate { position: relative; transform: rotate(-3deg); max-width: 340px; }
.spotlight-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow); max-width: calc(var(--shell)); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); position: relative; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font: 600 1rem var(--display); color: var(--sage); box-shadow: var(--shadow); }
.steps li:last-child::before { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }
.steps strong { font: 600 1.2rem var(--display); letter-spacing: -.02em; }
.steps p { color: var(--stone); font-size: .98rem; }
.steps-tall { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
.steps-tall li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps-tall li::before { width: 40px; height: 40px; margin: 0; font-size: .9rem; }
.steps-tall p { flex-basis: 100%; padding-left: 58px; }

/* ---------- journal ---------- */
.magazine { display: grid; gap: 32px; }
@media (min-width: 1000px) { .magazine { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.entry-media { display: block; overflow: hidden; border-radius: var(--r); background: var(--sage-wash); }
.entry-media img, .entry-blank { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.entry-blank { display: block; background: linear-gradient(135deg, var(--sage-tint), var(--sage-wash)); }
a:hover .entry-media img { transform: scale(1.04); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--stone); font-size: .9rem; }
.entry-cat { display: inline-flex; padding: 3px 11px; border-radius: 99px; background: var(--sage-tint); color: var(--sage); font-weight: 600; font-size: .82rem; text-decoration: none; }
.mag-lead { display: flex; flex-direction: column; gap: 16px; color: var(--ink); text-decoration: none; }
.mag-lead h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; }
.mag-lead p { color: var(--stone); }
.mag-list { display: grid; gap: 4px; align-content: start; }
.mag-item { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.mag-item:first-child { padding-top: 0; }
.mag-item .entry-media { border-radius: var(--r-sm); }
.mag-item > span:last-child { display: flex; flex-direction: column; gap: 8px; }
.mag-item strong { font: 600 1.08rem/1.25 var(--display); letter-spacing: -.015em; }
.mag-lead:hover h3, .mag-item:hover strong, .entry a:hover h3 { color: var(--sage); }
.entries { display: grid; gap: 48px 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.entry a { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.entry h3 { font-size: 1.28rem; line-height: 1.2; transition: color .2s; }
.lead-entry { display: grid; gap: 28px; margin-bottom: 64px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
@media (min-width: 950px) { .lead-entry { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; } }
.lead-entry > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lead-entry h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.9rem); }
.lead-entry p { color: var(--stone); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--stone); }
.pager a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.subscribe { display: grid; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--night); color: #fff; align-items: center; position: relative; overflow: hidden; }
.subscribe::after { content: ''; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(83,119,105,.6), transparent 65%); pointer-events: none; }
@media (min-width: 900px) { .subscribe { grid-template-columns: 1fr auto; } }
.subscribe h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); margin-bottom: 8px; }
.subscribe p { color: var(--mist); }
.subscribe-row { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.subscribe-row label { flex: 1 1 260px; }
.subscribe input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; border-radius: 99px; padding-inline: 20px; }
.subscribe input::placeholder { color: var(--sage-light); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 10%, rgba(83,119,105,.5), transparent 70%), radial-gradient(30% 50% at 75% 100%, rgba(245,135,54,.12), transparent 70%); }
.page-hero-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .note { color: var(--mist); } .page-hero .note a { color: #fff; }
.page-hero-message .page-hero-inner { min-height: 52vh; justify-content: center; }
.page-hero.split, .page-hero-inner.split { display: grid; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: .92rem; color: var(--sage-light); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: #fff; }
.article .crumbs ol { color: var(--stone); } .article .crumbs a:hover { color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; transition: background-color .2s, border-color .2s; }
.pills a:hover { background: rgba(255,255,255,.08); color: #fff; }
.pills a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--night); }
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 88px; align-items: center; } .split-top { align-items: start; } }
.split > div { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-side { display: grid; gap: 24px; justify-items: center; }
.hero-side .spec { width: 100%; }
.rows { display: grid; gap: 24px; }
.row { display: grid; gap: 24px 64px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 140px; }
@media (min-width: 960px) { .row { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); } }
.row-head { display: flex; flex-direction: column; gap: 10px; }
.row-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }
.row-body { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.row-body > p { font-size: 1.1rem; color: var(--stone); max-width: 38em; }
.row-body h3 { font-size: 1.05rem; }
.row-body.two { display: grid; gap: 28px; }
@media (min-width: 700px) { .row-body.two { grid-template-columns: 1fr 1fr; } }
.addon { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--cloud); color: var(--ink); text-decoration: none; transition: background-color .3s; }
.addon:hover { background: var(--sage-tint); color: var(--ink); }
.addon .vg { margin: 0 auto 10px; transform: scale(.9); }
.addon .vg-docs { height: 230px; }
.addon h3 { font-size: 1.35rem; }
.addon p { color: var(--stone); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; width: 100%; }
@media (min-width: 700px) { .checks { grid-template-columns: 1fr 1fr; column-gap: 32px; } .checks-1 { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checks .tick { transform: translateY(3px); }
.art-frame { display: grid !important; place-items: center !important; min-height: 380px; border-radius: var(--r-lg); background: radial-gradient(80% 80% at 30% 20%, #2D584B, var(--night) 75%); padding: 32px; }
.art-frame .vg-docs { transform: scale(1.3); }
.facts { margin: 0; display: grid; gap: 0; width: 100%; }
.facts > div { padding: 20px 0; border-top: 1px solid var(--line); }
.facts dt { font: 600 1.2rem var(--display); letter-spacing: -.015em; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--stone); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }

/* plugins */
.shelf { display: grid; gap: 20px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shelf-item { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shelf-item:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shelf-item h3 { font-size: 1.7rem; letter-spacing: -.03em; }
.shelf-tags { color: var(--sage); font-size: .9rem; font-weight: 600; }
.shelf-item p { color: var(--stone); }
.shelf-item .text-link { margin-top: auto; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li, .tags span { font-size: .82rem; padding: 4px 11px; border-radius: 99px; background: var(--sage-tint); color: var(--sage); font-weight: 600; }
.tags-dark span { background: rgba(255,255,255,.08); color: var(--mist); border: 1px solid var(--night-line); }
.tags .tag-pro { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.spec { margin: 0; padding: 8px 24px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid var(--night-line); }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--night-line); }
.spec div:last-child { border: 0; }
.spec dt { color: var(--sage-light); } .spec dd { margin: 0; font-weight: 600; color: #fff; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feature { padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.feature-num { font: 600 .9rem var(--display); color: var(--orange-deep); }
.feature p { color: var(--stone); }
.table-scroll { overflow-x: auto; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare thead th { font: 600 1rem var(--display); background: var(--snow); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { width: 22%; }
.compare .no { color: var(--stone); font-size: .92rem; }

/* work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; font: 500 .95rem var(--body); cursor: pointer; transition: background-color .2s; }
.filters button:hover { background: rgba(255,255,255,.08); }
.filters [aria-pressed="true"], .filters [aria-pressed="true"]:hover { background: #fff; border-color: #fff; color: var(--night); }
.count { color: var(--stone); font-size: .95rem; margin-bottom: 28px; }
.work-grid { display: grid; gap: 56px 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-item[hidden] { display: none; }
.work-link { display: block; border-radius: 14px; text-decoration: none; color: inherit; }
.work-meta { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; }
.work-meta h3 { font-size: 1.45rem; }
.work-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--stone); font-size: .93rem; }
.work-meta > p:not(.work-sub) { color: var(--stone); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); font-weight: 500; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: #2E9C63; box-shadow: 0 0 0 3px rgba(46,156,99,.18); }

/* closing */
.closing { background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 85% 50%, rgba(245,135,54,.22), transparent 70%), radial-gradient(50% 80% at 10% 100%, rgba(83,119,105,.45), transparent 70%); }
.closing-inner { display: grid; gap: 22px; justify-items: start; padding-block: var(--space); }
.closing h2 { font-size: clamp(2.8rem, 1.4rem + 5vw, 6rem); line-height: .94; letter-spacing: -.05em; max-width: 13ch; }
.closing p { color: var(--mist); font-size: 1.2rem; max-width: 32em; }

/* about */
.about-mark { display: grid !important; place-items: center !important; }
.about-mark img { width: min(320px, 70vw); filter: drop-shadow(0 30px 40px rgba(11,26,22,.2)); }

/* article */
.article-head { padding-block: clamp(48px, 7vw, 96px) 36px; }
.narrow-head { max-width: calc(52rem + 2 * var(--gutter)); display: flex; flex-direction: column; gap: 22px; }
.article-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.2rem); line-height: 1.02; }
.article-hero { margin-block: 0; }
.article-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.prose { max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 32px; font-size: 1.15rem; line-height: 1.75; }
.prose-page { padding-top: 64px; padding-bottom: 96px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 2rem; margin-top: 1.8em; line-height: 1.1; }
.prose h3 { font-size: 1.4rem; margin-top: 1.5em; }
.prose a { color: var(--sage); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.prose img { border-radius: var(--r-sm); margin-inline: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .92rem; color: var(--stone); margin-top: 10px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--orange); font: 500 1.35rem/1.45 var(--display); letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 1.25em; } .prose li + li { margin-top: .45em; } .prose li::marker { color: var(--sage); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; text-align: left; }
.prose code { font-size: .9em; background: var(--cloud); padding: 1px 6px; border-radius: 6px; }
.prose pre { background: var(--night); color: var(--mist); padding: 20px; border-radius: var(--r-sm); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-sm); }
.article-foot { max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 88px; }
.article-foot p { padding-top: 28px; border-top: 1px solid var(--line); color: var(--stone); }

/* forms */
label { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; font-weight: 500; }
input, select, textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--snow); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; min-height: 52px; width: 100%; transition: border-color .2s, background-color .2s; }
input:hover, select:hover, textarea:hover { border-color: #B5C3BC; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); background: #fff; }
textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
[aria-invalid="true"] { border-color: #B42318; }
.field-error { color: #B42318; font-size: .9rem; }
.form-error { background: #FCE9E6; color: #8F1D12; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
label.check { flex-direction: row; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; }
label.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--sage); }
.form { display: flex; flex-direction: column; gap: 18px; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form h2 { font-size: 1.9rem; }
.form .note { margin-top: 0; }
.form-two { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-two { grid-template-columns: 1fr 1fr; } }
.contact-list { margin: 8px 0 0; display: grid; gap: 22px; width: 100%; max-width: 30em; }
.contact-list div { border-top: 1px solid var(--night-line); padding-top: 16px; }
.contact-list dt { color: var(--sage-light); font-size: .92rem; margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.15rem; }
.contact-list a { color: #fff; }
.search { display: flex; gap: 10px; width: 100%; max-width: 640px; }
.search input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; border-radius: 99px; padding-inline: 22px; }
.search input::placeholder { color: var(--sage-light); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.results a { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.results a:hover { border-color: var(--sage); color: var(--ink); }
.results strong { font: 600 1.2rem var(--display); }
.results span { color: var(--stone); }
.results .kind { font-size: .85rem; color: var(--sage); font-weight: 600; }

/* footer */
.foot { background: #07120F; color: var(--mist); }
.foot-top { display: grid; gap: 28px; padding-block: clamp(64px, 8vw, 104px) 56px; border-bottom: 1px solid var(--night-line); align-items: center; }
@media (min-width: 900px) { .foot-top { grid-template-columns: auto 1fr auto; gap: 48px; } }
.foot-logo img { width: 180px; height: auto; }
.foot-line { font: 600 clamp(1.4rem, 1rem + 1.2vw, 2rem)/1.15 var(--display); letter-spacing: -.025em; color: #fff; max-width: 22ch; }
.foot-grid { display: grid; gap: 40px 32px; padding-block: 56px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.foot h2 { font: 600 .95rem var(--body); letter-spacing: 0; color: var(--orange); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a:not(.button) { color: var(--mist); text-decoration: none; }
.foot a:not(.button):hover { color: #fff; }
.social { display: flex; gap: 18px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px 36px; border-top: 1px solid var(--night-line); font-size: .9rem; color: var(--sage-light); }
.foot-base p:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .masthead, .foot, .closing, .subscribe { display: none; } body { background: #fff; } .page-hero { background: #fff; color: #000; } }

/* ---------- designed fallbacks ---------- */
.cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; width: 100%; aspect-ratio: 16 / 10; padding: clamp(16px, 4%, 28px); overflow: hidden; color: #fff; isolation: isolate; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -2; }
.cover-0::before { background: radial-gradient(90% 90% at 85% 10%, #4F7A6B, var(--night) 70%); }
.cover-1::before { background: radial-gradient(90% 90% at 15% 0%, #3E6457, #0F231D 65%), var(--night); }
.cover-2::before { background: linear-gradient(150deg, #22443A, var(--night) 60%), var(--night); }
.cover-3::before { background: radial-gradient(80% 90% at 90% 100%, rgba(245,135,54,.45), transparent 60%), linear-gradient(160deg, #1D3A31, var(--night)); }
.cover-mark { position: absolute; z-index: -1; right: -8%; top: -14%; width: 52%; height: auto; opacity: .16; filter: grayscale(1) brightness(3); }
.cover-cat { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.12); font: 600 .75rem var(--body); color: var(--mist); }
.cover-title { font: 600 clamp(1rem, .8rem + .9vw, 1.5rem)/1.1 var(--display); letter-spacing: -.025em; max-width: 18ch; text-wrap: balance; }
.mag-item .cover-title, .mag-item .cover-cat { display: none; }
.mag-item .cover-mark { width: 70%; right: 15%; top: 15%; opacity: .3; }
.lead-entry .cover-title, .mag-lead .cover-title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); }
.plate-blank { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 24px; background: radial-gradient(90% 90% at 90% 0%, #4F7A6B, var(--night) 70%); color: #fff; text-align: left; }
.plate-blank-name { font: 600 clamp(1.3rem, 1rem + 1vw, 1.9rem)/1.05 var(--display); letter-spacing: -.03em; }
.plate-blank-note { font: 500 .8rem var(--body); color: var(--sage-light); }

/* browser sketch */
.vg-browser { width: 100%; }
.vg-site { aspect-ratio: 16 / 10; padding: 6% 7%; display: flex; flex-direction: column; gap: 4%; background: linear-gradient(180deg, #fff, #F2F6F3); }
.vg-site span { display: flex; gap: 6px; align-items: center; }
.vg-nav { justify-content: space-between; margin-bottom: 4%; }
.vg-nav b { width: 18%; height: 10px; border-radius: 4px; background: var(--sage); }
.vg-nav i { flex: 0 0 8%; height: 6px; border-radius: 99px; background: #DCE4DF; }
.vg-nav u { flex: 0 0 13%; height: 14px; border-radius: 99px; background: var(--orange); }
.vg-h1 { width: 72%; height: 9%; min-height: 14px; border-radius: 6px; background: var(--ink); }
.vg-h1.short { width: 48%; }
.vg-lede { width: 60%; height: 4%; min-height: 6px; border-radius: 99px; background: #CBD6D0; }
.vg-ctas u { width: 18%; height: 18px; border-radius: 99px; background: var(--orange); }
.vg-ctas i { width: 14%; height: 18px; border-radius: 99px; border: 1.5px solid #CBD6D0; }
.vg-cards { margin-top: auto; gap: 4% !important; height: 28%; align-items: stretch !important; }
.vg-cards i { flex: 1; border-radius: 8px; background: var(--sage-tint); border: 1px solid #DCE4DF; }
.vg-cards i:nth-child(2) { background: linear-gradient(160deg, #3E6457, var(--night)); }

/* hero cluster of vignettes */
.stage-vg .stage-1 { width: 78%; left: 4%; top: 2%; }
.stage-vg .stage-2 { width: 46%; max-width: 300px; right: 0; left: auto; top: 22%; }
.stage-vg .stage-2 .vg-donate { box-shadow: 0 50px 90px -30px rgba(0,0,0,.7); }
.stage-vg .stage-3 { width: 52%; max-width: 340px; left: 0; top: 58%; }
@media (max-width: 1059px) { .stage-vg { display: grid; gap: 16px; } .stage-vg .stage-plate { width: 100%; max-width: none; } }

/* ---------- hero line drawings ---------- */
.page-hero { isolation: isolate; }
.hero-art { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: min(62%, 860px); pointer-events: none; display: flex; align-items: center; justify-content: flex-end;
  mask-image: linear-gradient(90deg, transparent, #000 38%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); }
.hero-art svg { width: 100%; height: 100%; max-height: 560px; }
.hero-art .l { stroke: rgba(155, 189, 175, .28); stroke-width: 1.5; }
.hero-art .s { stroke: rgba(200, 214, 207, .62); stroke-width: 2; }
.hero-art .d { stroke: rgba(155, 189, 175, .3); stroke-width: 1.5; stroke-dasharray: 3 9; }
.hero-art .o { stroke: var(--orange); stroke-width: 2.2; }
.hero-art rect.o, .hero-art circle.o:not([r="16"]) { fill: rgba(245, 135, 54, .14); }
.hero-art .f { fill: rgba(255, 255, 255, .035); stroke: rgba(155, 189, 175, .4); stroke-width: 1.5; }
.hero-art .t { fill: var(--sage-light); font: 600 22px var(--display); stroke: none; }
.hero-art .to { fill: var(--orange); }
@media (max-width: 899px) { .hero-art { width: 100%; opacity: .2; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); } }
@media (prefers-reduced-motion: no-preference) { .hero-art svg { animation: art-in 1.2s var(--ease) both; } @keyframes art-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } } }
.page-hero-inner { position: relative; z-index: 1; }

/* ---------- header search ---------- */
.search-open { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); color: var(--mist); text-decoration: none; font: 500 .95rem var(--body); cursor: pointer; transition: background-color .2s, color .2s; }
.search-open:hover { color: #fff; background: rgba(255,255,255,.08); }
.search-open .icon { width: 18px; height: 18px; }
.site-nav.open .search-open { border: 0; padding: 14px 0; border-bottom: 1px solid var(--night-line); border-radius: 0; color: #fff; font: 600 1.9rem/1.1 var(--display); letter-spacing: -.035em; }
.site-nav.open .search-open .icon { width: 26px; height: 26px; }
.search-dialog { width: min(720px, calc(100vw - 32px)); max-height: min(78vh, 760px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(0,0,0,.6); overflow: auto; }
.search-dialog::backdrop { background: rgba(7, 18, 15, .72); backdrop-filter: blur(6px); }
.search-box { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 22px; background: var(--paper); border-bottom: 1px solid var(--line); }
.search-box > .icon { color: var(--sage); flex: none; }
.search-box input { border: 0; background: transparent; min-height: 52px; padding: 0; font-size: 1.2rem; }
.search-box input:focus { outline: none; background: transparent; }
.search-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 99px; background: var(--cloud); color: var(--ink); cursor: pointer; }
.search-close:hover { background: var(--sage-wash); }
.search-dialog .search-status { padding: 16px 24px 0; color: var(--stone); font-size: .92rem; }
.search-dialog .search-status:empty { display: none; }
.search-dialog .results { padding: 12px 16px 16px; }
.search-dialog .results a { padding: 16px 18px; border-radius: var(--r-sm); }
.search-hint { padding: 18px 24px 24px; color: var(--stone); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-hint button { border: 1px solid var(--line); background: var(--snow); border-radius: 99px; padding: 6px 14px; font: 500 .9rem var(--body); color: var(--ink); cursor: pointer; }
.search-hint button:hover { border-color: var(--sage); }
.page-hero-search .search { margin-top: 4px; }

/* ---------- footer contact ---------- */
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--orange); }
.foot .social { gap: 10px; margin-top: 6px; }
.foot .social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--night-line); transition: background-color .2s, border-color .2s; }
.foot .social a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.brand-icon { width: 18px; height: 18px; }

/* ---------- article ---------- */
.article-head { padding-block: clamp(56px, 8vw, 120px) clamp(44px, 6vw, 72px); }
.article-head h1 { color: #fff; max-width: 22ch; }
.article-head .crumbs ol { color: var(--sage-light); }
.article-head .entry-meta { color: var(--mist); }
.article-head .entry-cat { background: rgba(255,255,255,.1); color: #fff; }
.article-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.article-head.has-photo::before { z-index: -1; background: linear-gradient(90deg, rgba(11,26,22,.96) 0%, rgba(11,26,22,.86) 50%, rgba(11,26,22,.55) 100%), linear-gradient(0deg, rgba(11,26,22,.7), transparent 50%); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: .9rem; color: var(--sage-light); margin-right: 4px; }
.share-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.share-btn:hover { background: #fff; color: var(--night); }
.share-btn .icon, .share-btn .brand-icon { width: 18px; height: 18px; }
.share-copied { position: absolute; top: -34px; left: 50%; translate: -50% 0; white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 .8rem var(--body); }
.share-copied:empty { display: none; }
.article-foot .share { margin-bottom: 24px; }
.article-foot .share-label { color: var(--stone); }
.article-foot .share-btn { border-color: var(--line); background: var(--paper); color: var(--ink); }
.article-foot .share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* in-article ads */
.prose .ad { margin-block: 2.2em; padding: 14px 0 18px; border-block: 1px solid var(--line); }
.ad-label { display: block; margin-bottom: 10px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.adsbygoogle { display: block; text-align: center; min-height: 90px; }

/* ---------- plugin screenshots ---------- */
.shot-hero { display: block; width: 100%; text-decoration: none; }
.shot-hero .plate { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -30px rgba(0,0,0,.7); }
.shots { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.shots figure { margin: 0; display: grid; gap: 10px; }
.shots a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shots a:hover img { transform: scale(1.03); }
.shots figcaption { color: var(--stone); font-size: .95rem; }
.lightbox { width: min(1200px, calc(100vw - 32px)); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 18, 15, .88); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox p { color: #fff; margin-top: 12px; text-align: center; }
.lightbox .search-close { position: absolute; top: -56px; right: 0; }

/* contact form note on the dark hero */
.page-hero .form .note { color: var(--stone); }
.page-hero .form .note a { color: var(--sage); }

/* subscribe: field and button on one line, same height */
.subscribe-row { align-items: stretch; flex-wrap: nowrap; }
.subscribe-row label { gap: 0; flex: 1 1 auto; min-width: 0; }
.subscribe-row input { height: 54px; min-height: 54px; }
.subscribe-row .button { flex: none; height: 54px; min-height: 54px; }
@media (min-width: 900px) { .subscribe { grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); } }
@media (max-width: 480px) { .subscribe-row { flex-wrap: wrap; } .subscribe-row .button { width: 100%; } }
.article-head .hero-art { opacity: .55; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.page-hero-contact .hero-art { left: 0; right: auto; top: auto; bottom: 0; width: 46%; height: 46%; justify-content: flex-start; opacity: .55; mask-image: linear-gradient(0deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(0deg, #000 40%, transparent); }
.page-hero-contact .hero-art svg { transform: scaleX(-1); }
@media (max-width: 959px) { .page-hero-contact .hero-art { display: none; } }
.page-hero-inner > div:not(.hero-side) { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------- Work: sticky category bar ---------- */
.page-hero-bar .page-hero-inner { padding-bottom: clamp(40px, 5vw, 64px); }
.filterbar-probe { height: 0; }
.filterbar { position: sticky; top: var(--head-h); z-index: 40; background: var(--night); border-bottom: 1px solid var(--night-line); transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.filterbar-row { display: flex; align-items: center; gap: 16px 28px; min-height: 76px; }
.filterbar .filters { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 14px; scroll-padding-inline: 4px; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.filterbar .filters::-webkit-scrollbar { display: none; }
.filterbar .filters a { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; font: 500 .95rem var(--body); transition: background-color .2s, color .2s, border-color .2s; }
.filterbar .filters a:hover { background: rgba(255,255,255,.08); color: #fff; }
.filterbar .filters a[aria-current], .filterbar .filters a[aria-current]:hover { background: #fff; border-color: #fff; color: var(--night); }
.filterbar .filters button, .filterbar .filters a { flex: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.filterbar .filters button span, .filterbar .filters a span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.12); font-size: .78rem; font-weight: 600; }
.filterbar .filters [aria-pressed="true"] span, .filterbar .filters [aria-current] span { background: var(--orange); color: var(--orange-ink); }
.filterbar-now { flex: none; color: var(--sage-light); font-size: .92rem; white-space: nowrap; }
@media (max-width: 760px) { .filterbar-now { display: none; } }
/* Once it sticks, the bar turns light and frosted so it reads against the project grid. */
.filterbar.is-stuck { background: rgba(244, 247, 245, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); box-shadow: 0 12px 30px -20px rgba(11,26,22,.45); }
.filterbar.is-stuck .filters button, .filterbar.is-stuck .filters a { color: var(--ink); border-color: var(--line); background: var(--paper); }
.filterbar.is-stuck .filters button:hover, .filterbar.is-stuck .filters a:hover { border-color: var(--sage); }
.filterbar.is-stuck .filters button span, .filterbar.is-stuck .filters a span { background: var(--sage-tint); color: var(--sage); }
.filterbar.is-stuck .filters [aria-pressed="true"], .filterbar.is-stuck .filters [aria-pressed="true"]:hover, .filterbar.is-stuck .filters [aria-current], .filterbar.is-stuck .filters [aria-current]:hover { background: var(--night); border-color: var(--night); color: #fff; }
.filterbar.is-stuck .filters [aria-pressed="true"] span, .filterbar.is-stuck .filters [aria-current] span { background: var(--orange); color: var(--orange-ink); }
.filterbar.is-stuck .filterbar-now { color: var(--stone); }
[data-bar-target] { scroll-margin-top: 160px; }
.filterbar .filters { display: flex; gap: 8px; }
.work-grid { margin-top: 8px; }

/* ---------- feature icons and screenshots ---------- */
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sage-tint); color: var(--sage); margin-bottom: 6px; }
.feature-icon .icon { width: 24px; height: 24px; }
.features .feature:nth-child(3n+2) .feature-icon { background: #FDEBDD; color: var(--orange-deep); }
.feature.has-shot { padding-bottom: 20px; }
.feature-shot { position: relative; display: block; margin-top: auto; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--cloud); text-decoration: none; }
.feature p { margin-bottom: 8px; }
.feature-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.feature-shot span { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(11,26,22,.86); color: #fff; font-size: .82rem; font-weight: 600; }
.feature-shot:hover img { transform: scale(1.04); }
.lightbox figure { margin: 0; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; }
.lb-nav { position: fixed; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 99px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-prev { left: max(12px, env(safe-area-inset-left)); } .lb-next { right: max(12px, env(safe-area-inset-right)); }
.lightbox.single .lb-nav { display: none; }
.lb-count { color: var(--mist); text-align: center; font-size: .85rem; margin-top: 4px; }
.lightbox .lb-close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); }

/* DST Donate Pro analytics card, same family as the donation form card */
.vg-analytics { width: 100%; max-width: 380px; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11,26,22,.45), 0 0 0 1px rgba(15,26,23,.06); display: grid; gap: 14px; }
.hero-side .vg-analytics, .page-hero .vg-donate { box-shadow: 0 50px 90px -30px rgba(0,0,0,.7); }
.vg-an-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vg-an-btn { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--sage); }
.vg-an-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vg-an-stats span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: var(--snow); border: 1px solid var(--line); }
.vg-an-stats i { font-style: normal; font-size: .72rem; color: var(--stone); }
.vg-an-stats b { font: 600 1.05rem/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.vg-an-stats span:first-child { background: var(--sage-tint); border-color: var(--sage-wash); }
.vg-an-stats span:first-child b { color: var(--sage); }
.vg-an-chart { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.vg-an-chart u { flex: 1; border-radius: 4px 4px 0 0; background: var(--sage-wash); }
.vg-an-chart u:nth-child(1) { height: 30%; } .vg-an-chart u:nth-child(2) { height: 42%; } .vg-an-chart u:nth-child(3) { height: 38%; } .vg-an-chart u:nth-child(4) { height: 55%; }
.vg-an-chart u:nth-child(5) { height: 50%; } .vg-an-chart u:nth-child(6) { height: 68%; } .vg-an-chart u:nth-child(7) { height: 74%; } .vg-an-chart u.on { height: 96%; background: var(--orange); }
.vg-an-rows { display: grid; }
.vg-an-rows span { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.vg-an-rows span:last-child { border-bottom: 0; }
.vg-an-rows em { font-style: normal; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vg-an-rows strong { font-weight: 600; color: var(--ink); }
.vg-an-rows small { padding: 2px 8px; border-radius: 99px; background: var(--cloud); color: var(--stone); font-size: .72rem; font-weight: 600; }
.vg-an-rows small.rec { background: #FDEBDD; color: #8A3E07; }

/* ---------- slimmer header and category bar once the page scrolls ---------- */
.compact:not(.menu-open) { --head-h: 60px; }
.compact .brand img { width: 140px; }
.compact .masthead .button-small { min-height: 38px; }
.compact .search-open { min-height: 38px; }
.filterbar-row { transition: min-height .3s var(--ease); }
.filterbar .filters { transition: padding .3s var(--ease); }
.filterbar .filters button, .filterbar .filters a { transition: min-height .3s var(--ease), background-color .2s, color .2s, border-color .2s; }
.filterbar.is-stuck .filterbar-row { min-height: 54px; }
.filterbar.is-stuck .filters { padding-block: 8px; }
.filterbar.is-stuck .filters button, .filterbar.is-stuck .filters a { min-height: 36px; padding-inline: 15px; font-size: .9rem; }
[data-bar-target] { scroll-margin-top: 130px; }

/* ---------- analytics consent ---------- */
.consent { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 640px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; border-radius: var(--r); background: var(--night); color: var(--mist); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 1px solid var(--night-line); font-size: .93rem; }
.consent p { flex: 1 1 280px; }
.consent a { color: #fff; }
.consent div { display: flex; gap: 10px; align-items: center; }
.consent-no { min-height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: 600 .95rem var(--body); cursor: pointer; }
.consent-no:hover { background: rgba(255,255,255,.08); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* cookie wall after Decline */
.frozen, .frozen body { overflow: hidden; }
.frozen main, .frozen .masthead, .frozen .foot { filter: blur(6px) grayscale(.4); pointer-events: none; user-select: none; }
.cookie-wall { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(0,0,0,.7); }
.cookie-wall::backdrop { background: rgba(7, 18, 15, .78); }
.cw-body { display: grid; justify-items: center; gap: 14px; padding: clamp(28px, 5vw, 44px); text-align: center; }
.cw-body img { width: 56px; height: 56px; }
.cw-body h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.cw-body p { color: var(--stone); }
.cw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.cookie-wall .cw-close { color: var(--ink); border-color: var(--line); }
.cookie-wall .cw-close:hover { background: var(--cloud); }
.consent strong { color: #fff; font-weight: 600; }
