/* ============================================================
   TORVEN MARINE — Design Tokens
   ============================================================ */
:root{
  --navy-950:#070f1a;
  --navy-900:#0a1626;
  --navy-800:#0e1e33;
  --navy-700:#152a45;
  --charcoal:#1b2129;
  --steel-500:#8fa1b3;
  --steel-300:#a6b6c7;
  --steel-100:#e6eaee;
  --white:#ffffff;
  --blue-500:#0077b6;
  --blue-400:#2e93cf;
  --blue-300:#6fb6e0;
  --line:rgba(230,234,238,0.14);
  --line-soft:rgba(230,234,238,0.08);

  --font-display:'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:'IBM Plex Mono', 'Courier New', monospace;

  --wrap:1440px;
  --gutter:clamp(24px, 5vw, 72px);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:112px;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{
  margin:0;
  background:var(--navy-900);
  color:var(--steel-100);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}

/* Visible keyboard focus state — applies site-wide, only shown for
   keyboard/assistive-tech navigation (not mouse clicks), so it never
   interferes with the existing visual design during normal use. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--blue-400);
  outline-offset:2px;
  border-radius:2px;
}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--white);
  margin:0;
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.12;
}
p{margin:0;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  background:var(--blue-500);
  color:var(--white);
  padding:12px 20px;
  z-index:1000;
  font-family:var(--font-display);
  font-size:13px;
  font-weight:600;
}
.skip-link:focus{
  left:16px;
  top:16px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--blue-300);
  display:flex;
  align-items:center;
  gap:12px;
}
.eyebrow::before{
  content:'';
  width:28px;
  height:1px;
  background:var(--blue-400);
  display:inline-block;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  font-family:var(--font-display);
  font-size:13px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .28s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--blue-500);
  color:var(--white);
  border-color:var(--blue-500);
}
.btn-primary:hover{
  background:var(--blue-400);
  border-color:var(--blue-400);
  transform:translateY(-1px);
}
.btn-ghost{
  background:transparent;
  color:var(--steel-100);
  border-color:var(--line);
}
.btn-ghost:hover{
  border-color:var(--steel-100);
  background:rgba(255,255,255,0.04);
}
.btn-arrow{transition:transform .28s var(--ease);}
.btn:hover .btn-arrow{transform:translateX(3px);}

/* ---------- Header ---------- */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  padding:22px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{
  background:rgba(7,15,26,0.92);
  backdrop-filter:blur(10px);
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-width:0;
}
.logo{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.logo img{height:50px;width:auto;flex-shrink:0;}
.logo-text{
  font-family:var(--font-display);
  font-weight:700;
  font-size:29px;
  letter-spacing:0.045em;
  color:var(--white);
  line-height:1.1;
  white-space:nowrap;
  min-width:0;
}
.logo-text span{
  display:block;
  font-size:10.5px;
  font-weight:500;
  letter-spacing:0.11em;
  color:var(--blue-300);
  margin-top:4px;
  white-space:nowrap;
}
.main-nav{display:flex;align-items:center;gap:40px;min-width:0;}
.main-nav ul{display:flex;gap:26px;min-width:0;}
.main-nav a{
  font-family:var(--font-display);
  font-size:13.5px;
  font-weight:600;
  letter-spacing:0.03em;
  text-transform:uppercase;
  color:var(--steel-100);
  position:relative;
  padding:4px 0;
  white-space:nowrap;
  transition:color .25s;
}
.main-nav a:hover, .main-nav a.active{color:var(--white);}
.main-nav a.active::after{
  content:'';
  position:absolute;
  left:0;bottom:-2px;
  width:100%;height:1px;
  background:var(--blue-400);
}
.header-cta{display:flex;align-items:center;gap:16px;flex-shrink:0;}
.nav-toggle{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:2px;
  position:relative;
  cursor:pointer;
}
.header-whatsapp{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  border:1px solid var(--line);
  border-radius:50%;
  color:var(--steel-300);
  transition:all .2s var(--ease);
  flex-shrink:0;
}
.header-whatsapp svg{width:18px; height:18px;}
.header-whatsapp:hover, .header-whatsapp:focus-visible{
  color:#fff;
  background:var(--blue-500);
  border-color:var(--blue-500);
}
@media (max-width:520px){
  .header-whatsapp{display:none;}
}
.nav-toggle span{
  position:absolute;left:12px;right:12px;height:1px;background:var(--white);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1){top:16px;}
.nav-toggle span:nth-child(2){top:22px;}
.nav-toggle span:nth-child(3){top:28px;}
.nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav-toggle.is-open span:nth-child(2){opacity:0;}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

.mobile-nav{
  position:fixed;
  inset:0;
  background:var(--navy-950);
  z-index:99;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:32px var(--gutter);
  transform:translateY(-100%);
  opacity:0;
  pointer-events:none;
  transition:transform .4s var(--ease), opacity .3s var(--ease);
}
.mobile-nav.is-open{transform:translateY(0); opacity:1; pointer-events:auto;}
.mobile-nav ul{display:flex;flex-direction:column;gap:6px;}
.mobile-nav a{
  font-family:var(--font-display);
  font-size:clamp(28px,7vw,40px);
  font-weight:700;
  color:var(--white);
  padding:14px 0;
  border-bottom:1px solid var(--line-soft);
}
.mobile-nav .mobile-meta{margin-top:40px;}
.mobile-nav .mobile-meta a{
  font-size:14px;
  font-weight:500;
  color:var(--steel-300);
  border:none;
  padding:6px 0;
  text-transform:none;
}

/* ---------- Hero (full-bleed photo, reference layout) ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  padding-top:88px;
  overflow:hidden;
  background:var(--navy-950);
}
/* Robust phone/tablet hero: fixes the case where a touch device (most
   commonly Android Chrome opening a Google search result) reports an
   inflated "desktop-style" effective CSS viewport between roughly
   721px and 1200px. In that band the header (which switches to its
   compact/hamburger layout at max-width:1200px) was already correct,
   but the hero was still receiving its full desktop min-height:88vh +
   centered layout, which on a genuinely narrow physical phone screen
   pushed the actual headline text below the first viewport. This rule
   targets coarse-pointer (touch) devices specifically, so real desktop
   browsers — including ones resized narrower with a mouse — are
   unaffected, and gives the hero an intrinsic, top-aligned height
   instead of a viewport-relative one.
*/
@media (max-width:1200px) and (pointer:coarse){
  .hero{
    min-height:auto;
    align-items:flex-start;
    padding-top:104px;
    padding-bottom:56px;
  }
}
.hero-media{
  position:absolute;inset:0;
  z-index:0;
}
.hero-media > div{width:100%;height:100%;}
.hero-media img{width:100%;height:100%;object-fit:cover; object-position:center 35%;}
.hero-media::after{
  content:'';
  position:absolute;inset:0;
  background:
    linear-gradient(180deg, rgba(10,18,30,0.4) 0%, rgba(10,18,30,0) 130px),
    linear-gradient(90deg, rgba(24,34,48,0.6) 0%, rgba(24,34,48,0.42) 16%, rgba(24,34,48,0.18) 32%, rgba(24,34,48,0) 46%);
}
.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  padding-top:64px;
  padding-bottom:64px;
}
.hero-title{
  font-size:clamp(34px, 4.4vw, 54px);
  max-width:14ch;
  margin-bottom:22px;
  color:#F7F5EE;
  text-shadow:0 2px 10px rgba(4,10,18,0.35);
}
.hero-title span{display:block;}
.hero-title span:not(:last-child){margin-bottom:17px;}
.hero-desc{
  font-size:15px;
  color:#E1E8ED;
  max-width:46ch;
  margin-bottom:36px;
  text-shadow:0 1px 8px rgba(4,10,18,0.3);
}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; min-width:0;}
.hero-actions .btn-ghost{color:#FFFFFF; border-color:rgba(255,255,255,0.55);}
.hero-actions .btn-ghost:hover{border-color:#FFFFFF; background:rgba(255,255,255,0.08);}

/* ---------- Stat bar ---------- */
.stat-bar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-top:56px;
}
.stat-bar > *{min-width:0;}
.stat-item{
  padding:28px 24px;
  border-right:1px solid var(--line);
}
.stat-item:last-child{border-right:none;}
.stat-item .num{
  font-family:var(--font-display);
  font-size:clamp(22px,2.6vw,30px);
  font-weight:700;
  color:var(--white);
  display:block;
  margin-bottom:6px;
}
.stat-item .lbl{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--steel-500);
}

