*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #008253;
  --green-soft: #E8F7F0;
  --green-glow: rgba(0, 130, 83, 0.2);
  --bg: #F7FBF9;
  --bg-2: #FFFFFF;
  --ink: #0F1F17;
  --muted: #5F7268;
  --line: #D8E8DE;
  --header-h: 4rem;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 6px 6px 0 var(--green);
  --display: 'Syne', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--bg); color: var(--ink);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}
::selection { background: var(--green-soft); color: var(--green); }

.skip {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--green); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h); background: rgba(247, 251, 249, 0.94);
  backdrop-filter: blur(12px); border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 0 var(--green-soft); }
.site-header-inner {
  max-width: var(--max); margin: 0 auto; height: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-logo {
  display: flex; align-items: center; flex-shrink: 0;
  text-decoration: none; color: var(--ink);
}
.site-logo-img {
  display: block; height: 34px; width: auto;
}
@media (min-width: 600px) { .site-logo-img { height: 40px; } }

.site-nav { display: none; align-items: center; gap: 0.35rem; }
@media (min-width: 900px) {
  .site-nav {
    display: flex;
    padding: 0.3rem;
    border: 2px solid var(--ink);
    background: var(--bg-2);
    box-shadow: 4px 4px 0 var(--green);
  }
}
.site-nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--green-soft);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--green);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: 3px 3px 0 var(--green);
  transform: translate(-1px, -1px);
}
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.btn-sm { min-height: 2.375rem; padding: 0.5rem 1.125rem; font-size: 0.8125rem; }
.menu-btn {
  width: 42px; height: 42px;
  border: 2px solid var(--ink);
  background: var(--bg-2);
  border-radius: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 var(--green);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, color 0.22s;
}
.menu-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green);
}
.menu-btn[aria-expanded="true"] {
  background: var(--green);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
@media (min-width: 900px) { .menu-btn { display: none; } }

.site-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(0, 130, 83, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 130, 83, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: calc(var(--header-h) + 1.25rem) clamp(1.5rem, 5vw, 2.5rem) 2rem;
  flex-direction: column;
  overflow-y: auto;
}
.site-drawer.is-open { display: flex; }
.drawer-close {
  position: fixed;
  top: calc((var(--header-h) - 42px) / 2);
  right: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 960;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 var(--green);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.drawer-close:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.2);
}
.site-drawer::before {
  content: 'Menu';
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.site-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  counter-reset: drawer-link;
}
.site-drawer-nav a {
  counter-increment: drawer-link;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  padding: 1rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  transition: color 0.22s, padding-left 0.28s var(--ease), border-color 0.22s;
}
.site-drawer-nav a::before {
  content: counter(drawer-link, decimal-leading-zero);
  font-family: var(--body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  min-width: 1.5rem;
  flex-shrink: 0;
}
.site-drawer-nav a::after {
  content: '→';
  margin-left: auto;
  font-size: 1.25rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.22s, transform 0.28s var(--ease);
  color: var(--green);
}
.site-drawer-nav a:hover {
  color: #fff;
  padding-left: 0.65rem;
  border-bottom-color: rgba(0, 130, 83, 0.45);
}
.site-drawer-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.site-drawer-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--green);
}
.site-drawer-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: no-preference) {
  .site-drawer.is-open .site-drawer-nav a {
    animation: enter-fade 0.45s var(--ease) both;
  }
  .site-drawer.is-open .site-drawer-nav a:nth-child(1) { animation-delay: 0.04s; }
  .site-drawer.is-open .site-drawer-nav a:nth-child(2) { animation-delay: 0.09s; }
  .site-drawer.is-open .site-drawer-nav a:nth-child(3) { animation-delay: 0.14s; }
  .site-drawer.is-open .site-drawer-nav a:nth-child(4) { animation-delay: 0.19s; }
  .site-drawer.is-open .site-drawer-nav a:nth-child(5) { animation-delay: 0.24s; }
  .site-drawer.is-open .site-drawer-nav a:nth-child(6) { animation-delay: 0.29s; }
}
.site-drawer-foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
}
.site-drawer-foot p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.875rem; line-height: 1.25;
  min-height: 2.875rem; padding: 0.625rem 1.375rem;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
  font-family: inherit; box-sizing: border-box; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }
.btn-fill { background: var(--green); color: #fff; border-color: var(--green); box-shadow: var(--shadow); }
.btn-fill:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--green); }
.btn-ghost { background: var(--bg-2); color: var(--ink); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translate(-2px, -2px); }

.eyebrow {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green);
}
.sec-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: -0.04em; line-height: 0.95;
}
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .page-wrap { padding: 0 3rem; } }

