/* ==========================================================================
   AGS Audit & Assurance — design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root{
  --cream:      #F3F1E9;
  --cream-2:    #EAE7DC;
  --paper:      #FBFAF6;
  --ink:        #14150F;
  --ink-soft:   #3A3B33;
  --gray:       #6E6D62;
  --gray-light: #9C9A8D;
  --line:       #DCD9CC;

  --black:      #0A0B08;
  --black-2:    #101209;
  --on-dark:    #EFEEE6;
  --on-dark-mute: #8C8F83;
  --line-dark:  #24261E;

  --green-deep: #0E2E22;
  --green:      #1C6B45;
  --green-mid:  #2A8A5B;
  --green-bright:#3FAE73;

  --radius: 2px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
body{
  margin:0;
  font-family: var(--ff);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input,textarea{ font-family: inherit; font-size: 16px; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.overflow-hidden{ overflow:hidden; }

/* ---------- type helpers ---------- */
.eyebrow{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-mid);
}
.eyebrow.on-light{ color: var(--green); }
.eyebrow.on-dark{ color: var(--green-bright); }

h1, .h1{
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.01em;
}
h2, .h2{
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
}
h3, .h3{
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 500;
}
.lede{
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray);
  max-width: 46ch;
}
.on-dark .lede, .lede.on-dark{ color: var(--on-dark-mute); }
.accent{ color: var(--green); }
.on-dark .accent, .accent.on-dark{ color: var(--green-bright); }

/* ---------- buttons / links ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn svg{ width:14px; height:14px; flex-shrink:0; transition: transform .2s ease; }
.btn:hover svg{ transform: translateX(3px); }

.btn-solid-dark{ background: var(--ink); color: var(--paper); }
.btn-solid-dark:hover{ background: var(--green); }

.btn-solid-green{ background: var(--green); color: #fff; }
.btn-solid-green:hover{ background: var(--green-mid); }

.btn-outline{ border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover{ background: var(--ink); color: var(--paper); }

.btn-outline.on-dark{ color: var(--on-dark); }
.btn-outline.on-dark:hover{ background: var(--on-dark); color: var(--black); }

.text-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.text-link svg{ width:13px; height:13px; transition: transform .2s ease; }
.text-link:hover svg{ transform: translateX(3px); }
.text-link.on-dark{ color: var(--on-dark); border-color: var(--on-dark); }

.icon-btn{
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  display:inline-flex; align-items:center; justify-content:center;
  background: transparent;
  transition: background .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.icon-btn svg{ width:16px; height:16px; }
.icon-btn:hover{ background: var(--ink); border-color: var(--ink); color: var(--paper); }
.icon-btn.on-dark{ border-color: var(--line-dark); color: var(--on-dark); }
.icon-btn.on-dark:hover{ background: var(--on-dark); color:var(--black); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 84px;
}
.logo{ display:flex; align-items:center; flex-shrink:0; }
.logo img{
  height: 52px; width:auto; display:block;
  transition: opacity .2s ease;
}
.logo:hover img{ opacity:.75; }

@media (max-width: 900px){ .logo img{ height: 38px; } }
@media (max-width: 420px){ .logo img{ height: 32px; } }

.nav{ display:flex; align-items:center; gap:40px; }
.nav a{
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--green); transform: scaleX(0); transition: transform .2s ease;
}
.nav a:hover::after, .nav a.active::after{ transform: scaleX(1); }
.nav a.active{ color: var(--ink); }

.header-actions{ display:flex; align-items:center; gap:20px; }
.menu-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;
}
.menu-toggle span{ width:22px; height:1.5px; background: var(--ink); display:block; }

.mobile-nav{
  display:none;
  position: fixed; inset: 84px 0 0 0; z-index: 99;
  background: var(--cream);
  padding: 32px var(--gutter);
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a{
  font-size: 22px; font-weight: 500; color: var(--ink);
}
.mobile-nav.open{ display:flex; }

@media (max-width: 900px){
  .nav{ display:none; }
  .menu-toggle{ display:flex; }
  .header-actions .btn{ padding: 12px 16px; }
}
@media (max-width: 560px){
  .header-actions .btn span.full{ display:none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  display:grid; grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.hero-copy{
  background: var(--cream);
  display:flex; flex-direction:column; justify-content:center;
  padding: 60px var(--gutter);
  gap: 26px;
}
.hero-copy h1{ position:relative; }
.hero-copy h1 .rule{
  display:block; width:64px; height:2px; background: var(--ink); margin-top:22px;
}
.hero-art{
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero-art .scene{ position:absolute; inset:0; }
.hero-art .stripe{
  position:absolute; top:-10%; bottom:-10%; left:38%; width:26%;
  background: linear-gradient(180deg, var(--green-mid), var(--green-deep));
  transform: skewX(-9deg);
  opacity: .9;
}
.hero-art .fade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,11,8,0) 40%, rgba(10,11,8,.85) 100%);
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; min-height: auto; }
  .hero-art{ height: 420px; order:-1; }
  .hero-copy{ padding: 48px var(--gutter); }
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats{
  background: var(--black);
  color: var(--on-dark);
  padding: 56px 0;
}
.stats .container{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 40px;
}
.stat .icon{ width:30px; height:30px; margin-bottom:18px; color: var(--green-bright); }
.stat .num{ font-size: clamp(32px,4vw,44px); font-weight:500; color: var(--green-bright); line-height:1; margin-bottom:10px; }
.stat .label{ font-size: 13px; font-weight:600; letter-spacing:.03em; margin-bottom:6px; }
.stat .desc{ font-size: 13.5px; color: var(--on-dark-mute); max-width: 22ch; }

@media (max-width: 900px){
  .stats .container{ grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
}
@media (max-width: 520px){
  .stats .container{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Split panel (Audit adaptat / About intro)
   ========================================================================== */
