/* ============================================
   A&M STRATEGIC ADVISORY
   Colors: #0F3D3E | #8FA7A3 | #2B2B2B | #E5E5E5 | #D8CFC4
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary:     #0F3D3E;
  --primary-dk:  #0a2c2d;
  --secondary:   #8FA7A3;
  --dark:        #2B2B2B;
  --light:       #E5E5E5;
  --warm:        #D8CFC4;
  --bg:          #F5F2ED;
  --white:       #FFFFFF;
  --primary-tint: rgba(15,61,62,0.07);
  --shadow:      0 4px 24px rgba(15,61,62,0.10);
  --shadow-lg:   0 16px 48px rgba(15,61,62,0.16);
  --fh: 'Cormorant Garamond', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --nav-h: 90px;
  --pad: 100px;
  --max: 1240px;
  --r: 4px;
  --rl: 12px;
  --ease: 0.35s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--dark); line-height: 1.75; overflow-x: hidden; }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }

h1,h2,h3,h4 { font-family: var(--fh); line-height:1.15; color: var(--primary); font-weight:600; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { line-height: 1.75; color: var(--dark); font-size: 1rem; text-align: justify; }

.container { max-width: var(--max); margin:0 auto; padding:0 40px; }
section { padding: var(--pad) 0; }

/* ── NAV DROPDOWN ───────────────────────── */
.nav-dropdown { position:relative; display:flex; align-items:center; }

.nav-dropdown-toggle {
  display:flex; align-items:center; gap:5px;
  font-size:0.8125rem; font-weight:500; letter-spacing:0.09em; text-transform:uppercase;
  color:rgba(255,255,255,0.85); transition:color var(--ease);
  background:none; border:none; font-family:inherit; padding:0; cursor:pointer;
  position:relative;
}
.nav-dropdown-toggle::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1.5px; background:var(--secondary); transition:width var(--ease);
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.active .nav-dropdown-toggle::after { width:100%; }
.nav-dropdown-toggle:hover { color:var(--white); }
.nav.scrolled .nav-dropdown-toggle { color:var(--dark); }
.nav.scrolled .nav-dropdown-toggle:hover { color:var(--primary); }

.nav-dropdown-chevron {
  width:11px; height:11px; flex-shrink:0;
  stroke:currentColor; fill:none; stroke-width:2.5;
  transition:transform var(--ease);
}
.nav-dropdown.open .nav-dropdown-chevron { transform:rotate(180deg); }

/* Transparent bridge that fills the gap so hover doesn't drop out */
@media(min-width:961px) {
  .nav-dropdown::after {
    content:''; position:absolute;
    top:100%; left:-20px; right:-20px;
    height:26px; /* must be >= the gap set on .nav-dropdown-menu */
    background:transparent;
  }
}

.nav-dropdown-menu {
  position:absolute; top:calc(100% + 22px); left:50%;
  transform:translateX(-50%) translateY(-8px);
  background:var(--white); border-radius:var(--rl);
  box-shadow:0 24px 64px rgba(15,61,62,0.18), 0 0 0 1px rgba(15,61,62,0.06);
  padding:8px; min-width:300px; z-index:200;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.dd-item {
  display:flex; align-items:center; gap:14px;
  padding:11px 13px; border-radius:8px;
  transition:background var(--ease); text-decoration:none; color:inherit;
}
.dd-item + .dd-item { margin-top:2px; }
.dd-item:hover { background:var(--bg); }
.dd-item.active { background:var(--primary-tint); }
.dd-item.active .dd-label { color:var(--primary); }

.dd-num {
  font-size:0.6rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--secondary); background:rgba(143,167,163,0.15);
  padding:3px 8px; border-radius:20px; flex-shrink:0; font-family:var(--fb);
}
.dd-body { display:flex; flex-direction:column; gap:2px; }
.dd-label { font-size:0.875rem; font-weight:500; color:var(--dark); line-height:1.3; font-family:var(--fb); }
.dd-desc  { font-size:0.72rem; color:var(--secondary); line-height:1.3; }

