:root {
  --green:       #A2BD30;
  --green2:      #7a8f22;
  --green-faint: rgba(162,189,48,0.08);
  --grey:        #6A726B;
  --dark:        #3d423e;
  --dark2:       #2a2e2b;
  --light:       #f4f4f0;
  --white:       #ffffff;
  --max-w:       1280px;
  --nav-h:       72px;
  --font-cond:   'Barlow Condensed', 'Gill Sans MT Condensed', sans-serif;
  --font-body:   'Barlow', 'Gill Sans', sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--green); color: #fff;
  padding: 0.5rem 1rem; border-radius: 2px;
  font-family: var(--font-cond); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ══════════════════════════════════════
   NAV — fixed, full width, z:200
══════════════════════════════════════ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 5vw, 6rem);
  background: rgba(244,244,240,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(162,189,48,0.18);
  transition: box-shadow .3s;
}
#site-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: inline-flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  line-height: 1;
}
.nav-logo-img {
  height: 40px; width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Desktop link list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links li { display: flex; align-items: center; }

.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
  transition: color .2s;
  position: relative; padding-bottom: 3px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width .25s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav CTA button — higher specificity than .nav-links a to avoid !important */
.nav-links a.nav-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--green); color: #fff;
  padding: 0 1.1rem 0 1.3rem; height: 38px;
  border-radius: 3px;
  font-family: var(--font-cond);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 0 var(--green2), 0 3px 10px rgba(162,189,48,0.2);
  transition: background .25s, transform .2s, box-shadow .25s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.nav-links a.nav-cta-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.nav-links a.nav-cta-btn .nav-btn-arrow { transition: transform .25s var(--ease-out); display: inline-flex; }
.nav-links a.nav-cta-btn:hover,
.nav-links a.nav-cta-btn.active { background: var(--green2); color: #fff; transform: translateY(-1px); box-shadow: 0 3px 0 #5c6b1a, 0 6px 16px rgba(162,189,48,0.28); }
.nav-links a.nav-cta-btn:hover .nav-btn-arrow { transform: translateX(3px); }
.nav-links a.nav-cta-btn::after { display: none; }
.nav-links a.nav-cta-btn.active { transform: none; box-shadow: 0 2px 0 #5c6b1a, 0 3px 10px rgba(162,189,48,0.25); }

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;          /* shown only in mobile media query */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  border-radius: 2px; flex-shrink: 0;
}
.nav-hamburger .bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark); border-radius: 1px;
  transition: transform .28s var(--ease-out), opacity .2s, background .2s;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
