/* Existing content, reorganized with shared navigation and footer. */
.layout-updated { --layout-cream:#f6f1e6; --layout-wood:#67402e; --layout-ink:#1c0f09; --layout-line:#67402e33; background:var(--layout-cream); }
.layout-updated .layout-wrap { width:calc(100% - 96px); max-width:1440px; margin-inline:auto; }
.layout-nav,.layout-footer,.layout-home,.layout-portfolio { font-family:"Fatimah Arabic ITF Regular",sans-serif; }
.layout-nav a,.layout-footer a,.layout-home a,.layout-portfolio a { color:inherit; text-decoration:none; }
.layout-nav a:focus-visible,.layout-footer a:focus-visible,.layout-home a:focus-visible,.layout-portfolio a:focus-visible,.layout-menu-toggle:focus-visible { outline:2px solid currentColor; outline-offset:6px; }
.layout-nav { position:fixed; z-index:300; top:0; inset-inline:0; color:#f6f1e6; background:linear-gradient(#1c0f0980,transparent); transition:background .25s,box-shadow .25s; }
.layout-nav.is-scrolled,.layout-nav.is-open { background:#342016f5; box-shadow:0 1px 0 #ffffff20; backdrop-filter:blur(14px); }
.layout-nav-inner { width:calc(100% - 96px); max-width:1440px; min-height:104px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:56px; transition:min-height .25s; }
.layout-nav.is-scrolled .layout-nav-inner { min-height:78px; }
.layout-logo { width:150px; flex-shrink:0; }
.layout-logo img { display:block; width:100%; height:auto; }
.layout-desktop { display:flex; align-items:center; gap:42px; }
.layout-desktop a { display:flex; gap:9px; align-items:center; font-size:19px; line-height:1.5; padding:10px 0; position:relative; white-space:nowrap; }
.layout-desktop small { font-family:Georgia,serif; font-size:10px; opacity:.55; align-self:flex-start; }
.layout-desktop a:after { content:""; height:1px; background:currentColor; position:absolute; bottom:3px; inset-inline:0; transform:scaleX(0); transform-origin:right; transition:transform .25s; }
.layout-desktop a:hover:after,.layout-desktop a[aria-current=page]:after { transform:scaleX(1); }
.layout-menu-toggle { display:none; border:0; background:none; width:48px; height:48px; color:inherit; cursor:pointer; position:relative; }
.layout-menu-toggle span { position:absolute; width:24px; height:1px; background:currentColor; left:12px; top:19px; transition:transform .25s,top .25s; }
.layout-menu-toggle span+span { top:28px; }
.layout-nav.is-open .layout-menu-toggle span { top:24px; transform:rotate(45deg); }
.layout-nav.is-open .layout-menu-toggle span+span { transform:rotate(-45deg); }
.layout-drawer { display:none; }
.layout-backdrop { position:fixed; inset:0; z-index:290; background:#130d08a0; opacity:0; visibility:hidden; transition:opacity .25s,visibility .25s; }
body.layout-menu-open { overflow:hidden!important; }
.layout-menu-open .layout-backdrop { opacity:1; visibility:visible; }
.layout-hero { position:relative; min-height:640px; height:100svh; max-height:960px; background:#1c0f09; }
.layout-hero video { position:absolute; inset:0; width:100%;height:100%;object-fit:cover;object-position:50% 48%; }
.layout-hero:after { content:"";position:absolute;inset:0;background:linear-gradient(180deg,#1c0f0920,transparent 30%,#1c0f0960 65%,#1c0f09c0);pointer-events:none; }
.layout-hero-copy { position:absolute; z-index:1; right:max(48px,calc((100vw - 1440px)/2)); bottom:11%; width:min(710px,calc(100% - 96px)); color:#f6f1e6; }
.layout-hero h1 { margin:0; font-size:clamp(44px,4.2vw,66px); line-height:1.25; font-weight:400; text-wrap:balance; }
.layout-hero-actions { display:flex;gap:16px;margin-top:32px; }
.layout-button { display:inline-flex;align-items:center;justify-content:space-between;gap:32px;min-height:56px;padding:13px 25px;border:1px solid #f6f1e680;font-size:19px;line-height:1.4;transition:background .25s,color .25s,transform .25s; }
.layout-button svg { width:23px;height:23px; }
.layout-light { background:#f6f1e6!important;color:#342016!important;border-color:#f6f1e6; }
.layout-button:hover { background:#f6f1e6!important;color:#342016!important;transform:translateY(-2px); }
.layout-section { padding-block:88px; }
.layout-section-head { display:flex; align-items:center; gap:24px; border-top:1px solid var(--layout-line); padding-top:24px; margin-bottom:54px; }
.layout-section-head h2 { margin:0; font-size:40px; font-weight:400; line-height:1.3; }
.layout-index,.layout-year { font-size:15px;line-height:1.5;opacity:.55; }
.layout-year { margin-inline-start:auto; }
.layout-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr));column-gap:48px;row-gap:0; }
.layout-features article { padding:30px 0; border-bottom:1px solid var(--layout-line); }
.layout-feature-icon { margin-bottom:22px; }
.layout-feature-icon svg { width:32px;height:32px;display:block; }
.layout-features h3 { font-size:28px;font-weight:400;line-height:1.35;margin:0 0 12px; }
.layout-features p { color:#66584f; font-size:20px;line-height:1.7;margin:0; }
.layout-projects { display:grid;grid-template-columns:1.45fr 1fr;gap:36px;direction:ltr; }
.layout-project { min-width:0;display:block;direction:rtl; }
.layout-project:first-child { grid-row:span 2; }
.layout-project>div { height:260px;overflow:hidden;background:#67402e; }
.layout-project:first-child>div { height:calc(100% - 52px);min-height:540px; }
.layout-project img { width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s cubic-bezier(.2,.7,.2,1); }
.layout-project:hover img { transform:scale(1.035); }
.layout-project h3 { font-size:24px;font-weight:400;margin:16px 0 0;line-height:1.5; }
.layout-services { background:#1c0f09;color:#f6f1e6; }
.layout-services .layout-section-head { border-color:#f6f1e630; }
.layout-service-list>div { display:flex;justify-content:space-between;align-items:center;gap:40px;padding:32px 0;border-bottom:1px solid #f6f1e62b;transition:color .2s,padding-inline .2s; }
.layout-service-list>div:last-child { border-bottom:0; }
.layout-service-list h3 { font-weight:400;font-size:clamp(28px,3vw,44px);line-height:1.35;margin:0; }
.layout-service-list>div>span { font-family:Georgia,serif;font-size:42px;color:#b99474; }
.layout-service-list>div:hover { color:#d7bc9f;padding-inline:10px; }
.layout-stats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px; }
.layout-stats>div { border-bottom:1px solid var(--layout-line);padding-bottom:32px; }
.layout-stat-number { display:block;font-family:Georgia,serif;font-size:76px;line-height:1.2;color:#67402e; }
.layout-stat-number small { font-size:30px;vertical-align:top; }
.layout-stats p { font-size:23px;line-height:1.6;max-width:310px; }
.layout-footer { background:#67402e;color:#f6f1e6;padding:76px 0 36px; }
.layout-footer-top { display:grid;grid-template-columns:1.2fr 1fr;gap:100px; }
.layout-invite h2 { font-size:68px;line-height:1.15;font-weight:400;margin:0 0 25px; }
.layout-email { display:inline-block;font-family:Georgia,serif;font-size:clamp(22px,2.7vw,38px);line-height:1.4;border-bottom:1px solid #f6f1e666;padding-bottom:8px; }
.layout-footer-actions { display:flex;align-items:center;gap:30px;margin-top:32px; }
.layout-profile { border-bottom:1px solid #f6f1e666;font-size:19px;line-height:1.8; }
.layout-footer-links nav { display:grid;grid-template-columns:1fr 1fr;column-gap:36px; }
.layout-footer-links nav a { display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #f6f1e633;padding:16px 0;font-size:21px;line-height:1.4;transition:opacity .2s; }
.layout-footer-links small { opacity:.5;font:11px Georgia,serif; }
.layout-footer a:hover { opacity:.8; }
.layout-socials { display:flex;gap:28px;margin-top:32px;font:15px/1.5 Arial,sans-serif; }
.layout-footer-bottom { border-top:1px solid #f6f1e633;margin-top:64px!important;padding-top:32px; }
.layout-footer-bottom img { width:180px;display:block; }
.layout-portfolio { padding-top:150px;padding-bottom:100px; }
.layout-portfolio h1 { font-size:68px;font-weight:400;line-height:1.3;margin:0 0 56px; }
body:has(.layout-portfolio) .layout-nav { color:#f6f1e6;background:#342016; }
/* Align existing inner page content to the shared shell without changing its text or form. */
.layout-updated section:has(> .layout-nav) { overflow:visible; }
@media(max-width:1100px) { .layout-desktop { gap:25px; } .layout-nav-inner { gap:30px; } .layout-footer-top { gap:54px; } }
@media(max-width:809.98px) {
 .layout-updated .layout-wrap,.layout-nav-inner { width:calc(100% - 48px); }
 .layout-nav-inner,.layout-nav.is-scrolled .layout-nav-inner { min-height:80px; }
 .layout-logo { width:130px; }
 .layout-desktop { display:none; }
 .layout-menu-toggle { display:block; }
 .layout-drawer { display:flex;position:fixed;right:0;top:80px;width:min(360px,88vw);height:calc(100dvh - 80px);padding:28px 28px 60px;background:#342016;flex-direction:column;gap:0;transform:translateX(100%);visibility:hidden;transition:transform .3s ease,visibility .3s;overflow-y:auto; }
 .layout-nav.is-open .layout-drawer { transform:translateX(0);visibility:visible; }
 .layout-drawer a { display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;border-bottom:1px solid #ffffff25;font-size:26px;line-height:1.4; }
 .layout-drawer small { font:12px Georgia,serif;opacity:.45; }
 .layout-hero { min-height:620px;max-height:850px;height:94svh; }
 .layout-hero-copy { right:24px;width:calc(100% - 48px);bottom:64px; }
 .layout-hero h1 { font-size:42px;line-height:1.22; }
 .layout-hero-actions { gap:12px; }
 .layout-button { padding:12px 18px;gap:22px;font-size:18px;min-height:54px; }
 .layout-section { padding-block:56px; }
 .layout-section-head { gap:16px;margin-bottom:30px;padding-top:20px; }
 .layout-section-head h2 { font-size:30px; }
 .layout-year { display:none; }
 .layout-features { grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px; }
 .layout-features h3 { font-size:25px; }
 .layout-features p { font-size:19px; }
 .layout-projects { gap:28px;grid-template-columns:1fr; }
 .layout-project:first-child { grid-row:auto; }
 .layout-project>div,.layout-project:first-child>div { height:auto;min-height:0;aspect-ratio:4/3; }
 .layout-service-list>div { gap:24px;padding:24px 0; }
 .layout-service-list h3 { font-size:29px; }
 .layout-service-list>div>span { font-size:30px; }
 .layout-stats { grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px; }
 .layout-stat-number { font-size:58px; }
 .layout-stats p { font-size:20px; }
 .layout-footer { padding-top:56px; }
 .layout-footer-top { grid-template-columns:1fr;gap:48px; }
 .layout-invite h2 { font-size:54px; }
 .layout-email { font-size:clamp(21px,5.8vw,32px); }
 .layout-footer-actions { gap:22px; }
 .layout-footer-links nav a { font-size:20px; }
 .layout-footer-bottom { margin-top:40px!important; }
 .layout-portfolio { padding-top:124px;padding-bottom:64px; }
 .layout-portfolio h1 { font-size:48px;margin-bottom:36px; }
}
@media(max-width:480px) { .layout-features { grid-template-columns:1fr; } .layout-features article { display:grid;grid-template-columns:38px 1fr;column-gap:20px;padding:25px 0; } .layout-feature-icon { grid-row:span 2;margin:4px 0 0; } .layout-features h3 { margin-bottom:8px; } .layout-features p { grid-column:2; } }
@media(prefers-reduced-motion:reduce) { .layout-updated * { transition:none!important;scroll-behavior:auto!important; } }
body.layout-updated { background:#f6f1e6!important; }
.layout-home,.layout-portfolio { background:#f6f1e6;color:#1c0f09; }
.layout-socials a { display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #f6f1e633;border-radius:50%; }
.layout-socials svg { width:20px!important;height:20px!important;fill:currentColor; }
.layout-year { margin-left:0;margin-right:auto; }
.layout-portfolio-heading { display:flex;align-items:baseline;justify-content:space-between;gap:24px; }
.layout-portfolio-heading>span { font-size:16px;color:#67402e; }
