/* ===================================================================
   Design Ever After · direction C · "Structured System"
   Grid-forward, utilitarian-warm. Space Grotesk + Space Mono labels,
   Cormorant italic as the single warm accent. Forest/sage, no gold.
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Mulish:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --cream:      #FBF8F3;
  --cream-2:    #F4F1EA;
  --paper:      #FFFFFF;
  --ink:        #16241F;
  --ink-soft:   #41584F;
  --forest:     #234B40;
  --forest-2:   #2C5A4C;
  --forest-deep:#122620;
  --sage:       #6FA890;
  --sage-deep:  #4E7A66;
  --sage-pale:  #DCEAE2;
  --line:       rgba(22,36,31,0.14);
  --line-soft:  rgba(22,36,31,0.08);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --grotesk:'Space Grotesk', system-ui, sans-serif;
  --mono:   'Space Mono', ui-monospace, monospace;
  --sans:   'Mulish', system-ui, sans-serif;

  --maxw: 1240px;
  --r:    8px;
  --r-sm: 6px;
  --shadow-sm: 0 4px 16px -12px rgba(22,36,31,0.30);
  --shadow-md: 0 16px 40px -26px rgba(22,36,31,0.40);
  --shadow-lg: 0 30px 70px -40px rgba(22,36,31,0.46);
  --ease: cubic-bezier(.22,.7,.27,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* subtle blueprint grid atmosphere */
.paper {
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
}

/* ---------- mono labels / eyebrows ---------- */
.eyebrow {
  font-family: var(--mono); font-weight: 400; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow .ix { color: var(--forest); font-weight: 700; }
.eyebrow .ix::after { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--sage); margin-left: 12px; vertical-align: middle; }
.eyebrow.center { justify-content: center; }

.section-title {
  font-family: var(--grotesk); font-weight: 600;
  font-size: clamp(32px, 4.3vw, 52px); line-height: 1.06;
  letter-spacing: -0.022em; margin: 20px 0 0;
}
.section-title em, .section-title i { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--forest); letter-spacing: 0; }
.section-lead {
  font-size: clamp(16px, 1.35vw, 18px); line-height: 1.62; color: var(--ink-soft);
  max-width: 600px; margin: 18px 0 0;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--grotesk); font-weight: 600; font-size: 15px;
  border-radius: var(--r-sm); padding: 14px 24px; cursor: pointer; letter-spacing: -0.01em;
  border: 1px solid transparent; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-2px); background: var(--forest); }
.btn-gold { background: var(--forest); color: #fff; }
.btn-gold:hover { transform: translateY(-2px); background: var(--forest-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.linklike { font-family: var(--grotesk); color: var(--forest); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 7px; transition: gap .25s var(--ease), color .2s; }
.linklike:hover { gap: 12px; color: var(--sage-deep); }

/* ---------- placeholders ---------- */
.ph {
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(165deg, var(--forest-2), var(--forest-deep) 82%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(220,234,226,.55); font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
}
.ph.sage  { background: linear-gradient(165deg, var(--sage), var(--forest-2)); color: rgba(251,248,243,.7); }
.ph.parch { background: linear-gradient(165deg, var(--sage-pale), var(--cream-2)); color: rgba(22,36,31,.4); }
image-slot { --is-bg: transparent; }

/* ---------- wordmark / monogram lockup ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark .tile {
  width: 38px; height: 38px; flex: 0 0 auto; background: var(--forest); color: var(--cream);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  font-family: var(--grotesk); font-weight: 700; font-size: 14px; letter-spacing: .01em;
}
.wordmark .tile .mark { width: 25px; height: 25px; object-fit: contain; }
.wordmark .lk { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark .lk b { font-family: var(--grotesk); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
.wordmark .lk em { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .2em; color: var(--sage-deep); text-transform: uppercase; margin-top: 2px; }

/* ======================= NAV ======================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,243,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s, background .3s;
}
.nav.scrolled { box-shadow: 0 8px 26px -24px rgba(22,36,31,.7); background: rgba(251,248,243,0.92); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.navlinks { display: flex; gap: 30px; }
.navlinks a { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-soft); position: relative; transition: color .2s; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--forest); transition: width .28s var(--ease); }
.navlinks a:hover { color: var(--forest); }
.navlinks a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 2px; }
.mobile-menu { display: none; }

/* ======================= HERO ======================= */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 232px 1fr; gap: 0; padding: 0 40px; }

.hero-meta { border-right: 1px solid var(--line); padding: 52px 30px 52px 0; display: flex; flex-direction: column; gap: 24px; }
.hero-meta .row b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--sage-deep); text-transform: uppercase; margin-bottom: 8px; }
.hero-meta .row span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
a.row { display: block; position: relative; }
a.row b, a.row span { transition: color .2s; }
a.row:hover b { color: var(--forest); }
a.row:hover span { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.hero-meta .mdiv { height: 1px; background: var(--line); }
.hero-meta .tagstack { display: flex; flex-wrap: wrap; gap: 7px; }
.hero-meta .tagstack a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--forest); border: 1px solid var(--line); border-radius: 4px; padding: 5px 9px; transition: background .2s, border-color .2s, color .2s; }
.hero-meta .tagstack a:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }

.hero-stage { padding: 56px 0 56px 52px; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 48px; align-items: center; }
.hero-body { max-width: 560px; }
.hero h1 {
  font-family: var(--grotesk); font-weight: 600; font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1.04; letter-spacing: -0.026em; margin: 18px 0 0; color: var(--ink);
}
.hero h1 .em-forest, .hero h1 .em-gold, .hero h1 i { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--forest); letter-spacing: 0; }
.hero-sub { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.62; color: var(--ink-soft); max-width: 480px; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }
.hero-note strong { color: var(--forest); font-weight: 700; }
.hero-note svg { color: var(--sage-deep); }

/* hero visual = bordered system card */
.hero-visual { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-md); }
.hero-visual .vhead { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.hero-visual .vhead .dots { display: flex; gap: 6px; }
.hero-visual .vhead .dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--line); display: block; }
.hero-visual .vhead .vt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--sage-deep); text-transform: uppercase; }
.hero-portal { position: relative; height: 188px; }
.hero-portal image-slot, .hero-portal .ph { width: 100%; height: 100%; }

.ops-feed { padding: 16px 18px; }
.ops-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ops-head .t { font-family: var(--grotesk); font-size: 15px; font-weight: 600; color: var(--ink); }
.ops-sub { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 12px; }
.ops-live { font-family: var(--mono); font-size: 10px; color: var(--sage-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }
.ops-live .pulse { width: 7px; height: 7px; border-radius: 99px; background: var(--sage); box-shadow: 0 0 0 0 rgba(111,168,144,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(111,168,144,.5)} 70%{box-shadow:0 0 0 7px rgba(111,168,144,0)} 100%{box-shadow:0 0 0 0 rgba(111,168,144,0)} }
.ops-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line-soft); font-family: var(--mono); letter-spacing: -0.01em; }
.ops-row:first-of-type { border-top: 0; }
.ops-row svg { color: var(--sage-deep); flex: 0 0 auto; }
.ops-foot { margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.ops-foot .big { font-family: var(--grotesk); font-size: 20px; font-weight: 700; color: var(--forest); letter-spacing: -0.02em; }
.ops-foot .lbl { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; }

/* trusted strip */
.trusted { padding: 30px 0 8px; border-bottom: 1px solid var(--line); }
.trusted-lbl { display: block; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: var(--sage-deep); }
.marquee { overflow: hidden; margin-top: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trusted .logo { font-family: var(--grotesk); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-soft); opacity: .72; white-space: nowrap; transition: opacity .2s, color .2s; }
.trusted .logo:hover { opacity: 1; color: var(--forest); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ======================= SECTION SHELL ======================= */
.section { padding: 96px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ======================= SERVICES ======================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 50px; }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 30px 28px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::after { content: attr(data-n); position: absolute; top: 22px; right: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--sage); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.svc-ico { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--sage-pale); display: flex; align-items: center; justify-content: center; color: var(--forest); margin-bottom: 18px; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--grotesk); font-weight: 600; font-size: 23px; letter-spacing: -0.02em; margin: 0 0 10px; }
.svc p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.svc ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.svc li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); }
.svc li svg { width: 15px; height: 15px; color: var(--sage-deep); margin-top: 3px; flex: 0 0 auto; }
.svc .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--forest); border: 1px solid var(--line); padding: 5px 11px; border-radius: 4px; display: inline-block; }