/* Mobile dropdown */
@media(max-width:960px) {
  .nav-dropdown { width:100%; flex-direction:column; align-items:flex-start; gap:0; }
  .nav-dropdown-toggle {
    color:var(--dark) !important; font-size:1rem; letter-spacing:0; text-transform:none;
    width:100%; justify-content:space-between; padding:0;
  }
  .nav-dropdown-toggle::after { display:none; }
  .nav-dropdown-chevron { width:16px; height:16px; }
  .nav-dropdown-menu {
    position:static; transform:none !important; box-shadow:none;
    background:transparent; padding:0; min-width:0; width:100%;
    opacity:1; visibility:visible; pointer-events:auto;
    max-height:0; overflow:hidden;
    transition:max-height 0.35s ease;
    display:block;
  }
  .nav-dropdown.open .nav-dropdown-menu { max-height:400px; }
  .dd-item { padding:10px 0 10px 14px; border-radius:0; border-bottom:1px solid var(--light); }
  .dd-item:last-child { border-bottom:none; }
  .dd-item:hover, .dd-item.active { background:transparent; }
  .dd-label { font-size:0.9rem; }
  .dd-desc  { display:none; }
}

/* ── NAV ─────────────────────────────────── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}
.nav.scrolled { background: var(--white); box-shadow: 0 2px 20px rgba(15,61,62,0.08); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:100%; }

.nav-logo { display:flex; align-items:center; }
.nav-logo img { height:72px; width:auto; }
.logo-light { display:block; filter: brightness(0) invert(1); }
.logo-dark  { display:none; }
.nav.scrolled .logo-light { display:none; }
.nav.scrolled .logo-dark  { display:block; }

.nav-links { display:flex; gap:32px; align-items:center; }
.nav-links a {
  font-size:0.8125rem; font-weight:500; letter-spacing:0.09em; text-transform:uppercase;
  color: rgba(255,255,255,0.85); transition: color var(--ease); position:relative;
}
.nav.scrolled .nav-links a { color: var(--dark); }
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1.5px; background: var(--secondary);
  transition: width var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: rgba(255,255,255,0.15); color: var(--white) !important;
  padding:10px 22px; border-radius: var(--r); border:1px solid rgba(255,255,255,0.3);
  font-size:0.8125rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  transition: all var(--ease) !important;
}
.btn-nav:hover { background: var(--white) !important; color: var(--primary) !important; }
.btn-nav::after { display:none !important; }
.nav.scrolled .btn-nav {
  background: var(--primary) !important; color: var(--white) !important;
  border-color: var(--primary) !important;
}
.nav.scrolled .btn-nav:hover { background: var(--primary-dk) !important; }

.nav-toggle { display:none; flex-direction:column; gap:5px; padding:4px; }
.nav-toggle span { display:block; width:24px; height:2px; background: var(--white); border-radius:2px; transition: var(--ease); }
.nav.scrolled .nav-toggle span { background: var(--dark); }

@media(max-width:960px) {
  .nav-toggle { display:flex; }
  .nav-links {
    position:fixed; top: var(--nav-h); left:0; right:0;
    background: var(--white); flex-direction:column; padding:28px 32px; gap:20px;
    /* slide fully off-screen and hide — prevents shadow bleed into nav */
    transform: translateY(-110%);
    visibility: hidden;
    /* on close: wait for slide to finish before hiding */
    transition: transform var(--ease), visibility 0s linear var(--ease);
    box-shadow: 0 8px 32px rgba(15,61,62,0.12);
    align-items:flex-start;
    z-index: 999;                              /* always below nav (z-index:1000) */
    max-height: calc(100vh - var(--nav-h));    /* never taller than remaining viewport */
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    /* on open: show immediately, then slide */
    transition: transform var(--ease), visibility 0s;
  }
  .nav-links a { color: var(--dark) !important; font-size:1rem; }
  .btn-nav { background: var(--primary) !important; border-color: var(--primary) !important; }
}
@media(max-width:600px) { .container { padding:0 20px; } }
@media(max-width:480px) {
  .nav-links { padding:20px 20px; gap:16px; }
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; font-size:0.875rem; font-weight:600;
  letter-spacing:0.09em; text-transform:uppercase;
  border-radius: var(--r); transition: all var(--ease); cursor:pointer; border:none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); transform:translateY(-2px); box-shadow:0 8px 24px rgba(15,61,62,0.25); }