/* ---------- Section shell ---------- */
section{position:relative;}
.section-pad{padding:clamp(72px,10vw,140px) 0;}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:clamp(40px,6vw,72px);
}
.section-head h2{font-size:clamp(28px,4vw,44px); max-width:14ch;}
.section-head .desc{max-width:42ch; color:var(--steel-300); font-size:15px;}

/* Stacked variant: heading with secondary copy directly beneath it,
   left-aligned, instead of the default heading-left/desc-right split. */
.section-head--stacked{
  display:block;
}
.section-head--stacked h2{max-width:none;}
.section-head--stacked .desc{
  max-width:60ch;
  margin-top:14px;
  font-size:14.5px;
  font-weight:400;
  color:var(--steel-500);
}
.section-num{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--steel-500);
  letter-spacing:0.1em;
}

/* ---------- Intro ---------- */
.cred-strip{
  background:var(--navy-950);
  border-top:1px solid var(--line-soft);
  padding:18px 0;
}
.cred-list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:0;
  list-style:none;
  margin:0; padding:0;
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--steel-500);
}
.cred-list li{padding:0 16px; position:relative;}
.cred-list li.cred-mixed{text-transform:none;}
.cred-list li:not(:last-child)::after{
  content:'·';
  position:absolute;
  right:-2px; top:0;
  color:var(--line-soft);
}
@media (max-width:720px){
  .cred-strip{padding:16px 0;}
  .cred-list{
    flex-wrap:nowrap;
    overflow-x:auto;
    justify-content:flex-start;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:0 var(--gutter);
  }
  .cred-list::-webkit-scrollbar{display:none;}
  .cred-list li{white-space:nowrap;}
}

.intro{background:var(--navy-900);border-top:1px solid var(--line-soft);}
.intro-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:clamp(40px,6vw,100px);
  align-items:start;
}
.intro-lede{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(22px,2.6vw,30px);
  color:var(--white);
  line-height:1.4;
}
.intro-body p{color:var(--steel-300); font-size:15px; margin-bottom:18px;}
.intro-body p:last-child{margin-bottom:0;}
.intro-pillars{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  margin-top:56px;
  border:1px solid var(--line);
}
.pillar{
  background:var(--navy-900);
  padding:28px 24px;
}
.pillar .pn{font-family:var(--font-mono); font-size:11px; color:var(--blue-300); letter-spacing:.1em;}
.pillar h4{font-size:16px; margin:14px 0 8px;}
.pillar p{font-size:13.5px; color:var(--steel-500);}

/* ---------- Engine room cinematic transition ---------- */
.cine-photo{
  width:100%;
  height:450px;
  overflow:hidden;
  position:relative;
  line-height:0;
  background:var(--navy-950);
}
.cine-photo img{
  width:100%;
  max-width:1600px;
  height:100%;
  margin:0 auto;
  object-fit:cover;
  object-position:54% 20%;
  display:block;
}
.cine-photo::after{
  content:'';
  position:absolute; inset:0;
  background:rgba(7,15,26,0.22);
  pointer-events:none;
}

/* ---------- Services ---------- */
.services{background:var(--navy-950);}
.service-list{border-top:1px solid var(--line);}
.service-row{
  display:grid;
  grid-template-columns:80px 1fr 1.4fr auto;
  gap:32px;
  align-items:center;
  padding:32px 0;
  border-bottom:1px solid var(--line);
  transition:background .3s;
}
.service-row:hover{background:rgba(255,255,255,0.02);}
.service-row .idx{font-family:var(--font-mono); color:var(--steel-500); font-size:13px;}
.service-row h3{font-size:clamp(19px,2vw,24px); font-weight:600;}
.service-row .sdesc{color:var(--steel-500); font-size:14px; max-width:52ch;}
.service-row .go{
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:all .3s var(--ease);
  flex-shrink:0;
}
.service-row:hover .go{background:var(--blue-500); border-color:var(--blue-500); transform:rotate(45deg);}

/* Insights list — headlines are full sentences, not short labels,
   so this stacks title above description instead of the tight
   multi-column .service-row grid. */
/* ================================================================
   Projects & Insights hub — scalable publication layout
   ================================================================ */
