:root{
  --paper:#0B1117;
  --paper-deep:#111A22;
  --ink:#E9EEF6;
  --ink-soft:#B8C2D2;
  --charcoal:#D6D1C6;
  --gold:#D6A64A;
  --gold-soft:#F1C76B;
  --sage:#7BB98A;
  --line:#25313D;
  --line-strong:#465563;
  --white:#111A22;
  --footer-muted:#AEB8C6;
  --footer-line:#25313D;
}

*{ box-sizing:border-box; margin:0; padding:0; }
*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  background:#0B1117;
  min-height:100%;
  -webkit-text-size-adjust:100%;
}

body{
  width:100%;
  background:#0B1117;
  color:#D6D1C6;
  font-family:'IBM Plex Sans', Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  min-height:100vh;
  min-height:100dvh;
}

::selection{ background:#F1C76B; color:#E9EEF6; }
a{ color:inherit; }
img{ max-width:100%; display:block; }

.wrap{
  width:100%;
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  padding-left:24px;
  padding-right:24px;
  padding-left:max(24px, env(safe-area-inset-left));
  padding-right:max(24px, env(safe-area-inset-right));
}

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#D6A64A;
  font-weight:500;
}

h1,h2,h3{
  font-family:'Fraunces', Georgia, serif;
  color:#E9EEF6;
  font-weight:500;
  line-height:1.08;
}

p{ line-height:1.68; color:#D6D1C6; max-width:65ch; }

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

header.top{
  position:relative;
  z-index:10;
  background:#0B1117;
  border-bottom:1px solid #25313D;
}

.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:16px;
  padding-bottom:16px;
  padding-left:24px;
  padding-right:24px;
  padding-left:max(24px, env(safe-area-inset-left));
  padding-right:max(24px, env(safe-area-inset-right));
  max-width:760px;
  margin:0 auto;
}