#mobile-drawer {
  display: none;   /* block only inside mobile media query */
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 195;
  background: rgba(244,244,240,0.99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(162,189,48,0.2);
  padding: 0 clamp(1.25rem, 5vw, 3rem) 2rem;
  /* animation driven by JS class */
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
  pointer-events: none;
}
#mobile-drawer.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#mobile-drawer ul {
  list-style: none; margin: 0; padding: 0;
}
#mobile-drawer ul li {
  border-bottom: 1px solid rgba(162,189,48,0.13);
}
#mobile-drawer ul li:first-child {
  border-top: 1px solid rgba(162,189,48,0.13);
}
#mobile-drawer ul a {
  display: block;
  font-family: var(--font-cond);
  font-size: 1.05rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--dark);
  padding: 0.95rem 0;
  transition: color .2s, padding-left .2s;
}
#mobile-drawer ul a:hover { color: var(--green); padding-left: 0.4rem; }
.drawer-cta {
  display: inline-block;
  margin-top: 1.6rem;
  background: var(--green); color: #fff;
  padding: 0.85rem 2rem; border-radius: 2px;
  font-family: var(--font-cond);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.drawer-cta:hover { background: var(--green2); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  background: linear-gradient(to right, var(--light) 50%, var(--dark) 50%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: var(--max-w); margin: 0 auto;
  min-height: calc(100vh - var(--nav-h));
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem clamp(2rem, 6vw, 8rem) 6rem 0;
}
.hero-tag {
  font-family: var(--font-cond);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.hero-tag::before {
  content: '';
  display: inline-block; width: 24px; height: 2px;
  background: var(--green); flex-shrink: 0;
}
.hero-left h1 {
  font-family: var(--font-cond);
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 800; line-height: 0.96;
  color: var(--dark); margin-bottom: 1.8rem;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.hero-left h1 .accent { color: var(--green); display: block; }
.hero-desc {
  font-size: 0.97rem; line-height: 1.78;
  color: var(--grey); max-width: 48ch;
  margin-bottom: 2.6rem; font-weight: 300;
}
.cta-row { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: #fff;
  padding: 0.9rem 2rem 0.9rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  font-family: var(--font-cond);
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: background .25s, transform .2s, box-shadow .25s;
  display: inline-flex; align-items: center; gap: 0.7rem;
  box-shadow: 0 2px 0 var(--green2), 0 4px 16px rgba(162,189,48,0.25);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary .btn-arrow-icon {
  display: inline-flex; align-items: center;
  transition: transform .25s var(--ease-out);
  flex-shrink: 0;
}
.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 #5c6b1a, 0 8px 24px rgba(162,189,48,0.3);
}
.btn-primary:hover .btn-arrow-icon { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 0 var(--green2), 0 2px 8px rgba(162,189,48,0.2); }
.btn-ghost {
  color: var(--grey);
  font-family: var(--font-cond);
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(106,114,107,0.4);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-ghost:hover { color: var(--green); border-color: var(--green); }
.btn-ghost svg { transition: transform .2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* Hero right */
.hero-right {
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 4rem clamp(2rem, 5vw, 5rem);
}
.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(162,189,48,0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(162,189,48,0.05) 40px);
  pointer-events: none;
}
.hero-stats-wrap { position: relative; z-index: 1; width: 100%; max-width: 380px; }
.hero-code {
  font-family: 'Courier New', monospace;
  font-size: 0.92rem; line-height: 1.85;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.5rem;
  background: rgba(0,0,0,0.15);
  border-radius: 4px; padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-code .cg  { color: var(--green); }
.hero-code .cw  { color: rgba(255,255,255,0.88); }
.hero-code .cgr { color: rgba(255,255,255,0.28); }
.hero-code .cn  { color: #e6a45e; }
.cursor {
  display: inline-block; width: 7px; height: 1em;
  background: var(--green); vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.8rem;
}
.ss-item { padding: 0 1.1rem; border-right: 1px solid rgba(255,255,255,0.08); }
.ss-item:first-child { padding-left: 0; }
.ss-item:last-child { border-right: none; padding-right: 0; }
.ss-num {
  font-family: var(--font-cond); font-size: 2.2rem;
  font-weight: 800; color: var(--green); line-height: 1;
}
.ss-lbl {
  font-family: var(--font-cond); font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); margin-top: 0.3rem;
}


/* ══════════════════════════════════════
   SHARED SECTION LABEL
══════════════════════════════════════ */
.section-label {
  font-family: var(--font-cond); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.8rem;
}

/* Reveal on scroll — content always visible, JS adds .visible for animation */
.reveal {
  opacity: 1; transform: none;
}
.js-reveal-ready .reveal:not(.visible) {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible {
  opacity: 1 !important; transform: none !important;
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
#services {
  padding: 7rem clamp(1.5rem, 6vw, 8rem);
  background: var(--white);
  position: relative; overflow: hidden;
}
/* Faint dot grid that fades out towards the edges, like squared paper. */
#services::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(61,66,62,0.16) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 45%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 75% 45%, #000, transparent 75%);
}
/* A soft green glow that drifts slowly, as in the hero. */
#services::after {
  content: ''; position: absolute; pointer-events: none;
  width: 55vw; max-width: 760px; aspect-ratio: 1; right: -10%; top: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(162,189,48,0.10), transparent 65%);
}
.js-motion #services::after { animation: svc-drift 28s ease-in-out infinite alternate; }
@keyframes svc-drift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-25%, 30%); }
  100% { transform: translate(-50%, 5%); }
}
#services-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}
.services-left h2 {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--dark);
  margin-top: 0.5rem; line-height: 1.05;
}
.services-left h2 span { color: var(--green); display: block; }
.services-right { padding-top: 2rem; }
.services-right .intro-p {
  font-size: 0.97rem; line-height: 1.8;
  color: var(--grey); font-weight: 300; margin-bottom: 2.4rem;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.svc-tag {
  font-family: var(--font-cond); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark);
  border: 1px solid rgba(61,66,62,0.22);
  padding: 0.38rem 0.85rem; border-radius: 2px;
  background: var(--light);
  transition: color .2s, border-color .2s, background .2s;
  cursor: default;
}
.svc-tag:hover { color: var(--green); border-color: rgba(162,189,48,0.45); background: rgba(162,189,48,0.05); }