.insight-hub-hero{padding-bottom:36px;}
.exp-summary{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.exp-summary.section-pad{padding-top:clamp(56px,7.8vw,109px);}
.exp-summary-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--line);
  margin-top:8px;
  background:var(--navy-950);
}
.exp-summary-panel > *{min-width:0;}
.exp-summary-lead{
  padding:48px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.exp-summary-lead h3{font-size:clamp(22px,2.4vw,28px); margin-bottom:16px; max-width:17ch; line-height:1.25;}
.exp-summary-lead p{color:var(--steel-300); font-size:15px; line-height:1.7; margin-bottom:28px;}
.exp-summary-list{display:flex; flex-direction:column;}
.exp-summary-row{padding:28px 44px; border-bottom:1px solid var(--line);}
.exp-summary-row:last-child{border-bottom:none;}
.exp-summary-row h4{font-size:16px; margin-bottom:8px; color:var(--white); font-weight:700;}
.exp-summary-row p{color:var(--steel-500); font-size:14px; line-height:1.65; margin:0;}
.insight-technical{background:var(--navy-950); border-top:1px solid var(--line-soft); padding-bottom:0 !important;}
@media (max-width:900px){
  .exp-summary-panel{grid-template-columns:1fr;}
  .exp-summary-lead{border-right:none; border-bottom:1px solid var(--line); padding:36px 28px;}
  .exp-summary-row{padding:24px 28px;}
}
.insight-hub-sub{
  font-family:var(--font-body);
  font-size:15px;
  color:var(--steel-500);
  max-width:56ch;
  margin-top:10px;
  margin-bottom:32px;
}
.insight-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.insight-pill{
  font-family:var(--font-body);
  font-size:13.5px;
  font-weight:500;
  color:var(--steel-500);
  background:transparent;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 18px;
  cursor:pointer;
  transition:all .2s var(--ease);
}
.insight-pill:hover{color:var(--steel-100); border-color:var(--line-soft);}
.insight-pill.active{
  color:var(--white);
  background:var(--blue-500);
  border-color:var(--blue-500);
}

/* ---- Featured ---- */
.insight-featured{background:var(--navy-950); padding:8px 0 64px;}
.insight-featured-label{
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue-300);
  margin-bottom:20px;
}
.insight-featured-card{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:48px;
  align-items:center;
  border:1px solid var(--line);
  padding:32px;
}
.insight-featured-media img{
  width:100%;
  height:auto;
  display:block;
}
.insight-featured-text .insight-cat{
  font-family:var(--font-body);
  font-weight:600;
  font-size:12.5px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue-300);
  display:block;
  margin-bottom:14px;
}
.insight-featured-text h2{font-size:clamp(24px,2.8vw,34px); font-weight:700; line-height:1.2; margin-bottom:16px;}
.insight-featured-text h2 a{color:var(--white); transition:color .2s;}
.insight-featured-text h2 a:hover{color:var(--blue-300);}
.insight-featured-text p{color:var(--steel-500); font-size:15px; line-height:1.65; margin-bottom:20px; max-width:48ch;}

/* ---- Grid of cards ---- */
.insight-list-section{background:var(--navy-950); padding-top:8px;}
.insight-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.insight-card{
  background:var(--navy-950);
  padding:36px;
  display:flex;
  flex-direction:column;
}
.insight-card .insight-cat{
  font-family:var(--font-body);
  font-weight:600;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue-300);
  margin-bottom:14px;
}
.insight-card h3{font-size:clamp(19px,1.8vw,22px); font-weight:600; line-height:1.3; margin-bottom:12px;}
.insight-card h3 a{color:var(--white); transition:color .2s;}
.insight-card h3 a:hover{color:var(--blue-300);}
.insight-card p{color:var(--steel-500); font-size:14.5px; line-height:1.6; margin-bottom:18px; flex-grow:1;}
.insight-card-meta{
  font-family:var(--font-body);
  font-size:12.5px;
  color:var(--steel-500);
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
}
.insight-card-meta .dot{opacity:.5;}
.insight-card .go-link, .insight-featured-text .go-link{
  font-family:var(--font-body);
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--blue-300);
  align-self:flex-start;
}
.insight-cta-card{
  background:linear-gradient(155deg, #0d2843 0%, var(--navy-950) 65%);
  border-left:2px solid var(--blue-400);
  position:relative;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:background .3s var(--ease), border-color .3s var(--ease);
}
.insight-cta-card::after{
  content:'';
  position:absolute;
  right:-36px; bottom:-36px;
  width:190px; height:190px;
  background:url('../assets/logo-mark.svg') no-repeat center/contain;
  opacity:0.06;
  pointer-events:none;
}
.insight-cta-card:hover, .insight-cta-card:focus-visible{
  background:linear-gradient(155deg, #123a63 0%, var(--navy-950) 65%);
  border-left-color:var(--blue-300);
}
.insight-cta-card:focus-visible{outline:2px solid var(--blue-300); outline-offset:-2px;}
.insight-cta-card .insight-cat{color:var(--blue-300);}
.insight-cta-card h3{color:var(--white); position:relative; z-index:1;}
.insight-cta-card p{position:relative; z-index:1;}
.insight-cta-card .go-link{position:relative; z-index:1; color:var(--blue-300);}

.insight-empty{
  text-align:center;
  color:var(--steel-500);
  font-size:15px;
  padding:48px 0;
}

/* ---- Philosophy ---- */
.insight-philosophy{background:var(--navy-900); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);}
.philosophy-lead{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(22px,2.6vw,30px);
  color:var(--white);
  max-width:26ch;
  margin-bottom:14px;
}
.philosophy-sub{
  font-family:var(--font-body);
  font-size:15.5px;
  color:var(--steel-500);
  max-width:56ch;
  line-height:1.65;
}

/* ---- Bottom CTA ---- */
.insight-cta{background:var(--navy-950);}
.insight-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.insight-cta-inner h2{font-size:clamp(22px,2.4vw,28px); margin-bottom:8px;}
.insight-cta-inner p{color:var(--steel-500); font-size:15px; max-width:48ch;}

@media (max-width: 1024px){
  .insight-featured-card{grid-template-columns:1fr; padding:20px;}
  .insight-grid{grid-template-columns:1fr;}
}
@media (max-width: 720px){
  .insight-featured-card{padding:16px;}
  .insight-card{padding:28px;}
  .insight-cta-inner{flex-direction:column; align-items:flex-start;}
}
/* Article page — category eyebrow, subtitle, byline, hero image, pull-quote */
.article-category{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--blue-300);
  margin-bottom:18px;
}
.article-subtitle{
  color:var(--steel-300) !important;
  font-style:italic;
  margin-bottom:10px !important;
}
.article-byline{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--steel-500);
  margin-top:18px;
  margin-bottom:0;
}
.article-hero{
  width:100%;
  max-height:520px;
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.article-hero img{
  width:100%;
  height:100%;
  max-height:520px;
  object-fit:cover;
  object-position:center 45%;
  display:block;
}
.content-grid .body .pull-quote{
  font-family:var(--font-display);
  font-size:clamp(20px,2.4vw,26px);
  font-weight:600;
  color:var(--white);
  line-height:1.4;
  max-width:26ch;
  padding-left:20px;
  border-left:2px solid var(--blue-400);
  margin:32px 0 !important;
}

/* ================================================================
   Premium editorial article layout — used only for long-form
   founder/feature articles (e.g. the "Three New Builds" piece).
   Kept fully separate from the standard .content-grid article
   template so the existing Technical Insight articles are
   completely unaffected.
   ================================================================ */
.wrap-narrow{
  max-width:740px;
  margin:0 auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter);
}