.btn-outline { background:transparent; color: var(--primary); border:1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform:translateY(-2px); }
.btn-outline-white { background:transparent; color: var(--white); border:1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); transform:translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--bg); transform:translateY(-2px); box-shadow:0 8px 24px rgba(255,255,255,0.2); }

/* ── SECTION HELPERS ─────────────────────── */
.label {
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.75rem; font-weight:600; letter-spacing:0.18em;
  text-transform:uppercase; color: var(--secondary); margin-bottom:16px;
}
.label::before { content:''; display:block; width:28px; height:1.5px; background: var(--secondary); }
.label-white { color:rgba(255,255,255,0.6); }
.label-white::before { background:rgba(255,255,255,0.4); }
.sep { width:56px; height:2px; background: var(--secondary); margin:14px 0; }
.sep-c { margin:14px auto; }
.intro { font-size:1.125rem; line-height:1.8; max-width:660px; opacity:0.82; }
.intro-c { margin:0 auto; text-align:center; }
.text-c { text-align:center; }
.text-white { color: var(--white) !important; }

/* ── REVEAL ANIMATIONS ───────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.on { opacity:1; transform:translateY(0); }
.d1 { transition-delay:0.1s; }
.d2 { transition-delay:0.2s; }
.d3 { transition-delay:0.3s; }
.d4 { transition-delay:0.4s; }
.d5 { transition-delay:0.5s; }

/* ══════════════════════════════════════════
   HOME – HERO
══════════════════════════════════════════ */
.hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  background: var(--primary); overflow:hidden; position:relative;
}
.hero-pattern {
  position:absolute; inset:0; pointer-events:none; opacity:0.04;
  background-image: repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(255,255,255,1) 39px,rgba(255,255,255,1) 40px),
    repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(255,255,255,1) 39px,rgba(255,255,255,1) 40px);
}
.hero-content {
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding: calc(var(--nav-h) + 80px) 40px 80px; position:relative; z-index:1;
  max-width: 860px;
}
.hero-eyebrow {
  display:flex; align-items:center; gap:12px;
  font-size:0.75rem; font-weight:600; letter-spacing:0.18em;
  text-transform:uppercase; color: var(--secondary); margin-bottom:20px;
  justify-content:center;
}
.hero-eyebrow::before { content:''; display:block; width:28px; height:1.5px; background: var(--secondary); }
.hero h1 { color: var(--white); font-weight:400; margin-bottom:24px; }
.hero h1 em { font-style:italic; color: var(--secondary); }
.hero-sub { color:rgba(255,255,255,0.68); font-size:1.125rem; max-width:600px; margin-bottom:40px; line-height:1.8; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }

/* Hero mouse parallax glow */
.hero-glow {
  position:absolute; width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle, rgba(143,167,163,0.13) 0%, transparent 65%);
  transform:translate(-50%,-50%); pointer-events:none;
  opacity:0; transition:opacity 0.5s ease; z-index:0; will-change:left,top;
}
.hero-pattern { will-change:transform; }
.hero-content  { will-change:transform; }