.logo{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  font-size:18px;
  color:#E9EEF6;
  letter-spacing:0.01em;
}
.logo span{ color:#D6A64A; }

.nav-status{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#7BB98A;
  display:flex;
  align-items:center;
  gap:6px;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.nav-status .dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#7BB98A;
  box-shadow:0 0 0 3px #173323;
}

.pipeline{ border-top:1px solid #25313D; background:#0B1117; }
.pipeline-inner{
  display:flex;
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
  padding-left:max(24px, env(safe-area-inset-left));
  padding-right:max(24px, env(safe-area-inset-right));
}
.pipeline .stage{
  flex:1;
  text-align:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:10px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding:7px 4px;
  color:#465563;
  position:relative;
  transition:color 0.4s ease;
}
.pipeline .stage::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:100%;
  background:#D6A64A;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s ease;
}
.pipeline .stage.active{ color:#E9EEF6; }
.pipeline .stage.active::after{ transform:scaleX(1); }
.pipeline .stage.passed{ color:#7BB98A; }
.pipeline .stage.passed::after{ transform:scaleX(1); background:#7BB98A; }

.hero{ padding-top:72px; padding-bottom:56px; position:relative; }
.hero .eyebrow{ margin-bottom:18px; display:block; }
.hero h1{ font-size:clamp(42px, 11vw, 64px); margin-bottom:12px; letter-spacing:-0.02em; }
.hero .role{
  font-size:16px;
  font-weight:500;
  color:#B8C2D2;
  margin-bottom:28px;
  max-width:50ch;
}

.hero-photo-row{ display:flex; gap:18px; align-items:center; margin-bottom:28px; }
.photo-slot{
  width:96px;
  height:96px;
  flex-shrink:0;
  border-radius:50%;
  border:1.5px dashed #465563;
  background:#111A22;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.photo-slot .initials{
  font-family:'Fraunces', Georgia, serif;
  font-size:28px;
  color:#D6A64A;
  font-weight:500;
}
.photo-slot .badge{
  position:absolute;
  bottom:-6px;
  right:-10px;
  background:#E9EEF6;
  color:#0B1117;
  font-family:'IBM Plex Mono', monospace;
  font-size:8px;
  letter-spacing:0.06em;
  padding:3px 6px;
  border-radius:20px;
  white-space:nowrap;
  text-transform:uppercase;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-photo-meta{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px;
  color:#8E9BAD;
  line-height:1.5;
}
.hero-photo-meta b{ color:#D6D1C6; font-weight:500; display:block; }

.pull-quote{ border-left:2px solid #D6A64A; padding:4px 0 4px 18px; margin-bottom:30px; }
.pull-quote p{
  font-family:'Fraunces', Georgia, serif;
  font-style:italic;
  font-size:18px;
  color:#E9EEF6;
  line-height:1.45;
}

.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:36px; }
.btn{
  font-size:14px;
  font-weight:600;
  padding:13px 22px;
  border-radius:3px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  transition:transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-height:44px;
}
.btn:active{ transform:scale(0.98); }
.btn-primary{ background:#E9EEF6; color:#0B1117; }
.btn-primary:hover{ box-shadow:0 4px 14px #D8D1C7; }
.btn-ghost{ background:#0B1117; color:#E9EEF6; border:1px solid #465563; }
.btn-ghost:hover{ border-color:#E9EEF6; }

.stat-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #25313D;
  border-bottom:1px solid #25313D;
}
.stat{ padding:20px 10px; text-align:center; border-right:1px solid #25313D; }
.stat:last-child{ border-right:none; }
.stat .num{ font-family:'Fraunces', Georgia, serif; font-size:26px; color:#D6A64A; display:block; }
.stat .label{
  font-family:'IBM Plex Mono', monospace;
  font-size:9.5px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#B8C2D2;
  display:block;
  margin-top:4px;
}

.trusted{ padding-top:38px; padding-bottom:38px; border-bottom:1px solid #25313D; }
.trusted .eyebrow{ display:block; margin-bottom:14px; }
.trusted-list{ display:flex; flex-wrap:wrap; gap:8px 10px; }
.trusted-list span{
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px;
  color:#B8C2D2;
  background:#111A22;
  border:1px solid #25313D;
  padding:6px 10px;
  border-radius:3px;
}

section.block{ padding-top:72px; padding-bottom:72px; border-bottom:1px solid #25313D; }
section.block:last-of-type{ border-bottom:none; }
.section-head{ display:flex; align-items:baseline; gap:10px; margin-bottom:28px; }
.section-head .stagenum{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:#D6A64A; }
.section-head h2{ font-size:clamp(30px, 7vw, 38px); letter-spacing:-0.01em; }

.reveal{ opacity:1; transform:none; }
.js-ready .reveal{ opacity:1; transform:none; }

.about p{ margin-bottom:16px; max-width:60ch; }
.about .quote-card{ margin-top:28px; background:#111A22; border:1px solid #25313D; border-radius:8px; padding:24px; position:relative; }
.quote-card .mark{
  font-family:'Fraunces', Georgia, serif;
  font-size:42px;
  color:#F1C76B;
  line-height:0;
  position:absolute;
  top:18px;
  left:14px;
}
.quote-card p{ font-family:'Fraunces', Georgia, serif; font-style:italic; font-size:15px; color:#E9EEF6; padding-left:22px; margin:0; }

.services-grid{ display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.services-grid span{ font-size:12.5px; font-weight:500; color:#E9EEF6; background:#111A22; border:1px solid #25313D; padding:8px 13px; border-radius:20px; }

.deal-track{ position:relative; padding-left:20px; }
.deal-track::before{ content:""; position:absolute; left:4px; top:6px; bottom:6px; width:1px; background:#465563; }
.deal{ position:relative; margin-bottom:30px; }
.deal:last-child{ margin-bottom:0; }
.deal::before{ content:""; position:absolute; left:-20px; top:6px; width:9px; height:9px; border-radius:50%; background:#0B1117; border:2px solid #D6A64A; }
.deal.current::before{ background:#D6A64A; }
.deal-card{ background:#111A22; border:1px solid #25313D; border-radius:8px; padding:22px; }
.deal-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:6px; }
.deal-role{ font-family:'Fraunces', Georgia, serif; font-size:17px; color:#E9EEF6; font-weight:500; }
.deal-tag{ font-family:'IBM Plex Mono', monospace; font-size:9.5px; letter-spacing:0.06em; text-transform:uppercase; color:#7BB98A; border:1px solid #7BB98A; padding:3px 7px; border-radius:20px; white-space:nowrap; flex-shrink:0; }
.deal-tag.live{ color:#D6A64A; border-color:#D6A64A; }
.deal-co{ font-size:13.5px; color:#B8C2D2; font-weight:600; margin-bottom:2px; }
.deal-meta{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:#8E9BAD; margin-bottom:12px; }
.deal-card p.desc{ font-size:13.5px; color:#D6D1C6; }

.ledger{ border-top:1px solid #25313D; }
.ledger-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:14px; padding:16px 0; border-bottom:1px solid #25313D; }
.ledger-row .ledger-main h3{ font-size:16px; margin-bottom:3px; }
.ledger-row .ledger-main p{ font-size:13px; color:#B8C2D2; margin-bottom:2px; }
.ledger-row .ledger-main .small{ font-size:12px; color:#8E9BAD; }
.ledger-row .ledger-year{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:#D6A64A; white-space:nowrap; padding-top:2px; }

.cert-grid{ display:grid; grid-template-columns:1fr; gap:12px; }
.cert-card{ border:1px solid #25313D; background:#111A22; border-radius:8px; padding:20px; }
.cert-card h3{ font-size:14.5px; font-family:'IBM Plex Sans', Arial, sans-serif; font-weight:600; color:#E9EEF6; margin-bottom:3px; }
.cert-card .issuer{ font-size:12.5px; color:#B8C2D2; margin-bottom:2px; }
.cert-card .date{ font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:#8E9BAD; }

.award{ margin-bottom:22px; }
.award:last-child{ margin-bottom:0; }
.award h3{ font-size:16px; margin-bottom:3px; }
.award .date{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:#D6A64A; margin-bottom:8px; display:block; }
.award p{ font-size:13.5px; }

footer{ background:#E9EEF6; color:#0B1117; padding-top:64px; padding-bottom:42px; }
footer .eyebrow{ color:#F1C76B; margin-bottom:14px; display:block; }
footer h2{ color:#111A22; font-size:30px; margin-bottom:14px; }
footer p.lead{ color:#AEB8C6; max-width:46ch; margin-bottom:30px; }
.contact-list{ display:flex; flex-direction:column; gap:0; margin-bottom:36px; border-top:1px solid #25313D; }
.contact-row{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 0; border-bottom:1px solid #25313D; text-decoration:none; }
.contact-row .clabel{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:#AFA696; }
.contact-row .cval{ font-size:14.5px; font-weight:500; color:#111A22; text-align:right; overflow-wrap:anywhere; }
.contact-row .arrow{ color:#F1C76B; font-size:14px; }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-family:'IBM Plex Mono', monospace; font-size:10.5px; color:#AFA696; letter-spacing:0.04em; }

/* ---------- SAFE MOTION + POLISH ---------- */
@keyframes softRise{
  from{ opacity:0.35; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}
@keyframes lineGrow{
  from{ transform:scaleX(0); }
  to{ transform:scaleX(1); }
}
@keyframes gentlePulse{
  0%,100%{ box-shadow:0 0 0 3px #173323; }
  50%{ box-shadow:0 0 0 7px #E7EFE6; }
}
@keyframes floatBadge{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-3px); }
}
@keyframes photoRing{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}

.motion-ready .hero .eyebrow,
.motion-ready .hero h1,
.motion-ready .hero .role,
.motion-ready .hero-photo-row,
.motion-ready .pull-quote,
.motion-ready .cta-row,
.motion-ready .stat-strip{
  animation:softRise 0.7s ease both;
}
.motion-ready .hero .eyebrow{ animation-delay:0.04s; }
.motion-ready .hero h1{ animation-delay:0.10s; }
.motion-ready .hero .role{ animation-delay:0.16s; }
.motion-ready .hero-photo-row{ animation-delay:0.22s; }
.motion-ready .pull-quote{ animation-delay:0.28s; }
.motion-ready .cta-row{ animation-delay:0.34s; }
.motion-ready .stat-strip{ animation-delay:0.40s; }

.nav-status .dot{ animation:gentlePulse 2.2s ease-in-out infinite; }
.photo-slot::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:1px solid #F1C76B;
  border-left-color:transparent;
  border-bottom-color:transparent;
  animation:photoRing 7s linear infinite;
}
.photo-slot .badge{ animation:floatBadge 2.8s ease-in-out infinite; }

.reveal.in{ animation:softRise 0.65s ease both; }
.trusted-list span, .services-grid span, .cert-card, .deal-card, .quote-card, .ledger-row, .award{
  transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.trusted-list span:hover, .services-grid span:hover{
  transform:translateY(-2px);
  border-color:#D6A64A;
  background:#111A22;
}
.deal-card:hover, .cert-card:hover, .quote-card:hover{
  transform:translateY(-3px);
  border-color:#465563;
  box-shadow:0 10px 24px #E5DED1;
}
.ledger-row:hover, .award:hover{ transform:translateX(4px); }
.btn:hover{ transform:translateY(-1px); }
.pull-quote{ position:relative; }
.pull-quote::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-10px;
  width:72px;
  height:1px;
  background:#D6A64A;
  transform-origin:left;
  animation:lineGrow 1.2s ease both 0.6s;
}
.contact-row:hover .cval{ color:#F1C76B; }
.stage{ cursor:pointer; }

@media (max-width:600px){
  .wrap{
    padding-left:22px;
    padding-right:22px;
    padding-left:max(22px, env(safe-area-inset-left));
    padding-right:max(22px, env(safe-area-inset-right));
  }
  .nav-row{
    padding-top:15px;
    padding-bottom:15px;
    padding-left:22px;
    padding-right:22px;
    padding-left:max(22px, env(safe-area-inset-left));
    padding-right:max(22px, env(safe-area-inset-right));
  }
  .pipeline-inner{
    padding-left:22px;
    padding-right:22px;
    padding-left:max(22px, env(safe-area-inset-left));
    padding-right:max(22px, env(safe-area-inset-right));
  }
  .hero{ padding-top:62px; padding-bottom:52px; }
  section.block{ padding-top:58px; padding-bottom:58px; }
  .trusted{ padding-top:36px; padding-bottom:36px; }
  .hero .role{ font-size:15.5px; }
  .hero-photo-row{ flex-direction:column; align-items:flex-start; gap:12px; }
  .deal-card,.cert-card,.about .quote-card{ padding:20px; }
  .deal-top{ flex-direction:column; gap:4px; }
  .deal-track{ padding-left:18px; }
  .deal::before{ left:-18px; }
  .pipeline .stage{ font-size:9.5px; letter-spacing:0.08em; padding:8px 2px; }
  .ledger-row{ flex-direction:column; gap:6px; }
  .ledger-row .ledger-year{ padding-top:0; margin-top:2px; }
  .cta-row .btn{ width:100%; justify-content:center; }
  .stat-strip{ grid-template-columns:1fr; }
  .stat{ border-right:none; border-bottom:1px solid #25313D; }
  .stat:last-child{ border-bottom:none; }
  .contact-row{ align-items:flex-start; flex-direction:column; gap:4px; }
  .contact-row .cval{ text-align:left; }
}

@media (max-width:380px){
  .wrap{
    padding-left:20px;
    padding-right:20px;
    padding-left:max(20px, env(safe-area-inset-left));
    padding-right:max(20px, env(safe-area-inset-right));
  }
  .nav-row{
    padding-left:20px;
    padding-right:20px;
    padding-left:max(20px, env(safe-area-inset-left));
    padding-right:max(20px, env(safe-area-inset-right));
  }
  .pipeline-inner{
    padding-left:20px;
    padding-right:20px;
    padding-left:max(20px, env(safe-area-inset-left));
    padding-right:max(20px, env(safe-area-inset-right));
  }
  .nav-status{ font-size:9.5px; }
  .stat .num{ font-size:24px; }
  .stat .label{ font-size:9px; }
}

@media (min-width:769px){
  header.top{ position:sticky; top:0; z-index:10; }
}

@media (min-width:600px){
  .hero h1{ font-size:60px; }
  .cert-grid{ grid-template-columns:1fr 1fr; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
  .motion-ready .hero .eyebrow, .motion-ready .hero h1, .motion-ready .hero .role, .motion-ready .hero-photo-row, .motion-ready .pull-quote, .motion-ready .cta-row, .motion-ready .stat-strip, .reveal.in, .nav-status .dot, .photo-slot::before, .photo-slot .badge{ animation:none !important; }
}

main{ display:block; width:100%; background:transparent; min-height:1px; overflow:hidden; }
.hero, .trusted, section.block, footer{ content-visibility:visible; contain:none; }

/* Dark version visual polish */
body{
  background:#0B1117;
  background-image:
    radial-gradient(circle at 20% -10%, #172331 0, #0B1117 38%),
    linear-gradient(180deg, #0B1117 0%, #0E151D 52%, #0B1117 100%);
}

header.top, .pipeline{ background:#0D141C; }
main{ background:transparent; }

.deal-card,
.cert-card,
.about .quote-card,
.trusted-list span{
  background:#111A22;
  border-color:#25313D;
}

.services-grid span{
  background:#151F2A;
  border-color:#2E3B48;
}

.stat-strip{
  background:#0D141C;
}

.btn-primary{
  background:#D6A64A;
  color:#0B1117;
}

.btn-ghost{
  background:#111A22;
  color:#E9EEF6;
  border-color:#465563;
}

footer{
  background:#080C11;
  border-top:1px solid #25313D;
}

/* iOS/Android WebView safety: no backdrop-filter, filter or mix-blend-mode is used. */
header.top,.nav-row,.pipeline,.deal-card,.cert-card,.quote-card,.photo-slot,.trusted-list span,.services-grid span{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}

a:focus-visible, button:focus-visible{ outline:2px solid #D6A64A; outline-offset:2px; }