.split{
  /* even halves, so the seam sits on the same line as the hero's */
  display:grid; grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.split-copy{
  padding: 90px var(--gutter);
  display:flex; flex-direction:column; gap:24px; justify-content:center;
}
.split-art{
  position:relative; background: var(--black); min-height: 520px; overflow:hidden;
}
.split-art .badges{
  position:absolute; left:0; right:0; bottom:0;
  display:grid; grid-template-columns: repeat(3,1fr);
  background: rgba(10,11,8,.78);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--line-dark);
}
.split-art .badges div{
  padding: 22px 24px;
  border-right: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.split-art .badges div:last-child{ border-right:none; }
.split-art .badges .n{ display:block; font-size:12px; color: var(--green-bright); font-weight:600; margin-bottom:8px; letter-spacing:.05em; }
.split-art .badges .t{ font-size:14.5px; font-weight:500; }

@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; }
  .split-copy{ padding: 56px var(--gutter); }
  .split-art{ min-height: 380px; order:-1; }
  .split-art .badges{ grid-template-columns: 1fr; }
  .split-art .badges div{ border-right:none; border-bottom:1px solid var(--line-dark); }
}

/* ==========================================================================
   Section heading row (label + heading + copy + link, two columns)
   ========================================================================== */
.sec-head{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 90px var(--gutter) 48px;
  align-items:start;
}
.sec-head .left .eyebrow{ margin-bottom:16px; display:block; }
.sec-head .right{ display:flex; flex-direction:column; gap:22px; align-items:flex-start; }
.sec-head .right p{ max-width: 44ch; }
/* FAQ: the heading row runs as a black band, the questions below stay on cream */
.sec-head-dark{ background: var(--black); color: var(--on-dark); }

@media (max-width: 900px){
  .sec-head{ grid-template-columns: 1fr; padding: 64px var(--gutter) 36px; }
}

/* ---------- services rail ---------- */
.section-dark{ background: var(--black); color: var(--on-dark); }

/* services and insights sit back-to-back on the homepage — tighten the seam */
.insights .sec-head{ padding-top: 20px; }
@media (max-width: 900px){ .insights .sec-head{ padding-top: 16px; } }

.rail-wrap{ padding: 0 0 20px; }
.rail{
  display:flex; gap: var(--rail-gap, 20px); overflow-x:auto; scroll-snap-type:x mandatory;
  padding: 0 var(--gutter) 12px;
  scrollbar-width:none;
}
.rail::-webkit-scrollbar{ display:none; }
.svc-card{
  scroll-snap-align:start;
  /* JS sets --card-w so a whole number of cards exactly fills the row —
     never a half-visible card. Fallback for no-JS. */
  flex: 0 0 var(--card-w, clamp(240px, 22vw, 300px));
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  display:flex; flex-direction:column;
  min-height: 380px;
  transition: border-color .25s ease, transform .25s ease;
}
.svc-card:hover{ border-color: var(--green-mid); transform: translateY(-4px); }
.svc-card .thumb{ height:170px; position:relative; overflow:hidden; }
.svc-card .body{ padding: 22px 22px 26px; display:flex; flex-direction:column; gap:14px; flex:1; }
.svc-card .n{ font-size:12px; color: var(--green-bright); font-weight:600; letter-spacing:.05em; }
.svc-card h3{ color: var(--on-dark); font-size:19px; }
.svc-card p{ font-size:13.5px; color: var(--on-dark-mute); flex:1; }
.svc-card .go{ display:flex; align-items:center; justify-content:space-between; }