/* Typewriter */
.typed-wrap {
  display:inline-flex; align-items:baseline; gap:2px;
  color: var(--secondary); font-style:italic; white-space:nowrap;
}
.typed-text { color: var(--secondary); }
.typed-cursor {
  display:inline-block; width:3px; height:0.85em;
  background: var(--secondary); margin-left:3px; vertical-align:baseline;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

@media(max-width:960px) {
  .hero-content { padding:40px 24px 64px; }
  .typed-wrap { white-space:normal; }
}

/* ── TICKER STRIP ────────────────────────── */
.ticker {
  background: var(--dark); padding:20px 0; overflow:hidden;
  border-top:1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display:flex; gap:0; width:max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item {
  display:flex; align-items:center; gap:32px; padding:0 40px;
  white-space:nowrap; color:rgba(255,255,255,0.55); font-size:0.8rem;
  letter-spacing:0.1em; text-transform:uppercase;
}
.ticker-dot { width:4px; height:4px; border-radius:50%; background: var(--secondary); flex-shrink:0; }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── WHO WE ARE ──────────────────────────── */
.who .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.who-img { position:relative; border-radius: var(--rl); overflow:hidden; aspect-ratio:4/5; }
.who-img img { width:100%; height:100%; object-fit:cover; }
.who-img::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top, rgba(15,61,62,0.25), transparent 60%);
}
.who-badge {
  position:absolute; bottom:28px; left:28px; z-index:1;
  background: var(--primary); color: var(--white);
  padding:18px 22px; border-radius: var(--r); max-width:188px;
  font-family: var(--fh); font-style:italic; font-size:1rem; line-height:1.45;
}
.who-text h2 { margin-bottom:16px; }
.who-text p  { margin-bottom:18px; opacity:0.82; }
.principle {
  background: var(--primary-tint); border-left:3px solid var(--primary);
  padding:18px 22px; margin:24px 0; border-radius:0 var(--r) var(--r) 0;
}
.principle p {
  font-family: var(--fh); font-style:italic; font-size:1.125rem;
  color: var(--primary); opacity:1; margin:0; line-height:1.55;
}
@media(max-width:900px) { .who .container { grid-template-columns:1fr; gap:36px; } .who-img { aspect-ratio:16/9; max-height:340px; } }

/* ── CONCEPT DEV ─────────────────────────── */
.concept { background: var(--primary); }
.concept .label { color:rgba(143,167,163,0.8); }
.concept .label::before { background:rgba(143,167,163,0.5); }
.concept h2 { color: var(--white); }
.concept .intro { color:rgba(255,255,255,0.65); opacity:1; }
.lifecycle {
  display:grid; grid-template-columns:repeat(5,1fr); gap:2px;
  margin-top:52px; background:rgba(255,255,255,0.06); border-radius: var(--rl); overflow:hidden;
}
.lc-item { padding:32px 22px; cursor:default; transition: background var(--ease); }
.lc-item:hover { background:rgba(255,255,255,0.05); }
.lc-n { font-family: var(--fh); font-size:2rem; color: var(--secondary); opacity:0.35; line-height:1; margin-bottom:14px; display:block; }
.lc-item h4 { color: var(--white); font-size:1rem; margin-bottom:8px; }
.lc-item p  { color:rgba(255,255,255,0.55); font-size:0.9375rem; opacity:1; line-height:1.6; }
.powerline {
  margin-top:52px; text-align:center;
  font-family: var(--fh); font-style:italic; font-size:1.25rem;
  color:rgba(255,255,255,0.6);
}
.powerline strong { color: var(--white); font-style:normal; }
@media(max-width:1024px) { .lifecycle { grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:640px)  { .lifecycle { grid-template-columns:1fr !important; } }

/* ── GIFTING OFFER LAYOUT ────────────────── */
.gifting-offer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  margin-top: 44px;
  align-items: start;
}
.gifting-offer-img {
  border-radius: var(--rl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.18);
}
.gifting-offer-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gifting-offer-img img:not([src]),
.gifting-offer-img img[src=""] { opacity: 0; }
@media(max-width:900px) {
  .gifting-offer-wrap { grid-template-columns: 1fr; }
  .gifting-offer-img  { aspect-ratio: 16/9; }
}

