/* iTGS site styles — forest, leaf and gold palette taken from the iTGS logo */
:root{
  --dark:#1b1f27; --dark-2:#2c3340; --dark-deep:#12151b;
  --leaf:#6fae3f; --leaf-dark:#3d6a22;
  --gold:#b8935a; --gold-light:#dcc39a; --gold-text:#83632c; --gold-soft:#f4eee4;
  --ivory:#f8f6f2; --white:#ffffff; --ink:#1b1f27; --muted:#5a6170;
  --rule:#e7e3db; --field:#d3cec4;
  --on-dark:#d9dce3; --on-dark-2:#aab1bd; --line-dark:#3b4352;
  --font-display:"Playfair Display",Georgia,"Times New Roman",serif;
  --font-body:"Inter","Segoe UI",Roboto,Arial,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;
  --radius:22px; --radius-sm:14px;
  --wrap:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--white);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--dark-2)}
a:hover{color:var(--gold-text)}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.15;margin:0;letter-spacing:-.3px}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:100;background:var(--white);padding:10px 14px;border-radius:8px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* Top strip */
.topstrip{background:var(--dark);color:var(--gold-soft);font-size:13px}
.topstrip .wrap{display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:center;align-items:center;padding-top:9px;padding-bottom:9px}
.topstrip strong{font-family:var(--font-display);font-weight:600;color:var(--gold-light);letter-spacing:.3px}
.topstrip a{color:var(--gold-soft);text-decoration:none;opacity:.9}
.blessing{display:inline-flex;align-items:center;gap:8px}
.blessing img{width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--gold-soft);box-shadow:0 0 0 2px rgba(220,195,154,.55)}
.blessing b{font-family:var(--font-display);font-weight:600;font-style:italic;color:var(--gold-light);letter-spacing:.2px}
.topstrip a:hover{opacity:1;color:var(--gold-light)}

