:root{
  --ink:#1f1b18;--muted:#6e665f;--paper:#fff;--soft:#f6f1eb;--soft-2:#eee4da;--accent:#8b5e37;--accent-dark:#694426;--line:#e8ded4;--dark:#211a15;--shadow:0 20px 60px rgba(50,35,24,.10);--radius:26px;--container:1180px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Vazirmatn,Tahoma,Arial,sans-serif;line-height:1.85;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,textarea{font:inherit}.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}.topbar{background:var(--dark);color:#f5eee8;font-size:13px}.topbar-inner{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar a{font-weight:700}.topbar-label{opacity:.72}.mini-icon{margin-right:7px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(232,222,212,.72)}.nav-wrap{height:84px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:11px;margin-left:auto}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:14px;color:var(--accent);font-weight:900;letter-spacing:-1px;background:#faf7f4}.brand strong{display:block;font-size:18px;line-height:1.35}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.main-nav{display:flex;align-items:center;gap:4px}.main-nav a{padding:11px 12px;border-radius:12px;font-size:14px;transition:.2s}.main-nav a:hover,.main-nav a.active{background:var(--soft);color:var(--accent-dark)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:12px 19px;border:1px solid transparent;transition:.2s;cursor:pointer;font-weight:800}.header-cta{background:var(--dark);color:#fff;font-size:13px}.header-cta:hover,.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(87,55,30,.18)}.menu-toggle{display:none;border:0;background:none;padding:8px}.menu-toggle span{display:block;width:25px;height:2px;background:var(--ink);margin:5px}.hero{background:linear-gradient(135deg,#efe7df 0%,#fbf8f5 55%,#e9ddd1 100%);padding:58px 0 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;min-height:560px}.hero-copy{padding:30px 0 90px}.eyebrow{display:inline-block;color:var(--accent);font-size:13px;font-weight:900;letter-spacing:.02em;margin-bottom:12px}.hero h1,.page-hero h1{font-size:clamp(40px,5vw,68px);line-height:1.25;letter-spacing:-.045em;margin:0 0 22px}.hero h1 em{font-style:normal;color:var(--accent)}.hero-copy>p{font-size:18px;max-width:620px;color:#4f4842;margin:0 0 26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-primary{background:var(--accent);color:#fff}.btn-ghost{border-color:#bca994;background:rgba(255,255,255,.35)}.btn-light{background:#fff;color:var(--dark)}.btn-outline-light{border-color:rgba(255,255,255,.45);color:#fff}.btn-block{width:100%}.hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}.hero-meta span,.credential-list span{font-size:12px;padding:7px 11px;background:rgba(255,255,255,.58);border:1px solid rgba(255,255,255,.85);border-radius:999px}.hero-portrait{position:relative;align-self:end;min-height:530px;display:flex;align-items:flex-end;justify-content:center}.hero-portrait picture{position:relative;z-index:2;width:min(100%,520px)}.hero-portrait img{width:100%;height:530px;object-fit:cover;object-position:center 18%;border-radius:190px 190px 28px 28px;box-shadow:var(--shadow)}.portrait-halo{position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(255,255,255,.5);top:30px;left:50%;transform:translateX(-50%);filter:blur(.2px)}.portrait-note{position:absolute;z-index:3;bottom:24px;left:0;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.85);padding:14px 18px;border-radius:18px;box-shadow:0 12px 38px rgba(41,28,19,.12)}.portrait-note strong,.portrait-note span{display:block}.portrait-note span{font-size:11px;color:var(--muted)}.expertise-strip{position:relative;z-index:5;margin-top:-42px;background:rgba(255,255,255,.93);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow);border-radius:24px;padding:12px;display:grid;grid-template-columns:repeat(4,1fr)}.expertise-item{display:flex;align-items:center;gap:12px;padding:14px 15px;border-left:1px solid var(--line)}.expertise-item:last-child{border-left:0}.expertise-item strong,.expertise-item small{display:block}.expertise-item strong{font-size:14px}.expertise-item small{color:var(--muted);font-size:10px;line-height:1.7;margin-top:2px}.service-icon{width:45px;height:45px;flex:0 0 auto;border-radius:14px;display:grid;place-items:center;background:var(--soft);color:var(--accent)}.service-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.service-icon.large{width:58px;height:58px}.service-icon.large svg{width:34px;height:34px}.service-icon.xl{width:104px;height:104px;border-radius:30px}.service-icon.xl svg{width:56px;height:56px}.section{padding:92px 0}.section-soft{background:var(--soft)}.section-dark{background:var(--dark);color:#fff}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-head h2,.about-card h2,.contact-banner h2,.rich-copy h2,.resume-content h2,.service-detail h2{font-size:clamp(27px,3vw,40px);line-height:1.4;margin:0}.text-link{color:var(--accent-dark);font-weight:800;font-size:13px}.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.service-card{position:relative;border:1px solid var(--line);border-radius:22px;padding:26px;background:#fff;min-height:320px;display:flex;flex-direction:column}.service-card:hover{box-shadow:var(--shadow);transform:translateY(-4px);transition:.25s}.service-num{position:absolute;left:22px;top:20px;font-size:12px;color:#a99c90}.service-card h3,.service-card h2{font-size:20px;margin:25px 0 8px}.service-card p{color:var(--muted);font-size:14px;margin:0 0 24px}.service-card a{margin-top:auto;color:var(--accent-dark);font-weight:800;font-size:13px}.about-split{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}.about-card{padding:42px;border-radius:var(--radius);background:#fff;border:1px solid var(--line)}.about-card p,.rich-copy p{color:var(--muted);font-size:15px}.principles{display:grid;grid-template-columns:1fr 1fr;gap:14px}.principles>div{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}.principles b{color:var(--accent);font-size:22px}.principles strong,.principles small{display:block}.principles small{color:var(--muted);font-size:11px}.portfolio-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.portfolio-card{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden}.portfolio-visual{height:200px;position:relative;overflow:hidden;background-color:#eee}.portfolio-visual:before,.portfolio-visual:after{content:"";position:absolute}.portfolio-visual span{position:absolute;z-index:3;right:14px;top:14px;background:rgba(255,255,255,.9);padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}.visual-browser{background:linear-gradient(145deg,#c9b8a8,#eee3d8)}.visual-browser:before{inset:30px 40px;border-radius:10px;background:#fff;box-shadow:0 20px 28px rgba(39,27,20,.18)}.visual-browser:after{left:58px;right:58px;top:52px;height:70px;background:linear-gradient(#3b3129 0 12px,transparent 12px),linear-gradient(90deg,#8a5f3c 0 38%,#ded3c7 38%);border-radius:5px}.visual-classroom{background:linear-gradient(180deg,#e8dfd5,#c7b39e)}.visual-classroom:before{width:120px;height:74px;background:#f9f7f3;border:10px solid #5c4c40;top:32px;left:50%;transform:translateX(-50%)}.visual-classroom:after{width:82%;height:70px;bottom:-18px;left:9%;background:repeating-linear-gradient(90deg,#6d5b4d 0 24px,transparent 24px 38px);opacity:.72}.visual-interior{background:linear-gradient(90deg,#efe4d8 0 60%,#c8ad93 60%)}.visual-interior:before{width:54%;height:64%;left:10%;bottom:0;background:#f9f4ef;border-radius:10px 10px 0 0;box-shadow:80px -10px 0 -50px #8b5e37}.visual-interior:after{width:90px;height:90px;border-radius:50%;right:28px;bottom:26px;background:#9baa83}.visual-kitchen{background:linear-gradient(#e7d8c9 0 58%,#cfb99f 58%)}.visual-kitchen:before{left:18px;right:18px;bottom:28px;height:85px;background:repeating-linear-gradient(90deg,#f7f2ed 0 58px,#ae8b6f 58px 61px);box-shadow:0 -60px 0 -30px #8f694e}.visual-kitchen:after{width:94px;height:48px;background:#7b5d46;left:50%;bottom:12px;transform:translateX(-50%);border-radius:8px 8px 3px 3px}.visual-ai{background:radial-gradient(circle at 50% 45%,#b7d1d3 0 10%,transparent 11%),linear-gradient(145deg,#152434,#294e57)}.visual-ai:before{width:100px;height:100px;border:2px solid #d9eeee;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 40px #b6e3e7}.visual-ai:after{width:52px;height:52px;border:2px dashed #d9eeee;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}.visual-software{background:linear-gradient(145deg,#242321,#4b4641)}.visual-software:before{inset:30px;background:#17191c;border-radius:9px;box-shadow:inset 0 0 0 2px #6b645e}.visual-software:after{left:48px;right:48px;top:53px;height:68px;background:repeating-linear-gradient(180deg,#ba8b65 0 2px,transparent 2px 12px)}.portfolio-body{padding:20px}.portfolio-body h3,.portfolio-body h2{font-size:18px;margin:0 0 7px}.portfolio-body p{font-size:13px;color:var(--muted);margin:0}.content-note{margin-top:22px;border:1px dashed #cdbcae;background:#faf7f4;color:#766d65;padding:14px 16px;border-radius:14px;font-size:12px}.contact-banner{display:flex;align-items:center;justify-content:space-between;gap:30px}.section-dark .eyebrow{color:#d6b18e}.banner-actions{display:flex;gap:10px;flex-wrap:wrap}.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.article-card{padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff}.article-card>span{font-size:11px;color:var(--accent);font-weight:900}.article-card h3,.article-card h2{font-size:19px;line-height:1.65;margin:10px 0}.article-card p{font-size:13px;color:var(--muted)}.article-card a{font-size:12px;color:var(--accent-dark);font-weight:800}.article-placeholder{font-size:11px;background:var(--soft);padding:10px;border-radius:10px;color:#7c7168;margin-top:18px}.site-footer{background:#171311;color:#e8ded4;padding:58px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid h3{font-size:14px;color:#fff}.footer-grid a{display:block;font-size:13px;margin:8px 0;color:#d3c7bd}.footer-grid p{font-size:13px;max-width:560px;color:#bfb3aa}.footer-logo{margin-bottom:14px}.footer-logo .brand-mark{background:#2b211b;border-color:#493629}.footer-logo strong{color:#fff}.copyright{border-top:1px solid #332821;margin-top:34px;padding-top:18px;color:#8e8278;font-size:11px}.floating-contact{position:fixed;left:22px;bottom:22px;z-index:45;background:#fff;border:1px solid var(--line);box-shadow:0 12px 40px rgba(30,20,14,.18);padding:9px 13px 9px 9px;border-radius:999px;display:flex;align-items:center;gap:9px;font-size:11px}.floating-contact span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff}.page-hero{padding:88px 0;background:linear-gradient(135deg,var(--soft),#fff)}.page-hero h1{font-size:clamp(38px,5vw,62px);margin-bottom:16px}.page-hero p{max-width:760px;color:var(--muted);font-size:17px}.about-page-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center}.about-photo img{height:620px;width:100%;object-fit:cover;object-position:center 18%;border-radius:32px}.rich-copy h2{margin-bottom:18px}.credential-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.credential-list span{background:var(--soft)}.services-page{grid-template-columns:repeat(2,1fr)}.services-page .service-card{min-height:300px}.service-detail{display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:start;max-width:850px}.clean-list{padding:0;list-style:none;margin:24px 0}.clean-list li{padding:11px 0;border-bottom:1px solid var(--line)}.clean-list li:before{content:'✓';color:var(--accent);font-weight:900;margin-left:9px}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.filter-btn{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;cursor:pointer}.filter-btn.active{background:var(--dark);color:#fff;border-color:var(--dark)}.portfolio-full{grid-template-columns:repeat(3,1fr)}.portfolio-item[hidden]{display:none}.articles-page{grid-template-columns:repeat(3,1fr)}.resume-grid{display:grid;grid-template-columns:330px 1fr;gap:36px;align-items:start}.resume-card{position:sticky;top:116px;padding:20px;border:1px solid var(--line);border-radius:24px;background:#fff}.resume-card img{height:330px;width:100%;object-fit:cover;object-position:center 17%;border-radius:18px}.resume-card h2{margin:18px 0 2px}.resume-card p{color:var(--muted);font-size:13px}.resume-content>section{padding:0 0 40px}.resume-content h2{font-size:25px;border-bottom:1px solid var(--line);padding-bottom:12px}.timeline-item{border-right:2px solid var(--soft-2);padding:16px 22px 16px 0;position:relative}.timeline-item:before{content:'';width:10px;height:10px;border-radius:50%;background:var(--accent);position:absolute;right:-6px;top:24px}.timeline-item b{font-size:16px}.timeline-item p{color:var(--muted);font-size:13px;margin:4px 0 0}.contact-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:28px}.contact-info,.contact-form-card{border:1px solid var(--line);border-radius:24px;padding:30px}.contact-info{background:var(--soft)}.contact-info h2{margin-top:0}.contact-info>p{font-size:13px;color:var(--muted)}.contact-method{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin:10px 0}.contact-method>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f2e8de;color:var(--accent)}.contact-method small,.contact-method strong{display:block}.contact-method small{font-size:10px;color:var(--muted)}form label{display:block;font-size:12px;font-weight:800;margin-bottom:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}input,textarea{width:100%;margin-top:6px;border:1px solid #d9cec3;border-radius:13px;padding:12px 13px;background:#fff;outline:none}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(139,94,55,.08)}textarea{resize:vertical}.alert{padding:12px 14px;border-radius:12px;margin-bottom:16px;font-size:13px}.alert.success{background:#edf7ee;color:#2d6634}.alert.error{background:#fff0ee;color:#8a3026}.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.reveal{opacity:0;transform:translateY(18px);transition:.6s ease}.reveal.visible{opacity:1;transform:none}
@media (max-width:1050px){.header-cta{display:none}.main-nav a{padding-inline:9px}.hero-grid{grid-template-columns:1fr 1fr}.expertise-strip{grid-template-columns:1fr 1fr}.expertise-item:nth-child(2){border-left:0}.services-grid{grid-template-columns:1fr 1fr}.portfolio-grid{grid-template-columns:1fr 1fr}.portfolio-full{grid-template-columns:1fr 1fr}}
@media (max-width:820px){.topbar-label{display:none}.nav-wrap{height:72px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:72px;right:20px;left:20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.main-nav a{padding:12px}.brand{margin-left:auto}.hero{padding-top:25px}.hero-grid{grid-template-columns:1fr}.hero-copy{padding-bottom:28px}.hero-portrait{min-height:auto}.hero-portrait img{height:470px}.portrait-note{left:12px}.expertise-strip{margin-top:18px}.section{padding:66px 0}.about-split,.about-page-grid,.resume-grid,.contact-grid{grid-template-columns:1fr}.about-photo img{height:520px}.resume-card{position:static;max-width:430px}.contact-banner{align-items:flex-start;flex-direction:column}.articles-grid,.articles-page{grid-template-columns:1fr}.service-detail{grid-template-columns:1fr}.service-detail>div:first-child{display:none}}
@media (max-width:600px){.container{width:min(calc(100% - 24px),var(--container))}.topbar-inner{justify-content:center}.hero h1{font-size:37px}.hero-copy>p{font-size:15px}.hero-portrait img{height:410px;border-radius:120px 120px 24px 24px}.portrait-note{bottom:14px}.expertise-strip{grid-template-columns:1fr}.expertise-item{border-left:0;border-bottom:1px solid var(--line)}.expertise-item:last-child{border-bottom:0}.services-grid,.services-page,.portfolio-grid,.portfolio-full{grid-template-columns:1fr}.principles{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.form-row{grid-template-columns:1fr}.page-hero{padding:60px 0}.about-photo img{height:430px}.floating-contact b{display:none}.floating-contact{padding:8px}.floating-contact span{width:40px;height:40px}.footer-grid{grid-template-columns:1fr}.hero-meta{display:none}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}

/* Home v4 visual fixes */
.hero-portrait img{object-position:center 22%;}
.portrait-note{display:none!important;}
.floating-contact{left:18px!important;bottom:18px!important;display:flex!important;opacity:1!important;}
.floating-contact *{animation:none!important;}
.hero-grid{grid-template-columns:.95fr 1.05fr;}
.hero-portrait{justify-content:flex-end;}
.hero-portrait picture{width:min(100%,560px);}
.hero-portrait img{height:560px;border-radius:180px 180px 30px 30px;}
.services-grid .service-card{min-height:280px;}
@media(max-width:820px){
 .hero-grid{grid-template-columns:1fr;}
 .hero-portrait{justify-content:center;}
 .hero-portrait img{height:430px;}
}

/* =========================================================
   Home v6 — dark brand header + full-bleed photo hero
   ========================================================= */
:root{
  --header:#101214;
  --header-2:#16191c;
  --gold:#b58a4a;
  --gold-deep:#8a5b2e;
}

/* The new header is intentionally one dark, compact band. */
.topbar{display:none!important}
.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:linear-gradient(90deg,var(--header),var(--header-2));
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 28px rgba(0,0,0,.10);
  backdrop-filter:none;
}
.nav-wrap{height:76px;gap:20px}
.brand{margin-left:auto;color:#fff;min-width:190px}
.brand-mark{
  width:45px;height:45px;border:1px solid rgba(181,138,74,.45);
  border-radius:12px;background:rgba(181,138,74,.08);color:#d0a465;
}
.brand strong{color:#fff;font-size:18px}
.brand small{color:rgba(255,255,255,.58);font-size:10px}
.main-nav{gap:2px}
.main-nav a{color:rgba(255,255,255,.82);background:transparent;padding:10px 11px;font-size:13px;border-radius:0;position:relative}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.045)}
.main-nav a.active{color:#d7ae70;background:transparent}
.main-nav a.active:after{content:'';position:absolute;right:25%;left:25%;bottom:0;height:2px;border-radius:99px;background:#c99b58}
.header-actions{display:flex;align-items:center;gap:8px;margin-right:auto;direction:ltr}
.header-phone,.header-cta{height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;font-weight:800;font-size:12px;white-space:nowrap}
.header-phone{gap:8px;padding:0 14px;border:1px solid rgba(196,151,86,.70);color:#f4e7d4;background:rgba(181,138,74,.08)}
.header-phone:hover{background:rgba(181,138,74,.15)}
.header-phone-icon{font-size:15px;color:#d4a35e}
.header-cta{padding:0 15px;background:linear-gradient(135deg,#986735,#b38248);color:#fff;border:1px solid rgba(255,255,255,.06)}
.menu-toggle span{background:#fff}

/* Hero uses the approved personal photograph as the entire background.
   Copy is deliberately placed in the empty side of the image. */
.hero.hero-photo{
  position:relative;
  min-height:650px;
  padding:0 0 88px;
  overflow:visible;
  background:#d9c7b2;
  isolation:isolate;
}
.hero-bg-media{position:absolute;inset:0;z-index:-3;overflow:hidden}
.hero-bg-media img{width:100%;height:100%;object-fit:cover;object-position:center 45%;max-width:none}
.hero-soft-overlay{
  position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:linear-gradient(90deg,rgba(245,237,227,.25) 0%,rgba(245,237,227,.08) 38%,rgba(245,237,227,0) 62%);
}
.hero-stage{min-height:570px;display:flex;align-items:center;position:relative}
.hero-photo .hero-copy{
  width:min(520px,47%);
  margin-right:auto;
  margin-left:0;
  padding:44px 12px 110px;
  text-align:center;
  text-shadow:0 1px 0 rgba(255,255,255,.18);
}
.hero-photo .eyebrow{color:#81552d;margin-bottom:10px}
.hero-photo h1{font-size:clamp(44px,4.25vw,64px);line-height:1.28;letter-spacing:-.045em;margin:0 0 20px;color:#171412}
.hero-photo h1 em{color:#8b5e37}
.hero-photo .hero-copy>p{font-size:16px;line-height:2;max-width:540px;color:#332d28;margin:0 auto 24px}
.hero-photo .hero-actions{justify-content:center}
.hero-photo .btn{min-width:150px;border-radius:11px;padding:12px 18px}
.hero-photo .btn-primary{background:linear-gradient(135deg,#86572e,#a36c37);box-shadow:0 10px 26px rgba(78,47,24,.12)}
.hero-photo .btn-ghost{background:rgba(255,255,255,.50);border-color:rgba(91,64,44,.45);backdrop-filter:blur(6px)}
.hero-photo .hero-meta{justify-content:center;margin-top:23px;gap:7px}
.hero-photo .hero-meta span{background:rgba(255,255,255,.58);border-color:rgba(255,255,255,.74);backdrop-filter:blur(7px);color:#3e352f;font-size:10px;padding:6px 10px}

.hero-photo .expertise-strip{
  position:absolute;
  right:50%;
  transform:translateX(50%);
  bottom:-56px;
  width:min(calc(100% - 40px),var(--container));
  margin:0;
  padding:12px 14px;
  border-radius:20px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 18px 50px rgba(53,37,25,.13);
  backdrop-filter:blur(16px);
}
.hero-photo .expertise-item{min-height:82px;padding:9px 15px}
.hero-photo .expertise-item strong{font-size:14px}
.hero-photo .expertise-item small{font-size:10px;line-height:1.75;color:#716861;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-photo .service-icon{color:#9c6935}

/* Give the first section enough room for the overlapping expertise strip. */
.hero-photo + .section{padding-top:118px}

@media (max-width:1120px){
  .header-phone{display:none}
  .hero-photo .hero-copy{width:49%;padding-inline:0}
  .hero-photo h1{font-size:clamp(40px,4.5vw,56px)}
}

@media (max-width:900px){
  .nav-wrap{height:70px}
  .header-actions{margin-right:0}
  .header-cta{display:none}
  .menu-toggle{display:block;margin-right:auto}
  .main-nav{
    display:none;position:absolute;top:70px;right:14px;left:14px;
    background:#17191c;border:1px solid rgba(255,255,255,.10);border-radius:16px;
    padding:9px;box-shadow:0 22px 50px rgba(0,0,0,.25);flex-direction:column;align-items:stretch
  }
  .main-nav.open{display:flex}
  .main-nav a{padding:11px 13px;border-radius:9px}
  .main-nav a.active:after{display:none}

  .hero.hero-photo{min-height:auto;padding:0 0 0;background:#eee4d9}
  .hero-bg-media{position:relative;display:block;height:430px;z-index:0;background:#d8c5af}
  .hero-bg-media img{object-position:74% 43%}
  .hero-soft-overlay{display:none}
  .hero-stage{min-height:auto;display:block;background:linear-gradient(180deg,#f5eee6,#fff)}
  .hero-photo .hero-copy{width:100%;margin:0;padding:34px 14px 32px;text-align:center}
  .hero-photo h1{font-size:42px}
  .hero-photo .hero-copy>p{font-size:15px}
  .hero-photo .expertise-strip{
    position:relative;right:auto;transform:none;bottom:auto;width:min(calc(100% - 28px),var(--container));
    margin:-8px auto 0;grid-template-columns:1fr 1fr;border-radius:18px
  }
  .hero-photo + .section{padding-top:76px}
}

@media (max-width:600px){
  .brand{min-width:0}
  .brand small{display:none}
  .brand-mark{width:40px;height:40px}
  .brand strong{font-size:16px}
  .hero-bg-media{height:355px}
  .hero-bg-media img{object-position:72% 40%}
  .hero-photo h1{font-size:35px;line-height:1.35}
  .hero-photo .hero-copy{padding-top:28px}
  .hero-photo .hero-actions{gap:8px}
  .hero-photo .btn{min-width:0;flex:1;padding-inline:12px}
  .hero-photo .hero-meta{display:flex}
  .hero-photo .hero-meta span{font-size:9px}
  .hero-photo .expertise-strip{grid-template-columns:1fr;padding:8px 12px}
  .hero-photo .expertise-item{border-left:0;border-bottom:1px solid var(--line);min-height:72px}
  .hero-photo .expertise-item:last-child{border-bottom:0}
  .hero-photo + .section{padding-top:64px}
}