/* ══════════════════════════════════════
   AI APPROACH
══════════════════════════════════════ */
.ai-section {
  padding: 7rem clamp(1.5rem, 6vw, 8rem);
  background: var(--dark); position: relative; overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(162,189,48,0.04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(162,189,48,0.04) 60px);
  pointer-events: none;
}
.ai-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1;
}
.ai-label .section-label { color: var(--green); }
.ai-label h2 {
  font-family: var(--font-cond); font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); margin-top: 0.5rem; line-height: 1.05;
}
.ai-label h2 span { color: var(--green); display: block; }
.ai-text p {
  font-size: 0.97rem; line-height: 1.8;
  color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; font-weight: 300;
}
.ai-text p:last-of-type { margin-bottom: 0; }
.ai-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.ai-tool-tag {
  font-family: var(--font-cond); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); border: 1px solid rgba(162,189,48,0.3);
  padding: 0.35rem 0.8rem; border-radius: 2px;
  background: rgba(162,189,48,0.06);
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about {
  padding: 7rem clamp(1.5rem, 6vw, 8rem);
  background: var(--light);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
}
#about h2 {
  font-family: var(--font-cond); font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1.4rem; color: var(--dark); line-height: 1.05;
}
#about h2 span { color: var(--green); display: block; }
#about p { font-size: 0.97rem; line-height: 1.8; color: var(--grey); margin-bottom: 1.1rem; font-weight: 300; }
.about-visual {
  background: var(--dark); border-radius: 2px;
  padding: 2.8rem; position: relative; overflow: hidden;
}
.about-visual::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--green); opacity: 0.08; pointer-events: none;
}
.about-panels { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.8rem; }
.ap-item { border-left: 2px solid var(--green); padding-left: 1.2rem; }
.ap-label {
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.4rem;
}
.ap-text { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.65); font-weight: 300; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact {
  background: var(--dark);
  padding: 7rem clamp(1.5rem, 6vw, 8rem);
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 60px solid rgba(162,189,48,0.05); pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1;
}
#contact .section-label { color: rgba(162,189,48,0.85); }
#contact h2 {
  font-family: var(--font-cond); font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.2rem; line-height: 1.05;
}
#contact h2 span { color: var(--green); display: block; }
.contact-sub {
  font-size: 0.97rem; line-height: 1.75;
  color: rgba(255,255,255,0.42);
  margin-bottom: 2.6rem; font-weight: 300;
}
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.ci-label {
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); min-width: 74px; padding-top: 2px;
}
.ci-val { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.5; font-weight: 300; }
.ci-val a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color .2s, border-color .2s;
}
.ci-val a:hover { color: var(--green); border-color: var(--green); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px; padding: 0.9rem 1rem;
  font-family: var(--font-body); font-size: 0.92rem;
  font-weight: 300; color: rgba(255,255,255,0.85);
  outline: none; width: 100%;
  transition: border-color .2s, background .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.2); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green); background: rgba(255,255,255,0.07); }
