@charset "UTF-8";
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f8f5;
  --surface-warm: #f7f3eb;
  --green-950: #062417;
  --green-900: #0a3423;
  --green-800: #0f4f35;
  --green-700: #17683f;
  --green-600: #238456;
  --mint: #e8f2ec;
  --mint-2: #dbeae2;
  --sand: #efe7d8;
  --gold: #b4945e;
  --ink: #17221d;
  --muted: #62706a;
  --line: rgba(10, 52, 35, 0.12);
  --line-strong: rgba(10, 52, 35, 0.20);
  --shadow: 0 24px 70px rgba(6, 36, 23, 0.10);
  --shadow-soft: 0 14px 38px rgba(6, 36, 23, 0.07);
  --container: 1120px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(219, 234, 226, 0.70), transparent 34rem),
    radial-gradient(circle at 88% 5%, rgba(239, 231, 216, 0.65), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0%, #fff 44%, #f7fbf8 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }
.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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(10, 52, 35, 0.08);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--green-950);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #5d6a64;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--mint);
  color: var(--green-800);
  outline: none;
}
.nav-menu a:last-child {
  margin-left: 4px;
  padding-inline: 18px;
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 12px 26px rgba(15, 79, 53, 0.18);
}
.nav-menu a:last-child:hover,
.nav-menu a:last-child:focus-visible {
  color: #fff;
  background: var(--green-700);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--green-900);
}

/* Typography */
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  color: var(--green-950);
  font-family: inherit;
  letter-spacing: -0.055em;
  font-weight: 780;
  line-height: 0.98;
}
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.6vw, 5.6rem);
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 4rem);
}
h3 {
  margin-bottom: 10px;
  color: var(--green-950);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.hero-lead,
.section-note,
.content-card p,
.service-card p,
.project-card p,
.blog-card time,
.contact-card p,
.timeline-item p,
.external-card em { color: var(--muted); }
.hero-lead {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  line-height: 1.72;
}

/* Buttons */
.hero-actions,
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 16px 32px rgba(15, 79, 53, 0.20); }
.btn-primary:hover,
.btn-primary:focus-visible { background: var(--green-700); box-shadow: 0 20px 44px rgba(15, 79, 53, 0.25); }
.btn-secondary { background: rgba(255, 255, 255, 0.76); color: var(--green-900); border-color: var(--line-strong); }
.btn-secondary:hover,
.btn-secondary:focus-visible { background: var(--mint); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--green-700);
  font-weight: 850;
}
.text-link::after {
  content: "";
  width: 0.52em;
  height: 0.52em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex: 0 0 auto;
}
.text-link:hover::after,
.text-link:focus-visible::after { transform: translateX(4px) rotate(45deg); }
.text-link:focus-visible { outline: 2px solid rgba(15, 79, 53, 0.24); outline-offset: 4px; border-radius: 8px; }

/* Home hero */
.section-shell { padding: 44px 0 0; }
.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 34px;
  padding: clamp(42px, 5vw, 66px) clamp(34px, 5vw, 62px) 0;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 91% 9%, rgba(219, 234, 226, 0.82) 0 8.2rem, transparent 8.35rem),
    linear-gradient(132deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 250, 0.96) 48%, rgba(232, 242, 236, 0.95) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 55%, rgba(15, 79, 53, 0.055) 55.08% 55.22%, transparent 55.32% 100%),
    linear-gradient(24deg, transparent 0 75%, rgba(15, 79, 53, 0.045) 75.08% 75.22%, transparent 75.32% 100%);
}
.hero-copy,
.hero-portrait { position: relative; z-index: 1; }
.hero-copy { padding-bottom: 56px; }
.home-hero h1 { max-width: 650px; }
.home-hero h1 span { display: block; }
.hero-portrait { align-self: end; display: flex; justify-content: flex-end; }
.portrait-card {
  position: relative;
  width: min(100%, 410px);
  min-height: 475px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-card::before {
  content: "";
  position: absolute;
  inset: 54px 0 0;
  border: 1px solid rgba(15, 79, 53, 0.12);
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(219,234,226,0.55));
  box-shadow: 0 24px 60px rgba(6, 36, 23, 0.08);
}
.portrait-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 36px rgba(6, 36, 23, 0.18));
}

/* Quick cards */
.quick-links { padding: 30px 0 18px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.quick-card,
.service-card,
.content-card,
.timeline,
.project-card,
.blog-card,
.contact-card,
.quote-card,
.external-card,
.value-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-soft);
}
.quick-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 16px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(240,247,243,0.82));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.quick-card:hover,
.quick-card:focus-visible { transform: translateY(-4px); border-color: rgba(15, 79, 53, 0.24); background: #fff; outline: none; }
.icon-box {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-700);
  border: 1px solid rgba(15, 79, 53, 0.12);
}
.icon-box svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-card strong { color: var(--green-950); font-weight: 850; }
.quick-card small { color: var(--muted); }

/* Generic sections */
.section { padding: 74px 0; }
.compact-section { padding: 58px 0; }
.section-muted {
  background: linear-gradient(180deg, rgba(232, 242, 236, 0.44), rgba(255, 255, 255, 0.28));
  border-block: 1px solid rgba(10, 52, 35, 0.08);
}
.split-layout { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); align-items: start; gap: 46px; }
.split-layout.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.section-heading { position: static; }
.content-card { padding: clamp(26px, 4vw, 42px); border-radius: var(--radius-xl); }
.content-card p { font-size: 1.04rem; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.section-top h2 { max-width: 780px; margin-bottom: 0; }

/* Page heroes */
.page-hero { padding: 42px 0 26px; }
main > .page-hero:first-child { margin-top: 42px; }
.page-hero .narrow,
.page-hero-grid,
.project-detail-shell {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(132deg, rgba(255,255,255,0.97), rgba(244,248,245,0.94));
  box-shadow: var(--shadow-soft);
}
.page-hero .narrow {
  max-width: 980px;
  padding: clamp(34px, 5vw, 54px);
}
.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.2vw, 4.65rem);
  line-height: 1.02;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
  padding: clamp(34px, 5vw, 54px);
}
.page-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(6, 36, 23, 0.10);
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { padding: 28px; border-radius: var(--radius-lg); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(15, 79, 53, 0.22); background: #fff; }
.service-number {
  margin-bottom: auto;
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}
.service-card h3 { margin: 26px 0 12px; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-grid-wide { grid-template-columns: 1fr; }
.project-list-single { max-width: 980px; margin-inline: auto; }
.project-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 242, 236, 0.92), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,248,0.92));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: auto -90px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(219, 234, 226, 0.54);
  pointer-events: none;
}
.project-card > * { position: relative; z-index: 1; }
.project-card-link { color: inherit; text-decoration: none; cursor: pointer; }
.project-card-link:hover,
.project-card-link:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(15, 79, 53, 0.26);
  background: #fff;
  box-shadow: var(--shadow);
  outline: none;
}
.project-card-featured { min-height: 320px; }
.project-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 2.2vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.project-card p {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.72;
}
.project-card .text-link { margin-top: 0; }
.card-kicker {
  margin-bottom: 12px;
  color: var(--green-700) !important;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.project-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: var(--green-800);
}
.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}
.project-visual span,
.project-visual img { position: relative; z-index: 1; }
.project-visual span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.11);
  color: #fff;
  font-weight: 900;
}
.project-visual-logo {
  background:
    linear-gradient(rgba(15,79,53,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,79,53,0.055) 1px, transparent 1px),
    linear-gradient(145deg, #f9fbf8, #eaf4ee);
  background-size: 26px 26px, 26px 26px, auto;
  border: 1px solid rgba(15,79,53,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.58);
}
.project-visual-logo::before {
  display: block;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.98), rgba(239,231,216,0.72) 54%, rgba(255,255,255,0) 55%);
  opacity: 1;
}
.project-visual-logo img {
  width: min(66%, 190px);
  height: auto;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 36px rgba(6,36,23,0.16);
  filter: none;
}
.project-visual-1 { background: linear-gradient(135deg, var(--green-900), var(--green-600)); }
.project-visual-2 { background: linear-gradient(135deg, #263c31, #b4945e); }
.project-visual-3 { background: linear-gradient(135deg, #18343c, #238456); }

@media (min-width: 761px) {
  .quick-links .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Project detail */
.project-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  position: relative;
}
.project-detail-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 92% 10%, rgba(219,234,226,0.78), transparent 16rem);
}
.project-detail-copy,
.project-detail-logo-card { position: relative; z-index: 1; }
.project-detail-copy h1 { max-width: 760px; }
.project-detail-logo-card {
  min-height: 290px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.project-detail-logo-card img { width: min(100%, 190px); height: auto; filter: drop-shadow(0 14px 24px rgba(6,36,23,0.14)); }
.project-detail-logo-card p { margin: 16px 0 0; color: var(--green-900); font-weight: 850; }
.project-points { margin-top: 18px; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.external-card {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
  border-radius: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.external-card:hover,
.external-card:focus-visible { transform: translateY(-3px); border-color: rgba(15,79,53,0.22); background: #fff; box-shadow: var(--shadow-soft); outline: none; }
.external-card span { color: var(--green-700); font-size: 0.74rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.12em; }
.external-card strong { color: var(--green-950); font-size: 1.08rem; line-height: 1.22; }
.external-card em { font-style: normal; font-size: 0.92rem; line-height: 1.35; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-list { display: grid; gap: 18px; max-width: 980px; }
.blog-card {
  padding: 14px;
  border-radius: var(--radius-xl);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.blog-card-link { display: grid; color: inherit; text-decoration: none; }
.blog-card:hover,
.blog-card:focus-visible { transform: translateY(-4px); background: #fff; border-color: rgba(15,79,53,0.20); box-shadow: var(--shadow-soft); outline: none; }
.blog-card-featured {
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(14px, 2vw, 20px);
}
.blog-card-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(6px, 2vw, 18px) 4px; }
.blog-card-body h2 { margin-bottom: 12px; font-size: clamp(1.55rem, 2.6vw, 2.55rem); line-height: 1.04; }
.blog-card-body > p:not(.card-kicker) { max-width: 650px; color: var(--muted); line-height: 1.7; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.blog-card-meta span::before { content: "•"; margin-right: 12px; color: rgba(15,79,53,0.38); }
.blog-thumb {
  min-height: 188px;
  margin-bottom: 18px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 79, 53, 0.10), rgba(255,255,255,0.36)), repeating-linear-gradient(135deg, rgba(15, 79, 53, 0.18) 0 1px, transparent 1px 16px);
}
.blog-card-featured .blog-thumb { min-height: 280px; margin-bottom: 0; border-radius: 24px; }
.blog-thumb::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(15, 79, 53, 0.20);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.32);
}
.blog-thumb-ai {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 26% 25%, rgba(25, 122, 80, 0.25), transparent 11rem),
    linear-gradient(135deg, rgba(239, 231, 216, 0.78), rgba(219, 234, 226, 0.58)),
    repeating-linear-gradient(135deg, rgba(15, 79, 53, 0.16) 0 1px, transparent 1px 18px);
}
.blog-thumb-ai::before {
  content: "DI";
  position: relative;
  z-index: 1;
  color: rgba(6, 36, 23, 0.18);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.12em;
}
.blog-thumb-2 { background: linear-gradient(135deg, rgba(239, 231, 216, 0.78), rgba(255,255,255,0.22)), radial-gradient(circle at 30% 30%, rgba(15, 79, 53, 0.15), transparent 10rem); }
.blog-thumb-3 { background: linear-gradient(135deg, rgba(15, 79, 53, 0.14), rgba(219, 234, 226, 0.55)), linear-gradient(90deg, rgba(255,255,255,0.34), transparent); }
.blog-card h3,
.blog-card .card-kicker,
.blog-card time { padding-inline: 8px; }
.blog-card time { display: block; margin-bottom: 10px; font-size: 0.9rem; }

/* Article */
.article-hero { padding: clamp(78px, 12vw, 132px) 0 44px; }
.article-hero__inner { max-width: 920px; }
.article-back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--green-700);
  font-size: 0.92rem;
  font-weight: 850;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-weight: 750; }
.article-meta span:not(:first-child)::before,
.article-meta time::before { content: "•"; margin-right: 14px; color: rgba(15,79,53,0.35); }
.article-section { padding-top: 18px; }
.article-layout { max-width: 920px; }
.article-cover {
  min-height: clamp(220px, 32vw, 360px);
  display: grid;
  place-items: center;
  margin-bottom: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 28%, rgba(25, 122, 80, 0.28), transparent 13rem),
    radial-gradient(circle at 82% 72%, rgba(15, 79, 53, 0.18), transparent 13rem),
    linear-gradient(135deg, rgba(239,231,216,0.78), rgba(247,251,248,0.96));
  box-shadow: var(--shadow-soft);
}
.article-cover span { color: rgba(6,36,23,0.16); font-size: clamp(5rem, 16vw, 12rem); font-weight: 900; letter-spacing: -0.12em; }
.article-content { max-width: 760px; margin-inline: auto; }
.article-content .lead { color: var(--green-950); font-size: clamp(1.16rem, 1.65vw, 1.36rem); line-height: 1.75; }
.article-content p { margin-bottom: 22px; color: rgba(6,36,23,0.78); font-size: 1.04rem; line-height: 1.86; }
.article-content h2 {
  margin: clamp(42px, 6vw, 66px) 0 18px;
  color: var(--green-950);
  font-size: clamp(1.72rem, 3.3vw, 2.85rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.article-footer-note {
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: clamp(42px, 6vw, 66px) auto 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.article-footer-note p { max-width: 480px; margin: 0; color: var(--green-950); font-weight: 780; line-height: 1.45; }

.quote-section { padding: 20px 0 30px; }
.quote-card { padding: clamp(30px, 5vw, 56px); border-radius: var(--radius-xl); text-align: center; background: linear-gradient(135deg, rgba(239,231,216,0.78), rgba(247,251,248,0.94)); }
blockquote { max-width: 780px; margin: 0 auto; color: var(--green-950); font-size: clamp(1.35rem, 2.5vw, 2.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.05em; }

/* Timeline / stats */
.timeline { padding: 14px; border-radius: var(--radius-xl); }
.timeline-item { position: relative; padding: 22px 22px 22px 42px; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 17px; top: 29px; width: 10px; height: 10px; border-radius: 999px; background: var(--green-700); box-shadow: 0 0 0 7px var(--mint); }
.timeline-item span { display: block; margin-bottom: 6px; color: var(--green-700); font-size: 0.76rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.10em; }
.timeline-item h3 { font-size: 1.18rem; }
.stats-band { padding: 18px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; box-shadow: var(--shadow); }
.stats-grid div { min-height: 128px; padding: 24px; border-right: 1px solid rgba(255,255,255,0.14); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; margin-bottom: 6px; font-size: 2rem; font-weight: 850; letter-spacing: -0.05em; line-height: 1; }
.stats-grid span { display: block; color: rgba(255,255,255,0.78); }

/* Contact / footer */
.contact-section { padding: 30px 0 86px; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(232,242,236,0.94), rgba(255,255,255,0.88));
}
.contact-card h2 { max-width: 720px; margin-bottom: 14px; }
.contact-card p { max-width: 620px; margin-bottom: 0; }
.contact-card h2 { overflow-wrap: anywhere; }
.contact-card__phone { margin-top: 14px !important; font-weight: 850; color: var(--green-800) !important; }
.copy-status { width: 100%; min-height: 24px; margin: 4px 0 0; color: var(--green-700) !important; font-size: 0.9rem; font-weight: 800; }
.site-footer { padding: 34px 0; border-top: 1px solid rgba(10,52,35,0.10); background: rgba(255,255,255,0.62); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; }
.footer-brand { margin-bottom: 10px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 0.92rem; font-weight: 700; }
.footer-links a:hover,
.social-links a:hover { color: var(--green-700); }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--green-800); font-weight: 900; font-size: 0.78rem; background: rgba(255,255,255,0.72); }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .quick-card, .service-card, .blog-card, .project-card, .external-card { transition: none; } }
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 44px 40px 0; }
  .hero-copy { padding-bottom: 10px; }
  .hero-portrait { justify-content: center; }
  .portrait-card { width: min(100%, 420px); min-height: 420px; }
  .portrait-card img { height: 430px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-template-columns: 1fr; }
  .blog-card-featured .blog-thumb { min-height: 220px; }
  .project-card { grid-template-columns: 240px minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2n) { border-right: 0; }
  .stats-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.14); }
  .split-layout,
  .split-layout.reverse,
  .contact-card,
  .footer-grid,
  .project-detail-shell,
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-photo { height: 340px; }
  .values-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { max-width: 520px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav { min-height: 66px; }
  .brand { font-size: 0.98rem; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .nav-menu {
    position: fixed;
    inset: 76px 14px auto 14px;
    z-index: 60;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu a,
  .nav-menu a.nav-contact {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 13px 14px;
    border-radius: 16px;
    text-align: center;
  }
  .nav-menu a:last-child { margin-left: 0; }
  .section-shell { padding-top: 24px; }
  .article-meta span:not(:first-child)::before,
  .article-meta time::before,
  .blog-card-meta span::before { display: none; }
  .hero-grid { padding: 32px 22px 0; border-radius: 26px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .page-hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .portrait-card { min-height: 350px; }
  .portrait-card img { height: 360px; }
  .services-grid,
  .stats-grid,
  .link-grid { grid-template-columns: 1fr; }
  .quick-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }
  .quick-card { min-height: 108px; scroll-snap-align: start; }
  .section { padding: 62px 0; }
  .compact-section { padding: 48px 0; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .stats-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .stats-grid div:last-child { border-bottom: 0; }
  .service-card { min-height: auto; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-featured { min-height: auto; }
  .project-visual { min-height: 230px; }
  .page-hero { padding: 26px 0 14px; }
  main > .page-hero:first-child { margin-top: 24px; }
  .page-hero .narrow,
  .page-hero-grid,
  .project-detail-shell { padding: 28px 22px; border-radius: 24px; }
  .page-photo { height: 310px; border-radius: 18px; }
  .project-detail-logo-card { min-height: 230px; }
  .contact-section { padding-bottom: 68px; }
  .contact-actions,
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
}
@media (max-width: 430px) {
  .hero-grid { padding: 28px 18px 0; }
  .portrait-card { min-height: 310px; }
  .portrait-card img { height: 320px; }
  .content-card,
  .contact-card,
  .quote-card { border-radius: 22px; }
}

/* Final layout fixes: header spacing, quick cards, project card */
.site-header + main > .page-hero:first-child {
  margin-top: 0 !important;
  padding-top: clamp(72px, 7vw, 104px) !important;
}

.site-header + main > .section-shell:first-child {
  padding-top: clamp(54px, 5vw, 76px) !important;
}

.text-link::after {
  content: "" !important;
  width: 0.52em;
  height: 0.52em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex: 0 0 auto;
}

.quick-links {
  padding-top: 28px !important;
}

.quick-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.quick-card {
  min-width: 0 !important;
  width: 100% !important;
}

.project-list-single {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  margin-inline: auto !important;
}

.project-grid-wide,
.project-list-single {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.project-card,
.project-card-featured {
  min-height: 0 !important;
}

.project-card {
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) !important;
  gap: clamp(22px, 3vw, 36px) !important;
  align-items: stretch !important;
  padding: clamp(18px, 2.4vw, 28px) !important;
  border-radius: 30px !important;
  border-color: rgba(15, 79, 53, 0.14) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 248, 0.96)) !important;
  box-shadow: 0 22px 58px rgba(6, 36, 23, 0.09) !important;
}

.project-card::after {
  display: none !important;
}

.project-card > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.project-card-link:hover,
.project-card-link:focus-visible {
  transform: translateY(-4px) !important;
  border-color: rgba(15, 79, 53, 0.28) !important;
  background: #ffffff !important;
  box-shadow: 0 28px 72px rgba(6, 36, 23, 0.13) !important;
}

.project-card h3 {
  margin-bottom: 10px !important;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem) !important;
  line-height: 1.04 !important;
}

.project-card p {
  max-width: 600px !important;
  margin-bottom: 20px !important;
  font-size: 1.02rem !important;
  line-height: 1.7 !important;
}

.project-card .text-link {
  margin-top: 2px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(15, 79, 53, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(232, 242, 236, 0.68) !important;
  color: var(--green-800) !important;
  line-height: 1 !important;
}

.card-kicker {
  margin-bottom: 10px !important;
  color: var(--green-700) !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
}

.project-visual-logo {
  min-height: 255px !important;
  height: 100% !important;
  border-radius: 24px !important;
  background:
    linear-gradient(rgba(15, 79, 53, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 79, 53, 0.055) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff, #eef7f2) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
  border: 1px solid rgba(15, 79, 53, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68) !important;
  transition: transform 180ms ease, box-shadow 180ms ease !important;
}

.project-visual-logo::before {
  display: none !important;
}

.project-visual-logo img {
  width: min(72%, 188px) !important;
  max-height: 188px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 26px rgba(6, 36, 23, 0.13)) !important;
}

.project-card:hover .project-visual-logo,
.project-card:focus-visible .project-visual-logo {
  transform: scale(1.01) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 16px 36px rgba(6, 36, 23, 0.08) !important;
}

@media (max-width: 1040px) {
  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .project-card {
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  .site-header + main > .page-hero:first-child {
    padding-top: 42px !important;
  }

  .quick-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x proximity !important;
  }

  .quick-card {
    flex: 0 0 210px !important;
    min-height: 112px !important;
    scroll-snap-align: start !important;
  }

  .project-card {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 16px !important;
    border-radius: 24px !important;
  }

  .project-card > div:last-child {
    padding: 2px 4px 6px !important;
  }

  .project-visual-logo {
    min-height: 220px !important;
  }

  .project-visual-logo img {
    width: min(58%, 170px) !important;
  }
}

/* About page cleanup */
.about-page .section {
  padding: clamp(46px, 5vw, 66px) 0;
}

.about-hero {
  padding: clamp(56px, 7vw, 88px) 0 36px;
}

.about-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 94% 8%, rgba(219, 234, 226, 0.82) 0 7.8rem, transparent 7.95rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 247, 0.94));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.6vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.about-hero-copy .hero-lead {
  max-width: 650px;
  margin-bottom: 24px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
}

