@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/bricolage-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:500 800;font-display:swap;src:url(/assets/fonts/bricolage-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* DM Sans: navigation; licensed under SIL OFL, see dm-sans-OFL.txt. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   MarketingOn.al — design system
   ========================================================================== */

:root {
  --bg: #f7f8f4;
  --bg-2: #edf0e8;
  --surface: #ffffff;
  --surface-2: #eef1eb;
  --line: rgba(23, 35, 28, 0.15);
  --line-strong: rgba(23, 35, 28, 0.5);
  --text: #17231c;
  --muted: #435047;
  --green: #145832;
  --brand-green: #37f28d;
  --green-ink: #ffffff;
  --cyan: #21d4fd;
  --blue: #3d7bff;
  --violet: #8b5cf6;
  --paper: #edf0e8;
  --paper-2: #edf0e8;
  --ink: #17231c;
  --ink-muted: #435047;
  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-menu: "DM Sans", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.2; font-weight: 700; font-optical-sizing: auto; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h2, h3, h4 { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.section-paper :focus-visible { outline-color: var(--ink); }
[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--green); color: var(--green-ink); }

.container { width: min(1200px, 100% - clamp(2rem, 5vw, 4rem)); margin-inline: auto; }
.container.narrow { width: min(780px, 100% - 2rem); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--green); color: var(--green-ink); padding: 0.6rem 1rem; border-radius: 999px; z-index: 10000; font-weight: 700; }
.skip:focus { top: 1rem; }

.ico { width: 1.2em; height: 1.2em; flex: none; }
.ico.flip { transform: scaleX(-1); }

/* ---------- typography ---------- */
.display {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted);
  margin-bottom: 1.1rem;
}
.eyebrow .dot { display: none; }

.tag {
  display: inline-flex; align-items: center; padding: 0.28rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--muted); width: max-content;
}
.tag-green { background: rgba(55, 242, 141, 0.12); border-color: var(--green); color: var(--green); }

/* ---------- actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  min-height: 48px; padding: 0.65rem 0; border: 0; border-bottom: 1px solid;
  border-radius: 0; background: transparent; font-size: 1rem; font-weight: 600;
  white-space: nowrap; transition: color 0.2s, border-color 0.2s;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary { color: var(--green); border-color: var(--green); }
.btn-primary:hover { color: var(--text); border-color: var(--text); }
.btn-ghost { color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--green); border-color: var(--green); }
.btn-sm { min-height: 44px; font-size: 0.9rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.4em; }
.text-link:hover { color: var(--text); }
.text-link .ico { width: 16px; height: 16px; }
.text-link.back { color: var(--muted); margin-bottom: 1.5rem; }

/* Keep the opening and navigation dark; reading surfaces use the light palette. */
.hero, .page-hero, .site-header {
  --bg: #070a12;
  --bg-2: #0b0f1c;
  --surface: #10152a;
  --surface-2: #161c34;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1f7;
  --muted: #adb5c7;
  --green: #37f28d;
  --green-ink: #07110b;
  color: var(--text);
  color-scheme: dark;
}
.hero, .page-hero { background: var(--bg); }

