
@font-face{font-family:VazirLocal;src:local("Vazirmatn"),local("Vazir");font-display:swap}
:root{--night:#07111d;--night-2:#0e2032;--ink:#17212f;--muted:#687383;--paper:#fffdf8;--cream:#f5f1e8;--line:#ddd5c6;--gold:#b89045;--gold-light:#e2ca98;--wine:#6f2535;--green:#168957;--blue:#3378c4;--radius:18px;--shadow:0 24px 70px rgba(7,17,29,.12);--shell:1180px;--font:VazirLocal,Tahoma,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}html{direction:rtl;scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.9}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input{font:inherit}.shell,.container{width:min(calc(100% - 40px),var(--shell));margin:auto}.skip-link{position:fixed;top:-70px;right:18px;z-index:9999;background:#fff;padding:10px 14px;border-radius:8px}.skip-link:focus{top:12px}.site-header{position:sticky;top:0;z-index:200;background:rgba(255,253,248,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(23,33,47,.09)}.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between}.identity{display:flex;align-items:center;gap:11px}.identity img{width:44px;height:44px}.identity span{display:grid;line-height:1.45}.identity b{font-size:15px}.identity small{font-size:10px;color:var(--muted)}.primary-nav{display:flex;align-items:center;gap:25px;font-size:12px}.primary-nav a{padding:9px 0;position:relative}.primary-nav a:hover,.primary-nav a.active{color:var(--wine)}.primary-nav a.active::after{content:"";position:absolute;right:0;left:0;bottom:3px;height:2px;background:var(--gold)}.primary-nav .nav-contact{padding:9px 15px;border:1px solid var(--gold);border-radius:999px}.nav-toggle{display:none;width:42px;height:42px;border:0;border-radius:50%;background:var(--night);padding:11px}.nav-toggle span{display:block;height:2px;background:#fff;margin:5px 0}.eyebrow,.overline{display:inline-flex;align-items:center;gap:8px;color:var(--wine);font-weight:800;font-size:11px;letter-spacing:.04em}.eyebrow::before,.overline::before{content:"";width:26px;height:1px;background:var(--gold)}
/* home */
.hero-v8{min-height:690px;background:linear-gradient(90deg,var(--paper) 0 56%,var(--night) 56%);overflow:hidden}.hero-v8-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:stretch;min-height:690px}.hero-v8-copy{padding:96px 70px 80px 0;display:flex;flex-direction:column;justify-content:center}.hero-v8 h1{font-size:clamp(3.2rem,6vw,6rem);line-height:1.14;margin:18px 0 24px;letter-spacing:-.055em;max-width:8ch}.hero-v8 h1 em{font-style:normal;color:var(--wine)}.hero-v8-copy>p{max-width:61ch;color:var(--muted);font-size:17px}.hero-v8-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 34px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 20px;border-radius:999px;font-weight:800;font-size:12px}.btn.dark{background:var(--night);color:#fff}.btn.outline{border:1px solid var(--line);background:#fff}.btn.gold{background:var(--gold);color:#15110b}.hero-v8-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:20px;max-width:620px}.hero-v8-facts div{padding:0 17px;border-right:1px solid var(--line)}.hero-v8-facts div:first-child{padding-right:0;border-right:0}.hero-v8-facts b,.hero-v8-facts span{display:block}.hero-v8-facts b{font-size:17px}.hero-v8-facts span{font-size:10px;color:var(--muted)}.hero-v8-media{position:relative;background:var(--night);padding:42px 0 42px 42px;display:grid;place-items:center}.hero-v8-media::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 65% 24%,rgba(184,144,69,.24),transparent 32%)}.hero-v8-media figure{position:relative;width:min(100%,430px);margin:0;border-radius:220px 220px 22px 22px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 35px 110px rgba(0,0,0,.4)}.hero-v8-media img{width:100%;aspect-ratio:4/5;object-fit:cover}.hero-v8-seal{position:absolute;right:-45px;bottom:52px;width:148px;height:148px;border-radius:50%;display:grid;place-items:center;text-align:center;background:var(--paper);border:9px solid var(--gold-light);box-shadow:var(--shadow);font-size:10px;color:var(--muted)}.hero-v8-seal b{display:block;color:var(--ink);font-size:23px;line-height:1}.section{padding:88px 0}.section.tinted{background:var(--cream)}.section.dark-section{background:var(--night);color:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.section-head h2{font-size:clamp(2rem,3.7vw,3.5rem);line-height:1.4;margin:7px 0}.section-head p{max-width:58ch;color:var(--muted)}.editorial-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-template-rows:1fr 1fr;gap:14px}.topic-tile{position:relative;min-height:230px;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.topic-tile:first-child{grid-row:1/3;min-height:474px;background:var(--night);color:#fff;border-color:var(--night)}.topic-tile .topic-no{font-size:11px;color:var(--gold);font-weight:800}.topic-tile svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin:26px 0}.topic-tile:first-child svg{width:64px;height:64px;color:var(--gold-light);margin-top:65px}.topic-tile h3{margin:0 0 8px;font-size:22px}.topic-tile:first-child h3{font-size:38px}.topic-tile p{margin:0;color:var(--muted);font-size:13px}.topic-tile:first-child p{color:#bcc7d5;max-width:33ch}.topic-arrow{position:absolute;left:22px;bottom:20px;color:var(--gold);font-size:24px}.split-feature{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.office-frame{position:relative}.office-frame img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:26px;box-shadow:var(--shadow)}.office-frame::after{content:"دفتر فردیس";position:absolute;right:-18px;bottom:-18px;background:var(--wine);color:#fff;padding:12px 20px;border-radius:999px;font-size:11px}.feature-copy h2{font-size:clamp(2.2rem,4vw,3.8rem);line-height:1.4;margin:10px 0}.feature-copy p{color:var(--muted)}.feature-list{display:grid;gap:10px;margin:25px 0}.feature-list div{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.feature-list b{min-width:120px}.feature-list span{color:var(--muted)}.article-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.article-strip a{position:relative;min-height:330px;padding:26px;border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);display:flex;flex-direction:column;background:rgba(255,255,255,.035)}.article-strip small{color:var(--gold-light)}.article-strip h3{font-size:21px;line-height:1.75}.article-strip p{color:#aeb9c7;font-size:13px}.article-strip strong{margin-top:auto;color:var(--gold-light);font-size:12px}
/* page heroes */
.page-hero{background:var(--night);color:#fff;padding:74px 0 82px;position:relative;overflow:hidden}.page-hero::after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(184,144,69,.24);border-radius:50%;left:-100px;top:-180px}.page-hero h1{font-size:clamp(2.7rem,5vw,5rem);line-height:1.3;margin:14px 0}.page-hero p{color:#bac5d2;max-width:70ch}.profile-v8{display:grid;grid-template-columns:.78fr 1.22fr;gap:55px;align-items:start}.profile-v8 figure{margin:0;position:sticky;top:100px}.profile-v8 figure img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:190px 190px 20px 20px}.profile-v8-content{padding-top:20px}.profile-v8-content h2{font-size:3rem;line-height:1.45}.profile-v8-content p{color:var(--muted)}.credential-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:28px}.credential-grid div{padding:20px;border:1px solid var(--line);border-radius:14px}.credential-grid b,.credential-grid span{display:block}.credential-grid span{font-size:12px;color:var(--muted)}
/* expertise */
.expertise-v8{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.expertise-v8-card{padding:30px;border:1px solid var(--line);border-radius:20px;background:#fff}.expertise-v8-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--night);color:var(--gold-light);margin-bottom:20px}.expertise-v8-icon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.expertise-v8-card h2{font-size:25px;margin:0 0 8px}.expertise-v8-card p{color:var(--muted)}
/* articles listing */
.knowledge-tools{position:sticky;top:72px;z-index:50;background:rgba(255,253,248,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:15px 0}.search-box{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;padding:0 18px;max-width:650px}.search-box input{height:50px;flex:1;border:0;outline:0;background:transparent}.knowledge-v8{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.knowledge-v8-card{min-height:300px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;display:flex;flex-direction:column}.knowledge-v8-card span{font-size:11px;color:var(--wine);font-weight:800}.knowledge-v8-card h2{font-size:19px;line-height:1.75}.knowledge-v8-card p{font-size:13px;color:var(--muted)}.knowledge-v8-card footer{margin-top:auto;border-top:1px solid var(--line);padding-top:15px;font-size:11px}
/* contact */
.contact-v8-hero{background:var(--night);color:#fff;padding:44px 0}.contact-v8-hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.contact-v8-hero h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:1.35}.contact-v8-hero p{color:#bac5d2}.contact-v8-hero figure{margin:0}.contact-v8-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:20px}.contact-v8-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:20px}.contact-hub{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.contact-action{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:14px;min-height:104px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:.2s}.contact-action:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.contact-action-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--night);color:#fff}.contact-action-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contact-action.wa .contact-action-icon{background:#1caa65}.contact-action.ig .contact-action-icon{background:linear-gradient(135deg,#7438a7,#e53f6f,#f4a63b)}.contact-action.map .contact-action-icon{background:#2871bd}.contact-action small,.contact-action b{display:block}.contact-action small{font-size:10px;color:var(--muted)}.contact-action b{font-size:14px}.contact-action .go{font-size:20px;color:var(--gold)}.office-v8-card{background:var(--night);color:#fff;border-radius:22px;padding:28px;position:sticky;top:100px}.office-v8-card p{color:#bdc7d3}.office-v8-card .route{display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:999px;background:var(--gold);color:#17120a;font-weight:800;margin:20px 0}.office-v8-note{padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;font-size:12px;color:#bdc7d3}
/* generic legal/method */
.legal-page,.prose-card,.content-card,.sidebar-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px}.legal-page h2,.content-card h2{font-size:26px;margin-top:35px}.legal-page p,.content-card p,.sidebar-card p{color:var(--muted)}
/* article */
.topbar{display:none}.breadcrumb{padding:18px 0;font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 6px}.article-hero{background:linear-gradient(135deg,var(--night),var(--night-2));color:#fff;padding:65px 0}.article-hero h1{font-size:clamp(2.4rem,4.8vw,4.6rem);line-height:1.35}.article-hero p{color:#bac5d2}.article-status{display:flex;gap:8px;flex-wrap:wrap}.article-status span{border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:6px 10px;font-size:10px}.reading-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.article-content{font-size:16px}.article-content .lead{font-size:18px;color:var(--ink)}.article-sidebar{display:grid;gap:12px;align-content:start;position:sticky;top:95px}.article-meta{display:flex;gap:14px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.key-points,.revision-box,.article-sources{padding:20px;background:var(--cream);border-radius:14px;margin:24px 0}.source-list{padding-right:20px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.related-grid a{padding:20px;border:1px solid var(--line);border-radius:14px}.related-grid span,.related-grid strong{display:block}.related-grid span{font-size:10px;color:var(--wine)}
/* footer */
.site-footer{background:#050b13;color:#fff;padding-top:55px}.footer-main{display:grid;grid-template-columns:1fr 1.5fr;gap:70px}.footer-brand{display:flex;gap:14px;align-items:flex-start}.footer-brand img{width:56px}.footer-brand b{font-size:18px}.footer-brand p{color:#98a5b5;font-size:12px}.footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.footer-columns h3{font-size:12px;color:var(--gold-light)}.footer-columns a{display:block;font-size:11px;color:#b9c3d0;padding:4px 0}.footer-bottom{margin-top:40px;padding:18px 0;border-top:1px solid rgba(255,255,255,.09);display:flex;justify-content:space-between;font-size:10px;color:#8390a0}.mobile-dock{display:none}
@media(max-width:900px){.primary-nav{position:fixed;inset:72px 0 auto 0;background:var(--paper);padding:18px 22px;display:grid;gap:0;border-bottom:1px solid var(--line);transform:translateY(-130%);transition:.25s;box-shadow:var(--shadow)}.primary-nav.open{transform:translateY(0)}.primary-nav a{padding:11px 0}.nav-toggle{display:block}.hero-v8{background:var(--paper)}.hero-v8-grid{grid-template-columns:1fr;min-height:0}.hero-v8-copy{padding:60px 0 40px}.hero-v8-media{padding:28px 0 45px}.hero-v8-media figure{max-width:360px}.hero-v8-seal{right:15px;width:120px;height:120px}.editorial-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.topic-tile:first-child{grid-column:1/3;grid-row:auto;min-height:330px}.split-feature,.profile-v8,.contact-v8-hero-grid,.contact-v8-grid{grid-template-columns:1fr}.profile-v8 figure,.office-v8-card{position:static}.article-strip,.knowledge-v8{grid-template-columns:repeat(2,1fr)}.reading-layout{grid-template-columns:1fr}.article-sidebar{position:static}.footer-main{grid-template-columns:1fr;gap:35px}}
@media(max-width:620px){body{font-size:15px;padding-bottom:66px}.shell,.container{width:calc(100% - 24px)}.header-inner{height:66px}.primary-nav{inset:66px 0 auto}.hero-v8-copy{padding:44px 0 32px}.hero-v8 h1{font-size:2.9rem;max-width:9ch}.hero-v8-copy>p{font-size:14px}.hero-v8-facts{grid-template-columns:1fr;gap:10px}.hero-v8-facts div{border-right:0;padding:8px 0;border-bottom:1px solid var(--line)}.hero-v8-media{margin:0 -12px;padding:25px 12px 38px}.hero-v8-media figure{max-width:310px}.hero-v8-seal{width:104px;height:104px;right:10px;bottom:30px}.section{padding:58px 0}.section-head{display:block}.editorial-grid{grid-template-columns:1fr}.topic-tile:first-child{grid-column:auto;min-height:290px}.topic-tile{min-height:190px;padding:21px}.topic-tile:first-child h3{font-size:30px}.topic-tile:first-child svg{margin-top:35px}.split-feature{gap:30px}.office-frame::after{right:8px;bottom:-14px}.feature-copy h2{font-size:2.35rem}.article-strip,.knowledge-v8,.expertise-v8,.contact-hub,.credential-grid,.related-grid{grid-template-columns:1fr}.article-strip a{min-height:260px}.page-hero{padding:52px 0}.page-hero h1{font-size:2.75rem}.profile-v8-content h2{font-size:2.3rem}.contact-v8-hero{padding:30px 0}.contact-v8-hero h1{font-size:2.55rem}.contact-v8-hero img{border-radius:14px}.contact-action{grid-template-columns:50px 1fr auto;min-height:92px;padding:14px}.contact-action b{font-size:12px}.legal-page,.prose-card,.content-card,.sidebar-card{padding:20px 16px}.article-hero{padding:42px 0}.article-hero h1{font-size:2.45rem}.footer-columns{grid-template-columns:1fr 1fr}.footer-bottom{display:grid;gap:4px}.mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);right:0;left:0;bottom:0;z-index:400;background:rgba(5,11,19,.98);border-top:1px solid rgba(255,255,255,.1);padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.mobile-dock a{color:#fff;display:grid;place-items:center;font-size:9px}.mobile-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.mobile-dock .wa{color:#6fe19f}}
@media(max-width:390px){.hero-v8 h1{font-size:2.55rem}.footer-columns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v9 final polish */
:root{--radius:22px;--shadow:0 24px 70px rgba(7,17,29,.10)}
body{font-size:16px;line-height:1.85}
.site-header{box-shadow:0 1px 0 rgba(23,33,47,.04)}
.primary-nav a{font-size:12.5px}
.btn{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(7,17,29,.13)}
.topic-tile,.article-strip a,.knowledge-v8-card,.expertise-v8-card{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.topic-tile:hover,.article-strip a:hover,.knowledge-v8-card:hover,.expertise-v8-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(7,17,29,.09);border-color:rgba(184,144,69,.52)}
.hero-v8-media img,.profile-v8 figure img{object-position:center 18%}
.contact-v8-hero img{object-position:center 28%}
.footer-columns a:hover{color:#fff}

@media(max-width:900px){
  .header-inner{gap:18px}
  .identity{margin-left:auto}
  .nav-toggle{flex:0 0 auto}
  .hero-v8-copy{text-align:right}
  .hero-v8 h1{max-width:10ch}
  .hero-v8-media figure{width:min(100%,390px)}
  .hero-v8-media img{object-position:center 16%}
  .contact-v8-hero-grid{gap:28px}
  .contact-v8-hero img{aspect-ratio:16/10;object-position:center 32%}
}

@media(max-width:620px){
  body{padding-bottom:58px;font-size:15px}
  .shell,.container{width:calc(100% - 32px)}
  .header-inner{height:72px}
  .identity{gap:10px}
  .identity img{width:48px;height:48px}
  .identity b{font-size:17px}
  .identity small{font-size:11px}
  .nav-toggle{width:48px;height:48px;padding:13px}
  .primary-nav{inset:72px 0 auto;padding:12px 20px 18px}
  .primary-nav a{font-size:14px;padding:13px 0}
  .hero-v8-copy{padding:48px 0 34px}
  .hero-v8 h1{font-size:clamp(2.7rem,13vw,3.35rem);line-height:1.22;letter-spacing:-.035em;max-width:9ch;margin:16px 0 20px}
  .hero-v8-copy>p{font-size:15px;line-height:2}
  .hero-v8-actions{margin:24px 0 28px;gap:10px}
  .btn{min-height:52px;padding-inline:22px;font-size:13px}
  .hero-v8-facts{grid-template-columns:repeat(3,1fr);gap:0;padding-top:17px}
  .hero-v8-facts div{border-bottom:0;border-right:1px solid var(--line);padding:0 10px;text-align:center}
  .hero-v8-facts div:first-child{border-right:0}
  .hero-v8-facts b{font-size:14px;white-space:nowrap}
  .hero-v8-facts span{font-size:9px}
  .hero-v8-media{margin:0 -16px;padding:24px 16px 42px}
  .hero-v8-media figure{max-width:none;width:100%;border-radius:180px 180px 22px 22px}
  .hero-v8-media img{aspect-ratio:4/5;object-position:center 12%}
  .hero-v8-seal{width:96px;height:96px;right:22px;bottom:22px;border-width:7px;font-size:8.5px}
  .hero-v8-seal b{font-size:20px}
  .section{padding:64px 0}
  .section-head{margin-bottom:26px}
  .section-head h2{font-size:2.35rem;line-height:1.45}
  .section-head p{font-size:14px;line-height:2}
  .editorial-grid{gap:14px}
  .topic-tile,.topic-tile:first-child{min-height:230px;padding:24px}
  .topic-tile:first-child{min-height:310px}
  .topic-tile svg{margin:24px 0}
  .topic-tile:first-child svg{margin-top:34px}
  .topic-tile h3{font-size:28px}
  .topic-tile:first-child h3{font-size:34px}
  .topic-tile p{font-size:14px;line-height:1.9}
  .split-feature{gap:36px}
  .office-frame img{aspect-ratio:4/3;object-position:center 32%;border-radius:22px}
  .feature-copy h2{font-size:2.45rem;line-height:1.48}
  .feature-copy p{font-size:14px;line-height:2}
  .feature-list div{align-items:flex-start}
  .feature-list b{min-width:92px}
  .dark-section .section-head .btn{margin-top:18px}
  .article-strip a{min-height:270px;padding:24px}
  .article-strip h3{font-size:23px}
  .page-hero{padding:56px 0}
  .page-hero h1{font-size:2.8rem;line-height:1.42}
  .profile-v8{gap:32px}
  .profile-v8 figure img{aspect-ratio:4/5;object-position:center 12%;border-radius:150px 150px 20px 20px}
  .profile-v8-content h2{font-size:2.45rem;line-height:1.5}
  .contact-v8-hero{padding:42px 0}
  .contact-v8-hero h1{font-size:2.8rem;line-height:1.45}
  .contact-v8-hero p{font-size:14px;line-height:2}
  .contact-v8-hero img{aspect-ratio:4/3;object-position:center 35%;border-radius:18px}
  .contact-hub{gap:10px}
  .contact-action{min-height:100px;padding:16px;border-radius:20px}
  .contact-action b{font-size:13px;overflow-wrap:anywhere}
  .office-v8-card{padding:26px 22px;border-radius:24px}
  .site-footer{padding-top:44px}
  .footer-main{gap:30px}
  .footer-brand{align-items:center}
  .footer-columns{grid-template-columns:repeat(3,1fr);gap:14px}
  .footer-columns h3{font-size:11px}
  .footer-columns a{font-size:10px;padding:5px 0}
  .footer-bottom{margin-top:28px;padding:15px 0 22px}
  .mobile-dock{grid-template-columns:repeat(3,1fr);padding:5px 8px calc(5px + env(safe-area-inset-bottom));min-height:58px}
  .mobile-dock a{font-size:8.5px;gap:1px}
  .mobile-dock svg{width:20px;height:20px}
}

@media(max-width:430px){
  .footer-columns{grid-template-columns:1fr 1fr;row-gap:22px}
  .hero-v8-facts{grid-template-columns:1fr;gap:8px}
  .hero-v8-facts div,.hero-v8-facts div:first-child{border-right:0;border-bottom:1px solid var(--line);padding:8px 0;text-align:right}
}

/* v9.1 — full-photo presentation: never crop primary personal images */
.hero-v8-media figure,
.profile-v8 figure,
.contact-v8-hero figure,
.office-frame{
  background:var(--night);
}
.hero-v8-media img,
.profile-v8 figure img,
.contact-v8-hero img,
.office-frame img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center center;
}
.hero-v8-media figure,
.profile-v8 figure,
.contact-v8-hero figure{
  overflow:hidden;
}
@media(max-width:900px){
  .hero-v8-media img,
  .profile-v8 figure img,
  .contact-v8-hero img,
  .office-frame img{
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center center;
  }
}
@media(max-width:620px){
  .hero-v8-media figure{width:100%;max-width:420px;margin-inline:auto}
  .hero-v8-media img,
  .profile-v8 figure img,
  .contact-v8-hero img,
  .office-frame img{
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center center;
  }
  .contact-v8-hero figure{border-radius:18px}
}