.about-facts span {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.about-facts strong {
  color: var(--green-950);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.15;
}

.about-facts small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.about-photo-card {
  margin: 0;
  width: 100%;
  max-width: 370px;
  justify-self: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(6, 36, 23, 0.10);
}

.about-photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 20px;
}

.about-photo-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.about-page .content-card {
  padding: clamp(24px, 3vw, 34px);
}

.about-page .services-grid .service-card {
  min-height: 220px;
}

.about-values-section {
  padding: 34px 0 !important;
}

.compact-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-value-card {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.compact-value-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.compact-value-card h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.compact-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .about-hero-card {
    grid-template-columns: 1fr;
  }

  .about-photo-card {
    max-width: 520px;
    justify-self: start;
  }

  .about-photo-card img {
    height: 330px;
  }

  .compact-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding: 34px 0 20px;
  }

  .about-hero-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .about-hero-copy h1 {
    font-size: clamp(2.1rem, 10vw, 3.05rem);
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-photo-card {
    max-width: 100%;
    padding: 10px;
    border-radius: 22px;
  }

  .about-photo-card img {
    height: 280px;
    border-radius: 16px;
  }

  .about-page .services-grid .service-card {
    min-height: 0;
  }
}


/* About page hero final cleanup */
.about-page .about-hero {
  padding: 56px 0 34px !important;
}

.about-page .about-hero-card {
  max-width: 1120px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) 360px !important;
  align-items: center !important;
  gap: clamp(28px, 4vw, 48px) !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border: 1px solid rgba(10, 52, 35, 0.12) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(219, 234, 226, 0.72) 0 7rem, transparent 7.15rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,250,248,0.95)) !important;
  box-shadow: 0 20px 58px rgba(6, 36, 23, 0.08) !important;
  overflow: hidden !important;
}

.about-page .about-hero-copy {
  min-width: 0 !important;
}

.about-page .about-hero-copy h1 {
  max-width: 640px !important;
  margin: 0 0 18px !important;
  font-family: "Lora", Georgia, serif !important;
  font-size: clamp(3rem, 5.2vw, 5.65rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 500 !important;
  color: var(--green-950) !important;
}

.about-page .about-hero-copy .hero-lead {
  max-width: 620px !important;
  margin: 0 0 22px !important;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem) !important;
  line-height: 1.65 !important;
  color: var(--muted) !important;
}

.about-hero-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  max-width: 660px !important;
}

.about-hero-meta span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(10, 52, 35, 0.13) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.82) !important;
  color: var(--green-900) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: normal !important;
}

.about-page .about-photo-card {
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 !important;
  justify-self: end !important;
  padding: 10px !important;
  border: 1px solid rgba(10, 52, 35, 0.12) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(6, 36, 23, 0.10) !important;
}

.about-page .about-photo-card img {
  width: 100% !important;
  height: 390px !important;
  max-height: 390px !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  border-radius: 18px !important;
}

.about-page .about-photo-card figcaption {
  display: none !important;
}

.about-values-section {
  padding: 28px 0 48px !important;
}

.compact-values-grid {
  align-items: stretch !important;
}

.compact-value-card {
  min-height: 0 !important;
  padding: 18px !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .about-page .about-hero-card {
    grid-template-columns: 1fr !important;
  }

  .about-page .about-photo-card {
    justify-self: start !important;
    max-width: 420px !important;
  }

  .about-page .about-photo-card img {
    height: 330px !important;
    max-height: 330px !important;
  }
}

@media (max-width: 640px) {
  .about-page .about-hero {
    padding: 30px 0 22px !important;
  }

  .about-page .about-hero-card {
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .about-page .about-hero-copy h1 {
    font-size: clamp(2.45rem, 14vw, 3.55rem) !important;
  }

  .about-page .about-photo-card {
    max-width: 100% !important;
  }

  .about-page .about-photo-card img {
    height: 270px !important;
  }

  .about-hero-meta span {
    width: 100% !important;
  }
}

/* About section heading polish */
.about-page .split-layout > .section-heading {
  align-self: start;
  padding: clamp(20px, 2.8vw, 28px);
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-left: 4px solid var(--green-700);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(241,248,244,0.76));
  box-shadow: 0 16px 42px rgba(6, 36, 23, 0.06);
}

.about-page .split-layout > .section-heading .eyebrow {
  margin-bottom: 12px;
}

.about-page .split-layout > .section-heading h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.about-page .split-layout > .section-heading .section-note {
  max-width: 460px;
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-page .split-layout > .section-heading {
    padding: 0 0 0 18px;
    border: 0;
    border-left: 4px solid var(--green-700);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}


/* Home hero layout fix: keeps the headline inside the text column on desktop. */
.home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(38px, 4.6vw, 58px);
}

.home-hero .hero-copy,
.home-hero .hero-portrait {
  min-width: 0;
}

.home-hero .hero-copy {
  max-width: 590px;
}

