/* ============================================================
   SSPL — Design tokens
   Palette: deep indigo-navy base, warm off-white alt sections,
   violet (AI/tech) + teal (growth) dual accent.
   Type: Space Grotesk (display) / Inter (body).
   ============================================================ */
:root {
  --ink:        #12131A;
  --navy:       #0E1630;
  --navy-2:     #161F42;
  --paper:      #F6F5F2;
  --paper-2:    #ECEAE3;
  --violet:     #D42027;
  --violet-dim: #A81A1F;
  --teal:       #00D9C0;
  --white:      #FFFFFF;
  --line:       rgba(255,255,255,.12);
  --line-dark:  rgba(18,19,26,.1);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--violet); color: var(--white); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #d8b0b2; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white);
  padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

.section { padding: 96px 0; }
.section-tint { background: var(--paper-2); }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.eyebrow-plain { font-family: var(--font-display); color: var(--violet-dim); font-size: .95rem; margin: 0 0 .5em; font-weight: 600; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; max-width: none; gap: 24px; flex-wrap: wrap; }
.link-more { font-weight: 600; color: var(--violet-dim); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 20px -8px rgba(212,32,39,.55); }
.btn-primary:hover { background: var(--violet-dim); box-shadow: 0 12px 24px -8px rgba(212,32,39,.6); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: var(--line-dark); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.orbit-grid .reveal:nth-child(2), .bento-grid .reveal:nth-child(2), .testimonial-row .reveal:nth-child(2), .blog-row .reveal:nth-child(2) { transition-delay: .08s; }
.orbit-grid .reveal:nth-child(3), .bento-grid .reveal:nth-child(3), .testimonial-row .reveal:nth-child(3), .blog-row .reveal:nth-child(3) { transition-delay: .16s; }
.orbit-grid .reveal:nth-child(4), .bento-grid .reveal:nth-child(4) { transition-delay: .24s; }
.orbit-grid .reveal:nth-child(5), .bento-grid .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,245,242,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(18,19,26,.35); background: rgba(246,245,242,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
@media (max-width: 420px) { .header-inner { padding: 12px 16px; gap: 12px; } }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 46px; width: auto; display: block; border-radius: 50%; box-shadow: 0 2px 8px -2px rgba(212,32,39,.35); }
@media (max-width: 420px) { .brand-logo { height: 36px; } }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .04em; color: #6b6d78; }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--violet); transition: right .25s ease;
}
.main-nav a:hover::after { right: 0; }
.main-nav a:hover { color: var(--violet-dim); }
.nav-ai { display: inline-flex; align-items: center; gap: 6px; }
.nav-ai span { background: var(--violet); color: var(--white); font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; font-size: .9rem; display: none; }
@media (min-width: 1040px) { .header-phone { display: inline; } }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 68px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; padding: 32px 24px;
    gap: 20px; transform: translateY(-110%); transition: transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { padding: 72px 0 96px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, var(--paper-2) 100%); overflow: hidden; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(18,19,26,.09) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero-kicker { font-family: var(--font-display); font-weight: 600; color: var(--violet-dim); margin-bottom: .6em; animation: heroRise .6s ease both; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.01em; animation: heroRise .7s ease .05s both; }
.text-gradient {
  background: linear-gradient(100deg, var(--violet) 10%, var(--teal) 50%, var(--violet-dim) 90%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: textShimmer 5s linear infinite;
}
.hero-lead { font-size: 1.15rem; color: #454754; max-width: 46ch; animation: heroRise .7s ease .12s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 40px; animation: heroRise .7s ease .2s both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes textShimmer { to { background-position: -200% center; } }
@media (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero h1, .hero-lead, .hero-actions { animation: none; }
  .text-gradient { animation: none; }
}
.hero-stats { display: flex; gap: 36px; margin: 0; flex-wrap: wrap; }
.hero-stats dt { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.hero-stats dd { margin: 0; font-size: .85rem; color: #6b6d78; }
@media (max-width: 420px) { .hero-stats { gap: 22px; } }

.hero-visual { position: relative; aspect-ratio: 1/1; border-radius: 24px; background: radial-gradient(circle at 30% 20%, var(--navy-2), var(--navy) 70%); overflow: hidden; }
.hero-visual canvas { width: 100%; height: 100%; }
.hero-floating-card {
  position: absolute; left: -18px; bottom: 24px; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: 0 20px 40px -16px rgba(18,19,26,.35);
  display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; max-width: 220px;
}
.hero-floating-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,217,192,.18); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; order: -1; }
  .hero-floating-card { left: 16px; bottom: -16px; }
}
@media (max-width: 480px) { .hero-floating-card { display: none; } }

/* Organic section divider — used right after the hero */
.wave-divider { display: block; width: 100%; height: 48px; color: var(--navy); background: var(--navy); margin-bottom: -2px; }
.wave-divider path { fill: currentColor; }
.wave-divider--tint { color: var(--paper-2); background: var(--paper-2); }

/* ---------------- Marquee ticker (creative signature strip) ---------------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--paper-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.marquee-track { display: inline-flex; align-items: center; gap: 48px; padding: 18px 24px; animation: marqueeScroll 26s linear infinite; will-change: transform; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #6b6d78; display: inline-flex; align-items: center; gap: 14px; }
.marquee-track span::after { content: '\2726'; color: var(--violet); font-size: .75rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero { padding: 72px 0 56px; background: var(--paper); overflow: hidden; }
.page-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 18ch; }
.page-hero--ai { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.page-hero--ai .hero-kicker { color: var(--teal); }

.page-hero-visual {
  position: relative; aspect-ratio: 1/1; max-width: 300px; margin: 0 auto;
  border-radius: 24px; background: radial-gradient(circle at 30% 20%, var(--navy-2), var(--navy) 70%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.page-hero-visual svg { width: 52%; height: 52%; color: var(--teal); }
.page-hero-visual .deco-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 6px rgba(212,32,39,.18); }
.page-hero-visual .deco-dot--1 { top: 16px; left: 20px; }
.page-hero-visual .deco-dot--2 { bottom: 22px; right: 26px; background: var(--teal); box-shadow: 0 0 0 6px rgba(0,217,192,.18); }
.page-hero-visual--light { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.page-hero-visual--light svg { color: var(--teal); }
@media (max-width: 800px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-visual { max-width: 220px; }
}

/* ---------------- Services orbit grid ---------------- */
.orbit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.orbit-grid--3 { grid-template-columns: repeat(3, 1fr); }
.orbit-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .orbit-grid, .orbit-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .orbit-grid, .orbit-grid--3, .orbit-grid--4 { grid-template-columns: 1fr; } }