/* Hero */
.hero {
  min-height: auto;
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 1.25rem clamp(1.75rem, 3vw, 2.25rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--page {
  min-height: auto; padding: clamp(3rem, 8vw, 5rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero { padding: clamp(2.25rem, 3.5vw, 3rem) 3rem clamp(2rem, 2.5vw, 2.5rem); }
  .hero--page { padding: clamp(3.5rem, 8vw, 5.5rem) 3rem clamp(2.5rem, 6vw, 4rem); }
}
.hero-slice {
  position: absolute; top: -20%; right: -15%; width: 70vw; height: 70vw;
  max-width: 600px; background: var(--green); transform: rotate(-12deg);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  opacity: 0.12; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-main { min-width: 0; }
.hero-row { margin-top: 1.5rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: end; }
.hero-lead { max-width: 32rem; min-width: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-bot {
  position: relative;
  width: clamp(72px, 10vw, 120px);
  flex-shrink: 0;
  filter: drop-shadow(5px 5px 0 rgba(0, 130, 83, 0.3));
  pointer-events: none;
  justify-self: end;
}
@media (min-width: 900px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
  .hero-lead { max-width: 36rem; }
  .hero-bot { width: clamp(88px, 9vw, 112px); }
}
@media (max-width: 899px) {
  .hero-bot {
    order: -1;
    width: clamp(64px, 12vw, 80px);
    margin-bottom: -0.25rem;
  }
}
@media (max-width: 479px) {
  .hero-bot {
    width: 64px;
  }
  .hero-bot-bubble {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
  }
  .hero-actions { width: 100%; }
}
.hero-bot-svg { display: block; width: 100%; height: auto; }
.hero-bot-bubble {
  position: absolute;
  top: -0.35rem;
  left: auto;
  right: 0;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  background: var(--green);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transform: rotate(-6deg);
  animation: bot-bubble-pop 0.55s var(--ease) 0.85s both;
  white-space: nowrap;
}
@media (max-width: 479px) {
  .hero-bot-bubble {
    left: 0;
    right: auto;
    transform: rotate(-3deg);
  }
}
.hero-bot--terminal .hero-bot-bubble {
  background: var(--ink);
  color: #7dffb8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0;
  transform: rotate(-3deg);
}
.hero-bot-monitor {
  transform-origin: 94px 88px;
  transform-box: fill-box;
}
.hero-bot-arm {
  transform-origin: 156px 152px;
  transform-box: fill-box;
}
.hero-bot-cursor { transform-origin: center; transform-box: fill-box; }
.hero-bot-signal { transform-origin: 156px 40px; transform-box: fill-box; }
@keyframes bot-wave {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-34deg); }
  35% { transform: rotate(14deg); }
  55% { transform: rotate(-26deg); }
  75% { transform: rotate(10deg); }
}
@keyframes bot-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes bot-monitor-tilt {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(-2deg); }
  70% { transform: rotate(2deg); }
}
@keyframes bot-cursor-blink {
  0%, 45%, 100% { opacity: 1; }
  50%, 95% { opacity: 0; }
}
@keyframes bot-signal-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes bot-bubble-wiggle {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-2px); }
}
@keyframes bot-bubble-pop {
  from { opacity: 0; transform: rotate(-3deg) scale(0.88); }
  to { opacity: 1; transform: rotate(-3deg) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bot { animation: bot-bounce 2.4s var(--ease) 1s infinite, enter-rise 0.85s var(--ease) 0.48s both; }
  .hero-bot-arm { animation: bot-wave 1.15s var(--ease) 1.1s infinite; }
  .hero-bot-monitor { animation: bot-monitor-tilt 3s var(--ease) 1.2s infinite; }
  .hero-bot-cursor { animation: bot-cursor-blink 1.1s step-end infinite; }
  .hero-bot-signal { animation: bot-signal-pulse 1.8s ease-in-out infinite; }
  .hero-bot--terminal .hero-bot-bubble { animation: bot-bubble-pop 0.55s var(--ease) 0.85s both, bot-bubble-wiggle 2.2s var(--ease) 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bot-arm { transform: rotate(-18deg); }
}
.hero-label { margin-bottom: 1rem; }
.hero-h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.75rem, 11vw, 7rem);
  line-height: 0.88; letter-spacing: -0.045em;
}
.hero--page .hero-h1 { font-size: clamp(2.5rem, 9vw, 5.5rem); }
.hero-h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--green); display: block; }
@media (min-width: 768px) { .hero-h1 .outline { -webkit-text-stroke-width: 2.5px; } }
.hero-h1 .fill { color: var(--ink); display: block; }
.hero-h1 .accent { color: var(--green); display: block; }
.hero-ticker {
  margin-top: 1.75rem; padding-top: 1rem; border-top: 2px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-ticker span { display: flex; align-items: center; gap: 0.5rem; }
.hero-ticker span::before { content: ''; width: 8px; height: 8px; background: var(--green); }

/* Hero decorative orbs */
.hero::before,
.hero::after {
  content: ''; position: absolute; pointer-events: none; z-index: 1;
  border: 2px solid var(--green); opacity: 0.22;
}
.hero::before {
  top: 18%; right: 10%; width: 56px; height: 56px; border-radius: 50%;
}
.hero::after {
  bottom: 22%; left: 6%; width: 40px; height: 40px;
  transform: rotate(45deg); opacity: 0.15;
}
.hero--page::before { width: 44px; height: 44px; top: 12%; }
.hero--page::after { display: none; }

@keyframes enter-rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes enter-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes enter-slide-right {
  from { opacity: 0; transform: translate3d(-12px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-slice-drift {
  0%, 100% { transform: rotate(-12deg) translate(0, 0); }
  50% { transform: rotate(-10deg) translate(-16px, 10px); }
}
@keyframes hero-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 48px 48px; }
}
@keyframes hero-orb-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}
@keyframes hero-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.22; }
  50% { transform: scale(1.12); opacity: 0.38; }
}
@keyframes enter-clip-down {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-slice { animation: hero-slice-drift 9s ease-in-out infinite; }
  .hero .hero-grid { animation: hero-grid-drift 24s linear infinite; }
  .hero::before { animation: hero-ring-pulse 4s ease-in-out infinite; }
  .hero:not(.hero--page)::after { animation: hero-orb-float 5.5s ease-in-out infinite; }

  .hero .hero-label { animation: enter-rise 0.75s var(--ease) 0.06s both; }
  /* H1 lines: fade only — translate on display type causes shimmer */
  .hero .hero-h1 > span { animation: enter-fade 0.75s var(--ease) both; }
  .hero .hero-h1 > span:nth-child(1) { animation-delay: 0.12s; }
  .hero .hero-h1 > span:nth-child(2) { animation-delay: 0.2s; }
  .hero .hero-h1 > span:nth-child(3) { animation-delay: 0.28s; }
  .hero .hero-h1 > span:nth-child(4) { animation-delay: 0.36s; }
  .hero .hero-row { animation: enter-rise 0.8s var(--ease) 0.42s both; }
  .hero .hero-inner > .hero-lead { animation: enter-rise 0.75s var(--ease) 0.38s both; }
  .hero .hero-ticker { animation: enter-rise 0.7s var(--ease) 0.52s both; }
  .hero .hero-ticker span { animation: enter-slide-right 0.55s var(--ease) both; }
  .hero .hero-ticker span:nth-child(1) { animation-delay: 0.58s; }
  .hero .hero-ticker span:nth-child(2) { animation-delay: 0.66s; }
  .hero .hero-ticker span:nth-child(3) { animation-delay: 0.74s; }
  .hero .hero-detail > :nth-child(1) { animation: enter-rise 0.75s var(--ease) 0.1s both; }
  .hero .hero-detail > :nth-child(2) { animation: enter-rise 0.85s var(--ease) 0.28s both; }

  .hero + .intro .intro-head > * { animation: enter-rise 0.7s var(--ease) both; }
  .hero + .intro .intro-head > *:nth-child(1) { animation-delay: 0.5s; }
  .hero + .intro .intro-head > *:nth-child(2) { animation-delay: 0.62s; }
  .hero + .intro .intro-head > *:nth-child(3) { animation-delay: 0.74s; }
  .hero + .intro .intro-cards .intro-card { animation: enter-rise 0.65s var(--ease) both; }
  .hero + .intro .intro-cards .intro-card:nth-child(1) { animation-delay: 0.78s; }
  .hero + .intro .intro-cards .intro-card:nth-child(2) { animation-delay: 0.88s; }
  .hero + .intro .intro-cards .intro-card:nth-child(3) { animation-delay: 0.98s; }

  .hero + .marquee-wrap,
  .intro + .marquee-wrap { animation: enter-rise 0.65s var(--ease) 0.48s both; }
  .hero + section .page-wrap > :first-child,
  .marquee-wrap + section .page-wrap > :first-child { animation: enter-rise 0.75s var(--ease) 0.55s both; }
  .hero + .h-zone > .h-zone-head { animation: enter-rise 0.75s var(--ease) 0.58s both; }
  .hero + .h-zone > .h-scroll { animation: enter-rise 0.8s var(--ease) 0.68s both; }

  .hero + .intro + .h-zone > .h-zone-head { animation: enter-rise 0.75s var(--ease) 0.6s both; }
  .hero + .intro + .h-zone > .h-scroll { animation: enter-rise 0.8s var(--ease) 0.7s both; }

  .split-section + .about-stats .about-stat { animation: enter-rise 0.6s var(--ease) both; }
  .split-section + .about-stats .about-stat:nth-child(1) { animation-delay: 0.55s; }
  .split-section + .about-stats .about-stat:nth-child(2) { animation-delay: 0.63s; }
  .split-section + .about-stats .about-stat:nth-child(3) { animation-delay: 0.71s; }
  .split-section + .about-stats .about-stat:nth-child(4) { animation-delay: 0.79s; }

  .case-banner .case-banner-img { animation: enter-clip-down 1.1s var(--ease) both; }
  .case-banner .case-banner-inner .hero-label,
  .case-banner .case-banner-inner .case-meta { animation: enter-rise 0.75s var(--ease) both; }
  .case-banner .case-banner-inner .hero-h1 { animation: enter-fade 0.75s var(--ease) both; }
  .case-banner .case-banner-inner .hero-label { animation-delay: 0.4s; }
  .case-banner .case-banner-inner .hero-h1 { animation-delay: 0.52s; }
  .case-banner .case-banner-inner .case-meta { animation-delay: 0.64s; }

  .post-header .post-crumb { animation: enter-rise 0.65s var(--ease) 0.08s both; }
  .post-header .post-date-tab { animation: enter-rise 0.65s var(--ease) 0.14s both; }
  .post-header .post-title { animation: enter-fade 0.75s var(--ease) 0.22s both; }
  .post-header .post-featured { animation: enter-rise 0.8s var(--ease) 0.34s both; }
}