.editorial-article{background:var(--navy-950);}

.article-ed-header{padding:160px 0 56px;}
.article-ed-header .breadcrumb{margin-bottom:28px;}
.article-ed-header .breadcrumb{
  font-family:var(--font-body);
  font-weight:400;
  letter-spacing:0.01em;
}
.article-ed-header .article-category{
  font-family:var(--font-body);
  font-weight:600;
  letter-spacing:.04em;
}
.article-ed-header .article-category{margin-bottom:20px;}
.article-ed-title{
  font-family:var(--font-display);
  font-weight:800;
  font-size:clamp(34px,5.2vw,56px);
  line-height:1.12;
  color:var(--white);
  max-width:920px;
  margin:0 0 26px;
}
.article-standfirst{
  font-family:var(--font-body);
  font-weight:400;
  font-size:clamp(19px,2.1vw,23px);
  line-height:1.55;
  color:var(--steel-100);
  max-width:700px;
  margin:0 0 22px;
}
.article-ed-header .article-byline{
  font-family:var(--font-body);
  font-weight:500;
  font-size:14px;
  letter-spacing:0.01em;
  color:var(--steel-500);
  margin:0;
}

.article-ed-photo{margin:0 0 64px;}
.article-ed-photo-frame{
  max-width:1200px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.article-content-wide{
  max-width:1200px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.article-ed-photo-frame > img{
  width:100%;
  height:auto;
  display:block;
  border:1px solid var(--line);
}
.article-ed-photo figcaption{
  max-width:1200px;
  margin:16px auto 0;
  padding:0 var(--gutter);
  font-size:13px;
  font-style:italic;
  color:var(--steel-500);
  text-align:center;
}

.article-ed-body{padding:8px 0 72px;}
.article-ed-body p{
  font-family:var(--font-body);
  font-size:clamp(17px,1.3vw,19px);
  line-height:1.75;
  color:rgba(255,255,255,0.82);
  margin:0 0 26px;
}
.article-ed-body ul{margin:0 0 26px; padding:0;}
.article-ed-body ul li{
  position:relative;
  padding-left:22px;
  font-size:clamp(17px,1.3vw,19px);
  line-height:1.75;
  color:rgba(255,255,255,0.82);
  margin-bottom:10px;
  list-style:none;
}
.article-ed-body ul li::before{
  content:'';
  position:absolute; left:0; top:12px;
  width:6px; height:1px;
  background:var(--steel-500);
}
.article-ed-body h2{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(24px,2.6vw,31px);
  line-height:1.28;
  color:var(--white);
  margin:76px 0 22px;
}
.article-ed-body > .wrap-narrow > h2:first-of-type{margin-top:8px;}
.article-ed-body .pull-quote{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(22px,2.6vw,28px);
  line-height:1.5;
  color:var(--white);
  max-width:32ch;
  border-left:3px solid var(--blue-400);
  padding-left:28px;
  margin:48px 0 !important;
}
.article-ed-body .article-final-heading{
  margin-top:88px;
  padding-top:40px;
  border-top:1px solid var(--line);
  font-size:clamp(26px,2.9vw,33px);
}

/* ================================================================
   Selected Professional Experience page
   ================================================================ */
.experience-disclaimer{
  color:var(--steel-500);
  font-size:12.5px;
  font-style:italic;
  max-width:70ch;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--line-soft);
}
.exp-jumpnav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.exp-jumpnav a{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue-300);
  border:1px solid rgba(46,147,207,.35);
  border-radius:999px;
  padding:8px 16px;
  white-space:nowrap;
  transition:all .2s var(--ease);
}
.exp-jumpnav a:hover, .exp-jumpnav a:focus-visible{
  background:var(--blue-500);
  color:#fff;
  border-color:var(--blue-500);
}
@media (max-width:480px){
  .exp-jumpnav{gap:8px;}
  .exp-jumpnav a{padding:7px 13px; font-size:11.5px;}
}

/* ============ EXPERIENCE PAGE — unified project panel ============ */
.exp-intro-wrap{max-width:720px;}
.exp-project{background:var(--navy-950);}
.exp-project:nth-child(even){background:var(--navy-900);}
.exp-project + .exp-project{border-top:1px solid var(--line-soft);}
.exp-project-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.exp-project-grid{
  display:grid;
  grid-template-columns:42% 1fr;
  gap:56px;
  align-items:start;
}
.exp-project-photo{
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid var(--line);
}
.exp-project-photo img{display:block; width:100%; height:100%; object-fit:cover;}
.exp-photo-netto{background:var(--navy-950);}
.exp-photo-netto img{object-fit:contain; object-position:center;}
.exp-project-content{max-width:65ch;}
.exp-meta{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.04em;
  color:var(--blue-300);
  margin-bottom:14px;
}
.exp-project-content h2{font-size:clamp(24px,2.6vw,30px); font-weight:700; margin-bottom:20px; line-height:1.25;}
.exp-project-content p{color:var(--steel-300); font-size:16px; line-height:1.7; margin-bottom:18px;}
.exp-project-content p:last-of-type{margin-bottom:0;}
.exp-quote-panel{
  background:var(--navy-900);
  border:1px solid var(--line);
  border-left:3px solid var(--blue-400);
  border-radius:3px;
  padding:24px 26px;
  margin-top:26px;
}
.exp-project:nth-child(even) .exp-quote-panel{background:var(--navy-950);}
.exp-quote-panel p{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(17px,1.8vw,19px);
  line-height:1.55;
  color:var(--white);
  margin-bottom:12px !important;
}
.exp-attribution{color:var(--steel-500) !important; font-size:13.5px !important; margin-bottom:0 !important;}

@media (max-width:900px){
  .exp-project-grid{grid-template-columns:1fr; gap:28px;}
  .exp-project-content{max-width:100%;}
}
@media (max-width:600px){
  .exp-project-inner{padding-top:8px; padding-bottom:8px;}
  .exp-quote-panel{padding:20px 20px;}
}

