
:root{
  --navy:#0b1f3a;
  --navy-2:#132d52;
  --navy-3:#1d467e;
  --blue:#2f6fc4;
  --blue-2:#5f95dd;
  --ink:#16253a;
  --text:#213248;
  --muted:#5c6b80;
  --soft:#f3f7fb;
  --soft-2:#eef3f8;
  --line:#d7e2ee;
  --white:#ffffff;
  --shadow:0 16px 38px rgba(9,24,47,.12);
  --shadow-soft:0 10px 24px rgba(9,24,47,.08);
  --radius:22px;
  --radius-sm:14px;
  --radius-xs:10px;
  --container:min(1180px, calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Montserrat',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--text);background:#fff;line-height:1.7}
a{color:var(--navy-3);text-decoration:none}
a:hover{text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:'Playfair Display',Georgia,serif;color:#f8fbff;line-height:1.05;margin:0 0 .7rem}
.section h2,.section h3,.section h4,.legal-copy h1,.legal-copy h2,.legal-copy h3,.footer-col h4,.page-hero h1,.cta-banner h2{color:var(--ink)}
h1{font-size:clamp(2.9rem,6vw,5.2rem);letter-spacing:-.04em}
h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.03em}
h3{font-size:clamp(1.4rem,3vw,2rem)}
h4{font-size:1.18rem}
p{margin:0 0 1rem}
ul{margin:0;padding-left:1.15rem}
.container{width:var(--container);margin:0 auto}
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;padding:.85rem 1rem;background:#fff;color:#000;border-radius:8px;z-index:9999}
.site-header{position:sticky;top:0;z-index:1000;background:var(--navy);box-shadow:0 2px 0 rgba(255,255,255,.06)}
.utility-bar{background:#08172b;color:#e9f2ff;font-size:.76rem;border-bottom:1px solid rgba(255,255,255,.08)}
.utility-bar .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.28rem 0}
.utility-links{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;justify-content:flex-end}
.utility-links a,.utility-links span{color:#f0f6ff;opacity:.96}
.navbar .container{display:flex;align-items:center;gap:1rem;padding:.72rem 0}
.brand{display:flex;align-items:center;min-width:0}
.brand img{height:50px;width:auto;max-width:min(280px,46vw);object-fit:contain}
.menu-toggle{display:none;border:1px solid rgba(255,255,255,.24);background:transparent;color:#fff;padding:.7rem .9rem;border-radius:12px;font-weight:700}
.nav-links{display:flex;align-items:center;gap:1.15rem;flex:1;justify-content:flex-end;min-width:0}
.nav-links a{color:#f5f8ff;font-weight:700;font-size:.95rem;line-height:1.15;white-space:nowrap;opacity:.96}
.nav-links a:not(.button){padding:.45rem 0;position:relative}
.nav-links a[data-nav].active::after,.nav-links a[data-nav]:hover::after{content:"";position:absolute;left:0;right:0;bottom:-.35rem;height:2px;background:var(--blue-2);border-radius:999px}
.button{display:inline-flex;align-items:center;justify-content:center;padding:.88rem 1.25rem;border-radius:16px;border:1px solid transparent;background:linear-gradient(135deg,var(--blue),#275ea6);color:#fff !important;font-weight:800;box-shadow:var(--shadow-soft);transition:transform .18s ease, box-shadow .18s ease, background .18s ease;text-align:center}
.button:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(11,31,58,.16);text-decoration:none}
.button.secondary{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.55);box-shadow:none}
.button.light{background:#fff;color:var(--navy)!important}
.button.secondary:hover{background:rgba(255,255,255,.12)}
.hero,.page-hero{position:relative;overflow:hidden}
.hero::before,.page-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,24,47,.82) 0%,rgba(9,24,47,.68) 38%,rgba(9,24,47,.42) 100%)}
.hero::after,.page-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%, rgba(95,149,221,.25), transparent 26%), radial-gradient(circle at 10% 80%, rgba(47,111,196,.22), transparent 28%)}
.hero{background:url('assets/img-notary-real.webp') center/cover no-repeat}
.page-hero{background-image:linear-gradient(90deg,rgba(9,24,47,.84),rgba(9,24,47,.52)),var(--page-hero-image);background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero .container,.page-hero .container{position:relative;z-index:2;padding:5.7rem 0 5.1rem}
.hero .container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.84fr);gap:2.2rem;align-items:center}
.eyebrow{margin:0 0 1rem;font-size:.88rem;font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:var(--blue)}
.eyebrow.light{color:#d6e8ff}
.lead{font-size:1.18rem;color:var(--muted);max-width:70ch}
.hero p,.page-hero p,.hero li,.page-hero li{color:#eef5ff}
.hero .lead,.page-hero .lead{color:#edf5ff}
.hero-actions,.actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.6rem}
.hero-note{display:flex;gap:1.3rem;flex-wrap:wrap;margin-top:1.55rem;color:#dbe8fb;font-weight:600;font-size:.94rem}
.hero-card,.highlight-panel,.contact-card,.info-card,.service-card,.feature-card,.support-card,.value-card,.model-card,.stat-box,.trust-item,.timeline-step{backdrop-filter:blur(2px)}
.hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);box-shadow:var(--shadow);border-radius:28px;padding:1.75rem;color:#fff}
.hero-card h3{color:#fff;font-size:2rem;margin-bottom:1rem}
.check-list{list-style:none;padding:0;margin:0;display:grid;gap:.95rem}
.check-list li{position:relative;padding-left:1.8rem}
.check-list li::before{content:'✓';position:absolute;left:0;top:0;color:#8fc3ff;font-weight:800}
.hero-stat-grid,.stats-grid,.models-grid,.values-grid,.support-grid,.contact-grid{display:grid;gap:1rem}
.hero-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1.35rem}
.hero-stat,.stat-box,.model-card,.value-card{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:1rem}
.hero-stat strong,.stat-box strong{display:block;font-size:1.05rem;margin-bottom:.35rem;color:#fff}
.hero-stat span,.stat-box span{color:#edf4ff;font-size:.95rem}
.trust-band{background:#fff;border-bottom:1px solid var(--line)}
.trust-band .container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;padding:1.15rem 0}
.trust-item{display:flex;gap:1rem;align-items:flex-start;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid var(--line);padding:1rem 1.05rem;border-radius:18px;box-shadow:var(--shadow-soft)}
.trust-icon{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--soft),#dce8f7);color:var(--navy);display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.trust-item strong{display:block;color:var(--ink)}
.trust-item span{display:block;color:var(--muted);font-size:.95rem}
.section{padding:5rem 0;position:relative}
.section-soft{background:linear-gradient(180deg,#f7fbff 0%, #eef4f9 100%)}
.section-heading{max-width:820px;margin-bottom:2rem}
.section-heading.center{text-align:center;margin-inline:auto}
.section .lead,.section p{color:var(--text)}
.card-grid{display:grid;gap:1.35rem}
.card-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.feature-card,.service-card,.support-card,.info-card,.contact-card,.model-card,.value-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-soft);position:relative}
.feature-card::before,.service-card::before,.support-card::before,.info-card::before,.value-card::before,.model-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,var(--blue),#8cc3ff)}
.feature-card img,.service-card img,.image-frame img{width:100%;height:250px;object-fit:cover}
.service-card img{height:180px}
.feature-card .content,.service-card .content,.support-card .content,.info-card .content,.contact-card .content,.model-card .content,.value-card .content{padding:1.2rem 1.25rem 1.35rem}
.service-card .content{height:100%}
.badge,.kicker{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .7rem;border-radius:999px;background:var(--soft);color:var(--navy);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.85rem}
.inline-link{font-weight:800;color:var(--navy-3)}
.inline-link:hover{text-decoration:underline}
.split-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:2rem;align-items:center}
.image-frame{border-radius:28px;overflow:hidden;box-shadow:var(--shadow);position:relative;border:1px solid var(--line)}
.image-frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%, rgba(12,31,58,.08));pointer-events:none}
.plain-list{list-style:none;padding:0;display:grid;gap:1rem}
.plain-list li{display:grid;grid-template-columns:220px 1fr;gap:1rem;padding:1rem 1.05rem;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}
.plain-list strong{color:var(--ink)}
.timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.timeline-step{display:flex;gap:1rem;background:#fff;border:1px solid var(--line);padding:1.25rem;border-radius:20px;box-shadow:var(--shadow-soft)}
.number,.icon-box{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--navy),var(--blue));flex:0 0 auto}
.cta-banner{border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:linear-gradient(135deg,var(--navy),#173965 56%, #2b5fa4);color:#fff;position:relative}
.cta-banner::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 16%, rgba(255,255,255,.22), transparent 22%), radial-gradient(circle at 10% 86%, rgba(255,255,255,.12), transparent 22%)}
.cta-banner .container-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:2rem}
.cta-banner h2,.cta-banner p{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .9fr;gap:2rem;padding:0 0 1.5rem}
.site-footer{background:var(--navy);color:#e6f0ff;padding:3rem 0 1.2rem;margin-top:2rem}
.footer-brand img{height:56px;width:auto;margin-bottom:1rem}
.footer-brand p,.footer-col span{color:#d7e5f8}
.footer-col{display:flex;flex-direction:column;gap:.55rem}
.footer-col h4{font-family:'Montserrat',sans-serif;font-size:1rem;font-weight:800;color:#fff;margin-bottom:.35rem}
.footer-col a,.footer-col span{color:#dce8fb}
.footer-base{padding-top:1.15rem;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.9rem;color:#c9d7ea}
.page-intro{max-width:800px}
.page-intro h1{max-width:12ch}
.page-intro p{max-width:64ch}
.highlight-panel,.review-note{padding:1.1rem 1.2rem;border-left:4px solid var(--blue);background:linear-gradient(180deg,#fff,#f7fbff);border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.support-card{padding:0}
.values-grid,.models-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.info-card .content h4,.service-card .content h4,.feature-card .content h3,.support-card .content h4,.contact-card .content h4,.value-card .content h4,.model-card .content h4{font-family:'Playfair Display',Georgia,serif;color:var(--ink)}
.legal-copy{max-width:860px}
.legal-copy h1{font-size:clamp(2.2rem,4vw,3.5rem);color:var(--ink)}
.legal-copy h2{font-size:1.6rem;margin-top:2rem}
.legal-copy h3{font-size:1.2rem;margin-top:1.4rem;font-family:'Montserrat',sans-serif;font-weight:800}
.legal-meta{display:inline-block;padding:.45rem .7rem;background:var(--soft);border-radius:999px;color:var(--navy);font-weight:700;font-size:.85rem;margin-bottom:1.2rem}
.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.form-shell{background:#fff;border:1px solid var(--line);border-radius:28px;padding:1.35rem;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.form-grid .full{grid-column:1 / -1}
label{display:block;font-weight:700;color:var(--ink);margin-bottom:.45rem}
input,select,textarea{width:100%;border:1px solid #bfd0e5;border-radius:14px;padding:.88rem .95rem;font:inherit;color:var(--ink);background:#fff}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(47,111,196,.18);outline-offset:0;border-color:var(--blue)}
textarea{min-height:150px;resize:vertical}
.consent-row,.form-note{font-size:.92rem;color:var(--muted)}
.contact-list{list-style:none;padding:0;display:grid;gap:.75rem}
.contact-list li{padding:.8rem 0;border-bottom:1px solid var(--line)}
.contact-list li:last-child{border-bottom:0}
.contact-list strong{display:block;color:var(--ink)}
.contact-card{padding:1rem}
.review-note strong{color:var(--ink)}
.models-grid .model-card,.values-grid .value-card,.stats-grid .stat-box{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.highlight-panel h3,.highlight-panel h4{color:var(--ink)}
.note-chip{display:inline-block;padding:.35rem .65rem;background:var(--soft);border-radius:999px;font-size:.82rem;font-weight:800;color:var(--navy)}
@media (max-width:1200px){
  .nav-links{gap:.85rem}
  .nav-links a{font-size:.93rem}
  .button{padding:.9rem 1.1rem}
  .card-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  .utility-bar .container,.navbar .container,.hero .container,.split-grid,.contact-grid,.support-grid,.values-grid,.models-grid,.stats-grid,.timeline,.card-grid.two,.card-grid.three,.card-grid.five,.footer-grid,.trust-band .container{grid-template-columns:1fr;display:grid}
  .navbar .container{grid-template-columns:auto 1fr auto}
  .menu-toggle{display:inline-flex;justify-content:center}
  .nav-links{display:none;position:absolute;left:20px;right:20px;top:calc(100% + 12px);padding:1rem;background:#102948;border:1px solid rgba(255,255,255,.1);border-radius:20px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  .nav-links.open{display:flex}
  .nav-links a{padding:.45rem 0}
  .nav-links a.button{margin-top:.2rem}
  .hero .container{padding-top:4.4rem;padding-bottom:4rem}
  .hero-card{margin-top:.5rem}
  .plain-list li{grid-template-columns:1fr}
  .cta-banner .container-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width:720px){
  body{font-size:15px}
  .brand img{height:46px;max-width:240px}
  .utility-links{gap:.75rem}
  .hero-note{gap:.75rem;font-size:.88rem}
  .hero-stat-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .section{padding:4rem 0}
  .hero .container,.page-hero .container{padding:4.3rem 0 3.7rem}
  .page-intro h1{max-width:none}
}


/* v8 additions */
.brand img{height:50px;max-width:min(290px,48vw);width:auto;display:block}
.page-hero .container{min-height:430px;display:flex;flex-direction:column;justify-content:center}
.page-hero h1{max-width:12ch}
.page-hero p{max-width:62ch}
.image-frame img,.feature-card img,.service-card img{background:#eef3f8}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-guide{position:fixed;right:18px;bottom:18px;z-index:1100;display:flex;flex-direction:column;align-items:flex-end;gap:.65rem}
.guide-launch{appearance:none;border:0;border-radius:999px;background:linear-gradient(135deg,var(--blue),#275ea6);color:#fff;padding:1rem 1.25rem;font:700 1rem/1 'Montserrat',sans-serif;box-shadow:0 16px 36px rgba(11,31,58,.24);cursor:pointer}
.guide-panel{width:min(360px,calc(100vw - 26px));background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 42px rgba(11,31,58,.24);overflow:hidden}
.guide-header{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start;padding:.85rem .9rem .75rem;background:linear-gradient(135deg,var(--navy),#173965);color:#fff}
.guide-header strong{display:block;font-size:1.05rem}
.guide-header p{margin:.25rem 0 0;color:#dce8fb;font-size:.88rem;line-height:1.45}
.guide-close{appearance:none;border:0;background:rgba(255,255,255,.15);color:#fff;border-radius:999px;width:34px;height:34px;font-size:1.25rem;cursor:pointer}
.guide-messages{max-height:250px;overflow:auto;padding:.85rem;background:#f8fbff;display:grid;gap:.65rem}
.guide-message{padding:.85rem 1rem;border-radius:18px;line-height:1.55;font-size:.95rem}
.guide-message.bot{background:#fff;border:1px solid var(--line);color:var(--text)}
.guide-message.user{background:#e2efff;color:var(--ink);margin-left:3rem}
.guide-message a{font-weight:700}
.guide-chips{display:flex;flex-wrap:wrap;gap:.55rem;padding:0 1rem .9rem;background:#f8fbff}
.guide-chip{appearance:none;border:1px solid #c8d7ea;background:#fff;color:var(--ink);padding:.55rem .8rem;border-radius:999px;font:600 .86rem/1.2 'Montserrat',sans-serif;cursor:pointer}
.guide-form{display:grid;grid-template-columns:1fr auto;gap:.65rem;padding:.85rem;border-top:1px solid var(--line);background:#fff}
.guide-input{min-height:auto;padding:.85rem .95rem;border-radius:14px}
.guide-form .button{padding:.85rem 1rem;border-radius:14px}
.guide-panel[hidden]{display:none !important}
.guide-demo-open .guide-panel{display:block}
@media (max-width:720px){.site-guide{right:12px;bottom:12px}.guide-launch{padding:.9rem 1.05rem;font-size:.95rem}.guide-panel{width:min(100vw - 16px,380px)}.page-hero .container{min-height:360px}}

@media (max-width: 980px){.utility-bar .container{padding:.22rem 0}.navbar .container{padding:.62rem 0}.brand img{height:44px;max-width:220px}}


/* v10 refinement: compact inner-page heroes, stronger home-card contrast, image fit */
.hero-card{
  background:rgba(11,31,58,.94);
  border-color:rgba(255,255,255,.28);
  backdrop-filter:blur(8px);
}
.hero-card p,.hero-card li{color:#f5f8ff}
.hero-card .eyebrow.light{color:#d9eaff}
.hero-stat{
  background:#173965;
  border-color:rgba(255,255,255,.18);
}
.hero-stat strong{color:#fff}
.hero-stat span{color:#eef5ff}

/* Home hero keeps its existing larger scale. */
.hero .container{min-height:unset}

/* Inner pages should be materially shorter than the home hero. */
.page-hero .container{
  min-height:300px;
  padding:3rem 0 2.8rem;
}
.page-hero h1{font-size:clamp(2.45rem,5vw,4.1rem);max-width:15ch}
.page-hero p{font-size:1.06rem;line-height:1.65;max-width:68ch}
.page-hero .actions{margin-top:1.15rem}

/* Give page imagery enough visual weight for split layouts and service cards. */
.service-card img{height:220px;object-fit:cover}
.feature-card img{height:285px;object-fit:cover}
.split-grid .image-frame img{height:360px;object-fit:cover}
.image-frame{min-height:300px}

/* Keep brand/header compact without crowding navigation. */
.utility-bar{font-size:.74rem}
.utility-bar .container{padding:.22rem 0}
.navbar .container{padding:.62rem 0}
.brand img{height:47px;max-width:min(275px,45vw)}

/* Strong, keyboard-visible focus states. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid #8cc3ff;
  outline-offset:3px;
}

@media (max-width:980px){
  .page-hero .container{min-height:270px;padding:2.6rem 0 2.45rem}
  .split-grid .image-frame img{height:320px}
  .service-card img{height:210px}
}
@media (max-width:720px){
  .page-hero .container{min-height:235px;padding:2.35rem 0 2.2rem}
  .page-hero h1{font-size:clamp(2.1rem,10vw,3rem)}
  .split-grid .image-frame img{height:270px}
  .feature-card img,.service-card img{height:220px}
  .image-frame{min-height:0}
}


/* v11 refinement: stronger inner-page hierarchy and cleaner supporting links */
.page-intro{max-width:760px}
.page-intro h1{
  max-width:11ch;
  font-size:clamp(3rem,5.4vw,4.8rem);
  line-height:.96;
  letter-spacing:-.045em;
  margin-bottom:.75rem;
}
.page-intro .hero-subtitle{
  font-size:clamp(1.08rem,2.15vw,1.48rem);
  line-height:1.34;
  font-weight:600;
  color:#f4f8ff;
  max-width:34ch;
  margin:0 0 .9rem;
}
.page-intro .hero-copy,
.page-intro > p:last-of-type{
  font-size:1.03rem;
  line-height:1.72;
  color:#dde8f8;
  max-width:62ch;
  margin:0;
}
.page-hero .actions{margin-top:1.35rem}
.page-hero .button.secondary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.58)}
.page-hero .button.secondary:hover{background:rgba(255,255,255,.16)}
.page-hero::before{background:linear-gradient(90deg,rgba(9,24,47,.86) 0%,rgba(9,24,47,.72) 40%,rgba(9,24,47,.48) 100%)}
.page-hero .container{
  min-height:340px;
  padding:3.55rem 0 3.1rem;
}
.section-link{margin-top:1.25rem}
.plain-list + .section-link{margin-top:1.45rem}
.section-link .inline-link{font-size:1.02rem}
.support-card .content,.model-card .content,.value-card .content{padding:1.3rem 1.3rem 1.4rem}
.support-card .content h4,.model-card .content h4,.model-card .content h3{margin-bottom:.55rem}
.model-card ul{margin-top:.85rem}
.section-heading{max-width:860px;margin-bottom:2.25rem}
.section-heading h2{margin-bottom:.65rem}
@media (max-width:980px){
  .page-hero .container{min-height:300px;padding:3rem 0 2.8rem}
  .page-intro h1{font-size:clamp(2.55rem,8vw,3.8rem)}
}
@media (max-width:720px){
  .page-hero .container{min-height:265px;padding:2.7rem 0 2.4rem}
  .page-intro h1{max-width:none;font-size:clamp(2.35rem,10vw,3.2rem)}
  .page-intro .hero-subtitle{font-size:1.02rem;max-width:none}
  .page-intro .hero-copy,.page-intro > p:last-of-type{font-size:.98rem;max-width:none}
}


/* v12: page-specific hero systems based on approved visual direction */
.page-hero--photo{
  background-size:cover;
  background-position:center;
  min-height:0;
}
.page-hero--photo::before{
  background:linear-gradient(90deg,rgba(9,24,47,.88) 0%,rgba(9,24,47,.73) 44%,rgba(9,24,47,.35) 100%);
}
.page-hero--photo .container{
  min-height:470px;
  padding:4.6rem 0 4.1rem;
  justify-content:center;
}
.page-hero--photo .page-intro{max-width:760px}
.page-hero--photo .page-intro h1{font-size:clamp(3.4rem,6vw,5.3rem);max-width:11ch}
.page-hero--photo .hero-subtitle{font-size:clamp(1.18rem,2.3vw,1.58rem);max-width:34ch}

.page-hero--split{
  background:#f3f7fb;
  color:var(--ink);
}
.page-hero--split::before,.page-hero--split::after{display:none}
.page-hero--split .container{
  min-height:0;
  padding:3.6rem 0 3.2rem;
}
.split-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
  align-items:center;
  gap:3rem;
  width:100%;
}
.split-hero-copy{max-width:680px}
.split-hero-copy .eyebrow{color:#315f8f}
.split-hero-copy h1{
  color:var(--ink);
  font-size:clamp(3rem,5vw,4.8rem);
  line-height:.98;
  letter-spacing:-.045em;
  max-width:12ch;
  margin-bottom:1rem;
}
.split-hero-copy .hero-subtitle{
  color:#29415f;
  font-size:clamp(1.14rem,2vw,1.45rem);
  font-weight:600;
  line-height:1.35;
  max-width:36ch;
  margin-bottom:.9rem;
}
.split-hero-copy .hero-copy{
  color:#53647a;
  max-width:61ch;
  font-size:1.03rem;
  line-height:1.72;
}
.split-hero-copy .actions{margin-top:1.45rem}
.split-hero-visual{
  position:relative;
  min-height:355px;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 22px 48px rgba(13,35,64,.16);
  border:1px solid rgba(21,53,92,.08);
  background:#dfe8f2;
}
.split-hero-visual img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.split-hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(11,31,58,.12));
  pointer-events:none;
}
.hero-feature-strip{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.hero-feature-strip .container{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:0;
}
.hero-feature{
  display:flex;
  gap:.9rem;
  align-items:flex-start;
  padding:1.25rem 1.35rem;
  border-right:1px solid var(--line);
}
.hero-feature:last-child{border-right:0}
.hero-feature .icon-box{width:38px;height:38px;border-radius:12px;font-size:.83rem}
.hero-feature strong{display:block;color:var(--ink);font-size:.96rem;margin-bottom:.15rem}
.hero-feature span{display:block;color:#66768b;font-size:.86rem;line-height:1.45}

/* Card treatment closer to the visual references */
.support-card,.model-card,.info-card,.service-card{
  border-radius:20px;
  border:1px solid #d9e4ef;
  box-shadow:0 10px 24px rgba(12,31,58,.07);
}
.support-card::before,.model-card::before,.info-card::before,.service-card::before{height:3px}
.section-soft{background:#f5f8fb}
.section-heading .eyebrow{margin-bottom:.75rem}
.section-heading h2{line-height:1.08}
.review-note{margin-top:1.2rem}

/* Law-firm page visual hierarchy */
.lawfirm-model-grid .model-card{min-height:100%}
.lawfirm-principle{
  background:linear-gradient(135deg,#f7fbff,#edf4fb);
  border:1px solid #d8e5f1;
  box-shadow:0 14px 34px rgba(12,31,58,.08);
}
.lawfirm-principle .eyebrow{color:#315f8f}
.lawfirm-principle h2{color:var(--ink)}
.lawfirm-principle p{color:var(--text)}

@media (max-width:980px){
  .split-hero-grid{grid-template-columns:1fr;gap:2rem}
  .split-hero-visual{min-height:320px}
  .page-hero--photo .container{min-height:420px;padding:4rem 0 3.6rem}
  .hero-feature-strip .container{grid-template-columns:1fr}
  .hero-feature{border-right:0;border-bottom:1px solid var(--line)}
  .hero-feature:last-child{border-bottom:0}
}
@media (max-width:720px){
  .page-hero--split .container{padding:2.8rem 0 2.5rem}
  .split-hero-copy h1{font-size:clamp(2.45rem,11vw,3.4rem);max-width:none}
  .split-hero-visual{min-height:250px;border-radius:20px}
  .page-hero--photo .container{min-height:365px;padding:3.4rem 0 3.1rem}
  .page-hero--photo .page-intro h1{font-size:clamp(2.7rem,11vw,3.8rem);max-width:none}
}


/* v13 final polish: cleaner hero typography, consistent split banners, larger logo */
.navbar .container{padding:.72rem 0}
.brand img{height:56px;max-width:min(315px,49vw)}
.nav-links{gap:1.05rem}
.nav-links a{font-size:.94rem}

/* Internal split hero typography — deliberate line lengths and spacing */
.page-hero--split .container{padding:3.15rem 0 2.9rem}
.split-hero-grid{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);gap:3.4rem}
.split-hero-copy{max-width:700px}
.split-hero-copy .eyebrow{margin-bottom:.72rem;font-size:.8rem;letter-spacing:.16em}
.split-hero-copy h1{
  font-size:clamp(2.85rem,4.6vw,4.25rem);
  line-height:1.01;
  letter-spacing:-.038em;
  max-width:10.5ch;
  margin:0 0 .85rem;
  text-wrap:balance;
}
.split-hero-copy .hero-subtitle{
  font-size:clamp(1.08rem,1.7vw,1.32rem);
  line-height:1.42;
  max-width:37ch;
  margin-bottom:.72rem;
  text-wrap:balance;
}
.split-hero-copy .hero-copy{
  font-size:1rem;
  line-height:1.68;
  max-width:60ch;
  margin-bottom:0;
}
.split-hero-copy .actions{margin-top:1.2rem}
.split-hero-visual{min-height:330px;border-radius:22px}
.split-hero-visual img{object-position:center}

/* Specific crop choices so important subject matter stays visible */
.hero-employment .split-hero-visual img{object-position:center 48%}
.hero-environmental .split-hero-visual img{object-position:center 50%}
.hero-family .split-hero-visual img{object-position:center 46%}
.hero-notary .split-hero-visual img{object-position:center 50%}
.hero-client-services .split-hero-visual img{object-position:center 44%}
.hero-lawfirms .split-hero-visual img{object-position:center 50%}

/* Law-firm hero should match the clean split system, not the old full-photo banner */
.hero-lawfirms{background:#eef4fa;color:var(--ink)}
.hero-lawfirms::before,.hero-lawfirms::after{display:none}
.hero-lawfirms .eyebrow{color:#315f8f}
.hero-lawfirms h1{color:var(--ink);max-width:12ch}
.hero-lawfirms .hero-subtitle{color:#29415f}
.hero-lawfirms .hero-copy{color:#53647a}
.hero-lawfirms .button.secondary{color:#173965!important;border-color:#7796ba;background:rgba(255,255,255,.64)}
.hero-lawfirms .button.secondary:hover{background:#fff}

/* Feature strips and card text align more cleanly */
.hero-feature{padding:1.15rem 1.25rem}
.hero-feature strong{line-height:1.25}
.hero-feature span{line-height:1.42}
.support-card .content p,.model-card .content p,.info-card .content p{line-height:1.62}
.model-card .content h3{font-size:1.43rem;line-height:1.16}
.section-heading p{max-width:68ch}

@media (max-width:1200px){
  .brand img{height:53px;max-width:285px}
  .nav-links{gap:.78rem}
  .nav-links a{font-size:.9rem}
}
@media (max-width:980px){
  .brand img{height:48px;max-width:235px}
  .split-hero-grid{grid-template-columns:1fr;gap:1.75rem}
  .split-hero-copy h1{max-width:14ch}
  .split-hero-visual{min-height:290px}
}
@media (max-width:720px){
  .brand img{height:44px;max-width:215px}
  .page-hero--split .container{padding:2.45rem 0 2.25rem}
  .split-hero-copy h1{font-size:clamp(2.25rem,10vw,3rem);max-width:none}
  .split-hero-copy .hero-subtitle{font-size:1.02rem;max-width:none}
  .split-hero-visual{min-height:230px}
}


/* v14 interaction and polish */
.brand img{height:56px;max-width:min(330px,52vw);filter:drop-shadow(0 1px 0 rgba(255,255,255,.08))}
@media (max-width:980px){.brand img{height:48px;max-width:240px}}

/* Entire cards are clickable while preserving keyboard focus */
.clickable-card{position:relative;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.clickable-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(9,24,47,.13);border-color:#b8cbe0}
.clickable-card:focus-within{outline:3px solid #8cc3ff;outline-offset:3px}
.clickable-card .card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.clickable-card .content,.clickable-card img{position:relative;z-index:1}
.clickable-card .inline-link{position:relative;z-index:4}

/* Lawyers/Law Firms section cleanup */
.law-firm-hero .page-intro h1{max-width:10ch;font-size:clamp(2.8rem,5vw,4.4rem)}
.law-firm-hero .page-intro{max-width:720px}
.law-firm-hero .hero-subtitle{max-width:32ch}
.law-firm-hero .hero-copy{max-width:58ch}
.law-firm-hero .container{overflow:visible}
.support-card.alpha-card::before{display:none}
.support-card.alpha-card{padding-top:0}
.support-card.alpha-card .icon-box{margin:1.25rem 0 0 1.25rem;position:relative;z-index:2}
.support-card.alpha-card .content{padding-top:.85rem}

/* Ensure labels/tone cards remain visible and clean */
.tone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.4rem}
.tone-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.05rem 1.1rem;box-shadow:var(--shadow-soft)}
.tone-card strong{display:block;color:var(--ink);margin-bottom:.25rem}
.tone-card span{color:var(--muted);font-size:.95rem}
@media(max-width:820px){.tone-grid{grid-template-columns:1fr}}

/* Immigration uses the newer split hero rather than the old photo banner */
.split-hero{background:#f4f8fc;color:var(--ink);position:relative;overflow:hidden}
.split-hero::before,.split-hero::after{display:none}
.split-hero .container{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.88fr);align-items:stretch;gap:2rem;padding:3.2rem 0;min-height:0}
.split-hero .page-intro{align-self:center;max-width:700px}
.split-hero .eyebrow{color:var(--blue)}
.split-hero h1{color:var(--ink);max-width:10ch;font-size:clamp(2.9rem,5vw,4.5rem)}
.split-hero .hero-subtitle{color:var(--navy);max-width:32ch}
.split-hero .hero-copy{color:var(--text);max-width:60ch}
.split-hero .hero-visual{border-radius:28px;overflow:hidden;box-shadow:var(--shadow);min-height:330px}
.split-hero .hero-visual img{width:100%;height:100%;object-fit:cover}
.split-hero .button.secondary{background:#fff;border-color:#9db5d0;color:var(--navy)!important}
@media(max-width:980px){.split-hero .container{grid-template-columns:1fr;padding:2.7rem 0}.split-hero .hero-visual{min-height:260px}}

/* More explicit chatbot shortcut visibility */
.guide-chip.contact-chip{background:#e8f2ff;border-color:#8fb3df;color:#123f73}


/* v14.1 corrections after screenshot QA */
.brand img{height:64px;max-width:min(360px,55vw)}
.navbar .container{padding:.7rem 0}
.hero-lawfirms .split-hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.84fr);gap:2.35rem}
.hero-lawfirms .split-hero-copy{min-width:0;max-width:650px}
.hero-lawfirms .split-hero-copy h1{font-size:clamp(2.75rem,4.5vw,4.15rem);max-width:none;overflow-wrap:normal;word-break:normal}
.hero-lawfirms .split-hero-copy .hero-subtitle{max-width:31ch}
.hero-lawfirms .split-hero-copy .hero-copy{max-width:56ch}
.hero-lawfirms .actions{flex-wrap:wrap}
.hero-lawfirms .split-hero-visual{min-width:0}
.hero-lawfirms .split-hero-visual img{width:100%;height:100%;object-fit:cover}

/* Immigration now uses the same clean split-hero system as the other practice pages. */
.hero-immigration .split-hero-visual img{object-position:center 45%}
.hero-immigration .split-hero-copy h1{max-width:none}

@media(max-width:980px){
  .brand img{height:54px;max-width:270px}
  .hero-lawfirms .split-hero-grid{grid-template-columns:1fr}
  .hero-lawfirms .split-hero-copy h1{font-size:clamp(2.55rem,8vw,3.65rem)}
}


/* v16 consolidation — preserve v14 split heroes + later visual fixes */

/* Readable brand without increasing total header height too much. */
.brand{flex:0 0 auto;overflow:visible}
.brand img{
  height:62px;
  width:auto;
  max-width:350px;
  display:block;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.08));
}
.footer-brand img{height:58px;width:auto;max-width:310px}
.navbar .container{padding:.58rem 0;gap:.85rem}
.nav-links{gap:.88rem}
.nav-links a{font-size:.91rem}
.nav-links .button{padding:.82rem 1rem}

/* Prevent lawyer hero text from ever pushing outside its column. */
.hero-lawfirms .split-hero-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.82fr);
  gap:2.15rem;
  align-items:center;
}
.hero-lawfirms .split-hero-copy{min-width:0;max-width:640px}
.hero-lawfirms .split-hero-copy h1{
  font-size:clamp(2.65rem,4vw,3.85rem);
  line-height:.98;
  max-width:12ch;
  overflow-wrap:normal;
  word-break:normal;
}
.hero-lawfirms .split-hero-copy .hero-subtitle{max-width:32ch}
.hero-lawfirms .split-hero-copy .hero-copy{max-width:58ch}
.hero-lawfirms .actions{flex-wrap:wrap}
.hero-lawfirms .split-hero-visual{min-width:0}
.hero-lawfirms .split-hero-visual img{width:100%;height:100%;object-fit:cover}

/* Immigration stays on the new split system, with high-contrast light treatment. */
.hero-immigration{background:#f4f8fc!important;color:var(--ink)!important}
.hero-immigration::before,.hero-immigration::after{display:none!important}
.hero-immigration .eyebrow{color:#315f8f!important}
.hero-immigration h1{color:#16253a!important}
.hero-immigration .hero-subtitle{color:#29415f!important}
.hero-immigration .hero-copy{color:#53647a!important}
.hero-immigration .split-hero-visual img{object-position:center 45%}

/* Light split hero secondary buttons need visible text/border. */
.page-hero--split .button.secondary,
.hero-lawfirms .button.secondary,
.hero-immigration .button.secondary{
  background:#fff!important;
  color:#173965!important;
  border:1px solid #6f8fb3!important;
  box-shadow:none!important;
}
.page-hero--split .button.secondary:hover,
.hero-lawfirms .button.secondary:hover,
.hero-immigration .button.secondary:hover{
  background:#edf5fc!important;
  border-color:#4f739e!important;
}

/* Numbered and A–D support cards: no top stripe, marker inset cleanly. */
.support-card::before{display:none!important}
.support-card{
  padding-top:0!important;
  overflow:hidden;
}
.support-card .icon-box{
  margin:1.45rem 0 0 1.45rem!important;
  position:relative!important;
  inset:auto!important;
  width:44px!important;
  height:44px!important;
  border-radius:13px!important;
  flex:0 0 44px!important;
}
.support-card .content{
  padding:1rem 1.45rem 1.45rem!important;
}
.support-card.alpha-card .icon-box{margin:1.45rem 0 0 1.45rem!important}
.support-card.alpha-card .content{padding:1rem 1.45rem 1.45rem!important}

/* Cleaner tone cards and visible text. */
.tone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.25rem}
.tone-card{background:#fff;border:1px solid #cbd9e8;border-radius:16px;padding:1rem 1.05rem;box-shadow:var(--shadow-soft)}
.tone-card strong{display:block;color:#16253a;font-size:1rem;margin-bottom:.3rem}
.tone-card span{display:block;color:#53647a;font-size:.92rem;line-height:1.5}
.lawfirm-principle .eyebrow{color:#315f8f}
.lawfirm-principle h2{color:#16253a}
.lawfirm-principle>p{color:#42556d}

/* Whole-card interaction is obvious and keyboard-safe. */
.clickable-card{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.clickable-card:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(9,24,47,.12);border-color:#9db6d2}
.clickable-card:focus-within{outline:3px solid #8cc3ff;outline-offset:3px}
.card-cover-link{position:absolute;inset:0;z-index:3;border-radius:inherit}
.clickable-card .content,.clickable-card>img{position:relative;z-index:1}
.clickable-card .inline-link{position:relative;z-index:4}

@media(max-width:1100px){
  .brand img{height:58px;max-width:300px}
  .nav-links{gap:.7rem}
  .nav-links a{font-size:.88rem}
  .hero-lawfirms .split-hero-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);gap:1.6rem}
  .hero-lawfirms .split-hero-copy h1{font-size:clamp(2.45rem,4.8vw,3.45rem)}
}
@media(max-width:980px){
  .brand img{height:54px;max-width:270px}
  .hero-lawfirms .split-hero-grid{grid-template-columns:1fr}
  .hero-lawfirms .split-hero-copy h1{max-width:13ch}
  .tone-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .brand img{height:48px;max-width:235px}
  .footer-brand img{height:48px;max-width:235px}
  .support-card .icon-box,.support-card.alpha-card .icon-box{margin:1.25rem 0 0 1.25rem!important}
  .support-card .content,.support-card.alpha-card .content{padding:.9rem 1.25rem 1.3rem!important}
  .hero-lawfirms .split-hero-copy h1{font-size:clamp(2.25rem,10vw,3rem);max-width:none}
}


/* v23 canonical header + stability layer */
.utility-bar{
  background:#071426;
  color:#eaf2ff;
  font-size:.76rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.utility-bar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.28rem 0;
  min-height:31px;
}
.utility-context{color:#dbe7f5;font-weight:600;line-height:1.35}
.utility-links{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:flex-end}
.utility-links a{color:#f2f7ff;opacity:1;font-weight:650;white-space:nowrap}
.navbar .container{display:flex;align-items:center;gap:1rem;padding:.64rem 0}
.brand-redesign{
  display:flex;
  align-items:center;
  gap:.58rem;
  flex:0 0 auto;
  min-width:214px;
  text-decoration:none;
}
.brand-monogram{width:35px!important;height:35px!important;max-width:none!important;object-fit:contain;flex:0 0 35px}
.brand-copy{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0}
.brand-name{
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.02rem;
  font-weight:700;
  line-height:1.03;
  letter-spacing:.005em;
  color:#fff;
  white-space:nowrap;
}
.brand-slogan{
  font-family:'Montserrat',system-ui,sans-serif;
  font-size:.54rem;
  line-height:1;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#d9e8fb;
  white-space:nowrap;
}
.nav-links{gap:.82rem}
.nav-links a{font-size:.9rem}
.nav-links .button{padding:.78rem 1rem;border-radius:14px}

/* Prevent long hero/card text from causing horizontal overflow. */
.split-hero-copy,.page-intro,.hero-lawfirms .split-hero-copy,.support-card,.tone-card,.service-card,.feature-card,.info-card{min-width:0}
.split-hero-copy h1,.page-intro h1,.hero-lawfirms .split-hero-copy h1{overflow-wrap:anywhere;word-break:normal}
.split-hero-grid>*{min-width:0}
.support-card .content,.tone-card,.service-card .content,.feature-card .content,.info-card .content{overflow-wrap:anywhere}

/* A–D / numbered cards: marker sits clearly inside the card, never on the top rule. */
.support-card::before{display:none!important}
.support-card{overflow:hidden!important;padding-top:0!important}
.support-card .icon-box,.support-card.alpha-card .icon-box{
  position:relative!important;inset:auto!important;
  margin:1.35rem 0 0 1.35rem!important;
  width:44px!important;height:44px!important;flex:0 0 44px!important;
  border-radius:13px!important;
}
.support-card .content,.support-card.alpha-card .content{padding:.9rem 1.35rem 1.35rem!important}

.field-help{margin-top:.45rem;color:#5c6b80;font-size:.82rem;line-height:1.45}
.char-count{text-align:right;margin-top:.3rem;color:#5c6b80;font-size:.8rem;font-weight:600}

@media (max-width:1180px){
  .brand-redesign{min-width:198px;gap:.5rem}
  .brand-monogram{width:33px!important;height:33px!important;flex-basis:33px!important}
  .brand-name{font-size:.95rem}
  .brand-slogan{font-size:.49rem;letter-spacing:.14em}
  .nav-links{gap:.62rem}
  .nav-links a{font-size:.84rem}
  .nav-links .button{padding:.72rem .86rem}
}
@media (max-width:980px){
  .utility-bar .container{display:flex;flex-direction:column;align-items:flex-start;gap:.18rem;padding:.34rem 0}
  .utility-links{justify-content:flex-start;gap:.8rem}
  .navbar .container{display:grid;grid-template-columns:auto 1fr auto;padding:.58rem 0}
  .brand-redesign{min-width:0}
  .brand-monogram{width:34px!important;height:34px!important;flex-basis:34px!important}
  .brand-name{font-size:.98rem}
  .brand-slogan{font-size:.5rem}
}
@media (max-width:720px){
  .utility-context{display:none}
  .utility-bar .container{padding:.3rem 0}
  .utility-links{width:100%;justify-content:flex-start;gap:.75rem;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .utility-links::-webkit-scrollbar{display:none}
  .utility-links a{font-size:.72rem}
  .brand-redesign{gap:.44rem}
  .brand-monogram{width:31px!important;height:31px!important;flex-basis:31px!important}
  .brand-name{font-size:.9rem}
  .brand-slogan{font-size:.44rem;letter-spacing:.12em}
  .support-card .icon-box,.support-card.alpha-card .icon-box{margin:1.15rem 0 0 1.15rem!important}
  .support-card .content,.support-card.alpha-card .content{padding:.8rem 1.15rem 1.2rem!important}
}

/* v24 — compact brand lockup refinement */
.navbar .container{
  align-items:center;
  padding:.50rem 0;
  gap:.9rem;
}
.brand-redesign{
  display:inline-flex;
  align-items:center;
  gap:.48rem;
  min-width:0;
  flex:0 0 auto;
  line-height:1;
}
.brand-monogram{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  object-fit:contain;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1px;
  min-width:0;
}
.brand-name{
  font-size:.94rem;
  line-height:1.05;
  font-weight:700;
  letter-spacing:.01em;
  white-space:nowrap;
}
.brand-slogan{
  font-size:.47rem;
  line-height:1.1;
  letter-spacing:.13em;
  font-weight:700;
  white-space:nowrap;
}
@media (max-width:1100px){
  .brand-monogram{width:28px!important;height:28px!important;flex-basis:28px!important}
  .brand-name{font-size:.9rem}
  .brand-slogan{font-size:.44rem;letter-spacing:.11em}
}
@media (max-width:720px){
  .navbar .container{padding:.46rem 0}
  .brand-redesign{gap:.42rem}
  .brand-monogram{width:27px!important;height:27px!important;flex-basis:27px!important}
  .brand-name{font-size:.86rem}
  .brand-slogan{font-size:.42rem;letter-spacing:.10em}
}


/* v25 — single-image header brand lockup */
.brand-logo-only{display:flex;align-items:center;flex:0 0 auto;min-width:0;text-decoration:none;line-height:0}
.brand-header-logo{display:block;width:238px;height:auto;max-width:31vw;object-fit:contain}
.brand-redesign,.brand-copy,.brand-name,.brand-slogan,.brand-monogram{display:none!important}
@media (max-width:1180px){.brand-header-logo{width:218px;max-width:29vw}}
@media (max-width:980px){.brand-header-logo{width:210px;max-width:52vw}}
@media (max-width:720px){.brand-header-logo{width:185px;max-width:58vw}}



/* v32 FINAL RESPONSIVE / OVERFLOW STABILITY LAYER
   Canonical rules for all public pages. These intentionally override older
   experimental header/page rules without changing the approved visual system. */
html,body{max-width:100%;overflow-x:clip}
body{min-width:0}
.container{width:min(1180px,calc(100% - 40px));max-width:100%;min-width:0}
main,section,header,footer,nav,div,article,form{min-width:0}
img,svg,video,iframe{max-width:100%;height:auto}

/* Text and interactive controls must never force a container wider. */
h1,h2,h3,h4,p,li,a,span,strong,label,.button,.badge,.kicker{
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
}
.button{white-space:normal;min-width:0}
.actions,.hero-actions{min-width:0}
.actions>* ,.hero-actions>*{max-width:100%}

/* Header: desktop only when there is actually room for the full nav. */
.navbar{position:relative}
.navbar .container{min-width:0}
.brand-logo-only{min-width:0;flex:0 1 auto}
.brand-header-logo{width:238px;max-width:min(31vw,238px);height:auto}
.nav-links{min-width:0}
.nav-links a{min-width:0}

@media (max-width:1320px){
  .navbar .container{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:.8rem;
    padding:.56rem 0;
    position:relative;
  }
  .brand-logo-only{justify-self:start}
  .brand-header-logo{width:218px;max-width:min(52vw,218px)}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;justify-self:end}
  .nav-links{
    display:none;
    position:absolute;
    z-index:1200;
    top:calc(100% + 10px);
    left:0;
    right:0;
    width:100%;
    padding:1rem;
    background:#102948;
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:.12rem;
  }
  .nav-links.open{display:flex}
  .nav-links a,.nav-links a span{white-space:normal!important;overflow-wrap:break-word}
  .nav-links a{padding:.58rem .2rem;font-size:.92rem}
  .nav-links a.button{margin-top:.35rem;padding:.8rem 1rem}
  .nav-links a[data-nav].active::after,.nav-links a[data-nav]:hover::after{bottom:.1rem}
}

/* Utility row: wrap instead of creating its own horizontal scrollbar. */
.utility-bar .container{min-width:0}
.utility-context,.utility-links{min-width:0}
.utility-links a,.utility-links span{white-space:normal}
@media (max-width:980px){
  .utility-bar .container{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;padding:.34rem 0}
  .utility-links{width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.35rem .8rem;overflow:visible}
}
@media (max-width:720px){
  .utility-context{display:none}
  .utility-links{overflow:visible;flex-wrap:wrap;width:100%;gap:.25rem .65rem}
  .utility-links a,.utility-links span{font-size:.72rem;overflow-wrap:anywhere}
  .brand-header-logo{width:185px;max-width:60vw}
}

/* All grids use shrink-safe tracks. */
.timeline,.trust-band .container,.card-grid.two,.card-grid.three,.card-grid.five,
.models-grid,.support-grid,.values-grid,.stats-grid,.contact-grid,.footer-grid,
.split-grid,.split-hero-grid,.hero-feature-strip .container,.tone-grid{
  min-width:0;
}
.timeline>* ,.trust-band .container>* ,.card-grid>* ,.models-grid>* ,.support-grid>* ,
.values-grid>* ,.stats-grid>* ,.contact-grid>* ,.footer-grid>* ,.split-grid>* ,
.split-hero-grid>* ,.hero-feature-strip .container>* ,.tone-grid>*{min-width:0}

/* The screenshot-reported homepage timeline issue: titles are allowed to wrap. */
.timeline-step{min-width:0;align-items:flex-start}
.timeline-step>div:last-child{min-width:0;flex:1}
.timeline-step h4,.timeline-step h4 span{white-space:normal!important;overflow-wrap:break-word;word-break:normal}
.timeline-step p{overflow-wrap:break-word}
@media (max-width:1180px){.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.timeline{grid-template-columns:1fr}}

/* Long legal / service labels and card content. */
.feature-card,.service-card,.support-card,.info-card,.contact-card,.model-card,.value-card,
.highlight-panel,.tone-card,.plain-list li{min-width:0}
.feature-card .content,.service-card .content,.support-card .content,.info-card .content,
.contact-card .content,.model-card .content,.value-card .content{min-width:0;overflow-wrap:break-word}
.plain-list li>*{min-width:0}

/* Footer may contain long service and email labels. */
.footer-grid>*{min-width:0}
.footer-col a,.footer-col span,.footer-brand p{white-space:normal;overflow-wrap:anywhere}

/* Guide and forms stay inside viewport at small widths. */
.site-guide{max-width:calc(100vw - 24px)}
.guide-panel{max-width:calc(100vw - 24px)}
.guide-form{min-width:0}
.guide-input{min-width:0;width:100%}
input,select,textarea{max-width:100%;min-width:0}

@media (max-width:480px){
  :root{--container:min(100% - 24px,1180px)}
  .container{width:calc(100% - 24px)}
  .section{padding:3.5rem 0}
  .actions,.hero-actions{display:grid;grid-template-columns:1fr;width:100%}
  .actions .button,.hero-actions .button{width:100%}
  .guide-panel{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}
  .site-guide{right:8px;bottom:8px;max-width:calc(100vw - 16px)}
}