/* First sections: skip scroll-reveal hide (CSS entrance handles it) */
.hero + .intro .reveal,
.hero + section .reveal,
.hero + .h-zone .reveal,
.intro + .marquee-wrap + section .reveal,
.split-section + .about-stats.reveal {
  opacity: 1;
  transform: none;
}

.hero-detail {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) {
  .hero-detail { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.hero-detail-img {
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  background: var(--bg-2); padding: 1rem;
}
.hero-detail-img img { width: 100%; height: auto; display: block; }

/* Dark intro band */
.intro { padding: clamp(4rem, 10vw, 8rem) 0; background: var(--ink); color: #fff; }
.intro-wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .intro-wrap { padding: 0 3rem; } }
.intro-head .eyebrow { color: var(--green-soft); }
.intro-headline {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  letter-spacing: -0.04em; line-height: 1.15; margin-top: 1rem;
}
.intro-quote {
  font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.75;
  color: rgba(255,255,255,0.72); max-width: 48rem;
}
.intro-quote em { font-style: normal; color: var(--green-soft); }

/* Split sections */
.split-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.split-section--alt { background: var(--green-soft); }
.split-grid {
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 768px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-grid h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; line-height: 1; }
.split-grid p { color: var(--muted); line-height: 1.7; font-size: 1rem; margin-top: 1rem; }
.split-grid .lead { font-size: 1.125rem; color: var(--ink); font-weight: 500; }

.mission-banner {
  margin-top: 3rem; padding: 2rem;
  border: 2px solid var(--ink); background: var(--bg-2); box-shadow: var(--shadow);
}
.mission-banner h3 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.75rem;
}
.mission-banner p { color: var(--muted); line-height: 1.65; font-size: 0.9375rem; }

.img-duo {
  display: grid; gap: 1rem; margin-top: 2.5rem;
}
@media (min-width: 640px) { .img-duo { grid-template-columns: 1fr 1fr; } }
.img-frame {
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  background: var(--bg-2); padding: 0.75rem; aspect-ratio: 4/5; overflow: hidden;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Values / FAQ accordion */
.acc-list { margin-top: 2rem; border: 2px solid var(--ink); }
.acc-item { border-bottom: 2px solid var(--ink); background: var(--bg-2); }
.acc-item:last-child { border-bottom: none; }
.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; transition: background 0.25s;
}
.acc-trigger:hover { background: var(--green-soft); }
.acc-item.is-open .acc-trigger { background: var(--green); color: #fff; }
.acc-trigger h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.125rem;
  flex: 1; letter-spacing: -0.02em;
}
.acc-icon {
  width: 32px; height: 32px; border: 2px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1;
  transition: transform 0.35s var(--ease); flex-shrink: 0;
}
.acc-item.is-open .acc-icon { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-item.is-open .acc-panel { max-height: 400px; }
.acc-panel-inner { padding: 0 1.5rem 1.5rem; color: var(--muted); line-height: 1.65; font-size: 0.9375rem; }

/* About — stats strip */
.about-stats { padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--ink); color: #fff; }
.about-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .about-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.about-stat {
  padding: 1.5rem; border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.about-stat:hover { transform: translate(-3px, -3px); border-color: var(--green); }
.about-stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1; color: var(--green-soft);
}
.about-stat span {
  display: block; margin-top: 0.5rem; font-size: 0.6875rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* About — values accordion + visual */
.values-section { overflow: hidden; }
.values-grid {
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.values-copy .sec-title { margin-bottom: 0; }
.values-visual { min-width: 0; width: 100%; }
.values-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  border: 2px solid var(--ink); background: var(--bg-2);
  box-shadow: var(--shadow); overflow: hidden;
}
.values-visual-frame::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.values-visual-img {
  position: absolute; inset: 1.25rem;
  width: calc(100% - 2.5rem) !important;
  height: calc(100% - 2.5rem) !important;
  max-width: none;
  object-fit: contain; opacity: 0; transform: scale(0.92);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.values-visual-img.is-active { opacity: 1; transform: scale(1); }

/* Team */
.team-section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--bg-2); }
.h-zone-hint { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.h-scroll .team-card {
  flex: 0 0 min(75vw, 260px); scroll-snap-align: start;
}
.team-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.team-card {
  border: 2px solid var(--ink); background: var(--bg); box-shadow: var(--shadow);
  padding: 1.25rem; transition: transform 0.3s var(--ease);
}
.team-card:hover { transform: translate(-3px, -3px); }
.team-avatar {
  aspect-ratio: 1; background: var(--green-soft); border: 2px solid var(--line);
  margin-bottom: 1rem; overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar--initials {
  display: grid; place-items: center; background: var(--green-soft);
}
.team-avatar--initials span {
  font-family: var(--display); font-weight: 800;
  font-size: 2.5rem; color: var(--green);
}
.team-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.team-card p { font-size: 0.8125rem; color: var(--green); font-weight: 600; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* About: markets grid */
.about-markets .h-scroll { align-items: stretch; }
.about-markets .team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-markets .team-avatar { flex-shrink: 0; }
.about-markets .team-card h3 {
  line-height: 1.35;
  min-height: 2.7em;
}
.about-markets .team-card p {
  line-height: 1.45;
  min-height: 2.9em;
  margin-top: 0.35rem;
}
@media (min-width: 768px) {
  .about-markets .h-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    overflow: visible;
    max-width: var(--max);
    margin: 0 auto;
    scroll-snap-type: none;
  }
  .about-markets .h-scroll .team-card {
    flex: unset;
    width: auto;
  }
}
@media (min-width: 1024px) {
  .about-markets .h-scroll {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 3rem 1rem;
  }
}

/* Services list page */
.svc-cards { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; border: 2px solid var(--ink); }
.svc-card {
  display: grid; gap: 1.5rem; padding: 1.75rem 1.5rem;
  border-bottom: 2px solid var(--ink); background: var(--bg-2);
  text-decoration: none; color: inherit;
  transition: background 0.25s, transform 0.25s var(--ease);
}
.svc-card:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .svc-card { grid-template-columns: auto 1fr auto; align-items: center; padding: 2rem 2rem; }
}
.svc-card:hover { background: var(--green-soft); transform: translate(-2px, -2px); }
.svc-card-num {
  font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--green);
}
.svc-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.75rem); letter-spacing: -0.02em; }
.svc-card-desc { color: var(--muted); line-height: 1.6; font-size: 0.9375rem; margin-top: 0.5rem; }
.svc-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.svc-card-tags span {
  font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.65rem;
  border: 1.5px solid var(--line); background: var(--bg);
}
.svc-card-arrow {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--green);
}