/* Earlier Career — compact, subordinate tier (Attila, QE2, Rising Sun) */
.exp-earlier{background:var(--navy-950); border-top:1px solid var(--line-soft);}
.exp-earlier-inner{max-width:820px; margin:0 auto; padding:0 var(--gutter);}
.exp-earlier h2{font-size:clamp(20px,2.2vw,24px); margin-bottom:10px; text-align:center;}
.exp-earlier-intro{
  color:var(--steel-500);
  font-size:14px;
  text-align:center;
  max-width:56ch;
  margin:0 auto 36px;
}
.exp-earlier-list{display:flex; flex-direction:column;}
.exp-earlier-entry{
  display:flex;
  gap:28px;
  align-items:flex-start;
  padding:32px 0;
  border-bottom:1px solid var(--line);
}
.exp-earlier-entry:last-child{border-bottom:none;}
.exp-earlier-photo{
  width:110px;
  flex-shrink:0;
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid var(--line);
  margin:0;
}
.exp-earlier-photo img{display:block; width:100%; height:100%; object-fit:cover;}
.exp-earlier-text{flex:1; min-width:0;}
.exp-earlier-text-full{max-width:56ch;}
.exp-earlier-text h3{font-size:16.5px; font-weight:700; color:var(--white); margin:0 0 10px; line-height:1.3;}
.exp-earlier-text p{color:var(--steel-300); font-size:14px; line-height:1.65; margin-bottom:10px;}
.exp-earlier-text p:last-of-type{margin-bottom:0;}
.exp-earlier-quote{
  color:var(--steel-500) !important;
  font-size:13px !important;
  font-style:italic;
  border-left:2px solid var(--blue-400);
  padding-left:12px;
  margin-top:14px !important;
}
.exp-earlier-quote .attrib{
  display:block;
  font-style:normal;
  color:var(--steel-500);
  margin-top:5px;
  font-size:12px;
}
@media (max-width:600px){
  .exp-earlier-entry{flex-direction:column; gap:16px; padding:26px 0;}
  .exp-earlier-photo{width:100%; aspect-ratio:16/9;}
}

/* Closing statement panel */
.exp-closing{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.exp-closing-panel{
  max-width:800px;
  margin:0 auto;
  padding:0 var(--gutter);
}
.exp-closing-panel h3{font-size:16px; margin-bottom:14px;}
.exp-closing-panel p{color:var(--steel-500); font-size:14.5px; line-height:1.7; margin:0;}

.article-ed-related{
  background:var(--navy-900);
  border-top:1px solid var(--line-soft);
  padding:52px 0;
}
.article-ed-related h4{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--steel-500);
  margin-bottom:20px;
}
.article-ed-related ul{display:flex; flex-direction:column; gap:2px;}
.article-ed-related ul li a{
  display:block;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  color:var(--steel-100);
  font-family:var(--font-display);
  font-size:15.5px;
  font-weight:600;
  transition:color .2s;
}
.article-ed-related ul li a:hover{color:var(--blue-300);}

@media (max-width: 720px){
  .article-ed-header{padding:120px 0 40px;}
  .article-ed-photo{margin-bottom:44px;}
  .article-ed-body{padding-bottom:56px;}
  .article-ed-body h2{margin:56px 0 18px;}
  .article-ed-body .article-final-heading{margin-top:64px; padding-top:32px;}
}

/* ---------- Homepage: Latest Insight ---------- */
.home-experience{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.home-experience-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:8px;
  align-items:stretch;
}
.home-experience-card{
  background:var(--navy-950);
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  transition:background .25s var(--ease);
}
.home-experience-card:hover, .home-experience-card:focus-visible{background:var(--navy-800);}
.home-experience-photo{
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--navy-900);
}
.home-experience-photo picture, .home-experience-photo img{display:block; width:100%; height:100%; object-fit:cover;}
.home-photo-netto{
  position:relative;
  overflow:hidden;
  background:var(--navy-950);
}
.home-photo-netto::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url('../assets/netto-ii.jpg');
  background-size:cover;
  background-position:center;
  filter:blur(20px) brightness(0.55);
  transform:scale(1.15);
  z-index:0;
}
.home-photo-netto picture{position:relative; z-index:1; display:block; width:100%; height:100%;}
.home-photo-netto img{position:relative; z-index:1; object-fit:contain; object-position:center;}
.home-experience-text{
  padding:26px 26px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.home-experience-text h3{font-size:18px; margin-bottom:10px;}
.home-experience-text p{color:var(--steel-500); font-size:14px; line-height:1.6; margin-bottom:0; flex-grow:1;}
.home-experience-text .go-link{margin-top:18px;}
@media (max-width:720px){
  .home-experience-grid{grid-template-columns:1fr;}
}

.latest-insight{background:var(--navy-950); border-top:1px solid var(--line-soft);}
.home-insights-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:8px;
}
.home-insights-grid .insight-card{height:100%;}
.home-insights-more{text-align:center; margin-top:40px;}
@media (max-width:900px){
  .home-insights-grid{grid-template-columns:1fr;}
}
.positioning-quote{
  font-family:var(--font-display);
  font-weight:600;
  font-size:clamp(20px,2.6vw,28px);
  line-height:1.5;
  color:var(--steel-100);
  max-width:34ch;
  margin:0 0 56px;
}
/* ---------- Approach ---------- */
.approach{
  background:var(--navy-900);
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
}
.approach-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.approach-grid.grid-3col{grid-template-columns:repeat(3,1fr);}
.approach-card{
  background:var(--navy-900);
  padding:36px 28px;
  min-height:220px;
  display:flex;flex-direction:column;justify-content:space-between;
}
.approach-card .step{font-family:var(--font-mono); color:var(--blue-300); font-size:12px; letter-spacing:.1em;}
.approach-card h3{font-size:18px; margin:20px 0 10px;}
.approach-grid.grid-3col .approach-card{
  justify-content:center;
  gap:14px;
}
.approach-grid.grid-3col .approach-card h3{margin:0 0 10px;}
.approach-card p{color:var(--steel-500); font-size:13.5px;}
.approach-ic{
  width:26px;
  height:26px;
  color:var(--blue-300);
  margin-bottom:18px;
  display:block;
}

/* ---------- Global reach ---------- */
.reach{background:var(--navy-950);}
.reach-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(56px,7vw,110px);
  align-items:center;
}
.reach-grid > *{min-width:0;}
.reach-copy p{color:var(--steel-300); font-size:15px; margin-bottom:16px;}
.reach-regions{
  display:flex;
  gap:0;
  margin-top:36px;
  border-top:1px solid var(--line);
}
.reach-region{
  flex:1;
  min-width:0;
  padding:20px;
  border-right:1px solid var(--line);
  overflow-wrap:break-word;
}
.reach-region:last-child{border-right:none;}
.reach-region h5{
  font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--white); letter-spacing:.02em; margin-bottom:8px;
}
.reach-region p{font-size:13px; color:var(--steel-500);}
.reach-visual{
  position:relative;
  aspect-ratio:3/2;
  overflow:hidden;
  border:1px solid rgba(143,161,179,0.35);
  max-width:76%;
  margin-left:auto;
  box-shadow:0 20px 44px rgba(4,10,20,0.4);
}
.reach-visual img{width:100%;height:100%;object-fit:cover;}