.contact-form input.is-error,
.contact-form textarea.is-error { border-color: #e05c5c; }
.contact-form textarea { resize: vertical; min-height: 130px; }

.field-error {
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; color: #e05c5c;
  height: 0; overflow: hidden;
  transition: height .2s;
}
.field-error.visible { height: 1.2em; }

.contact-form button[type="submit"] {
  background: var(--green); color: #fff; border: none;
  padding: 0.95rem 2.2rem; border-radius: 2px; cursor: pointer;
  font-family: var(--font-cond); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: background .2s, transform .15s;
}
.contact-form button[type="submit"]:hover { background: var(--green2); transform: translateY(-2px); }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 1s linear infinite; display: none; }
.btn-arrow { display: inline-block; }

.form-status {
  padding: 0.9rem 1.1rem; border-radius: 2px;
  font-family: var(--font-cond); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.08em;
  display: none;
}
.form-status.success { display: block; background: rgba(162,189,48,0.14); border: 1px solid rgba(162,189,48,0.3); color: var(--green); }
.form-status.error   { display: block; background: rgba(224,92,92,0.1);   border: 1px solid rgba(224,92,92,0.3);   color: #e05c5c; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark2);
  padding: 2rem clamp(1.5rem, 6vw, 8rem);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  flex-wrap: wrap; gap: 1rem;
}
.footer-left { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.footer-logo-img { height: 32px; width: auto; display: block; object-fit: contain; opacity: 0.65; transition: opacity .2s; }
.footer-logo-link:hover .footer-logo-img { opacity: 0.9; }
.f-vat { font-family: 'Courier New', monospace; font-size: 0.65rem; color: rgba(255,255,255,0.15); }
.footer-nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-cond); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,0.25);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--green); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.f-copy {
  font-family: var(--font-cond); font-size: 0.68rem;
  color: rgba(255,255,255,0.2); letter-spacing: 0.12em; text-transform: uppercase;
}
.footer-linkedin {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,0.25); transition: color .2s;
}
.footer-linkedin:hover { color: var(--green); }

.footer-links-row {
  display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center;
}

/* Back to top */
#back-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  width: 44px; height: 44px;
  background: var(--green); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 150;
}
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { background: var(--green2); transform: translateY(-3px); }

/* ══════════════════════════════════════
   RESPONSIVE — Mobile ≤ 768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop links */
  .nav-hamburger { display: flex; }
  .nav-links      { display: none; }

  /* Show drawer container — reset animation defaults for mobile */
  #mobile-drawer {
    display: block;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  /* Hero stacks */
  #hero { background: var(--light); min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left  { padding: 3.5rem 1.25rem 2.5rem; order: 1; }
  .hero-right { min-height: 260px; padding: 2.5rem 1.25rem; order: 2; }
  .hero-stats-wrap { max-width: 100%; }
  .hero-code { font-size: 0.74rem; }

  #services { padding: 4.5rem 1.25rem; }
  #services-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-right { padding-top: 0; }

  .ai-section { padding: 4.5rem 1.25rem; }
  .ai-inner   { grid-template-columns: 1fr; gap: 2.5rem; }

  #about { padding: 4.5rem 1.25rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }

  #contact { padding: 4.5rem 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 1.5rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .footer-right { align-items: flex-start; }
}