.expert-grid {
  display: grid; gap: 1rem; margin-top: 2rem;
}
@media (min-width: 640px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .expert-grid { grid-template-columns: repeat(4, 1fr); } }
.expert-item {
  padding: 1.25rem; border: 2px solid var(--ink); background: var(--bg-2);
  box-shadow: var(--shadow); font-family: var(--display); font-weight: 700;
  font-size: 1.125rem; transition: transform 0.25s var(--ease);
}
.expert-item:hover { transform: translate(-3px, -3px); background: var(--green); color: #fff; }

/* Service detail */
.benefit-section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--ink); color: #fff; }
.benefit-grid {
  display: grid; gap: 2rem; margin-top: 2.5rem;
}
@media (min-width: 768px) { .benefit-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.benefit-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.04em; line-height: 0.95;
}
.benefit-title p,
.benefit-title h1,
.benefit-title h2,
.benefit-title h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 0; border: 2px solid rgba(255,255,255,0.2); }
.benefit-list > ul,
.benefit-list > ol { list-style: none; margin: 0; padding: 0; display: contents; }
.benefit-list li {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list strong {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 1rem; color: var(--green-soft); margin-bottom: 0.35rem;
}
.benefit-list p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.55; margin: 0; }

.panel-2col {
  display: grid; gap: 2rem; padding: clamp(3rem, 8vw, 5rem) 0;
}
@media (min-width: 768px) { .panel-2col { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.panel-2col h2,
.panel-2col .panel-title,
.panel-2col .panel-title h1,
.panel-2col .panel-title h2,
.panel-2col .panel-title h3 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.04em; line-height: 1; margin: 0;
}
.panel-2col .panel-title p { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.panel-2col p,
.panel-2col .panel-body { color: var(--muted); line-height: 1.7; margin-top: 1rem; }
.panel-2col .panel-body p { margin-top: 0; }

.offer-band {
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--green); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  text-align: center;
}
.offer-band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.25rem); letter-spacing: -0.03em; }
.offer-band p { margin-top: 0.75rem; opacity: 0.9; max-width: 40rem; margin-left: auto; margin-right: auto; line-height: 1.6; }

.process-detail {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 900px) { .process-detail { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.process-img {
  border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 1rem; background: var(--bg-2);
}
.process-img img { width: 100%; height: auto; display: block; }
.process-steps { list-style: none; border: 2px solid var(--ink); }
.process-steps li {
  padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--ink); background: var(--bg-2);
}
.process-steps li:last-child { border-bottom: none; }
.process-steps strong {
  display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem;
}
.process-steps p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }

