@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{--navy:#061b34;--navy2:#092542;--cream:#f6f2ea;--paper:#fbf8f2;--ink:#0b1d32;--muted:#697585;--line:rgba(6,27,52,.14);--gold:#b9a174;--white:#fff;--shadow:0 24px 60px rgba(6,27,52,.12)}
[data-theme='dark']{--cream:#071d35;--paper:#09233f;--ink:#f6f2ea;--muted:#b6c0cc;--line:rgba(255,255,255,.14);--white:#0b2744;--shadow:0 24px 70px rgba(0,0,0,.35)}
*{box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--cream);color:var(--ink);letter-spacing:.01em;overflow-x:hidden}body.rtl{direction:rtl}.font-serif{font-family:'Cormorant Garamond',serif}.text-muted-custom{color:var(--muted)!important}.bg-navy{background:var(--navy)!important}.container-xl{max-width:1280px}.section-pad{padding:88px 0}.section-line{border-top:1px solid var(--line)}
.site-header{position:sticky;top:0;z-index:1030;background:rgba(246,242,234,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}[data-theme='dark'] .site-header{background:rgba(7,29,53,.92)}.navbar{min-height:88px}.brand-logo{height:58px;width:auto;object-fit:contain}.navbar-nav .nav-link{font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:var(--ink);padding:34px 18px}.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active{color:var(--gold)}.dropdown-menu{border:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:var(--shadow);padding:18px;min-width:320px}.dropdown-item{padding:14px 10px;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}.dropdown-item small{display:block;color:var(--muted);letter-spacing:.02em;text-transform:none;font-weight:400;margin-top:4px}.dropdown-item:last-child{border-bottom:0}.lang a{font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--ink);text-decoration:none;margin:0 5px}.lang a.active{color:var(--gold)}.theme-toggle{border:1px solid var(--line);background:transparent;color:var(--ink);width:46px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.nav-toggler{border:0;background:transparent;color:var(--ink);font-size:30px;line-height:1;padding:8px;margin-left:auto}.offcanvas{background:var(--navy);color:#fff}.offcanvas .brand-logo{height:74px;filter:brightness(0) invert(1)}.offcanvas a{color:#fff;text-decoration:none;font-size:18px;text-transform:uppercase;letter-spacing:.14em;font-weight:600}.offcanvas .mobile-nav li{border-bottom:1px solid rgba(255,255,255,.12);padding:18px 0}.offcanvas .btn-close{filter:invert(1);opacity:1}
.hero{min-height:680px;display:grid;grid-template-columns:44% 56%;border-bottom:1px solid var(--line)}.hero-copy{padding:92px 10% 92px 12%;position:relative;display:flex;flex-direction:column;justify-content:center}.hero-copy:after{content:'V';position:absolute;font-family:'Cormorant Garamond',serif;font-size:300px;line-height:1;right:7%;bottom:5%;color:rgba(6,27,52,.045);z-index:0}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.22em;font-weight:700;color:var(--navy);margin-bottom:22px}.hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(54px,6vw,92px);font-weight:500;line-height:.96;letter-spacing:.01em;position:relative;z-index:1}.hero h1 em{font-style:italic}.hero p{max-width:460px;color:var(--muted);font-size:17px;line-height:1.8;position:relative;z-index:1}.hero-img{min-height:680px;background-size:cover;background-position:center;border-left:1px solid var(--line)}.link-arrow{display:inline-flex;align-items:center;gap:16px;text-decoration:none;color:var(--ink);font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;border-bottom:1px solid var(--ink);padding-bottom:9px;margin-top:30px}.link-arrow:hover{color:var(--gold);border-color:var(--gold)}
.manifesto-grid{display:grid;grid-template-columns:42% 58%;border-bottom:1px solid var(--line)}.manifesto{background:var(--navy);color:#fff;padding:72px 12%;position:relative;overflow:hidden}.manifesto:after{content:'V';position:absolute;font-family:'Cormorant Garamond',serif;font-size:250px;right:8%;bottom:-40px;color:rgba(255,255,255,.06)}.manifesto h2,.cta-band h2{font-family:'Cormorant Garamond',serif;font-size:44px;line-height:1.05;font-weight:500}.manifesto p{color:rgba(255,255,255,.72);line-height:1.75}.references-mini{padding:48px 8%;background:var(--paper)}.section-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.22em;font-weight:800}.project-card{border:0;background:transparent}.project-card img,.study-card img{width:100%;height:190px;object-fit:cover;display:block}.project-card h3{font-size:17px;letter-spacing:.15em;text-transform:uppercase;font-weight:700;margin:18px 0 3px}.project-card .meta{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}.project-card p{font-size:14px;color:var(--muted)}
.study-card{position:relative}.study-card img{height:170px}.study-card .iconbox{position:absolute;left:18px;top:138px;background:var(--navy);color:#fff;width:42px;height:42px;display:grid;place-items:center}.study-card h3{font-size:17px;letter-spacing:.16em;text-transform:uppercase;margin-top:28px}.cta-band{background:var(--navy);color:#fff;padding:66px 0;position:relative;overflow:hidden}.cta-band:before,.site-footer:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 70% 30%,rgba(255,255,255,.08),transparent 32%);opacity:.6}.btn-outline-light-navy{border:1px solid rgba(255,255,255,.55);color:#fff;border-radius:0;padding:18px 34px;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800}.btn-outline-light-navy:hover{background:#fff;color:var(--navy)}.site-footer{background:#04182e;color:#fff;padding:48px 0 26px;position:relative}.site-footer .footer-logo{height:64px;filter:brightness(0) invert(1)}.site-footer a{color:rgba(255,255,255,.78);text-decoration:none;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}.site-footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:22px;color:rgba(255,255,255,.6);font-size:13px}
.page-hero{padding:94px 0 70px;position:relative;border-bottom:1px solid var(--line)}.page-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(56px,6vw,92px);line-height:.95}.filterbar{background:var(--paper);border:1px solid var(--line);padding:18px;margin-bottom:36px}.filterbar .btn{border-radius:0;text-transform:uppercase;letter-spacing:.13em;font-size:12px;padding:13px 18px}.project-grid-card img{height:260px;object-fit:cover;width:100%}.project-grid-card{margin-bottom:40px}.detail-hero{display:grid;grid-template-columns:38% 62%;min-height:610px;border-bottom:1px solid var(--line)}.detail-hero-copy{padding:74px 12%;display:flex;flex-direction:column;justify-content:center}.detail-hero-copy h1{font-family:'Cormorant Garamond',serif;font-size:76px;line-height:.95}.detail-hero-img{background-size:cover;background-position:center}.info-strip{border-bottom:1px solid var(--line);background:var(--paper)}.info-item{padding:28px;border-right:1px solid var(--line)}.stat{border-left:1px solid var(--line);padding:28px}.stat strong{font-family:'Cormorant Garamond',serif;font-size:40px;font-weight:500}.content-card{background:var(--paper);border:1px solid var(--line);padding:34px}.contact-box{background:var(--navy);color:#fff;padding:45px}.form-control,.form-select{border-radius:0;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:15px}.btn-navy{background:var(--navy);border-color:var(--navy);color:#fff;border-radius:0;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;padding:15px 28px}.btn-navy:hover{background:var(--navy2);color:#fff}
@media(max-width:991.98px){.navbar{min-height:76px}.brand-logo{height:50px}.desktop-nav{display:none!important}.hero,.manifesto-grid,.detail-hero{grid-template-columns:1fr}.hero-copy{padding:70px 28px}.hero-img{min-height:420px;border-left:0}.manifesto{padding:56px 28px}.references-mini{padding:44px 28px}.section-pad{padding:58px 0}.detail-hero-copy{padding:56px 28px}.detail-hero-img{min-height:380px;order:-1}.info-item{border-right:0;border-bottom:1px solid var(--line)}.site-footer .d-flex{gap:18px!important}.project-card img,.study-card img{height:220px}}@media(max-width:575.98px){.brand-logo{height:42px}.hero h1{font-size:54px}.hero-img{min-height:320px}.manifesto h2,.cta-band h2{font-size:36px}.page-hero h1,.detail-hero-copy h1{font-size:54px}.project-grid-card img{height:220px}.section-title-row{align-items:flex-start;gap:14px;flex-direction:column}.cta-band{text-align:left}.navbar{padding-left:8px;padding-right:8px}}
[data-theme='dark'] .logo-light{display:none!important}[data-theme='dark'] .logo-dark{display:inline-block!important}

/* refined header and localization improvements */
.container-xl{max-width:1320px}
.site-header{background:rgba(246,242,234,.95)}
[data-theme='dark'] .site-header{background:rgba(7,29,53,.96)}
.header-shell{gap:1rem}
.navbar{min-height:96px;padding:0}
.navbar-brand{margin-right:0;padding:0;display:flex;align-items:center;flex-shrink:0}
.brand-wrap{max-width:235px}
.brand-logo{height:74px;max-width:100%;display:block;object-fit:contain}
.nav-premium{gap:.15rem;flex-wrap:nowrap}
.navbar-nav .nav-link{padding:0 14px;line-height:1;font-size:13px;letter-spacing:.17em;white-space:nowrap}
.premium-dropdown{min-width:350px;padding:14px 18px}
.premium-dropdown .dropdown-item{padding:14px 6px 14px 0}
.premium-dropdown .dropdown-item span{display:block;font-weight:700}
.header-tools{flex-shrink:0}
.lang-switch{display:inline-flex;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:5px;gap:4px}
.lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:36px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--ink);text-decoration:none;transition:.2s ease}
.lang-switch a.active{background:var(--navy);color:#fff;box-shadow:0 8px 16px rgba(6,27,52,.15)}
[data-theme='dark'] .lang-switch a.active{background:#fff;color:var(--navy)}
.theme-toggle{width:42px;height:42px;border-radius:50%;font-size:16px;transition:.2s ease}
.theme-toggle:hover,.lang-switch a:hover{transform:translateY(-1px)}
.nav-toggler{width:46px;height:46px;border:1px solid var(--line);border-radius:50%;font-size:26px;display:inline-flex;align-items:center;justify-content:center;padding:0}
.offcanvas{border-left:0;max-width:360px}
.offcanvas .brand-logo{height:84px;width:auto;filter:none}
.mobile-nav li{display:block}
.mobile-nav a{display:flex;align-items:center;justify-content:space-between}
.mobile-lang-switch .mobile-label{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:rgba(255,255,255,.7);font-weight:700}
.mobile-lang-switch .lang-switch{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.mobile-lang-switch .lang-switch a{color:#fff}.mobile-lang-switch .lang-switch a.active{background:#fff;color:var(--navy)}
.project-card h3,.study-card h3{line-height:1.08}
.project-card p{min-height:52px}
.references-mini .project-card img{aspect-ratio:4/3;height:auto}
.references-mini .row>[class*=col-]{display:flex}
.references-mini .project-card{width:100%}
.page-hero img,.references-mini img,.project-grid-card img,.study-card img{border-radius:0}
.footer-logo{height:76px;width:auto}
.footer-links{row-gap:1rem}
[data-theme='dark'] .lang-switch{background:rgba(255,255,255,.03)}
[data-theme='dark'] .theme-toggle,[data-theme='dark'] .nav-toggler{border-color:rgba(255,255,255,.18)}
[data-theme='dark'] .premium-dropdown{background:var(--paper)}
@media(max-width:1199.98px){
  .brand-wrap{max-width:210px}
  .brand-logo{height:68px}
  .navbar-nav .nav-link{padding:0 10px;font-size:12px}
  .lang-switch a{min-width:40px}
}
@media(max-width:991.98px){
  .navbar{min-height:82px}
  .brand-wrap{max-width:186px}
  .brand-logo{height:60px}
  .mobile-tools{margin-left:auto}
  .hero-copy,.references-mini,.manifesto{padding-left:28px;padding-right:28px}
}
@media(max-width:575.98px){
  .brand-wrap{max-width:154px}
  .brand-logo{height:52px}
  .theme-toggle,.nav-toggler{width:42px;height:42px}
  .references-mini .project-card p{min-height:0}
}

/* v3 logo and typography refinement */
.brand-system{display:inline-flex;align-items:center;gap:14px;min-width:0}
.brand-mark-wrap{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.brand-mark{display:block;height:62px;width:auto;object-fit:contain}
.brand-copy{display:flex;flex-direction:column;justify-content:center;gap:3px;line-height:1}
.brand-copy-light{color:#fff}
.brand-name{font-family:Inter,system-ui,sans-serif;font-size:20px;font-weight:600;letter-spacing:.22em;color:var(--ink)}
.brand-sub{font-family:Inter,system-ui,sans-serif;font-size:8.5px;font-weight:500;letter-spacing:.28em;color:var(--muted)}
[data-theme='dark'] .brand-name,[data-theme='dark'] .brand-sub{color:#fff}
.brand-system-footer .brand-name,.brand-system-footer .brand-sub,.brand-system-offcanvas .brand-name,.brand-system-offcanvas .brand-sub{color:#fff}
.brand-system-footer .brand-mark{height:54px}
.brand-system-offcanvas .brand-mark{height:56px}
.brand-system-offcanvas{gap:12px}
.brand-system-offcanvas .brand-name{font-size:18px}
.brand-wrap{max-width:none}.navbar-brand{max-width:240px}
.header-shell{gap:1.25rem}
.navbar-nav .nav-link{font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:500;letter-spacing:.14em;color:var(--ink)}
.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active{color:var(--gold)}
.dropdown-item,.site-footer a,.footer-bottom,.link-arrow,.section-kicker,.eyebrow{font-family:Inter,system-ui,sans-serif}
.dropdown-item{font-weight:500}
.dropdown-item small{font-weight:400}
.content-card .lead{font-size:1.18rem;line-height:1.95;font-weight:400;letter-spacing:.01em;color:var(--ink)}
.contact-box p,.hero p,.manifesto p,.project-card p{font-size:15px;line-height:1.8}
.footer-top{padding-bottom:20px}
.footer-brand{display:flex;align-items:center}
.footer-links{align-items:center;justify-content:flex-end;row-gap:10px;column-gap:18px}
.footer-links a{font-size:11px;font-weight:600;letter-spacing:.14em}
.site-footer .footer-bottom{font-size:12px}
.site-footer .footer-bottom span:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
@media (max-width:991.98px){
  .navbar-brand{max-width:200px}
  .brand-mark{height:52px}
  .brand-name{font-size:18px}
  .brand-sub{font-size:8px}
  .footer-top,.footer-bottom{text-align:center}
  .footer-brand{justify-content:center;width:100%}
  .footer-links{justify-content:center;width:100%}
}
@media (max-width:575.98px){
  .navbar-brand{max-width:176px}
  .brand-system{gap:10px}
  .brand-mark{height:46px}
  .brand-name{font-size:15px;letter-spacing:.18em}
  .brand-sub{font-size:7px;letter-spacing:.22em}
  .footer-links{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;text-align:center}
  .footer-links a{justify-self:center}
  .site-footer .footer-bottom span:last-child{justify-content:center}
}

/* v4 minor refinement: full logo mark + elegant menu only */
.brand-mark{height:58px}
.brand-system-footer .brand-mark{height:52px}
.brand-system-offcanvas .brand-mark{height:54px}
.navbar-nav .nav-link{
  font-family:'Cormorant Garamond',serif;
  font-size:17px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.dropdown-toggle::after{margin-left:.35rem;vertical-align:.15em}
.content-card .lead{
  font-size:1.05rem;
  line-height:1.85;
  font-weight:400;
  letter-spacing:0;
}
@media (max-width:1199.98px){
  .navbar-nav .nav-link{font-size:15px;letter-spacing:.05em}
}
@media (max-width:991.98px){
  .brand-mark{height:50px}
}
@media (max-width:575.98px){
  .brand-mark{height:44px}
}

/* v5 card alignment + refined menu naming style */
.references-mini .row{align-items:stretch}
.references-mini .row>[class*=col-]{display:flex}
.references-mini .project-card{display:flex;flex-direction:column;width:100%;height:100%}
.references-mini .project-card img{width:100%;height:190px;object-fit:cover}
.references-mini .project-card h3{min-height:44px;margin-bottom:8px}
.references-mini .project-card .meta{min-height:22px;margin-bottom:8px}
.references-mini .project-card p{min-height:58px;margin-bottom:18px}
.references-mini .project-card .link-arrow{margin-top:auto;align-self:flex-start}
.navbar-nav .nav-link{
  font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
@media(max-width:575.98px){
  .references-mini .project-card img{height:220px}
  .references-mini .project-card h3,.references-mini .project-card .meta,.references-mini .project-card p{min-height:0}
}

/* v6 elegant dropdown hover refinement */
.premium-dropdown{
  background:var(--paper);
  border:1px solid rgba(255,255,255,.10);
}
.premium-dropdown .dropdown-item{
  background:transparent;
  border-radius:6px;
  transition:background-color .18s ease,color .18s ease,padding-left .18s ease;
}
.premium-dropdown .dropdown-item:hover,
.premium-dropdown .dropdown-item:focus,
.premium-dropdown .dropdown-item.active,
.premium-dropdown .dropdown-item:active{
  background:rgba(255,255,255,.06) !important;
  color:var(--gold) !important;
  padding-left:10px;
}
.premium-dropdown .dropdown-item:hover small,
.premium-dropdown .dropdown-item:focus small,
.premium-dropdown .dropdown-item.active small,
.premium-dropdown .dropdown-item:active small{
  color:rgba(255,255,255,.70);
}
[data-theme='light'] .premium-dropdown{
  border-color:rgba(6,27,52,.10);
}
[data-theme='light'] .premium-dropdown .dropdown-item:hover,
[data-theme='light'] .premium-dropdown .dropdown-item:focus,
[data-theme='light'] .premium-dropdown .dropdown-item.active,
[data-theme='light'] .premium-dropdown .dropdown-item:active{
  background:rgba(6,27,52,.045) !important;
}
[data-theme='light'] .premium-dropdown .dropdown-item:hover small,
[data-theme='light'] .premium-dropdown .dropdown-item:focus small,
[data-theme='light'] .premium-dropdown .dropdown-item.active small,
[data-theme='light'] .premium-dropdown .dropdown-item:active small{
  color:var(--muted);
}

/* v7 references page and removed secondary pages */
.reference-metrics{background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.metric{padding:34px 18px;border-right:1px solid var(--line)}
.metric:last-child{border-right:0}.metric strong{display:block;font-family:'Cormorant Garamond',serif;font-size:48px;line-height:1;color:var(--ink);font-weight:500}.metric span{display:block;margin-top:12px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:700}
.reference-scope-row{align-items:stretch}.reference-scope-card{height:100%;background:var(--paper);border:1px solid var(--line);padding:34px;transition:transform .2s ease,box-shadow .2s ease}.reference-scope-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.reference-scope-card span{font-size:11px;letter-spacing:.22em;color:var(--gold);font-weight:800}.reference-scope-card h3{font-family:'Cormorant Garamond',serif;font-size:34px;font-weight:500;margin:18px 0 12px}.reference-scope-card p{color:var(--muted);line-height:1.8;margin:0}.reference-list{border-top:1px solid var(--line)}.reference-row{display:grid;grid-template-columns:72px 220px minmax(0,1fr) 240px;gap:28px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}.reference-index{font-family:'Cormorant Garamond',serif;font-size:38px;color:var(--gold)}.reference-image img{width:100%;height:135px;object-fit:cover;display:block}.reference-content h3{font-size:20px;text-transform:uppercase;letter-spacing:.14em;font-weight:700;margin:0 0 8px}.reference-content p{color:var(--muted);line-height:1.7;margin:0}.reference-meta{display:grid;gap:10px;text-align:right}.reference-meta span{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:700}.references-hero img{height:430px;object-fit:cover}
@media(max-width:991.98px){.reference-row{grid-template-columns:52px 160px minmax(0,1fr);gap:18px}.reference-meta{grid-column:2 / -1;text-align:left;display:flex;flex-wrap:wrap;gap:14px}.metric{border-right:0;border-bottom:1px solid var(--line)}.metric:nth-last-child(-n+1){border-bottom:0}.references-hero img{height:320px}}
@media(max-width:575.98px){.reference-row{grid-template-columns:1fr}.reference-index{font-size:30px}.reference-image img{height:210px}.reference-meta{grid-column:auto;text-align:left}.reference-content h3{font-size:18px}.reference-scope-card{padding:26px}.metric strong{font-size:40px}}

/* v8 final page/admin fixes */
.detail-gallery-img{height:220px;object-fit:cover;display:block}
.filterbar{justify-content:flex-start!important}
@media(max-width:575.98px){.detail-gallery-img{height:210px}}

/* v10 mobile project tabs + fixed LTR + aligned footer */
html[dir="ltr"], body{direction:ltr!important}
body.rtl{direction:ltr!important}
@media(max-width:767.98px){
  .filterbar{display:block!important;padding:14px;overflow:hidden}
  .filterbar .project-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overflow-y:hidden;
    gap:10px!important;
    padding-bottom:4px;
    margin:0 -2px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }
  .filterbar .project-tabs .btn{
    flex:0 0 auto;
    white-space:nowrap;
    min-width:max-content;
    padding:12px 16px;
  }
  .filterbar .project-tabs::-webkit-scrollbar{height:4px}
  .filterbar .project-tabs::-webkit-scrollbar-thumb{background:rgba(6,27,52,.25);border-radius:999px}
}
@media(max-width:991.98px){
  .site-footer .footer-top,
  .site-footer .footer-bottom{text-align:left!important;align-items:flex-start!important}
  .site-footer .footer-brand{justify-content:flex-start!important;width:100%}
  .site-footer .footer-links{justify-content:flex-start!important;width:100%;text-align:left!important}
}
@media(max-width:575.98px){
  .site-footer .footer-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:start!important;text-align:left!important}
  .site-footer .footer-links a{justify-self:start!important;text-align:left!important}
  .site-footer .footer-bottom span:last-child{justify-content:flex-start!important}
  .brand-system-footer{justify-content:flex-start!important}
}

/* v15 final logo + spacing reset */
.brand-mark-wrap{
  width:64px!important;
  height:64px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  flex:0 0 64px!important;
}
.brand-mark{
  width:64px!important;
  height:64px!important;
  max-width:64px!important;
  max-height:64px!important;
  object-fit:contain!important;
  display:block!important;
}
[data-theme='light'] .brand-mark-dark{display:none!important}
[data-theme='light'] .brand-mark-light{display:block!important}
[data-theme='dark'] .brand-mark-light{display:none!important}
[data-theme='dark'] .brand-mark-dark{display:block!important}
.brand-system-footer .brand-mark-wrap,
.brand-system-offcanvas .brand-mark-wrap{width:58px!important;height:58px!important;flex-basis:58px!important}
.brand-system-footer .brand-mark,
.brand-system-offcanvas .brand-mark{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important}
.page-hero{padding:94px 0 70px!important}
@media(max-width:991.98px){
  .page-hero{padding:94px 0 70px!important}
  .brand-mark-wrap{width:58px!important;height:58px!important;flex-basis:58px!important}
  .brand-mark{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important}
}
@media(max-width:575.98px){
  .page-hero{padding:84px 0 62px!important}
  .brand-mark-wrap{width:50px!important;height:50px!important;flex-basis:50px!important}
  .brand-mark{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important}
  .brand-system-footer .brand-mark-wrap,
  .brand-system-offcanvas .brand-mark-wrap{width:50px!important;height:50px!important;flex-basis:50px!important}
  .brand-system-footer .brand-mark,
  .brand-system-offcanvas .brand-mark{width:50px!important;height:50px!important;max-width:50px!important;max-height:50px!important}
}
.footer-social{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}
.footer-social .brand-line{margin-right:4px}
.footer-social a{display:inline-flex!important;align-items:center!important;gap:7px!important;color:rgba(255,255,255,.78)!important;text-decoration:none!important;font-size:12px!important;letter-spacing:.08em!important;text-transform:none!important}
.footer-social a:hover{color:#fff!important}
.footer-social i{font-size:15px!important}
[data-theme='dark'] .filterbar{border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.025)!important}
[data-theme='dark'] .filterbar .btn-outline-secondary{border-color:rgba(255,255,255,.16)!important;color:rgba(255,255,255,.62)!important;background:transparent!important}
[data-theme='dark'] .filterbar .btn-outline-secondary:hover{border-color:rgba(255,255,255,.30)!important;color:#fff!important;background:rgba(255,255,255,.05)!important}

/* v20 reference page: editorial capability collage */
.reference-editorial{background:#061727;color:#fff;display:grid;grid-template-columns:32% 68%;min-height:calc(100vh - 96px);border-top:1px solid rgba(255,255,255,.08)}
.reference-editorial-rail{padding:clamp(34px,4.5vw,64px);display:flex;flex-direction:column;justify-content:space-between;gap:48px;background:linear-gradient(90deg,#071722 0%,#071722 72%,rgba(7,23,34,.88) 100%);position:relative;z-index:2}
.reference-eyebrow{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.58);margin-bottom:28px;font-weight:500}.reference-editorial h1{font-family:Inter,system-ui,sans-serif;font-size:clamp(52px,6.2vw,104px);line-height:.88;letter-spacing:-.035em;font-weight:650;margin:0 0 28px}.reference-editorial h1 span{color:#b99b54}.reference-line{width:42px;height:1px;background:#b99b54;margin:0 0 28px}.reference-editorial p{color:rgba(255,255,255,.78);font-size:16px;line-height:1.65;margin:0}.reference-stats{display:grid;gap:40px}.reference-stat i{font-size:44px;color:#b99b54;display:block;margin-bottom:20px}.reference-stat strong{font-family:Inter,system-ui,sans-serif;font-size:clamp(48px,5vw,76px);line-height:1;letter-spacing:-.04em;color:#b99b54;font-weight:650;display:block}.reference-stat span{display:block;color:rgba(255,255,255,.80);font-size:15px;margin-top:10px}.reference-rail-footer{display:grid;gap:22px}.reference-mark-row{display:flex;align-items:center;gap:16px;margin:8px 0 8px}.reference-mark-row img{width:52px;height:52px;object-fit:contain}.reference-mark-row b{display:block;letter-spacing:.24em;font-size:22px;font-weight:500}.reference-mark-row small{display:block;letter-spacing:.24em;font-size:9px;color:#b99b54;margin-top:6px}.reference-collage{display:grid;grid-template-columns:1.25fr .95fr .9fr;grid-auto-rows:minmax(230px,1fr);gap:2px;background:#081522}.collage-item{position:relative;overflow:hidden;background:#0b1d2d}.collage-item img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.88) contrast(1.02);transition:transform .7s ease}.collage-item:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.18));pointer-events:none}.collage-item:hover img{transform:scale(1.035)}.collage-wide{grid-column:1 / span 2}.collage-tall{grid-row:1 / span 2}.reference-system{background:var(--cream)}.reference-system .reference-scope-card{background:transparent;box-shadow:none}.reference-system .reference-scope-card:hover{box-shadow:none;transform:none}
@media(max-width:991.98px){.reference-editorial{grid-template-columns:1fr}.reference-editorial-rail{padding:42px 28px}.reference-collage{grid-template-columns:1fr 1fr;grid-auto-rows:210px}.collage-wide{grid-column:1 / -1}.collage-tall{grid-row:auto}.reference-stats{grid-template-columns:1fr 1fr;gap:22px}.reference-stat strong{font-size:44px}.reference-stat i{font-size:32px}}
@media(max-width:575.98px){.reference-editorial{min-height:auto}.reference-editorial-rail{gap:34px;padding:38px 24px}.reference-editorial h1{font-size:58px}.reference-editorial p{font-size:15px}.reference-stats{grid-template-columns:1fr}.reference-collage{grid-template-columns:1fr;grid-auto-rows:230px}.collage-wide{grid-column:auto}.reference-mark-row b{font-size:18px}.reference-mark-row img{width:46px;height:46px}}

/* v21: project detail editorial collage, theme-aware */
.project-editorial-detail{
  display:grid;
  grid-template-columns:32% 68%;
  min-height:calc(100vh - 96px);
  background:var(--cream);
  color:var(--ink);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
[data-theme='dark'] .project-editorial-detail{
  background:var(--navy);
  color:#fff;
}
.project-detail-rail{
  padding:clamp(34px,4.6vw,66px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:46px;
  border-right:1px solid var(--line);
  background:linear-gradient(90deg,var(--cream) 0%,var(--cream) 78%,rgba(255,255,255,.18) 100%);
}
[data-theme='dark'] .project-detail-rail{
  background:linear-gradient(90deg,var(--navy) 0%,var(--navy) 76%,rgba(255,255,255,.025) 100%);
  border-right-color:rgba(255,255,255,.10);
}
.detail-eyebrow{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:24px;
  font-weight:500;
}
.project-detail-rail h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(56px,6vw,104px);
  line-height:.90;
  font-weight:400;
  letter-spacing:-.02em;
  margin:0 0 26px;
}
.project-detail-line{
  width:44px;
  height:1px;
  background:var(--gold);
  margin:0 0 26px;
}
.project-detail-intro{
  color:var(--muted);
  line-height:1.75;
  font-size:16px;
  max-width:420px;
  margin:0;
}
[data-theme='dark'] .project-detail-intro,
[data-theme='dark'] .detail-eyebrow{
  color:rgba(255,255,255,.70);
}
.project-detail-metrics{
  display:grid;
  gap:24px;
}
.project-detail-metric{
  padding-top:24px;
  border-top:1px solid var(--line);
}
[data-theme='dark'] .project-detail-metric{border-top-color:rgba(255,255,255,.12)}
.project-detail-metric span{
  display:block;
  font-size:10px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:10px;
  font-weight:600;
}
[data-theme='dark'] .project-detail-metric span{color:rgba(255,255,255,.58)}
.project-detail-metric strong{
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(30px,3.3vw,50px);
  line-height:1;
  font-weight:500;
  color:var(--gold);
}
.project-detail-meta{
  display:grid;
  gap:12px;
}
.project-detail-meta span{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
[data-theme='dark'] .project-detail-meta span{color:rgba(255,255,255,.68)}
.project-detail-meta i{color:var(--gold);font-size:15px}
.project-detail-collage{
  display:grid;
  grid-template-columns:1.25fr .95fr .9fr;
  grid-auto-rows:minmax(220px,1fr);
  gap:10px;
  padding:10px;
  background:var(--paper);
}
[data-theme='dark'] .project-detail-collage{
  background:rgba(255,255,255,.035);
}
.pd-collage-item{
  position:relative;
  overflow:hidden;
  margin:0;
  background:var(--paper);
}
.pd-collage-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:saturate(.92) contrast(1.02);
  transition:transform .7s ease;
}
.pd-collage-item:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.12));
  pointer-events:none;
}
.pd-collage-item:hover img{transform:scale(1.035)}
.pd-collage-wide{grid-column:1 / span 2}
.pd-collage-tall{grid-row:1 / span 2}
.project-overview-card{background:var(--paper)}
[data-theme='dark'] .project-overview-card{background:rgba(255,255,255,.035)}
@media(max-width:991.98px){
  .project-editorial-detail{grid-template-columns:1fr;min-height:auto}
  .project-detail-rail{border-right:0;border-bottom:1px solid var(--line);padding:48px 28px;gap:34px}
  [data-theme='dark'] .project-detail-rail{border-bottom-color:rgba(255,255,255,.10)}
  .project-detail-collage{grid-template-columns:1fr 1fr;grid-auto-rows:210px;gap:8px;padding:8px}
  .pd-collage-wide{grid-column:1 / -1}
  .pd-collage-tall{grid-row:auto}
  .project-detail-metrics{grid-template-columns:repeat(3,1fr);gap:18px}
}
@media(max-width:575.98px){
  .project-detail-rail{padding:42px 24px}
  .project-detail-rail h1{font-size:58px;line-height:.94}
  .project-detail-intro{font-size:15px;line-height:1.75}
  .project-detail-metrics{grid-template-columns:1fr;gap:18px}
  .project-detail-collage{grid-template-columns:1fr;grid-auto-rows:230px;gap:6px;padding:6px}
  .pd-collage-wide{grid-column:auto}
}


/* v22 refinements: typography + project detail cleanup */
:root{--editorial-serif:'Cormorant Garamond',serif;--editorial-sans:Inter,system-ui,sans-serif;}
body{font-family:var(--editorial-sans);font-weight:400;}
.eyebrow,.section-kicker,.link-arrow,.navbar-nav .nav-link,.footer-links a,.reference-meta span,.meta,small.text-uppercase{font-family:var(--editorial-sans)!important;}
.navbar-nav .nav-link{font-size:11.5px!important;letter-spacing:.18em!important;font-weight:500!important;text-transform:uppercase;}
.hero-copy{padding:88px 9% 82px 12%!important;}
.hero h1{font-family:var(--editorial-serif)!important;font-size:clamp(48px,5.2vw,84px)!important;line-height:.94!important;font-weight:400!important;letter-spacing:-.02em!important;max-width:8.2ch;}
.hero p{font-size:16px!important;line-height:1.9!important;max-width:500px;color:var(--muted)!important;}
.page-hero h1,.manifesto h2,.cta-band h2,.project-detail-rail h1,.font-serif.display-5{font-family:var(--editorial-serif)!important;font-weight:400!important;letter-spacing:-.015em!important;}
.page-hero h1{font-size:clamp(48px,5vw,80px)!important;line-height:.94!important;}
.project-card h3,.study-card h3{font-family:var(--editorial-serif)!important;font-size:20px!important;font-weight:400!important;letter-spacing:-.01em!important;text-transform:none!important;}
.project-card .meta,.project-grid-card .meta,.reference-content h3,.project-grid-card small,.project-detail-meta span{font-size:11px!important;letter-spacing:.18em!important;font-weight:500!important;}
.project-card p,.project-detail-intro,.content-card .lead{font-size:16px!important;line-height:1.85!important;font-weight:400!important;color:var(--muted)!important;}
.project-editorial-detail{grid-template-columns:minmax(360px,34%) minmax(0,66%)!important;min-height:auto!important;}
.project-detail-rail{padding:60px 56px!important;gap:36px!important;}
.project-detail-rail h1{font-size:clamp(54px,5.2vw,92px)!important;max-width:6.3ch;margin-bottom:22px!important;}
.project-detail-intro{max-width:460px!important;}
.project-detail-metrics{gap:16px!important;}
.project-detail-metric{padding-top:18px!important;}
.project-detail-metric strong{font-size:clamp(28px,3vw,42px)!important;}
.project-detail-collage{grid-template-columns:1.2fr .85fr!important;grid-template-rows:minmax(250px,36vh) minmax(220px,28vh) minmax(220px,28vh)!important;grid-auto-rows:auto!important;gap:12px!important;padding:12px!important;min-height:100%!important;align-content:stretch!important;}
.pd-collage-wide{grid-column:1!important;grid-row:1 / span 3!important;}
.pd-collage-tall{grid-column:2!important;grid-row:1!important;}
.pd-collage-item:nth-child(3){grid-column:2!important;grid-row:2!important;}
.pd-collage-item:nth-child(4){grid-column:2!important;grid-row:3!important;}
.pd-collage-item:nth-child(n+5){display:none!important;}
.section-line .stat{display:none!important;}
.project-approach-card{background:transparent!important;border:1px solid var(--line)!important;padding:38px!important;}
[data-theme='dark'] .project-approach-card{background:rgba(255,255,255,.02)!important;border-color:rgba(255,255,255,.1)!important;}
@media(max-width:991.98px){
  .hero-copy{padding:64px 28px 56px!important;}
  .hero h1{font-size:clamp(56px,12vw,72px)!important;max-width:7ch;}
  .page-hero h1{font-size:clamp(46px,10vw,64px)!important;}
  .project-editorial-detail{grid-template-columns:1fr!important;}
  .project-detail-rail{padding:48px 28px!important;border-right:0!important;border-bottom:1px solid var(--line)!important;}
  .project-detail-collage{grid-template-columns:1fr 1fr!important;grid-template-rows:240px 180px 180px!important;}
  .pd-collage-wide{grid-column:1 / -1!important;grid-row:1!important;}
  .pd-collage-tall{grid-column:1!important;grid-row:2 / span 2!important;}
  .pd-collage-item:nth-child(3){grid-column:2!important;grid-row:2!important;}
  .pd-collage-item:nth-child(4){grid-column:2!important;grid-row:3!important;}
  .pd-collage-item:nth-child(n+5){display:none!important;}
}
@media(max-width:575.98px){
  .hero-copy{padding:52px 24px 44px!important;}
  .eyebrow{font-size:11px!important;letter-spacing:.24em!important;margin-bottom:18px!important;}
  .hero h1{font-size:58px!important;line-height:.94!important;max-width:6.5ch;}
  .hero p{font-size:15px!important;line-height:1.85!important;max-width:100%;}
  .link-arrow{font-size:11px!important;letter-spacing:.19em!important;padding-bottom:8px!important;}
  .page-hero{padding:72px 0 56px!important;}
  .page-hero h1,.detail-hero-copy h1{font-size:48px!important;line-height:.95!important;}
  .project-detail-rail{padding:40px 24px!important;gap:28px!important;}
  .project-detail-rail h1{font-size:46px!important;max-width:7ch;}
  .project-detail-metrics{display:none!important;}
  .project-detail-collage{grid-template-columns:1fr!important;grid-template-rows:260px 200px 200px!important;gap:8px!important;padding:8px!important;}
  .pd-collage-wide,.pd-collage-tall,.pd-collage-item:nth-child(3),.pd-collage-item:nth-child(4){grid-column:auto!important;grid-row:auto!important;}
}


/* v23 recovery: cleaner layout and corrected editorial typography */
.hero h1 em,
.page-hero h1 em,
.project-detail-rail h1 em,
.manifesto h2 em,
.cta-band h2 em,
.font-serif em,
.project-card h3 em{
  font-style:normal !important;
  font-weight:400 !important;
}
.hero h1,
.page-hero h1,
.project-detail-rail h1,
.manifesto h2,
.cta-band h2,
.font-serif.display-5,
.reference-scope-card h3{
  font-family:'Cormorant Garamond',serif !important;
  font-style:normal !important;
  font-weight:400 !important;
  letter-spacing:-.02em !important;
}
.hero h1{font-size:clamp(46px,4.8vw,78px) !important;line-height:.96 !important;max-width:7.4ch !important;}
.page-hero h1{font-size:clamp(44px,4.6vw,72px) !important;line-height:.97 !important;}
.hero p,.text-muted-custom,.project-detail-intro,.content-card .lead,.project-card p,.study-card p{font-family:Inter,system-ui,sans-serif !important;font-size:15.5px !important;line-height:1.85 !important;color:var(--muted) !important;}
.eyebrow,.section-kicker,.link-arrow,.navbar-nav .nav-link,.footer-links a,.project-grid-card small,.project-grid-card .meta,.project-detail-meta span,.detail-eyebrow{
  font-family:Inter,system-ui,sans-serif !important;
  text-transform:uppercase !important;
  letter-spacing:.18em !important;
  font-weight:500 !important;
}
.navbar-nav .nav-link{font-size:11px !important;}
.link-arrow{font-size:11px !important;}
.project-grid-card h3{
  font-family:'Cormorant Garamond',serif !important;
  font-size:22px !important;
  line-height:1.05 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
  font-weight:400 !important;
}
.project-editorial-detail{
  display:grid !important;
  grid-template-columns:minmax(340px,33%) minmax(0,67%) !important;
  min-height:auto !important;
}
.project-detail-rail{
  padding:56px 48px !important;
  gap:32px !important;
}
.project-detail-rail h1{
  font-size:clamp(52px,5vw,84px) !important;
  line-height:.94 !important;
  max-width:6.6ch !important;
  margin-bottom:18px !important;
}
.project-detail-line{margin-bottom:18px !important;}
.project-detail-intro{max-width:420px !important;}
.project-detail-metrics{display:grid !important;grid-template-columns:1fr !important;gap:14px !important;}
.project-detail-metric strong{font-size:30px !important;}
.project-detail-visuals{
  display:grid;
  grid-template-rows:minmax(420px, 1fr) auto;
  gap:12px;
  padding:12px;
  background:var(--paper);
}
[data-theme='dark'] .project-detail-visuals{background:rgba(255,255,255,.03);}
.pd-main-visual,.pd-gallery-item{margin:0;overflow:hidden;background:var(--paper);}
[data-theme='dark'] .pd-main-visual,[data-theme='dark'] .pd-gallery-item{background:rgba(255,255,255,.04);}
.pd-main-visual img,.pd-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;}
.pd-main-visual img{min-height:420px;}
.pd-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.pd-gallery-item{height:220px;}
/* Hide old collage rules in favor of new structure */
.project-detail-collage,.pd-collage-item,.pd-collage-wide,.pd-collage-tall{all:unset;}
.project-approach-card{padding:34px !important;background:var(--paper) !important;border:1px solid var(--line) !important;}
[data-theme='dark'] .project-approach-card{background:rgba(255,255,255,.03) !important;border-color:rgba(255,255,255,.1) !important;}
.section-line .stat{display:none !important;}
@media(max-width:991.98px){
  .project-editorial-detail{grid-template-columns:1fr !important;}
  .project-detail-rail{padding:42px 28px !important;}
  .project-detail-visuals{padding:8px !important;gap:8px !important;}
  .pd-main-visual img{min-height:340px;}
  .pd-gallery-grid{grid-template-columns:repeat(3,1fr);gap:8px;}
  .pd-gallery-item{height:140px;}
  .hero h1{font-size:clamp(52px,10.5vw,68px) !important;}
}
@media(max-width:575.98px){
  .hero h1{font-size:54px !important;line-height:.98 !important;max-width:6.8ch !important;}
  .page-hero h1{font-size:44px !important;}
  .project-detail-rail{padding:36px 22px !important;gap:24px !important;}
  .project-detail-rail h1{font-size:42px !important;max-width:7.2ch !important;}
  .project-detail-intro,.content-card .lead,.hero p{font-size:15px !important;line-height:1.82 !important;}
  .pd-main-visual img{min-height:280px;}
  .pd-gallery-grid{grid-template-columns:1fr;}
  .pd-gallery-item{height:190px;}
}


/* v24 final: remove all italic emphasis and fix admin/header display consistency */
em, i:not(.bi){font-style:normal !important;}
.hero h1 em,.page-hero h1 em,.manifesto h2 em,.cta-band h2 em,.font-serif em,.project-detail-rail h1 em{font-style:normal !important;font-weight:inherit !important;}
.hero h1,.page-hero h1,.project-detail-rail h1,.manifesto h2,.cta-band h2,.font-serif.display-5{font-style:normal !important;}
/* Header logo stable size */
.brand-mark-wrap{width:64px !important;height:64px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;overflow:visible !important;}
.brand-mark{width:64px !important;height:64px !important;object-fit:contain !important;display:block !important;}
.brand-system-footer .brand-mark-wrap{width:56px !important;height:56px !important;}
.brand-system-footer .brand-mark{width:56px !important;height:56px !important;}
@media(max-width:575.98px){.brand-mark-wrap{width:54px !important;height:54px !important}.brand-mark{width:54px !important;height:54px !important}}


/* v25 final heading simplification + stable project detail layout */
:root{
  --heading-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body,
button,
input,
select,
textarea{
  font-family: var(--body-font) !important;
}
.font-serif,
.hero h1,
.page-hero h1,
.detail-hero-copy h1,
.project-detail-rail h1,
.manifesto h2,
.cta-band h2,
.font-serif.display-5,
.project-card h3,
.study-card h3,
.project-grid-card h3,
.reference-scope-card h3,
.reference-content h3,
.metric strong,
.stat strong,
.contact-box h2,
.content-card h2,
.content-card h3{
  font-family: var(--heading-font) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: -.03em !important;
}
.hero h1 em,
.page-hero h1 em,
.detail-hero-copy h1 em,
.project-detail-rail h1 em,
.manifesto h2 em,
.cta-band h2 em,
.project-card h3 em,
.study-card h3 em,
.project-grid-card h3 em,
.font-serif em{
  font-style: normal !important;
  font-weight: inherit !important;
}
.hero h1{
  font-size: clamp(42px, 4.8vw, 72px) !important;
  line-height: 1.02 !important;
  max-width: 9.5ch !important;
  letter-spacing: -.045em !important;
}
.page-hero h1,
.detail-hero-copy h1,
.project-detail-rail h1{
  font-size: clamp(38px, 4.2vw, 60px) !important;
  line-height: 1.03 !important;
  max-width: 10ch !important;
  letter-spacing: -.04em !important;
}
.manifesto h2,
.cta-band h2,
.font-serif.display-5,
.reference-scope-card h3{
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.08 !important;
}
.project-card h3,
.study-card h3,
.project-grid-card h3,
.reference-content h3{
  font-size: 18px !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
}
.eyebrow,
.section-kicker,
.detail-eyebrow,
.link-arrow,
.navbar-nav .nav-link,
.footer-links a,
.project-grid-card small,
.project-grid-card .meta,
.project-detail-meta span,
.project-card .meta,
.reference-meta span{
  font-family: var(--body-font) !important;
  font-size: 11px !important;
  letter-spacing: .18em !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}
.hero p,
.page-hero p,
.text-muted-custom,
.project-detail-intro,
.content-card .lead,
.project-card p,
.study-card p,
.reference-content p,
.contact-box p{
  font-family: var(--body-font) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
}
/* stable project detail layout */
.project-editorial-detail{
  display: grid !important;
  grid-template-columns: minmax(320px, 34%) minmax(0, 66%) !important;
  align-items: stretch !important;
  min-height: auto !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--line) !important;
}
.project-detail-rail{
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 52px 40px !important;
  gap: 28px !important;
  border-right: 1px solid var(--line) !important;
}
.project-detail-line{
  width: 56px !important;
  height: 1px !important;
  background: var(--gold) !important;
  margin: 20px 0 22px !important;
}
.project-detail-intro{max-width: 460px !important;}
.project-detail-metrics{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
.project-detail-metric{
  padding-top: 14px !important;
  border-top: 1px solid var(--line) !important;
}
.project-detail-metric span{
  display:block !important;
  margin-bottom:10px !important;
  font-size:11px !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  color: var(--muted) !important;
}
.project-detail-metric strong{
  display:block !important;
  font-family: var(--heading-font) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.project-detail-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:14px 18px !important;
}
.project-detail-meta span{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
}
.project-detail-visuals{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  padding:12px !important;
  min-width:0 !important;
  background: var(--paper) !important;
}
[data-theme='dark'] .project-detail-visuals{
  background: rgba(255,255,255,.02) !important;
}
.pd-main-visual,
.pd-gallery-item{
  overflow:hidden !important;
  background: var(--paper) !important;
  margin:0 !important;
}
.pd-main-visual img,
.pd-gallery-item img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.pd-main-visual{
  height: 560px !important;
}
.pd-gallery-grid{
  display:grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap:12px !important;
}
.pd-gallery-item{
  height: 210px !important;
}
@media (max-width: 991.98px){
  .hero h1{font-size: clamp(40px, 8vw, 58px) !important;}
  .page-hero h1,
  .detail-hero-copy h1,
  .project-detail-rail h1{font-size: clamp(34px, 6vw, 48px) !important;}
  .project-editorial-detail{
    grid-template-columns: 1fr !important;
  }
  .project-detail-rail{
    padding: 40px 28px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }
  .project-detail-visuals{
    padding: 8px !important;
    gap: 8px !important;
  }
  .pd-main-visual{height: 400px !important;}
  .pd-gallery-grid{gap: 8px !important;}
  .pd-gallery-item{height: 150px !important;}
}
@media (max-width: 575.98px){
  .hero h1{font-size: 36px !important; line-height:1.06 !important; max-width: 11ch !important;}
  .page-hero h1,
  .detail-hero-copy h1,
  .project-detail-rail h1{font-size: 32px !important; line-height:1.08 !important; max-width: none !important;}
  .manifesto h2,
  .cta-band h2,
  .font-serif.display-5,
  .reference-scope-card h3{font-size: 28px !important;}
  .project-detail-rail{padding: 34px 22px !important; gap: 22px !important;}
  .project-detail-metrics{grid-template-columns: 1fr !important;}
  .project-detail-intro,
  .hero p,
  .content-card .lead,
  .project-card p,
  .study-card p{font-size: 14px !important;}
  .pd-main-visual{height: 260px !important;}
  .pd-gallery-grid{grid-template-columns: 1fr !important;}
  .pd-gallery-item{height: 170px !important;}
}


/* v26 requested: smaller/lighter typography + classic project detail */
.hero h1,
.page-hero h1,
.detail-hero-copy h1,
.project-detail-rail h1,
.manifesto h2,
.cta-band h2,
.font-serif.display-5,
.project-card h3,
.study-card h3,
.project-grid-card h3,
.reference-content h3,
.reference-scope-card h3,
.info-item .font-serif,
.contact-box h2{
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
}
.hero h1 em,
.page-hero h1 em,
.detail-hero-copy h1 em,
.project-detail-rail h1 em,
.manifesto h2 em,
.cta-band h2 em,
.font-serif em{font-style:normal !important;font-weight:inherit !important;}
.hero h1{font-size:clamp(38px,4.2vw,62px) !important;line-height:1.06 !important;max-width:10ch !important;}
.page-hero h1,.detail-hero-copy h1{font-size:clamp(34px,3.6vw,52px) !important;line-height:1.08 !important;max-width:11ch !important;}
.manifesto h2,.cta-band h2,.font-serif.display-5{font-size:clamp(27px,2.5vw,36px) !important;line-height:1.13 !important;}
.project-card h3,.study-card h3,.project-grid-card h3,.reference-content h3{font-size:17px !important;line-height:1.2 !important;font-weight:400 !important;letter-spacing:-.02em !important;text-transform:none !important;}
.info-item .font-serif{font-size:22px !important;line-height:1.2 !important;}
body,.hero p,.page-hero p,.text-muted-custom,.content-card .lead,.project-card p,.study-card p,.detail-hero-copy p{font-weight:300 !important;font-size:14.5px !important;line-height:1.85 !important;}
.eyebrow,.section-kicker,.link-arrow,.navbar-nav .nav-link,.footer-links a,.project-card .meta,.project-grid-card .meta,.project-grid-card small,.reference-meta span,.meta{font-weight:400 !important;font-size:10.5px !important;letter-spacing:.18em !important;}
/* disable newer editorial detail layout if old selectors remain anywhere */
.project-editorial-detail,.project-detail-visuals,.pd-main-visual,.pd-gallery-grid,.pd-gallery-item{display:revert;}
/* classic detail page stability */
.detail-hero{display:grid !important;grid-template-columns:38% 62% !important;min-height:560px !important;overflow:hidden !important;}
.detail-hero-copy{padding:64px 10% !important;justify-content:center !important;}
.detail-hero-img{min-height:560px !important;background-size:cover !important;background-position:center !important;}
.project-detail-gallery img{height:260px !important;object-fit:cover !important;display:block !important;}
.project-approach-card{background:var(--paper) !important;border:1px solid var(--line) !important;padding:34px !important;}
[data-theme='dark'] .project-approach-card{background:rgba(255,255,255,.03) !important;border-color:rgba(255,255,255,.1) !important;}
@media(max-width:991.98px){
  .detail-hero{grid-template-columns:1fr !important;min-height:auto !important;}
  .detail-hero-copy{padding:48px 28px !important;}
  .detail-hero-img{min-height:360px !important;order:0 !important;}
  .project-detail-gallery img{height:220px !important;}
}
@media(max-width:575.98px){
  .hero h1{font-size:34px !important;line-height:1.08 !important;}
  .page-hero h1,.detail-hero-copy h1{font-size:30px !important;line-height:1.12 !important;max-width:none !important;}
  .manifesto h2,.cta-band h2,.font-serif.display-5{font-size:26px !important;}
  body,.hero p,.page-hero p,.text-muted-custom,.content-card .lead,.project-card p,.study-card p,.detail-hero-copy p{font-size:14px !important;}
  .detail-hero-copy{padding:38px 22px !important;}
  .detail-hero-img{min-height:280px !important;}
  .project-detail-gallery img{height:190px !important;}
}


/* v28 dark-mode visibility + refined project metrics */
[data-theme='dark'] .eyebrow,
[data-theme='dark'] .section-kicker,
[data-theme='dark'] .detail-eyebrow,
[data-theme='dark'] .meta,
[data-theme='dark'] .project-card .meta,
[data-theme='dark'] .project-grid-card .meta,
[data-theme='dark'] .project-grid-card small,
[data-theme='dark'] .link-arrow,
[data-theme='dark'] .navbar-nav .nav-link,
[data-theme='dark'] .footer-links a{
  color: rgba(246,242,234,.82) !important;
}
[data-theme='dark'] .link-arrow{border-color: rgba(246,242,234,.55) !important;}
[data-theme='dark'] .text-white-50{color: rgba(255,255,255,.62) !important;}
[data-theme='dark'] .hero-copy:after{color: rgba(255,255,255,.035) !important;}

.project-metric-band{padding:34px 0;border-bottom:1px solid var(--line);background:var(--paper);}
.project-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.project-metric-card{border:1px solid var(--line);padding:30px 32px;background:transparent;min-height:210px;display:flex;flex-direction:column;justify-content:flex-start;}
.project-metric-card strong{display:block;font-family:Inter,system-ui,sans-serif;font-size:clamp(42px,4vw,64px);font-weight:500;line-height:1;letter-spacing:-.04em;color:var(--gold);margin-bottom:16px;}
.project-metric-card p{max-width:34ch;margin:0;color:var(--muted);font-size:15px;line-height:1.7;}
[data-theme='dark'] .project-metric-band{background:transparent;}
[data-theme='dark'] .project-metric-card{background:rgba(255,255,255,.02);}

.detail-hero-img{background-position:center center !important;}
.project-detail-gallery img{display:block;width:100%;height:280px;object-fit:cover;}
@media(max-width:991.98px){
  .project-metric-grid{grid-template-columns:1fr;}
  .project-metric-card{min-height:auto;padding:26px 24px;}
}
@media(max-width:575.98px){
  .project-metric-card strong{font-size:38px;}
  .project-detail-gallery .col-md-4{width:100%;}
  .project-detail-gallery img{height:200px;margin-bottom:12px;}
}


/* v29 project detail cleanup + dark-title fixes */
.detail-hero-copy{justify-content:flex-start !important;padding-top:88px !important;padding-bottom:72px !important;}
.detail-summary{max-width:470px;font-size:17px;line-height:1.78;margin-top:26px;margin-bottom:0;}
.detail-meta-bottom{margin-top:auto;padding-top:34px;}
.detail-meta-bottom .meta{font-size:17px;letter-spacing:.01em;text-transform:none;color:var(--ink);}
.detail-meta-bottom .meta i{color:var(--ink);}
.detail-hero-img{background-position:center center !important;background-repeat:no-repeat !important;}
.project-detail-gallery img{width:100%;height:280px;object-fit:cover;display:block;}
.project-detail-gallery .col-md-4:first-child img{content-visibility:auto;}

/* remove obsolete metric styles visually if any cached markup remains */
.project-metric-band{display:none !important;}

/* stronger dark mode visibility for headings and small titles */
[data-theme='dark'] .hero h1,
[data-theme='dark'] .page-hero h1,
[data-theme='dark'] .detail-hero-copy h1,
[data-theme='dark'] .section-pad h2,
[data-theme='dark'] .font-serif,
[data-theme='dark'] .project-card h3,
[data-theme='dark'] .study-card h3{color:var(--ink) !important;}
[data-theme='dark'] .hero .eyebrow,
[data-theme='dark'] .detail-hero .eyebrow,
[data-theme='dark'] .page-hero .eyebrow,
[data-theme='dark'] .section-kicker,
[data-theme='dark'] .detail-eyebrow{color:rgba(246,242,234,.78) !important;}
[data-theme='dark'] .detail-meta-bottom .meta,
[data-theme='dark'] .detail-meta-bottom .meta i,
[data-theme='dark'] .text-muted-custom{color:var(--muted) !important;}

@media(max-width:991.98px){
  .detail-hero-copy{padding-top:56px !important;padding-bottom:48px !important;}
  .detail-summary{font-size:16px;margin-top:18px;}
  .detail-meta-bottom{padding-top:24px;}
}
@media(max-width:575.98px){
  .detail-hero-copy h1{font-size:52px !important;line-height:.96 !important;}
  .detail-meta-bottom .meta{font-size:15px;}
  .project-detail-gallery img{height:220px;}
}


/* v30: dark-mode labels + compact hero + inline project metrics */
html[data-theme='dark'] .eyebrow,
html[data-theme='dark'] .section-kicker,
html[data-theme='dark'] .detail-hero .eyebrow,
html[data-theme='dark'] .page-hero .eyebrow,
html[data-theme='dark'] .manifesto .eyebrow,
html[data-theme='dark'] .references-mini .section-kicker,
html[data-theme='dark'] .project-card .meta,
html[data-theme='dark'] .project-grid-card .meta,
html[data-theme='dark'] .project-grid-card small,
html[data-theme='dark'] .meta{
  color:#f6f2ea !important;
  opacity:1 !important;
}
html[data-theme='dark'] .hero h1,
html[data-theme='dark'] .page-hero h1,
html[data-theme='dark'] .detail-hero-copy h1,
html[data-theme='dark'] .manifesto h2,
html[data-theme='dark'] .section-pad h2,
html[data-theme='dark'] .font-serif{
  color:#f6f2ea !important;
}
html[data-theme='dark'] .hero p,
html[data-theme='dark'] .detail-summary,
html[data-theme='dark'] .text-muted-custom{
  color:rgba(246,242,234,.72) !important;
}
.hero h1{font-size:clamp(34px,3.8vw,56px) !important;line-height:1.08 !important;max-width:12ch !important;font-weight:400 !important;}
@media(max-width:575.98px){.hero h1{font-size:32px !important;line-height:1.1 !important;max-width:12ch !important;}}
.detail-mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px;padding-top:24px;border-top:1px solid var(--line);}
.detail-mini-metric{display:grid;grid-template-columns:28px 1fr;column-gap:12px;row-gap:4px;align-items:start;}
.detail-mini-metric i{grid-row:1 / span 2;font-size:20px;color:var(--gold) !important;margin-top:2px;}
.detail-mini-metric span{font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:500;}
.detail-mini-metric strong{font-family:Inter,system-ui,sans-serif;font-size:22px;line-height:1;font-weight:500;color:var(--ink);letter-spacing:-.02em;}
html[data-theme='dark'] .detail-mini-metrics{border-color:rgba(246,242,234,.16);}
html[data-theme='dark'] .detail-mini-metric span{color:rgba(246,242,234,.65);}
html[data-theme='dark'] .detail-mini-metric strong{color:#f6f2ea;}
html[data-theme='dark'] .detail-meta-bottom .meta,
html[data-theme='dark'] .detail-meta-bottom .meta i{color:#f6f2ea !important;}
.project-metric-band{display:none !important;}
@media(max-width:575.98px){.detail-mini-metrics{grid-template-columns:1fr;gap:16px}.detail-mini-metric strong{font-size:20px;}}


/* v31 final project detail polish + hard dark-mode visibility */
.hero .hero-copy > h1{
  font-size:clamp(30px,3.2vw,48px) !important;
  line-height:1.12 !important;
  max-width:13ch !important;
  font-weight:350 !important;
  letter-spacing:-.035em !important;
}
@media(max-width:575.98px){.hero .hero-copy > h1{font-size:30px !important;line-height:1.14 !important;}}

.detail-hero-copy{padding-top:84px !important;}
.detail-summary{margin-top:22px !important;margin-bottom:0 !important;}
.detail-meta-bottom{margin-top:auto !important;padding-top:34px !important;}
.detail-meta-bottom > .meta{font-size:16px !important;line-height:1.4 !important;letter-spacing:.01em !important;text-transform:none !important;font-weight:400 !important;display:flex;align-items:center;}
.detail-meta-bottom > .meta + .meta{margin-top:14px !important;}
.detail-insights{margin-top:24px;padding-top:22px;border-top:1px solid var(--line);display:grid;gap:14px;max-width:480px;}
.detail-insight-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line);}
.detail-insight-item:last-child{border-bottom:0;}
.detail-insight-item i{width:42px;height:42px;border:1px solid var(--line);display:grid;place-items:center;font-size:17px;color:var(--gold) !important;}
.detail-insight-item small{display:block;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);font-weight:500;margin-bottom:6px;}
.detail-insight-item strong{display:block;font-family:Inter,system-ui,sans-serif;font-size:24px;line-height:1.05;font-weight:500;letter-spacing:-.02em;color:var(--ink);margin-bottom:6px;}
.detail-insight-item p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55;max-width:36ch;}
.detail-mini-metrics{display:none !important;}

/* hard override: all small headings remain visible in dark mode */
html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .detail-hero-copy,
html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .references-mini,
html[data-theme="dark"] .section-pad{
  color:#f6f2ea !important;
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .detail-hero .eyebrow,
html[data-theme="dark"] .page-hero .eyebrow,
html[data-theme="dark"] .hero-copy .eyebrow,
html[data-theme="dark"] .manifesto .eyebrow,
html[data-theme="dark"] .references-mini .section-kicker,
html[data-theme="dark"] .detail-eyebrow,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .project-card .meta,
html[data-theme="dark"] .project-grid-card .meta,
html[data-theme="dark"] .project-grid-card small{
  color:#ffffff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#ffffff !important;
}
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .detail-hero-copy h1,
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .manifesto h2,
html[data-theme="dark"] .section-pad h2,
html[data-theme="dark"] .font-serif,
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .study-card h3{
  color:#f6f2ea !important;
  -webkit-text-fill-color:#f6f2ea !important;
}
html[data-theme="dark"] .detail-summary,
html[data-theme="dark"] .hero p,
html[data-theme="dark"] .text-muted-custom,
html[data-theme="dark"] .content-card .lead,
html[data-theme="dark"] .detail-insight-item p{
  color:rgba(246,242,234,.72) !important;
  -webkit-text-fill-color:rgba(246,242,234,.72) !important;
}
html[data-theme="dark"] .detail-insights,
html[data-theme="dark"] .detail-insight-item,
html[data-theme="dark"] .detail-insight-item i{border-color:rgba(246,242,234,.16) !important;}
html[data-theme="dark"] .detail-insight-item small{color:rgba(246,242,234,.68) !important;-webkit-text-fill-color:rgba(246,242,234,.68) !important;}
html[data-theme="dark"] .detail-insight-item strong{color:#f6f2ea !important;-webkit-text-fill-color:#f6f2ea !important;}
html[data-theme="dark"] .detail-meta-bottom > .meta,
html[data-theme="dark"] .detail-meta-bottom > .meta i{color:#f6f2ea !important;-webkit-text-fill-color:#f6f2ea !important;}
@media(max-width:575.98px){
  .detail-insight-item{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:14px 0;}
  .detail-insight-item i{width:36px;height:36px;}
  .detail-insight-item strong{font-size:21px;}
}

/* v32 mobile project detail approach alignment */
@media (max-width: 991.98px){
  .project-approach-card{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .project-approach-card .lead{
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: var(--muted) !important;
  }
  .section-pad.section-line .col-lg-8{
    margin-top: 0 !important;
  }
}


/* v33 language/admin metrics + dark visibility hard fix */
.detail-insights{display:none!important;}
.detail-facts{
  margin-top:24px;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  max-width:460px;
}
.detail-fact-item{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  column-gap:14px;
  align-items:flex-start;
  padding:16px 0;
  border-top:1px solid var(--line);
}
.detail-fact-item i{
  width:30px;height:30px;
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--gold);
  font-size:18px;
}
.detail-fact-item span{
  display:block;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}
.detail-fact-item strong{
  display:block;
  font-family:Inter,system-ui,sans-serif!important;
  font-size:22px;
  line-height:1.15;
  font-weight:500;
  letter-spacing:-.02em;
  color:var(--ink);
  margin-bottom:6px;
}
.detail-fact-item p{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.55;
  max-width:34ch;
}
html[data-theme="dark"] .detail-fact-item{border-top-color:rgba(246,242,234,.16);}
html[data-theme="dark"] .detail-fact-item strong,
html[data-theme="dark"] .detail-fact-item i{color:#f6f2ea!important;-webkit-text-fill-color:#f6f2ea!important;}
html[data-theme="dark"] .detail-fact-item span,
html[data-theme="dark"] .detail-fact-item p{color:rgba(246,242,234,.72)!important;-webkit-text-fill-color:rgba(246,242,234,.72)!important;}

/* dark mode: every title and small heading stays visible */
html[data-theme="dark"] body,
html[data-theme="dark"] main,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .detail-hero-copy,
html[data-theme="dark"] .section-pad,
html[data-theme="dark"] .references-mini{
  color:#f6f2ea!important;
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .detail-eyebrow,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .project-card .meta,
html[data-theme="dark"] .project-grid-card .meta,
html[data-theme="dark"] .project-grid-card small,
html[data-theme="dark"] .mobile-label{
  color:rgba(246,242,234,.82)!important;
  -webkit-text-fill-color:rgba(246,242,234,.82)!important;
}
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .font-serif,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .detail-hero-copy h1,
html[data-theme="dark"] .manifesto h2,
html[data-theme="dark"] .cta-band h2,
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .study-card h3{
  color:#f6f2ea!important;
  -webkit-text-fill-color:#f6f2ea!important;
}
html[data-theme="dark"] p,
html[data-theme="dark"] .text-muted-custom,
html[data-theme="dark"] .detail-summary,
html[data-theme="dark"] .content-card .lead{
  color:rgba(246,242,234,.72)!important;
  -webkit-text-fill-color:rgba(246,242,234,.72)!important;
}
html[data-theme="dark"] .link-arrow{
  color:#f6f2ea!important;
  border-color:rgba(246,242,234,.55)!important;
}

/* mobile cleanup */
@media(max-width:575.98px){
  .detail-facts{gap:8px;margin-top:18px;}
  .detail-fact-item{grid-template-columns:30px minmax(0,1fr);padding:13px 0;column-gap:10px;}
  .detail-fact-item strong{font-size:19px;}
  .detail-fact-item p{font-size:13px;}
}


/* v34 mobile-only project detail slider */
.project-detail-mobile-slider{
  width:100%;
  overflow:hidden;
  border:0;
}
.project-detail-mobile-slider .carousel-item img{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
}
.project-detail-mobile-slider .carousel-control-prev,
.project-detail-mobile-slider .carousel-control-next{
  width:44px;
  opacity:.85;
}
.project-detail-mobile-slider .carousel-control-prev-icon,
.project-detail-mobile-slider .carousel-control-next-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  background-size:55%;
  background-color:rgba(6,27,52,.62);
}
.project-detail-mobile-slider .carousel-indicators{
  margin-bottom:10px;
}
.project-detail-mobile-slider .carousel-indicators [data-bs-target]{
  width:7px;
  height:7px;
  border-radius:50%;
  border:0;
  opacity:.45;
}
.project-detail-mobile-slider .carousel-indicators .active{
  opacity:1;
}
html[data-theme="dark"] .project-detail-mobile-slider .carousel-control-prev-icon,
html[data-theme="dark"] .project-detail-mobile-slider .carousel-control-next-icon{
  background-color:rgba(255,255,255,.28);
}
@media(max-width:575.98px){
  .project-detail-mobile-slider .carousel-item img{
    height:230px;
  }
}


/* v35 mobile project detail: main image directly under project title */
.detail-hero-mobile-img{
  display:none;
}
@media(max-width:991.98px){
  .detail-hero{
    display:block !important;
  }
  .detail-hero-img{
    display:none !important;
  }
  .detail-hero-mobile-img{
    display:block;
    width:100%;
    height:300px;
    margin:24px 0 22px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
  }
  .detail-summary{
    margin-top:0 !important;
  }
}
@media(max-width:575.98px){
  .detail-hero-mobile-img{
    height:240px;
    margin:20px 0 18px;
  }
}


/* v46 AJAX contact success panel */
.contact-success-panel{
  min-height:420px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border:1px solid var(--line);
  background:rgba(6,27,52,.035);
  padding:56px;
}
.contact-success-icon{
  width:54px;
  height:54px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  font-size:28px;
  margin-bottom:24px;
}
.contact-success-panel h3{
  font-size:34px;
  line-height:1.1;
  font-weight:500;
  margin:0 0 14px;
  color:var(--ink);
}
.contact-success-panel p{
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
  max-width:460px;
  margin:0;
}
[data-theme='dark'] .contact-success-panel{
  background:rgba(255,255,255,.04);
}
[data-theme='dark'] .contact-success-icon{
  background:#f6f2ea;
  color:#061b34;
}
@media(max-width:575.98px){
  .contact-success-panel{
    min-height:300px;
    padding:34px 24px;
  }
  .contact-success-panel h3{
    font-size:28px;
  }
}


/* v48 contact sending button polish */
.btn.is-sending,
.btn-navy.is-sending{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  pointer-events:none;
  opacity:1;
}
.btn-loader{
  width:16px;
  height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  display:inline-block;
  animation:veloraSpin .8s linear infinite;
}
@keyframes veloraSpin{
  to{transform:rotate(360deg);}
}
[data-theme='dark'] .btn-loader{
  border-color:rgba(6,27,52,.28);
  border-top-color:#061b34;
}
@media(max-width:575.98px){
  .btn.is-sending,
  .btn-navy.is-sending{
    width:100%;
  }
}