/* Tablet 769–1024 */
@media (min-width: 769px) and (max-width: 1024px) {
  #services-inner, .ai-inner, .about-grid, .contact-grid { gap: 3rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Print ── */
@media print {
  #site-nav, #mobile-drawer, #back-top { display: none !important; }
  #hero { min-height: auto; padding-top: 2rem; background: #fff !important; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ══════════════════════════════════════
   SCROLL PROGRESS
══════════════════════════════════════ */
#scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--green); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ══════════════════════════════════════
   LANGUAGE SWITCH
══════════════════════════════════════ */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(61,66,62,0.2); border-radius: 3px; overflow: hidden;
  font-family: var(--font-cond); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-links .lang-switch a,
.lang-switch a {
  padding: 0.35rem 0.6rem; color: var(--grey); text-decoration: none;
  transition: background .2s, color .2s; letter-spacing: 0.14em;
}
.nav-links .lang-switch a::after { display: none; }
.lang-switch a[aria-current="true"] { background: var(--dark); color: #fff; }
.lang-switch a:not([aria-current="true"]):hover { color: var(--green); background: var(--green-faint); }
.nav-tools { display: none; align-items: center; gap: 0.6rem; }

/* ══════════════════════════════════════
   HERO MOTION
══════════════════════════════════════ */
.hero-word { display: inline-block; }
.js-motion .hero-word {
  opacity: 0; transform: translateY(0.45em);
  animation: word-in .8s var(--ease-out) forwards;
}
.js-motion .hero-word.w2 { animation-delay: .18s; }
.js-motion .hero-word.w3 { animation-delay: .36s; }
@keyframes word-in { to { opacity: 1; transform: none; } }

/* A soft glow that drifts slowly through the dark half of the hero. */
.hero-right::after {
  content: ''; position: absolute; pointer-events: none;
  width: 70%; aspect-ratio: 1; left: 40%; top: -5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(162,189,48,0.15), transparent 65%);
}
.js-motion .hero-right::after { animation: hero-drift 24s ease-in-out infinite alternate; }
@keyframes hero-drift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-30%, 40%); }
  100% { transform: translate(-55%, 10%); }
}

/* ══════════════════════════════════════
   SHOWCASES
══════════════════════════════════════ */
#showcases {
  padding: 7rem clamp(1.5rem, 6vw, 8rem);
  background: var(--light);
}
.showcases-inner { max-width: var(--max-w); margin: 0 auto; }
.showcases-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end;
  margin-bottom: 3.5rem;
}
.showcases-head h2 {
  font-family: var(--font-cond); font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--dark); margin-top: 0.5rem; line-height: 1.05;
}
.showcases-head h2 span { color: var(--green); display: block; }
.showcases-head p { font-size: 0.97rem; line-height: 1.8; color: var(--grey); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.case-card {
  background: var(--white); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(61,66,62,0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow .35s;
}
.case-card:hover { box-shadow: 0 18px 40px rgba(42,46,43,0.14); }
.case-visual {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--dark2); isolation: isolate;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
/* The glow behind each case visual breathes slowly. */
.case-visual::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 62%, rgba(162,189,48,0.18), transparent 70%);
}
.js-motion .case-visual::before { animation: glow-breathe 8s ease-in-out infinite alternate; }
.case-grid .case-card:nth-child(2) .case-visual::before { animation-delay: -2.7s; }
.case-grid .case-card:nth-child(3) .case-visual::before { animation-delay: -5.4s; }
@keyframes glow-breathe {
  from { opacity: .55; transform: scale(.94); }
  to   { opacity: 1;   transform: scale(1.06); }
}

/* phone frame (Focus League) */
.phone {
  position: relative; width: 38%; aspect-ratio: 9 / 19.5;
  border-radius: 18px; padding: 5px; background: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
  transform: translateY(16%); transition: transform .5s var(--ease-out);
}
.case-card:hover .phone { transform: translateY(8%); }
.phone .slides { position: relative; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #000; }
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity .8s;
}
.slides img.is-active { opacity: 1; }