.faq-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.faq-head { margin-bottom: 2rem; }
.faq-head h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em; line-height: 1;
}

/* Horizontal scroll */
.h-zone { padding: clamp(3rem, 8vw, 6rem) 0; overflow: hidden; }
.h-zone-head {
  max-width: var(--max); margin: 0 auto 2rem; padding: 0 1.25rem;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
@media (min-width: 1024px) { .h-zone-head { padding: 0 3rem; } }
.h-scroll {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 1.25rem 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .h-scroll { padding: 0 3rem 1rem; gap: 1.5rem; } }
.step-card {
  flex: 0 0 min(88vw, 480px); scroll-snap-align: center;
  padding: 2rem; border: 2px solid var(--ink); background: var(--bg);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.step-card::before {
  content: attr(data-num);
  position: absolute; top: -0.2em; right: 0.25rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(5rem, 15vw, 9rem); line-height: 1;
  color: var(--green-soft); pointer-events: none; z-index: 0;
}
.step-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 0.75rem; position: relative; z-index: 1;
}
.step-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }

.marquee-wrap {
  transform: rotate(-1.5deg) scale(1.02);
  background: var(--green); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: 1rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content; gap: 3rem;
  animation: scroll-x 28s linear infinite;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--display); font-weight: 700; font-size: 1.125rem;
  color: #fff; white-space: nowrap; letter-spacing: 0.04em;
}

/* Trust */
.trust { padding: clamp(4rem, 10vw, 7rem) 0; }
.trust-wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .trust-wrap { padding: 0 3rem; } }
.trust-split {
  display: grid; gap: 0; margin-top: 2.5rem;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
}
@media (min-width: 768px) { .trust-split { grid-template-columns: 1fr 1fr; } }
.trust-left { padding: 2.5rem; background: var(--green); color: #fff; }
.trust-left h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.04em; line-height: 1;
}
.trust-left p { margin-top: 1rem; opacity: 0.85; line-height: 1.6; max-width: 28ch; }
.trust-right {
  padding: 2rem; background: var(--bg-2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2rem 2.5rem; min-height: 240px;
}
.trust-right:not(.trust-right--placeholder) img {
  height: 2rem; width: auto; opacity: 0.45; filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.trust-right:not(.trust-right--placeholder) img:hover { opacity: 1; filter: none; transform: scale(1.08); }
.trust-right--placeholder {
  padding: 0;
  display: block;
  min-height: 0;
  align-self: stretch;
}
.trust-right--placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transform: none;
}

/* CTA */
.cta {
  margin: 0 1.25rem 3rem; padding: clamp(3rem, 8vw, 5rem);
  background: var(--ink); color: #fff; border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--green);
}
@media (min-width: 1024px) { .cta { margin: 0 3rem 4rem; } }
.cta-inner { max-width: 640px; }
.cta h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.04em; line-height: 0.92;
}
.cta h2 span { color: var(--green); }
.cta-sub { margin: 1.25rem 0 2rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.cta .btn-fill {
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--green);
}
.cta .btn-fill:hover { box-shadow: 8px 8px 0 var(--green); }
.cta .btn-ghost,
.footer-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.22);
}
.cta .btn-ghost:hover,
.footer-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.3);
}
.footer-cta .btn-fill {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.footer-cta .btn-fill:hover {
  box-shadow: 8px 8px 0 var(--ink);
}

/* ── Footer ── */
.site-footer { border-top: 2px solid var(--ink); background: var(--bg); }
.footer-cta {
  background: var(--green); border-bottom: 2px solid var(--ink);
  padding: clamp(2rem, 5vw, 3rem) 1.25rem;
}
@media (min-width: 1024px) { .footer-cta { padding: clamp(2rem, 5vw, 3rem) 3rem; } }
.footer-cta-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.footer-cta-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 0.35rem;
}
.footer-cta-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.05; color: #fff;
}
.footer-cta-title em { font-style: normal; text-decoration: underline; text-underline-offset: 6px; }
.footer-main {
  max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .footer-main { padding: clamp(2.5rem, 6vw, 4rem) 3rem; } }
.site-footer a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.875rem; display: block; padding: 0.3rem 0; transition: color 0.2s; }
.site-footer a:not(.btn):hover { color: var(--green); }
.site-footer h4 {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 0.85rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.65rem 0 1.5rem;
  padding: 1rem 1.05rem 0.95rem;
  border: 2px solid var(--ink);
  background-color: var(--bg-2);
  background-image:
    linear-gradient(rgba(255, 232, 170, 0.94), rgba(255, 232, 170, 0.94)),
    repeating-linear-gradient(
      -38deg,
      transparent,
      transparent 4px,
      rgba(0, 130, 83, 0.045) 4px,
      rgba(0, 130, 83, 0.045) 8px
    );
  background-size: 2.85rem 0.9rem, auto;
  background-position: 50% -0.5rem, 0 0;
  background-repeat: no-repeat;
  box-shadow: 6px 6px 0 var(--green);
  transform: rotate(-3deg);
  position: relative;
  line-height: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.footer-logo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 5px -7px -7px 7px;
  background: var(--green-soft);
  border: 2px solid var(--ink);
  transform: rotate(4deg);
  transition: transform 0.35s var(--ease);
}
.footer-logo::after {
  content: '2020';
  position: absolute;
  bottom: -0.6rem;
  right: -0.75rem;
  z-index: 3;
  padding: 0.2rem 0.5rem;
  font-family: var(--display);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--green);
  transform: rotate(9deg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.footer-logo:hover {
  transform: rotate(1.5deg) translate(-3px, -4px);
  box-shadow: 9px 9px 0 var(--green);
}
.footer-logo:hover::before {
  transform: rotate(2deg) translate(1px, 1px);
}
.footer-logo:hover::after {
  transform: rotate(3deg) translate(-2px, -3px);
  box-shadow: 4px 4px 0 var(--green);
}
.footer-logo img {
  display: block;
  height: auto;
  max-width: 112px;
  width: 100%;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease);
}
.footer-logo:hover img { transform: scale(1.04); }
.site-footer .footer-logo {
  padding: 1rem 1.05rem 0.95rem;
  color: inherit;
  font-size: inherit;
}
.site-footer .footer-logo:hover { color: inherit; }
.footer-brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; max-width: 22rem; }
.footer-regions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.footer-region {
  font-size: 0.75rem; color: var(--muted); padding: 0.35rem 0.65rem;
  border: 1.5px solid var(--line); background: var(--bg-2);
}
.footer-region strong { color: var(--green); margin-right: 0.25rem; }
.footer-address { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; margin-top: 0.5rem; }
.footer-marquee {
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--ink); padding: 0.85rem 0; overflow: hidden;
}
.footer-marquee-track {
  display: flex; width: max-content; gap: 2.5rem;
  animation: scroll-x 22s linear infinite;
}
.footer-marquee-track span {
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  color: var(--green-soft); white-space: nowrap; letter-spacing: 0.06em;
}
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.25rem 2rem;
  font-size: 0.8125rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .footer-bottom { padding: 1.25rem 3rem 2rem; } }