.orbit-card {
  position: relative; background: var(--white); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 26px 22px; transition: border-color .2s ease, transform .2s ease;
}
a.orbit-card:hover { transform: translateY(-3px); border-color: var(--violet); }
.orbit-card--ai { background: var(--navy); color: var(--white); border-color: var(--navy); }
.orbit-card--ai p { color: #c7cae0; }
.orbit-icon { width: 34px; height: 34px; color: var(--violet); display: block; margin-bottom: 16px; }
.orbit-card--ai .orbit-icon { color: var(--teal); }
.orbit-icon svg { width: 100%; height: 100%; }
.orbit-card h3 { font-size: 1.05rem; margin-bottom: .4em; }
.orbit-card p { font-size: .9rem; color: #5a5c68; margin: 0; }
.orbit-badge { position: absolute; top: 22px; right: 22px; font-size: .65rem; font-weight: 700; letter-spacing: .02em; background: var(--teal); color: var(--navy); padding: 3px 9px; border-radius: 999px; }
.orbit-card--featured { grid-column: span 2; }
@media (max-width: 1000px) { .orbit-card--featured { grid-column: span 2; } }
@media (max-width: 560px) { .orbit-card--featured { grid-column: span 1; } }

/* ---------------- Two-column sections ---------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.check-list { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); }
.step-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 22px; margin: 24px 0; }
.step-list li { counter-increment: step; padding-left: 44px; position: relative; }
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border-radius: 50%; background: var(--violet); color: var(--white); font-family: var(--font-display);
  font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}

.ai-panel { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; }
.ai-panel-row { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #d5d7ea; }
.ai-panel-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.ai-panel-chart { color: var(--teal); margin-top: 18px; }
.stat-stack { display: flex; flex-direction: column; gap: 18px; }
.stat-stack div { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; }
.stat-stack strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); }
.stat-stack span { color: #6b6d78; font-size: .9rem; }

/* ---------------- Bento portfolio grid ---------------- */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento-item { position: relative; border-radius: var(--radius); overflow: hidden; grid-column: span 1; grid-row: span 1; }
.bento-item--lg { grid-column: span 2; grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bento-item:hover img { transform: scale(1.05); }
.bento-caption {
  position: absolute; inset: auto 0 0 0; padding: 18px; color: var(--white);
  background: linear-gradient(0deg, rgba(14,22,48,.85), transparent 70%);
  display: flex; flex-direction: column; gap: 2px;
}
.bento-caption em { font-style: normal; font-size: .72rem; letter-spacing: .02em; color: var(--teal); }
.bento-caption strong { font-family: var(--font-display); font-size: 1.05rem; }
@media (max-width: 800px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .bento-item--lg { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-item--lg { grid-column: span 1; }
}

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { background: var(--white); border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 18px; font-size: .85rem; font-weight: 600; }
.filter-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------------- Clients strip ---------------- */
.clients-strip .eyebrow-plain { text-align: center; }
.logo-marquee { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; opacity: .7; }
.logo-marquee img { height: 32px; width: auto; object-fit: contain; filter: grayscale(1); }

/* ---------------- Testimonials ---------------- */
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testimonial-row { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; margin: 0; }
.testimonial-card p { font-size: 1rem; color: #33343e; }
.testimonial-card footer { font-size: .85rem; color: #6b6d78; }

/* ---------------- Blog cards ---------------- */
.blog-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-row--wrap { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 800px) { .blog-row { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; display: block; }
.blog-card img { height: 170px; object-fit: cover; }
.blog-card h3, .blog-card p, .blog-cat, .blog-meta { padding: 0 20px; }
.blog-cat { display: block; margin-top: 16px; font-size: .72rem; font-weight: 700; color: var(--violet-dim); }
.blog-card h3 { font-size: 1.05rem; margin: 6px 0; }
.blog-card p { font-size: .88rem; color: #5a5c68; }
.blog-meta { display: block; font-size: .78rem; color: #8a8c96; padding-bottom: 20px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--violet-dim) 130%); color: var(--white); padding: 64px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { color: #d5d7ea; margin: 0; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #c7cae0; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .88rem; margin: 6px 0; }
.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text small { color: #9698b3; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }
.footer-col h3 { color: var(--white); font-size: .9rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .88rem; margin-bottom: 10px; color: #c7cae0; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #9698b3; }
.footer-bottom a { margin-left: 16px; }

.footer-col--offices h3:not(:first-child) { margin-top: 18px; }
.footer-col--offices p { font-size: .85rem; line-height: 1.5; }

.footer-bank { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bank summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--teal); }
.bank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; margin: 16px 0 0; font-size: .85rem; }
.bank-grid dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; color: #9698b3; margin-bottom: 3px; }
.bank-grid dd { margin: 0; font-weight: 600; word-break: break-word; }
@media (max-width: 480px) { .bank-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Forms ---------------- */
.contact-form, .form-success, .form-errors { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: #33343e; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark); background: var(--white); color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); }
.form-errors { background: #fdeaea; border: 1px solid #f2b8b8; border-radius: var(--radius-sm); padding: 16px 20px; }
.form-errors ul { list-style: disc; padding-left: 20px; margin: 0; }
.form-success { background: #e6f9f6; border: 1px solid #9fe5da; border-radius: var(--radius-sm); padding: 24px; }
.two-col-media { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; }
.contact-card h3 { color: var(--teal); font-size: .95rem; }
.contact-card h3:not(:first-child) { margin-top: 16px; }
.contact-card a { color: var(--white); }
.contact-card p { font-size: .9rem; }
.contact-card--offices, .contact-card--legal { background: var(--white); color: var(--ink); border: 1px solid var(--line-dark); }
.contact-card--offices h3, .contact-card--legal h3 { color: var(--violet-dim); }

/* ---------------- Services detail page ---------------- */
.service-block { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.service-block:first-child { padding-top: 0; }
.service-block-icon { width: 64px; height: 64px; color: var(--violet); }
.service-block-icon svg { width: 100%; height: 100%; }
.service-block-copy h2 { font-size: 1.6rem; }
@media (max-width: 700px) { .service-block { grid-template-columns: 1fr; } }

/* ---------------- Portfolio / blog single ---------------- */
.project-detail, .blog-article { max-width: 880px; margin: 0 auto; }
.project-cover { border-radius: var(--radius); width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 32px; }
.project-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.project-meta span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #8a8c96; margin-bottom: 4px; }
.project-body { font-size: 1.05rem; color: #33343e; }
.blog-article-meta { color: #6b6d78; font-size: .9rem; margin-bottom: 24px; }
.blog-article-body { font-size: 1.08rem; color: #2b2c34; margin-top: 24px; }

/* ---------------- Legal pages (terms / privacy) ---------------- */
.legal-page h1 { font-size: 2rem; }
.legal-updated { color: #6b6d78; font-size: .85rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.15rem; margin-top: 36px; color: var(--violet-dim); }
.legal-page p { color: #33343e; }
.legal-list { padding-left: 22px; margin: 0 0 1em; display: flex; flex-direction: column; gap: 8px; color: #33343e; }
.legal-list li { list-style: disc; }

.empty-note { color: #6b6d78; font-style: italic; }

/* ---------------- Office map (about page) ---------------- */
.office-map { display: flex; align-items: center; gap: 24px; }
.office-pin { flex: 0 0 220px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; text-align: center; }
.office-pin-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--violet); margin-bottom: 10px; box-shadow: 0 0 0 5px rgba(212,32,39,.15); }
.office-pin h3 { font-size: 1rem; margin-bottom: 2px; }
.office-pin p { margin: 0; color: #5a5c68; font-size: .9rem; }
.office-route { flex: 1; height: 40px; color: var(--violet); stroke: currentColor; stroke-width: 2; }
.office-route path { stroke: currentColor; stroke-width: 2; }
@media (max-width: 700px) {
  .office-map { flex-direction: column; }
  .office-route { width: 40px; height: 60px; transform: rotate(90deg); }
}

/* ---------------- Story timeline (about page) ---------------- */
.story-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: story; }
.story-timeline li { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; position: relative; }
.story-year { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--white); background: var(--violet); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.story-timeline h3 { font-size: 1rem; margin-bottom: 6px; }
.story-timeline p { font-size: .88rem; color: #5a5c68; margin: 0; }
@media (max-width: 900px) { .story-timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .story-timeline { grid-template-columns: 1fr; } }