/* browser frame (People Management) */
.browser {
  position: relative; width: 82%; border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  transform: translateY(10%); transition: transform .5s var(--ease-out);
}
.case-card:hover .browser { transform: translateY(4%); }
.browser-bar { display: flex; gap: 5px; align-items: center; padding: 7px 9px; background: #e9eae6; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cbc4; display: block; }
.browser-bar span {
  margin-left: 8px; font-family: var(--font-body); font-size: 0.62rem; color: #7b827c;
  background: #fff; border-radius: 3px; padding: 1px 8px;
}
.browser .shot { aspect-ratio: 1200 / 750; overflow: hidden; }
.browser .shot img { display: block; width: 100%; height: auto; transition: transform 4s ease-in-out; }
.case-card:hover .browser .shot img { transform: translateY(-4%); }

/* traceability chain (RemeCare) */
.trace { position: relative; width: 84%; font-family: 'Courier New', monospace; }
.t-row {
  position: relative; display: flex; align-items: center; gap: 0.8em;
  padding: 0.55em 0.8em; border-radius: 4px;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6); white-space: nowrap; overflow: hidden;
  transition: opacity .5s, border-color .5s, background .5s;
}
.t-row + .t-row { margin-top: 1em; }
.t-row + .t-row::before {
  content: ''; position: absolute; left: 2.1em; top: -1em; width: 2px; height: 1em;
  background: rgba(162,189,48,0.35);
}
.t-row b { color: var(--green); font-weight: 400; min-width: 5.2em; }
.t-row span { overflow: hidden; text-overflow: ellipsis; }
.t-row i { margin-left: auto; color: var(--green); font-style: normal; font-weight: 700; }
.t-foot {
  margin-top: 1em; font-family: var(--font-cond); font-weight: 700; font-size: 1.05em;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.45);
}
.js-motion .trace:not(.is-on) .t-row { opacity: 0.25; }
.js-motion .trace .t-row { transition-delay: 0s; }
.js-motion .trace.is-on .t-row:nth-child(2) { transition-delay: .35s; }
.js-motion .trace.is-on .t-row:nth-child(3) { transition-delay: .7s; }
.trace.is-on .t-row:last-of-type { border-color: rgba(162,189,48,0.5); background: rgba(162,189,48,0.08); }