/* arrows are [hidden] until JS finds the rail actually overflows */
.rail-nav{ display:flex; gap:10px; padding: 4px var(--gutter) 0; justify-content:flex-end; }
.rail-nav[hidden]{ display:none; }
.rail-nav .icon-btn[disabled]{ opacity:.35; pointer-events:none; }

/* ==========================================================================
   Insights / blog
   ========================================================================== */
.insights-grid{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-top: 1px solid var(--line-dark);
}
.insight-feature{
  position:relative; min-height: 480px; overflow:hidden;
  border-right: 1px solid var(--line-dark);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 32px;
}
.insight-feature .tag{
  font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--green-bright); margin-bottom:14px; display:block;
}
.insight-feature h3{ color:#fff; max-width: 26ch; margin-bottom:10px; }
.insight-feature .date{ color: var(--on-dark-mute); font-size:13px; }

.insight-list{ display:flex; flex-direction:column; }
/* rows share the column height so the list ends level with the feature card
   instead of leaving a gap under the last one */
.insight-list .insight-row{ flex: 1 1 0; align-items:center; }
.insight-row{
  display:grid; grid-template-columns: 96px 1fr;
  gap:20px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line-dark);
}
.insight-list .insight-row:last-child{ border-bottom:none; }
.insight-row .thumb{ width:96px; height:96px; overflow:hidden; position:relative; }
.insight-row .meta{ font-size:11.5px; color: var(--green-bright); font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; }
.insight-row .meta span{ color: var(--on-dark-mute); font-weight:500; text-transform:none; letter-spacing:0; margin-left:8px; }
.insight-row h4{ font-size:15.5px; font-weight:500; color: var(--on-dark); line-height:1.35; }
.insight-row:hover h4{ color: var(--green-bright); }

/* ---------- insights on a light background (homepage) ----------
   The feature card keeps its dark treatment: its copy sits on a photo. */
.insights{ background: var(--cream); color: var(--ink); }
.insights .insights-grid{ border-top-color: var(--line); }
/* covers the mobile rule below, which sets a dark border-bottom shorthand */
.insights .insight-feature{ border-right-color: var(--line); border-bottom-color: var(--line); }
.insights .insight-row{ border-bottom-color: var(--line); }
.insights .insight-row .meta{ color: var(--green); }
.insights .insight-row .meta span{ color: var(--gray); }
.insights .insight-row h4{ color: var(--ink); }
.insights .insight-row:hover{ background: var(--cream-2); }
.insights .insight-row:hover h4{ color: var(--green); }

