:root {
  color-scheme: dark;
  --ink: #F5F2EA;
  --muted: #9DA3AE;
  --dim: #747B86;
  --bg: #07090D;
  --raised: #0D1117;
  --surface: #11151C;
  --surface-raised: #171C24;
  --line: rgba(214, 179, 106, .18);
  --line-bright: rgba(214, 179, 106, .28);
  --accent: #D6B36A;
  --accent-bright: #F0D79A;
  --signal: #65D6A1;
  --shadow-deep: 0 18px 48px rgba(0, 0, 0, .38);
  --shadow-gold: 0 0 24px rgba(214, 179, 106, .11);
  --radius-small: 4px;
  --radius-card: 6px;
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --gutter: clamp(22px, 6vw, 96px);
  --content: 1440px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(ellipse at 78% 9%, rgba(63,75,53,.17), transparent 35%), radial-gradient(ellipse at 8% 50%, rgba(87,41,33,.09), transparent 31%); content: ""; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--accent); color: #fff; }
.section-wrap { width: min(100% - var(--gutter) * 2, var(--content)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 11vw, 156px); }
.skip-link { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 8px 14px; transform: translateY(-150%); background: var(--ink); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 10; display: flex; width: min(100% - var(--gutter) * 2, var(--content)); min-height: 88px; margin-inline: auto; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; min-width: 170px; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 27px; height: 27px; align-content: center; gap: 4px; transform: skewY(-24deg); }
.brand-mark span { display: block; height: 2px; background: var(--accent-bright); }
.brand-mark span:nth-child(2) { width: 76%; }
.brand-mark span:nth-child(3) { width: 52%; }
.brand-wordmark { display: flex; flex-direction: column; align-items: flex-start; direction: ltr; line-height: 1.05; }
.brand-wordmark strong { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: 2.3px; }
.brand-wordmark > span { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: 2.1px; }
.site-nav { position: absolute; z-index: 2; inset: calc(100% + 1px) 0 auto; display: flex; visibility: hidden; padding: 12px 18px 18px; flex-direction: column; border: 1px solid var(--line); border-top: 0; background: rgba(20,24,20,.97); opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.site-nav a { padding: 10px 4px; color: #d3d5cd; font-size: 14px; transition: color .2s ease; }
.site-nav a:hover { color: var(--accent-bright); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-toggle { display: grid; width: 39px; height: 39px; padding: 0; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; background: transparent; cursor: pointer; font-size: 11px; direction: ltr; transition: border-color .2s ease, background .2s ease; }
.language-toggle:hover { border-color: var(--accent); background: rgba(212,93,77,.1); }
.header-call { display: none; color: var(--ink); font-size: 12px; }
.menu-toggle { display: flex; width: 42px; height: 42px; padding: 11px 9px; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { width: 100%; height: 1px; background: var(--ink); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { position: relative; display: grid; min-height: min(810px, calc(100svh - 88px)); padding-block: 22px 72px; align-items: center; isolation: isolate; }
.hero::before { position: absolute; z-index: -1; inset: -2% -4%; background: radial-gradient(ellipse at 57% 49%, rgba(124,132,112,.14), transparent 35%), radial-gradient(ellipse at 61% 75%, rgba(179,111,73,.09), transparent 28%), linear-gradient(180deg, rgba(8,10,9,.08), rgba(8,10,9,.45)); content: ""; pointer-events: none; }
.hero-scene { position: relative; z-index: 0; width: min(100%, 680px); margin-inline: auto; perspective: 1200px; animation: scene-arrive 1.1s var(--ease) both; }
.scene-frame { position: relative; isolation: isolate; transform-style: preserve-3d; --parallax-x: 0px; --parallax-y: 0px; --parallax-rotate-x: 0deg; --parallax-rotate-y: 0deg; }
.scene-frame::before { position: absolute; z-index: -1; inset: 12% 3% 2%; border-radius: 50%; background: radial-gradient(ellipse, rgba(178,181,157,.2), rgba(76,86,72,.1) 47%, transparent 73%); content: ""; filter: blur(22px); }
.scene-frame::after { position: absolute; z-index: -2; inset: -9% -5%; background: radial-gradient(ellipse, rgba(128,139,123,.075), transparent 66%); content: ""; }
.scene-frame .hero-house-image { position: relative; z-index: 0; display: block; width: 100%; height: auto; transform: translate3d(var(--parallax-x), var(--parallax-y), -18px) rotateX(var(--parallax-rotate-x)) rotateY(var(--parallax-rotate-y)); transform-style: preserve-3d; transition: transform .45s var(--ease); will-change: transform; }
.scene-network { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.network-link { fill: none; stroke: rgba(211,220,197,.56); stroke-dasharray: 5 8; stroke-dashoffset: 48; stroke-width: 1.2; opacity: 0; animation: network-activate .8s 2.25s var(--ease) forwards; }
.network-link-two { animation-delay: 2.38s; }
.network-link-three { animation-delay: 2.5s; }
.network-node { fill: var(--accent-bright); filter: drop-shadow(0 0 5px rgba(238,121,100,.45)); opacity: 0; animation: node-activate .4s 2.5s ease-out forwards; }
.network-node:nth-of-type(2) { animation-delay: 2.63s; }
.network-node:nth-of-type(3) { animation-delay: 2.76s; }
.scene-orbit { position: absolute; z-index: -1; inset: 17% 5% 9%; border: 1px solid rgba(220,222,203,.075); border-radius: 50%; transform: rotate(-24deg) translateZ(-12px); }
.orbit-two { inset: 8% 17% 18%; transform: rotate(44deg) translateZ(-20px); }
.scene-label { position: absolute; z-index: 3; display: inline-flex; min-height: 25px; padding: 4px 8px; align-items: center; gap: 6px; border: 1px solid rgba(234,238,226,.16); background: rgba(20,24,21,.64); box-shadow: 0 8px 25px rgba(0,0,0,.15); color: rgba(235,237,225,.83); font-family: Arial, var(--body); font-size: 8px; letter-spacing: 1px; line-height: 1; white-space: nowrap; backdrop-filter: blur(10px); opacity: 0; animation: interface-appear .55s 1.8s var(--ease) both; }
.scene-label::before { width: 4px; height: 4px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 7px rgba(179,200,149,.38); content: ""; }
.label-camera { top: 36%; left: 0; animation-delay: 1.72s; }
.label-lighting { top: 52%; right: 0; animation-delay: 1.38s; }
.label-security { bottom: 22%; left: 1%; animation-delay: 2.03s; }
.label-access { right: 1%; bottom: 10%; animation-delay: 2.16s; }
.scene-status { position: absolute; z-index: 4; top: 5%; right: 4%; display: flex; min-width: 112px; padding: 8px 11px; flex-direction: column; gap: 2px; border: 1px solid rgba(232,237,225,.2); background: rgba(18,22,19,.68); box-shadow: 0 12px 30px rgba(0,0,0,.22); color: rgba(220,225,213,.62); font-family: Arial, var(--body); font-size: 8px; letter-spacing: 1.3px; line-height: 1.3; backdrop-filter: blur(12px); opacity: 0; animation: interface-appear .5s 2.22s var(--ease) both; }
.scene-status strong { display: flex; align-items: center; gap: 7px; color: #eff1e9; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; }
.scene-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 9px rgba(179,200,149,.6); }
.hero-copy { position: relative; z-index: 1; max-width: 590px; margin-block-start: -12px; }
.hero-branding { display: flex; margin-block-end: 18px; align-items: flex-start; flex-direction: column; gap: 4px; animation: interface-appear .65s 2.72s var(--ease) both; }
.hero-brand-name { color: #f4f3ed; font-family: var(--display); font-size: 19px; line-height: 1.2; letter-spacing: 2.1px; direction: ltr; }
.hero-brand-name span { color: var(--muted); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 2.3px; }
.hero-brand-persian { color: #c7cbc0; font-size: 11px; }
.hero-copy > .eyebrow, .hero-copy h1, .hero-copy .hero-description, .hero-footnote { animation: interface-appear .65s 2.86s var(--ease) both; }
.hero-copy h1 { animation-delay: 2.96s; }
.hero-copy .hero-description { animation-delay: 3.08s; }
.hero-footnote { animation-delay: 3.12s; }
.hero-copy .hero-actions { animation: interface-appear .65s 3.3s var(--ease) both; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.hero-copy > .eyebrow { margin-block: 0 17px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px rgba(179,200,149,.55); }
h1, h2, p { margin-block-start: 0; }
.hero h1 { margin-block-end: 17px; font-size: clamp(37px, 9vw, 68px); font-weight: 400; line-height: 1.34; }
.hero h1 span, .section-heading h2 span, .experience-copy h2 span, .contact-copy h2 span { color: var(--accent-bright); }
.hero-description { max-width: 420px; margin-block-end: 26px; color: #aeb1a8; font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; padding-inline: 19px; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; font-size: 12px; transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff8f4; }
.button-primary:hover { background: #df6958; }
.button-arrow { font-size: 16px; }
.text-link { display: inline-flex; padding-block: 8px; align-items: center; gap: 10px; color: #d0d2c9; font-size: 12px; transition: color .2s ease; }
.text-link:hover { color: var(--accent-bright); }
.hero-footnote { display: flex; margin-block-start: 32px; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.hero-footnote > span:first-child { color: var(--ink); font-family: var(--display); font-size: 24px; line-height: 1; }
.scroll-cue { position: absolute; inset-block-end: 18px; inset-inline-start: 0; display: flex; align-items: center; gap: 11px; color: var(--dim); font-size: 10px; animation: interface-appear .5s 3.38s var(--ease) both; }
.scroll-cue > span:first-child { width: 36px; height: 1px; background: var(--accent); }

.section-heading { display: flex; margin-block-end: 36px; align-items: end; justify-content: space-between; gap: 24px; }
.section-eyebrow { margin-block-end: 8px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 5vw, 43px); font-weight: 400; line-height: 1.45; }
.section-intro { max-width: 335px; margin: 0; color: var(--muted); font-size: 13px; }
.projects, .services { border-top: 1px solid var(--line); }
.filter-row { display: flex; margin-block-end: 27px; padding-block-end: 5px; gap: 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.filter-button { min-height: 39px; padding-inline: 15px; flex: 0 0 auto; border: 1px solid var(--line); background: transparent; color: #aeb1a8; cursor: pointer; font-size: 11px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover { border-color: var(--line-bright); color: var(--ink); }
.filter-button.is-active { border-color: var(--accent); background: rgba(212,93,77,.12); color: #f0a294; }
.project-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #171b17; animation: card-arrive .45s var(--ease) both; }
.project-card[hidden] { display: none; }
.project-art { position: relative; display: grid; aspect-ratio: 1.44; overflow: hidden; place-items: center; background: #242a24; }
.project-art::before, .project-art::after { position: absolute; content: ""; }
.project-art::before { inset: 0; background: radial-gradient(ellipse at 50% 82%, rgba(184,146,105,.18), transparent 43%), linear-gradient(135deg, rgba(114,128,103,.12), transparent 60%); }
.project-art::after { inset: 15% 12% 0; border: 1px solid rgba(221,225,202,.09); clip-path: polygon(50% 0,100% 27%,100% 100%,0 100%,0 27%); background: linear-gradient(155deg, rgba(204,211,180,.06), transparent 50%); }
.project-scene { position: absolute; inset: 15% 17% 0; background: linear-gradient(150deg, rgba(172,185,147,.17), transparent 42%); clip-path: polygon(50% 0,100% 27%,100% 100%,0 100%,0 27%); transform: scale(.84); transition: transform .55s var(--ease); }
.project-card:hover .project-scene { transform: scale(.91); }
.art-courtyard { background-color: #202722; }
.art-tower { background: radial-gradient(ellipse at 70% 50%, rgba(108,133,137,.16), transparent 48%), #1c2424; }
.art-villa { background: radial-gradient(ellipse at 48% 70%, rgba(195,155,106,.13), transparent 45%), #28231f; }
.art-solar { background: radial-gradient(ellipse at 62% 42%, rgba(215,173,105,.18), transparent 37%), #262720; }
.art-office { background: radial-gradient(ellipse at 30% 40%, rgba(105,121,136,.18), transparent 45%), #1d2227; }
.art-window { position: absolute; z-index: 1; top: 37%; right: 27%; width: 18%; height: 35%; border: 1px solid rgba(228,201,147,.45); background: linear-gradient(135deg, rgba(239,198,128,.39), rgba(224,173,107,.04)); box-shadow: 0 0 28px rgba(225,175,103,.13); }
.art-window::before { position: absolute; inset: 0 48%; background: rgba(30,35,29,.75); content: ""; }
.art-courtyard .art-window { top: 43%; right: 24%; width: 31%; height: 26%; }
.art-tower .project-scene { inset: 8% 30% 0; clip-path: polygon(18% 0,83% 0,100% 100%,0 100%); background: repeating-linear-gradient(0deg,transparent 0 19px,rgba(190,199,188,.17) 20px 21px), linear-gradient(90deg,rgba(126,153,150,.16),rgba(73,94,95,.34)); }
.art-tower .art-window { display: none; }
.art-villa .project-scene { inset: 23% 13% 0; transform: scale(.8) rotate(-3deg); }
.art-solar .art-window { top: 54%; right: 39%; width: 24%; height: 20%; }
.art-solar .project-scene { inset: 20% 8% 18%; clip-path: polygon(16% 0,100% 17%,100% 77%,0 100%,0 28%); background: repeating-linear-gradient(90deg,rgba(155,176,173,.11) 0 1px,transparent 1px 18px), repeating-linear-gradient(0deg,rgba(155,176,173,.12) 0 1px,transparent 1px 17px), linear-gradient(120deg,#394443,#222a27); }
.art-office .project-scene { inset: 15% 28% 0; clip-path: polygon(14% 0,87% 0,100% 100%,0 100%); background: repeating-linear-gradient(90deg,rgba(161,180,174,.13) 0 1px,transparent 1px 20px), linear-gradient(160deg,rgba(91,111,110,.33),rgba(30,38,37,.5)); }
.art-office .art-window { top: 49%; right: 35%; width: 28%; height: 24%; }
.art-label { position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-start: 15px; color: rgba(229,232,217,.7); font-family: var(--display); font-size: 9px; letter-spacing: 1.2px; direction: ltr; }
.art-status { position: absolute; z-index: 2; inset-block-end: 14px; inset-inline-end: 15px; display: flex; align-items: center; gap: 7px; color: rgba(224,230,215,.76); font-size: 9px; }
.art-status::before { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px rgba(179,200,149,.55); content: ""; }
.project-info { display: flex; min-height: 90px; padding: 14px 16px 16px; align-items: center; justify-content: space-between; gap: 12px; }
.project-info h3 { margin: 0 0 2px; font-size: 14px; font-weight: 500; }
.project-info p { margin: 0; color: var(--muted); font-size: 10px; }
.project-index { align-self: flex-start; color: var(--dim); font-family: var(--display); font-size: 12px; direction: ltr; }
.project-note { display: flex; margin-block-start: 24px; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.note-line { width: 26px; height: 1px; background: var(--accent); }
.empty-projects { color: var(--muted); }

.service-grid { display: grid; border-top: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-item { min-height: 128px; padding: 18px 12px 19px 8px; border-bottom: 1px solid var(--line); }
.service-item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.service-number { display: block; margin-block-end: 18px; color: var(--accent-bright); font-family: var(--display); font-size: 12px; direction: ltr; text-align: start; }
.service-item h3 { margin: 0 0 4px; font-size: 13px; font-weight: 500; }
.service-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

.experience { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(108deg, rgba(67,73,56,.16), transparent 65%), var(--raised); }
.experience-inner { position: relative; display: grid; align-items: center; gap: 30px; }
.experience-number { position: relative; display: inline-flex; width: max-content; align-items: flex-start; color: var(--accent-bright); direction: ltr; }
.experience-digits { font-family: var(--display); font-size: clamp(100px, 30vw, 175px); font-weight: 400; line-height: .94; }
.experience-plus { margin-block-start: 5px; font-family: var(--display); font-size: 36px; }
.experience-label { position: absolute; inset-block-end: 0; inset-inline-end: 0; color: var(--muted); font-family: var(--body); font-size: 12px; direction: rtl; white-space: nowrap; }
.experience-copy { max-width: 510px; }
.experience-copy h2 { margin: 0 0 14px; font-size: clamp(26px, 5vw, 40px); font-weight: 400; line-height: 1.5; }
.experience-copy > p:not(.eyebrow) { max-width: 415px; margin-block-end: 16px; color: var(--muted); font-size: 13px; }
.experience-link { color: var(--accent-bright); }
.experience-seal { display: none; }
.reasons { border-bottom: 1px solid var(--line); }
.reasons .section-heading { margin-block-end: 26px; }
.reason-list { border-top: 1px solid var(--line); }
.reason-item { display: grid; padding-block: 20px; align-items: start; gap: 9px 16px; border-bottom: 1px solid var(--line); grid-template-columns: 35px minmax(0, 1fr); }
.reason-index { color: var(--accent-bright); font-family: var(--display); font-size: 13px; direction: ltr; }
.reason-item h3 { margin: 0 0 3px; font-size: 14px; font-weight: 500; }
.reason-item p { margin: 0; color: var(--muted); font-size: 11px; }

.contact { padding-block-start: 88px; }
.contact-panel { position: relative; display: grid; min-height: 360px; padding: clamp(28px, 6vw, 68px); overflow: hidden; align-items: center; gap: 36px; border: 1px solid var(--line-bright); background: linear-gradient(110deg, rgba(91,70,57,.22), transparent 63%), #191c18; }
.contact-glow { position: absolute; inset-block-start: -170px; inset-inline-end: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(173,72,56,.12); filter: blur(100px); pointer-events: none; }
.contact-copy, .contact-details { position: relative; z-index: 1; }
.contact-copy .eyebrow { margin-block-end: 16px; }
.contact-copy h2 { margin: 0 0 12px; font-size: clamp(34px, 8vw, 58px); font-weight: 400; line-height: 1.35; }
.contact-copy > p:not(.eyebrow) { margin-block-end: 23px; color: var(--muted); font-size: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .button { min-height: 48px; }
.action-icon { font-size: 19px; line-height: 1; }
.button-whatsapp { border-color: var(--line-bright); background: rgba(255,255,255,.025); }
.button-whatsapp:hover { border-color: rgba(179,200,149,.65); background: rgba(179,200,149,.07); }
.whatsapp-icon { color: var(--signal); font-size: 17px; }
.external-arrow { color: var(--muted); }
.contact-details { display: flex; padding-block-start: 22px; flex-direction: column; align-items: flex-start; gap: 5px; border-top: 1px solid var(--line); }
.detail-label, .contact-location { color: var(--muted); font-size: 10px; }
.contact-number { font-family: var(--display); font-size: clamp(21px, 5vw, 30px); letter-spacing: 0; direction: ltr; }

.site-footer { display: grid; min-height: 120px; padding-block: 28px; align-items: center; gap: 14px; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; }
.footer-brand { min-width: auto; }
.footer-tagline { margin: 0; color: var(--muted); font-size: 11px; }
.back-top { display: inline-flex; align-items: center; gap: 9px; justify-self: start; color: var(--muted); font-size: 10px; }
.copyright { justify-self: end; color: var(--dim); font-family: var(--display); font-size: 9px; letter-spacing: 1px; direction: ltr; }
.floating-actions { position: fixed; z-index: 8; inset-inline-end: 15px; inset-block-end: 16px; display: flex; flex-direction: column; gap: 9px; }
.floating-button { display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,.32); transition: transform .2s ease, filter .2s ease; }
.floating-button:hover { transform: translateY(-3px); filter: brightness(1.1); }
.floating-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.floating-whatsapp { background: #41543d; color: #eef3e7; }
.floating-call { background: var(--accent); color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); border: 0; }

@keyframes scene-arrive { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes interface-appear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes network-activate { 0% { opacity: 0; stroke-dashoffset: 48; } 35% { opacity: .65; } 100% { opacity: .4; stroke-dashoffset: 0; } }
@keyframes node-activate { from { opacity: 0; transform: scale(.55); } to { opacity: .9; transform: scale(1); } }
@keyframes card-arrive { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 560px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-item, .service-item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .service-item:nth-child(3n) { border-inline-end: 0; }
  .experience-inner { grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr); }
  .experience-copy { grid-column: 2; grid-row: 1; }
  .site-footer { grid-template-columns: 1.2fr 1fr 1fr; }
  .back-top { justify-self: center; }
  .copyright { grid-column: 3; grid-row: 1; }
}
@media (min-width: 760px) {
  .site-header { min-height: 96px; }
  .site-nav { position: static; display: flex; visibility: visible; padding: 0; flex-direction: row; gap: clamp(20px, 3vw, 44px); border: 0; background: transparent; opacity: 1; transform: none; }
  .site-nav a { padding: 8px 0; font-size: 12px; }
  .header-actions { min-width: 170px; justify-content: flex-end; }
  .header-call { display: inline-flex; min-height: 40px; padding-inline: 15px; align-items: center; border: 1px solid var(--line-bright); transition: border-color .2s ease, color .2s ease; }
  .header-call:hover { border-color: var(--accent); color: var(--accent-bright); }
  .menu-toggle { display: none; }
  .hero { min-height: min(760px, calc(100svh - 96px)); padding-block: 12px 65px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .hero-scene { width: 112%; max-width: 690px; margin-inline-start: -8%; }
  .hero-copy { margin: 0; padding-inline-start: clamp(12px, 2vw, 30px); }
  .hero h1 { font-size: clamp(48px, 5.3vw, 74px); }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-card:first-child { grid-column: span 2; }
  .project-card:first-child .project-art { aspect-ratio: 1.55; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-item:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .service-item:nth-child(4n) { border-inline-end: 0; }
  .service-item { min-height: 148px; padding: 21px 17px; }
  .experience-inner { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.2fr) minmax(100px, .4fr); }
  .experience-seal { display: flex; width: 118px; height: 118px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--muted); font-size: 7px; line-height: 1.6; text-align: center; letter-spacing: 1.4px; }
  .seal-center { color: var(--accent-bright); font-family: var(--display); font-size: 24px; line-height: 1.2; }
  .reason-item { padding-block: 23px; align-items: center; grid-template-columns: 55px minmax(150px, .7fr) 1.3fr; }
  .contact-panel { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); }
  .contact-details { padding-block-start: 0; padding-inline-start: 32px; justify-content: center; align-self: stretch; border-top: 0; border-inline-start: 1px solid var(--line); }
  .floating-actions { inset-inline-end: 25px; inset-block-end: 25px; }
}
@media (min-width: 1100px) {
  .header-actions { gap: 18px; }
  .project-grid { gap: 19px; }
  .service-item { min-height: 160px; padding: 22px; }
  .service-item h3 { font-size: 14px; }
  .service-item p { font-size: 11px; }
  .contact-panel { min-height: 410px; }
}
@media (max-width: 559px) {
  .hero { padding-block: 14px 62px; }
  .hero-scene { width: min(100%, 470px); }
  .hero-copy { margin-block-start: -5px; }
  .hero-branding { margin-block-end: 12px; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 43px); line-height: 1.35; }
  .hero-description { max-width: 360px; font-size: 13px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { min-height: 48px; padding-inline: 15px; }
  .scene-label { min-height: 22px; padding: 4px 6px; font-size: 7px; letter-spacing: .7px; }
  .scene-status { min-width: 92px; padding: 6px 8px; }
  .label-camera { top: 34%; }
  .label-lighting { top: 48%; }
  .label-security { bottom: 24%; }
  .label-access { bottom: 11%; }
}
@media (min-width: 560px) and (max-width: 759px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .hero-scene { width: 112%; margin-inline-start: -7%; }
  .hero-copy { margin: 0; }
  .hero h1 { font-size: clamp(39px, 6vw, 52px); }
  .scene-label { font-size: 7px; }
}
@media (max-width: 759px) {
  html.menu-open { overflow: hidden; }
  .site-header:has(.site-nav.is-open) { border-color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-branding, .hero-copy > .eyebrow, .hero-copy h1, .hero-copy .hero-description, .hero-copy .hero-actions, .hero-footnote, .scroll-cue, .scene-label, .scene-status, .network-link, .network-node { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-house-image { transform: none !important; }
}

body::before { background: radial-gradient(ellipse at 72% 8%, rgba(214,179,106,.075), transparent 34%), radial-gradient(ellipse at 12% 55%, rgba(240,242,234,.018), transparent 32%); }
button:focus-visible, a:focus-visible { outline-color: var(--accent-bright); }
::selection { background: var(--accent); color: var(--bg); }

.site-header { background: rgba(7,9,13,.72); backdrop-filter: blur(16px); }
.site-nav { background: rgba(13,17,23,.94); backdrop-filter: blur(16px); }
.site-nav a { color: var(--muted); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"], .site-nav a[aria-current="location"] { color: var(--accent-bright); }
.language-toggle:hover { background: rgba(214,179,106,.09); }
.header-call { border-radius: var(--radius-small); }

.hero::before { background: radial-gradient(ellipse at 57% 49%, rgba(214,179,106,.095), transparent 37%), radial-gradient(ellipse at 61% 75%, rgba(240,215,154,.035), transparent 28%), linear-gradient(180deg, rgba(7,9,13,.03), rgba(7,9,13,.42)); }
.scene-frame::before { background: radial-gradient(ellipse, rgba(214,179,106,.15), rgba(23,28,36,.1) 47%, transparent 73%); }
.scene-frame::after { background: radial-gradient(ellipse, rgba(240,215,154,.045), transparent 66%); }
.network-link { stroke: rgba(240,215,154,.58); }
.network-node { filter: drop-shadow(0 0 5px rgba(214,179,106,.28)); }
.scene-orbit { border-color: rgba(214,179,106,.09); }
.scene-label { border-color: rgba(214,179,106,.2); background: rgba(13,17,23,.76); box-shadow: 0 10px 26px rgba(0,0,0,.3); color: rgba(245,242,234,.86); }
.scene-label::before { background: var(--accent); box-shadow: 0 0 7px rgba(214,179,106,.35); }
.scene-status { border-color: rgba(214,179,106,.24); background: rgba(13,17,23,.82); box-shadow: var(--shadow-deep); color: var(--muted); }
.scene-status strong { color: var(--ink); }
.scene-status i { background: var(--signal); box-shadow: 0 0 9px rgba(101,214,161,.44); }
.hero-brand-name { color: var(--ink); }
.hero-brand-persian { color: var(--muted); }
.status-dot { background: var(--accent); box-shadow: 0 0 10px rgba(214,179,106,.28); }
.hero-description { color: var(--muted); }
.button { border-radius: var(--radius-small); }
.button-primary { border-color: rgba(240,215,154,.28); background: var(--accent); color: #07090D; box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 0 18px rgba(214,179,106,.1); }
.button-primary:hover { border-color: rgba(240,215,154,.48); background: var(--accent-bright); box-shadow: 0 10px 28px rgba(0,0,0,.25), 0 0 24px rgba(214,179,106,.17); }
.hero-actions .text-link { min-height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius-small); background: rgba(17,21,28,.52); color: var(--ink); backdrop-filter: blur(10px); }
.hero-actions .text-link:hover { border-color: rgba(214,179,106,.3); background: rgba(214,179,106,.065); color: var(--accent-bright); }
.text-link { color: var(--ink); }
.scroll-cue > span:first-child { background: var(--accent); }

.filter-button { border-radius: var(--radius-small); color: var(--muted); }
.filter-button.is-active { border-color: rgba(214,179,106,.52); background: rgba(214,179,106,.1); color: var(--accent-bright); }
.filter-button:hover { border-color: rgba(214,179,106,.36); }
.project-card { border-color: var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 12px 30px rgba(0,0,0,.18); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.project-card:hover { transform: translateY(-2px); border-color: rgba(214,179,106,.32); box-shadow: 0 18px 38px rgba(0,0,0,.32), 0 0 20px rgba(214,179,106,.055); }
.project-art { background: var(--raised); }
.project-art::before { background: radial-gradient(ellipse at 50% 82%, rgba(214,179,106,.11), transparent 43%), linear-gradient(135deg, rgba(245,242,234,.035), transparent 60%); }
.project-art::after { border-color: rgba(240,215,154,.12); background: linear-gradient(155deg, rgba(245,242,234,.035), transparent 50%); }
.project-scene { background: linear-gradient(150deg, rgba(245,242,234,.08), transparent 42%); }
.art-courtyard { background: radial-gradient(ellipse at 50% 76%, rgba(214,179,106,.09), transparent 50%), #11151C; }
.art-tower { background: radial-gradient(ellipse at 70% 50%, rgba(157,163,174,.08), transparent 48%), #0D1117; }
.art-villa { background: radial-gradient(ellipse at 48% 70%, rgba(214,179,106,.09), transparent 45%), #11151C; }
.art-solar { background: radial-gradient(ellipse at 62% 42%, rgba(240,215,154,.11), transparent 37%), #11151C; }
.art-office { background: radial-gradient(ellipse at 30% 40%, rgba(157,163,174,.09), transparent 45%), #0D1117; }
.art-window { border-color: rgba(240,215,154,.42); background: linear-gradient(135deg, rgba(240,215,154,.24), rgba(214,179,106,.035)); box-shadow: 0 0 24px rgba(214,179,106,.1); }
.art-window::before { background: rgba(17,21,28,.74); }
.art-tower .project-scene { background: repeating-linear-gradient(0deg,transparent 0 19px,rgba(214,179,106,.12) 20px 21px), linear-gradient(90deg,rgba(157,163,174,.08),rgba(23,28,36,.48)); }
.art-solar .project-scene { background: repeating-linear-gradient(90deg,rgba(240,215,154,.1) 0 1px,transparent 1px 18px), repeating-linear-gradient(0deg,rgba(240,215,154,.09) 0 1px,transparent 1px 17px), linear-gradient(120deg,#34343A,#171C24); }
.art-office .project-scene { background: repeating-linear-gradient(90deg,rgba(214,179,106,.09) 0 1px,transparent 1px 20px), linear-gradient(160deg,rgba(157,163,174,.12),rgba(17,21,28,.58)); }
.art-label { color: rgba(245,242,234,.68); }
.art-status { color: rgba(245,242,234,.76); }
.art-status::before { background: var(--accent); box-shadow: 0 0 7px rgba(214,179,106,.34); }
.project-info p, .project-note { color: var(--muted); }

.service-grid { border-color: var(--line); }
.service-item { background: var(--surface); transition: background .25s ease, transform .25s ease; }
.service-item:hover { position: relative; z-index: 1; transform: translateY(-2px); background: var(--surface-raised); }
.service-item h3, .reason-item h3, .project-info h3 { color: var(--ink); }
.service-item p, .reason-item p { color: var(--muted); }
.experience { border-color: var(--line); background: linear-gradient(108deg, rgba(214,179,106,.055), transparent 65%), var(--raised); }
.experience-copy > p:not(.eyebrow) { color: var(--muted); }
.experience-seal { border-color: var(--line); }
.reason-list, .reason-item, .projects, .services, .site-footer { border-color: var(--line); }

.contact-panel { border-color: var(--line-bright); border-radius: var(--radius-card); background: linear-gradient(110deg, rgba(214,179,106,.065), transparent 63%), var(--raised); box-shadow: var(--shadow-deep); }
.contact-glow { background: rgba(214,179,106,.075); }
.contact-copy > p:not(.eyebrow), .detail-label, .contact-location, .footer-tagline, .back-top { color: var(--muted); }
.button-whatsapp { border-color: var(--line-bright); border-radius: var(--radius-small); background: rgba(17,21,28,.58); color: var(--ink); backdrop-filter: blur(10px); }
.button-whatsapp:hover { border-color: rgba(214,179,106,.36); background: rgba(214,179,106,.07); }
.whatsapp-icon { color: var(--accent-bright); }
.floating-button { border-color: rgba(214,179,106,.28); box-shadow: 0 10px 28px rgba(0,0,0,.38); }
.floating-whatsapp { background: var(--surface-raised); color: var(--ink); }
.floating-call { background: var(--accent); color: var(--bg); }

@media (min-width: 760px) {
  .site-nav { background: transparent; backdrop-filter: none; }
}

#projects .section-heading { margin-block-end: 28px; }
#projects .section-eyebrow { color: var(--accent); }
#projects .section-heading h2 { color: var(--ink); font-size: clamp(29px, 4.3vw, 44px); }
#projects .section-intro { max-width: 390px; color: var(--muted); }
#projects .filter-row { width: 100%; max-width: 100%; margin-block-end: 28px; padding: 2px 1px 9px; gap: 9px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: rgba(214,179,106,.34) transparent; scroll-snap-type: x proximity; }
#projects .filter-button { min-height: 40px; padding-inline: 15px; scroll-snap-align: start; border-color: rgba(214,179,106,.18); border-radius: 4px; background: rgba(17,21,28,.62); color: var(--ink); font-size: 11px; backdrop-filter: blur(12px); }
#projects .filter-button:hover { border-color: rgba(214,179,106,.38); background: rgba(214,179,106,.07); }
#projects .filter-button.is-active { border-color: rgba(214,179,106,.64); background: linear-gradient(145deg, rgba(214,179,106,.2), rgba(214,179,106,.09)); color: var(--accent-bright); box-shadow: inset 0 0 0 1px rgba(214,179,106,.08); }
#projects .project-grid { display: grid; min-width: 0; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
#projects .project-card { min-width: 0; margin: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; animation: projects-card-in .45s var(--ease) both; }
#projects .project-card:hover { transform: none; border-color: transparent; box-shadow: none; }
#projects .project-card-trigger { position: relative; display: block; width: 100%; margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(214,179,106,.18); border-radius: 6px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: start; box-shadow: 0 12px 34px rgba(0,0,0,.22); transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease; }
#projects .project-card-trigger:hover { transform: translateY(-3px); border-color: rgba(214,179,106,.42); box-shadow: 0 18px 40px rgba(0,0,0,.34), 0 0 18px rgba(214,179,106,.05); }
#projects .project-card-trigger:focus-visible, #projects .project-open-text:focus-visible, #projects .project-lightbox button:focus-visible { outline-color: var(--accent-bright); outline-offset: 3px; }
#projects .project-card-visual { display: block; }
#projects .project-art { position: relative; display: block; width: 100%; aspect-ratio: 1.48; overflow: hidden; background: var(--raised); }
#projects .project-artwork, #projects .project-card-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; object-fit: cover; transition: transform .65s var(--ease), filter .65s var(--ease); }
#projects .project-card-trigger:hover .project-artwork, #projects .project-card-trigger:hover .project-card-image { transform: scale(1.035); }
#projects .project-artwork { background: radial-gradient(ellipse at 54% 84%, rgba(214,179,106,.13), transparent 41%), linear-gradient(145deg, #252A31, #11151C 68%); }
#projects .project-artwork::before { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.16), transparent 33%, rgba(7,9,13,.2)); content: ""; }
#projects .project-art::before { z-index: 1; background: linear-gradient(180deg, rgba(7,9,13,.24), transparent 31%, rgba(7,9,13,.5)); pointer-events: none; }
#projects .project-art::after { z-index: 1; inset: 10px; border: 1px solid rgba(240,215,154,.12); background: none; clip-path: none; pointer-events: none; }
#projects .project-image-overlay { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.15), transparent 30%, transparent 62%, rgba(7,9,13,.48)); pointer-events: none; }
#projects .project-card-category, #projects .project-card-number { position: absolute; z-index: 3; top: 16px; display: inline-flex; min-height: 27px; padding: 4px 9px; align-items: center; border: 1px solid rgba(214,179,106,.23); background: rgba(7,9,13,.62); color: var(--ink); font-size: 9px; line-height: 1.3; backdrop-filter: blur(12px); }
#projects .project-card-category { inset-inline-start: 16px; }
#projects .project-card-number { inset-inline-end: 16px; color: rgba(245,242,234,.75); font-family: var(--display); font-size: 8px; letter-spacing: 1.3px; direction: ltr; }
#projects .project-open-indicator { position: absolute; z-index: 3; inset-inline-end: 17px; inset-block-end: 16px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(240,215,154,.35); border-radius: 50%; background: rgba(7,9,13,.56); color: var(--accent-bright); opacity: .86; transition: background .25s ease, transform .25s ease, opacity .25s ease; backdrop-filter: blur(10px); }
#projects .project-open-indicator svg, #projects .project-open-text svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
#projects .project-card-trigger:hover .project-open-indicator { transform: translate(2px,-2px); background: rgba(214,179,106,.15); opacity: 1; }
#projects .project-info { display: flex; min-height: 104px; padding: 16px 17px 18px; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); }
#projects .project-info-copy { display: grid; min-width: 0; gap: 3px; }
#projects .project-category { color: var(--accent); font-size: 9px; line-height: 1.6; }
#projects .project-title { margin: 0; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.55; }
#projects .project-description { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
#projects .project-open-text { display: inline-flex; min-height: 38px; padding: 0 10px; flex: 0 0 auto; align-items: center; gap: 7px; border: 1px solid rgba(214,179,106,.2); border-radius: 4px; background: rgba(7,9,13,.32); color: var(--accent-bright); cursor: pointer; font-size: 9px; transition: border-color .2s ease, background .2s ease; }
#projects .project-open-text:hover { border-color: rgba(214,179,106,.48); background: rgba(214,179,106,.08); }
#projects .project-artwork.art-courtyard { background-color: #1B2026; }
#projects .project-artwork.art-tower { background-color: #141A21; }
#projects .project-artwork.art-villa { background-color: #211F1C; }
#projects .project-artwork.art-solar { background-color: #1E2021; }
#projects .project-artwork.art-office { background-color: #171C22; }
#projects .art-building { position: absolute; z-index: 1; inset-inline: 21% 17%; inset-block-end: 13%; height: 56%; overflow: hidden; border: 1px solid rgba(240,215,154,.33); background: linear-gradient(105deg, rgba(245,242,234,.14), rgba(157,163,174,.075) 48%, rgba(7,9,13,.22)); box-shadow: 0 25px 45px rgba(0,0,0,.3); clip-path: polygon(12% 12%, 48% 0, 100% 14%, 100% 100%, 0 100%, 0 22%); }
#projects .art-building::before { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(245,242,234,.12), transparent 38%), repeating-linear-gradient(90deg, transparent 0 24%, rgba(240,215,154,.08) 24.5% 25%, transparent 25.5% 49%); content: ""; }
#projects .art-building::after { position: absolute; inset: 51% 0 0; border-block-start: 1px solid rgba(240,215,154,.38); background: linear-gradient(180deg, rgba(214,179,106,.13), rgba(7,9,13,.26)); content: ""; }
#projects .art-building i { position: absolute; z-index: 2; inset-block-start: 26%; width: 8%; height: 20%; border: 1px solid rgba(240,215,154,.16); background: linear-gradient(145deg, rgba(240,215,154,.46), rgba(214,179,106,.13)); box-shadow: 0 0 14px rgba(214,179,106,.08); }
#projects .art-building i:nth-child(1) { inset-inline-start: 22%; }
#projects .art-building i:nth-child(2) { inset-inline-start: 39%; inset-block-start: 35%; }
#projects .art-building i:nth-child(3) { inset-inline-start: 58%; }
#projects .art-building i:nth-child(4) { inset-inline-start: 76%; inset-block-start: 35%; }
#projects .art-landscape { position: absolute; z-index: 0; inset-inline: 0; inset-block-end: 9%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,215,154,.52), transparent); box-shadow: 0 0 24px rgba(214,179,106,.16); }
#projects .scene-courtyard .art-building { inset-inline: 12% 12%; inset-block-end: 18%; height: 47%; clip-path: polygon(0 18%, 27% 7%, 52% 18%, 77% 5%, 100% 19%, 100% 100%, 0 100%); }
#projects .scene-tower .art-building { inset-inline: 35% 34%; inset-block-end: 7%; height: 83%; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
#projects .scene-lobby .art-building { inset-inline: 29%; inset-block-end: 8%; height: 75%; clip-path: polygon(13% 0, 87% 0, 100% 100%, 0 100%); }
#projects .scene-control .art-building { inset-inline: 27%; inset-block-end: 24%; height: 48%; clip-path: polygon(0 8%, 100% 8%, 100% 100%, 0 100%); }
#projects .scene-network .art-building { inset-inline: 34%; inset-block-end: 12%; height: 62%; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
#projects .scene-network .art-building::before { background: repeating-linear-gradient(0deg, transparent 0 12%, rgba(240,215,154,.13) 12.5% 13%, transparent 13.5% 25%), repeating-linear-gradient(90deg, transparent 0 24%, rgba(240,215,154,.08) 24.5% 25%, transparent 25.5% 50%); }
#projects .scene-rooftop .art-building { inset-inline: 18% 16%; inset-block-end: 23%; height: 40%; clip-path: polygon(0 36%, 66% 0, 100% 24%, 100% 100%, 0 100%); }
#projects .scene-rooftop .art-building::before, #projects .scene-solar .art-building::before { background: repeating-linear-gradient(90deg, transparent 0 15%, rgba(240,215,154,.21) 15.5% 16%, transparent 16.5% 32%), repeating-linear-gradient(0deg, transparent 0 24%, rgba(240,215,154,.18) 24.5% 25%, transparent 25.5% 50%); }
#projects .scene-fire .art-building i { background: linear-gradient(145deg, rgba(245,242,234,.22), rgba(157,163,174,.09)); box-shadow: none; }
#projects .scene-camera .art-building::before { background: radial-gradient(circle at 23% 25%, rgba(214,179,106,.32) 0 2px, transparent 3px), radial-gradient(circle at 76% 32%, rgba(214,179,106,.3) 0 2px, transparent 3px), linear-gradient(155deg, rgba(245,242,234,.1), transparent 38%); }
#projects .scene-desert { background-image: radial-gradient(ellipse at 72% 70%, rgba(214,179,106,.16), transparent 36%), linear-gradient(180deg,#1b1c20,#25231f 72%,#13161a); }
#projects .scene-villa { background-image: radial-gradient(ellipse at 50% 72%, rgba(214,179,106,.17), transparent 42%), linear-gradient(145deg,#272622,#14171b 70%); }
#projects .scene-office { background-image: radial-gradient(ellipse at 50% 72%, rgba(157,163,174,.12), transparent 43%), linear-gradient(145deg,#1e242a,#101419 70%); }
#projects .project-note { margin-block-start: 23px; color: var(--muted); }
#projects .empty-projects { grid-column: 1 / -1; padding: 28px 0; color: var(--muted); }

#projects .project-lightbox { position: fixed; inset: 0; display: none; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--ink); }
#projects .project-lightbox[open] { display: grid; place-items: center; animation: projects-lightbox-in .28s ease both; }
#projects .project-lightbox::backdrop { background: rgba(3,4,6,.94); backdrop-filter: blur(10px); }
#projects .project-lightbox-shell { display: grid; width: min(100%, 1320px); height: min(100dvh, 940px); margin: auto; padding: clamp(18px, 3.5vw, 42px); gap: 20px; grid-template-rows: auto minmax(0, 1fr) auto; border: 1px solid rgba(214,179,106,.18); background: radial-gradient(ellipse at 50% 38%, rgba(214,179,106,.055), transparent 50%), #07090D; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
#projects .project-lightbox-header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 20px; }
#projects .project-lightbox-heading { min-width: 0; }
#projects .project-lightbox-category { margin: 0 0 4px; color: var(--accent); font-size: 10px; }
#projects .project-lightbox-heading h2 { margin: 0 0 3px; color: var(--ink); font-size: clamp(21px, 3.2vw, 30px); font-weight: 500; line-height: 1.4; }
#projects #project-lightbox-description { margin: 0; color: var(--muted); font-size: 12px; }
#projects .project-lightbox-close, #projects .project-lightbox-nav { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid rgba(214,179,106,.23); border-radius: 50%; background: rgba(17,21,28,.76); color: var(--ink); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
#projects .project-lightbox-close:hover, #projects .project-lightbox-nav:hover { border-color: rgba(214,179,106,.58); background: rgba(214,179,106,.1); color: var(--accent-bright); }
#projects .project-lightbox-close svg, #projects .project-lightbox-nav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
#projects .project-lightbox-stage { display: grid; min-height: 0; align-items: center; gap: clamp(10px, 2.4vw, 30px); grid-template-columns: 46px minmax(0, 1fr) 46px; }
#projects .project-lightbox-media { position: relative; display: grid; width: 100%; height: 100%; min-height: 0; overflow: hidden; place-items: center; border: 1px solid rgba(214,179,106,.16); border-radius: 6px; background: var(--surface); }
#projects .project-lightbox-media > .project-artwork { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; }
#projects .project-lightbox-media > .project-card-image { position: relative; inset: auto; width: 100%; height: 100%; object-fit: contain; }
#projects .project-lightbox-media .art-building { transform: scale(1.16); }
#projects .project-lightbox-media .art-landscape { inset-block-end: 12%; }
#projects .project-lightbox-footer { display: flex; min-height: 26px; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
#projects #project-lightbox-counter { flex: 0 0 auto; color: var(--accent-bright); font-family: var(--display); font-size: 12px; direction: ltr; }
@keyframes projects-card-in { from { opacity: .7; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes projects-lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 560px) {
  #projects .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #projects .project-card:first-child { grid-column: span 2; }
  #projects .project-card:first-child .project-art { aspect-ratio: 1.78; }
}
@media (min-width: 1024px) {
  #projects .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #projects .project-card:first-child { grid-column: span 2; }
}
@media (max-width: 559px) {
  #projects .section-heading { display: block; }
  #projects .section-intro { margin-block-start: 10px; font-size: 12px; }
  #projects .filter-row { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  #projects .project-grid { gap: 16px; }
  #projects .project-card:first-child { grid-column: auto; }
  #projects .project-art, #projects .project-card:first-child .project-art { aspect-ratio: 1.38; }
  #projects .project-info { min-height: 96px; padding: 13px 13px 15px; gap: 8px; }
  #projects .project-title { font-size: 15px; }
  #projects .project-open-text { min-height: 42px; padding-inline: 9px; }
  #projects .project-lightbox-shell { width: 100%; height: 100dvh; padding: max(14px, env(safe-area-inset-top)) 12px max(14px, env(safe-area-inset-bottom)); gap: 14px; border: 0; }
  #projects .project-lightbox-stage { gap: 7px; grid-template-columns: 42px minmax(0, 1fr) 42px; }
  #projects .project-lightbox-close, #projects .project-lightbox-nav { width: 42px; height: 42px; flex-basis: 42px; }
  #projects .project-lightbox-media { border-radius: 4px; }
  #projects .project-lightbox-footer { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #projects .project-card, #projects .project-card-trigger, #projects .project-artwork, #projects .project-card-image, #projects .project-lightbox[open] { animation: none; transition: none; }
}

body { font-size: 17px; line-height: 1.9; }
.site-nav a { font-size: 16px; line-height: 1.8; }
.language-toggle { font-size: 13px; }
.header-call { font-size: 15px; line-height: 1.8; }
.hero-brand-persian { font-size: 13px; line-height: 1.8; }
.eyebrow, .section-intro { font-size: 15px; line-height: 1.9; }
.hero-description, .experience-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.9; }
.button, .text-link { font-size: 15px; line-height: 1.8; }
.hero-footnote { font-size: 14px; line-height: 1.8; }
.scroll-cue { font-size: 13px; line-height: 1.8; }
.filter-button, #projects .filter-button { font-size: 15px; line-height: 1.8; }
.project-info h3, .service-item h3, .reason-item h3 { font-size: 16px; line-height: 1.75; }
.project-info p, .project-note, .service-item p, .reason-item p,
#projects .project-category, #projects .project-description,
#projects .project-open-text, #projects .project-lightbox-category,
#projects #project-lightbox-description { font-size: 15px; line-height: 1.9; }
#projects .project-title { font-size: 17px; line-height: 1.7; }
#projects .project-lightbox-footer { font-size: 14px; line-height: 1.8; }
#projects #project-lightbox-counter { font-size: 14px; }
.experience-label { font-size: 14px; line-height: 1.8; }
.detail-label, .contact-location, .footer-tagline { font-size: 15px; line-height: 1.9; }
.back-top { font-size: 14px; line-height: 1.8; }

@media (max-width: 759px) {
  body { font-size: 16px; }
}