/* ── DIVISIONS ───────────────────────────── */
.divisions-hd { text-align:center; margin-bottom:56px; }
.divisions-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.div-card {
  background: var(--white); border-radius: var(--rl); overflow:hidden;
  box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease);
  display:flex; flex-direction:column;
}
.div-card:hover { transform:translateY(-8px); box-shadow: var(--shadow-lg); }
.div-top {
  background: var(--primary); padding:36px 28px; position:relative; overflow:hidden;
}
.div-top::before {
  content:''; position:absolute; top:-40px; right:-40px;
  width:120px; height:120px; border-radius:50%; background:rgba(255,255,255,0.04);
}
.div-icon {
  width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.div-icon svg { width:22px; height:22px; stroke: var(--secondary); fill:none; stroke-width:1.5; }
.div-tag { font-size:0.6875rem; color: var(--secondary); letter-spacing:0.14em; text-transform:uppercase; margin-bottom:6px; display:block; }
.div-top h3 { color: var(--white); font-size:1.25rem; }
.div-body { padding:28px; flex:1; display:flex; flex-direction:column; }
.div-body p { font-size:0.9375rem; line-height:1.75; flex:1; opacity:0.82; }
.div-link {
  display:inline-flex; align-items:center; gap:6px; margin-top:22px;
  font-size:0.78rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--primary); transition: gap var(--ease);
}
.div-link:hover { gap:10px; }
.div-link svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; }
@media(max-width:1100px) { .divisions-grid { grid-template-columns:repeat(2,1fr) !important; } }
@media(max-width:600px)  { .divisions-grid { grid-template-columns:1fr !important; max-width:440px; margin:0 auto; } }