.case-body { padding: 1.6rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.case-kicker {
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green);
}
.case-body h3 {
  font-family: var(--font-cond); font-size: 1.6rem; font-weight: 800;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--dark); line-height: 1;
}
.case-body p { font-size: 0.92rem; line-height: 1.7; color: var(--grey); }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.case-tags span {
  font-family: var(--font-cond); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark);
  border: 1px solid rgba(61,66,62,0.18); padding: 0.25rem 0.6rem; border-radius: 2px;
}
.case-open {
  margin-top: auto; align-self: flex-start;
  background: none; border: none; border-bottom: 1px solid var(--green); cursor: pointer;
  padding: 0.8rem 0 2px;
  font-family: var(--font-cond); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.case-open svg { transition: transform .25s var(--ease-out); }
.case-open:hover { color: var(--green); }
.case-open:hover svg { transform: translateX(4px); }

/* ── Case dialog ── */
.case-dialog {
  width: min(980px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem);
  margin: auto; padding: 0; border: none; border-radius: 4px;
  background: var(--white); color: var(--dark); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.case-dialog::backdrop { background: rgba(42,46,43,0.72); backdrop-filter: blur(4px); }
.case-dialog[open] { animation: dialog-in .35s var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cd-grid { display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100vh - 2rem); }
.cd-media {
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(162,189,48,0.18), transparent 70%),
    var(--dark2);
  position: relative; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem 1.5rem;
}
.cd-stage { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; flex: 1; }
.cd-stage img { width: auto; height: auto; max-width: 100%; max-height: 62vh; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.cd-stage img.is-phone { max-height: 60vh; border-radius: 14px; }
.cd-nav { display: flex; gap: 0.5rem; align-items: center; }
.cd-nav[hidden] { display: none; }
.cd-nav > button {
  width: 34px; height: 34px; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
}
.cd-nav > button:hover { background: var(--green); border-color: var(--green); }
.cd-dots { display: flex; gap: 6px; margin: 0 0.4rem; }
.cd-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; }
.cd-dots button[aria-current="true"] { background: var(--green); }
.cd-text { padding: 2.6rem 2.2rem 2.2rem; overflow-y: auto; }
.cd-text h3 {
  font-family: var(--font-cond); font-size: 2rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; line-height: 1; margin: 0.4rem 0 1rem;
}
.cd-text p { font-size: 0.94rem; line-height: 1.75; color: var(--grey); margin-bottom: 1rem; }
.cd-text dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; margin: 1.2rem 0 1.4rem; }
.cd-text dt {
  font-family: var(--font-cond); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); padding-top: 3px;
}
.cd-text dd { font-size: 0.9rem; color: var(--dark); line-height: 1.5; }
.cd-close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 2px; border: none; cursor: pointer;
  background: rgba(244,244,240,0.9); color: var(--dark); font-size: 1.3rem; line-height: 1;
}
.cd-close:hover { background: var(--green); color: #fff; }
.cd-media .trace { width: 100%; max-width: 380px; font-size: 0.8rem; }

/* ══════════════════════════════════════
   misc
══════════════════════════════════════ */
.ss-num { font-variant-numeric: tabular-nums; }
.svc-tag { transition: color .2s, border-color .2s, background .2s, transform .2s; }
.svc-tag:hover { transform: translateY(-2px); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-tools { display: inline-flex; }
  .nav-links .lang-switch { display: none; }
  #showcases { padding: 4.5rem 1.25rem; }
  .showcases-head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.2rem; }
  .case-grid { grid-template-columns: 1fr; }
  .case-dialog { overflow-y: auto; max-height: calc(100vh - 1rem); }
  .cd-grid { grid-template-columns: 1fr; max-height: none; }
  .cd-media { min-height: 0; padding: 3.4rem 1rem 1.2rem; }
  .cd-stage img { max-height: 42vh; }
  .cd-stage img.is-phone { max-height: 46vh; }
  .cd-text { padding: 1.6rem 1.4rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-right::after, .case-visual::before, #services::after { animation: none !important; }
  .js-motion .hero-word { opacity: 1; transform: none; animation: none; }
}
@media print {
  #showcases .case-visual, .case-open, .case-dialog { display: none !important; }
}

/* Hero text lines up with the nav logo at every width (it touched the edge below 1280px). */
@media (min-width: 769px) {
  .hero-left { padding-left: max(0px, calc(clamp(1.25rem, 5vw, 6rem) - (100vw - var(--max-w)) / 2)); }
}

/* The RemeCare chain scales with the card, so it never clips. */
.case-visual { container-type: inline-size; }
.case-visual .trace { font-size: clamp(8px, 2.9cqi, 12px); }

/* The dialog moves focus to its title for screen readers; no ring needed there. */
.cd-text h3:focus { outline: none; }

/* Client logo: white badge on the dark card visual, plain at the top of the dialog. */
.case-logo {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: #fff; border-radius: 3px; padding: 7px 10px; line-height: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.case-logo img { display: block; height: 18px; width: auto; }
.case-visual:has(.case-logo) .trace { margin-top: 2.2rem; }
.cd-logo { display: block; height: 30px; width: auto; margin-bottom: 1.4rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cd-logo + .case-kicker { margin-bottom: 1rem; }

/* ══════════════════════════════════════
   HERO ROLE LINE (part of the H1)
══════════════════════════════════════ */
.hero-role {
  display: block; margin-bottom: 1rem;
  font-family: var(--font-cond); font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700; letter-spacing: 0.08em; color: var(--grey); line-height: 1.2;
}

/* ══════════════════════════════════════
   CARD ACTIONS
══════════════════════════════════════ */
.case-body h3 a { color: inherit; text-decoration: none; }
.case-body h3 a:hover { color: var(--green); }
.case-actions { margin-top: auto; padding-top: 0.8rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
a.case-open { text-decoration: none; padding-top: 0; }
.case-peek {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-cond); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey);
}
.case-peek:hover { color: var(--green); }
.cd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

/* ══════════════════════════════════════
   CASE PAGES
══════════════════════════════════════ */
.cp-inner { max-width: var(--max-w); margin: 0 auto; }
.cp-hero {
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 6vw, 8rem) 4.5rem;
  background: var(--light);
}
.cp-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cp-crumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem;
  font-family: var(--font-cond); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey);
}
.cp-crumbs a { color: var(--grey); text-decoration: none; border-bottom: 1px solid rgba(106,114,107,0.35); }
.cp-crumbs a:hover { color: var(--green); border-color: var(--green); }
.cp-crumbs [aria-current] { color: var(--dark); }
.cp-intro h1 {
  font-family: var(--font-cond); font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 0.98; color: var(--dark); margin: 0.6rem 0 1.4rem;
}
.cp-logo { display: block; height: clamp(40px, 5vw, 58px); width: auto; margin: 0.9rem 0 1.6rem; }
.cp-lead { font-size: 1.08rem; line-height: 1.75; color: var(--grey); margin-bottom: 1.6rem; max-width: 52ch; }
.cp-visual { border-radius: 4px; cursor: default; }
.cp-visual .phone { width: 34%; }