/* ======================= WORK ======================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.work-item { grid-column: span 1; }
.work-item.wide { grid-column: span 2; }
.work-card { display: block; border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.work-media { position: relative; height: 224px; overflow: hidden; }
.work-media image-slot, .work-media .ph { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.work-card:hover .work-media image-slot, .work-card:hover .work-media .ph { transform: scale(1.04); }
.work-cat { position: absolute; top: 13px; left: 13px; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink); background: rgba(251,248,243,.92); padding: 6px 11px; border-radius: 4px; }
.work-body { padding: 20px 22px 22px; }
.work-body h3 { font-family: var(--grotesk); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; margin: 0 0 6px; }
.work-body p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ======================= CASE STUDIES ======================= */
.cases { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 50px; }
.case {
  display: grid; grid-template-columns: 150px 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.case-media { position: relative; border-right: 1px solid var(--line); }
.case-media image-slot, .case-media .ph { width: 100%; height: 100%; min-height: 224px; }
.case-body { padding: 26px 26px 24px; display: flex; flex-direction: column; }
.case .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 9px; }
.case h3 { font-family: var(--grotesk); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 9px; }
.case p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 18px; }
.case-stats { display: flex; gap: 26px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.case-stat .n { font-family: var(--grotesk); font-size: 26px; font-weight: 700; color: var(--forest); line-height: 1; letter-spacing: -0.02em; }
.case-stat .l { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-top: 6px; letter-spacing: .02em; }
.case-link { margin-top: 16px; }

/* ======================= PRICING ======================= */
.pricing-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); margin: 36px auto 0; }
.ptab { border: 0; background: transparent; font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .02em; color: var(--ink-soft); padding: 10px 18px; border-radius: 4px; cursor: pointer; transition: color .25s, background .25s; }
.ptab.active { background: var(--ink); color: var(--cream); }
.pricing-panels { margin-top: 42px; }
.pricing-panel { display: none; }
.pricing-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px 30px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--forest); box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -11px; left: 28px; background: var(--forest); color: var(--cream); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 4px; }
.plan h3 { font-family: var(--grotesk); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 5px; }
.plan .blurb { font-size: 13px; color: var(--ink-soft); min-height: 38px; margin: 0 0 14px; line-height: 1.5; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan .price .from { font-family: var(--mono); font-size: 11px; color: var(--sage-deep); text-transform: uppercase; letter-spacing: .06em; }
.plan .price .amt { font-family: var(--grotesk); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.plan .price .per { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.plan .divider { height: 1px; background: var(--line); margin: 20px 0; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink); }
.plan li svg { width: 16px; height: 16px; color: var(--sage-deep); margin-top: 2px; flex: 0 0 auto; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-foot { text-align: center; margin-top: 30px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 9px; }
.pricing-foot svg { color: var(--sage-deep); }

/* ======================= FAQ ======================= */
.faq { max-width: 840px; margin: 50px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 6px; font-family: var(--grotesk); font-weight: 600; font-size: clamp(18px, 1.9vw, 22px); letter-spacing: -0.02em; color: var(--ink); transition: color .2s; }
.faq-q:hover { color: var(--forest); }
.faq-icon { flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item.open .faq-icon { background: var(--forest); border-color: var(--forest); color: var(--cream); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 6px 24px; max-width: 700px; }

/* ======================= CONTACT ======================= */
.contact { background: var(--forest-deep); color: var(--cream); position: relative; overflow: hidden; }
.contact .wrap { position: relative; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact .eyebrow { color: var(--sage); }
.contact .eyebrow .ix { color: var(--sage); }
.contact .eyebrow .ix::after { background: rgba(111,168,144,.5); }
.contact h2 { font-family: var(--grotesk); font-weight: 600; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.024em; margin: 18px 0 0; color: #fff; }
.contact h2 em, .contact h2 i { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--sage); letter-spacing: 0; }
.contact-lead { font-size: 16px; line-height: 1.6; color: rgba(220,234,226,.78); margin: 18px 0 28px; max-width: 380px; }
.assurances { display: flex; flex-direction: column; gap: 14px; }
.assurance { display: flex; align-items: center; gap: 13px; font-size: 14.5px; color: rgba(251,248,243,.9); }
.assurance .ic { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(111,168,144,.16); color: var(--sage); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.assurance .ic svg { width: 18px; height: 18px; }

.form-card { background: var(--cream); border-radius: var(--r); padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--sage-deep); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(35,75,64,.12); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-fine { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); text-align: center; margin: 14px 0 0; letter-spacing: .01em; }
.form-success { position: absolute; inset: 0; background: var(--cream); border-radius: var(--r); display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.form-success.show { display: flex; }
.form-success .badge { width: 64px; height: 64px; border-radius: var(--r); background: var(--sage-pale); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.form-success h3 { font-family: var(--grotesk); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin: 0 0 8px; }
.form-success p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ======================= FOOTER ======================= */
.footer { background: var(--ink); color: var(--cream); padding: 66px 0 34px; }
.footer .wordmark .tile { background: var(--sage); color: var(--forest-deep); }
.footer .wordmark .lk b { color: var(--cream); }
.footer .wordmark .lk em { color: var(--sage); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-tag { font-size: 14.5px; line-height: 1.6; color: rgba(220,234,226,.66); max-width: 320px; margin: 18px 0 0; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 4px 0 18px; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(251,248,243,.8); padding: 7px 0; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(220,234,226,.16); }
.footer-bottom p { font-family: var(--mono); font-size: 12px; color: rgba(220,234,226,.55); margin: 0; letter-spacing: .02em; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid rgba(220,234,226,.22); display: flex; align-items: center; justify-content: center; color: rgba(220,234,226,.78); transition: .25s; }
.footer-social a:hover { background: var(--sage); border-color: var(--sage); color: var(--forest-deep); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

/* ======================= BACK TO TOP ======================= */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 70;
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--cream); border: 1px solid var(--forest);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--forest); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .to-top { right: 18px; bottom: 18px; } }

/* ======================= REVEAL ======================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
  .hero-stage { grid-template-columns: 1fr; padding: 48px 0; gap: 36px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item.wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .hero .wrap { padding: 0 22px; }
  .section { padding: 68px 0; }
  .navlinks, .nav-cta .btn { display: none; }
  .menu-btn { display: block; }
  .nav.menu-open .mobile-menu { display: flex; }
  .mobile-menu { position: fixed; inset: 74px 0 0; background: var(--cream); flex-direction: column; padding: 28px 26px; gap: 4px; z-index: 55; }
  .mobile-menu a { font-family: var(--grotesk); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu .btn { margin-top: 22px; justify-content: center; }
  .services-grid, .work-grid, .cases-grid, .pricing-panel.active { grid-template-columns: 1fr !important; }
  .work-item.wide { grid-column: span 1; }
  .case { grid-template-columns: 1fr; }
  .case-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-media image-slot, .case-media .ph { min-height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===================================================================
   DEA additions: real screenshots, JS pricing, group slider
   (kept in the direction-C "Structured System" aesthetic)
   =================================================================== */

/* real screenshots fill the media slots */
.hero-portal img,
.work-media img,
.case-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-media, .case-media img { min-height: 224px; }
@media (max-width: 760px) { .case-media, .case-media img { min-height: 180px; } }
.work-media img { transition: transform .6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }

/* ======================= PRICING (JS-rendered cards) ======================= */
.price-tabs {
  display: inline-flex; gap: 4px; padding: 5px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm); margin: 36px auto 0;
  flex-wrap: wrap; justify-content: center;
}
.price-tab {
  border: 0; background: transparent; font-family: var(--mono); font-weight: 400;
  font-size: 13px; letter-spacing: .02em; color: var(--ink-soft);
  padding: 10px 18px; border-radius: 4px; cursor: pointer; transition: color .25s, background .25s;
}
.price-tab.active { background: var(--ink); color: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.price-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 24px 28px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--forest); box-shadow: var(--shadow-md); }
.price-badge {
  position: absolute; top: -11px; left: 24px; background: var(--forest); color: var(--cream);
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 4px;
}
.price-name { font-family: var(--grotesk); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 5px; }
.price-tagline { font-size: 12.5px; color: var(--ink-soft); min-height: 36px; margin: 0 0 14px; line-height: 1.5; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-amount .cur { font-family: var(--grotesk); font-size: 22px; font-weight: 700; color: var(--ink); }
.price-amount .val { font-family: var(--grotesk); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.price-amount .per { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); margin-left: 2px; }
.price-feats { list-style: none; margin: 18px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.price-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink); }
.price-feats li svg { width: 15px; height: 15px; color: var(--sage-deep); margin-top: 2px; flex: 0 0 auto; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note {
  text-align: center; margin-top: 30px; font-family: var(--mono); font-size: 12.5px;
  color: var(--ink-soft); display: flex; align-items: center; justify-content: center; gap: 9px;
}
.price-note svg { width: 16px; height: 16px; color: var(--sage-deep); }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .price-grid { grid-template-columns: 1fr; } }

/* ======================= PORTFOLIO slider ======================= */
.portfolio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.portfolio-nav { display: flex; gap: 8px; flex: 0 0 auto; padding-bottom: 4px; }
.eag-slider { margin-top: 44px; }
.eag-arrow {
  width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: .25s;
}
.eag-arrow:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.eag-arrow:disabled { opacity: .35; cursor: default; }
.eag-arrow svg { width: 18px; height: 18px; }
.eag-slider { overflow: hidden; }
.eag-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.eag-track::-webkit-scrollbar { display: none; }
.eag-track.dragging { cursor: grabbing; }
.eag-card {
  flex: 0 0 300px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
a.eag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.eag-shot { height: 168px; overflow: hidden; background: linear-gradient(165deg, var(--forest-2), var(--forest-deep)); }
.eag-shot img { width: 100%; height: 100%; object-fit: cover; }
.eag-shot-logo { display: flex; align-items: center; justify-content: center; background: var(--cream-2); }
.eag-shot-logo img { object-fit: contain; padding: 24px; }
.eag-info { padding: 18px 20px 20px; }
.eag-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); }
.eag-name { font-family: var(--grotesk); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; margin: 8px 0 5px; }
.eag-sub { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .eag-head { flex-direction: column; align-items: flex-start; } .eag-card { flex-basis: 260px; } }

/* ======================= HERO ROTATION ======================= */
.hero h1 .hl { display: block; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hero h1 .hl.out { opacity: 0; transform: translateY(-16px); }
.hero h1 .hl-lead { color: var(--ink); }
.hero-portal img { transition: opacity .55s var(--ease); }
.hero-portal img.swapping { opacity: 0; }

@media (max-width: 760px) {
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .portfolio-nav { padding-bottom: 0; }
}