/* ── METHOD ──────────────────────────────── */
.method { background: var(--white); }
.method-hd { text-align:center; margin-bottom:52px; }
.method-steps {
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  position:relative;
}
.method-line {
  position:absolute; top:44px; left:12%; width:76%; height:1px;
  background: var(--light); z-index:0;
}
.step { padding:0 20px; text-align:center; position:relative; z-index:1; }
.step-num {
  width:80px; height:80px; border-radius:50%;
  background: var(--bg); border:1.5px solid var(--light);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 22px; font-family: var(--fh); font-size:1.5rem;
  color: var(--primary); font-weight:600;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.step:hover .step-num { background: var(--primary); border-color: var(--primary); color: var(--white); }
.step h4 { margin-bottom:10px; }
.step p  { font-size:0.9375rem; line-height:1.65; opacity:0.75; }
@media(max-width:760px) { .method-steps { grid-template-columns:1fr 1fr; gap:40px; } .method-line { display:none; } }
@media(max-width:480px) { .method-steps { grid-template-columns:1fr; } }

/* ── IMPACT STATS ────────────────────────── */
.impact { background: var(--dark); }
.impact h2 { color: var(--white); text-align:center; }
.impact .label { display:flex; justify-content:center; margin-bottom:16px; color:rgba(143,167,163,0.7); }
.impact .label::before { background:rgba(143,167,163,0.4); }
.impact .sep { background:rgba(255,255,255,0.15); }
.stats {
  display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
  background:rgba(255,255,255,0.06); border-radius: var(--rl); overflow:hidden; margin-top:52px;
}
.stat {
  padding:44px 36px; text-align:center; background: var(--dark);
  transition: background var(--ease);
}
.stat:hover { background:#313131; }
.stat-n {
  font-family: var(--fh); font-size: clamp(2.5rem,4vw,3.5rem); font-weight:600;
  color: var(--secondary); line-height:1; display:block; margin-bottom:8px;
}
.stat-l { font-size:0.75rem; color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:0.1em; line-height:1.5; }
@media(max-width:760px) { .stats { grid-template-columns:1fr 1fr; } }
@media(max-width:480px) { .stats { grid-template-columns:1fr; } .stat { padding:32px 20px; } }

/* ── WHY A&M ─────────────────────────────── */
.why .container { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.why-img { border-radius: var(--rl); overflow:hidden; aspect-ratio:4/3; }
.why-img img { width:100%; height:100%; object-fit:cover; }
.why-list { display:flex; flex-direction:column; gap:14px; margin-top:28px; }
.why-item {
  display:flex; align-items:flex-start; gap:14px; padding:14px;
  border-radius: var(--r); transition: background var(--ease);
}
.why-item:hover { background: var(--primary-tint); }
.why-check {
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  background: var(--primary-tint); display:flex; align-items:center; justify-content:center;
}
.why-check svg { width:15px; height:15px; stroke: var(--primary); fill:none; stroke-width:2.5; }
.why-item p { font-size:1rem; line-height:1.7; opacity:0.85; }
@media(max-width:900px) { .why .container { grid-template-columns:1fr; gap:36px; } .why-img { aspect-ratio:16/9; } }

/* ── CTA BAND ────────────────────────────── */
.cta-band { background: var(--primary); padding: var(--pad) 0; text-align:center; }
.cta-band h2 { color: var(--white); margin-bottom:14px; }
.cta-band p  { color:rgba(255,255,255,0.68); font-size:1.125rem; max-width:560px; margin:0 auto 36px; opacity:1; }
.cta-actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ── CLIENTS ─────────────────────────────── */
.clients { background: var(--white); padding:60px 0; overflow:hidden; }
.clients-lbl { text-align:center; font-size:0.7rem; font-weight:600; letter-spacing:0.2em; text-transform:uppercase; color: var(--secondary); margin-bottom:36px; }

/* Carousel */
.clients-carousel {
  overflow:hidden; width:100%;
  -webkit-mask: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.clients-track {
  display:flex; align-items:center; gap:64px;
  width:max-content;
  animation: clients-marquee 28s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-img { height:52px; width:auto; object-fit:contain; filter:grayscale(100%); opacity:0.4; transition: filter 0.3s ease, opacity 0.3s ease; flex-shrink:0; }
.client-img:hover { filter:grayscale(0%); opacity:1; }

/* ── PAGE HERO ───────────────────────────── */
.page-hero {
  background: var(--primary); padding: calc(var(--nav-h) + 72px) 0 72px;
  text-align:center; position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0; opacity:0.04;
  background-image: repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(255,255,255,1) 39px,rgba(255,255,255,1) 40px),
    repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(255,255,255,1) 39px,rgba(255,255,255,1) 40px);
}
.page-hero .container { position:relative; z-index:1; }
.breadcrumb {
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-size:0.72rem; color: var(--secondary); letter-spacing:0.1em; text-transform:uppercase; margin-bottom:18px;
}
.breadcrumb a { color: var(--secondary); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep-bc { color:rgba(255,255,255,0.3); font-size:0.6rem; }
.page-hero h1 { color: var(--white); margin-bottom:14px; font-weight:400; }
.page-hero .intro { color:rgba(255,255,255,0.65); margin:0 auto; opacity:1; }

/* ── ABOUT – PHILOSOPHY ──────────────────── */
.philosophy { background: var(--white); }
.phil-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; margin-top:44px; }
.phil-col h4 { margin-bottom:18px; color: var(--primary); }
.phil-list li {
  padding-left:18px; position:relative; font-size:1rem;
  line-height:1.65; margin-bottom:12px; opacity:0.82;
}
.phil-list li::before {
  content:''; position:absolute; left:0; top:10px;
  width:6px; height:6px; border-radius:50%; background: var(--primary);
}
@media(max-width:720px) { .phil-grid { grid-template-columns:1fr; } }

/* ── ABOUT – APPROACH ────────────────────── */
.approach-list { display:flex; flex-direction:column; gap:0; margin-top:40px; }
.approach-item {
  display:flex; gap:28px; padding:28px 0; border-bottom:1px solid var(--light);
}
.approach-item:last-child { border-bottom:none; }
.approach-num {
  font-family: var(--fh); font-size:1.8rem; color: var(--secondary);
  opacity:0.5; line-height:1; flex-shrink:0; width:32px;
}
.approach-item h4 { margin-bottom:6px; }
.approach-item p  { font-size:0.9375rem; opacity:0.8; }

/* ── SERVICES LAYOUT ─────────────────────── */
.services-2col { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.service-img { border-radius: var(--rl); overflow:hidden; aspect-ratio:4/3; }
.service-img img { width:100%; height:100%; object-fit:cover; }
.svc-list { display:flex; flex-direction:column; gap:14px; margin-top:24px; }
.svc-item {
  background: var(--bg); padding:20px 22px; border-radius: var(--r);
  border-left:3px solid var(--primary); transition: background var(--ease);
}
.svc-item:hover { background: var(--primary-tint); }
.svc-item h4 { margin-bottom:6px; font-size:1rem; }
.svc-item p  { font-size:0.9375rem; line-height:1.65; opacity:0.78; }
@media(max-width:900px) { .services-2col { grid-template-columns:1fr; gap:36px; } }

/* ── CONTACT ─────────────────────────────── */
.contact-wrap { display:grid; grid-template-columns:1fr 1.6fr; gap:80px; align-items:start; }
.contact-aside h3 { margin-bottom:10px; }
.contact-aside > p { opacity:0.82; margin-bottom:36px; font-size:1rem; }
.c-details { display:flex; flex-direction:column; gap:22px; }
.c-detail { display:flex; align-items:center; gap:16px; }
.c-icon {
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  background: var(--primary-tint); display:flex; align-items:center; justify-content:center;
}
.c-icon svg { width:20px; height:20px; stroke: var(--primary); fill:none; stroke-width:1.5; }
.c-text span { display:block; font-size:0.6875rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color: var(--secondary); margin-bottom:3px; }
.c-text a, .c-text p { font-size:1rem; opacity:0.85; margin:0; transition: color var(--ease); }
.c-text a:hover { color: var(--primary); opacity:1; }

.contact-form { background: var(--white); padding:44px; border-radius: var(--rl); box-shadow: var(--shadow); }
.cf-title { font-size:1.5rem; margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.fg { display:flex; flex-direction:column; gap:6px; margin-bottom:18px; }
.fg label { font-size:0.75rem; font-weight:600; text-transform:uppercase; letter-spacing:0.1em; color: var(--dark); }
.fg input, .fg select, .fg textarea {
  padding:13px 15px; border:1.5px solid var(--light); border-radius: var(--r);
  font-family: var(--fb); font-size:1rem; color: var(--dark);
  background: var(--bg); transition: border-color var(--ease), box-shadow var(--ease); outline:none;
  appearance:none; -webkit-appearance:none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--primary); box-shadow:0 0 0 3px rgba(15,61,62,0.07);
}
.fg textarea { resize:vertical; min-height:110px; }
@media(max-width:900px) { .contact-wrap { grid-template-columns:1fr; gap:44px; } .contact-form { padding:28px 20px; } .form-row { grid-template-columns:1fr; } }

/* ── PORTFOLIO ───────────────────────────── */
.port-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.port-card { border-radius: var(--rl); overflow:hidden; position:relative; aspect-ratio:4/3; cursor:pointer; }
.port-card img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.port-card:hover img { transform:scale(1.06); }
.port-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(15,61,62,0.88) 0%, transparent 55%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:24px;
  opacity:0; transition: opacity var(--ease);
}
.port-card:hover .port-overlay { opacity:1; }
.port-tag { font-size:0.68rem; color: var(--secondary); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:6px; }
.port-overlay h4 { color: var(--white); font-size:1.02rem; }
@media(max-width:760px) { .port-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:480px) { .port-grid { grid-template-columns:1fr; } }

/* ── FOOTER ──────────────────────────────── */
.footer { background:#0a2c2d; padding:72px 0 36px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:56px; }
.footer-brand img { height:48px; margin-bottom:18px; filter:brightness(0) invert(1); opacity:0.85; }
.footer-brand p { color:rgba(255,255,255,0.45); font-size:0.9375rem; line-height:1.8; max-width:270px; }
.footer-col h5 { font-family: var(--fb); font-size:0.6875rem; font-weight:600; letter-spacing:0.16em; text-transform:uppercase; color: var(--white); margin-bottom:18px; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:rgba(255,255,255,0.45); font-size:0.9375rem; transition: color var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding-top:28px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { color:rgba(255,255,255,0.3); font-size:0.78rem; }
.footer-sig { color:rgba(255,255,255,0.25); font-size:0.75rem; font-family: var(--fh); font-style:italic; }
@media(max-width:900px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:580px) { .footer-grid { grid-template-columns:1fr; } .footer-bottom { justify-content:center; text-align:center; } }

/* ══════════════════════════════════════════
   MOBILE RESPONSIVENESS
══════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────── */
@media(max-width:768px) {
  :root { --pad: 64px; --nav-h: 72px; }
}
@media(max-width:480px) {
  :root { --pad: 48px; }
}

/* ── Typography ──────────────────────────── */
/* Justified text looks broken on short mobile lines */
@media(max-width:600px) {
  p { text-align: left; }
  .intro { font-size: 1rem; line-height: 1.7; }
  h4 { font-size: 1rem; }
}

/* ── Logo ────────────────────────────────── */
/* nav-h drops to 72px at ≤768px; logo must shrink too */
@media(max-width:768px) {
  .nav-logo img { height: 56px; }
}
@media(max-width:480px) {
  .nav-logo img { height: 48px; }
}

/* ── Hero ────────────────────────────────── */
@media(max-width:600px) {
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-eyebrow { font-size: 0.65rem; }
}

/* ── Page hero ───────────────────────────── */
@media(max-width:768px) {
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 44px; }
}
@media(max-width:480px) {
  .page-hero { padding: calc(var(--nav-h) + 32px) 0 36px; }
  .page-hero .intro { font-size: 0.9375rem; }
}

/* ── Services 2-col — override inline grid styles ── */
@media(max-width:900px) {
  .services-2col {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* Remove top-margin offsets that only make sense in 2-col */
  .services-2col .service-img,
  .services-2col [class*="img"] { margin-top: 0 !important; }
}

/* ── Who badge ───────────────────────────── */
@media(max-width:480px) {
  .who-badge {
    font-size: 0.875rem; padding: 13px 16px;
    max-width: 160px; bottom: 14px; left: 14px;
  }
}

/* ── Principle ───────────────────────────── */
@media(max-width:480px) {
  .principle p { font-size: 1rem; }
}

/* ── Lifecycle grid ──────────────────────── */
@media(max-width:480px) {
  .lc-item { padding: 22px 16px; }
  .lc-n    { font-size: 1.5rem; }
}

/* ── Method steps ────────────────────────── */
@media(max-width:480px) {
  .step-num { width: 64px; height: 64px; font-size: 1.25rem; }
  .step p   { font-size: 0.875rem; }
}

/* ── Stats ───────────────────────────────── */
@media(max-width:480px) {
  .stat     { padding: 28px 16px; }
  .stat-n   { font-size: 2.25rem; }
}

/* ── Approach list ───────────────────────── */
@media(max-width:480px) {
  .approach-item   { gap: 16px; padding: 18px 0; }
  .approach-num    { font-size: 1.4rem; }
}

/* ── CTA band ────────────────────────────── */
@media(max-width:768px) {
  .cta-band { padding: 64px 0; }
}
@media(max-width:600px) {
  .cta-band h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-band p  { font-size: 1rem; margin-bottom: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* ── Division cards ──────────────────────── */
@media(max-width:480px) {
  .div-top  { padding: 28px 20px; }
  .div-body { padding: 22px 20px; }
}

/* ── SVC items ───────────────────────────── */
@media(max-width:480px) {
  .svc-item { padding: 16px 16px; }
}

/* ── Portfolio ───────────────────────────── */
/* On touch devices the hover overlay never shows — make it always visible */
@media(hover: none) {
  .port-overlay { opacity: 1; background: linear-gradient(to top, rgba(15,61,62,0.82) 0%, transparent 60%); }
}

/* ── Contact form ────────────────────────── */
@media(max-width:480px) {
  .contact-form { padding: 24px 16px; }
  .fg input, .fg select, .fg textarea { font-size: 0.9375rem; }
}

/* ── Footer ──────────────────────────────── */
@media(max-width:480px) {
  .footer      { padding: 48px 0 28px; }
  .footer-grid { gap: 28px; margin-bottom: 36px; }
  .footer-brand p { font-size: 0.875rem; }
  .footer-col a   { font-size: 0.875rem; }
}

/* ── Buttons — full width on tiny screens ── */
@media(max-width:360px) {
  .btn { padding: 12px 20px; font-size: 0.8rem; }
}

/* ── SCROLLBAR ───────────────────────────── */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