.home-hero h1 {
  max-width: 590px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(3.25rem, 4.85vw, 5.05rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.home-hero h1 span {
  display: block;
}

.home-hero .portrait-card {
  width: min(100%, 390px);
  min-height: 455px;
}

.home-hero .portrait-card img {
  height: 480px;
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero .hero-copy {
    max-width: 760px;
  }

  .home-hero h1 {
    max-width: 760px;
    font-size: clamp(3.1rem, 8vw, 4.8rem);
  }
}

@media (max-width: 760px) {
  .home-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
    letter-spacing: -0.052em;
  }

  .home-hero .portrait-card {
    min-height: 330px;
  }

  .home-hero .portrait-card img {
    height: 350px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: clamp(2.25rem, 11.3vw, 3rem);
  }
}

/* Keep the home portrait card visually consistent after the hero spacing fix. */
.home-hero .portrait-card {
  overflow: hidden;
  border-radius: 34px;
}

.home-hero .portrait-card::before {
  inset: 0;
  border-radius: 34px;
  background: var(--green-900);
  box-shadow: 0 24px 60px rgba(6, 36, 23, 0.16);
}

.home-hero .portrait-card img {
  height: 455px;
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 760px) {
  .home-hero .portrait-card img {
    height: 330px;
  }
}

/* =========================================================
   Home redesign v2
   ========================================================= */
.home-page-v2 {
  background: #f5f6f3;
  color: #111714;
}

.home-page-v2 body,
.home-page-v2 main {
  overflow-x: clip;
}

.home-page-v2 .site-header {
  background: rgba(245, 246, 243, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-monogram {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  color: var(--green-800);
}

.brand-wordmark {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.home-page-v2 .nav {
  min-height: 92px;
}

.home-page-v2 .nav-menu {
  gap: 18px;
}

.home-page-v2 .nav-menu a {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.home-page-v2 .nav-menu a:hover,
.home-page-v2 .nav-menu a:focus-visible {
  color: var(--green-900);
  background: rgba(10, 52, 35, 0.04);
}

.home-page-v2 .nav-menu .nav-contact {
  padding-inline: 22px;
  border-color: rgba(10, 52, 35, 0.16);
  background: linear-gradient(135deg, #0a3423, #145437);
  color: #fff;
  box-shadow: 0 18px 34px rgba(10, 52, 35, 0.18);
}

.home-page-v2 .nav-menu .nav-contact:hover,
.home-page-v2 .nav-menu .nav-contact:focus-visible {
  background: linear-gradient(135deg, #0f4f35, #17683f);
  color: #fff;
}

.home-page-v2 .btn {
  min-height: 54px;
  border-radius: 0;
  padding: 0 26px;
  font-weight: 800;
}

.home-page-v2 .btn-primary {
  background: linear-gradient(135deg, #0b2d1d, #0f5a38);
}

.home-page-v2 .btn-secondary {
  background: transparent;
  border-color: rgba(10, 52, 35, 0.18);
}

.v2-kicker {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.v2-hero {
  padding: 26px 0 0;
}

.v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
  gap: 44px;
  align-items: stretch;
  padding: 26px 0 0;
  min-height: 720px;
  position: relative;
}

.v2-hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(10, 52, 35, 0.08);
  border-bottom: 1px solid rgba(10, 52, 35, 0.08);
  pointer-events: none;
}

.v2-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px) 0 72px;
  max-width: 580px;
}

.v2-hero__title {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 6.35rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.v2-hero__title span {
  display: block;
}

.v2-hero__title .accent {
  color: var(--green-800);
}

.v2-hero__lead {
  max-width: 470px;
  margin: 28px 0 0;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #26342d;
}

.v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.v2-hero__visual {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.v2-hero__bolt {
  position: absolute;
  inset: 12px 30px 40px auto;
  width: min(86%, 560px);
  height: auto;
  z-index: 0;
}

.v2-hero__portrait {
  position: absolute;
  inset: auto 28px 0 auto;
  width: min(86%, 540px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 24px 42px rgba(6, 36, 23, 0.2));
}

.v2-hero__seal {
  position: absolute;
  top: 112px;
  right: 30px;
  width: 122px;
  z-index: 3;
}

.v2-hero__seal img {
  width: 100%;
}

.v2-hero__coords {
  position: absolute;
  right: 28px;
  bottom: 190px;
  z-index: 3;
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.v2-hero__axis {
  position: absolute;
  right: 14px;
  bottom: 115px;
  z-index: 3;
  width: 64px;
  height: 64px;
}

.v2-hero__axis span {
  position: absolute;
  background: rgba(10, 52, 35, 0.4);
}

.v2-hero__axis span:nth-child(1) {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.v2-hero__axis span:nth-child(2) {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.v2-hero__axis span:nth-child(3) {
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(10, 52, 35, 0.4);
  background: rgba(255,255,255,0.9);
}

.v2-showcase {
  padding: 0;
}

.v2-showcase__grid {
  display: grid;
  grid-template-columns: 0.42fr 1.06fr 0.68fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid rgba(10, 52, 35, 0.08);
  border-bottom: 1px solid rgba(10, 52, 35, 0.08);
}

.v2-showcase__intro,
.v2-showcase__cards,
.v2-showcase__about {
  min-width: 0;
}

.v2-showcase__intro {
  padding: 46px 24px 38px 0;
}

.v2-showcase__intro h2,
.v2-services__head h2 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.v2-showcase__intro h2 em {
  color: var(--green-700);
  font-style: italic;
  font-weight: 500;
  font-family: "Lora", Georgia, serif;
}

.v2-showcase__cards {
  display: flex;
  align-items: end;
  gap: 20px;
  padding: 54px 22px 30px;
  overflow: visible;
}

.v2-project-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 388px;
  padding: 14px;
  color: inherit;
  background: #0a0f0c;
  border: 1px solid rgba(10, 52, 35, 0.16);
  box-shadow: 0 24px 52px rgba(6, 36, 23, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.v2-project-card:hover,
.v2-project-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(6, 36, 23, 0.18);
  outline: none;
}

.v2-project-card.is-raised {
  transform: translateY(-26px) rotate(-1.5deg);
}

.v2-project-card.is-dark {
  transform: translateY(6px) rotate(-2deg);
}

.v2-project-card.is-light {
  transform: translateY(14px) rotate(-1deg);
  background: #f7f7f3;
}

.v2-project-card.is-light .v2-project-card__body,
.v2-project-card.is-light .v2-project-card__body h3,
.v2-project-card.is-light .v2-project-card__body p,
.v2-project-card.is-light .v2-project-card__arrow {
  color: #0a3423;
}

.v2-project-card__media {
  overflow: hidden;
}

.v2-project-card__media img {
  width: 100%;
  display: block;
}

.v2-project-card__body {
  display: grid;
  gap: 8px;
  padding: 14px 6px 4px;
  color: #fff;
}

.v2-project-card__body h3 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.v2-project-card__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.v2-project-card__arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  font-size: 1rem;
  background: rgba(255,255,255,0.06);
}

.v2-showcase__about {
  padding: 44px 34px 38px;
  background: linear-gradient(145deg, #0a3423 0%, #0e5a38 52%, #082a1c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.v2-showcase__about::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.v2-showcase__about h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 700;
}

.v2-showcase__about p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
}

.text-link-light {
  color: #fff;
  margin-top: 28px;
}

.v2-services {
  padding: 44px 0 0;
}

.v2-services .container {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(10, 52, 35, 0.08);
}

.v2-services__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.v2-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(10, 52, 35, 0.08);
}

.v2-service-card {
  min-height: 210px;
  padding: 26px 22px 24px;
  border-right: 1px solid rgba(10, 52, 35, 0.08);
}

.v2-service-card:last-child {
  border-right: 0;
}

.v2-service-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #0a3423;
  color: #fff;
}

.v2-service-card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v2-service-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.v2-service-card p {
  margin: 0;
  color: #405048;
  line-height: 1.65;
}

/* Structured dark footer */
.v2-footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  margin-top: 0;
  color: #fff;
  border-top: 0;
  background: #04140d url('/assets/footer-texture.svg') center/cover no-repeat;
}

.v2-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 13, 0.95), rgba(4, 20, 13, 0.84) 50%, rgba(4, 20, 13, 0.96)),
    radial-gradient(circle at 24% 0%, rgba(45, 195, 116, 0.16), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(45, 195, 116, 0.12), transparent 34%);
  pointer-events: none;
}

.v2-footer__inner,
.v2-footer__bottom {
  position: relative;
  z-index: 1;
}

.v2-footer__inner {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(460px, 1.45fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: start;
  padding: clamp(56px, 6vw, 84px) 0 clamp(42px, 5vw, 66px);
}

.v2-footer__cta {
  max-width: 430px;
}

.v2-footer__eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-footer__cta h2 {
  max-width: 420px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 4.05rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.v2-footer__cta p:not(.v2-footer__eyebrow) {
  max-width: 370px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.v2-footer .btn {
  min-height: 52px;
  border-radius: 0;
  padding: 0 26px;
  background: rgba(32, 143, 87, 0.9);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.v2-footer .btn:hover,
.v2-footer .btn:focus-visible {
  background: #2aa769;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28);
}

.v2-footer__nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(220px, 1.1fr);
  gap: clamp(28px, 4vw, 58px);
  padding-top: 8px;
}

.v2-footer__column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.v2-footer__column h3 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-footer__column a,
.v2-footer__column span {
  width: fit-content;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.v2-footer__column a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.v2-footer__column a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.v2-footer__column a:hover,
.v2-footer__column a:focus-visible {
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

.v2-footer__column a:hover::after,
.v2-footer__column a:focus-visible::after {
  opacity: 0.42;
  transform: scaleX(1);
}


.v2-footer__monogram {
  position: absolute;
  z-index: 0;
  right: max(-18px, -1.2vw);
  bottom: clamp(56px, 6vw, 90px);
  font-size: clamp(7rem, 13vw, 11rem);
  line-height: 0.76;
  font-weight: 900;
  letter-spacing: -0.13em;
  color: rgba(47, 184, 112, 0.24);
  pointer-events: none;
  user-select: none;
}

.v2-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.v2-footer__brand {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.v2-footer__brand:hover,
.v2-footer__brand:focus-visible {
  color: #fff;
  outline: none;
}

.v2-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

@media (max-width: 1160px) {
  .v2-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .v2-hero__copy {
    max-width: 100%;
    padding-bottom: 10px;
  }

  .v2-hero__lead {
    max-width: 640px;
  }

  .v2-hero__visual {
    min-height: 580px;
  }

  .v2-showcase__grid {
    grid-template-columns: 1fr;
  }

  .v2-showcase__intro {
    padding-right: 0;
  }

  .v2-showcase__cards {
    padding: 12px 0 10px;
  }

  .v2-showcase__about {
    margin-top: 24px;
  }

  .v2-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-service-card:nth-child(2) {
    border-right: 0;
  }

  .v2-service-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(10, 52, 35, 0.08);
  }

  .v2-footer__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 42px;
  }

  .v2-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-footer__monogram {
    right: -18px;
    bottom: 42px;
    font-size: clamp(6.5rem, 17vw, 9.5rem);
  }
}

@media (max-width: 860px) {
  .home-page-v2 .nav-menu {
    gap: 12px;
  }

  .home-page-v2 .nav-menu a {
    border-radius: 14px;
  }

  .v2-hero {
    padding-top: 12px;
  }

  .v2-hero__title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .v2-hero__visual {
    min-height: 450px;
  }

  .v2-hero__bolt {
    inset: 20px 50% 0 auto;
    transform: translateX(32%);
    width: min(90%, 420px);
  }

  .v2-hero__portrait {
    width: min(92%, 420px);
    right: 0;
  }

  .v2-hero__seal {
    top: 34px;
    right: 0;
    width: 96px;
  }

  .v2-hero__coords {
    right: 0;
    bottom: 112px;
    font-size: 0.82rem;
  }

  .v2-hero__axis {
    right: -6px;
    bottom: 50px;
  }

  .v2-showcase__cards {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .v2-project-card,
  .v2-project-card.is-dark,
  .v2-project-card.is-light,
  .v2-project-card.is-raised {
    transform: none;
    min-height: 0;
  }

  .v2-services__head,
  .v2-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .v2-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-page-v2 .container {
    width: min(100% - 26px, var(--container));
  }

  .brand-monogram {
    font-size: 1.7rem;
  }

  .brand-wordmark {
    font-size: 0.98rem;
  }

  .home-page-v2 .nav {
    min-height: 78px;
  }

  .v2-hero__copy {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .v2-hero__lead {
    font-size: 1rem;
  }

  .v2-hero__visual {
    min-height: 380px;
  }

  .v2-showcase__intro h2,
  .v2-services__head h2,
  .v2-showcase__about h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .v2-services__grid {
    grid-template-columns: 1fr;
  }

  .v2-service-card {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 52, 35, 0.08);
  }

  .v2-service-card:last-child {
    border-bottom: 0;
  }

  .v2-footer__inner {
    padding: 46px 0 34px;
    gap: 34px;
  }

  .v2-footer__cta h2 {
    font-size: clamp(2rem, 11vw, 3.05rem);
  }

  .v2-footer__nav {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .v2-footer__monogram {
    right: -6px;
    bottom: 30px;
    font-size: 5.8rem;
    color: rgba(47, 184, 112, 0.24);
  }
}


/* Homepage polish round 1 */
.home-page-v2 .brand-mark {
  gap: 0;
}

.home-page-v2 .brand-monogram {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--green-900);
}

.home-page-v2 .brand-wordmark {
  display: none;
}

.home-page-v2 .v2-hero {
  padding-top: 4px;
}

.home-page-v2 .v2-hero__grid {
  padding-top: 6px;
  min-height: 660px;
}

.home-page-v2 .v2-hero__copy {
  justify-content: flex-start;
  padding-top: 28px;
  padding-bottom: 48px;
}

.home-page-v2 .v2-hero__visual {
  min-height: 660px;
}

@media (max-width: 1160px) {
  .home-page-v2 .v2-hero__grid {
    min-height: 0;
    padding-top: 0;
  }

  .home-page-v2 .v2-hero__copy {
    padding-top: 8px;
    padding-bottom: 0;
  }

  .home-page-v2 .v2-hero__visual {
    min-height: 560px;
  }
}

@media (max-width: 860px) {
  .home-page-v2 .brand-monogram {
    font-size: 1.32rem;
  }

  .home-page-v2 .v2-hero {
    padding-top: 0;
  }

  .home-page-v2 .v2-hero__copy {
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .home-page-v2 .brand-monogram {
    font-size: 1.12rem;
  }

  .home-page-v2 .v2-hero__copy {
    padding-top: 14px;
  }
}


/* Homepage polish round 2: hero portrait integration */
.home-page-v2 .v2-hero__visual {
  --v2-hero-visual-floor: 0px;
  min-height: 660px;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: visible;
}

.home-page-v2 .v2-hero__bolt {
  inset: auto 0 var(--v2-hero-visual-floor) auto;
  width: min(103%, 552px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  transform: translateX(-8px);
}

.home-page-v2 .v2-hero__portrait {
  inset: auto 22px var(--v2-hero-visual-floor) auto;
  width: auto;
  height: min(88%, 610px);
  max-height: 610px;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  filter: drop-shadow(0 28px 44px rgba(6, 36, 23, 0.22));
}

.home-page-v2 .v2-hero__seal,
.home-page-v2 .v2-hero__coords,
.home-page-v2 .v2-hero__axis {
  display: none !important;
}

@media (max-width: 1160px) {
  .home-page-v2 .v2-hero__visual {
    min-height: 540px;
  }

  .home-page-v2 .v2-hero__bolt {
    width: min(103%, 452px);
    max-width: none;
    inset: auto 2% var(--v2-hero-visual-floor) auto;
  }

  .home-page-v2 .v2-hero__portrait {
    right: max(0px, 4vw);
    height: min(88%, 520px);
    max-height: 520px;
  }
}

@media (max-width: 860px) {
  .home-page-v2 .v2-hero__visual {
    min-height: 430px;
  }

  .home-page-v2 .v2-hero__bolt {
    width: min(96%, 360px);
    max-width: none;
    inset: auto 50% var(--v2-hero-visual-floor) auto;
    transform: translateX(42%);
  }

  .home-page-v2 .v2-hero__portrait {
    right: 50%;
    transform: translateX(52%);
    height: min(90%, 405px);
    max-height: 405px;
  }
}

@media (max-width: 640px) {
  .home-page-v2 .v2-hero__visual {
    min-height: 350px;
  }

  .home-page-v2 .v2-hero__portrait {
    height: min(90%, 330px);
    max-height: 330px;
  }

  .home-page-v2 .v2-hero__bolt {
    width: min(98%, 300px);
    max-width: none;
  }
}


/* Hero polish: remove lead/kicker and improve title spacing */
.home-page-v2 .v2-hero__copy {
  padding-top: 54px;
  gap: 0;
}

.home-page-v2 .v2-hero__title {
  font-size: clamp(4rem, 7.35vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 0;
}

.home-page-v2 .v2-hero__actions {
  margin-top: 42px;
}

.home-page-v2 .v2-hero__lead,
.home-page-v2 .v2-hero > .container > .v2-kicker,
.home-page-v2 .v2-hero__copy > .v2-kicker {
  display: none !important;
}

@media (max-width: 1160px) {
  .home-page-v2 .v2-hero__copy {
    padding-top: 28px;
  }

  .home-page-v2 .v2-hero__title {
    line-height: 0.96;
  }
}

@media (max-width: 860px) {
  .home-page-v2 .v2-hero__copy {
    padding-top: 18px;
  }

  .home-page-v2 .v2-hero__title {
    font-size: clamp(3.2rem, 11vw, 4.9rem);
    line-height: 0.95;
  }

  .home-page-v2 .v2-hero__actions {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .home-page-v2 .v2-hero__title {
    font-size: clamp(2.9rem, 15vw, 4.2rem);
    line-height: 0.94;
  }
}


/* Showcase section fix: match the intended landing-page composition */
.home-page-v2 .v2-hero__grid {
  overflow: hidden;
}

.home-page-v2 .v2-showcase {
  position: relative;
  z-index: 2;
  padding: 0;
  background: #f5f6f3;
}

.home-page-v2 .v2-showcase .container {
  width: min(100% - 40px, 1260px);
}

.home-page-v2 .v2-showcase__grid {
  display: grid;
  grid-template-columns: 255px minmax(560px, 1fr) 360px;
  gap: 0;
  align-items: stretch;
  min-height: 470px;
  border-top: 1px solid rgba(10, 52, 35, 0.10);
  border-bottom: 1px solid rgba(10, 52, 35, 0.10);
  background:
    radial-gradient(circle at 58% 46%, rgba(10, 52, 35, 0.06), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,0.46), rgba(255,255,255,0.08));
}

.home-page-v2 .v2-showcase__intro {
  padding: 52px 26px 42px 0;
  align-self: start;
}

.home-page-v2 .v2-showcase__intro .v2-kicker {
  margin-bottom: 20px;
  color: var(--green-900);
}

.home-page-v2 .v2-showcase__intro h2 {
  max-width: 245px;
  font-size: clamp(2.55rem, 3.55vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  color: var(--green-950);
}

.home-page-v2 .v2-showcase__intro h2 em {
  display: block;
  color: var(--green-700);
  font-size: 1.06em;
  line-height: 0.95;
}

.home-page-v2 .v2-showcase__intro .text-link {
  margin-top: 10px;
  color: var(--green-800);
}

.home-page-v2 .v2-showcase__cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  padding: 82px 22px 32px;
  overflow: visible;
}

.home-page-v2 .v2-project-card,
.home-page-v2 .v2-project-card.is-dark,
.home-page-v2 .v2-project-card.is-light,
.home-page-v2 .v2-project-card.is-raised {
  min-width: 0;
  min-height: 315px;
  display: grid;
  grid-template-rows: 138px 1fr;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(10, 52, 35, 0.12);
  box-shadow: 0 22px 46px rgba(6, 36, 23, 0.14);
  transform: none;
}

.home-page-v2 .v2-project-card.is-dark {
  background: #07110d;
  color: #fff;
}

.home-page-v2 .v2-project-card.is-raised {
  transform: translateY(-24px);
  background: #090d0b;
  color: #fff;
  z-index: 2;
}

.home-page-v2 .v2-project-card.is-light {
  background: #fff;
  color: var(--green-950);
}

.home-page-v2 .v2-project-card:hover,
.home-page-v2 .v2-project-card:focus-visible {
  transform: translateY(-8px);
  outline: none;
  box-shadow: 0 30px 70px rgba(6, 36, 23, 0.18);
}

.home-page-v2 .v2-project-card.is-raised:hover,
.home-page-v2 .v2-project-card.is-raised:focus-visible {
  transform: translateY(-30px);
}

.home-page-v2 .v2-project-card__media {
  height: 138px;
  overflow: hidden;
}

.home-page-v2 .v2-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page-v2 .v2-project-card__body {
  padding: 18px 18px 44px;
  gap: 9px;
}

.home-page-v2 .v2-project-card__body h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: inherit;
}

.home-page-v2 .v2-project-card__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.home-page-v2 .v2-project-card.is-light .v2-project-card__body p {
  color: #3E4E46;
}

.home-page-v2 .v2-project-card__arrow {
  right: 14px;
  bottom: 14px;
  width: 32px;
  height: 32px;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

.home-page-v2 .v2-project-card.is-light .v2-project-card__arrow {
  color: var(--green-950);
  border-color: rgba(10, 52, 35, 0.16);
  background: rgba(10, 52, 35, 0.04);
}

.home-page-v2 .v2-showcase__about {
  margin: 0;
  min-width: 0;
  min-height: 470px;
  padding: 52px 38px 38px;
  justify-content: center;
  background: linear-gradient(145deg, #0a3423 0%, #0f5b38 62%, #07301f 100%);
  color: #fff;
}

.home-page-v2 .v2-showcase__about .v2-kicker {
  color: rgba(255,255,255,0.88);
}

.home-page-v2 .v2-showcase__about h2 {
  margin: 0 0 22px;
  color: #fff !important;
  font-size: clamp(2.15rem, 2.85vw, 3.18rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.home-page-v2 .v2-showcase__about p {
  max-width: 330px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}

.home-page-v2 .v2-showcase__about .text-link {
  color: #fff;
}

@media (max-width: 1220px) {
  .home-page-v2 .v2-showcase .container {
    width: min(100% - 34px, 1120px);
  }

  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 245px minmax(500px, 1fr) 330px;
  }

  .home-page-v2 .v2-showcase__cards {
    gap: 14px;
    padding-inline: 18px;
  }

  .home-page-v2 .v2-project-card__body {
    padding-inline: 15px;
  }
}

@media (max-width: 1040px) {
  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .home-page-v2 .v2-showcase__intro {
    padding: 42px 0 22px;
  }

  .home-page-v2 .v2-showcase__intro h2 {
    max-width: 640px;
  }

  .home-page-v2 .v2-showcase__intro h2 em {
    display: inline;
  }

  .home-page-v2 .v2-showcase__cards {
    padding: 14px 0 34px;
  }

  .home-page-v2 .v2-showcase__about {
    min-height: 0;
    padding: 34px;
  }
}

@media (max-width: 760px) {
  .home-page-v2 .v2-showcase .container {
    width: min(100% - 26px, 1120px);
  }

  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-light,
  .home-page-v2 .v2-project-card.is-raised {
    min-height: 0;
    grid-template-rows: 160px 1fr;
    transform: none;
  }

  .home-page-v2 .v2-project-card:hover,
  .home-page-v2 .v2-project-card:focus-visible,
  .home-page-v2 .v2-project-card.is-raised:hover,
  .home-page-v2 .v2-project-card.is-raised:focus-visible {
    transform: translateY(-5px);
  }

  .home-page-v2 .v2-showcase__about {
    padding: 28px 22px;
  }
}


/* Project cards polish: Švietėjas + AtsinaujinAI */
.home-page-v2 .v2-showcase__grid {
  grid-template-columns: 255px minmax(520px, 1fr) 360px;
}

.home-page-v2 .v2-showcase__cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 72px 34px 34px;
}

.home-page-v2 .v2-project-card,
.home-page-v2 .v2-project-card.is-dark,
.home-page-v2 .v2-project-card.is-raised {
  grid-template-rows: 176px 1fr;
  min-height: 354px;
  background: #050806;
  color: #fff;
  transform: none;
}

.home-page-v2 .v2-project-card.is-raised {
  transform: translateY(-22px);
}

.home-page-v2 .v2-project-card.is-raised:hover,
.home-page-v2 .v2-project-card.is-raised:focus-visible {
  transform: translateY(-30px);
}

.home-page-v2 .v2-project-card__media {
  height: 176px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px;
  overflow: hidden;
}

.home-page-v2 .v2-project-card__media::before,
.home-page-v2 .v2-project-card__media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-page-v2 .v2-project-card__media::before {
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
}

.home-page-v2 .v2-project-card__media::after {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.home-page-v2 .project-logo-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0,0,0,0.24));
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media {
  background:
    radial-gradient(circle at 18% 74%, rgba(63, 190, 124, 0.34), transparent 12rem),
    radial-gradient(circle at 84% 18%, rgba(219, 234, 226, 0.18), transparent 14rem),
    linear-gradient(135deg, #020805 0%, #052416 48%, #0f5b38 100%);
}

.home-page-v2 .project-logo-svietejas {
  max-width: 122px;
  max-height: 122px;
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media {
  background:
    radial-gradient(circle at 20% 80%, rgba(42, 120, 255, 0.34), transparent 13rem),
    radial-gradient(circle at 86% 18%, rgba(132, 75, 255, 0.38), transparent 12rem),
    linear-gradient(135deg, #02040B 0%, #061128 48%, #101A48 100%);
}

.home-page-v2 .project-logo-atsinaujinai {
  max-width: 96%;
  max-height: 82px;
}

.home-page-v2 .v2-project-card__body {
  background: #050806;
  color: #fff;
  padding: 20px 20px 48px;
}

.home-page-v2 .v2-project-card__body h3 {
  color: #fff;
}

.home-page-v2 .v2-project-card__body p {
  color: rgba(255,255,255,0.78);
}

.home-page-v2 .v2-project-card__arrow {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

@media (max-width: 1040px) {
  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-showcase__cards {
    padding: 16px 0 36px;
  }
}

@media (max-width: 760px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-raised {
    transform: none;
    grid-template-rows: 170px 1fr;
  }

  .home-page-v2 .v2-project-card:hover,
  .home-page-v2 .v2-project-card:focus-visible,
  .home-page-v2 .v2-project-card.is-raised:hover,
  .home-page-v2 .v2-project-card.is-raised:focus-visible {
    transform: translateY(-5px);
  }
}


/* Project cards polish v3: wider cards, stronger brand visuals */
.home-page-v2 .v2-showcase .container {
  width: min(100% - 40px, 1360px);
}

.home-page-v2 .v2-showcase__grid {
  grid-template-columns: 235px minmax(650px, 1fr) 330px;
  min-height: 500px;
}

.home-page-v2 .v2-showcase__intro {
  padding-right: 18px;
}

.home-page-v2 .v2-showcase__intro h2 {
  max-width: 230px;
  font-size: clamp(2.45rem, 3.25vw, 3.28rem);
}

.home-page-v2 .v2-showcase__cards {
  grid-template-columns: repeat(2, minmax(285px, 1fr));
  gap: 30px;
  padding: 66px 34px 40px;
  align-items: end;
}

.home-page-v2 .v2-project-card,
.home-page-v2 .v2-project-card.is-dark,
.home-page-v2 .v2-project-card.is-raised {
  grid-template-rows: 218px 1fr;
  min-height: 418px;
  box-shadow: 0 28px 64px rgba(6, 36, 23, 0.17);
}

.home-page-v2 .v2-project-card.is-raised {
  transform: translateY(-20px);
}

.home-page-v2 .v2-project-card.is-raised:hover,
.home-page-v2 .v2-project-card.is-raised:focus-visible {
  transform: translateY(-28px);
}

.home-page-v2 .v2-project-card__media {
  height: 218px;
  padding: 28px;
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(249, 163, 45, 0.52), transparent 6.2rem),
    radial-gradient(circle at 50% 48%, rgba(255, 236, 184, 0.38), transparent 8rem),
    radial-gradient(circle at 18% 74%, rgba(63, 190, 124, 0.36), transparent 12rem),
    radial-gradient(circle at 84% 18%, rgba(249, 163, 45, 0.20), transparent 14rem),
    linear-gradient(135deg, #020805 0%, #062717 48%, #0f5b38 100%);
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media::after {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -100px;
  background: rgba(249, 163, 45, 0.12);
}

.home-page-v2 .project-logo-svietejas {
  max-width: 154px;
  max-height: 154px;
  filter:
    drop-shadow(0 18px 24px rgba(0,0,0,0.30))
    drop-shadow(0 0 26px rgba(249, 163, 45, 0.26));
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(85, 118, 255, 0.52), transparent 8.5rem),
    radial-gradient(circle at 82% 22%, rgba(151, 87, 255, 0.54), transparent 11.5rem),
    radial-gradient(circle at 16% 80%, rgba(47, 135, 255, 0.40), transparent 13rem),
    linear-gradient(135deg, #01030A 0%, #06122C 50%, #11154D 100%);
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media::after {
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  background: rgba(111, 83, 255, 0.18);
}

.home-page-v2 .project-logo-atsinaujinai {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 25px rgba(0,0,0,0.30))
    drop-shadow(0 0 30px rgba(86, 116, 255, 0.34));
}

.home-page-v2 .v2-project-card__body {
  padding: 24px 24px 54px;
  background:
    linear-gradient(180deg, #050806 0%, #020403 100%);
}

.home-page-v2 .v2-project-card__body h3 {
  font-size: clamp(1.28rem, 1.6vw, 1.68rem);
}

.home-page-v2 .v2-project-card__body p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.home-page-v2 .v2-showcase__about {
  min-height: 500px;
  padding: 46px 34px 36px;
}

.home-page-v2 .v2-showcase__about h2 {
  font-size: clamp(2rem, 2.55vw, 2.82rem);
  line-height: 1.06;
}

.home-page-v2 .v2-showcase__about p {
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 1220px) {
  .home-page-v2 .v2-showcase .container {
    width: min(100% - 34px, 1180px);
  }

  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 230px minmax(560px, 1fr) 315px;
  }

  .home-page-v2 .v2-showcase__cards {
    gap: 22px;
    padding-inline: 24px;
  }
}

@media (max-width: 1040px) {
  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-showcase__intro h2 {
    max-width: 680px;
  }

  .home-page-v2 .v2-showcase__cards {
    padding: 16px 0 36px;
  }

  .home-page-v2 .v2-showcase__about {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    grid-template-rows: 190px 1fr;
    min-height: 0;
    transform: none;
  }

  .home-page-v2 .v2-project-card__media {
    height: 190px;
  }

  .home-page-v2 .project-logo-svietejas {
    max-width: 132px;
    max-height: 132px;
  }

  .home-page-v2 .project-logo-atsinaujinai {
    max-height: 76px;
  }
}


/* Project cards v4: narrower cards + refreshed media backgrounds */
.home-page-v2 .v2-showcase__grid {
  grid-template-columns: 255px minmax(520px, 1fr) 360px;
}

.home-page-v2 .v2-showcase__cards {
  grid-template-columns: repeat(2, minmax(230px, 285px));
  justify-content: center;
  align-items: end;
  gap: 24px;
  padding: 68px 28px 38px;
}

.home-page-v2 .v2-project-card,
.home-page-v2 .v2-project-card.is-dark,
.home-page-v2 .v2-project-card.is-raised {
  width: 100%;
  max-width: 285px;
  min-height: 374px;
  grid-template-rows: 168px 1fr;
  box-shadow: 0 24px 52px rgba(6, 36, 23, 0.15);
}

.home-page-v2 .v2-project-card.is-raised {
  transform: translateY(-18px);
}

.home-page-v2 .v2-project-card.is-raised:hover,
.home-page-v2 .v2-project-card.is-raised:focus-visible {
  transform: translateY(-26px);
}

.home-page-v2 .v2-project-card__media {
  height: 168px;
  padding: 22px;
}

.home-page-v2 .v2-project-card__media::before {
  opacity: 0.22;
  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.home-page-v2 .v2-project-card__media::after {
  width: 210px;
  height: 210px;
  right: -82px;
  top: -88px;
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 45%, rgba(234, 116, 6, 0.42), transparent 5.6rem),
    radial-gradient(circle at 50% 45%, rgba(255, 226, 163, 0.24), transparent 7.2rem),
    radial-gradient(circle at 10% 100%, rgba(32, 138, 84, 0.34), transparent 9.5rem),
    linear-gradient(135deg, #021009 0%, #06321f 55%, #0d5132 100%);
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media::after {
  background: rgba(234, 116, 6, 0.12);
}

.home-page-v2 .project-logo-svietejas {
  max-width: 118px;
  max-height: 118px;
  filter:
    drop-shadow(0 14px 22px rgba(0,0,0,0.32))
    drop-shadow(0 0 22px rgba(234, 116, 6, 0.26));
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(94, 82, 255, 0.38), transparent 6.2rem),
    radial-gradient(circle at 80% 20%, rgba(144, 74, 255, 0.36), transparent 7.8rem),
    radial-gradient(circle at 15% 82%, rgba(38, 111, 255, 0.30), transparent 8.5rem),
    linear-gradient(135deg, #01030a 0%, #06102a 54%, #11104a 100%);
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media::after {
  background: rgba(98, 92, 255, 0.13);
}

.home-page-v2 .project-logo-atsinaujinai {
  max-width: 118px;
  max-height: 86px;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 22px rgba(0,0,0,0.34))
    drop-shadow(0 0 22px rgba(97, 118, 255, 0.34));
}

.home-page-v2 .v2-project-card__body {
  padding: 20px 20px 50px;
}

.home-page-v2 .v2-project-card__body h3 {
  font-size: clamp(1.18rem, 1.45vw, 1.45rem);
  line-height: 1.08;
}

.home-page-v2 .v2-project-card__body p {
  font-size: 0.93rem;
  line-height: 1.58;
}

@media (max-width: 1220px) {
  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 240px minmax(500px, 1fr) 330px;
  }

  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: repeat(2, minmax(220px, 265px));
    gap: 20px;
    padding-inline: 24px;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 265px;
  }
}

@media (max-width: 1040px) {
  .home-page-v2 .v2-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-showcase__cards {
    padding: 16px 0 36px;
    grid-template-columns: repeat(2, minmax(240px, 300px));
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 300px;
  }
}

@media (max-width: 760px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 100%;
    min-height: 0;
    grid-template-rows: 170px 1fr;
    transform: none;
  }

  .home-page-v2 .v2-project-card__media {
    height: 170px;
  }

  .home-page-v2 .project-logo-svietejas {
    max-width: 120px;
    max-height: 120px;
  }

  .home-page-v2 .project-logo-atsinaujinai {
    max-width: 120px;
    max-height: 88px;
  }
}


/* Project cards v5: neutral Švietėjas media + cleaned AtsinaujinAI mark */
.home-page-v2 .v2-showcase__cards {
  grid-template-columns: repeat(2, minmax(232px, 280px));
  justify-content: center;
  gap: 22px;
}

.home-page-v2 .v2-project-card,
.home-page-v2 .v2-project-card.is-dark,
.home-page-v2 .v2-project-card.is-raised {
  max-width: 280px;
  grid-template-rows: 160px 1fr;
  min-height: 368px;
}

.home-page-v2 .v2-project-card__media {
  height: 160px;
  padding: 20px;
}

.home-page-v2 .v2-project-card__media::before {
  opacity: 0.18;
}

.home-page-v2 .v2-project-card__media::after {
  width: 190px;
  height: 190px;
  right: -70px;
  top: -78px;
}

/* Švietėjas: no green theme, use logo colors: cream, orange, warm paper */
.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 47%, rgba(255, 148, 32, 0.46), transparent 4.4rem),
    radial-gradient(circle at 50% 47%, rgba(255, 230, 173, 0.52), transparent 6.7rem),
    radial-gradient(circle at 18% 90%, rgba(177, 78, 13, 0.12), transparent 8rem),
    linear-gradient(135deg, #fff4d6 0%, #f6d28b 42%, #e58a28 100%);
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media::before {
  background:
    linear-gradient(rgba(96, 40, 7, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 40, 7, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.20;
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__media::after {
  background: rgba(255, 248, 228, 0.36);
}

.home-page-v2 .project-logo-svietejas {
  max-width: 126px;
  max-height: 126px;
  filter:
    drop-shadow(0 14px 20px rgba(87, 35, 4, 0.24))
    drop-shadow(0 0 20px rgba(255, 245, 215, 0.36));
}

/* AtsinaujinAI: keep dark tech mood, but no black logo box */
.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media {
  background:
    radial-gradient(circle at 50% 48%, rgba(92, 110, 255, 0.38), transparent 5.4rem),
    radial-gradient(circle at 78% 20%, rgba(130, 75, 255, 0.34), transparent 7.2rem),
    radial-gradient(circle at 16% 84%, rgba(38, 118, 255, 0.24), transparent 7.8rem),
    linear-gradient(135deg, #020510 0%, #091433 54%, #15104b 100%);
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media::before {
  background:
    linear-gradient(rgba(120, 145, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 145, 255, 0.08) 1px, transparent 1px);
  background-size: 25px 25px;
  opacity: 0.22;
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__media::after {
  background: rgba(101, 83, 255, 0.17);
}

.home-page-v2 .project-logo-atsinaujinai {
  max-width: 122px;
  max-height: 92px;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 24px rgba(0,0,0,0.32))
    drop-shadow(0 0 24px rgba(105, 125, 255, 0.34));
}

/* Body remains black, but gets a subtle premium separation line per brand */
.home-page-v2 .v2-project-card__body {
  background: linear-gradient(180deg, #050806 0%, #020403 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.home-page-v2 .v2-project-card.is-svietejas .v2-project-card__body {
  box-shadow: inset 0 2px 0 rgba(229, 138, 40, 0.30);
}

.home-page-v2 .v2-project-card.is-atsinaujinai .v2-project-card__body {
  box-shadow: inset 0 2px 0 rgba(96, 124, 255, 0.32);
}

.home-page-v2 .v2-project-card__body h3 {
  font-size: 1.34rem;
}

.home-page-v2 .v2-project-card__body p {
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 1220px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: repeat(2, minmax(220px, 265px));
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 265px;
  }
}

@media (max-width: 1040px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: repeat(2, minmax(240px, 292px));
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 292px;
  }
}

@media (max-width: 760px) {
  .home-page-v2 .v2-showcase__cards {
    grid-template-columns: 1fr;
  }

  .home-page-v2 .v2-project-card,
  .home-page-v2 .v2-project-card.is-dark,
  .home-page-v2 .v2-project-card.is-raised {
    max-width: 100%;
    grid-template-rows: 168px 1fr;
  }

  .home-page-v2 .v2-project-card__media {
    height: 168px;
  }
}

/* Footer refinement v2 — sharper structure, stronger directory */
.v2-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  color: #fff;
  border-top: 0;
  background: #04140d url('/assets/footer-texture.svg') center/cover no-repeat;
  isolation: isolate;
}

.v2-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 20, 13, 0.97), rgba(4, 20, 13, 0.86) 48%, rgba(4, 20, 13, 0.97)),
    radial-gradient(circle at 18% 0%, rgba(45, 195, 116, 0.14), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(45, 195, 116, 0.10), transparent 34%);
  pointer-events: none;
}

.v2-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 20%, rgba(0,0,0,0.16));
  pointer-events: none;
}

.v2-footer__inner,
.v2-footer__bottom {
  position: relative;
  z-index: 1;
}

.v2-footer__inner {
  min-height: 372px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.42fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
  padding: clamp(58px, 6vw, 78px) 0 clamp(48px, 5vw, 64px);
}

.v2-footer__cta {
  min-width: 0;
  max-width: 455px;
  padding-top: 2px;
}

.v2-footer__eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.v2-footer__cta h2 {
  max-width: 440px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.05rem, 3.35vw, 3.55rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.v2-footer__cta p:not(.v2-footer__eyebrow) {
  max-width: 405px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.65;
}

.v2-footer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.v2-footer .btn {
  min-height: 52px;
  border-radius: 0;
  padding: 0 26px;
  background: rgba(31, 145, 86, 0.94);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.23);
}

.v2-footer .btn:hover,
.v2-footer .btn:focus-visible {
  background: #2aa769;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.30);
}



.v2-footer__nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(18px, 2.6vw, 34px);
  min-width: 0;
  width: 100%;
  margin-top: 0;
  padding: clamp(24px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.095);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(3, 17, 11, 0.28);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.16);
}

.v2-footer__nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(47, 184, 112, 0.92), rgba(47, 184, 112, 0.10));
}

.v2-footer__column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
}

.v2-footer__column h3 {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.15;
  text-transform: uppercase;
}

.v2-footer__column a,
.v2-footer__column span {
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.v2-footer__column a {
  position: relative;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.v2-footer__column a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.v2-footer__column a:hover,
.v2-footer__column a:focus-visible {
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

.v2-footer__column a:hover::after,
.v2-footer__column a:focus-visible::after {
  opacity: 0.42;
  transform: scaleX(1);
}


.v2-footer__monogram {
  position: absolute;
  z-index: 0;
  right: max(-8px, -0.4vw);
  bottom: clamp(74px, 7vw, 112px);
  font-size: clamp(6.3rem, 10.2vw, 9.6rem);
  line-height: 0.76;
  font-weight: 900;
  letter-spacing: -0.13em;
  color: rgba(47, 184, 112, 0.15);
  pointer-events: none;
  user-select: none;
}

.v2-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.v2-footer__brand {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.v2-footer__brand:hover,
.v2-footer__brand:focus-visible,
.v2-footer__bottom-links a:hover,
.v2-footer__bottom-links a:focus-visible {
  color: #fff;
  outline: none;
}

.v2-footer__bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.v2-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease;
}

.v2-footer__bottom p {
  justify-self: end;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .v2-footer__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
  }

  .v2-footer__cta {
    max-width: 620px;
  }

  .v2-footer__cta h2 {
    max-width: 580px;
  }

  .v2-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v2-footer__monogram {
    right: 12px;
    bottom: 76px;
    font-size: clamp(6rem, 14vw, 8.5rem);
  }
}

@media (max-width: 900px) {
  .v2-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .v2-footer__bottom-links {
    justify-content: flex-start;
  }

  .v2-footer__bottom p {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .v2-footer__inner {
    padding: 46px 0 34px;
    gap: 32px;
  }

  .v2-footer__cta h2 {
    max-width: 360px;
    font-size: clamp(2rem, 10.5vw, 2.95rem);
  }

  .v2-footer__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .v2-footer__nav {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 22px 27px;
  }

  .v2-footer__monogram {
    right: -4px;
    bottom: 34px;
    font-size: 5.2rem;
    color: rgba(47, 184, 112, 0.14);
  }
}


/* Shared header refinements */
.nav-menu .nav-contact {
  margin-left: 4px;
}
@media (max-width: 760px) {
  .nav-menu .nav-contact {
    margin-left: 0;
  }
}

/* Blog v2 */
.blog-index-page .v2-footer,
.blog-article-page .v2-footer { margin-top: 0; }
.blog-shell { padding-top: clamp(38px, 5vw, 66px); padding-bottom: 26px; }
.blog-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  margin-bottom: 28px;
}
.blog-showcase__copy h1 { max-width: 700px; font-size: clamp(2.9rem, 5vw, 5rem); }
.blog-showcase__copy .hero-lead { max-width: 640px; margin-bottom: 26px; }
.article-benefit-card__icon,
.blog-newsletter__icon,
.article-share-links a,
.article-share-links button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6f1, #f8fbf9);
  border: 1px solid rgba(10,52,35,0.10);
  color: var(--green-800);
  font-size: 1rem;
  font-weight: 800;
}
.blog-newsletter__copy h2,
.article-sidebar__card h2,
.article-sidebar__share h3 { display: block; color: var(--green-950); font-size: 1rem; font-weight: 800; }
.blog-newsletter__copy p,
.article-sidebar__card a,
.article-sidebar__share h3 { color: var(--muted); }

.blog-showcase__visual,
.article-v2-hero__visual { min-width: 0; }
.blog-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,0.92) 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 88% 16%, rgba(255,255,255,0.52) 0 9rem, transparent 9.1rem),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(236,244,239,0.94) 62%, rgba(248,251,249,0.96));
  box-shadow: var(--shadow-soft);
}
.blog-visual--hero { min-height: 350px; }
.blog-visual--feature { min-height: 100%; }
.blog-visual--article { min-height: 380px; }
.blog-visual__orb,
.blog-visual__label {
  position: absolute;
  left: 44px;
  top: 42px;
  z-index: 3;
  color: var(--green-800);
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
}
.blog-visual__wave {
  position: absolute;
  left: -3%;
  right: -6%;
  bottom: -6%;
  height: 40%;
  border-radius: 100% 0 0 0 / 100% 0 0 0;
  background: linear-gradient(180deg, rgba(131, 177, 147, 0.26), rgba(67, 126, 88, 0.54));
}
.blog-visual__wave--1 { bottom: 10%; transform: translateX(8%) rotate(-3deg); opacity: 0.75; }
.blog-visual__wave--2 { bottom: 2%; transform: translateX(3%) rotate(-1deg); opacity: 0.92; }
.blog-visual__wave--3 { bottom: -6%; transform: translateX(10%) rotate(2deg); opacity: 1; }
.blog-visual__core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(10,52,35,0.24);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.94), rgba(229,239,233,0.76));
  box-shadow: 0 24px 50px rgba(18, 63, 39, 0.12);
}
.blog-visual__core::before,
.blog-visual__core::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 206px;
  height: 76px;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(18deg);
  border: 1px solid rgba(10,52,35,0.06);
}
.blog-visual__core::after {
  width: 186px;
  transform: translate(-50%, -50%) rotate(-18deg);
}
.blog-visual__bubble {
  position: absolute;
  right: 28px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  font-weight: 800;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(10,52,35,0.10);
}
.blog-visual__bubble--top { top: 34px; }
.blog-visual__bubble--bottom { right: 36px; bottom: 34px; }
.blog-visual__brain {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.98), rgba(224,236,228,0.9));
  box-shadow: 0 24px 50px rgba(18, 63, 39, 0.10);
}
.blog-visual__brain::before,
.blog-visual__brain::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 96px;
  border: 3px solid rgba(35,132,86,0.28);
  border-radius: 48px 48px 38px 38px;
  transform: translate(-102%, -52%);
  background: rgba(255,255,255,0.12);
}
.blog-visual__brain::after { transform: translate(2%, -52%); }
.blog-visual__brain span {
  position: absolute;
  width: 40px;
  height: 3px;
  background: rgba(35,132,86,0.26);
  top: 54%;
  left: 20%;
}
.blog-visual__brain span:nth-child(2) { left: auto; right: 20%; }
.blog-visual__brain span:nth-child(3) { top: 38%; width: 54px; left: 28%; }
.blog-visual__brain span:nth-child(4) { top: 68%; width: 54px; right: 28%; left: auto; }