.footer-copyright {
  line-height: 1.55;
  max-width: 36rem;
  text-wrap: pretty;
}
.footer-copyright p,
.footer-copyright .copyright-text { margin: 0; }
.footer-copyright a,
.footer-copyright span {
  display: inline;
  padding: 0;
  font-size: inherit;
  font-weight: 600;
  color: var(--green);
}
.footer-copyright a:hover { color: var(--green-soft); }
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a { display: inline; padding: 0; font-weight: 600; }
@media (max-width: 639px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copyright { max-width: none; }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.reveal.is-in { opacity: 1; transform: translate3d(0, 0, 0); }
.scroll-hint {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-top: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.scroll-hint::after { content: '→'; }

@media (max-width: 639px) {
  .hero-main .hero-actions { flex-direction: column; }
  .hero-main .hero-actions .btn { width: 100%; justify-content: center; }
  .cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bot-arm { transform: rotate(-18deg); }
  .footer-logo { transform: none; }
  .footer-logo:hover { transform: none; }
  .footer-logo:hover img { transform: none; }
  .site-drawer.is-open .site-drawer-nav a { animation: none; }
}

/* ── Home: intro cards ── */
.intro-head { margin-bottom: 3rem; }
.intro-headline {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  letter-spacing: -0.04em; line-height: 1; margin-top: 1rem;
}
.intro-headline em {
  font-style: normal; color: var(--green-soft);
  text-decoration: underline; text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: opacity 0.2s ease;
}
.intro-quote { margin-top: 1.25rem; border: none; padding: 0; }
.intro-lead { margin-top: 1.25rem; color: rgba(255,255,255,0.65); max-width: 36rem; line-height: 1.7; }
.intro-cards { display: grid; gap: 1rem; }
@media (min-width: 768px) { .intro-cards { grid-template-columns: repeat(3, 1fr); } }
.intro-card {
  padding: 1.75rem; border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.intro-card:hover {
  transform: translate(-4px, -4px); border-color: var(--green);
  background: rgba(0,130,83,0.15); box-shadow: 6px 6px 0 var(--green);
}
.intro-card-num {
  font-family: var(--display); font-size: 3rem; font-weight: 800;
  color: rgba(255,255,255,0.08); line-height: 1; margin-bottom: 0.5rem;
}
.intro-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.intro-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.55; }
.intro-foot {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.intro-regions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.intro-region {
  font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85);
}
.intro-region strong { color: var(--green-soft); margin-right: 0.25rem; }

/* ── Home: portfolio scroll ── */
.work-card {
  flex: 0 0 min(85vw, 420px); scroll-snap-align: start;
  position: relative; text-decoration: none; color: #fff;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  overflow: hidden; transition: transform 0.35s var(--ease);
}
.work-card:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: 10px 10px 0 var(--green); }
.work-card-bg { position: absolute; inset: 0; }
.work-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-card-bg img { transform: scale(1.08); }
.work-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,31,23,0.92) 100%);
}
.work-card-num {
  position: absolute; top: -0.15em; right: 0.5rem; z-index: 1;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4rem, 12vw, 7rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.25);
  pointer-events: none;
}
.work-card-body {
  position: relative; z-index: 2; padding: 1.5rem;
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
}
.work-card-tag {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 0.35rem;
}
.work-card-name { font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.03em; }
.work-foot {
  max-width: var(--max); margin: 2rem auto 0; padding: 0 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
@media (min-width: 1024px) { .work-foot { padding: 0 3rem; } }
.work-stat { font-family: var(--display); font-size: 1.25rem; color: var(--green); font-weight: 800; }
.work-link { font-weight: 700; color: var(--green); text-decoration: none; }

/* ── Portfolio list ── */
.portfolio-hero { min-height: auto; padding-bottom: 1rem; }
.portfolio-intro {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
  border-bottom: 2px solid var(--ink);
  background: var(--bg-2);
}
.portfolio-intro p {
  max-width: 52rem; margin: 0 auto; text-align: center;
  color: var(--muted); line-height: 1.75; font-size: clamp(1rem, 2.2vw, 1.125rem);
}
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: 0; list-style: none;
}
.portfolio-filter {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ink);
  background: var(--bg-2);
  font-family: inherit; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.portfolio-filter:hover { background: var(--green-soft); transform: translate(-2px, -2px); }
.portfolio-filter.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.portfolio-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .portfolio-grid { gap: 2rem; } }
.portfolio-card {
  position: relative; display: block; text-decoration: none; color: #fff;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  overflow: hidden; min-height: 300px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.portfolio-card:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: 10px 10px 0 var(--green); }
.portfolio-card.is-hidden { display: none; }
.portfolio-card .work-card-body { min-height: 300px; }
.portfolio-marquee {
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--green); color: #fff; overflow: hidden; padding: 1rem 0;
}
.portfolio-marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: portfolio-marquee 28s linear infinite;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: -0.02em;
  text-transform: uppercase;
}
.portfolio-marquee-track span { white-space: nowrap; opacity: 0.92; }
.portfolio-marquee-track span::after { content: " ·"; opacity: 0.5; margin-left: 2.5rem; }
@keyframes portfolio-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
.portfolio-outro {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center; background: var(--green-soft);
}