/* Header */
.site-header{background:var(--white);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:50;transition:box-shadow .2s}
.site-header.is-scrolled{box-shadow:0 6px 24px rgba(18,21,27,.08)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;padding-bottom:12px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.brand img{height:52px;width:auto}
.brand span{display:flex;flex-direction:column;line-height:1.2}
.brand b{font-family:var(--font-display);font-size:16px}
.brand small{font-size:11px;color:var(--muted);letter-spacing:.4px}
.nav{display:flex;align-items:center;gap:4px}
.nav a{text-decoration:none;color:var(--ink);font-weight:600;font-size:15px;padding:10px 12px;border-radius:999px}
.nav a:hover,.nav a[aria-current=page]{background:var(--gold-soft);color:var(--dark)}
.nav .btn{margin-left:8px}
.nav a.btn-dark,.nav a.btn-dark:hover{color:var(--white);background:var(--dark)}
.nav a.btn-dark:hover{background:var(--dark-2)}
.burger{display:none;width:46px;height:46px;border-radius:12px;border:1px solid var(--rule);background:var(--white);cursor:pointer;align-items:center;justify-content:center}
.burger svg{width:22px;height:22px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 22px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;font-family:var(--font-body);transition:transform .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn-dark{background:var(--dark);color:var(--white)}
.btn-dark:hover{background:var(--dark-2);color:var(--white)}
.btn-gold{background:var(--gold);color:var(--dark-deep)}
.btn-gold:hover{background:var(--gold-light);color:var(--dark-deep)}
.btn-line{border-color:var(--dark);color:var(--dark);background:transparent}
.btn-line:hover{background:var(--dark);color:var(--white)}
.btn-ghost{border-color:#8d95a4;color:var(--white);background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.08);color:var(--white)}
.btn-sq{border-radius:12px}

/* Announcement bars */
.announce{display:flex;flex-direction:column;gap:12px;padding-top:20px}
.bar{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;text-decoration:none;color:var(--white);border-radius:16px;padding:16px 20px;background:linear-gradient(100deg,var(--dark),var(--dark-2))}
.bar.alt{background:linear-gradient(100deg,var(--leaf-dark),var(--dark-2))}
.bar:hover{color:var(--white)}
.bar-text{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center}
.bar-text b{font-family:var(--font-display);font-size:18px;color:var(--gold-light)}
.bar.alt .bar-text b{color:var(--white)}
.bar-text span{color:var(--on-dark);font-size:15px}
.dot{width:10px;height:10px;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 4px rgba(124,194,66,.18)}
.bar.alt .dot{background:var(--gold-light);box-shadow:0 0 0 4px rgba(220,195,154,.18)}
.bar .pill{background:var(--gold);color:var(--dark-deep);font-weight:700;font-size:14px;padding:10px 18px;border-radius:10px}

/* Hero */
.hero{display:flex;flex-wrap:wrap;gap:20px;padding-top:20px}
.card-dark{background:linear-gradient(160deg,var(--dark),var(--dark-2));color:var(--white);border-radius:var(--radius)}
.card-light{background:var(--white);border:1px solid var(--rule);border-radius:var(--radius);box-shadow:0 10px 30px rgba(18,21,27,.07)}
.hero-main{flex:1.25 1 520px;min-width:0;padding:34px;display:flex;flex-direction:column;gap:20px}
.hero-side{flex:1 1 400px;min-width:0;padding:34px;display:flex;flex-direction:column;gap:18px}
.badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:12px;letter-spacing:1.6px;padding:7px 14px;border-radius:999px;text-transform:uppercase}
.badge-gold{background:var(--gold);color:var(--dark-deep)}
.badge-gold::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--dark-deep)}
.badge-soft{background:var(--gold-soft);color:var(--gold-text)}
.hero h1{font-size:clamp(36px,5vw,54px);line-height:1.06;letter-spacing:-1px}
.hero h1 em,.accent{font-style:normal;color:var(--gold-light)}
.on-light .accent,.accent-dark{color:var(--gold-text);font-style:normal}
.lead{font-size:17px;color:var(--on-dark)}
.lead-dark{font-size:16px;color:var(--muted)}
.flow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;font-weight:600}
.flow span{border:1px solid #4b5567;border-radius:999px;padding:7px 14px}
.flow i{font-style:normal;color:#8d95a4}
.flow .f3{background:#3b4352;border-color:#3b4352}
.flow .f4{background:var(--gold-light);border-color:var(--gold-light);color:var(--dark-deep)}
.flow .f5{background:var(--gold);border-color:var(--gold);color:var(--dark-deep)}
.pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:rgba(255,255,255,.06);border:1px solid var(--line-dark);border-radius:16px;padding:14px}
.pillar{background:var(--white);color:var(--ink);border-radius:12px;padding:14px 12px;display:flex;flex-direction:column;gap:3px;text-decoration:none;transition:transform .15s}
.pillar:hover{transform:translateY(-2px);color:var(--ink)}
.pillar.gold{background:var(--gold)}
.pillar .n{font-family:var(--font-mono);font-size:11px;font-weight:600;color:var(--gold-text)}
.pillar.gold .n{color:var(--dark-deep)}
.pillar b{font-family:var(--font-display);font-size:16px}
.pillar small{font-size:12px;color:var(--muted)}
.pillar.gold small{color:var(--dark-deep)}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat{background:var(--ivory);border-radius:var(--radius-sm);padding:16px}
.stat.gold{background:var(--gold-soft)}
.stat b{display:block;font-family:var(--font-display);font-size:32px;line-height:1.1}
.stat.gold b{color:var(--gold-text)}
.stat span{font-size:13px;color:var(--muted)}
.hero-side .actions{margin-top:auto}

/* Sections */
.section{padding-top:80px}
.section-last{padding-bottom:80px}
.center{text-align:center}
.big-title{font-size:clamp(30px,4vw,42px);letter-spacing:-.5px}
.kicker{font-family:var(--font-mono);font-size:13px;font-weight:600;color:var(--gold-text);letter-spacing:.6px;text-transform:uppercase}
.card-dark .kicker{color:var(--gold-light)}
.sec-head{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:flex-end;justify-content:space-between;margin-bottom:18px}
.sec-head > div{display:flex;flex-direction:column;gap:6px;max-width:700px}
.sec-head h2{font-size:clamp(26px,3vw,34px)}
.sec-head p{color:var(--muted)}
.more{font-weight:700;font-size:14px;text-decoration:none}
.more:hover{text-decoration:underline}

/* Audience picker */
.picker{display:flex;flex-direction:column;align-items:center;gap:22px}
.picker > p{color:var(--muted)}
.picker > p strong{color:var(--ink)}
.tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.tab{font:inherit;font-weight:600;font-size:14px;min-height:46px;padding:12px 20px;border-radius:999px;border:1.5px solid var(--field);background:var(--white);color:var(--ink);cursor:pointer}
.tab:hover{border-color:var(--dark)}
.tab[aria-selected=true]{background:var(--dark);border-color:var(--dark);color:var(--white);font-weight:700}
.panel{width:100%;background:var(--ivory);border:1px solid var(--rule);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:20px}
.panel[hidden]{display:none}
.panel-head{display:flex;flex-direction:column;gap:6px}
.panel-head h3{font-size:28px}
.panel-head p{color:var(--muted)}
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.tile{background:var(--white);border:1px solid var(--rule);border-radius:var(--radius-sm);padding:18px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
a.tile:hover{border-color:var(--gold);transform:translateY(-2px);color:var(--ink)}
.tile b{font-family:var(--font-display);font-size:17px}
.tile span{font-size:13px;color:var(--muted);line-height:1.5}
.tag{font-style:normal;margin-top:6px;align-self:flex-start;font-size:12px;font-weight:700;color:var(--gold-text);background:var(--gold-soft);padding:4px 10px;border-radius:999px}
.grid5{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.grid5 .tile{background:var(--white)}
.services{display:flex;flex-direction:column;gap:56px}
.cta-strip{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;background:var(--gold-soft);border-radius:18px;padding:20px 24px}

/* Regions */
.regions{padding:36px 32px;display:flex;flex-direction:column;gap:22px}
.regions h2{font-size:clamp(26px,3vw,34px)}
.regions p{color:var(--on-dark)}
.region-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.region{background:rgba(255,255,255,.07);border:1px solid var(--line-dark);border-radius:var(--radius-sm);padding:16px;display:flex;flex-direction:column;gap:8px}
.region code{align-self:flex-start;font-family:var(--font-mono);font-weight:600;font-size:12px;background:var(--gold-soft);color:var(--dark-deep);padding:3px 8px;border-radius:6px}
.region:first-child code{background:var(--gold)}
.region b{font-family:var(--font-display);font-size:17px}
.region span{font-size:13px;color:var(--on-dark-2)}

/* Team */
.team-sub{font-family:var(--font-mono);font-size:13px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--gold-text);margin:6px 0 12px}
.team-sub ~ .team-sub{margin-top:26px}
.team{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.person{background:var(--white);border:1px solid var(--rule);border-radius:16px;padding:18px;display:flex;gap:16px;align-items:flex-start}
.person-photo{flex:none;width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:center top;background:var(--ivory);box-shadow:0 0 0 3px var(--gold-soft)}
.person-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.person-body b{font-family:var(--font-display);font-size:18px}
.role{font-size:12.5px;font-weight:700;color:var(--gold-text)}
.person-body p{font-size:13.5px;color:var(--muted);margin-top:2px}

/* Contact */
.contact-band{padding:36px 32px;display:flex;flex-wrap:wrap;gap:32px}
.contact-copy{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:16px}
.contact-copy h2{font-size:clamp(28px,3.4vw,38px)}
.contact-copy p{color:var(--on-dark)}
.contact-list{display:flex;flex-direction:column;gap:10px;font-size:15px}
.contact-list a{color:var(--white)}
.contact-list a:hover{color:var(--gold-light)}
.contact-list span{color:var(--on-dark)}
.form{flex:1.3 1 420px;min-width:0;background:var(--white);color:var(--ink);border-radius:18px;padding:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.form .full{grid-column:1/-1}
.form input,.form select,.form textarea{font:inherit;font-weight:400;font-size:15px;padding:12px;border:1px solid var(--field);border-radius:10px;background:var(--white);color:var(--ink);width:100%}
.form input:focus,.form select:focus,.form textarea:focus{border-color:var(--dark);outline:2px solid rgba(184,147,90,.5);outline-offset:0}
.form textarea{resize:vertical;min-height:100px}
.form .btn{grid-column:1/-1;border-radius:12px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.notice{grid-column:1/-1;border-radius:10px;padding:12px 14px;font-size:14px;font-weight:600}
.notice.ok{background:#e6f2dc;color:#24520c}
.notice.err{background:#fbe9e7;color:#8a1f11}

/* Inner page hero */
.page-hero{padding-top:20px}
.page-hero .card-dark{padding:44px 36px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.page-hero-copy{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:16px}
.page-hero h1{font-size:clamp(32px,4.4vw,48px)}
.crumbs{font-size:13px;color:var(--on-dark-2)}
.crumbs a{color:var(--on-dark-2);text-decoration:none}
.crumbs a:hover{color:var(--gold-light)}
.page-hero-media{flex:1 1 360px;min-width:0;border-radius:var(--radius-sm);overflow:hidden;aspect-ratio:4/3;background:var(--dark-2)}
.page-hero-media img{width:100%;height:100%;object-fit:cover}
.steps{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.step{border:1px solid var(--rule);border-radius:var(--radius-sm);padding:20px;display:flex;flex-direction:column;gap:8px;background:var(--white)}
.step .n{font-family:var(--font-mono);font-size:12px;font-weight:600;color:var(--gold-text)}
.step b{font-family:var(--font-display);font-size:18px}
.step span{font-size:13px;color:var(--muted)}
.split{display:flex;flex-wrap:wrap;gap:20px}
.split > *{flex:1 1 380px;min-width:0}
.prose-card{padding:32px;display:flex;flex-direction:column;gap:14px}
.prose-card p{color:var(--muted);font-size:16px}
.other-services{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}

/* Legal pages */
.legal{max-width:820px;margin:0 auto;padding:56px 24px 80px}
.legal .kicker{display:block;margin-bottom:8px}
.legal h1{font-size:clamp(32px,4vw,44px);margin-bottom:24px}
.legal h2{font-size:22px;margin:28px 0 10px}
.legal p,.legal li{color:#3a3f49;font-size:16px}
.legal ul{padding-left:22px;margin:0 0 8px}
.legal li{margin:4px 0}
.legal p + p{margin-top:12px}

/* Footer */
.site-footer{background:var(--dark-deep);color:var(--on-dark-2)}
.site-footer .wrap{padding-top:48px;padding-bottom:28px;display:flex;flex-direction:column;gap:28px}
.foot-cols{display:flex;flex-wrap:wrap;gap:28px 48px;justify-content:space-between}
.foot-brand{flex:1 1 280px;display:flex;flex-direction:column;gap:14px;max-width:360px}
.foot-logo{align-self:flex-start;background:var(--white);border-radius:12px;padding:8px 12px}
.foot-logo img{height:44px;width:auto}
.foot-brand p{font-size:14px}
.foot-col{display:flex;flex-direction:column;gap:8px;font-size:14px}
.foot-col strong{color:var(--white);font-family:var(--font-display);font-size:16px;margin-bottom:2px}
.foot-col a{color:var(--on-dark-2);text-decoration:none}
.foot-col a:hover{color:var(--gold-light)}
.newsletter{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.newsletter input{flex:1 1 180px;min-width:0;font:inherit;font-size:14px;padding:11px 12px;border-radius:10px;border:1px solid var(--line-dark);background:rgba(255,255,255,.06);color:var(--white)}
.newsletter input::placeholder{color:var(--on-dark-2)}
.newsletter .btn{min-height:44px;padding:10px 16px;font-size:14px;border-radius:10px}
.foot-base{border-top:1px solid #2b313c;padding-top:18px;font-size:13px;display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}
.foot-base a{color:var(--on-dark-2)}

/* Cookie banner */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:80;max-width:720px;margin:0 auto;background:var(--white);border:1px solid var(--rule);border-radius:16px;box-shadow:0 18px 40px rgba(18,21,27,.18);padding:16px 18px;display:none;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;font-size:14px}
.cookie.show{display:flex}
.cookie p{flex:1 1 300px;color:var(--muted)}
.cookie .actions{gap:8px}
.cookie .btn{min-height:44px;padding:10px 16px;font-size:14px}

/* Responsive */
@media (max-width:980px){
  .burger{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);border-bottom:1px solid var(--rule);flex-direction:column;align-items:stretch;padding:12px 16px 18px;gap:2px;box-shadow:0 14px 30px rgba(18,21,27,.1)}
  .nav.open{display:flex}
  .nav a{padding:12px 14px;border-radius:12px}
  .nav .btn{margin:8px 0 0}
  .site-header .wrap{position:relative}
}
@media (max-width:640px){
  .wrap{padding:0 16px}
  .hero-main,.hero-side,.panel,.regions,.contact-band,.prose-card{padding:24px 20px}
  .page-hero .card-dark{padding:30px 20px}
  .pillars{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section{padding-top:60px}
  .brand small{display:none}
  .brand img{height:44px}
  .topstrip .wrap{gap:4px 14px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- Record-to-Report homepage ---------- */
.r2r-top{display:flex;flex-wrap:wrap;gap:24px;padding-top:28px;align-items:flex-start}
.r2r-head{flex:1.5 1 520px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:6px}
.r2r-head h1{font-size:clamp(34px,4.6vw,54px);line-height:1.06;letter-spacing:-1px;max-width:900px}
.r2r-head h1 em{font-style:normal;color:var(--gold-text)}
.r2r-head .lead-dark{max-width:760px;font-size:17px}
.aud{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.aud .tab{min-height:44px}
.r2r{display:flex;flex-wrap:wrap;gap:20px;padding-top:22px;align-items:stretch}
.flow-card{flex:1 1 100%;min-width:0;padding:28px;display:flex;flex-direction:column;gap:18px}
.why-card{flex:1 1 340px;min-width:0;padding:24px 26px;display:flex;flex-direction:column;gap:14px}
.flow-top{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between}
.flow-top .kicker{color:var(--gold-light)}
.live{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--on-dark-2)}
.live i{width:8px;height:8px;border-radius:50%;background:var(--leaf);box-shadow:0 0 0 4px rgba(111,174,63,.18);animation:pulse 1.8s ease-in-out infinite}
@keyframes pulse{50%{box-shadow:0 0 0 7px rgba(111,174,63,0)}}
.flowmap{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto;gap:44px 34px;padding:6px 2px}
.flowmap svg.wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.wires path{fill:none;stroke:#4b5567;stroke-width:2;stroke-linecap:round;transition:stroke .3s}
.wires path.on{stroke:var(--gold);stroke-width:2.5}
.wires path.ret{stroke-dasharray:6 6;stroke:#8d95a4}
.wires path.ret.on{stroke:var(--gold)}
.wires circle{fill:var(--gold-light);filter:drop-shadow(0 0 6px rgba(220,195,154,.9))}
.node{position:relative;z-index:1;font:inherit;text-align:left;cursor:pointer;background:#232935;border:1.5px solid #3b4352;color:var(--white);border-radius:14px;padding:14px 14px 13px;display:flex;flex-direction:column;gap:4px;min-height:96px;transition:border-color .25s,background .25s,transform .25s,box-shadow .25s}
.node:hover{border-color:#8d95a4}
.node .n{font-family:var(--font-mono);font-size:11px;font-weight:600;color:var(--gold-light);letter-spacing:.5px}
.node b{font-family:var(--font-display);font-size:16px;line-height:1.2}
.node small{font-size:12px;color:var(--on-dark-2);line-height:1.35}
.node.on{background:var(--white);border-color:var(--gold);color:var(--ink);transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.35),0 0 0 4px rgba(184,147,90,.25)}
.node.on .n{color:var(--gold-text)}
.node.on small{color:var(--muted)}
.node.loopcard{cursor:default;background:transparent;border:1.5px dashed #4b5567;justify-content:center}
.node.loopcard b{font-size:14px;color:var(--gold-light)}
.n1{grid-column:1;grid-row:1}.n2{grid-column:2;grid-row:1}.n3{grid-column:3;grid-row:1}.n4{grid-column:4;grid-row:1}
.n5{grid-column:4;grid-row:2}.n6{grid-column:3;grid-row:2}.n7{grid-column:2;grid-row:2}.nloop{grid-column:1;grid-row:2}
.flow-detail{background:rgba(255,255,255,.05);border:1px solid var(--line-dark);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px;min-height:118px}
.flow-detail .kicker{color:var(--gold-light)}
.flow-detail h3{font-size:22px}
.flow-detail p{color:var(--on-dark);font-size:15px}
.flow-detail .tags{display:flex;flex-wrap:wrap;gap:6px}
.flow-detail .tags span{font-size:12px;font-weight:700;background:var(--gold);color:var(--dark-deep);padding:4px 10px;border-radius:999px}
.flow-foot{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:var(--on-dark-2)}
.flow-foot a{color:var(--gold-light)}
.why-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.why-list li{display:flex;gap:12px;align-items:flex-start}
.why-list svg{flex:none;width:36px;height:36px;padding:8px;border-radius:10px;background:var(--gold-soft);color:var(--gold-text)}
.why-list b{display:block;font-family:var(--font-display);font-size:16px}
.why-list span{font-size:13.5px;color:var(--muted)}
.why-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--rule);padding-top:14px}
.why-stats div{text-align:center}
.why-stats b{display:block;font-family:var(--font-display);font-size:26px}
.why-stats span{font-size:11.5px;color:var(--muted)}

/* Founders video */
.founders{padding:34px 32px;display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.founders-copy{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:14px}
.founders-copy h2{font-size:clamp(28px,3.2vw,38px)}
.founders-copy p{color:var(--on-dark)}
.founders-copy ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;color:var(--on-dark)}
.founders-copy li b{color:var(--white);font-family:var(--font-display)}
.video{flex:1.5 1 440px;min-width:0;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#0e1116;border:1px solid var(--line-dark);position:relative}
.video iframe,.video video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.video-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:20px;background:radial-gradient(circle at 50% 40%,#2c3340,#12151b)}
.video-empty .play{width:70px;height:70px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center}
.video-empty .play svg{width:28px;height:28px;margin-left:4px;color:var(--dark-deep)}
.video-empty b{font-family:var(--font-display);font-size:20px;color:var(--white)}
.video-empty span{font-size:14px;color:var(--on-dark-2)}

/* Services overview cards */
.svc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.svc-card{background:var(--white);border:1px solid var(--rule);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;transition:transform .15s,border-color .15s}
.svc-card:hover{transform:translateY(-3px);border-color:var(--gold);color:var(--ink)}
.svc-card img{aspect-ratio:3/2;object-fit:cover;width:100%;height:auto}
.svc-card div{padding:18px;display:flex;flex-direction:column;gap:6px}
.svc-card .n{font-family:var(--font-mono);font-size:12px;font-weight:600;color:var(--gold-text)}
.svc-card b{font-family:var(--font-display);font-size:20px}
.svc-card span{font-size:14px;color:var(--muted)}
.svc-card em{font-style:normal;font-size:13px;font-weight:700;color:var(--gold-text);margin-top:4px}

@media (max-width:760px){
  .flowmap{grid-template-columns:minmax(0,1fr);gap:22px;padding-right:30px}
  .n1,.n2,.n3,.n4,.n5,.n6,.n7,.nloop{grid-column:1;grid-row:auto}
  .node{min-height:0}
  .flow-card,.why-card,.founders{padding:22px 18px}
}

/* ---------- Flowchart ---------- */
.fc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;outline:none}
.fc-scroll:focus-visible{outline:3px solid var(--gold)}
.fc{display:block;width:100%;min-width:820px;height:auto}
.fc-edge{fill:none;stroke:#6b7486;stroke-width:2;stroke-dasharray:7 7;animation:fcflow 1.2s linear infinite}
.fc-edge.alt{stroke:#8d95a4;stroke-dasharray:3 6}
.fc-edge.on{stroke:var(--gold);stroke-width:2.6;stroke-dasharray:none;animation:none}
@keyframes fcflow{to{stroke-dashoffset:-28}}
.fc-head{fill:#6b7486}.fc-head-on{fill:var(--gold)}
.fc-label{font-family:var(--font-body);font-size:12px;font-weight:700;fill:var(--gold-light)}
.fc-node{cursor:pointer;outline:none}
.fc-node .fc-shape{fill:#232935;stroke:#4b5567;stroke-width:1.5;transition:fill .25s,stroke .25s}
.fc-node .fc-t1{font-family:var(--font-display);font-size:15px;font-weight:700;fill:#fff}
.fc-node .fc-t2{font-family:var(--font-body);font-size:11.5px;fill:var(--on-dark-2)}
.fc-node:hover .fc-shape,.fc-node:focus-visible .fc-shape{stroke:var(--gold-light)}
.fc-diamond .fc-shape{fill:#332d22;stroke:var(--gold)}
.fc-diamond .fc-t1{font-size:13.5px;fill:var(--gold-light)}
.fc-pill .fc-shape{fill:var(--gold);stroke:var(--gold)}
.fc-pill .fc-t1{fill:var(--dark-deep);font-size:14px}
.fc-group{cursor:default}
.fc-group .fc-shape{fill:rgba(255,255,255,.03);stroke:#5c6576;stroke-dasharray:6 6}
.fc-group-title{font-family:var(--font-mono);font-size:12px;font-weight:600;letter-spacing:1.5px;fill:var(--gold-light);text-transform:uppercase}
.fc-node.on .fc-shape{fill:#fff;stroke:var(--gold);stroke-width:2.5;filter:drop-shadow(0 0 10px rgba(184,147,90,.55))}
.fc-node.on .fc-t1{fill:var(--ink)}
.fc-node.on .fc-t2{fill:var(--muted)}
.fc-pill.on .fc-shape{fill:var(--gold-light)}
.fc-group.on .fc-shape{fill:rgba(184,147,90,.10);filter:none;stroke:var(--gold)}
.fc-group.on .fc-group-title{fill:var(--gold-light)}
.fc-dot{fill:var(--gold-light);filter:drop-shadow(0 0 6px rgba(220,195,154,.95));transition:opacity .3s}
.fc-hint{display:none;font-size:12.5px;color:var(--on-dark-2);margin:-8px 0 0}
@media (max-width:860px){.fc-hint{display:block}}
@media (prefers-reduced-motion:reduce){.fc-edge{animation:none}}

.cover{list-style:none;margin:6px 0 4px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;width:100%}
.cover li{position:relative;padding-left:28px;font-size:15px;font-weight:600}
.cover li::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;border-radius:50%;background:var(--gold-soft);box-shadow:inset 0 0 0 1.5px var(--gold)}
.cover li::after{content:"";position:absolute;left:6px;top:6px;width:6px;height:9px;border:solid var(--gold-text);border-width:0 2px 2px 0;transform:rotate(45deg)}
@media (max-width:640px){.cover{grid-template-columns:minmax(0,1fr)}}