.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(16px, 2vw, 20px);
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}
.blog-feature-card__visual,
.blog-mini-card { color: inherit; text-decoration: none; }
.blog-feature-card__visual { display: block; position: relative; }
.blog-status-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.blog-status-pill--light { background: rgba(255,255,255,0.92); color: var(--green-900); }
.blog-status-pill--ghost { background: rgba(255,255,255,0.86); color: var(--green-700); }
.blog-feature-card__body { display: flex; flex-direction: column; justify-content: center; padding: 10px 6px 6px 0; }
.blog-feature-card__body h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 16px; }
.blog-feature-card__excerpt { max-width: 720px; margin-bottom: 24px; color: var(--muted); font-size: 1.04rem; line-height: 1.76; }
.blog-author-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.blog-author-row img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(6,36,23,0.16);
}
.blog-author-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.blog-author-row__meta span,
.blog-author-row__meta time { white-space: nowrap; }
.blog-author-row__meta > *:not(:first-child)::before {
  content: "•";
  margin-right: 12px;
  color: rgba(10,52,35,0.26);
}
.blog-author-row__meta > *:not(:first-child) { display: inline-flex; align-items: center; }
.blog-author-row .text-link { margin-left: auto; }
.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.blog-filter-row__pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(10,52,35,0.18);
  border-radius: 999px;
  color: var(--green-700);
  font-size: 0.94rem;
  font-weight: 700;
  background: rgba(255,255,255,0.55);
}
.blog-filter-row__pill.is-active {
  border-color: transparent;
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15,79,53,0.18);
}
.blog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.blog-mini-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.blog-mini-card--published:hover,
.blog-mini-card--published:focus-visible { transform: translateY(-4px); border-color: rgba(10,52,35,0.16); box-shadow: var(--shadow); outline: none; }
.blog-mini-card__media { position: relative; min-height: 238px; }
.blog-mini-card__media--published { background: linear-gradient(135deg, rgba(246,239,228,0.8), rgba(255,255,255,0.86)); }
.blog-mini-card__media--soon { background: linear-gradient(135deg, rgba(246,248,246,0.9), rgba(240,246,242,0.9)); }
.blog-mini-card__photo-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(12, 73, 47, 0.46), transparent 19%),
    linear-gradient(115deg, rgba(255,255,255,0.36) 0 30%, transparent 30% 100%),
    linear-gradient(12deg, rgba(22,104,63,0.13), rgba(22,104,63,0.04));
}
.blog-mini-card__photo-art::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 34px;
  width: 62%;
  height: 56%;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fafaf8 100%);
  box-shadow: 0 18px 32px rgba(6,36,23,0.12);
  transform: rotate(-7deg);
}
.blog-mini-card__photo-art::after {
  content: "";
  position: absolute;
  left: 56px;
  top: 86px;
  width: 46%;
  height: 4px;
  border-radius: 999px;
  background: rgba(15,79,53,0.22);
  box-shadow:
    0 16px 0 rgba(15,79,53,0.14),
    0 32px 0 rgba(15,79,53,0.12),
    0 48px 0 rgba(15,79,53,0.12),
    0 64px 0 rgba(15,79,53,0.14);
}
.blog-mini-card__placeholder {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: rgba(10,52,35,0.32);
  font-size: 2rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(10,52,35,0.08);
}
.blog-mini-card__body { padding: 20px 20px 22px; }
.blog-mini-card__body h3 { margin-bottom: 12px; font-size: 1.58rem; line-height: 1.16; }
.blog-mini-card__body p { margin-bottom: 14px; color: var(--muted); line-height: 1.66; }
.blog-mini-card__meta { display: inline-block; color: var(--muted); font-size: 0.92rem; font-weight: 700; }

.blog-newsletter {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245,240,231,0.82), rgba(240,247,242,0.96));
  box-shadow: var(--shadow-soft);
}
.blog-newsletter__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 18px 30px rgba(15,79,53,0.18);
}
.blog-newsletter__copy h2 { margin: 0 0 10px; font-size: clamp(1.72rem, 2.3vw, 2.4rem); }
.blog-newsletter__copy p { margin: 0; max-width: 560px; line-height: 1.7; }
.blog-newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
.blog-newsletter__form input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(10,52,35,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--green-950);
  font: inherit;
}
.blog-newsletter__form input:focus-visible {
  outline: 2px solid rgba(35,132,86,0.18);
  border-color: rgba(35,132,86,0.34);
}

/* Article v2 */
.article-v2-hero { padding-top: clamp(40px, 5vw, 66px); padding-bottom: 26px; }
.article-v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.92fr);
  gap: clamp(26px, 4vw, 44px);
  align-items: center;
}
.article-v2-hero__copy h1 { max-width: 760px; font-size: clamp(3rem, 5vw, 5.2rem); }
.article-v2-hero__copy .hero-lead { max-width: 600px; margin-bottom: 26px; }
.blog-author-row--hero { justify-content: flex-start; }
.article-v2-body { padding-top: 10px; }
.article-v2-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 96px;
}
.article-sidebar__card,
.article-sidebar__share {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-soft);
}
.article-sidebar__card { margin-bottom: 16px; }
.article-sidebar__card h2,
.article-sidebar__share h3 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-sidebar__card a {
  position: relative;
  display: block;
  padding: 10px 0 10px 18px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
}
.article-sidebar__card a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(10,52,35,0.18);
}
.article-sidebar__card a.is-active,
.article-sidebar__card a:hover,
.article-sidebar__card a:focus-visible { color: var(--green-800); outline: none; }
.article-sidebar__card a.is-active::before,
.article-sidebar__card a:hover::before,
.article-sidebar__card a:focus-visible::before { background: var(--green-700); box-shadow: 0 0 0 6px rgba(35,132,86,0.08); }
.article-share-links { display: flex; gap: 12px; }
.article-share-links a,
.article-share-links button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.article-share-links a:hover,
.article-share-links a:focus-visible,
.article-share-links button:hover,
.article-share-links button:focus-visible { transform: translateY(-2px); background: #fff; outline: none; }
.article-main { min-width: 0; }
.article-section-block + .article-section-block {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid rgba(10,52,35,0.10);
}
.article-section-block h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.03;
}
.article-section-block h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.32rem;
}
.article-section-block p {
  margin-bottom: 18px;
  color: rgba(6,36,23,0.78);
  font-size: 1.04rem;
  line-height: 1.9;
}
.article-quote-box {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid rgba(10,52,35,0.08);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(246,249,247,0.96), rgba(241,247,243,0.96));
}
.article-quote-box p {
  margin: 0;
  color: var(--green-900);
  font-size: 1.08rem;
  font-weight: 600;
}
.article-quote-box p::before {
  content: "“";
  display: inline-block;
  margin-right: 12px;
  color: var(--green-700);
  font-size: 2rem;
  line-height: 0;
  transform: translateY(10px);
}
.article-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.article-benefit-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
}
.article-benefit-card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.article-benefit-card p { margin: 0; font-size: 0.96rem; line-height: 1.72; }
.article-footer-note--v2 {
  margin-top: clamp(40px, 6vw, 64px);
  max-width: none;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
  background: rgba(255,255,255,0.9);
}

@media (max-width: 1100px) {
  .blog-showcase,
  .article-v2-hero__grid,
  .blog-newsletter { grid-template-columns: 1fr; }
  .blog-feature-card { grid-template-columns: 1fr; }
  .blog-visual--feature { min-height: 260px; }
  .blog-author-row .text-link { margin-left: 0; }
  .article-v2-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; display: grid; gap: 16px; }
  .article-sidebar__card { margin-bottom: 0; }
}

@media (max-width: 860px) {
  .blog-grid-v2,
  .article-benefits-grid { grid-template-columns: 1fr; }
  .blog-newsletter__form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .blog-shell { padding-top: 26px; }
  .blog-showcase__copy h1,
  .article-v2-hero__copy h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .blog-filter-row { justify-content: flex-start; }
  .blog-feature-card,
  .blog-newsletter,
  .article-sidebar__card,
  .article-sidebar__share,
  .article-benefit-card,
  .article-quote-box { border-radius: 22px; }
  .blog-visual--hero,
  .blog-visual--article { min-height: 260px; }
  .blog-visual__orb,
  .blog-visual__label { left: 24px; top: 24px; font-size: 3rem; }
  .blog-visual__brain { width: 136px; height: 136px; }
  .blog-visual__brain::before,
  .blog-visual__brain::after { width: 48px; height: 72px; }
  .blog-visual__core { width: 112px; height: 112px; font-size: 2.3rem; }
  .blog-author-row__meta > *:not(:first-child)::before { display: none; }
  .blog-author-row__meta { gap: 4px 10px; }
}

/* Blog v3 real article image + functional listing */
.blog-feature-card--clickable {
  color: inherit;
  text-decoration: none;
}
.blog-feature-card--clickable:hover,
.blog-feature-card--clickable:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(10,52,35,0.18);
  box-shadow: var(--shadow);
  outline: none;
}
.blog-feature-card__visual,
.article-v2-hero__visual,
.blog-mini-card__media { overflow: hidden; }
.blog-feature-card__visual img,
.article-hero-image,
.blog-mini-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-feature-card__visual {
  min-height: 290px;
  border-radius: 24px;
  border: 1px solid rgba(10,52,35,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}
.blog-feature-card__visual img {
  min-height: 290px;
  transition: transform 240ms ease;
}
.blog-feature-card--clickable:hover .blog-feature-card__visual img,
.blog-feature-card--clickable:focus-visible .blog-feature-card__visual img,
.blog-mini-card--published:hover .blog-mini-card__media img,
.blog-mini-card--published:focus-visible .blog-mini-card__media img { transform: scale(1.025); }
.article-v2-hero__visual {
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.article-hero-image {
  aspect-ratio: 1672 / 941;
}
.blog-filter-row__pill[href] {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.blog-filter-row__pill[href]:hover,
.blog-filter-row__pill[href]:focus-visible {
  transform: translateY(-2px);
  background: rgba(232,242,236,0.82);
  color: var(--green-900);
  outline: none;
}
.blog-filter-row__pill.is-active:hover,
.blog-filter-row__pill.is-active:focus-visible {
  background: var(--green-700);
  color: #fff;
}
.blog-mini-card__media img { min-height: 238px; }
@media (max-width: 1100px) {
  .blog-feature-card__visual,
  .blog-feature-card__visual img { min-height: 340px; }
}
@media (max-width: 640px) {
  .blog-feature-card__visual,
  .blog-feature-card__visual img { min-height: 220px; }
}

/* Blog v4 refinements */
.blog-hero-preview {
  position: relative;
  display: block;
  min-height: 356px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: inherit;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translate3d(0,0,0);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease;
}
.blog-hero-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,36,23,0.04), rgba(6,36,23,0.34)),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.44), transparent 18rem);
  pointer-events: none;
}
.blog-hero-preview img {
  width: 100%;
  height: 100%;
  min-height: 356px;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), filter 520ms ease;
}
.blog-hero-preview:hover,
.blog-hero-preview:focus-visible {
  transform: translate3d(0,-3px,0);
  border-color: rgba(10,52,35,0.18);
  box-shadow: var(--shadow);
  outline: none;
}
.blog-hero-preview:hover img,
.blog-hero-preview:focus-visible img { transform: scale(1.018); filter: saturate(1.03); }
.blog-hero-preview__label {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: var(--green-900);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(6,36,23,0.10);
}
.blog-hero-preview__note {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 20px;
  background: rgba(6,36,23,0.62);
  color: #fff;
  backdrop-filter: blur(14px);
}
.blog-hero-preview__note strong {
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.blog-hero-preview__note span { color: rgba(255,255,255,0.78); font-weight: 650; }

.blog-feature-card,
.blog-mini-card,
.blog-feature-card--clickable,
.blog-mini-card--published {
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}
.blog-feature-card--clickable,
.blog-mini-card--published {
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms cubic-bezier(.2,.8,.2,1), border-color 280ms ease, background 280ms ease;
}
.blog-feature-card--clickable:hover,
.blog-feature-card--clickable:focus-visible,
.blog-mini-card--published:hover,
.blog-mini-card--published:focus-visible {
  transform: translate3d(0,-3px,0);
}
.blog-feature-card__visual img,
.blog-mini-card__media img {
  transform: scale(1.001);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), filter 520ms ease;
  backface-visibility: hidden;
}
.blog-feature-card--clickable:hover .blog-feature-card__visual img,
.blog-feature-card--clickable:focus-visible .blog-feature-card__visual img,
.blog-mini-card--published:hover .blog-mini-card__media img,
.blog-mini-card--published:focus-visible .blog-mini-card__media img {
  transform: scale(1.016);
  filter: saturate(1.03);
}