/* ---------- header ---------- */
/* Transparent over the opening; opaque over scrolled content. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: transparent; border-bottom: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.site-header.scrolled, body.menu-open .site-header { background: var(--bg); border-color: var(--line-strong); }
.nav-bar { display: flex; align-items: center; height: var(--nav-h); gap: 2rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; white-space: nowrap; flex: none; }
.logo .mark { width: 34px; height: 34px; }
.logo-word b { display: inline-flex; align-items: center; gap: 0.25em; margin-left: 0.12em; padding: 0.05em 0.35em 0.05em 0.45em; background: var(--brand-green); color: #07110b; border-radius: 999px; font-weight: 800; line-height: 1.15; font-size: 0.82em; vertical-align: 0.08em; }
.logo-word b i { width: 0.5em; height: 0.5em; border-radius: 50%; background: #07110b; }
.nav-links { font-family: var(--font-menu); letter-spacing: -0.01em; display: flex; align-items: center; gap: 1.65rem; margin-left: auto; font-weight: 600; font-size: 1.0625rem; }
.nav-links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); transition: color 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 1rem; padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
.language-link { font-family: var(--font-menu); display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.language-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.35em; }
.burger { font-family: var(--font-menu); display: none; min-width: 44px; min-height: 44px; gap: 0.65rem; padding: 0.5rem 0; border: 0; background: transparent; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 500; }
.burger .ico { width: 20px; height: 20px; }
.burger .i-close, .burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav-links { font-family: var(--font-menu); letter-spacing: -0.01em; display: none; }
  .nav-bar { justify-content: space-between; gap: 1rem; }
  .nav-right { gap: 1rem; padding-left: 0; border-left: 0; }
  .logo { font-size: 1.15rem; }
  .logo .mark { width: 30px; height: 30px; }
  .burger { display: inline-flex; }
  .mobile-menu:not([hidden]) {
    display: flex; flex-direction: column; gap: 2rem;
    position: fixed; inset: var(--nav-h) 0 0; overflow-y: auto; background: var(--bg);
    padding: 1.5rem max(1rem, 2.5vw) max(2rem, env(safe-area-inset-bottom));
  }
  body.menu-open { overflow: hidden; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu nav a { font-family: var(--font-menu); font-weight: 500; font-size: clamp(1.625rem, 6vw, 2.125rem); line-height: 1.3; letter-spacing: -0.015em; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a[aria-current] { color: var(--green); }
  .mobile-menu-foot { font-family: var(--font-menu); margin-top: auto; padding-top: 1.5rem; color: var(--muted); font-size: 0.9375rem; }
  .mobile-menu-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-menu-foot a:hover { color: var(--text); }
}
@media (max-width: 440px) {
  .burger { width: 44px; padding-inline: 0; }
  .burger .menu-label { display: none; }
}
@media (max-width: 380px) {
  .nav-bar { gap: 0.5rem; }
  .site-header .logo { font-size: 1rem; gap: 0.35rem; }
  .site-header .logo .mark { width: 26px; height: 26px; }
  .nav-right { gap: 0.75rem; }
}

/* ---------- backgrounds ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.18; will-change: transform; }
.blob.b1 { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; left: -12vw; top: -20vw; background: radial-gradient(circle, rgba(55, 242, 141, 0.55), transparent 60%); animation: float1 18s ease-in-out infinite; }
.blob.b2 { width: 48vw; height: 48vw; max-width: 680px; max-height: 680px; right: -14vw; top: 10vh; background: radial-gradient(circle, rgba(61, 123, 255, 0.55), transparent 60%); animation: float2 22s ease-in-out infinite; }
.blob.b3 { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: 35vw; bottom: -20vw; background: radial-gradient(circle, rgba(33, 212, 253, 0.45), transparent 60%); animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.08); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-5vw, 6vh) scale(0.94); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 3rem) 0 4rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 8% 8%, rgba(55, 242, 141, 0.15), transparent 54%), radial-gradient(ellipse at 95% 65%, rgba(61, 123, 255, 0.17), transparent 55%), radial-gradient(ellipse at 45% 100%, rgba(33, 212, 253, 0.05), transparent 50%);
}
.hero-copy { min-width: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-title { font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 1.5rem; }
.hero-title .line { display: block; }
.hero-title .line { opacity: 0; transform: translateY(30px); animation: rise 0.9s var(--ease) forwards; }
.hero-title .line:nth-child(2) { animation-delay: 0.12s; }
.hero .eyebrow, .hero .lead, .hero .hero-actions { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: 0s; }
.hero .lead { animation-delay: 0.25s; }
.hero .hero-actions { animation-delay: 0.35s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.on-line { display: inline-flex !important; align-items: center; gap: 0.18em; }
.on-word { color: var(--green); }
.switch { position: relative; display: inline-block; width: 1.05em; height: 0.58em; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 2px solid var(--line-strong); transition: background 0.5s var(--ease), border-color 0.5s; vertical-align: middle; flex: none; }
.switch .knob { position: absolute; top: 50%; left: 0.06em; width: 0.38em; height: 0.38em; border-radius: 50%; background: #fff; transform: translateY(-50%); transition: transform 0.6s var(--ease), background 0.4s; }
.hero.is-on .switch { background: var(--green); border-color: var(--green); }
.hero.is-on .switch .knob { transform: translate(0.47em, -50%); background: var(--green-ink); }
.hero .lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 46ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero .hero-actions { margin-bottom: 0; }
.hero-visual { min-width: 0; }
.hero-clip-defs { position: absolute; pointer-events: none; }
.hero-projects-label { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.hero-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.1rem; align-items: start; }
.hero-project { min-width: 0; }
.hero-project:first-child { grid-column: 1 / -1; width: 84%; justify-self: end; }
.hero-project:nth-child(3) { margin-top: 1.5rem; }
.hero-project a { display: block; }
.hero-project-visual { display: block; position: relative; aspect-ratio: 3 / 2; }
.hero-project img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
/* Display only the existing devices; keep the full portfolio assets untouched.
   Coordinates match the 900 × 600 browser/phone composition in mockup.py. */