/* ---------- Fleet / industries ---------- */
.fleet{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.fleet-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.fleet-card{
  background:var(--navy-900);
  aspect-ratio:3/2;
  position:relative;
  overflow:hidden;
  display:block;
}
.fleet-card img{
  width:100%;height:100%;object-fit:cover;
  filter:brightness(0.94) saturate(0.95);
  transition:filter .5s var(--ease), transform .6s var(--ease);
}
.fleet-card:hover img{filter:brightness(1) saturate(1); transform:scale(1.035);}
.fleet-card::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(7,15,26,0.08) 0%, rgba(7,15,26,0.02) 30%, rgba(7,15,26,0.75) 100%);
  pointer-events:none;
  z-index:1;
}
.fleet-card .label{
  position:absolute;left:0;right:0;bottom:0;
  padding:18px 16px;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.fleet-card .label .title{
  font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--white); line-height:1.25;
}

/* ---------- Quote / expertise band ---------- */
.engagements-inline{margin-top:52px; padding-top:40px; border-top:1px solid var(--line-soft);}
.engagements-inline h3{font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--steel-500); font-weight:600; margin-bottom:18px;}
.engagements-inline ul{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px 40px; max-width:920px;}
.engagements-inline li{
  position:relative; padding-left:20px;
  color:var(--steel-300); font-size:14.5px; line-height:1.6;
}
.engagements-inline li::before{
  content:''; position:absolute; left:0; top:10px;
  width:6px; height:1px; background:var(--blue-400);
}

.director-home{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.director-quote{
  font-family:var(--font-display);
  font-size:16px;
  font-weight:500;
  font-style:italic;
  color:var(--steel-100);
  max-width:48ch;
  line-height:1.5;
  margin:0 0 24px;
  padding-left:18px;
  border-left:2px solid var(--blue-400);
}

/* ---------- Final CTA ---------- */
.cta-final{
  background:var(--navy-950);
  border-top:1px solid var(--line-soft);
}
.cta-final-inner{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:48px;
  align-items:end;
}
.cta-final h2{font-size:clamp(32px,5vw,56px); max-width:14ch;}
.cta-final .desc{color:var(--steel-300); font-size:15px; max-width:42ch; margin:20px 0 32px;}
.cta-final-actions{display:flex; gap:16px; flex-wrap:wrap; min-width:0;}
.cta-contact-card{
  border:1px solid var(--line);
  padding:32px;
}
.cta-contact-card .row{
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  border-bottom:1px solid var(--line-soft);
  font-size:14px;
}
.cta-contact-card .row:last-child{border-bottom:none;}
.cta-contact-card .row span:first-child{color:var(--steel-500); font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;}
.cta-contact-card .row span:last-child{color:var(--steel-100); font-weight:500;}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-950);
  border-top:1px solid var(--line);
  padding:56px 0 32px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 0.8fr 0.8fr 0.8fr;
  gap:40px;
  padding-bottom:48px;
  border-bottom:1px solid var(--line-soft);
}
.footer-brand .logo{margin-bottom:16px;}
.footer-brand p{color:var(--steel-500); font-size:13.5px; max-width:32ch;}
.footer-col h4{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--steel-500); margin-bottom:18px;
}
.footer-col ul{display:flex; flex-direction:column; gap:11px;}
.footer-col a{font-size:14px; color:var(--steel-300); transition:color .2s;}
.footer-col a:hover{color:var(--white);}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:28px;
  font-size:12.5px;
  color:var(--steel-500);
  flex-wrap:wrap;
  gap:12px;
}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
.reveal.is-visible{opacity:1; transform:translateY(0);}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 1800px){
  :root{ --wrap:1680px; --gutter:clamp(48px, 4vw, 96px); }
}

@media (max-width: 1024px){
  .intro-grid{grid-template-columns:1fr;}
  .approach-grid, .approach-grid.grid-3col{grid-template-columns:repeat(2,1fr);}
  .approach-grid.grid-3col .approach-card:last-child{grid-column:1 / -1;}
  .fleet-grid{grid-template-columns:repeat(2,1fr);}
  .fleet-card:last-child{grid-column:1 / -1; aspect-ratio:16/7;}
  .reach-grid{grid-template-columns:1fr; }
  .reach-visual{order:-1; max-width:100%; margin-left:0;}
  .cta-final-inner{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr 1fr; row-gap:32px;}
  .stat-bar{grid-template-columns:repeat(2,1fr);}
  .stat-item:nth-child(2n){border-right:none;}
  .expertise-inner{grid-template-columns:1fr;}
  .expertise-graphic{display:none;}
}

/* Header collapses to the compact/hamburger layout on any viewport
   too narrow for the full desktop nav to fit without collision —
   this is width-based, so it also protects against "Desktop site"
   mode on a physically narrow phone screen (which still reports a
   real CSS viewport width, just a wider one than the phone's own). */
@media (max-width: 1200px){
  .main-nav{display:none;}
  .header-cta .btn-primary{display:none;}
  .nav-toggle{display:block;}
  .logo img{height:38px;}
  .logo-text{font-size:18px;}
  .logo-text span{font-size:7px; letter-spacing:0.03em;}
  .nav-toggle{width:40px; height:40px; border-color:var(--line-soft);}
  .nav-toggle span{left:11px; right:11px;}
}

@media (max-width: 720px){
  .hero{padding-top:96px; min-height:auto;}
  .cine-photo{height:330px;}
  .cine-photo img{object-position:64% 38%;}
  .hero-media::after{
    background:
      linear-gradient(180deg, rgba(10,18,30,0.42) 0%, rgba(10,18,30,0.22) 22%, rgba(10,18,30,0.4) 68%, rgba(10,18,30,0.6) 100%),
      linear-gradient(90deg, rgba(24,34,48,0.4) 0%, rgba(24,34,48,0.15) 40%, rgba(24,34,48,0) 65%);
  }
  .hero-media img{object-position:center 20%;}
  .hero-actions{flex-direction:column; align-items:stretch;}
  .hero-actions .btn{justify-content:center;}
  .stat-bar{grid-template-columns:1fr 1fr;}
  .service-row{grid-template-columns:1fr auto; row-gap:10px;}
  .service-row .idx{display:none;}
  .service-row .sdesc{grid-column:1/-1;}
  .insight-row{flex-direction:column; align-items:flex-start; gap:16px;}
  .insight-row .go{align-self:flex-end;}
  .approach-grid, .approach-grid.grid-3col{grid-template-columns:1fr;}
  .fleet-grid{grid-template-columns:1fr 1fr;}
  .fleet-card:last-child{grid-column:1 / -1; aspect-ratio:16/9;}
  .expertise-meta{gap:24px;}
  .footer-top{grid-template-columns:1fr;}
  .section-head{flex-direction:column; align-items:flex-start; gap:16px;}
}

