:root{--emerald:#073522;--green:#082e21;--deep:#06291e;--deepest:#031d15;--gold:#e3b776;--gold-deep:#ad812d;--white:#fff;--ink:#092519;--muted:#65756b;--section:#f8f9f7;--radius:17px;--shadow:0 15px 35px rgba(8,31,24,.1);--type-text:#092519;--type-muted:#596a60;--type-on-dark:#fff;--type-gold:#e3b776}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;color:var(--ink);background:#fafbf9;font-family:var(--font-fa);-webkit-font-smoothing:antialiased}body.no-scroll{overflow:hidden}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e6b66c;outline-offset:3px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 112px));margin-inline:auto}
.site-header{height:69px;background:linear-gradient(110deg,#153c2a 0%,#062b1e 65%,#071f18 100%);position:relative;z-index:20;box-shadow:0 2px 9px rgba(0,0,0,.12)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;min-width:180px}.brand-mark{width:42px;height:44px;object-fit:contain}.brand-label{display:flex;flex-direction:column;gap:0;color:#fff}.brand-label strong{font-family:Georgia,serif;font-weight:500;font-size:30px;line-height:1.03;letter-spacing:.2px}.brand-label small{font-size:10px;color:var(--gold);letter-spacing:.1px;padding-top:6px}.desktop-navigation{display:flex;align-items:center;gap:26px;height:100%;white-space:nowrap;color:#fff;font-size:12px;font-weight:700}.nav-link{color:inherit;display:inline-flex;align-items:center;gap:6px;height:100%;background:none;border:0;padding:0;position:relative;white-space:nowrap}.nav-link.active:after{content:"";position:absolute;bottom:0;right:0;left:0;height:3px;border-radius:3px 3px 0 0;background:var(--gold)}.nav-link:hover{color:var(--gold)}.nav-chevron{width:13px;height:13px}.nav-dropdown{height:100%;position:relative}.nav-dropdown-panel{display:none;position:absolute;top:62px;right:-18px;background:#fff;border:1px solid #e4e7e4;border-radius:13px;padding:8px;min-width:190px;box-shadow:var(--shadow);color:var(--ink)}.nav-dropdown.open .nav-dropdown-panel,.nav-dropdown:focus-within .nav-dropdown-panel{display:flex;flex-direction:column}.nav-dropdown-panel a{padding:10px 13px;font-size:13px;border-radius:7px}.nav-dropdown-panel a:hover{background:#f4f0e8}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.call-link{display:flex;gap:8px;align-items:center;border:1px solid #c9a564;color:#fff;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:700;height:37px}.call-link svg{color:var(--gold);width:15px;height:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:11px;padding:11px 18px;font-size:13px;font-weight:700;border:1px solid transparent;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn svg{width:19px;height:19px}.btn-gold{background:linear-gradient(120deg,#f6d194 0%,#dfae62 100%);border-color:#dbb276;color:#1d251c;box-shadow:0 5px 18px rgba(13,23,13,.1)}.btn-gold:hover{box-shadow:0 8px 25px rgba(222,174,99,.25)}.header-consult{height:37px;padding-inline:16px;font-size:12px}.header-consult svg{order:-1;width:17px;height:17px}.mobile-menu-btn{display:none}
.hero{height:420px;position:relative;background:var(--emerald);isolation:isolate;overflow:hidden}.hero-photo{position:absolute;inset-block:0;left:0;width:64%;z-index:-2;background-image:url('/public/assets/images/hero-interior.webp');background-position:center center;background-size:cover}.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0%,rgba(6,42,29,.04) 42%,rgba(6,47,32,.93) 62%,#04331f 78%,#073523 100%)}.hero:after{content:"";position:absolute;right:-120px;top:-120px;width:400px;height:660px;transform:rotate(45deg);border:1px solid rgba(255,255,255,.045);box-shadow:0 0 0 75px rgba(0,0,0,.04),0 0 0 180px rgba(255,255,255,.012);pointer-events:none}.hero-inner{height:100%;display:flex;align-items:center;position:relative;z-index:1}.hero-copy{width:45%;text-align:right;color:#fff;padding-block:0 34px}.eyebrow{font-size:12px;letter-spacing:.1px;color:var(--gold-deep);font-weight:700;display:flex;align-items:center;gap:13px;margin:0 0 14px}.eyebrow span{display:inline-block;width:35px;height:1.5px;background:currentColor}.eyebrow-light{color:#dfb974;justify-content:flex-start}.hero h1{font-size:clamp(28px,3vw,39px);line-height:1.58;letter-spacing:-1.1px;font-weight:800;margin:0 0 14px;white-space:nowrap}.hero-desc{font-size:14px;line-height:2.05;max-width:470px;margin:0;color:#f2f4ee}.hero-buttons{display:flex;align-items:center;gap:16px;margin-top:24px}.btn-large{padding:12px 21px;min-height:46px;flex:1}.btn-outline-light{border:1px solid #f4e6d5;color:#fff;background:rgba(0,0,0,.06)}.btn-outline-light:hover{background:rgba(255,255,255,.08)}.services-overlap{position:relative;z-index:3;margin-top:-42px}.services-bar{min-height:108px;background:linear-gradient(135deg,#fff,#f6f6f4);border:1px solid rgba(223,223,223,.7);border-radius:16px;box-shadow:0 11px 28px rgba(10,25,14,.12);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;padding:14px 11px}.service-item{color:#141d17;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;padding:0 5px;border-left:1px solid #e7e7e4;transition:background .2s,transform .2s}.service-item:last-child{border-left:0}.service-item:hover{background:#f9f2e8;transform:translateY(-2px);border-radius:8px}.service-item svg{height:36px;width:36px;stroke:#af8740;stroke-width:1.35}.service-item span{font-size:12px;font-weight:800;white-space:nowrap}
.section-pad{padding-block:37px 86px}.about-section{display:grid;grid-template-columns:35% 65%;align-items:center;gap:25px;padding-top:29px;min-height:340px}.about-content{text-align:right;padding-right:7px}.about-content h2,.section-head h2,.magazine-section h2{font-size:clamp(24px,2.5vw,32px);line-height:1.52;letter-spacing:-.8px;margin:0 0 12px;color:#061f14}.about-content p:not(.eyebrow){font-size:14px;line-height:2.08;margin:0 0 20px;color:#2d372e;max-width:365px}.btn-outline-dark{color:#141d17;border-color:#aa874c;background:transparent;min-width:165px}.btn-outline-dark:hover{background:#fbf1df}.about-visual{border-radius:16px;overflow:hidden;box-shadow:0 1px 1px rgba(0,0,0,.05);height:310px}.about-visual img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block}
.details-section{background:#f4f6f2;padding:76px 0 82px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-head h2{margin:0}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.detail-card{background:#fff;border:1px solid #e9ece7;border-radius:15px;min-height:194px;padding:24px;transition:transform .2s,box-shadow .2s}.detail-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.detail-number{font:32px Georgia,serif;color:#b8904c;opacity:.6}.detail-card h3{font-size:18px;margin:10px 0}.detail-card p{font-size:12px;line-height:2;color:#54635a;margin:0}.projects-section{padding-top:75px}.hint{color:#7e8980;font-size:11px}.project-gallery{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}.project-card{position:relative;height:275px;border-radius:17px;overflow:hidden;background:#d0d5d0}.project-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-card:hover img{transform:scale(1.05)}.project-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.62))}.project-card span{position:absolute;bottom:18px;right:23px;color:white;font-size:16px;font-weight:700;z-index:1}.magazine-section{padding:32px 30px 45px;margin-bottom:70px;background:#f1f5f1;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:25px}.magazine-section h2{font-size:24px;margin:0 0 6px}.magazine-section p:not(.eyebrow){font-size:13px;color:#647267;margin:0}.site-footer{background:#062c20;color:#fff;padding:42px 0}.footer-inner{display:grid;grid-template-columns:1.4fr 1fr .7fr;gap:30px;align-items:center}.footer-brand{display:flex;gap:10px;align-items:center}.footer-brand img{width:70px;height:75px;object-fit:contain}.footer-brand strong{font:28px Georgia,serif}.footer-brand p,.footer-inner p,.footer-end{font-size:12px;color:#c7d1c8;line-height:2}.footer-inner h3{font-size:16px;margin:0 0 8px}.footer-link{border:0;background:transparent;color:#e5be77;font-size:13px;cursor:pointer;padding:0}.footer-end{direction:ltr;text-align:left}
.mobile-overlay,.mobile-navigation,.modal-backdrop,.consult-modal{z-index:50}.mobile-overlay,.modal-backdrop{position:fixed;inset:0;background:rgba(1,18,12,.67);backdrop-filter:blur(3px)}.mobile-overlay[hidden],.modal-backdrop[hidden],.consult-modal[hidden]{display:none!important}.mobile-navigation{position:fixed;right:0;top:0;bottom:0;width:min(325px,90%);background:#082e22;color:white;display:flex;flex-direction:column;padding:24px;gap:4px;transform:translateX(102%);transition:transform .3s;visibility:hidden}.mobile-navigation.is-open{transform:translateX(0);visibility:visible}.mobile-navigation a{padding:14px 8px;border-bottom:1px solid rgba(255,255,255,.09)}.mobile-navigation .btn{margin-top:20px}.drawer-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.drawer-top strong{font-size:23px}.drawer-top button,#consult-close{background:transparent;border:0;color:inherit;font-size:30px;line-height:1;width:37px;height:37px}.consult-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(590px,calc(100vw - 30px));max-height:min(91dvh,790px);overflow:auto;padding:28px;background:#fff;color:var(--ink);border-radius:20px;box-shadow:0 35px 110px rgba(0,0,0,.35);z-index:60}.consult-modal-head{display:flex;justify-content:space-between;align-items:flex-start}.consult-modal h2{font-size:26px;margin:0}.consult-modal .eyebrow{margin:0 0 5px}.consult-modal #consult-close{color:#2e3e31}.modal-intro{font-size:12px;line-height:2;color:#69746c;margin:14px 0 22px}.consult-modal form{display:grid;grid-template-columns:1fr 1fr;gap:17px}.consult-modal form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.consult-modal input,.consult-modal select,.consult-modal textarea{border:1px solid #d6ddd5;border-radius:9px;background:#fbfcfb;width:100%;padding:12px 13px;font-weight:400;font-size:13px;color:#142820}.consult-modal input:focus,.consult-modal select:focus,.consult-modal textarea:focus{border-color:#b99254}.consult-modal .full-field,.city-warning,.form-message{grid-column:1/-1}.form-message{margin:0;min-height:0;font-size:12px;color:#3b7249}.form-message.error{color:#b53e3e}.city-warning{background:#fbf0de;border:1px solid #e0c49a;padding:10px;color:#81633a;border-radius:9px;font-size:12px}.city-warning[hidden]{display:none}.demo-disclaimer{font-size:11px;color:#8a6b48;background:#fff8ec;padding:10px;border-radius:8px;line-height:1.8;margin:0;text-align:center}
@media(max-width:1180px){.container{width:min(1160px,calc(100% - 60px))}.desktop-navigation{gap:16px}.brand{min-width:auto}.brand-label strong{font-size:24px}.brand-mark{width:35px}.header-actions{gap:7px}.header-consult{padding-inline:10px}.hero-copy{width:49%}.service-item span{font-size:10px}.about-section{grid-template-columns:36% 64%}.about-content h2{font-size:27px}.about-content p:not(.eyebrow){font-size:12px}}
@media(max-width:950px){.desktop-navigation{display:none}.header-actions{margin-right:auto}.mobile-menu-btn{display:flex;width:37px;height:36px;border:1px solid rgba(255,255,255,.28);background:transparent;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px}.mobile-menu-btn span{height:2px;width:19px;background:#fff;border-radius:2px}.brand-label strong{font-size:25px}.hero{height:455px}.hero-photo{width:70%}.hero-shade{background:linear-gradient(90deg,rgba(6,42,29,.06),rgba(6,47,32,.66) 38%,#063824 73%)}.hero-copy{width:57%}.hero h1{font-size:32px}.services-bar{grid-template-columns:repeat(4,1fr);row-gap:0}.services-overlap{margin-top:-35px}.service-item{min-height:88px;border-bottom:1px solid #eaeae8}.service-item:nth-child(4){border-left:0}.service-item:nth-child(n+5){border-bottom:0}.service-item span{font-size:11px}.about-section{grid-template-columns:1fr 1.2fr}.about-visual{height:295px}.detail-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.container{width:calc(100% - 36px)}.site-header{height:66px}.header-inner{gap:12px}.brand-mark{width:32px;height:37px}.brand-label strong{font-size:23px}.brand-label small{font-size:8px;padding-top:3px}.header-actions{margin-right:auto}.header-consult{display:none}.call-link{width:38px;min-width:38px;padding:0;justify-content:center;height:36px}.call-link span{display:none}.mobile-menu-btn{flex-shrink:0}.hero{height:570px}.hero-photo{width:100%;height:56%;top:0;bottom:auto;background-position:center}.hero-shade{background:linear-gradient(to bottom,rgba(4,30,21,.04) 0,rgba(4,30,21,.15) 30%,rgba(4,44,29,.9) 52%,#073522 65%,#073522 100%)}.hero-inner{align-items:flex-end;padding-bottom:78px}.hero-copy{width:100%;padding:0;text-align:center}.eyebrow-light{justify-content:center}.hero h1{font-size:clamp(27px,7vw,36px);line-height:1.55;margin-bottom:9px;white-space:normal}.hero-desc{font-size:12px;line-height:2;max-width:390px;margin-inline:auto}.hero-buttons{justify-content:center;gap:9px;margin-top:20px}.btn-large{min-height:45px;flex:1;padding:11px 6px;font-size:11px;gap:6px}.btn-large svg{width:17px}.services-overlap{margin-top:-44px}.services-bar{grid-template-columns:repeat(4,1fr);padding:10px 5px;gap:0;min-height:unset;border-radius:13px}.service-item{padding:10px 2px;min-height:83px;border-left:1px solid #e8e9e7}.service-item:nth-child(4n){border-left:0}.service-item:nth-child(n+5){border-bottom:0}.service-item svg{width:29px;height:29px}.service-item span{font-size:10px;line-height:1.4;white-space:normal}.about-section{display:flex;flex-direction:column;gap:24px;padding-top:42px;padding-bottom:56px}.about-content{width:100%;padding:0}.about-content h2{font-size:28px;line-height:1.48}.about-content p:not(.eyebrow){font-size:13px;max-width:unset}.about-visual{order:-1;height:230px;width:100%}.details-section{padding:55px 0}.section-head{flex-direction:column;align-items:flex-start}.section-head h2{font-size:24px}.detail-grid{grid-template-columns:1fr 1fr;gap:10px}.detail-card{min-height:190px;padding:17px 13px}.detail-card h3{font-size:15px}.detail-card p{font-size:11px}.projects-section{padding-top:55px;padding-bottom:55px}.project-gallery{grid-template-columns:1fr}.project-card{height:215px}.magazine-section{width:calc(100% - 36px);flex-direction:column;align-items:flex-start;padding:25px 20px;margin-bottom:45px}.magazine-section h2{font-size:22px}.footer-inner{grid-template-columns:1fr 1fr;gap:18px}.footer-brand{grid-column:1/-1}.footer-end{grid-column:1/-1;text-align:right;direction:rtl;border-top:1px solid rgba(255,255,255,.12);padding-top:14px}.consult-modal{padding:21px 17px;max-height:94dvh}.consult-modal form{grid-template-columns:1fr;gap:12px}.consult-modal .full-field,.city-warning,.form-message{grid-column:auto}}
@media(max-width:350px){.brand-label strong{font-size:20px}.brand-label small{font-size:7px}.hero h1{font-size:26px}.hero-buttons{gap:6px}.btn-large{font-size:10px}.service-item span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Accessibility and RTL refinements */
.nav-dropdown-panel a:focus-visible{background:#f4f0e8}
@media (max-width:650px){.service-item{touch-action:manipulation}.site-header .brand{min-width:0}}


/* ===== Bijan Home v1.1 | Reference fidelity adjustments =====
   Header geometry intentionally unchanged pending client review.
   All adjustments below are progressive and responsive. */
@media (min-width: 951px) {
  .container { width: min(1480px, calc(100% - 112px)); }
  .hero { height: clamp(440px, 32.8vw, 560px); }
  .hero-photo { width: 64.5%; background-position: center center; }
  .hero-shade { background: linear-gradient(90deg,rgba(5,38,27,.01) 0%,rgba(6,42,29,.08) 35%,rgba(5,43,29,.7) 52%,#063824 69%,#063522 100%); }
  .hero-copy { width: min(47%, 640px); padding-bottom: 28px; }
  .hero h1 { font-size: clamp(37px, 3.25vw, 55px); line-height:1.42; letter-spacing:-1.5px; margin-bottom: 20px; }
  .hero-desc { max-width: 565px; font-size: clamp(15px, 1.06vw, 18px); line-height:2.05; }
  .hero-buttons { margin-top: 29px; gap: 18px; }
  .btn-large { min-height: 53px; font-size: 14px; }
  .services-overlap { margin-top:-51px; }
  .services-bar { min-height: 123px; padding:17px 13px; border-radius:19px; box-shadow:0 15px 35px rgba(9,31,22,.14); }
  .service-item { gap:11px; }
  .service-item svg { width:40px; height:40px; }
  .service-item span { font-size: clamp(11px, .92vw, 14px); }
  .about-section { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); gap: 44px; padding-top: 37px; padding-bottom: 94px; align-items: center; }
  .about-content { align-self:center; padding-right:0; }
  .about-content h2 { font-size:clamp(30px,2.65vw,43px); line-height:1.45; margin-bottom:18px; }
  .about-content p:not(.eyebrow) { font-size:clamp(14px,1.03vw,17px); line-height:2.06; max-width:490px; margin-bottom:25px; }
  .about-visual { height: clamp(340px, 27vw, 450px); overflow:visible; position:relative; border-radius:18px; }
  .about-visual > img { border-radius:18px; }
}
/* Visual details are intentionally independent of the header. */
.hero-copy { position:relative; z-index:2; }
.hero .eyebrow { font-size:13px; }
.hero-shade { pointer-events:none; }
.service-item:focus-visible { outline-offset:-2px; }
.about-visual { position:relative; }
.about-visual img { display:block; width:100%; height:100%; object-fit:cover; }
.about-badge { position:absolute; left:-15px; top:17%; min-width:145px; padding:18px 15px; background:linear-gradient(145deg,#03452f,#052d21); border:1px solid #d8a85e; border-radius:15px; box-shadow:0 10px 28px rgba(0,0,0,.26); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center; pointer-events:none; }
.about-badge strong { font-size:25px; line-height:1.3; font-weight:800; }
.about-badge span:not(.badge-medal) { font-size:14px; font-weight:700; }
.badge-medal { font-family:Georgia,serif; display:grid; place-items:center; height:30px;width:30px; border:1px solid #caa05b; border-radius:50%; color:#d9b46c; font-size:30px; }
@media (min-width:951px) and (max-width:1180px) {
  .hero-copy { width:49%; }
  .hero h1 { font-size:clamp(31px,3.3vw,40px); }
  .about-section { gap:24px; }
  .about-content h2 { font-size:30px; }
  .about-badge { min-width:116px; padding:12px; }
}
@media (min-width:651px) and (max-width:950px) {
  .hero { height:470px; }
  .hero-copy { width:60%; }
  .hero h1 { font-size:clamp(29px,3.9vw,35px); }
  .about-section { grid-template-columns:minmax(0,39%) minmax(0,61%); gap:20px; padding-top:37px; }
  .about-visual { height:315px; overflow:visible; }
  .about-visual img { border-radius:15px; }
  .about-badge { left:-10px; top:16%; min-width:103px; padding:10px; }
  .about-badge strong { font-size:18px; }
  .about-badge span:not(.badge-medal) { font-size:11px; }
}
@media (max-width:650px) {
  .hero { height: min(650px, max(570px, 149vw)); }
  .hero-photo { height:56%; background-position: center center; }
  .hero-copy { padding-bottom:0; }
  .hero h1 { font-size:clamp(28px,7.5vw,39px); line-height:1.47; }
  .hero-desc { font-size:12.5px; line-height:1.95; }
  .service-item { min-height:87px; }
  .services-bar { box-shadow:0 10px 25px rgba(8,31,24,.14); }
  .about-section { gap:27px; padding-top:38px; }
  .about-visual { height:clamp(235px,62vw,330px); overflow:visible; border-radius:14px; }
  .about-visual img { border-radius:14px; }
  .about-badge { min-width:104px; left:-8px; top:15%; padding:10px; border-radius:11px; }
  .about-badge strong { font-size:18px; }
  .about-badge span:not(.badge-medal) { font-size:10px; }
  .badge-medal { height:25px;width:25px;font-size:24px; }
  .about-content h2 { font-size:clamp(26px,6.5vw,33px); }
}

/* v1.2 photography sizing: larger local images, no overlays baked into files */
@media(min-width:951px){.hero-photo{background-position:50% 54%}.about-visual>img{object-position:50% 50%}}
@media(max-width:650px){.hero-photo{background-position:33% 50%}.about-visual>img{object-position:50% 50%}}

/* v1.3: persistent shared header and expandable portfolio navigation. */
:root { --site-header-height:69px; }
html { scroll-padding-top: calc(var(--site-header-height) + 20px); }
body { padding-top: var(--site-header-height); }
.site-header { position:fixed; top:0; inset-inline:0; width:100%; height:var(--site-header-height); z-index:100; }
.nav-dropdown-panel { z-index:110; }
.nav-dropdown-panel a { display:block; }
.nav-dropdown-panel a:hover, .nav-dropdown-panel a:focus-visible { background:#f4f0e8; }
.nav-link.active { color:var(--gold); }
.portfolio-intro { padding:90px 0 75px; background:linear-gradient(115deg,#073522,#031e16); color:#fff; }
.portfolio-intro h1 { font-size:clamp(32px,4vw,54px); line-height:1.45; margin:0 0 14px; }
.portfolio-intro p:not(.eyebrow) { max-width:760px; line-height:2.1; font-size:16px; color:#e4eae4; }
.portfolio-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding-block:50px 95px; }
.portfolio-category { background:#fff; border:1px solid #e1e7e2; border-radius:18px; padding:28px; min-height:270px; scroll-margin-top:calc(var(--site-header-height) + 20px); box-shadow:0 7px 22px rgba(3,29,21,.045); display:flex; flex-direction:column; align-items:flex-start; }
.portfolio-category:target { border-color:#c49c55; box-shadow:0 0 0 2px rgba(196,156,85,.16); }
.portfolio-category-number { font:28px Georgia,serif; color:#c49c55; }
.portfolio-category h2 { font-size:23px; margin:12px 0 6px; }
.portfolio-category p { color:#5a6b60; font-size:13px; line-height:2; margin:0 0 12px; }
.portfolio-coming { color:#8a7350; font-size:12px; margin-top:auto; margin-bottom:18px; }
@media(max-width:950px){ .portfolio-categories {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:650px){ :root {--site-header-height:66px;} .portfolio-intro {padding:58px 0 42px;} .portfolio-categories {grid-template-columns:1fr;gap:14px;padding-block:24px 60px;} .portfolio-category {min-height:245px;padding:23px;} }

/* 1.4.3: Preserve original footer, add only Bale icon alongside consultation link. */
.footer-bale-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:34px;height:40px;margin-inline-start:10px;border:1px solid rgba(227,183,118,.3);border-radius:9px;background:rgba(255,255,255,.07)}
.footer-bale-icon img{display:block;max-width:24px;max-height:34px;width:auto;height:auto;object-fit:contain}
@media(max-width:650px){.footer-bale-icon{width:32px;height:36px;margin-inline-start:8px}.footer-bale-icon img{max-width:22px;max-height:30px}}


/* Bijan Home 1.4.5 — persistent, icon-only contact dock */
:root { --contact-dock-clearance: 108px; --dock-gold: #e9bc70; --dock-black: #10130e; }
body { padding-bottom: var(--contact-dock-clearance); }
.contact-dock {
  position: fixed;
  z-index: 46;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(356px, calc(100% - 28px));
  min-height: 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1.5px solid var(--dock-gold);
  border-radius: 23px;
  color: var(--dock-gold);
  background: linear-gradient(125deg, #063c2b, #032d20 60%, #073b29);
  box-shadow: 0 18px 38px rgba(0, 24, 14, .30), 0 4px 12px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.contact-dock-link {
  min-width: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--dock-gold);
  text-decoration: none;
  background: transparent;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.contact-dock-link svg {
  display: block;
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 1.65;
  transform-origin: center;
  transition: transform .22s ease;
}
/* The Bale glyph retains its official silhouette; the mask applies one solid brand color. */
.contact-dock-link .bale-dock-icon {
  display: block;
  width: 27px;
  height: 31px;
  background-color: currentColor;
  -webkit-mask: url('/public/assets/images/bale-logo.webp') center / contain no-repeat;
  mask: url('/public/assets/images/bale-logo.webp') center / contain no-repeat;
  transform-origin: center;
  transition: transform .22s ease;
}
@media (hover: hover) and (pointer: fine) {
  .contact-dock-link:hover { background-color: var(--dock-gold); color: var(--dock-black); transform: translateY(-2px); }
  .contact-dock-link:hover svg, .contact-dock-link:hover .bale-dock-icon { transform: scale(1.22); }
}
.contact-dock-link:focus-visible {
  background-color: var(--dock-gold);
  color: var(--dock-black);
  outline: 2px solid #fff8eb;
  outline-offset: 2px;
}
.contact-dock-link:focus-visible svg,
.contact-dock-link:focus-visible .bale-dock-icon { transform: scale(1.15); }
/* Items without a verified official URL never navigate to placeholder addresses. */
.contact-dock-link[aria-disabled="true"] { cursor: default; }
body.no-scroll .contact-dock { visibility: hidden; pointer-events: none; }
@media (max-width: 650px) {
  :root { --contact-dock-clearance: 101px; }
  .contact-dock {
    width: min(330px, calc(100% - 24px));
    min-height: 64px;
    gap: 4px;
    padding: 7px 9px;
    border-radius: 20px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .contact-dock-link { min-height: 48px; border-radius: 13px; }
  .contact-dock-link svg { width: 24px; height: 24px; }
  .contact-dock-link .bale-dock-icon { width: 25px; height: 29px; }
}
@media (max-width: 360px) {
  .contact-dock { width: min(286px, calc(100% - 20px)); gap: 2px; padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-dock-link, .contact-dock-link svg, .contact-dock-link .bale-dock-icon { transition: none; }
}