@media (max-width: 900px){
  .insights-grid{ grid-template-columns: 1fr; }
  .insight-feature{ border-right:none; border-bottom:1px solid var(--line-dark); min-height:320px; }
  .insight-row{ grid-template-columns: 72px 1fr; padding: 20px var(--gutter); }
  .insight-row .thumb{ width:72px; height:72px; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
/* Two panels edge to edge, no gap — same full-bleed pattern as .split:
   white on the left, the brand photo on the right. The columns match the
   insights grid so, on the homepage, both seams fall on the same line. */
.cta-band{ background: var(--black); padding: 0; }
.cta-band .container{
  max-width: none; padding: 0;
  display:grid; grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
.cta-card{
  position:relative; overflow:hidden;
  /* matches .insight-feature so the band is the same box as the insights grid */
  min-height: 480px;
  display:flex; flex-direction:column; justify-content:center;
  /* horizontal padding on the gutter so copy lines up with the rest of the page */
  padding: clamp(56px, 6vw, 88px) var(--gutter);
}
.cta-card-light{ background: var(--cream); color: var(--ink); }
.cta-band h2{ margin-bottom:18px; }
.cta-card-light h2{ color: var(--ink); }

.cta-card-photo{ background: var(--black); padding:0; }
.cta-card-photo .scene-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* scrim so the contact details stay legible over the photograph — kept light
   enough that this panel still reads as distinct from the black one beside it */
.cta-card-photo::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(10,11,8,.74) 0%, rgba(10,11,8,.46) 100%);
}
.cta-card-inner{
  position:relative; z-index:1;
  display:flex; flex-direction:column; gap:16px;
  align-items:flex-start; justify-content:center;
  height:100%;
  padding: clamp(56px, 6vw, 88px) var(--gutter);
  color: var(--on-dark);
}
.cta-card-inner .row{ display:flex; align-items:center; gap:12px; font-size:16px; }
.cta-card-inner .row svg{ width:18px; height:18px; color: var(--green-bright); flex-shrink:0; }

@media (max-width: 900px){
  .cta-band .container{ grid-template-columns: 1fr; }
  .cta-card{ min-height: 320px; padding: 56px var(--gutter); }
  .cta-card-inner{ padding: 56px var(--gutter); }
  /* the narrow card crops to the photo's darkest band, so the desktop scrim
     crushes it to near-black — lighten it here to keep it reading as a photo */
  .cta-card-photo::after{
    background: linear-gradient(120deg, rgba(10,11,8,.78) 0%, rgba(10,11,8,.42) 100%);
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding: 26px 0;
  cursor:pointer;
  background:none; border:none; width:100%; text-align:left;
  font-size: 16px; font-weight:500; color: var(--ink);
}
.faq-q .idx{ font-size:12px; color: var(--gray-light); font-weight:600; margin-right:16px; }
.faq-q .plus{ width:22px; height:22px; flex-shrink:0; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{
  content:''; position:absolute; background: var(--ink); transition: transform .25s ease, opacity .25s ease;
}
.faq-q .plus::before{ left:0; top:50%; width:100%; height:1.5px; transform: translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; width:1.5px; height:100%; transform: translateX(-50%); }
.faq-item.open .plus::after{ opacity:0; transform: translateX(-50%) rotate(90deg); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height .3s ease;
}
.faq-a p{ padding: 0 0 26px 40px; color: var(--gray); max-width: 62ch; font-size:15px; }

/* ==========================================================================
   Photo strip + follow band
   ========================================================================== */
.strip{ display:grid; grid-template-columns: repeat(5, 1fr); }
.strip .cell{ aspect-ratio: 1/1; position:relative; overflow:hidden; background: var(--ink); }
.strip .cell.follow{
  grid-column: span 1;
  background: var(--green);
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  gap:10px; padding: 20px; color:#fff;
}
.strip .cell.follow span{ font-size:14px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; max-width:10ch; }

@media (max-width: 900px){
  .strip{ grid-template-columns: repeat(3, 1fr); }
  .strip .cell:nth-child(4){ display:none; }
}
@media (max-width: 560px){
  .strip{ grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--black); color: var(--on-dark); }

/* single footer block: brand + CTA, then the link columns */
.footer-main{
  padding: 76px var(--gutter) 64px;
  display:grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1fr;
  gap: 48px 32px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand{
  display:flex; flex-direction:column; align-items:flex-start; gap:28px;
}
.footer-brand img{
  width: clamp(200px, 22vw, 290px);
  height: auto; display:block;
}
.footer-main h5{ font-size:12px; letter-spacing:.1em; text-transform:uppercase; color: var(--gray-light); margin-bottom:18px; }
.footer-main li{ margin-bottom:12px; font-size:14.5px; color: var(--on-dark-mute); }
.footer-main a:hover{ color: var(--green-bright); }

.footer-bottom{
  padding: 26px var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-size: 13px; color: var(--on-dark-mute);
  flex-wrap: wrap;
}
.footer-bottom .links{ display:flex; gap:24px; }
.footer-bottom a:hover{ color: var(--green-bright); }
.back-top{ display:flex; align-items:center; gap:8px; font-weight:600; }
.back-top svg{ width:14px; height:14px; }

@media (max-width: 1080px){
  .footer-main{ grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 720px){
  .footer-main{ grid-template-columns: 1fr 1fr; gap: 40px 28px; }
}
@media (max-width: 480px){
  .footer-main{ grid-template-columns: 1fr; padding: 56px var(--gutter) 48px; }
}

/* ==========================================================================
   Generic inner page hero (About / Services / Contact / Blog listing)
   ========================================================================== */
.page-hero{
  background: var(--black);
  color: var(--on-dark);
  padding: 150px var(--gutter) 70px;
  position: relative;
  overflow:hidden;
}
.page-hero .eyebrow{ display:block; margin-bottom:18px; }
.page-hero h1{ color:#fff; max-width: 16ch; }
.page-hero p{ margin-top:18px; max-width: 50ch; }
.page-hero .meta-row{
  display:flex; gap:28px; margin-top:36px; flex-wrap:wrap;
  font-size:13px; color: var(--on-dark-mute);
}
.page-hero .meta-row strong{ color: var(--on-dark); display:block; font-size:14px; margin-bottom:4px; }

/* content page */
.prose-section{ padding: 90px var(--gutter); }
.prose-layout{ display:grid; grid-template-columns: 1fr 340px; gap: 64px; max-width: var(--container); margin:0 auto; }
.prose h2{ margin: 48px 0 18px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ margin-bottom:18px; color: var(--ink-soft); font-size:16px; line-height:1.7; }
.prose ul{ margin: 0 0 22px; padding-left: 0; }
.prose ul li{ position:relative; padding-left:26px; margin-bottom:12px; color: var(--ink-soft); line-height:1.6; }
.prose ul li::before{ content:''; position:absolute; left:0; top:9px; width:8px; height:8px; background: var(--green); }
.prose table{ width:100%; border-collapse:collapse; margin: 20px 0 30px; font-size:14.5px; }
.prose table th, .prose table td{ border:1px solid var(--line); padding:12px 14px; text-align:left; }
.prose table th{ background: var(--cream-2); font-weight:600; }
.prose .callout{
  background: var(--cream-2); border-left:3px solid var(--green); padding: 18px 22px; margin: 22px 0;
  font-size:15px; color: var(--ink-soft);
}

.side-card{
  background: var(--ink); color: var(--on-dark);
  padding: 32px; position: sticky; top: 110px;
  align-self: start;              /* hug content instead of stretching the grid row */
  display:flex; flex-direction:column; gap:16px;
}
.side-card h4{ font-size:13px; letter-spacing:.08em; text-transform:uppercase; color: var(--green-bright); }
.side-card .row{ display:flex; gap:10px; font-size:14.5px; align-items:flex-start; }
.side-card .row svg{ width:16px; height:16px; margin-top:2px; color: var(--green-bright); flex-shrink:0; }
.side-card .btn{ margin-top:8px; justify-content:center; }

@media (max-width: 980px){
  .prose-layout{ grid-template-columns: 1fr; }
  .side-card{ position:static; }
}

/* team / values grid (about page) */
.value-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--line-dark);
}
.value-grid .cell{ background: var(--black); color: var(--on-dark); padding: 40px 32px; }
.value-grid .cell .n{ color: var(--green-bright); font-size:13px; font-weight:700; margin-bottom:18px; display:block; }
.value-grid .cell h3{ color:#fff; margin-bottom:12px; }
.value-grid .cell p{ color: var(--on-dark-mute); font-size:14.5px; }
@media (max-width: 900px){ .value-grid{ grid-template-columns: 1fr; } }

/* services overview list (full width rows) */
.svc-row{
  display:grid; grid-template-columns: 90px 1fr 260px 60px;
  align-items:center; gap: 24px;
  padding: 34px var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  transition: background .2s ease;
}
.svc-row:hover{ background: var(--black-2); }
.svc-row .n{ font-size:14px; color: var(--green-bright); font-weight:600; }
.svc-row h3{ color:#fff; }
.svc-row p{ color: var(--on-dark-mute); font-size:14px; }
.svc-row .icon-btn{ margin-left:auto; }
@media (max-width: 900px){
  .svc-row{ grid-template-columns: 40px 1fr; }
  .svc-row p, .svc-row .icon-btn{ display:none; }
}

/* case studies grid */
.cases-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line-dark); }
.case-card{ background: var(--black); position:relative; display:flex; flex-direction:column; }
.case-card .thumb{ height:200px; position:relative; overflow:hidden; }
.case-card .body{ padding: 26px 26px 30px; display:flex; flex-direction:column; gap:12px; flex:1; }
.case-card .tag{ font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--green-bright); }
.case-card .tag span{ color: var(--on-dark-mute); font-weight:500; letter-spacing:0; text-transform:none; margin-left:10px; }
.case-card h3{ font-size:18px; color:#fff; }
.case-card p{ font-size:13.5px; color: var(--on-dark-mute); flex:1; }
.case-card{ transition: background .25s ease; }
.case-card:hover{ background: var(--black-2); }
.case-card:hover h3{ color: var(--green-bright); }
.case-card .thumb .scene-img{ transition: transform .5s ease; }
.case-card:hover .thumb .scene-img{ transform: scale(1.04); }
.case-more{
  display:inline-flex; align-items:center; gap:8px; margin-top:4px;
  font-size:12px; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  color: var(--on-dark); padding-bottom:4px;
  border-bottom:1px solid var(--line-dark); align-self:flex-start;
}
.case-more svg{ width:13px; height:13px; transition: transform .2s ease; }
.case-card:hover .case-more{ color: var(--green-bright); border-color: var(--green-mid); }
.case-card:hover .case-more svg{ transform: translateX(3px); }
@media (max-width: 980px){ .cases-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .cases-grid{ grid-template-columns: 1fr; } }

/* contact form */
.contact-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 0; }
.contact-form-wrap{ padding: 90px var(--gutter); background: var(--cream); }
.contact-form{ display:flex; flex-direction:column; gap:18px; margin-top: 34px; max-width: 560px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color: var(--gray); }
.field input, .field textarea{
  border:none; border-bottom:1px solid var(--line); background:transparent;
  padding: 10px 2px; font-size:16px; color: var(--ink); outline:none;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--green); }
.field textarea{ resize: vertical; min-height:110px; }
.contact-form .btn{ align-self:flex-start; margin-top:8px; border:none; }

.contact-side{ background: var(--black); color: var(--on-dark); padding: 90px var(--gutter); }
.contact-side h4{ font-size:12px; letter-spacing:.1em; text-transform:uppercase; color: var(--green-bright); margin-bottom:26px; }
.contact-info-row{ display:flex; gap:16px; padding: 20px 0; border-bottom:1px solid var(--line-dark); }
.contact-info-row svg{ width:20px; height:20px; color: var(--green-bright); flex-shrink:0; margin-top:2px; }
.contact-info-row .label{ font-size:12px; color: var(--on-dark-mute); text-transform:uppercase; letter-spacing:.06em; margin-bottom:6px; }
.contact-info-row .val{ font-size:16px; }
.map-box{ margin-top:30px; height:220px; position:relative; overflow:hidden; border:1px solid var(--line-dark); }

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog post page
   ========================================================================== */
.post-hero{ padding-top: 120px; }
.post-hero h1{
  max-width: 24ch;
  font-size: clamp(30px, 3.9vw, 52px);
  line-height: 1.1;
}
.back-link{
  display:flex; width:fit-content; align-items:center; gap:8px;
  font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color: var(--on-dark-mute); margin-bottom: 26px;
}
.back-link svg{ width:14px; height:14px; transition: transform .2s ease; }
.back-link:hover{ color: var(--green-bright); }
.back-link:hover svg{ transform: translateX(-3px); }

/* small caps section label inside article copy ("Context", "Analiză") */
.prose .prose-label{
  font-size: 12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color: var(--green); margin: 44px 0 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.prose .prose-label:first-child{ margin-top:0; }

.prose h2{ font-size: clamp(22px, 2.3vw, 30px); }
.prose > p:first-child{ font-size: 17.5px; color: var(--ink-soft); }
.prose strong{ color: var(--ink); font-weight:600; }

/* label left, "all materials" link right — single row, no heading */
.next-head{
  display:flex; align-items:center; justify-content:space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 64px var(--gutter) 28px;
}

/* next-article row reuses .svc-row; widen the first column for the date */
.next-post .svc-row{ grid-template-columns: 120px 1fr 130px 60px; }
.next-post .svc-row .n{ font-size:13px; }
@media (max-width: 900px){
  .next-post .svc-row{ grid-template-columns: 1fr; gap:10px; }
  .next-post .svc-row p{ display:none; }
}

/* ---------- scene image helpers ---------- */
.scene-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.thumb .scene-img, .hero-art .scene-img, .split-art .scene-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* utility spacing */
.mt-lg{ margin-top:64px; }
.section-pad{ padding: 90px var(--gutter); }
.center-head{ max-width: 720px; margin: 0 auto; text-align:center; padding: 90px var(--gutter) 50px; }
.center-head .eyebrow{ justify-content:center; display:flex; margin-bottom:16px; }