.article-v2-hero { padding-top: clamp(34px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 48px); }
.article-v2-hero__grid {
  display: block;
}
.article-v2-hero__copy {
  max-width: 980px;
}
.article-v2-hero__copy h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 4.25vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}
.article-v2-hero__copy .hero-lead {
  max-width: 720px;
  margin-bottom: 24px;
}
.article-v2-hero__visual {
  width: 100%;
  margin-top: clamp(28px, 4vw, 42px);
  border-radius: 32px;
}
.article-hero-image {
  width: 100%;
  min-height: clamp(280px, 42vw, 520px);
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}
.article-main .article-section-block > p {
  text-indent: 1.55em;
}
.article-main .article-section-block > p:first-of-type {
  text-indent: 1.55em;
}
.article-quote-box p,
.article-benefit-card p,
.article-footer-note p {
  text-indent: 0;
}

@media (max-width: 1100px) {
  .blog-hero-preview,
  .blog-hero-preview img { min-height: 320px; }
  .article-v2-hero__copy h1 { max-width: 900px; }
}
@media (max-width: 640px) {
  .blog-hero-preview,
  .blog-hero-preview img { min-height: 250px; }
  .blog-hero-preview__note { left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 18px; }
  .article-v2-hero__copy h1 { font-size: clamp(2.35rem, 10vw, 3.3rem); }
  .article-hero-image { min-height: 220px; }
  .article-main .article-section-block > p { text-indent: 1.1em; }
}

/* Article hero image as cropped background */
.article-v2-hero__grid {
  display: block;
}
.article-v2-hero__copy {
  max-width: 1120px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-radius: 34px;
  background: rgba(251, 250, 247, 0.94);
  box-shadow: var(--shadow-soft);
}
.article-v2-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--article-hero-bg);
  background-size: cover;
  background-position: center 52%;
  opacity: 0.24;
  transform: scale(1.03);
}
.article-v2-hero__copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 52%, rgba(251, 250, 247, 0.72) 100%),
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.88), transparent 28rem);
}
.article-v2-hero__copy h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 4.15vw, 4.45rem);
  line-height: 1.02;
}
.article-v2-hero__copy .hero-lead {
  max-width: 690px;
  margin-bottom: 24px;
}
.article-v2-hero__visual {
  display: none;
}
.article-hero-image {
  display: none;
}
@media (max-width: 640px) {
  .article-v2-hero__copy {
    padding: 28px 22px;
    border-radius: 26px;
  }
  .article-v2-hero__copy::before {
    opacity: 0.18;
    background-position: 56% 50%;
  }
  .article-v2-hero__copy::after {
    background: linear-gradient(180deg, rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.88));
  }
  .article-v2-hero__copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.05rem);
  }
}


/* Article hero text background correction */
.article-v2-hero__grid {
  display: block;
}

.article-v2-hero__copy {
  max-width: 980px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: auto;
}

.article-v2-hero__copy::before,
.article-v2-hero__copy::after {
  content: none;
}

.article-hero-heading-media {
  position: relative;
  isolation: isolate;
  max-width: 980px;
  margin-bottom: 24px;
}

.article-hero-heading-media::before {
  content: "";
  position: absolute;
  inset: -20px -28px -18px -28px;
  z-index: -1;
  border-radius: 30px;
  background-image:
    linear-gradient(90deg, rgba(251, 250, 247, 0.34), rgba(251, 250, 247, 0.18)),
    var(--article-hero-bg);
  background-size: cover;
  background-position: center 54%;
  opacity: 0.22;
  pointer-events: none;
}

.article-hero-heading-media h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 4.25vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.article-hero-heading-media .hero-lead {
  max-width: 720px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .article-v2-hero__copy {
    padding: 0;
    border-radius: 0;
  }

  .article-hero-heading-media::before {
    inset: -16px -14px -14px -14px;
    border-radius: 24px;
    background-position: 58% 52%;
    opacity: 0.18;
  }

  .article-hero-heading-media h1 {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }
}

/* Final correction: blog hero image must sit behind the text, not beside it */
.blog-index-page .blog-showcase {
  display: block;
  margin-bottom: 28px;
}
.blog-index-page .blog-showcase__copy {
  max-width: 980px;
}
.blog-index-page .blog-showcase__visual,
.blog-index-page .blog-hero-preview {
  display: none !important;
}
.blog-hero-text-media {
  position: relative;
  isolation: isolate;
  max-width: 980px;
  margin-bottom: 26px;
}
.blog-hero-text-media::before {
  content: "";
  position: absolute;
  inset: -24px -34px -20px -34px;
  z-index: -2;
  border-radius: 34px;
  background-image: var(--blog-hero-bg);
  background-size: cover;
  background-position: center 50%;
  opacity: 0.16;
  pointer-events: none;
}
.blog-hero-text-media::after {
  content: "";
  position: absolute;
  inset: -24px -34px -20px -34px;
  z-index: -1;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(251,250,247,0.98) 0%, rgba(251,250,247,0.88) 58%, rgba(251,250,247,0.68) 100%),
    radial-gradient(circle at 8% 4%, rgba(255,255,255,0.92), transparent 30rem);
  pointer-events: none;
}
.blog-hero-text-media h1 {
  max-width: 760px;
  margin-bottom: 22px;
}
.blog-hero-text-media .hero-lead {
  max-width: 640px;
  margin-bottom: 0;
}

/* Final correction: article hero image is only a transparent layer behind h1 + lead */
.blog-article-page .article-v2-hero__grid {
  display: block !important;
}
.blog-article-page .article-v2-hero__copy {
  max-width: 980px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: auto !important;
}
.blog-article-page .article-v2-hero__copy::before,
.blog-article-page .article-v2-hero__copy::after,
.blog-article-page .article-v2-hero__visual,
.blog-article-page .article-hero-image {
  display: none !important;
  content: none !important;
}
.blog-article-page .article-hero-heading-media {
  position: relative;
  isolation: isolate;
  max-width: 980px;
  margin-bottom: 24px;
}
.blog-article-page .article-hero-heading-media::before {
  content: "";
  position: absolute;
  inset: -22px -34px -20px -34px;
  z-index: -2;
  border-radius: 34px;
  background-image: var(--article-hero-bg);
  background-size: cover;
  background-position: center 52%;
  opacity: 0.15;
  pointer-events: none;
}
.blog-article-page .article-hero-heading-media::after {
  content: "";
  position: absolute;
  inset: -22px -34px -20px -34px;
  z-index: -1;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(251,250,247,0.99) 0%, rgba(251,250,247,0.91) 60%, rgba(251,250,247,0.70) 100%),
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.92), transparent 30rem);
  pointer-events: none;
}
.blog-article-page .article-hero-heading-media h1 {
  max-width: 920px;
}
.blog-article-page .article-hero-heading-media .hero-lead {
  max-width: 720px;
}

@media (max-width: 640px) {
  .blog-hero-text-media::before,
  .blog-hero-text-media::after,
  .blog-article-page .article-hero-heading-media::before,
  .blog-article-page .article-hero-heading-media::after {
    inset: -16px -14px -14px -14px;
    border-radius: 24px;
  }
  .blog-hero-text-media::before,
  .blog-article-page .article-hero-heading-media::before {
    opacity: 0.12;
    background-position: 58% 52%;
  }
  .blog-hero-text-media::after,
  .blog-article-page .article-hero-heading-media::after {
    background: linear-gradient(180deg, rgba(251,250,247,0.98), rgba(251,250,247,0.88));
  }
  .blog-hero-text-media h1 {
    font-size: clamp(2.35rem, 10vw, 3.3rem);
  }
}

/* Final visible article hero background: image sits exactly behind heading + lead */
.blog-article-page .article-v2-hero {
  padding-top: clamp(58px, 7vw, 92px) !important;
  overflow: visible !important;
}

.blog-article-page .article-v2-hero__grid {
  display: block !important;
  overflow: visible !important;
}

.blog-article-page .article-v2-hero__copy {
  max-width: 1120px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: auto !important;
}

.blog-article-page .article-v2-hero__copy > .eyebrow {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 0 16px !important;
  line-height: 1.45;
  overflow: visible;
}

.blog-article-page .article-hero-heading-media {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1120px;
  margin: 0 0 26px;
  overflow: hidden;
  border-radius: 0;
}

.blog-article-page .article-hero-heading-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block !important;
  border-radius: 0;
  background-image: var(--article-hero-bg);
  background-size: cover;
  background-position: center 52%;
  opacity: 0.42;
  filter: saturate(0.95) contrast(0.92);
  pointer-events: none;
}

.blog-article-page .article-hero-heading-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block !important;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(251,250,247,0.92) 0%, rgba(251,250,247,0.72) 48%, rgba(251,250,247,0.46) 100%),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.72), transparent 28rem);
  pointer-events: none;
}

.blog-article-page .article-hero-heading-media h1,
.blog-article-page .article-hero-heading-media .hero-lead {
  position: relative;
  z-index: 1;
}

.blog-article-page .article-hero-heading-media h1 {
  max-width: 1040px;
  margin: 0 0 20px;
}

.blog-article-page .article-hero-heading-media .hero-lead {
  max-width: 760px;
  margin: 0;
}

.blog-article-page .article-v2-hero__copy::before,
.blog-article-page .article-v2-hero__copy::after,
.blog-article-page .article-v2-hero__visual,
.blog-article-page .article-hero-image {
  display: none !important;
  content: none !important;
}

@media (max-width: 640px) {
  .blog-article-page .article-v2-hero {
    padding-top: 42px !important;
  }

  .blog-article-page .article-hero-heading-media::before,
  .blog-article-page .article-hero-heading-media::after {
    inset: 0;
  }

  .blog-article-page .article-hero-heading-media::before {
    opacity: 0.30;
    background-position: 58% 52%;
  }

  .blog-article-page .article-hero-heading-media::after {
    background: linear-gradient(180deg, rgba(251,250,247,0.94), rgba(251,250,247,0.72));
  }
}

.article-share-links button {
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.article-share-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.45;
}


/* Article share behavior/alignment fix */
.article-sidebar__share {
  text-align: left;
}
.article-share-links {
  justify-content: center;
  align-items: center;
}
.article-share-links a,
.article-share-links button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  text-align: center;
}
.article-share-status {
  text-align: center;
}

/* Unified header: use the landing page header style across all pages */
.site-header {
  background: rgba(245, 246, 243, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  min-height: 92px;
}

.brand-mark {
  gap: 0;
}

.brand-monogram {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--green-900);
}

.brand-wordmark {
  display: none;
}

.nav-menu {
  gap: 18px;
}

.nav-menu a {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #5d6a64;
  font-size: 0.98rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--green-900);
  background: rgba(10, 52, 35, 0.04);
}

.nav-menu a.nav-contact {
  margin-left: 4px;
  padding-inline: 22px;
  border-color: rgba(10, 52, 35, 0.16);
  border-radius: 0;
  background: linear-gradient(135deg, #0a3423, #145437);
  color: #fff;
  box-shadow: 0 18px 34px rgba(10, 52, 35, 0.18);
}

.nav-menu a.nav-contact:hover,
.nav-menu a.nav-contact:focus-visible {
  background: linear-gradient(135deg, #0f4f35, #17683f);
  color: #fff;
}

@media (max-width: 860px) {
  .nav-menu {
    gap: 12px;
  }

  .nav-menu a,
  .nav-menu a.nav-contact {
    border-radius: 14px;
  }

  .brand-monogram {
    font-size: 1.32rem;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    width: min(100% - 26px, var(--container));
  }

  .nav {
    min-height: 78px;
  }

  .brand-monogram {
    font-size: 1.12rem;
  }
}

/* Blog hero and article audio fixes */
.blog-index-page .blog-hero-text-media > .eyebrow {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 0 16px;
  line-height: 1.45;
  overflow: visible;
}

.blog-index-page .blog-hero-text-media h1,
.blog-index-page .blog-hero-text-media .hero-lead {
  position: relative;
  z-index: 1;
}

.blog-index-page .blog-showcase__copy {
  overflow: visible;
}

.article-audio-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 clamp(24px, 3vw, 34px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(6, 36, 23, 0.06);
}

.article-audio-player__controls,
.article-audio-player__seek-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.article-audio-player__seek {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(10, 52, 35, 0.13);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(6, 36, 23, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-audio-player__seek:hover,
.article-audio-player__seek:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 79, 53, 0.26);
  background: #fff;
  box-shadow: 0 12px 24px rgba(6, 36, 23, 0.09);
}

.article-audio-player__seek:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.article-audio-player__play {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  box-shadow: 0 14px 24px rgba(15, 79, 53, 0.16);
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.article-audio-player__play:hover,
.article-audio-player__play:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15, 79, 53, 0.22);
}

.article-audio-player__play:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.article-audio-player__track {
  min-width: 0;
}

.article-audio-player__topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.25;
}

.article-audio-player__label-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.article-audio-player__label {
  overflow: hidden;
  color: var(--green-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-audio-player__disclosure {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid rgba(10, 52, 35, 0.1);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.article-audio-player__time {
  flex: 0 0 auto;
  color: var(--green-700);
  font-variant-numeric: tabular-nums;
}

.article-audio-player__bar {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 9px;
  border-radius: 999px;
  background: rgba(10, 52, 35, 0.11);
}

.article-audio-player__bar:hover,
.article-audio-player__bar:focus-visible {
  background: rgba(10, 52, 35, 0.16);
}

.article-audio-player__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-900), var(--green-600));
  transition: width 180ms linear;
}

.article-audio-player__speed {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 98px;
}

.article-audio-player__speed:not(.has-custom-speed-select)::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.article-audio-player__speed select {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 15px;
  border: 1px solid rgba(10, 52, 35, 0.18);
  border-radius: 999px;
  color: var(--green-900);
  background-color: #fff;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.96));
  box-shadow: 0 10px 22px rgba(6, 36, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  color-scheme: light;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.article-audio-player__speed select::-ms-expand {
  display: none;
}

.article-audio-player__speed select:hover {
  border-color: rgba(15, 79, 53, 0.3);
  background-image: linear-gradient(180deg, #fff, rgba(248, 251, 249, 1));
  box-shadow: 0 12px 24px rgba(6, 36, 23, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.article-audio-player__speed select:focus-visible {
  border-color: rgba(15, 79, 53, 0.38);
  outline: 3px solid rgba(35, 132, 86, 0.22);
  outline-offset: 2px;
}

.article-audio-player__speed select:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}


.article-audio-player__speed.has-custom-speed-select {
  z-index: 20;
}

.article-audio-player__speed.has-custom-speed-select .article-audio-player__speed-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.article-audio-player__speed-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 98px;
  min-height: 42px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(10, 52, 35, 0.18);
  border-radius: 999px;
  color: var(--green-900);
  background: linear-gradient(180deg, #fff, rgba(247, 250, 248, 0.98));
  box-shadow: 0 10px 22px rgba(6, 36, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.article-audio-player__speed-button:hover,
.article-audio-player__speed-button:focus-visible,
.article-audio-player__speed.is-open .article-audio-player__speed-button {
  border-color: rgba(15, 79, 53, 0.34);
  background: #fff;
  box-shadow: 0 12px 26px rgba(6, 36, 23, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.article-audio-player__speed-button:focus-visible {
  outline: 3px solid rgba(35, 132, 86, 0.22);
  outline-offset: 2px;
}

.article-audio-player__speed-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.article-audio-player__speed-value {
  white-space: nowrap;
}

.article-audio-player__speed-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.article-audio-player__speed.is-open .article-audio-player__speed-arrow {
  transform: translateY(2px) rotate(225deg);
}

.article-audio-player__speed-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 100%;
  padding: 6px;
  border: 1px solid rgba(10, 52, 35, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(6, 36, 23, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.article-audio-player__speed.is-open .article-audio-player__speed-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.article-audio-player__speed-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  color: var(--green-900);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.article-audio-player__speed-option:hover,
.article-audio-player__speed-option:focus-visible {
  outline: none;
  background: rgba(15, 79, 53, 0.08);
}

.article-audio-player__speed-option.is-selected {
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.article-audio-player__speed-option.is-selected::after {
  content: '✓';
  margin-left: 14px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .article-audio-player {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .article-audio-player__track {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .article-audio-player__seek-group,
  .article-audio-player__speed {
    justify-self: end;
  }
}

@media (max-width: 520px) {
  .article-audio-player {
    grid-template-columns: 1fr;
  }

  .article-audio-player__controls,
  .article-audio-player__seek-group,
  .article-audio-player__speed {
    width: 100%;
    justify-content: center;
    justify-self: stretch;
  }

  .article-audio-player__track {
    grid-column: auto;
    grid-row: auto;
  }

  .article-audio-player__label-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .article-audio-player__disclosure {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .article-audio-player__speed select,
  .article-audio-player__speed-button {
    width: 100%;
  }

  .article-audio-player__speed-menu {
    left: 0;
    right: 0;
  }
}


/* Projects v2 page */
.project-page-v2 {
  background:
    radial-gradient(circle at 10% -8%, rgba(219, 234, 226, 0.78), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(239, 231, 216, 0.72), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, #fff 46%, #f7fbf8 100%);
}

.projects-v2-page {
  overflow: hidden;
}

.projects-v2-hero {
  padding: clamp(54px, 6vw, 84px) 0 34px;
}

.projects-v2-hero__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: clamp(430px, 48vw, 560px);
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 4%, rgba(219, 234, 226, 0.9), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,251,249,0.94) 58%, rgba(244,248,245,0.98));
  box-shadow: 0 30px 90px rgba(6, 36, 23, 0.09);
}

.projects-v2-hero__card::before {
  content: "";
  position: absolute;
  inset: -26% auto auto 56%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 234, 226, 0.82), rgba(219, 234, 226, 0) 68%);
  pointer-events: none;
}

.projects-v2-hero__card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(10, 52, 35, 0.08);
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(15,79,53,0.07), rgba(255,255,255,0));
  pointer-events: none;
}

.projects-v2-hero__copy,
.projects-v2-hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.projects-v2-hero__copy h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(3.35rem, 6vw, 6rem);
}

.projects-v2-hero__copy .hero-lead {
  max-width: 680px;
  margin-bottom: 28px;
}

.projects-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.projects-v2-hero__visual {
  display: grid;
  place-items: center;
  min-height: 360px;
}

.projects-v2-map {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(rgba(15,79,53,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,79,53,0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(255,255,255,0.96), rgba(232,242,236,0.76) 58%, rgba(255,255,255,0));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 0 1px rgba(10,52,35,0.08), 0 24px 60px rgba(6,36,23,0.10);
}

.projects-v2-map::before,
.projects-v2-map::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(10,52,35,0.10);
  border-radius: 50%;
}

.projects-v2-map::after {
  inset: 31%;
  border-color: rgba(10,52,35,0.08);
}

.projects-v2-map__node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10,52,35,0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  color: var(--green-900);
  box-shadow: 0 18px 36px rgba(6,36,23,0.12);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.projects-v2-map__node--main {
  inset: 50% auto auto 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  font-size: 2rem;
}

.projects-v2-map__node--top {
  top: 10%;
  left: 13%;
  width: 74px;
  height: 74px;
}

.projects-v2-map__node--right {
  top: 24%;
  right: 6%;
  width: 84px;
  height: 84px;
}

.projects-v2-map__node--bottom {
  left: 16%;
  bottom: 9%;
  width: 90px;
  height: 90px;
}

.projects-v2-map__line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 42%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(15,79,53,0.38), rgba(15,79,53,0));
}

.projects-v2-map__line--one { transform: rotate(-138deg); }
.projects-v2-map__line--two { transform: rotate(-26deg); }
.projects-v2-map__line--three { transform: rotate(132deg); }

.projects-v2-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 930px;
  margin: -34px auto 0;
  overflow: hidden;
  border: 1px solid rgba(10,52,35,0.10);
  border-radius: 24px;
  background: rgba(10,52,35,0.10);
  box-shadow: 0 22px 50px rgba(6,36,23,0.08);
}

.projects-v2-stats div {
  padding: 22px 24px;
  background: rgba(255,255,255,0.9);
}

.projects-v2-stats span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.projects-v2-stats strong {
  display: block;
  color: var(--green-950);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.projects-v2-showcase {
  padding-top: clamp(56px, 7vw, 88px);
}

.projects-v2-section-head {
  margin-bottom: 24px;
}

.projects-v2-section-head h2,
.projects-v2-principles__intro h2 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.7vw, 4.75rem);
}

.projects-v2-section-head .section-note {
  max-width: 460px;
  margin: 0;
  line-height: 1.72;
}

.projects-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.projects-v2-feature,
.projects-v2-mini,
.projects-v2-principles__grid,
.projects-v2-steps article {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.projects-v2-feature {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: stretch;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,248,0.94));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.projects-v2-feature::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219,234,226,0.8), rgba(219,234,226,0));
  pointer-events: none;
}

.projects-v2-feature:hover,
.projects-v2-feature:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(15,79,53,0.26);
  box-shadow: 0 30px 76px rgba(6,36,23,0.13);
  outline: none;
}

.projects-v2-feature__media,
.projects-v2-feature__body {
  position: relative;
  z-index: 1;
}

.projects-v2-feature__media {
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15,79,53,0.13);
  border-radius: 26px;
  background:
    linear-gradient(rgba(15,79,53,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,79,53,0.06) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff, #eef7f2);
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}

.projects-v2-feature__media::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% 28%;
  height: 52%;
  border-radius: 999px 0 0 0;
  background: linear-gradient(180deg, rgba(35,132,86,0.18), rgba(15,79,53,0.28));
  transform: rotate(-5deg);
}