/* ── Home: services accordion ── */
.services { padding: clamp(4rem, 10vw, 7rem) 0; background: var(--green-soft); }
.services-wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .services-wrap { padding: 0 3rem; } }
.svc-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; border: 2px solid var(--ink); }
.svc-item { border-bottom: 2px solid var(--ink); background: var(--bg-2); }
.svc-item:last-child { border-bottom: none; }
.svc-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; transition: background 0.25s;
}
.svc-trigger:hover { background: var(--green-soft); }
.svc-item.is-open .svc-trigger { background: var(--green); color: #fff; }
.svc-num { font-family: var(--display); font-weight: 800; font-size: 1.5rem; min-width: 2.5rem; color: var(--green); }
.svc-item.is-open .svc-num { color: #fff; }
.svc-trigger h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.125rem, 3vw, 1.5rem);
  flex: 1; letter-spacing: -0.02em;
}
.svc-icon {
  width: 32px; height: 32px; border: 2px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem; line-height: 1;
  transition: transform 0.35s var(--ease);
}
.svc-item.is-open .svc-icon { transform: rotate(45deg); }
.svc-panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.svc-item.is-open .svc-panel { max-height: 520px; }
.svc-panel-inner { display: grid; gap: 1.5rem; padding: 0 1.5rem 1.5rem; }
@media (min-width: 768px) { .svc-panel-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.svc-panel p { color: var(--muted); line-height: 1.65; font-size: 0.9375rem; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.svc-pills span {
  font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.65rem;
  border: 1.5px solid var(--line); background: var(--bg);
}
.svc-img { border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--bg); padding: 1rem; }
.svc-img img { width: 100%; height: auto; display: block; }

.process { background: var(--bg-2); }
.trust-stats { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.trust-stat em {
  display: block; font-style: normal; font-family: var(--display);
  font-weight: 800; font-size: 2rem; line-height: 1;
}
.trust-stat span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.cta-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; }
.cta-links a { color: var(--green-soft); font-weight: 600; text-decoration: none; }
.cta-links a:hover { text-decoration: underline; }

/* ── Portfolio detail ── */
.case-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
}
.case-banner-img {
  width: 100%;
  height: auto;
  display: block;
  min-height: clamp(420px, 72vh, 850px);
  object-fit: cover;
  object-position: center top;
}
.case-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(247, 251, 249, 0.98) 0%,
    rgba(247, 251, 249, 0.72) 28%,
    rgba(247, 251, 249, 0.15) 58%,
    transparent 100%
  );
  pointer-events: none;
}
.case-banner-inner {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.case-banner-inner .hero-label { margin-bottom: 0.75rem; }
.case-banner-inner .hero-h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 2px solid var(--ink);
}
.case-meta-item { min-width: 120px; }
.case-meta-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem;
}
.case-meta-value { font-family: var(--display); font-weight: 700; font-size: 1.125rem; }
.case-block { padding: clamp(3rem, 8vw, 5rem) 0; }
.case-block--alt { background: var(--green-soft); }
.case-block-grid {
  display: grid; gap: 2rem; align-items: start;
}
@media (min-width: 900px) {
  .case-block-grid { grid-template-columns: minmax(180px, 0.38fr) 1fr; gap: clamp(2rem, 6vw, 5rem); }
}
.case-block-label h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.04em; line-height: 1; margin-top: 0.35rem;
}
.case-prose { display: grid; gap: 1rem; }
.case-prose p { color: var(--muted); line-height: 1.75; font-size: 1rem; margin: 0; }
/* Full-bleed project shots — no crop, natural height */
.case-fullshot {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  line-height: 0;
  background: var(--bg);
}
.case-fullshot img {
  width: 100%;
  height: auto;
  display: block;
}
.case-fullshot + .case-block { padding-top: clamp(3rem, 8vw, 7.5rem); }
.case-block + .case-fullshot { margin-top: clamp(2rem, 5vw, 5rem); }
.case-next {
  padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 2px solid var(--ink);
  background: var(--bg);
}
.case-next-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.case-next-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin: 0;
}
.case-next-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem); letter-spacing: -0.03em;
  margin: 0.35rem 0 0; line-height: 1.1; color: var(--ink);
}
.case-next-title a,
.case-next-title a:visited,
.case-next-title a:hover,
.case-next-title a:focus {
  color: inherit !important;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
  background: none;
}
.case-next-title a:hover { color: var(--green) !important; }

/* ── Blog archive ── */
.blog-hero { min-height: auto; padding-bottom: 1rem; }
.blog-grid {
  display: grid; gap: 0; margin-top: 2rem; border: 2px solid var(--ink);
}
.blog-card {
  display: grid; gap: 1rem; padding: 1.25rem;
  border-bottom: 2px solid var(--ink); background: var(--bg-2);
  text-decoration: none; color: inherit;
  transition: background 0.25s, transform 0.25s var(--ease);
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "thumb thumb"
    "body arrow";
}
.blog-card:last-child { border-bottom: none; }
.blog-card-thumb {
  grid-area: thumb;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--green-soft);
  box-shadow: 4px 4px 0 var(--green);
}
.blog-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { grid-area: body; display: grid; gap: 0.5rem; align-content: center; min-width: 0; }
@media (min-width: 768px) {
  .blog-card {
    grid-template-columns: 240px 1fr auto;
    grid-template-areas: "thumb body arrow";
    align-items: center;
    padding: 1.25rem 1.75rem;
    gap: 1.75rem;
  }
  .blog-card-thumb { aspect-ratio: 4 / 3; max-height: none; min-height: 128px; align-self: stretch; }
}
@media (min-width: 1024px) {
  .blog-card {
    grid-template-columns: 300px 1fr auto;
    padding: 1.5rem 2rem;
    gap: 2rem;
  }
  .blog-card-thumb { min-height: 160px; }
}
.blog-card:hover { background: var(--green-soft); transform: translate(-2px, -2px); }
.blog-date {
  font-size: 0.8125rem; font-weight: 600; color: var(--green); letter-spacing: 0.04em;
}
.blog-card h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.0625rem, 2.5vw, 1.375rem);
  letter-spacing: -0.02em; line-height: 1.25;
}
.blog-arrow { grid-area: arrow; align-self: center; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--green); }
.blog-pagination {
  margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.blog-pagination a, .blog-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 0.75rem;
  border: 2px solid var(--ink); font-weight: 700; font-size: 0.875rem;
  text-decoration: none; color: var(--ink); background: var(--bg-2);
}
.blog-pagination a:hover { background: var(--green-soft); transform: translate(-2px, -2px); }
.blog-pagination .is-current { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Blog detail (WP-driven, live-site layout) ── */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--green); z-index: 200; transition: width 0.1s linear;
}
.has-read-progress .site-header.is-scrolled { border-bottom-color: var(--line); }