.hero-project-visual.is-device-cutout { aspect-ratio: 790 / 535; overflow: clip; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.22)); }
.is-device-cutout img {
  position: absolute; left: -6.962025%; top: -11.214953%;
  width: 113.924051%; max-width: none; height: 112.149533%; border-radius: 0;
  clip-path: url(#hero-device-shape);
}
.hero-project-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 0.65rem; padding-top: 0.85rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.5; }
.hero-project-caption .ico { width: 14px; height: 14px; color: var(--muted); align-self: center; }
.hero-project a:hover .hero-project-caption { color: var(--green); }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero-visual { width: 100%; max-width: 620px; justify-self: center; }
  .hero-copy { max-width: 640px; }
  .hero-title { font-size: clamp(3rem, 9vw, 5rem); }
}
@media (max-width: 560px) {
  .hero-projects { gap: 1.15rem 0.8rem; }
  .hero-project-caption { padding-top: 0.65rem; font-size: 0.75rem; }
  .hero-project:nth-child(3) { margin-top: 1rem; }
}

/* ---------- trust ---------- */
.trust { padding: 2.5rem 0 0; border-top: 1px solid var(--line); }
.trust-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.4rem; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--muted); }
.trust-list li { transition: color 0.3s; }
.trust-list li:hover { color: var(--text); }
.trust-more { display: flex; justify-content: center; margin: 1.4rem 0 0; }

/* ---------- full domain list ---------- */
.all-sites { padding-top: 0; scroll-margin-top: var(--nav-h); }
.domain-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 2rem; }
.domain-list li { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.domain-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.section-head.split .lead { max-width: 420px; margin: 0; }
.section-foot { margin-top: 2.5rem; display: flex; justify-content: center; }

.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .lead, .section-paper .muted, .section-paper .eyebrow { color: var(--ink-muted); }
.section-paper .btn-ghost { color: var(--ink); border-color: rgba(11, 15, 26, 0.2); }
.section-paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgba(11, 15, 26, 0.12); }