/* ============================================================
   Interior pages — shared components
   ============================================================ */
.page-hero{
  position:relative;
  padding:calc(88px + 64px) 0 64px;
  background:var(--navy-950);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.contact-hero{padding:96px 0 8px;}
.page-hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:0.4;
  pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg, black, transparent);
  mask-image:linear-gradient(180deg, black, transparent);
}
.breadcrumb{
  position:relative; z-index:1;
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--steel-500);
  letter-spacing:0.04em;
  margin-bottom:28px;
}
.breadcrumb a{color:var(--steel-500); transition:color .2s;}
.breadcrumb a:hover{color:var(--steel-100);}
.breadcrumb .sep{opacity:0.5;}
.breadcrumb .current{color:var(--blue-300);}
.page-hero h1{
  position:relative; z-index:1;
  font-size:clamp(32px,4.6vw,52px);
  max-width:18ch;
  margin-bottom:20px;
}
.page-hero .lede{
  position:relative; z-index:1;
  font-size:15.5px;
  color:var(--steel-300);
  max-width:56ch;
}

/* Content layout: text + sidebar / two-col */
.content-section{background:var(--navy-900); border-top:1px solid var(--line-soft);}
.content-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:clamp(40px,6vw,90px);
  align-items:start;
}
.content-grid > *{min-width:0;}
.content-grid h2{font-size:clamp(22px,2.6vw,28px); margin-bottom:18px;}
.content-grid .body p{color:var(--steel-300); font-size:15px; margin-bottom:18px;}
.content-grid .body p:last-child{margin-bottom:0;}
.content-grid .body h3{font-size:17px; color:var(--white); margin:32px 0 12px;}
.content-grid .body ul{margin:0 0 18px; padding:0;}
.content-grid .body ul li{
  position:relative;
  padding-left:22px;
  color:var(--steel-300);
  font-size:14.5px;
  margin-bottom:10px;
  line-height:1.5;
}
.content-grid .body ul li::before{
  content:'';
  position:absolute; left:0; top:9px;
  width:6px; height:1px;
  background:var(--blue-400);
}
.deliverables-note{
  font-size:13px;
  color:var(--steel-500);
  font-style:italic;
  margin:-4px 0 16px;
}
.deliverables-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 32px;
  margin:0 0 24px;
  list-style:none;
  padding:0;
}
.deliverables-grid li{
  position:relative;
  padding-left:20px;
  font-size:15px;
  line-height:1.55;
  color:var(--steel-300);
  margin-bottom:0;
}
.deliverables-grid li::before{
  content:'';
  position:absolute; left:0; top:9px;
  width:6px; height:1px;
  background:var(--blue-400);
}
@media (max-width:600px){
  .deliverables-grid{grid-template-columns:1fr;}
}

.content-grid .body .deliverables-note{
  font-size:13px;
  color:var(--steel-500);
  font-style:italic;
  margin:-4px 0 16px;
}
.content-grid .body .deliverables-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 32px;
  margin:0 0 24px;
  list-style:none;
  padding:0;
}
.content-grid .body .deliverables-grid li{
  position:relative;
  padding-left:20px;
  font-size:15px;
  line-height:1.55;
  color:var(--steel-300);
  margin-bottom:0;
}
.content-grid .body .deliverables-grid li::before{
  content:'';
  position:absolute; left:0; top:9px;
  width:6px; height:1px;
  background:var(--blue-400);
}
@media (max-width:600px){
  .content-grid .body .deliverables-grid{grid-template-columns:1fr;}
}
.content-grid .body .table-wrap{
  overflow-x:auto;
  margin:0 0 24px;
  border:1px solid var(--line);
  border-radius:4px;
}
.content-grid .body table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:560px;
}
.content-grid .body table th{
  background:var(--navy-900);
  color:var(--white);
  text-align:left;
  font-family:var(--font-display);
  font-weight:600;
  font-size:13px;
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}
.content-grid .body table td{
  padding:12px 16px;
  border-bottom:1px solid var(--line-soft);
  color:var(--steel-300);
  vertical-align:top;
}
.content-grid .body table tr:last-child td{border-bottom:none;}
.content-grid .body table td:first-child{color:var(--white); font-weight:500; white-space:nowrap;}
.leader-photo{
  background:var(--navy-900);
  border-radius:4px;
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.leader-photo img{
  width:86%;
  height:86%;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--blue-400);
  box-shadow:0 8px 28px rgba(4,10,20,0.45);
}
.content-grid.leader-grid{grid-template-columns:0.85fr 1.6fr;}
.side-card{
  border:1px solid var(--line);
  padding:28px;
  position:sticky;
  top:100px;
}
.side-card h4{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--steel-500);
  margin-bottom:18px;
}
.side-card ul{display:flex; flex-direction:column; gap:2px;}
.side-card ul li a{
  display:block;
  padding:11px 0;
  border-bottom:1px solid var(--line-soft);
  font-size:14px;
  font-weight:500;
  color:var(--steel-300);
  transition:color .2s, padding-left .2s;
}
.side-card ul li a:hover{color:var(--white); padding-left:4px;}
.side-card ul li a.active{color:var(--blue-300);}
.side-card .btn{width:100%; justify-content:center; margin-top:18px;}

/* Related services grid (bottom of detail pages) */
.related{background:var(--navy-950); border-top:1px solid var(--line-soft);}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.related-card{
  background:var(--navy-950);
  padding:32px 28px;
  transition:background .3s;
}
.related-card:hover{background:rgba(255,255,255,0.02);}
.related-card .rn{font-family:var(--font-mono); font-size:11px; color:var(--blue-300); letter-spacing:.08em;}
.related-card h4{font-size:17px; margin:14px 0 10px;}
.related-card p{font-size:13.5px; color:var(--steel-500); margin-bottom:16px;}
.related-card .rlink{font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; color:var(--steel-300); text-transform:uppercase;}

/* About page specifics */
.principles-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin-top:20px;
}
.principle{background:var(--navy-900); padding:30px 26px;}
.principle .pn{font-family:var(--font-mono); font-size:11px; color:var(--blue-300); letter-spacing:.08em;}
.principle h4{font-size:17px; margin:14px 0 10px;}
.principle p{font-size:13.5px; color:var(--steel-500);}