.projects-v2-feature__media img {
  position: relative;
  z-index: 1;
  width: min(62%, 220px);
  height: auto;
  padding: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 22px 42px rgba(6,36,23,0.14);
}

.projects-v2-feature__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(8px, 1.5vw, 18px) 0;
}

.projects-v2-feature__body h3 {
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 4.2vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.projects-v2-feature__body p {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.projects-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.projects-v2-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(15,79,53,0.12);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(232,242,236,0.62);
  font-size: 0.82rem;
  font-weight: 750;
}

.projects-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(15,79,53,0.16);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(255,255,255,0.7);
  font-weight: 850;
}

.projects-v2-link::after {
  content: "";
  width: 0.52em;
  height: 0.52em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.projects-v2-side {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.projects-v2-mini {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
}

.projects-v2-mini--dark {
  background:
    radial-gradient(circle at 96% 0%, rgba(35,132,86,0.28), transparent 13rem),
    linear-gradient(135deg, #07110d, #0a3423);
  color: #fff;
  border-color: rgba(255,255,255,0.10);
}

.projects-v2-mini--dark h3,
.projects-v2-mini--dark .card-kicker {
  color: #fff !important;
}

.projects-v2-mini--dark p {
  color: rgba(255,255,255,0.75);
}

.projects-v2-mini--light {
  background:
    radial-gradient(circle at 90% 10%, rgba(239,231,216,0.78), transparent 13rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,248,0.94));
}

.projects-v2-mini__icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
}

.projects-v2-mini__icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.projects-v2-mini__icon--text {
  border-color: rgba(15,79,53,0.12);
  background: rgba(232,242,236,0.78);
  color: var(--green-900);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}

.projects-v2-mini h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.projects-v2-mini p {
  margin: 0;
  line-height: 1.68;
}

.projects-v2-principles {
  padding-top: clamp(42px, 6vw, 72px);
}

.projects-v2-principles__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 4% 8%, rgba(219,234,226,0.82), transparent 17rem),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,251,248,0.95));
}

.projects-v2-principles__intro p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.76;
}

.projects-v2-steps {
  display: grid;
  gap: 14px;
}

.projects-v2-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255,255,255,0.76);
}

.projects-v2-steps span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-900);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.projects-v2-steps h3 {
  margin: 0;
  font-size: 1.18rem;
}

.projects-v2-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

@media (max-width: 1060px) {
  .projects-v2-hero__card,
  .projects-v2-grid,
  .projects-v2-principles__grid {
    grid-template-columns: 1fr;
  }

  .projects-v2-hero__visual {
    min-height: 300px;
  }

  .projects-v2-map {
    width: min(100%, 320px);
  }

  .projects-v2-feature {
    grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1fr);
  }

  .projects-v2-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .projects-v2-hero {
    padding-top: 42px;
  }

  .projects-v2-hero__card {
    min-height: 0;
    padding: 28px 20px;
    border-radius: 28px;
  }

  .projects-v2-hero__copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.75rem);
  }

  .projects-v2-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .projects-v2-hero__actions .btn {
    width: 100%;
  }

  .projects-v2-stats {
    grid-template-columns: 1fr;
    margin-top: 16px;
    border-radius: 22px;
  }

  .projects-v2-stats div {
    padding: 18px 20px;
  }

  .projects-v2-section-head {
    gap: 14px;
  }

  .projects-v2-section-head h2,
  .projects-v2-principles__intro h2 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .projects-v2-feature,
  .projects-v2-side,
  .projects-v2-mini {
    grid-template-columns: 1fr;
  }

  .projects-v2-feature {
    padding: 16px;
    border-radius: 26px;
  }

  .projects-v2-feature__media {
    min-height: 250px;
    border-radius: 22px;
  }

  .projects-v2-feature__media img {
    width: min(56%, 180px);
  }

  .projects-v2-feature__body {
    padding: 4px 4px 8px;
  }

  .projects-v2-feature__body h3 {
    font-size: clamp(2.05rem, 11vw, 3rem);
  }

  .projects-v2-mini {
    gap: 16px;
    border-radius: 24px;
  }

  .projects-v2-mini__icon {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .projects-v2-principles__grid {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .projects-v2-steps article {
    grid-template-columns: 1fr;
  }
}

/* Projects page v3 */
.projects-v3-page {
  padding-bottom: 54px;
}

.projects-v3-hero {
  padding-top: 28px;
}

.projects-v3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 38px;
}

.projects-v3-hero__copy {
  max-width: 620px;
}

.projects-v3-hero__copy h1 {
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: var(--green-950);
  max-width: 10.5ch;
}

.projects-v3-hero__copy .hero-lead {
  max-width: 56ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.projects-v3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.projects-v3-hero__visual {
  position: relative;
  min-height: 440px;
}

.projects-v3-hero__shape,
.projects-v3-hero__shape--small {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 86%;
  height: 78%;
  border-radius: 54px 28px 54px 28px;
  background:
    linear-gradient(135deg, rgba(8, 62, 40, 0.96) 0%, rgba(20, 119, 73, 0.95) 52%, rgba(8, 62, 40, 1) 100%);
  box-shadow: 0 28px 80px rgba(6, 36, 23, 0.20);
  transform: skewX(-8deg);
}

.projects-v3-hero__shape::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 40px 20px 40px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.projects-v3-hero__shape--small {
  width: 54%;
  height: 22%;
  right: auto;
  left: 74px;
  bottom: 34px;
  top: auto;
  opacity: 0.08;
  transform: skewX(-8deg) rotate(2deg);
  box-shadow: none;
}

.projects-v3-float {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 52, 35, 0.08);
}

.projects-v3-float__meta {
  position: relative;
  z-index: 2;
}

.projects-v3-float h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--green-950);
}

.projects-v3-float span {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.projects-v3-float img {
  width: 100%;
  height: auto;
}

.projects-v3-float--strategy {
  top: 10px;
  right: 0;
  width: 35%;
  padding: 22px 22px 16px;
}

.projects-v3-float--strategy img {
  margin-top: 14px;
  border-radius: 18px;
}

.projects-v3-float--di {
  left: 0;
  bottom: 38px;
  width: 42%;
  background: linear-gradient(180deg, rgba(7, 29, 20, 0.96), rgba(9, 50, 33, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}

.projects-v3-float--di .projects-v3-float__meta {
  padding: 24px 24px 0;
}

.projects-v3-float--di h2,
.projects-v3-float--di span {
  color: #effaf4;
}

.projects-v3-float--di span {
  opacity: 0.78;
}

.projects-v3-float--di img {
  margin-top: 14px;
  opacity: 0.98;
}

.projects-v3-float--svietejas {
  top: 100px;
  left: 22%;
  width: 58%;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, #f7fbf8 0%, #f1f7f3 100%);
}

.projects-v3-float--svietejas img {
  margin-top: 14px;
  border-radius: 22px;
  border: 1px solid rgba(10, 52, 35, 0.08);
  box-shadow: 0 16px 36px rgba(6, 36, 23, 0.10);
}

.projects-v3-list {
  padding-top: 18px;
}

.projects-v3-stack {
  display: grid;
  gap: 20px;
}

.projects-v3-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 236px;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 52, 35, 0.10);
  box-shadow: var(--shadow-soft);
}

.projects-v3-row__media {
  position: relative;
  display: block;
  min-height: 174px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #d9ebe1 0%, #edf6f0 100%);
}

.projects-v3-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-v3-row__media--dark {
  background: linear-gradient(135deg, #0a3121 0%, #0e5c3a 100%);
}

.projects-v3-row__media--dark img,
.projects-v3-row__media--soft img {
  object-fit: cover;
}

.projects-v3-row__media--soft {
  background: linear-gradient(135deg, #eef5f0 0%, #deebe3 100%);
}

.projects-v3-row__badge {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 52, 35, 0.12);
  box-shadow: 0 12px 30px rgba(6, 36, 23, 0.14);
}

.projects-v3-row__badge img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.projects-v3-row__content {
  min-width: 0;
}

.projects-v3-row__content h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 2vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--green-950);
}

.projects-v3-row__content h2 a {
  transition: color 180ms ease;
}

.projects-v3-row__content h2 a:hover,
.projects-v3-row__content h2 a:focus-visible {
  color: var(--green-700);
  outline: none;
}

.projects-v3-row__content p:last-child {
  margin: 0;
  color: var(--muted);
}

.projects-v3-row__side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.projects-v3-pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.projects-v3-pill-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 14px 12px 42px;
  border-radius: 16px;
  border: 1px solid rgba(10, 52, 35, 0.10);
  background: #fff;
  color: #495a53;
  font-size: 0.93rem;
  font-weight: 600;
}

.projects-v3-pill-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 50% 50%, var(--green-700) 0 28%, transparent 30%),
    linear-gradient(135deg, var(--mint) 0%, #eaf6ef 100%);
  border: 1px solid rgba(10, 52, 35, 0.12);
}

.projects-v3-row__arrow,
.projects-v3-process__cta {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-900);
  border: 1px solid rgba(10, 52, 35, 0.10);
  box-shadow: 0 10px 24px rgba(6, 36, 23, 0.08);
  font-size: 1.5rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.projects-v3-row__arrow:hover,
.projects-v3-row__arrow:focus-visible,
.projects-v3-process__cta:hover,
.projects-v3-process__cta:focus-visible {
  transform: translateY(-2px);
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 79, 53, 0.22);
  outline: none;
}

.projects-v3-process {
  padding-top: 16px;
}

.projects-v3-process__card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 52, 35, 0.10);
  box-shadow: var(--shadow-soft);
}

.projects-v3-process__intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--green-950);
}

.projects-v3-process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.projects-v3-process__steps article {
  position: relative;
  padding-inline-right: 8px;
}

.projects-v3-process__steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -2px;
  top: 2px;
  color: rgba(10, 52, 35, 0.26);
  font-size: 1.25rem;
  font-weight: 700;
}

.projects-v3-process__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-800);
  font-size: 0.84rem;
  font-weight: 800;
}

.projects-v3-process__steps h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  color: var(--green-950);
}

.projects-v3-process__steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.projects-v3-process__cta {
  background: var(--green-800);
  color: #fff;
  border-color: transparent;
  width: 56px;
  height: 56px;
}

@media (max-width: 1180px) {
  .projects-v3-hero__grid {
    grid-template-columns: 1fr;
  }

  .projects-v3-hero__copy {
    max-width: 680px;
  }

  .projects-v3-hero__visual {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }

  .projects-v3-row {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .projects-v3-row__side {
    grid-column: 1 / -1;
  }

  .projects-v3-process__card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .projects-v3-hero {
    padding-top: 10px;
  }

  .projects-v3-hero__copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .projects-v3-hero__visual {
    min-height: 380px;
  }

  .projects-v3-hero__shape {
    width: 88%;
    height: 74%;
    right: 8px;
  }

  .projects-v3-hero__shape--small {
    left: 20px;
    width: 62%;
  }

  .projects-v3-float--strategy {
    width: 36%;
    padding: 16px 16px 12px;
  }

  .projects-v3-float--svietejas {
    left: 12%;
    width: 66%;
    top: 94px;
    padding: 18px 18px 18px;
  }

  .projects-v3-float--di {
    width: 45%;
    bottom: 18px;
  }

  .projects-v3-row {
    grid-template-columns: 1fr;
  }

  .projects-v3-row__media {
    min-height: 210px;
  }

  .projects-v3-row__side {
    align-items: flex-start;
  }

  .projects-v3-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-v3-process__steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .projects-v3-hero__actions {
    flex-direction: column;
  }

  .projects-v3-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .projects-v3-hero__visual {
    min-height: 300px;
  }

  .projects-v3-float {
    border-radius: 20px;
  }

  .projects-v3-float h2 {
    font-size: 0.94rem;
  }

  .projects-v3-float span {
    font-size: 0.75rem;
    margin-top: 4px;
  }

  .projects-v3-float--strategy {
    width: 42%;
    padding: 14px 12px 10px;
  }

  .projects-v3-float--di {
    width: 50%;
  }

  .projects-v3-float--svietejas {
    left: 10%;
    width: 72%;
    top: 86px;
    padding: 16px 14px 14px;
  }

  .projects-v3-row {
    padding: 12px;
    border-radius: 24px;
  }

  .projects-v3-row__media {
    min-height: 182px;
  }

  .projects-v3-row__badge {
    width: 70px;
    height: 70px;
  }

  .projects-v3-row__badge img {
    width: 52px;
    height: 52px;
  }

  .projects-v3-row__content h2 {
    font-size: 1.6rem;
  }

  .projects-v3-row__side {
    flex-direction: column;
    align-items: stretch;
  }

  .projects-v3-row__arrow {
    align-self: flex-end;
  }

  .projects-v3-process__card {
    padding: 22px 18px;
  }

  .projects-v3-process__steps {
    grid-template-columns: 1fr;
  }
}

/* Projects page v3 refinements */
.projects-v3-row__media--page-shot,
.projects-v3-float--svietejas {
  background: linear-gradient(180deg, #f7faf8 0%, #edf4ef 100%);
}

.projects-v3-row__media--page-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 10px;
}

.projects-v3-float--svietejas img {
  margin-top: 14px;
  height: 210px;
  width: 100%;
  object-fit: contain;
  object-position: center top;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(10, 52, 35, 0.08);
  background: #fff;
  box-shadow: 0 16px 36px rgba(6, 36, 23, 0.10);
}

.projects-v3-row__media--atsinaujinai {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #082a1c 0%, #0d5d3b 58%, #16784b 100%);
}

.projects-v3-row__media--atsinaujinai img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

.projects-v3-float--strategy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projects-v3-float--strategy img {
  margin-top: 14px;
  max-width: 100%;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.projects-v3-float--di {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.projects-v3-float--di img {
  width: 100%;
  max-width: 160px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin: 14px 24px 24px;
}

@media (max-width: 860px) {
  .projects-v3-float--svietejas img {
    height: 170px;
  }
}

@media (max-width: 640px) {
  .projects-v3-row__media--page-shot img {
    padding: 8px;
  }

  .projects-v3-float--svietejas img {
    height: 138px;
    padding: 8px;
  }

  .projects-v3-float--strategy img,
  .projects-v3-float--di img {
    height: 48px;
    margin-left: 14px;
    margin-right: 14px;
    margin-bottom: 14px;
  }
}


/* Projects page v3 image framing refinements */
.projects-v3-float--svietejas {
  padding: 20px;
}

.projects-v3-float--svietejas img {
  height: 164px;
  width: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  background: #fff;
}

.projects-v3-row__media--page-shot img {
  padding: 0;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 860px) {
  .projects-v3-float--svietejas img {
    height: 148px;
  }
}

@media (max-width: 640px) {
  .projects-v3-float--svietejas {
    padding: 14px;
  }

  .projects-v3-float--svietejas img {
    height: 124px;
    padding: 0;
  }

  .projects-v3-row__media--page-shot img {
    padding: 0;
  }
}



/* Projects page v3 screenshot polish */
.projects-v3-float {
  border-color: rgba(10, 52, 35, 0.06);
}

.projects-v3-float--strategy img,
.projects-v3-float--di img,
.projects-v3-float--svietejas img {
  border: none;
  box-shadow: none;
  background: transparent;
}

.projects-v3-float--svietejas {
  padding: 16px;
}

.projects-v3-float--svietejas img {
  height: 146px;
  width: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
}

.projects-v3-row__media--page-shot {
  background: linear-gradient(180deg, #f5faf6 0%, #edf4ef 100%);
}

.projects-v3-row__media--page-shot img {
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 860px) {
  .projects-v3-float--svietejas {
    padding: 14px;
  }

  .projects-v3-float--svietejas img {
    height: 136px;
  }
}

@media (max-width: 640px) {
  .projects-v3-float--svietejas {
    padding: 10px;
  }

  .projects-v3-float--svietejas img {
    height: 118px;
  }
}


/* Projects page v3 hero full svietejas image */
.projects-v3-float--svietejas {
  padding: 16px;
}

.projects-v3-float--svietejas img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 860px) {
  .projects-v3-float--svietejas {
    padding: 14px;
  }

  .projects-v3-float--svietejas img {
    height: auto;
  }
}

@media (max-width: 640px) {
  .projects-v3-float--svietejas {
    padding: 10px;
  }

  .projects-v3-float--svietejas img {
    height: auto;
  }
}


/* Projects page v3 listing uses svietejas png */
.projects-v3-row__media--page-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f5faf6 0%, #edf4ef 100%);
}

.projects-v3-row__media--page-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}


/* Projects page v3 listing row svietejas tweaks */
.projects-v3-row__media--page-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(180deg, #f4faf6 0%, #ebf4ee 100%);
}

.projects-v3-row__media--page-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  filter: blur(0.65px);
  transform: scale(0.99);
}

.projects-v3-row__media--page-shot .projects-v3-row__badge {
  z-index: 2;
}

@media (max-width: 640px) {
  .projects-v3-row__media--page-shot {
    padding: 8px;
  }
}


/* Projects page v3 listing row final svietejas fit */
.projects-v3-row__media--page-shot {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f4faf6 0%, #ebf4ee 100%);
}

.projects-v3-row__media--page-shot > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  filter: blur(0.65px);
  transform: scale(1.02);
}

.projects-v3-row__media--page-shot .projects-v3-row__badge {
  z-index: 2;
}

.projects-v3-row__media--page-shot .projects-v3-row__badge img {
  filter: none;
  transform: none;
  width: 62px;
  height: 62px;
  object-fit: contain;
}


/* Projects page v3 listing media exact fill */
.projects-v3-row__media--page-shot {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.projects-v3-row__media--page-shot > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  filter: blur(0.65px);
  transform: scale(1.02);
  transform-origin: center center;
}

.projects-v3-row__media--page-shot .projects-v3-row__badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 22px;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.projects-v3-row__media--page-shot .projects-v3-row__badge img {
  position: static;
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: none;
  transform: none;
}

@media (max-width: 640px) {
  .projects-v3-row__media--page-shot .projects-v3-row__badge {
    left: 16px;
    top: 16px;
    width: 74px;
    height: 74px;
  }

  .projects-v3-row__media--page-shot .projects-v3-row__badge img {
    width: 70px;
    height: 70px;
  }
}


/* Projects page v3 requested cleanup */
/* DI float removed: strategy card now uses the former dark DI-card visual language. */
.projects-v3-float--strategy {
  left: 0;
  right: auto;
  bottom: 38px;
  top: auto;
  width: 42%;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 29, 20, 0.96), rgba(9, 50, 33, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}

.projects-v3-float--strategy .projects-v3-float__meta {
  padding: 24px 24px 0;
}

.projects-v3-float--strategy h2,
.projects-v3-float--strategy span {
  color: #effaf4;
}

.projects-v3-float--strategy span {
  opacity: 0.78;
}

.projects-v3-float--strategy img {
  width: 100%;
  max-width: 180px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin: 14px 24px 24px;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Pill lists removed from project rows; keep the arrow aligned cleanly. */
.projects-v3-row__side {
  justify-content: flex-end;
}

.projects-v3-pill-list {
  display: none !important;
}

/* Smaller Švietėjas logo overlay in the listing row. */
.projects-v3-row__media--page-shot .projects-v3-row__badge {
  left: 22px;
  top: 22px;
  width: 58px;
  height: 58px;
}

.projects-v3-row__media--page-shot .projects-v3-row__badge img {
  width: 54px;
  height: 54px;
}

@media (max-width: 860px) {
  .projects-v3-float--strategy {
    width: 45%;
    bottom: 18px;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .projects-v3-float--strategy {
    width: 50%;
  }

  .projects-v3-float--strategy img {
    max-width: 130px;
    height: 48px;
    margin: 12px 14px 14px;
  }

  .projects-v3-row__media--page-shot .projects-v3-row__badge {
    left: 16px;
    top: 16px;
    width: 48px;
    height: 48px;
  }

  .projects-v3-row__media--page-shot .projects-v3-row__badge img {
    width: 44px;
    height: 44px;
  }
}


/* Projects page v3 full clickable rows */
.projects-v3-row--clickable {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.projects-v3-row--clickable:hover,
.projects-v3-row--clickable:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(10, 52, 35, 0.18);
  box-shadow: 0 22px 54px rgba(6, 36, 23, 0.12);
  outline: none;
}

.projects-v3-row--clickable:hover .projects-v3-row__arrow,
.projects-v3-row--clickable:focus-visible .projects-v3-row__arrow {
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 79, 53, 0.22);
  transform: translateY(-2px);
}

.projects-v3-row__content,
.projects-v3-row__text {
  display: block;
}

.projects-v3-row__title {
  display: block;
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 2vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--green-950);
  font-weight: 850;
}

.projects-v3-row__text {
  margin: 0;
  color: var(--muted);
}


/* AtsinaujinAI listing row visual */
.projects-v3-row__media--atsinaujinai {
  display: block;
  padding: 0;
  background: linear-gradient(135deg, #eef2f7 0%, #dfe6f1 100%);
  overflow: hidden;
}

.projects-v3-row__media--atsinaujinai img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}


/* Projects page v3 hero strategy positioning */
.projects-v3-hero__visual {
  isolation: isolate;
}