.post-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
}
.post-header-inner { max-width: 720px; }
.post-crumb { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.post-crumb a { color: var(--green); font-weight: 600; text-decoration: none; }
.post-crumb a:hover { text-decoration: underline; }
.post-date-tab {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.post-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem); letter-spacing: -0.04em; line-height: 1.08;
}
.post-featured {
  margin-top: 2rem; border: 2px solid var(--ink);
  box-shadow: var(--shadow); overflow: hidden; background: var(--bg-2);
}
.post-featured img {
  width: 100%; height: auto; display: block;
  max-height: min(480px, 56vw); object-fit: cover;
}

.post-layout {
  display: grid; gap: 3rem; padding: clamp(2.5rem, 6vw, 4rem) 0;
}
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 720px) 280px; gap: 4rem; align-items: start; justify-content: start; }
}

.post-content { font-size: 1.0625rem; line-height: 1.8; color: var(--ink); }
.post-content > * + * { margin-top: 1.25rem; }
.post-content h2, .post-content h3 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-top: 2.5rem; color: var(--ink);
}
.post-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.post-content h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.post-content p { color: var(--muted); }
.post-content strong { color: var(--ink); font-weight: 600; }
.post-content em { font-style: italic; color: var(--green); }
.post-content ul, .post-content ol { padding-left: 1.25rem; color: var(--muted); }
.post-content li + li { margin-top: 0.5rem; }
.post-content img {
  width: 100%; height: auto; display: block;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
}
.post-content figure {
  margin: 2rem 0; overflow: visible;
  border: none; box-shadow: none;
}
.post-content figure img { margin: 0; }
.post-content blockquote {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--green); background: var(--green-soft);
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  line-height: 1.45; letter-spacing: -0.02em; color: var(--ink);
}
.post-content blockquote p { color: inherit; margin: 0; }

.post-state { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; }
.post-state-text { margin-top: 0.75rem; color: var(--muted); font-size: 1.0625rem; }

.post-aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .post-aside { position: sticky; top: 6rem; } }
.post-aside-box {
  padding: 1.25rem; border: 2px solid var(--ink); background: var(--bg-2);
  box-shadow: var(--shadow);
}
.post-aside-text { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin: 0.75rem 0 1rem; }
.post-share {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}
.post-aside-box .post-share a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem !important;
  border: 2px solid var(--ink);
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--green);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 0.8125rem !important;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.post-aside-box .post-share a:hover {
  background: var(--green-soft);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--green);
  color: var(--ink) !important;
}
.post-back {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700 !important;
  color: var(--green) !important;
  text-decoration: none !important;
}

.post-related { padding: clamp(3rem, 8vw, 5rem) 0; background: var(--bg-2); border-top: 2px solid var(--ink); }
.post-related-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .post-related-grid { grid-template-columns: repeat(3, 1fr); } }
.post-related-card {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem;
  border: 2px solid var(--ink); background: var(--bg);
  text-decoration: none; color: inherit; min-width: 0;
  box-shadow: 4px 4px 0 var(--green);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.post-related-card:hover { background: var(--green-soft); transform: translate(-3px, -3px); }
.post-related-thumb {
  border: 2px solid var(--ink); aspect-ratio: 16/10; overflow: hidden;
  background: var(--green-soft); flex-shrink: 0;
}
.post-related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-related-card time { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.post-related-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  line-height: 1.35; margin-top: 0.35rem; letter-spacing: -0.02em;
  color: inherit;
}

/* ── Contact ── */
.contact-section { padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem); }
.contact-grid {
  display: grid; gap: 2.5rem; align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 3rem; }
}
.contact-form-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.03em; line-height: 1.1;
  margin: 0.5rem 0 1.75rem;
}
.contact-form {
  display: grid; gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 2px solid var(--ink);
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid; gap: 1.25rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { display: grid; gap: 0.4rem; }
.form-field label {
  font-size: 0.8125rem; font-weight: 700; color: var(--ink);
}
.form-field label span { color: var(--green); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--ink);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.form-file { position: relative; }
.form-file input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.form-file-label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 2px dashed var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.form-file-label:hover { border-color: var(--green); background: var(--green-soft); }
.form-file-btn {
  display: inline-flex; padding: 0.4rem 0.75rem;
  border: 2px solid var(--ink); background: var(--bg-2);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-file-name { font-size: 0.8125rem; color: var(--muted); }
.form-note {
  font-size: 0.875rem; color: var(--muted); line-height: 1.55; margin: 0;
}
.form-note.is-success { color: var(--green); font-weight: 600; }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside-box {
  padding: 1.25rem;
  border: 2px solid var(--ink);
  background: var(--bg-2);
  box-shadow: 4px 4px 0 var(--green);
}
.contact-aside-link {
  display: block !important;
  font-weight: 700; color: var(--ink) !important;
  text-decoration: none !important;
  padding: 0.25rem 0 !important;
  font-size: 0.9375rem !important;
}
.contact-aside-link--lg {
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
  letter-spacing: -0.02em;
}
.contact-aside-link:hover { color: var(--green) !important; }
.contact-aside-text {
  font-size: 0.875rem; color: var(--muted); line-height: 1.65; margin: 0;
}
.contact-social {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.contact-social a {
  display: inline-flex !important;
  padding: 0.45rem 0.75rem !important;
  border: 2px solid var(--ink);
  background: var(--bg);
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.contact-social a:hover {
  background: var(--green-soft);
  transform: translate(-2px, -2px);
  color: var(--ink) !important;
}
.contact-profile-btn { width: 100%; justify-content: center; }