/* Contact page */
.contact-layout{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:clamp(40px,6vw,90px);
  align-items:start;
}
.contact-info h2{font-size:clamp(24px,3vw,32px); margin-bottom:18px;}
.contact-info p{color:var(--steel-300); font-size:15px; margin-bottom:32px; max-width:42ch;}
.contact-detail{
  display:flex; flex-direction:column; gap:0;
  border-top:1px solid var(--line);
  margin-bottom:32px;
}
.contact-detail .row{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:16px 0;
  border-bottom:1px solid var(--line-soft);
}
.contact-detail .row span:first-child{font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--steel-500);}
.contact-detail .row span:last-child{font-size:14.5px; color:var(--steel-100); font-weight:500;}
.contact-note{
  font-size:13px;
  color:var(--steel-500);
  border-left:2px solid var(--blue-500);
  padding-left:16px;
}
.urgent-callout{
  margin-top:28px;
  background:var(--navy-950);
  border:1px solid rgba(46,147,207,.3);
  border-left:3px solid var(--blue-400);
  border-radius:3px;
  padding:22px 24px;
}
.urgent-callout-label{
  font-family:var(--font-display);
  font-weight:700;
  font-size:15px;
  color:var(--white);
  margin-bottom:4px;
}
.urgent-callout p{color:var(--steel-500); font-size:13.5px; margin-bottom:16px;}
.urgent-callout-actions{display:flex; flex-wrap:wrap; gap:10px;}
.urgent-link{
  font-family:var(--font-body);
  font-size:13px;
  font-weight:600;
  color:var(--blue-300);
  border:1px solid rgba(46,147,207,.4);
  border-radius:999px;
  padding:8px 16px;
  white-space:nowrap;
  transition:all .2s var(--ease);
}
.urgent-link:hover, .urgent-link:focus-visible{
  background:var(--blue-500);
  color:#fff;
  border-color:var(--blue-500);
}
.urgent-link-whatsapp{border-color:rgba(46,147,207,.4);}
@media (max-width:480px){
  .urgent-callout-actions{flex-direction:column;}
  .urgent-link{text-align:center;}
}
.contact-form{border:1px solid var(--line); padding:clamp(28px,4vw,44px);}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px;}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:20px;}
.field label{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--steel-500);
}
.field input, .field select, .field textarea{
  background:var(--navy-950);
  border:1px solid var(--line);
  color:var(--steel-100);
  font-family:var(--font-body);
  font-size:14.5px;
  padding:13px 14px;
  border-radius:2px;
  outline:none;
  transition:border-color .2s;
  width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--blue-400);}
.field textarea{resize:vertical; min-height:120px;}
.form-submit{width:100%; justify-content:center; margin-top:8px;}
.form-note{font-size:12px; color:var(--steel-500); margin-top:14px;}
.hp-field{position:absolute; left:-9999px; top:-9999px; opacity:0; height:0; overflow:hidden;}

@media (max-width: 1024px){
  .content-grid, .content-grid.leader-grid{grid-template-columns:1fr;}
  .side-card{position:static;}
  .related-grid{grid-template-columns:1fr;}
  .principles-grid{grid-template-columns:1fr;}
  .contact-layout{grid-template-columns:1fr;}
}
@media (max-width: 720px){
  .page-hero{padding-top:120px;}
  .form-row{grid-template-columns:1fr;}
  .contact-detail .row{flex-direction:column; align-items:flex-start; gap:4px;}
}

/* ================================================================
   MOBILE TYPOGRAPHY READABILITY PASS (max-width: 767px)
   Desktop typography is completely untouched — every rule below is
   scoped inside this media query and adds/overrides values only at
   mobile widths, applied on top of the existing 720px breakpoint.
   ================================================================ */
@media (max-width: 767px){

  /* ---- 1. Body / supporting copy -> ~17px, line-height ~1.65 ---- */
  .intro-body p{font-size:17px; line-height:1.65;}
  .hero-desc{font-size:17px; line-height:1.6;}
  .section-head .desc{font-size:16px; line-height:1.6;}
  .page-hero .lede{font-size:17px; line-height:1.6;}
  .reach-copy p{font-size:17px; line-height:1.65;}
  .service-row .sdesc{font-size:16.5px; line-height:1.6;}
  .approach-card p{font-size:16px; line-height:1.6;}
  .cta-final .desc{font-size:16px; line-height:1.6;}
  .contact-info p{font-size:16px; line-height:1.6;}
  .pillar p{font-size:16px; line-height:1.6;}
  .reach-region p{font-size:14.5px; line-height:1.55;}
  .reach-regions{flex-direction:column;}
  .reach-region{
    width:100%;
    padding:22px 4px;
    border-right:none;
    border-bottom:1px solid var(--line);
  }
  .reach-region:last-child{border-bottom:none;}

  /* ---- 2. Technical Insight article body (old .content-grid template)
     -> ~17px / line-height ~1.7. (The founder article's own body
     already sits at a 17px floor via its clamp(), so it needs no
     change — confirmed unaffected.) ---- */
  .content-grid .body p{font-size:17px; line-height:1.7; margin-bottom:20px;}
  .content-grid .body ul li{font-size:17px; line-height:1.7;}

  /* ---- 3. Metadata -> minimum ~13.5–14px, never below ---- */
  .breadcrumb{font-size:14px;}
  .article-category{font-size:13.5px;}
  .article-byline{font-size:14px;}
  .service-row .idx{font-size:14px;}
  .pillar .pn{font-size:13px;}
  .related-card .rn, .related-card .rlink{font-size:13px;}
  .principle .pn{font-size:13px;}
  .cta-contact-card .row span:first-child{font-size:13px;}
  .contact-detail .row span:first-child{font-size:13px;}
  .form-note{font-size:13px;}
  .footer-col h4{font-size:13px;}
  .stat-item .lbl{font-size:13px;}
  .expertise-meta{font-size:13px;}

  /* ---- 4. Mobile nav — already comfortably large (clamp 28–40px);
     no change needed, included here only to document that it was
     checked and already meets the 16px+ requirement. ---- */

  /* ---- 5. Projects & Insights hub ---- */
  .insight-hub-sub{font-size:16.5px; line-height:1.6;}
  .insight-filters .insight-pill{font-size:14.5px; padding:9px 18px;}
  .insight-featured-text .insight-cat{font-size:13.5px;}
  .insight-featured-text h2{font-size:clamp(22px,6vw,26px);}
  .insight-featured-text p{font-size:16.5px; line-height:1.6;}
  .insight-card .insight-cat{font-size:13.5px;}
  .insight-card h3{font-size:21px; line-height:1.3;}
  .insight-card p{font-size:16.5px; line-height:1.6;}
  .insight-card-meta{font-size:13.5px;}
  .insight-card .go-link, .insight-featured-text .go-link{font-size:15px;}
  .insight-cta-inner p{font-size:16px; line-height:1.6;}
  .philosophy-sub{font-size:16px; line-height:1.6;}

  /* ---- 6. Services page ---- */
  .service-row h3{font-size:20px;}
  .approach-card h3{font-size:18px;}
}