.cp-content { background: var(--white); padding: 5rem clamp(1.5rem, 6vw, 8rem); }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; }
.cp-text h2 {
  font-family: var(--font-cond); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--dark);
  margin: 2.6rem 0 1rem; line-height: 1.1;
}
.cp-text h2:first-child { margin-top: 0; }
.cp-text p { font-size: 1rem; line-height: 1.8; color: var(--grey); margin-bottom: 1rem; max-width: 68ch; }
.cp-text ul { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 68ch; }
.cp-text li {
  position: relative; padding: 0.55rem 0 0.55rem 1.6rem;
  font-size: 1rem; line-height: 1.7; color: var(--grey);
  border-bottom: 1px solid rgba(61,66,62,0.08);
}
.cp-text li::before {
  content: ''; position: absolute; left: 0; top: 1.25rem;
  width: 0.7rem; height: 2px; background: var(--green);
}
.cp-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.cp-facts { background: var(--light); border-left: 2px solid var(--green); padding: 1.8rem 1.8rem 2rem; }
.cp-facts-list { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem 1.2rem; margin-bottom: 1.4rem; }
.cp-facts-list dt {
  font-family: var(--font-cond); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); padding-top: 3px;
}
.cp-facts-list dd { font-size: 0.92rem; line-height: 1.5; color: var(--dark); }

.cp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 4rem; }
.cp-gallery.is-mixed { grid-template-columns: 3fr 1fr; align-items: start; }
.cp-shot { margin: 0; background: var(--dark); border-radius: 4px; padding: 1.2rem; display: flex; justify-content: center; }
.cp-shot img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.cp-shot.is-wide img { border-radius: 4px; }

.cp-more { background: var(--light); padding: 5rem clamp(1.5rem, 6vw, 8rem); }
.cp-more h2 {
  font-family: var(--font-cond); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--dark); margin-bottom: 1.8rem;
}
.cp-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.cp-more-card {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.8rem;
  background: var(--white); border: 1px solid rgba(61,66,62,0.08); border-radius: 4px;
  text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease-out);
}
.cp-more-card:hover { box-shadow: 0 14px 34px rgba(42,46,43,0.12); transform: translateY(-3px); }
.cp-more-name {
  font-family: var(--font-cond); font-size: 1.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--dark); line-height: 1;
}
.cp-more-text { font-size: 0.92rem; line-height: 1.7; color: var(--grey); }
.cp-more-card .case-open { margin-top: 0.4rem; }

.cp-cta { background: var(--dark); padding: 5rem clamp(1.5rem, 6vw, 8rem); text-align: center; }
.cp-cta h2 {
  font-family: var(--font-cond); font-size: clamp(2rem, 3vw, 3rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); line-height: 1.05;
}
.cp-cta h2 span { color: var(--green); }
.cp-cta p { color: rgba(255,255,255,0.55); margin: 1rem auto 2rem; max-width: 50ch; line-height: 1.7; }

@media (max-width: 1024px) {
  .cp-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cp-hero { padding: calc(var(--nav-h) + 2.2rem) 1.25rem 3rem; }
  .cp-hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .cp-content, .cp-more, .cp-cta { padding: 3.5rem 1.25rem; }
  .cp-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .cp-aside { position: static; }
  .cp-gallery, .cp-gallery.is-mixed { grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
  .cp-gallery.is-mixed .is-wide { grid-column: 1 / -1; }
  .cp-more-grid { grid-template-columns: 1fr; }
}
@media print {
  .cp-visual, .cp-more, .cp-cta { display: none !important; }
}