.projects-v3-float--strategy {
  top: 34px;
  right: 10px;
  bottom: auto;
  left: auto;
  width: 46%;
  min-height: 168px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(7, 29, 20, 0.97), rgba(9, 50, 33, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}

.projects-v3-float--strategy .projects-v3-float__meta {
  padding: 0;
}

.projects-v3-float--strategy h2,
.projects-v3-float--strategy span {
  color: #effaf4;
}

.projects-v3-float--strategy span {
  opacity: 0.78;
}

.projects-v3-float--strategy img {
  display: none;
}

.projects-v3-float--svietejas {
  z-index: 3;
}

@media (max-width: 860px) {
  .projects-v3-float--strategy {
    top: 22px;
    right: 8px;
    width: 46%;
    min-height: 138px;
    padding: 20px 22px;
  }
}

@media (max-width: 640px) {
  .projects-v3-float--strategy {
    top: 18px;
    right: 4px;
    width: 50%;
    min-height: 116px;
    padding: 16px;
  }
}


/* Projects page v3 hero final alignment */
.projects-v3-hero__visual {
  min-height: 470px;
  isolation: isolate;
}

.projects-v3-hero__shape {
  top: 48px;
  right: 34px;
  width: 78%;
  height: 74%;
  z-index: 0;
}

.projects-v3-hero__shape--small {
  z-index: 0;
}

.projects-v3-float--strategy {
  top: 22px;
  right: 24px;
  bottom: auto;
  left: auto;
  width: 44%;
  min-height: 150px;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 26px 28px 70px;
}

.projects-v3-float--strategy .projects-v3-float__meta {
  position: relative;
  z-index: 4;
  padding: 0;
}

.projects-v3-float--strategy h2 {
  margin: 0;
  white-space: nowrap;
}

.projects-v3-float--strategy span {
  display: block;
  margin-top: 10px;
  color: #effaf4;
  opacity: 0.84;
  white-space: nowrap;
}

.projects-v3-float--strategy img {
  display: none !important;
}

.projects-v3-float--svietejas {
  top: 140px;
  left: 22%;
  width: 62%;
  z-index: 3;
}

@media (max-width: 860px) {
  .projects-v3-hero__visual {
    min-height: 420px;
  }

  .projects-v3-hero__shape {
    top: 42px;
    right: 8px;
    width: 88%;
    height: 74%;
  }

  .projects-v3-float--strategy {
    top: 18px;
    right: 8px;
    width: 48%;
    min-height: 124px;
    padding: 20px 22px 58px;
  }

  .projects-v3-float--svietejas {
    top: 120px;
    left: 14%;
    width: 70%;
  }
}

@media (max-width: 640px) {
  .projects-v3-hero__visual {
    min-height: 350px;
  }

  .projects-v3-hero__shape {
    top: 36px;
    right: 4px;
    width: 90%;
    height: 72%;
  }

  .projects-v3-float--strategy {
    top: 12px;
    right: 4px;
    width: 52%;
    min-height: 100px;
    padding: 14px 16px 46px;
  }

  .projects-v3-float--strategy h2 {
    font-size: 0.9rem;
  }

  .projects-v3-float--strategy span {
    font-size: 0.72rem;
    margin-top: 6px;
  }

  .projects-v3-float--svietejas {
    top: 98px;
    left: 9%;
    width: 76%;
  }
}

/* ==========================================
   Project case study pages
   ========================================== */
.project-case-page {
  --case-surface: #f7faf7;
  --case-border: rgba(15, 81, 50, 0.12);
  --case-shadow: 0 24px 60px rgba(14, 45, 29, 0.08);
  --case-muted: #5d6e63;
  --case-text: #173123;
}

.project-case {
  padding: 2rem 0 5rem;
}

.project-case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}

.project-case-hero__grid,
.project-case-hero__panel,
.project-case-layout__grid,
.project-case-triad__grid,
.project-case-gallery__grid,
.project-case-process__steps,
.project-case-cta__card,
.project-case-metrics,
.project-case-stack,
.project-case-tags,
.project-case-hero__actions {
  display: grid;
}

.project-case-hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.project-case-hero__panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.15fr);
  gap: 2rem;
  align-items: stretch;
  padding: 2rem;
  border: 1px solid var(--case-border);
  border-radius: 2rem;
  background: linear-gradient(180deg, #fbfdfb 0%, #f3f8f4 100%);
  box-shadow: var(--case-shadow);
}

.project-case-hero__copy h1,
.project-case-hero__panel-copy h1 {
  margin: 0 0 0.75rem;
  color: var(--green-900);
  font-family: 'Lora', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.95;
}

.project-case-hero__copy .hero-lead,
.project-case-hero__panel-copy .hero-lead {
  max-width: 40rem;
  margin: 0;
  color: var(--case-text);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.project-case-hero__text {
  margin: 1rem 0 0;
  max-width: 42rem;
  color: var(--case-muted);
  line-height: 1.7;
}

.project-case-tags {
  grid-template-columns: repeat(auto-fit, minmax(130px, max-content));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.project-case-tags--single {
  grid-template-columns: max-content;
  margin: 0 0 1rem;
}

.project-case-tags span,
.project-case-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 81, 50, 0.18);
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.95rem;
}

.project-case-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.project-case-metrics article {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--case-border);
  background: rgba(255, 255, 255, 0.82);
}

.project-case-metrics strong {
  display: block;
  color: var(--green-900);
  font-size: 1.55rem;
  line-height: 1.1;
}

.project-case-metrics span {
  display: block;
  margin-top: 0.35rem;
  color: var(--case-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.project-case-preview {
  min-height: 100%;
  padding: 1rem;
  border-radius: 1.8rem;
  border: 1px solid var(--case-border);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8f5 100%);
  box-shadow: var(--case-shadow);
}

.project-case-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.project-case-preview--atsinaujinai {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.project-case-preview--atsinaujinai img {
  object-fit: contain;
}

.project-case-triad__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-case-card,
.project-case-shot,
.project-case-process__wrap,
.project-case-sidebar,
.project-case-detail,
.project-case-cta__card {
  border: 1px solid var(--case-border);
  border-radius: 1.8rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(14, 45, 29, 0.05);
}

.project-case-card {
  padding: 1.5rem;
}

.project-case-card h2,
.project-case-section-head h2,
.project-case-process__intro h2,
.project-case-detail h2,
.project-case-sidebar__section h2,
.project-case-cta__card h2 {
  margin: 0 0 0.7rem;
  color: var(--green-900);
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.project-case-card p,
.project-case-detail p,
.project-case-sidebar__section p,
.project-case-shot figcaption,
.project-case-process__steps p,
.project-case-cta__card p {
  margin: 0;
  color: var(--case-muted);
  line-height: 1.7;
}

.project-case-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-case-link {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.project-case-gallery__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-case-shot {
  overflow: hidden;
}

.project-case-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f2f5f2;
}

.project-case-shot figcaption {
  padding: 1rem 1rem 1.1rem;
  font-size: 0.94rem;
}

.project-case-process__wrap {
  padding: 1.75rem;
}

.project-case-process__steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-case-process__steps article {
  position: relative;
  padding-top: 0.5rem;
}

.project-case-process__steps article:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.3rem;
  right: -0.55rem;
  width: calc(100% - 1.4rem);
  height: 1px;
  border-top: 1px dashed rgba(15, 81, 50, 0.22);
}

.project-case-process__steps span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f3ec;
  color: var(--green-800);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.project-case-process__steps h3 {
  margin: 0 0 0.55rem;
  color: var(--green-900);
  font-size: 1.1rem;
}

.project-case-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem;
  background: linear-gradient(180deg, #fbfdfb 0%, #f4f8f4 100%);
}

.project-case-cta__actions {
  grid-template-columns: repeat(2, max-content);
  gap: 1rem;
}

.project-case-layout__grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.project-case-content {
  display: grid;
  gap: 1rem;
}

.project-case-detail {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.3rem 1.4rem;
}

.project-case-detail h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 1.6vw, 1.75rem);
}

.project-case-detail--cta {
  align-items: center;
}

.project-case-sidebar {
  padding: 1.4rem;
  position: sticky;
  top: 7rem;
}

.project-case-sidebar__section + .project-case-sidebar__section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 81, 50, 0.12);
}

.project-case-sidebar__list,
.project-case-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-case-sidebar__list {
  display: grid;
  gap: 0.9rem;
}

.project-case-sidebar__list li {
  display: grid;
  gap: 0.2rem;
}

.project-case-sidebar__list strong,
.project-case-checklist li {
  color: var(--green-900);
}

.project-case-sidebar__list span {
  color: var(--case-muted);
  line-height: 1.55;
}

.project-case-checklist {
  display: grid;
  gap: 0.75rem;
}

.project-case-checklist li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.project-case-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-700);
  font-weight: 800;
}

.project-case-stack {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.project-case-sidebar__section--cta {
  padding: 1.15rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #f7fbf8 0%, #edf6f0 100%);
}

.project-case-sidebar__section--cta h2 {
  font-size: 1.5rem;
}

.project-case-page .btn {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .project-case-hero__grid,
  .project-case-hero__panel,
  .project-case-layout__grid,
  .project-case-triad__grid,
  .project-case-gallery__grid,
  .project-case-process__steps {
    grid-template-columns: 1fr;
  }

  .project-case-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-case-detail {
    grid-template-columns: 1fr;
  }

  .project-case-sidebar {
    position: static;
  }

  .project-case-process__steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .project-case {
    padding: 1.25rem 0 4rem;
  }

  .project-case-hero__panel,
  .project-case-process__wrap,
  .project-case-cta__card,
  .project-case-card,
  .project-case-detail,
  .project-case-sidebar {
    padding: 1.15rem;
  }

  .project-case-metrics,
  .project-case-cta__actions,
  .project-case-stack {
    grid-template-columns: 1fr;
  }

  .project-case-section-head,
  .project-case-cta__card {
    align-items: start;
    flex-direction: column;
  }

  .project-case-tags {
    grid-template-columns: 1fr;
  }
}

/* PROJECT CASE PAGES — FINAL V2 */
.project-case-page--v2 {
  --case-container: 1320px;
  --case-bg: #fbfaf7;
  --case-soft: #f4f8f5;
  --case-card: #ffffff;
  --case-line: rgba(10, 52, 35, 0.13);
  --case-line-strong: rgba(10, 52, 35, 0.22);
  --case-text: #16251d;
  --case-muted: #5f6f67;
  --case-shadow: 0 24px 70px rgba(6, 36, 23, 0.08);
  --case-shadow-soft: 0 14px 38px rgba(6, 36, 23, 0.06);
}

.project-case-page--v2 .site-header {
  background: rgba(251, 250, 247, 0.92);
}

.project-case-page--v2 .case-v2-container {
  width: min(100% - 48px, var(--case-container));
  margin-inline: auto;
}

.project-case-page--v2 .project-case {
  padding: 0 0 5rem;
}

.project-case-page--v2 .case-v2-hero {
  padding: clamp(3rem, 5vw, 5.5rem) 0 clamp(1.5rem, 3vw, 3rem);
}

.project-case-page--v2 .case-v2-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
  color: var(--green-700);
  font-weight: 750;
  text-decoration: none;
}

.project-case-page--v2 .case-v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.project-case-page--v2 .case-v2-hero__copy h1,
.project-case-page--v2 .case-v2-hero__grid h1 {
  margin: 0 0 1rem;
  color: var(--green-900);
  font-family: "Lora", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  font-size: clamp(4.2rem, 7.6vw, 7.25rem);
  line-height: 0.88;
}

.project-case-page--v2 .case-v2-lead {
  max-width: 640px;
  margin: 0;
  color: var(--case-text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.48;
  letter-spacing: -0.018em;
}

.project-case-page--v2 .case-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.65rem 0 1.85rem;
}

.project-case-page--v2 .case-v2-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 1.1rem;
  border: 1px solid var(--case-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-800);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(6, 36, 23, 0.03);
}

.project-case-page--v2 .case-v2-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-case-page--v2 .case-v2-stats article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.1rem 0.65rem;
  align-items: start;
  padding: 0.95rem 0.95rem 1rem;
  border: 1px solid var(--case-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(6, 36, 23, 0.035);
}

.project-case-page--v2 .case-v2-stat-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-700);
  background: #e9f3ec;
  font-size: 1rem;
  line-height: 1;
}

.project-case-page--v2 .case-v2-stats strong {
  display: block;
  white-space: nowrap;
  color: var(--green-900);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.project-case-page--v2 .case-v2-stats small {
  display: block;
  color: var(--case-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.project-case-page--v2 .case-v2-browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--case-line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff 0%, #f4f8f5 100%);
  box-shadow: var(--case-shadow);
}

.project-case-page--v2 .case-v2-browser--svietejas {
  padding: 1.05rem;
}

.project-case-page--v2 .case-v2-browser--svietejas::before,
.project-case-page--v2 .case-v2-browser--atsinaujinai::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 44%;
  height: 48%;
  background: radial-gradient(circle, rgba(35, 132, 86, 0.16), transparent 70%);
  pointer-events: none;
}

.project-case-page--v2 .case-v2-browser__bar {
  display: none;
}

.project-case-page--v2 .case-v2-browser img {
  display: block;
  width: 100%;
  height: 100%;
}

.project-case-page--v2 .case-v2-browser--svietejas img {
  aspect-ratio: 16 / 10.1;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  background: #f1f4ef;
}

.project-case-page--v2 .case-v2-section {
  padding: clamp(1.4rem, 3vw, 2.6rem) 0;
}

.project-case-page--v2 .case-v2-section--tight {
  padding-top: clamp(0.9rem, 2.2vw, 1.8rem);
}

.project-case-page--v2 .case-v2-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--case-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--case-shadow-soft);
  overflow: hidden;
}

.project-case-page--v2 .case-v2-triad article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.25rem, 2.1vw, 1.75rem);
}

.project-case-page--v2 .case-v2-triad article + article {
  border-left: 1px solid var(--case-line);
}

.project-case-page--v2 .case-v2-card-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-800);
  background: #e9f3ec;
  font-weight: 850;
  font-size: 1.1rem;
}

.project-case-page--v2 .case-v2-triad h2,
.project-case-page--v2 .case-v2-section-head h2,
.project-case-page--v2 .case-v2-process__title h2,
.project-case-page--v2 .case-v2-result h2,
.project-case-page--v2 .case-v2-cta h2,
.project-case-page--v2 .case-v2-metric-band h2,
.project-case-page--v2 .case-v2-tech h2,
.project-case-page--v2 .case-v2-ba-card h2 {
  margin: 0;
  color: var(--green-900);
  font-family: "Lora", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.project-case-page--v2 .case-v2-triad p,
.project-case-page--v2 .case-v2-result p,
.project-case-page--v2 .case-v2-cta p,
.project-case-page--v2 .case-v2-process p,
.project-case-page--v2 .case-v2-tech p {
  margin: 0.55rem 0 0;
  color: var(--case-muted);
  line-height: 1.7;
}

.project-case-page--v2 .case-v2-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

.project-case-page--v2 .case-v2-link {
  color: var(--green-700);
  font-weight: 800;
  white-space: nowrap;
}

.project-case-page--v2 .case-v2-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-case-page--v2 .case-v2-shots figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--case-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(6, 36, 23, 0.055);
}

.project-case-page--v2 .case-v2-shots img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: center top;
  background: #f1f4ef;
}