/* ---------- home services ---------- */
#services { padding-bottom: clamp(2rem, 4vw, 4rem); }
.services-intro { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.services-intro .section-head { margin: 0; }
.services-intro .lead { max-width: 34ch; margin-bottom: 1.5rem; }
.service-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.service-summary { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.service-summary h3 { margin: 0 0 0.7rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.service-summary h3 a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; transition: color 0.2s; }
.service-summary h3 a:hover { color: var(--green); }
.service-summary h3 .ico { width: 18px; height: 18px; color: var(--muted); }
.service-summary p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 32ch; }
@media (max-width: 900px) {
  .services-intro { grid-template-columns: 1fr; }
  .services-intro .lead { max-width: 48ch; }
}
@media (max-width: 560px) { .service-overview { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- work ---------- */
.section-work { background: var(--surface); }
.section-work .section-head { align-items: flex-end; }
.section-work .section-head > div { max-width: 780px; }
.section-work .section-head .lead { max-width: 60ch; margin-top: 1.25rem; }
.section-work .section-head > .text-link { flex: none; padding-block: 0.6rem; }
.home-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.home-work-grid .work-card { min-width: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.home-work-grid .work-card:hover, .home-work-grid .work-card:focus-within { transform: none; box-shadow: none; }
.home-work-grid .work-media { border-radius: 10px; background: var(--bg-2); }
.home-work-grid .work-media::after { display: none; }
.home-work-grid .work-card:hover .work-media img { transform: scale(1.015); }
.home-work-grid .work-body { padding: 1.15rem 0 0; border: 0; }
.home-work-grid .work-meta { font-size: 0.75rem; gap: 1rem; color: var(--muted); }
.home-work-grid .work-title-row h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.home-work-grid .work-tagline { margin-top: 0.5rem; max-width: 48ch; line-height: 1.65; }
.home-work-grid .work-open { width: 44px; height: 44px; border: 0; border-radius: 0; }
.home-work-grid .work-open:hover { color: var(--green); border-color: var(--green); background: transparent; }
.section-work .section-foot { justify-content: flex-start; margin-top: 3rem; }
@media (max-width: 760px) { .home-work-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.work-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s; }
.work-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.work-card:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(55, 242, 141, 0.28); }
.work-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9ecef; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 10, 18, 0.55), transparent 50%); opacity: 0; transition: opacity 0.3s; }
.work-card:hover .work-media::after { opacity: 1; }
.work-visit { position: absolute; right: 0.9rem; bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: rgba(7, 10, 18, 0.86); color: #fff; border: 1px solid rgba(255, 255, 255, 0.32); font-size: 0.8rem; font-weight: 800; transition: background 0.3s, color 0.3s, border-color 0.3s; z-index: 1; }
.work-card:hover .work-visit, .work-media:focus-visible .work-visit { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.4rem; border-top: 3px solid var(--accent, var(--green)); }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; font-size: 0.85rem; }
.work-body h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.work-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.work-body .work-description { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.8rem, 5vw, 4.5rem) clamp(1.2rem, 2.5vw, 2rem); }
.work-grid .work-card.hidden { display: none; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* Portfolio gallery: give the screenshots space and keep supporting copy quiet. */
.page-work .page-hero { padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.work-gallery { background: var(--paper); color: var(--ink); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(5rem, 9vw, 8rem); }
.work-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-bottom: 1.25rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); border-bottom: 1px solid rgba(11, 15, 26, 0.18); }
.work-count { display: flex; align-items: baseline; gap: 0.65rem; margin: 0; color: var(--ink-muted); font-size: 0.9rem; font-weight: 700; }
.work-count strong { color: var(--ink); font-family: var(--font-display); font-size: 2.3rem; line-height: 1; letter-spacing: -0.06em; }
.work-filter-toggle { display: inline-flex; align-items: center; gap: 0.85rem; min-height: 44px; padding: 0.5rem 0; border: 0; border-bottom: 1px solid rgba(11, 15, 26, 0.35); background: transparent; color: var(--ink); font-size: 0.9rem; font-weight: 600; text-align: left; }
.work-filter-label { color: var(--ink-muted); font-weight: 400; }
.work-filter-toggle .ico { width: 18px; height: 18px; transition: transform 0.2s; }
.work-filter-toggle[aria-expanded="true"] .ico { transform: rotate(45deg); }
.work-filter-toggle:hover { border-color: var(--ink); }
.work-filter-options { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 2rem; padding-top: 1rem; border-top: 1px solid rgba(11, 15, 26, 0.12); }
.work-filter-toggle[hidden], .work-filter-options[hidden] { display: none; }
.work-filter-options button { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; min-height: 44px; padding: 0.65rem 0; border: 0; background: transparent; color: var(--ink-muted); font-size: 0.875rem; font-weight: 500; line-height: 1.5; text-align: left; }
.work-filter-options button .ico { width: 16px; height: 16px; visibility: hidden; }
.work-filter-options button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.work-filter-options button[aria-pressed="true"] .ico { visibility: visible; }
.work-filter-options button:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 0.3em; }
.work-filter-toggle:focus-visible, .work-filter-options button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.work-gallery .work-card { display: block; min-width: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.work-gallery .work-card:hover { transform: none; border: 0; box-shadow: none; }
.work-gallery .work-card:focus-within { border: 0; box-shadow: none; }
.work-gallery .work-media { border-radius: 18px; background: var(--bg-2); box-shadow: 0 18px 36px -26px rgba(7, 10, 18, 0.5); }
.work-gallery .work-media:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.work-gallery .work-media img { transform: none; }
.work-gallery .work-card:hover .work-media img { transform: scale(1.015); }
.work-gallery .work-media::after { display: none; }
.work-gallery .work-body { padding: 1.2rem 0 0; border: 0; }
.work-gallery .work-meta { margin-bottom: 0.7rem; color: var(--ink-muted); font-size: 0.76rem; font-weight: 700; }
.work-industry { display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.work-industry::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent, var(--green)); }
.work-title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.work-title-row h3 { margin: 0; }
.work-gallery .work-title-row h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); letter-spacing: -0.025em; }
.work-open { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid rgba(11, 15, 26, 0.22); border-radius: 50%; transition: color 0.25s, background 0.25s, border-color 0.25s; }
.work-open:hover, .work-open:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-gallery .work-tagline { margin-top: 0.5rem; color: var(--ink-muted); font-size: 0.98rem; line-height: 1.5; }
.work-gallery .work-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); align-items: center; gap: clamp(1.4rem, 3vw, 3rem); padding: clamp(0.75rem, 1.5vw, 1.1rem); border-radius: 26px; background: var(--surface); color: var(--text); }
.work-gallery .work-card-featured:hover { border: 0; }
.work-gallery .work-card-featured .work-media { width: 100%; box-shadow: none; }
.work-gallery .work-card-featured .work-body { padding: 1.5rem clamp(1rem, 2vw, 2rem) 1.5rem 0; }
.work-gallery .work-card-featured .work-meta, .work-gallery .work-card-featured .work-tagline { color: var(--muted); }
.work-gallery .work-card-featured .work-title-row h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.work-gallery .work-card-featured .work-open { color: var(--text); border-color: var(--line-strong); }
.work-gallery .work-card-featured .work-open:hover, .work-gallery .work-card-featured .work-open:focus-visible { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.work-gallery .work-card-featured .work-description { display: block; -webkit-line-clamp: unset; margin-top: 1.3rem; padding-top: 1.3rem; max-width: 42ch; border-color: var(--line); color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 900px) {
  .work-gallery .work-card-featured { grid-template-columns: 1fr; gap: 0; }
  .work-gallery .work-card-featured .work-body { padding: 1.5rem 1rem 1.2rem; }
}
@media (max-width: 620px) {
  .work-toolbar { gap: 1rem; }
  .work-filter-toggle { width: 100%; flex-wrap: wrap; gap: 0.5rem; }
  .work-filter-label { width: 100%; font-size: 0.8125rem; }
  .work-filter-toggle > .ico { margin-left: auto; }
  .work-filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1.25rem; }
  .work-gallery .work-media { border-radius: 14px; }
  .work-gallery .work-card-featured { border-radius: 20px; }
  .work-gallery .work-card-featured .work-title-row h3 { font-size: 2rem; }
}

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process li { padding: 1.8rem 0 0; border-top: 2px solid var(--ink); }
.process .num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; margin-bottom: 1rem; color: var(--green); }
.process h3 { font-size: 1.4rem; }
.process p { margin: 0; color: var(--ink-muted); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.why-copy { position: sticky; top: calc(var(--nav-h) + 2rem); }
.why-points { display: flex; flex-direction: column; }
.why-points li { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.why-points li:first-child { padding-top: 0; }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 0.15rem; color: var(--green); flex: none; }
.why-icon .ico { width: 26px; height: 26px; stroke-width: 1.5; }
.why-points h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.why-points p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 2.5rem; } .why-copy { position: static; } }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--line-strong); }
.post-cover {
  --cover-bg: #e2ece4; --cover-paper: #f5f8f0; --cover-tint: #b2cbb5; --cover-ink: #214b36;
  position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; isolation: isolate;
  background: var(--cover-bg); color: var(--cover-ink); border-bottom: 1px solid var(--line);
}
.post-cover[data-cover="pricing"] { --cover-bg: #f0e4cb; --cover-paper: #fff8e8; --cover-tint: #dfbf77; --cover-ink: #503b19; }
.post-cover[data-cover="connection"] { --cover-bg: #f2ded6; --cover-paper: #fff5ec; --cover-tint: #dca694; --cover-ink: #623829; }
.post-cover[data-cover="search"] { --cover-bg: #dfe9f1; --cover-paper: #f3f8fa; --cover-tint: #a4c3d8; --cover-ink: #24445d; }
.post-cover[data-cover="checklist"] { --cover-bg: #eae2ee; --cover-paper: #faf4fb; --cover-tint: #c9b3d3; --cover-ink: #503955; }
.post-cover[data-cover="map"] { --cover-bg: #e2ece7; --cover-paper: #f5faf4; --cover-tint: #aecdbc; --cover-ink: #244937; }
.post-cover-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-symbol { font-family: var(--font-display); font-size: 88px; font-weight: 600; }
.post-cover-brand { position: absolute; top: 1.1rem; left: 1.25rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-menu); font-size: 0.75rem; font-weight: 600; letter-spacing: -0.01em; }
.post-cover-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.post-cover-label { position: absolute; bottom: 1rem; left: 1.25rem; z-index: 1; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.post-cover-image { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.post-cover-image[hidden] { display: none; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.post-body h3 { font-size: 1.25rem; margin: 0; }
.post-body h3 a:hover { color: var(--green); }
.post-body p { margin: 0; color: var(--muted); font-size: 1rem; flex: 1; }
.post-card.featured { flex-direction: row; margin-bottom: 1.2rem; }
.post-card.featured .post-cover { flex: 1.2; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card.featured .post-body { flex: 1; padding: 2.4rem; justify-content: center; }
.post-card.featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.post-card.featured p { flex: 0; font-size: 1.05rem; }
@media (max-width: 1000px) { .post-grid, .post-grid.two { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .post-grid, .post-grid.two { grid-template-columns: 1fr; } .post-card.featured { flex-direction: column; } .post-card.featured .post-cover { min-height: 0; aspect-ratio: 8 / 5; border-right: 0; border-bottom: 1px solid var(--line); } .post-card.featured .post-body { padding: 1.5rem; } }

/* Keep the homepage articles light while giving every story a recognizable cover. */
.home-journal .post-card { background: transparent; border: 0; border-radius: 0; }
.home-journal .post-cover { border: 0; border-radius: 8px; }
.home-journal .post-card:hover { transform: none; box-shadow: none; }
.home-journal .post-body { padding: 1.25rem 0 0; gap: 1rem; }
.home-journal .post-meta .tag { border: 0; padding: 0; border-radius: 0; }
.home-journal .post-meta time, .home-journal .post-meta > span:nth-last-child(2) { display: none; }

/* ---------- cta band ---------- */
.cta-band { padding: 2rem 0 clamp(4rem, 8vw, 7rem); }
.cta-inner { padding: clamp(2.5rem, 5vw, 4rem) 0 0; border-top: 1px solid var(--line-strong); }
.cta-inner .display { font-size: clamp(2.1rem, 4.5vw, 3.8rem); margin-bottom: 1rem; }
.cta-inner .lead { margin-bottom: 1.5rem; max-width: 56ch; }
.cta-actions { display: flex; justify-content: flex-start; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-actions .text-link { color: var(--text); }

/* ---------- page hero ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 6vw, 5rem); isolation: isolate; }
.page-hero.small { padding-bottom: 2.5rem; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display { font-size: clamp(2.8rem, 7vw, 5.8rem); margin-bottom: 1.2rem; max-width: 16ch; }
.page-hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.page-hero.not-found { min-height: min(100svh, 900px); display: flex; align-items: center; text-align: center; }
.page-hero.not-found .container { display: flex; flex-direction: column; align-items: center; }
.page-hero.not-found .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: 0.9; letter-spacing: -0.06em; color: var(--green); margin: 0 0 1rem; }
.page-hero.not-found .display { max-width: none; }

/* ---------- services page ---------- */
.services-list .container { display: flex; flex-direction: column; gap: 1.2rem; }
.service { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: calc(var(--nav-h) + 1rem); transition: border-color 0.3s; position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--green); opacity: 0; transition: opacity 0.3s; }
.service:hover { border-color: var(--line-strong); }
.service:hover::before, .service:target::before { opacity: 1; }
.service-head { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.service-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(55, 242, 141, 0.1); color: var(--green); }
.service-icon .ico { width: 30px; height: 30px; }
.service-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; color: var(--muted); line-height: 1; }
.service-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0.4rem 0 0.6rem; }
.service-body .lead { margin-bottom: 1.4rem; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; margin-bottom: 1.8rem; }
.checks li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text); font-size: 0.97rem; }
.checks .ico { color: var(--green); margin-top: 0.25em; width: 1em; height: 1em; }
@media (max-width: 800px) { .service { grid-template-columns: 1fr; gap: 1rem; } .service-head { flex-direction: row; align-items: center; } .checks { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid rgba(11, 15, 26, 0.15); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.35s var(--ease); flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--ink-muted); max-width: 68ch; }

/* ---------- article reading layout ---------- */
.page-article .site-header {
  --bg: var(--paper); --text: var(--ink); --muted: var(--ink-muted);
  --green: #145832; --green-ink: #ffffff;
  --line: rgba(23, 35, 28, 0.15); --line-strong: rgba(23, 35, 28, 0.5);
  background: var(--bg); color: var(--text); border-color: var(--line); color-scheme: light;
}
.post-header { padding: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2rem, 5vw, 4rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.post-header-inner { max-width: 1120px; }
.post-header .back { margin-bottom: 1.5rem; font-size: 0.875rem; }
.post-heading-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.post-heading-copy { min-width: 0; }
.post-header .post-meta { margin-bottom: 1.25rem; }
.post-header .tag { border: 0; padding: 0; border-radius: 0; background: none; }
.post-header .display { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.15; margin-bottom: 1.25rem; text-wrap: pretty; }
.post-header .lead { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.75; margin: 0; max-width: 58ch; }
.post-heading-cover { border: 1px solid var(--line); border-radius: 8px; }
.post-content { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-content.narrow { width: min(720px, 100% - 2rem); }
.prose { font-size: clamp(1.0625rem, 1.3vw, 1.125rem); line-height: 1.85; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-size: 1.125em; line-height: 1.8; margin-bottom: 2rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.3; margin: 2.8rem 0 1rem; }
.prose h3 { font-size: 1.25rem; line-height: 1.35; margin: 2rem 0 0.75rem; }
.prose p { margin-bottom: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose em { color: var(--muted); }
@media (max-width: 900px) {
  .post-heading-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .post-heading-cover { width: min(360px, 100%); }
}
@media (max-width: 560px) {
  .post-header .back { margin-bottom: 1rem; }
  .post-header .post-meta { gap: 0.5rem; margin-bottom: 1rem; }
  .post-heading-cover { width: min(280px, 100%); }
}
.author { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3rem; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.author .mark { width: 48px; height: 48px; flex: none; }
.author strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 0.3rem; }
.author p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23435047' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(55, 242, 141, 0.15); }
.field.invalid input, .field.invalid textarea { border-color: #a3243e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form-foot .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form-status { display: none; margin: 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { display: block; background: rgba(55, 242, 141, 0.12); color: var(--green); border: 1px solid rgba(55, 242, 141, 0.35); }
.form-status.err { display: block; background: #fceef1; color: #95213a; border: 1px solid #a3243e; }
.contact-side { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.direct { display: flex; flex-direction: column; gap: 0.4rem; }
.direct a, .direct .static { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0.6rem; border-radius: var(--radius-sm); transition: background 0.25s; }
.direct a:hover { background: rgba(255, 255, 255, 0.04); }
.direct .ico { color: var(--green); width: 22px; height: 22px; }
.direct a > span, .direct .static > span { min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; font-weight: 600; }
.direct small { color: var(--muted); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.next-steps { display: flex; flex-direction: column; gap: 1.2rem; }
.next-steps li { display: flex; gap: 1rem; }
.next-steps .num { font-family: var(--font-display); font-weight: 800; color: var(--green); flex: none; }
.next-steps h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.next-steps p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg-2); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); max-width: 36ch; margin: 1rem 0 1.2rem; font-size: 0.95rem; }
.social { display: flex; gap: 0.6rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease); }
.social a:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.site-footer h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.95rem; }
.site-footer ul a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: 0.85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- restrained interaction motion ---------- */
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
@keyframes menu-entry { from { transform: translateY(8px); } to { transform: none; } }
@keyframes filter-entry { from { transform: translateY(-5px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .btn .ico, .text-link .ico, .service-summary h3 .ico { transition: translate 0.25s var(--ease); }
  .btn:is(:hover, :focus-visible) .ico, .text-link:is(:hover, :focus-visible) .ico { translate: 3px 0; }
  .text-link.back:is(:hover, :focus-visible) .ico { translate: -3px 0; }
  .service-summary h3 a:is(:hover, :focus-visible) .ico { translate: 2px -2px; }
  .mobile-menu:not([hidden]) nav a { animation: menu-entry 0.3s var(--ease) backwards; }
  .mobile-menu:not([hidden]) nav a:nth-child(2) { animation-delay: 35ms; }
  .mobile-menu:not([hidden]) nav a:nth-child(3) { animation-delay: 70ms; }
  .mobile-menu:not([hidden]) nav a:nth-child(4) { animation-delay: 105ms; }
  .work-filter-options:not([hidden]) { animation: filter-entry 0.2s var(--ease); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-project-visual { transition: transform 0.45s var(--ease); }
  .hero-project a:is(:hover, :focus-visible) .hero-project-visual { transform: translateY(-4px); }
}

/* ---------- reveal ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reading-progress { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line, .hero .eyebrow, .hero .lead, .hero .hero-actions { opacity: 1; transform: none; }
}