.project-case-page--v2 .case-v2-shots figcaption {
  padding: 0.85rem 0.95rem 1rem;
  color: var(--case-muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.project-case-page--v2 .case-v2-process,
.project-case-page--v2 .case-v2-result,
.project-case-page--v2 .case-v2-tech {
  border: 1px solid var(--case-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--case-shadow-soft);
  padding: clamp(1.25rem, 2.3vw, 1.8rem);
}

.project-case-page--v2 .case-v2-process {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.project-case-page--v2 .case-v2-process__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.project-case-page--v2 .case-v2-process--four .case-v2-process__steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-case-page--v2 .case-v2-process__steps article {
  position: relative;
  min-width: 0;
}

.project-case-page--v2 .case-v2-process__steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50px;
  right: -0.5rem;
  border-top: 1px dashed rgba(10, 52, 35, 0.2);
}

.project-case-page--v2 .case-v2-process__steps span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f3ec;
  color: var(--green-800);
  font-weight: 850;
  box-shadow: 0 6px 16px rgba(6, 36, 23, 0.05);
}

.project-case-page--v2 .case-v2-process__steps h3 {
  margin: 0.85rem 0 0.4rem;
  color: var(--green-900);
  font-size: 1rem;
  line-height: 1.25;
}

.project-case-page--v2 .case-v2-process__steps p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.project-case-page--v2 .case-v2-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border-radius: 24px;
  border: 1px solid var(--case-line);
  background:
    radial-gradient(circle at 92% 15%, rgba(35, 132, 86, 0.13), transparent 20rem),
    linear-gradient(180deg, #f8fbf8 0%, #f2f7f3 100%);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--v2 .case-v2-quote blockquote {
  margin: 0;
  color: var(--green-900);
  font-family: "Lora", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.project-case-page--v2 .case-v2-quote strong,
.project-case-page--v2 .case-v2-quote span {
  display: block;
  white-space: nowrap;
}

.project-case-page--v2 .case-v2-quote strong {
  color: var(--green-900);
}

.project-case-page--v2 .case-v2-quote span {
  color: var(--case-muted);
  margin-top: 0.25rem;
}

.project-case-page--v2 .case-v2-result {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  align-items: center;
}

.project-case-page--v2 .case-v2-result__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-case-page--v2 .case-v2-result__cards article {
  padding: 1.05rem;
  border-radius: 18px;
  background: #f7faf8;
  border: 1px solid var(--case-line);
}

.project-case-page--v2 .case-v2-result__cards strong {
  display: block;
  color: var(--green-900);
  font-size: 1.45rem;
  line-height: 1.05;
}

.project-case-page--v2 .case-v2-result__cards span {
  display: block;
  margin-top: 0.35rem;
  color: var(--case-muted);
  line-height: 1.45;
}

.project-case-page--v2 .case-v2-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: 24px;
  border: 1px solid var(--case-line);
  background:
    radial-gradient(circle at 92% 0%, rgba(35, 132, 86, 0.15), transparent 24rem),
    linear-gradient(180deg, #fbfdfb 0%, #f4f8f4 100%);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--v2 .case-v2-cta--dark {
  background:
    radial-gradient(circle at 86% 0%, rgba(35, 132, 86, 0.38), transparent 28rem),
    linear-gradient(135deg, #062417 0%, #0f4f35 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.project-case-page--v2 .case-v2-cta--dark h2,
.project-case-page--v2 .case-v2-cta--dark p {
  color: #fff;
}

.project-case-page--v2 .case-v2-cta__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.project-case-page--v2 .case-v2-hero__grid--atsinaujinai {
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.15fr);
}

.project-case-page--v2 .case-v2-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.project-case-page--v2 .case-v2-info-row article {
  padding: 1rem;
  border: 1px solid var(--case-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.project-case-page--v2 .case-v2-info-row strong,
.project-case-page--v2 .case-v2-info-row span {
  display: block;
}

.project-case-page--v2 .case-v2-info-row strong {
  color: var(--green-900);
  margin-bottom: 0.3rem;
}

.project-case-page--v2 .case-v2-info-row span {
  color: var(--case-muted);
  line-height: 1.45;
}

.project-case-page--v2 .case-v2-browser--atsinaujinai {
  padding: 0;
  aspect-ratio: 16 / 10.1;
}

.project-case-page--v2 .case-v2-browser--atsinaujinai img {
  object-fit: cover;
  object-position: center center;
}

.project-case-page--v2 .case-v2-metric-band {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid var(--case-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--v2 .case-v2-metric-band article {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--case-line);
  background: #f7faf8;
}

.project-case-page--v2 .case-v2-metric-band strong {
  display: block;
  color: var(--green-900);
  font-size: 1.35rem;
  line-height: 1.05;
}

.project-case-page--v2 .case-v2-metric-band span {
  display: block;
  margin-top: 0.35rem;
  color: var(--case-muted);
  line-height: 1.45;
}

.project-case-page--v2 .case-v2-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.project-case-page--v2 .case-v2-ba-card {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid var(--case-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--v2 .case-v2-ba-card--after {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef7f1 100%);
}

.project-case-page--v2 .case-v2-ba-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.project-case-page--v2 .case-v2-ba-card li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--case-muted);
  line-height: 1.55;
}

.project-case-page--v2 .case-v2-ba-card--before li::before,
.project-case-page--v2 .case-v2-ba-card--after li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 850;
}

.project-case-page--v2 .case-v2-ba-card--before li::before {
  content: "×";
  color: #8a9990;
}

.project-case-page--v2 .case-v2-ba-card--after li::before {
  content: "✓";
  color: var(--green-700);
}

.project-case-page--v2 .case-v2-ba-arrow {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(15, 79, 53, 0.22);
}

.project-case-page--v2 .case-v2-tech {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.project-case-page--v2 .case-v2-tech__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-case-page--v2 .case-v2-tech__list span {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--case-line);
  background: #fff;
  color: var(--green-800);
  font-weight: 700;
}

.project-case-page--v2 .section,
.project-case-page--v2 .section-shell {
  overflow: visible;
}

/* Keep the old project-case attempt from stretching images/cards. */
.project-case-page--v2 .project-case-preview,
.project-case-page--v2 .project-case-hero__grid,
.project-case-page--v2 .project-case-hero__panel,
.project-case-page--v2 .project-case-metrics,
.project-case-page--v2 .project-case-triad__grid,
.project-case-page--v2 .project-case-gallery__grid,
.project-case-page--v2 .project-case-process__steps,
.project-case-page--v2 .project-case-layout__grid {
  min-height: 0;
}

@media (max-width: 1180px) {
  .project-case-page--v2 .case-v2-hero__grid,
  .project-case-page--v2 .case-v2-hero__grid--atsinaujinai,
  .project-case-page--v2 .case-v2-triad,
  .project-case-page--v2 .case-v2-process,
  .project-case-page--v2 .case-v2-result,
  .project-case-page--v2 .case-v2-metric-band,
  .project-case-page--v2 .case-v2-tech {
    grid-template-columns: 1fr;
  }

  .project-case-page--v2 .case-v2-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-case-page--v2 .case-v2-stats,
  .project-case-page--v2 .case-v2-process__steps,
  .project-case-page--v2 .case-v2-process--four .case-v2-process__steps,
  .project-case-page--v2 .case-v2-result__cards,
  .project-case-page--v2 .case-v2-info-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-case-page--v2 .case-v2-triad article + article {
    border-left: 0;
    border-top: 1px solid var(--case-line);
  }

  .project-case-page--v2 .case-v2-process__steps article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .project-case-page--v2 .case-v2-container {
    width: min(100% - 28px, var(--case-container));
  }

  .project-case-page--v2 .case-v2-hero {
    padding-top: 2rem;
  }

  .project-case-page--v2 .case-v2-hero__copy h1,
  .project-case-page--v2 .case-v2-hero__grid h1 {
    font-size: clamp(3.1rem, 17vw, 4.5rem);
  }

  .project-case-page--v2 .case-v2-lead {
    font-size: 1.12rem;
  }

  .project-case-page--v2 .case-v2-stats,
  .project-case-page--v2 .case-v2-shots,
  .project-case-page--v2 .case-v2-process__steps,
  .project-case-page--v2 .case-v2-process--four .case-v2-process__steps,
  .project-case-page--v2 .case-v2-result__cards,
  .project-case-page--v2 .case-v2-info-row,
  .project-case-page--v2 .case-v2-before-after {
    grid-template-columns: 1fr;
  }

  .project-case-page--v2 .case-v2-triad article,
  .project-case-page--v2 .case-v2-quote,
  .project-case-page--v2 .case-v2-cta {
    grid-template-columns: 1fr;
  }

  .project-case-page--v2 .case-v2-quote,
  .project-case-page--v2 .case-v2-cta,
  .project-case-page--v2 .case-v2-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-case-page--v2 .case-v2-cta {
    display: flex;
  }

  .project-case-page--v2 .case-v2-cta__actions {
    width: 100%;
  }

  .project-case-page--v2 .case-v2-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .project-case-page--v2 .case-v2-ba-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}


.project-case-page--v2 .case-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.45rem;
}

.project-case-page--v2 .case-v2-hero__actions .btn {
  min-height: 48px;
}

@media (max-width: 760px) {
  .project-case-page--v2 .case-v2-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Švietėjas hero metadata row */
.project-case-page--v2 .case-v2-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 690px;
  margin-top: 1.7rem;
}

.project-case-page--v2 .case-v2-meta-row article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 64px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--case-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(6, 36, 23, 0.035);
}

.project-case-page--v2 .case-v2-meta-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f5f0e7;
  color: var(--green-700);
  font-size: 1rem;
  line-height: 1;
}

.project-case-page--v2 .case-v2-meta-row small {
  display: block;
  color: var(--case-muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.project-case-page--v2 .case-v2-meta-row strong {
  display: block;
  margin-top: 0.12rem;
  color: var(--green-900);
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 760;
}

@media (max-width: 760px) {
  .project-case-page--v2 .case-v2-meta-row {
    grid-template-columns: 1fr;
  }
}


/* Švietėjas hero carousel */
.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel {
  padding: 1.05rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__viewport {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 20px;
  background: #f1f4ef;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity 260ms ease, visibility 260ms ease, transform 420ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  aspect-ratio: auto;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__controls {
  position: absolute;
  left: 50%;
  bottom: 1.85rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  padding: 0.42rem 0.5rem;
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(6, 36, 23, 0.12);
  backdrop-filter: blur(10px);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #edf5ef;
  color: var(--green-800);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__button:hover,
.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__button:focus-visible {
  background: var(--green-800);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 52, 35, 0.24);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__dots button.is-active {
  width: 24px;
  background: var(--green-800);
}

@media (max-width: 760px) {
  .project-case-page--svietejas.project-case-page--v2 .case-v2-carousel {
    padding: 0.75rem;
  }

  .project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__controls {
    bottom: 1.25rem;
  }
}


/* Švietėjas project requested sections and carousel popup */
.project-case-page--v2 .case-v2-hero__copy h1 {
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__viewport {
  cursor: zoom-in;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__open {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__open:hover,
.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__open:focus-visible {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(6, 36, 23, 0.18);
  outline: none;
}

.case-v2-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.case-v2-lightbox[aria-hidden="false"] {
  display: flex;
}

.case-v2-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 12, 0.78);
  backdrop-filter: blur(14px);
}

.case-v2-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 96vw);
  max-height: 90vh;
  padding: clamp(0.8rem, 1.8vw, 1.25rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.36);
}

.case-v2-lightbox__figure {
  margin: 0;
}

.case-v2-lightbox__figure img {
  width: 100%;
  max-height: min(74vh, 760px);
  object-fit: contain;
  border-radius: 20px;
  background: #f4f7f4;
}

.case-v2-lightbox__figure figcaption {
  padding: 0.85rem 0.35rem 0.15rem;
  color: var(--green-900);
  font-weight: 750;
}

.case-v2-lightbox__close,
.case-v2-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(6, 36, 23, 0.18);
}

.case-v2-lightbox__close {
  right: 1.1rem;
  top: 1.1rem;
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--green-900);
  font-size: 1.8rem;
  line-height: 1;
}

.case-v2-lightbox__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background: var(--green-800);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.case-v2-lightbox__nav--prev {
  left: -1.2rem;
}

.case-v2-lightbox__nav--next {
  right: -1.2rem;
}

.case-v2-lightbox__close:hover,
.case-v2-lightbox__close:focus-visible,
.case-v2-lightbox__nav:hover,
.case-v2-lightbox__nav:focus-visible {
  outline: none;
  transform: translateY(-50%) scale(1.04);
}

.case-v2-lightbox__close:hover,
.case-v2-lightbox__close:focus-visible {
  transform: scale(1.04);
}

body.case-lightbox-open {
  overflow: hidden;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-section--videos {
  padding-top: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.8rem, 4vw, 3.5rem);
  background:
    radial-gradient(circle at 5% 18%, rgba(180, 148, 94, 0.10), transparent 22rem),
    radial-gradient(circle at 96% 35%, rgba(180, 148, 94, 0.12), transparent 20rem);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--case-line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.78), rgba(255, 255, 255, 0.92));
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-copy h2,
.project-case-page--svietejas.project-case-page--v2 .case-v2-social h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-copy p,
.project-case-page--svietejas.project-case-page--v2 .case-v2-social p {
  max-width: 560px;
  margin: 1rem 0 1.4rem;
  color: var(--case-muted);
  line-height: 1.75;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
  align-items: start;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--case-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(6, 36, 23, 0.09);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card h3 {
  margin: 0.9rem 0 0.35rem;
  color: var(--green-900);
  font-size: 1.15rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card p {
  margin: 0;
  color: var(--case-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: #f4ead7;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--logo {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.55), transparent 6rem),
    repeating-conic-gradient(from 0deg, #ef9f22 0deg 16deg, #fff0c9 16deg 32deg);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--logo img {
  width: min(66%, 210px);
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.16));
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--lesson {
  background:
    linear-gradient(180deg, rgba(5, 38, 24, 0.14), rgba(5, 38, 24, 0.42)),
    radial-gradient(circle at 25% 10%, #2bb36b, transparent 10rem),
    linear-gradient(145deg, #0d4f36, #8ed2c2 45%, #f4bd51);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-brand {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-900);
  font-weight: 850;
  font-size: 0.82rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-play {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #e29a13;
  font-size: 1.45rem;
  box-shadow: 0 18px 45px rgba(6, 36, 23, 0.18);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-social {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(1.4rem, 3vw, 2.25rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--case-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 98% 20%, rgba(35, 132, 86, 0.13), transparent 18rem),
    linear-gradient(180deg, #fbfdfb 0%, #f4f8f5 100%);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-social__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-social__links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 78px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-900);
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-social__links a:hover,
.project-case-page--svietejas.project-case-page--v2 .case-v2-social__links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 81, 50, 0.28);
  box-shadow: 0 16px 30px rgba(6, 36, 23, 0.10);
  outline: none;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-social__links span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f3ec;
  color: var(--green-800);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-showcase,
  .project-case-page--svietejas.project-case-page--v2 .case-v2-social {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .case-v2-lightbox__nav--prev {
    left: 0.4rem;
  }

  .case-v2-lightbox__nav--next {
    right: 0.4rem;
  }

  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-cards,
  .project-case-page--svietejas.project-case-page--v2 .case-v2-social__links {
    grid-template-columns: 1fr;
  }

  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
    min-height: 260px;
  }
}


/* Švietėjas project requested fine-tuning */
/* Hero meta row overflow fix */
.project-case-page--v2 .case-v2-meta-row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.78fr);
}

.project-case-page--v2 .case-v2-meta-row article {
  min-width: 0;
}

.project-case-page--v2 .case-v2-meta-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: clamp(0.84rem, 0.9vw, 0.95rem);
}

/* Carousel opens by clicking the image, no separate expand button. */
.project-case-page--svietejas.project-case-page--v2 .case-v2-carousel__open {
  display: none !important;
}

/* Lighter lightbox background so the page remains visible behind the preview. */
.case-v2-lightbox__backdrop {
  background: rgba(4, 18, 12, 0.44);
  backdrop-filter: blur(5px);
}

.case-v2-lightbox__dialog {
  background: rgba(255, 255, 255, 0.92);
}

/* Lightbox preview without caption. */
.case-v2-lightbox__figure figcaption {
  display: none !important;
}

/* Video cards: only YouTube thumbnails with play overlay and label. */
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-copy .btn {
  display: none !important;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card {
  padding: 0;
  overflow: hidden;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card h3,
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card p {
  display: none !important;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
  min-height: 430px;
  border-radius: 28px;
  background: #0f172a;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube {
  position: relative;
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transition: transform 220ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:hover img,
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:focus-visible img {
  transform: scale(1.055);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 12, 0.06), rgba(4, 18, 12, 0.48)),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.18), transparent 9rem);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube .case-v2-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:hover .case-v2-video-play,
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:focus-visible .case-v2-video-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-900);
  font-weight: 850;
  text-align: center;
  box-shadow: 0 14px 34px rgba(6, 36, 23, 0.16);
}

@media (max-width: 760px) {
  .project-case-page--v2 .case-v2-meta-row {
    grid-template-columns: 1fr;
  }

  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
    min-height: 310px;
  }
}


/* Švietėjas video embeds correction */
/* Keep the video preview as an inline embed instead of an external link. */
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-card {
  background: transparent;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  min-height: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #f4f8f5;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:hover img,
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:focus-visible img {
  transform: scale(1.04);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 12, 0.12);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(6, 36, 23, 0.26);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:hover .case-v2-video-play,
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb--youtube:focus-visible .case-v2-video-play {
  background: var(--green-900);
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 22px 52px rgba(6, 36, 23, 0.32);
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-label {
  display: none !important;
}

.project-case-page--svietejas.project-case-page--v2 .case-v2-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 28px;
  background: #06150e;
}

@media (max-width: 760px) {
  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-thumb {
    aspect-ratio: 9 / 16;
  }
}


/* Švietėjas project video showcase spacing and card alignment */
.project-case-page--svietejas.project-case-page--v2 .case-v2-video-copy h2 {
  line-height: 1.3;
}

@media (min-width: 1021px) {
  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-cards {
    width: min(100%, 560px);
    justify-self: end;
    align-self: start;
    gap: clamp(0.75rem, 1.6vw, 1.1rem);
  }

  .project-case-page--svietejas.project-case-page--v2 .case-v2-video-card:first-child {
    margin-top: clamp(2.2rem, 4vw, 3.8rem);
  }
}


/* AtsinaujinAI hero polish */
.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero__grid--atsinaujinai {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero__copy {
  min-width: 0;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero__copy h1 {
  max-width: 100%;
  margin-top: clamp(1rem, 2vw, 1.75rem);
  overflow-wrap: break-word;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-meta-row {
  margin-top: 1.7rem;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-meta-row article {
  min-width: 0;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-browser--atsinaujinai {
  padding: 1.05rem;
  aspect-ratio: auto;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #f1f4ef;
  cursor: zoom-in;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open:hover img,
.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open:focus-visible img {
  transform: scale(1.018);
  filter: saturate(1.03);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open:focus-visible {
  outline: 3px solid rgba(35, 132, 86, 0.32);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero__grid--atsinaujinai {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-browser--atsinaujinai {
    padding: 0.75rem;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-hero-image-open {
    aspect-ratio: 16 / 10.5;
  }
}

/* AtsinaujinAI before / after case study */
.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-section-head--compare {
  align-items: flex-end;
  margin-bottom: clamp(1.1rem, 2.4vw, 1.8rem);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-section-head--compare > div:first-child {
  max-width: 760px;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(1rem, 2.6vw, 1.8rem);
  align-items: stretch;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--case-line);
  border-radius: 30px;
  background: #f4f8f5;
  box-shadow: var(--case-shadow);
  isolation: isolate;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__image--before {
  position: relative;
  z-index: 1;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__after {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--case-ba-position, 50%)) 0 0);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-animating .case-v2-compare__after {
  transition: clip-path 900ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__after::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--case-ba-position, 50%);
  z-index: 5;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(15, 79, 53, 0.14), 0 0 34px rgba(6, 36, 23, 0.32);
  pointer-events: none;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-animating .case-v2-compare__divider {
  transition: left 900ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(6, 36, 23, 0.28);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__range {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label {
  position: absolute;
  top: 1rem;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-900);
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(6, 36, 23, 0.12);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-after-label-hidden .case-v2-compare__label--after,
.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-before-label-hidden .case-v2-compare__label--before {
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label--after {
  left: 1rem;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label--before {
  right: 1rem;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border: 1px solid var(--case-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(35, 132, 86, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 251, 248, 0.94) 100%);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-list article {
  padding: 0.95rem;
  border: 1px solid rgba(15, 79, 53, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-900);
  font-weight: 900;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-700);
  box-shadow: 0 0 0 5px rgba(35, 132, 86, 0.09);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-problem-list p {
  margin: 0.45rem 0 0;
  color: var(--case-muted);
  font-size: 0.93rem;
  line-height: 1.58;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid var(--case-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--case-shadow-soft);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20% -38% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(35, 132, 86, 0.13), transparent 68%);
  pointer-events: none;
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(6, 36, 23, 0.18);
}

.project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid h2 {
  margin: 1rem 0 0;
  color: var(--green-900);
  font-family: "Lora", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}


@media (prefers-reduced-motion: reduce) {
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-animating .case-v2-compare__after,
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare.is-animating .case-v2-compare__divider,
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label {
    transition: none;
  }
}

@media (max-width: 1180px) {
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare {
    grid-template-columns: 1fr;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid {
    grid-template-columns: 1fr;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-transition-grid article {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-section-head--compare {
    align-items: flex-start;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__stage {
    aspect-ratio: 2 / 1;
    border-radius: 22px;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__divider span {
    width: 44px;
    height: 44px;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label {
    top: 0.7rem;
    min-height: 32px;
    padding: 0.45rem 0.65rem;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label--after {
    left: 0.7rem;
  }

  .project-case-page--atsinaujinai.project-case-page--v2 .case-v2-compare__label--before {
    right: 0.7rem;
  }
}

/* Contact page v2 */
.contact-page-v2 .contact-main {
  overflow: hidden;
}

.contact-page-v2 .contact-hero-v2 {
  position: relative;
  padding: clamp(42px, 5.4vw, 72px) 0 clamp(32px, 4.8vw, 56px);
}

.contact-page-v2 .contact-hero-v2::before {
  content: "";
  position: absolute;
  inset: -120px -12vw auto auto;
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(35, 132, 86, 0.14), rgba(232, 242, 236, 0.38) 42%, transparent 68%);
  pointer-events: none;
}

.contact-page-v2 .contact-hero-v2__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 370px);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.contact-page-v2 .contact-hero-v2__copy {
  min-height: clamp(310px, 31vw, 390px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 245, 0.80)),
    radial-gradient(circle at 12% 18%, rgba(35, 132, 86, 0.11), transparent 18rem);
  box-shadow: 0 24px 70px rgba(6, 36, 23, 0.07);
}

.contact-page-v2 .contact-hero-v2__copy h1 {
  max-width: none;
  margin-bottom: 16px;
  font-size: clamp(2rem, 2.85vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

@media (min-width: 1041px) {
  .contact-page-v2 .contact-hero-v2__copy h1 {
    white-space: nowrap;
  }
}

.contact-page-v2 .contact-hero-v2__copy .hero-lead {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(0.98rem, 1.12vw, 1.05rem);
  line-height: 1.7;
}

.contact-page-v2 .contact-hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-page-v2 .contact-hero-v2__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 8px;
  min-height: 0;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid rgba(10, 52, 35, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(232, 242, 236, 0.84)),
    radial-gradient(circle at 70% 0%, rgba(180, 148, 94, 0.15), transparent 16rem);
  box-shadow: 0 24px 58px rgba(6, 36, 23, 0.09);
}

.contact-page-v2 .contact-hero-v2__panel::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(10, 52, 35, 0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(219,234,226,0.62));
  transform: rotate(8deg);
  pointer-events: none;
}

.contact-page-v2 .contact-status-pill {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 7px 11px;
  border: 1px solid rgba(15, 79, 53, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 850;
}

.contact-page-v2 .contact-direct-link {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10, 52, 35, 0.10);
  transition: color 180ms ease, transform 180ms ease;
}

.contact-page-v2 .contact-direct-link span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.contact-page-v2 .contact-direct-link strong {
  color: var(--green-950);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 850;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.contact-page-v2 .contact-direct-link:hover,
.contact-page-v2 .contact-direct-link:focus-visible {
  color: var(--green-700);
  transform: translateX(4px);
  outline: none;
}

.contact-page-v2 .contact-copy-button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(10, 52, 35, 0.16);
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 79, 53, 0.17);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-page-v2 .contact-copy-button:hover,
.contact-page-v2 .contact-copy-button:focus-visible {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 79, 53, 0.22);
  outline: none;
}

.contact-page-v2 .copy-status {
  position: relative;
  z-index: 1;
  min-height: 20px;
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
}

.contact-page-v2 .contact-topics-section,
.contact-page-v2 .contact-process-section {
  padding: clamp(28px, 4vw, 48px) 0;
}

.contact-page-v2 .contact-section-head {
  max-width: 620px;
  margin-bottom: 20px;
}

.contact-page-v2 .contact-section-head h2,
.contact-page-v2 .contact-process-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.45vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.contact-page-v2 .contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-page-v2 .contact-topic-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.35vw, 26px);
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 40px rgba(6, 36, 23, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-page-v2 .contact-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 79, 53, 0.22);
  box-shadow: 0 22px 52px rgba(6, 36, 23, 0.08);
}

.contact-page-v2 .contact-topic-card > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-800);
  font-size: 0.74rem;
  font-weight: 900;
}

.contact-page-v2 .contact-topic-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 1.25vw, 1.24rem);
  line-height: 1.18;
}

.contact-page-v2 .contact-topic-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.contact-page-v2 .contact-topic-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--green-800);
  font-size: 0.94rem;
  font-weight: 850;
}

.contact-page-v2 .contact-topic-card a::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.contact-page-v2 .contact-topic-card a:hover::after,
.contact-page-v2 .contact-topic-card a:focus-visible::after {
  transform: translateX(4px) rotate(45deg);
}

.contact-page-v2 .contact-topic-card a:focus-visible {
  outline: 2px solid rgba(15, 79, 53, 0.24);
  outline-offset: 4px;
  border-radius: 8px;
}

.contact-page-v2 .contact-process-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid rgba(10, 52, 35, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(232, 242, 236, 0.92), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 92% 8%, rgba(180, 148, 94, 0.17), transparent 20rem);
  box-shadow: 0 20px 58px rgba(6, 36, 23, 0.07);
}

.contact-page-v2 .contact-process-panel__intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-page-v2 .contact-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-page-v2 .contact-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(10, 52, 35, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
}

.contact-page-v2 .contact-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-800);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.contact-page-v2 .contact-steps strong {
  color: var(--green-950);
  font-size: 0.96rem;
  line-height: 1.2;
}

@media (max-width: 1040px) {
  .contact-page-v2 .contact-hero-v2__grid,
  .contact-page-v2 .contact-process-panel {
    grid-template-columns: 1fr;
  }

  .contact-page-v2 .contact-hero-v2__copy {
    min-height: 0;
  }

  .contact-page-v2 .contact-hero-v2__panel {
    align-self: stretch;
  }
}

@media (max-width: 860px) {
  .contact-page-v2 .contact-topic-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-v2 .contact-topic-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .contact-page-v2 .contact-hero-v2 {
    padding-top: 34px;
  }

  .contact-page-v2 .contact-hero-v2__copy,
  .contact-page-v2 .contact-hero-v2__panel,
  .contact-page-v2 .contact-process-panel {
    border-radius: 22px;
  }

  .contact-page-v2 .contact-hero-v2__copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    letter-spacing: -0.05em;
  }

  .contact-page-v2 .contact-hero-v2__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-page-v2 .contact-topic-card,
  .contact-page-v2 .contact-steps li {
    border-radius: 18px;
  }
}


/* 404 / error page */
.error-main {
  min-height: 62vh;
}

.error-hero {
  padding: clamp(64px, 10vw, 118px) 0 clamp(54px, 8vw, 96px);
}

.error-shell {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 4%, rgba(180, 148, 94, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(244,248,245,0.95));
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.error-code {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.error-shell h1 {
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--green-950);
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.error-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .error-hero {
    padding-top: 34px;
  }

  .error-shell {
    border-radius: 24px;
  }

  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
