/*
Theme Name: MG Interior Design
Theme URI: https://mohamedgarawany.design
Author: ABMax Agency
Author URI: https://abmax.agency
Description: A dark, editorial one-page portfolio theme for Mohamed El Garawany Interior Design Studio.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mg-interior-design
*/

:root {
  --bg: #080808;
  --bg-soft: #101010;
  --bg-raised: #151515;
  --paper: #e8e6e1;
  --paper-soft: #d8d6d0;
  --ink: #0d0d0d;
  --white: #f5f4f1;
  --muted: #9c9c98;
  --muted-dark: #666660;
  --line: rgba(255,255,255,.16);
  --line-strong: rgba(255,255,255,.28);
  --line-dark: rgba(10,10,10,.18);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --pad: clamp(22px, 4vw, 72px);
  --section-y: clamp(100px, 11vw, 180px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--sans); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
::selection { color: #000; background: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p { text-wrap: pretty; }

.icon-arrow { width: 1em; height: 1em; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.header-contact .icon-arrow,.contact-details .icon-arrow { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }
.button .icon-arrow,.project-download .icon-arrow,.toast-icon .icon-arrow,.lead-submit .icon-arrow { width: 18px; height: 18px; }

.page-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100; }
.scroll-progress span { display: block; width: 0; height: 100%; background: #fff; }

.preloader { position: fixed; inset: 0; z-index: 2000; background: #080808; display: grid; place-items: center; align-content: center; gap: 22px; transition: transform 1s cubic-bezier(.77,0,.18,1); }
.preloader.hide { transform: translateY(-105%); }
.preloader-mark { font-family: var(--serif); font-size: clamp(72px, 12vw, 160px); letter-spacing: -.1em; margin-left: -.1em; }
.preloader-line { width: min(360px, 70vw); height: 1px; background: rgba(255,255,255,.16); overflow: hidden; }
.preloader-line span { display: block; height: 100%; width: 100%; background: #fff; transform: translateX(-100%); animation: loadLine 1.8s ease forwards; }
.preloader p { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .23em; text-transform: uppercase; }
@keyframes loadLine { to { transform: translateX(0); } }

.cursor { position: fixed; z-index: 1500; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); }
.cursor-ring { width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; transition: width .25s, height .25s, background .25s, border-color .25s; backdrop-filter: blur(2px); }
.cursor-ring span { font-size: 9px; letter-spacing: .16em; opacity: 0; transition: opacity .2s; }
body.cursor-ready .cursor { opacity: 1; }
body.cursor-project .cursor-ring { width: 92px; height: 92px; background: rgba(255,255,255,.92); color: #111; border-color: transparent; }
body.cursor-project .cursor-ring span { opacity: 1; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 900; height: 98px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background .35s, height .35s, border-color .35s; }
.site-header.scrolled { height: 74px; background: rgba(8,8,8,.84); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { justify-self: start; width: 126px; height: 70px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 123px; height: auto; object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(17px, 2.1vw, 34px); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.desktop-nav a { position: relative; color: #d7d7d4; }
.desktop-nav a::after { content:""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: #fff; transition: right .3s; }
.desktop-nav a:hover::after { right: 0; }
.header-contact { justify-self: end; display: flex; gap: 14px; align-items: center; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.header-contact span { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; justify-self: end; padding: 10px; }
.menu-toggle span { display: block; height: 1px; background: #fff; margin: 7px 0; transition: transform .3s; }
.menu-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 850; background: #0a0a0a; transform: translateY(-100%); transition: transform .7s cubic-bezier(.77,0,.18,1); display: none; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-inner { min-height: 100%; padding: 118px var(--pad) 42px; display: flex; flex-direction: column; }
.mobile-menu a { font-family: var(--serif); font-size: clamp(36px, 10.5vw, 64px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.mobile-menu p { margin-top: auto; color: var(--muted); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }

.section-dark { background: var(--bg); color: var(--white); }
.section-paper { background: var(--paper); color: var(--ink); }
.eyebrow { margin: 0 0 24px; font-size: 9px; line-height: 1.3; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.section-paper .eyebrow { color: var(--muted-dark); }
.display-title { margin: 0; font-family: var(--serif); font-size: clamp(58px, 7vw, 116px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.section-intro { margin: 0; max-width: 620px; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.75; color: #aaa9a5; }
.section-paper .section-intro { color: #53534f; }
.section-marker { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; margin-bottom: clamp(58px, 7vw, 100px); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.section-marker-dark { border-color: var(--line-dark); color: var(--muted-dark); }

.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 0 22px; border: 1px solid var(--line-strong); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover { background: transparent; color: var(--white); }
.button-ghost { background: transparent; color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--ink); }

.hero { min-height: 100svh; position: relative; padding: 148px var(--pad) 44px; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(390px,.88fr); gap: clamp(42px, 6vw, 110px); align-items: center; overflow: hidden; }
.hero::before { content:""; position: absolute; width: 820px; height: 820px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; left: -500px; top: 5%; }
.hero-gridline { position: absolute; background: rgba(255,255,255,.07); }
.hero-gridline-1 { top: 0; bottom: 0; left: 51%; width: 1px; }
.hero-gridline-2 { left: 0; right: 0; bottom: 12%; height: 1px; }
.hero-copy { position: relative; z-index: 4; max-width: 980px; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-title { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(56px, 6.4vw, 112px); line-height: .91; letter-spacing: -.05em; }
.title-line { display: block; overflow: hidden; padding-bottom: .05em; }
.title-line > span { display: block; transform: translateY(112%); animation: titleReveal 1.1s cubic-bezier(.2,.76,.2,1) forwards; }
.title-line:nth-child(1)>span { animation-delay: 1.7s; }
.title-line:nth-child(2)>span { animation-delay: 1.84s; }
.title-line:nth-child(3)>span { animation-delay: 1.98s; }
.title-line.italic { font-style: italic; color: #bdbdb8; padding-left: .35em; }
@keyframes titleReveal { to { transform: translateY(0); } }
.hero-description { max-width: 680px; margin: 34px 0 0; color: #b4b4b0; font-size: clamp(14px,1.08vw,17px); line-height: 1.75; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; height: min(76vh, 820px); min-height: 600px; align-self: end; isolation: isolate; perspective: 1200px; }
.hero-image-wrap { position: absolute; inset: 0 0 42px 12%; overflow: hidden; border-radius: 250px 250px 4px 4px; clip-path: inset(100% 0 0 0); animation: imageReveal 1.25s 1.5s cubic-bezier(.2,.76,.2,1) forwards; box-shadow: 0 42px 110px rgba(0,0,0,.46); }
.hero-image-wrap::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(to top,rgba(0,0,0,.72),transparent 50%),linear-gradient(120deg,rgba(0,0,0,.18),transparent 45%); }
.hero-image-wrap img { width: 100%; height: 112%; object-fit: cover; object-position: center 38%; transform: translateY(-4%); }
@keyframes imageReveal { to { clip-path: inset(0 0 0 0); } }
.hero-pattern { position: absolute; inset: 7% -7% auto auto; width: 45%; z-index: 2; opacity: .12; mix-blend-mode: screen; }
.hero-pattern img { width: 100%; filter: grayscale(1) contrast(1.2); }
.hero-logo-watermark { position:absolute; top: 11%; right: -4%; width: 44%; z-index:3; opacity:.22; mix-blend-mode:screen; filter:grayscale(1); pointer-events:none; }
.hero-logo-watermark img { width:100%; height:auto; }
.hero-founder-card { position:absolute; left:0; bottom:50px; z-index:5; width:min(238px,35%); margin:0; background:#0d0d0d; border:1px solid rgba(255,255,255,.18); box-shadow:0 24px 70px rgba(0,0,0,.45); overflow:hidden; transform:rotate(-2deg); }
.hero-founder-card::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.88),transparent 58%); pointer-events:none; }
.hero-founder-card img { width:100%; aspect-ratio:3/4.3; object-fit:cover; object-position:center top; filter:grayscale(1); }
.hero-founder-card figcaption { position:absolute; z-index:2; left:16px; right:16px; bottom:16px; }
.hero-founder-card figcaption span { display:block; color:#b7b7b1; font-size:7px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:5px; }
.hero-founder-card figcaption strong { display:block; font-family:var(--serif); font-size:20px; line-height:1; font-weight:400; }
.hero-location { position:absolute; z-index:6; right:16px; bottom:2px; color:#8f8f8a; font-size:8px; letter-spacing:.2em; text-transform:uppercase; writing-mode:vertical-rl; transform:rotate(180deg); }

.intro { padding: var(--section-y) var(--pad); }
.intro-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: clamp(58px, 9vw, 150px); align-items: start; }
.intro-heading { position: sticky; top: 120px; }
.intro-body { max-width: 690px; padding-top: 8px; }
.intro-body p { margin: 0 0 28px; color: #b9b9b4; font-size: clamp(17px,1.35vw,22px); line-height: 1.72; }
.intro-body p:nth-child(3) { font-family: var(--serif); color: var(--white); font-size: clamp(30px,3vw,52px); line-height: 1.1; }
.intro-visual { position: relative; min-height: min(65vw, 820px); margin-top: clamp(70px, 9vw, 140px); overflow: hidden; border-top: 1px solid var(--line); }
.intro-visual-main { position:absolute; inset:clamp(60px,7vw,110px) 6% 0 26%; overflow:hidden; }
.intro-visual-main::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.44),transparent 55%); }
.intro-visual-main img { width:100%; height:110%; object-fit:cover; }
.intro-visual-founder { position:absolute; left:5%; bottom:0; width:26%; z-index:2; border:1px solid var(--line-strong); background:#111; }
.intro-visual-founder img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center top; filter:grayscale(1); }
.intro-monogram { position:absolute; right:0; top:0; font-family:var(--serif); font-size:clamp(120px,20vw,340px); line-height:.72; letter-spacing:-.12em; color:rgba(255,255,255,.06); z-index:3; }

.services { padding: var(--section-y) var(--pad); }
.services-head { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.65fr); gap:clamp(45px,8vw,130px); align-items:end; margin-bottom:clamp(70px,8vw,120px); }
.service-grid { border-top:1px solid var(--line-dark); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.service-card { min-height:390px; padding:34px 30px 38px; border-right:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); display:flex; flex-direction:column; position:relative; overflow:hidden; transition:background .35s,color .35s; }
.service-card:nth-child(3n) { border-right:0; }
.service-card::before { content:""; position:absolute; inset:auto 0 0; height:0; background:#111; transition:height .5s cubic-bezier(.2,.75,.2,1); z-index:0; }
.service-card:hover::before { height:100%; }
.service-card > * { position:relative; z-index:1; }
.service-card:hover { color:#fff; }
.service-number { font-size:9px; letter-spacing:.18em; color:#76766f; }
.service-card:hover .service-number { color:#9d9d98; }
.service-card h3 { margin:auto 0 24px; font-family:var(--serif); font-size:clamp(34px,3vw,54px); font-weight:400; line-height:1.05; letter-spacing:-.03em; }
.service-card p { margin:0; color:#5f5f5a; font-size:14px; line-height:1.75; max-width:420px; }
.service-card:hover p { color:#b9b9b4; }

.portfolio { padding: var(--section-y) var(--pad); }
.portfolio-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,.66fr); gap:clamp(50px,8vw,130px); align-items:end; margin-bottom:70px; }
.featured-projects-head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; padding-bottom:18px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.featured-projects-head h3 { margin:0; font-family:var(--serif); font-size:clamp(38px,4.5vw,72px); font-weight:400; }
.featured-projects-head span { color:var(--muted); font-size:9px; letter-spacing:.2em; }
.project-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-rows:62px; gap:20px; }
.project-card { position:relative; display:block; overflow:hidden; min-height:340px; background:#151515; isolation:isolate; }
.project-card.large-wide { grid-column:span 8; grid-row:span 8; }
.project-card.small-a { grid-column:span 4; grid-row:span 4; }
.project-card.small-b { grid-column:span 4; grid-row:span 4; }
.project-card.medium-left { grid-column:span 5; grid-row:span 7; }
.project-card.medium-right { grid-column:span 7; grid-row:span 7; }
.project-card.small-bottom { grid-column:span 4; grid-row:span 5; }
.project-card.large-bottom { grid-column:span 8; grid-row:span 5; }
.project-card-media { position:absolute; inset:0; overflow:hidden; }
.project-card-media::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.9),transparent 58%),linear-gradient(120deg,rgba(0,0,0,.18),transparent 50%); transition:opacity .4s; }
.project-card-media img { width:100%; height:100%; object-fit:cover; transition:transform 1s cubic-bezier(.2,.7,.2,1),filter .5s; }
.project-card:hover .project-card-media img { transform:scale(1.055); }
.pdf-label { position:absolute; z-index:3; top:18px; right:18px; padding:8px 10px; background:rgba(8,8,8,.62); border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(10px); font-size:7px; letter-spacing:.16em; text-transform:uppercase; }
.project-meta { position:absolute; z-index:3; left:0; right:0; bottom:0; padding:24px; display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:end; }
.project-number { font-size:8px; letter-spacing:.18em; color:#aaa9a4; padding-bottom:6px; }
.project-info > span { display:block; margin-bottom:6px; color:#b9b9b4; font-size:7px; letter-spacing:.16em; text-transform:uppercase; }
.project-info h3 { margin:0; max-width:620px; font-family:var(--serif); font-size:clamp(28px,3vw,52px); line-height:1; font-weight:400; letter-spacing:-.03em; }
.project-download { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; transition:background .3s,color .3s,transform .3s; }
.project-card:hover .project-download { background:#fff; color:#000; transform:rotate(45deg); }
.portfolio-types { margin-top:clamp(90px,10vw,150px); border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.portfolio-type { min-height:310px; padding:30px 26px; border-right:1px solid var(--line); display:flex; flex-direction:column; }
.portfolio-type:last-child { border-right:0; }
.portfolio-type > span { color:var(--muted); font-size:9px; letter-spacing:.18em; }
.portfolio-type h3 { margin:auto 0 18px; font-family:var(--serif); font-size:clamp(30px,3vw,48px); line-height:1.06; font-weight:400; }
.portfolio-type p { margin:0; color:#a7a7a2; font-size:13px; line-height:1.7; }

.philosophy { padding:var(--section-y) var(--pad); border-top:1px solid var(--line); }
.philosophy-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.75fr); gap:clamp(60px,9vw,150px); }
.philosophy-title-wrap { position:relative; min-height:760px; }
.philosophy-title-wrap .display-title { position:sticky; top:120px; z-index:2; }
.philosophy-mark { position:absolute; left:0; bottom:0; font-family:var(--serif); font-size:clamp(150px,22vw,380px); line-height:.65; letter-spacing:-.12em; color:rgba(255,255,255,.055); }
.philosophy-copy { padding-top:12px; }
.philosophy-copy > p { margin:0 0 34px; color:#b3b3ae; font-size:clamp(17px,1.25vw,21px); line-height:1.75; }
.philosophy-questions { margin:54px 0; border-top:1px solid var(--line); }
.philosophy-questions p { margin:0; padding:20px 0; border-bottom:1px solid var(--line); font-family:var(--serif); font-size:clamp(30px,3.2vw,54px); line-height:1.05; color:#fff; }

.why-mg { padding:var(--section-y) var(--pad); }
.why-layout { display:grid; grid-template-columns:minmax(340px,.78fr) minmax(0,1.22fr); gap:clamp(60px,9vw,150px); }
.why-sticky { position:sticky; top:105px; align-self:start; }
.why-sticky .display-title { font-size:clamp(58px,6vw,98px); }
.why-image { width:min(310px,70%); margin-top:58px; overflow:hidden; border-radius:180px 180px 0 0; }
.why-image img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center top; filter:grayscale(1); }
.why-list { border-top:1px solid var(--line-dark); }
.why-item { display:grid; grid-template-columns:70px 1fr; gap:24px; padding:34px 0 38px; border-bottom:1px solid var(--line-dark); }
.why-item > span { padding-top:7px; font-size:9px; letter-spacing:.18em; color:#74746e; }
.why-item h3 { margin:0 0 14px; font-family:var(--serif); font-size:clamp(30px,3.2vw,52px); font-weight:400; line-height:1.05; }
.why-item p { margin:0; color:#565651; font-size:14px; line-height:1.75; max-width:780px; }

.process { padding:var(--section-y) var(--pad); }
.process-head { margin-bottom:clamp(65px,8vw,110px); }
.process-list { border-top:1px solid var(--line); }
.process-step { display:grid; grid-template-columns:100px minmax(0,1fr); gap:32px; padding:38px 0 42px; border-bottom:1px solid var(--line); position:relative; }
.process-step::after { content:""; position:absolute; left:0; right:100%; bottom:-1px; height:1px; background:#fff; transition:right .55s ease; }
.process-step:hover::after { right:0; }
.step-number { padding-top:11px; color:var(--muted); font-size:9px; letter-spacing:.18em; }
.process-step > div { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(320px,1fr); gap:clamp(36px,8vw,130px); align-items:start; }
.process-step h3 { margin:0; font-family:var(--serif); font-size:clamp(34px,4vw,66px); font-weight:400; line-height:1; }
.process-step p { margin:9px 0 0; color:#a9a9a4; font-size:15px; line-height:1.75; max-width:620px; }

.cta-section { position:relative; min-height:86vh; padding:var(--section-y) var(--pad); display:grid; place-items:center; overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.cta-pattern { position:absolute; inset:-30% -8% auto auto; width:min(72vw,1000px); opacity:.07; mix-blend-mode:screen; pointer-events:none; }
.cta-pattern img { width:100%; filter:grayscale(1) contrast(1.2); }
.cta-section::before { content:""; position:absolute; width:min(70vw,900px); aspect-ratio:1; border:1px solid rgba(255,255,255,.08); border-radius:50%; }
.cta-content { position:relative; z-index:2; text-align:center; max-width:1080px; display:flex; flex-direction:column; align-items:center; }
.cta-content h2 { margin:0; font-family:var(--serif); font-size:clamp(58px,8vw,130px); line-height:.93; letter-spacing:-.05em; font-weight:400; }
.cta-content > p:not(.eyebrow) { max-width:760px; margin:38px auto 34px; color:#b6b6b1; font-size:clamp(16px,1.25vw,20px); line-height:1.75; }
.cta-content .button { min-width:190px; }
.cta-note { margin-top:22px; color:#8e8e89; font-size:11px; line-height:1.6; }

.contact { padding:var(--section-y) var(--pad) 80px; }
.contact-layout { display:grid; grid-template-columns:minmax(340px,.75fr) minmax(0,1.25fr); gap:clamp(58px,9vw,150px); align-items:start; }
.contact-heading { position:sticky; top:105px; }
.contact-heading .display-title { font-size:clamp(58px,6.5vw,106px); }
.contact-portrait { margin-top:55px; width:min(330px,76%); overflow:hidden; border-radius:190px 190px 0 0; }
.contact-portrait img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center top; filter:grayscale(1); }
.lead-form-card { background:#f4f2ed; color:#111; padding:clamp(28px,4vw,58px); box-shadow:0 36px 100px rgba(0,0,0,.2); }
.lead-form { display:grid; gap:28px; }
.form-row { display:grid; gap:12px; }
.form-row.two-cols { grid-template-columns:1fr 1fr; gap:24px; }
.lead-form label { display:grid; gap:10px; }
.lead-form label > span { font-size:8px; text-transform:uppercase; letter-spacing:.18em; color:#6d6d68; }
.lead-form input,.lead-form select,.lead-form textarea { width:100%; border:0; border-bottom:1px solid rgba(0,0,0,.26); border-radius:0; background:transparent; color:#111; padding:12px 0 13px; font-family:var(--sans); font-size:14px; outline:none; transition:border-color .25s; }
.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus { border-color:#000; }
.lead-form select { appearance:none; background-image:linear-gradient(45deg,transparent 50%,#111 50%),linear-gradient(135deg,#111 50%,transparent 50%); background-position:calc(100% - 12px) 50%,calc(100% - 7px) 50%; background-size:5px 5px,5px 5px; background-repeat:no-repeat; padding-right:28px; }
.lead-form textarea { resize:vertical; min-height:128px; line-height:1.6; }
.form-honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.lead-submit { margin-top:8px; width:100%; min-height:70px; border:0; background:#0b0b0b; color:#fff; display:flex; justify-content:space-between; align-items:center; padding:0 24px; cursor:pointer; text-transform:uppercase; letter-spacing:.15em; font-size:10px; transition:background .3s,color .3s; }
.lead-submit b { width:38px; height:38px; border:1px solid rgba(255,255,255,.35); border-radius:50%; display:grid; place-items:center; font-size:17px; font-weight:400; transition:transform .3s,background .3s,color .3s; }
.lead-submit:hover { background:#242424; }
.lead-submit:hover b { transform:rotate(-45deg); background:#fff; color:#000; }
.lead-submit.is-loading { opacity:.7; pointer-events:none; }
.form-notice { margin:0 0 26px; padding:14px 16px; font-size:12px; line-height:1.5; border:1px solid rgba(0,0,0,.18); }
.form-notice.success { background:#dde4da; }
.form-notice.error { background:#eadbd8; }
.contact-bottom { margin-top:clamp(80px,9vw,130px); padding-top:34px; border-top:1px solid var(--line-dark); display:grid; grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr); gap:70px; }
.contact-ready span { display:block; color:#73736e; font-size:9px; letter-spacing:.18em; text-transform:uppercase; margin-bottom:10px; }
.contact-ready strong { font-family:var(--serif); font-size:clamp(40px,4.4vw,72px); line-height:1; font-weight:400; }
.contact-details { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.contact-details > div { border-left:1px solid var(--line-dark); padding-left:20px; }
.contact-details span { display:block; color:#73736e; font-size:8px; letter-spacing:.17em; text-transform:uppercase; margin-bottom:14px; }
.contact-details a,.contact-details p { display:block; margin:0 0 6px; color:#2f2f2c; font-size:13px; line-height:1.65; word-break:break-word; }
.contact-details a:hover { text-decoration:underline; }

footer { background:#090909; border-top:1px solid var(--line); padding:38px var(--pad); display:grid; grid-template-columns:1fr 1fr 1fr; align-items:end; gap:24px; color:#858580; font-size:10px; text-transform:uppercase; letter-spacing:.13em; }
.footer-brand { color:#fff; font-family:var(--serif); font-size:52px; letter-spacing:-.1em; line-height:.7; }
footer p { margin:0; }
footer p:last-child { text-align:right; }

.download-toast { position:fixed; right:24px; bottom:24px; z-index:1200; background:#f4f3ef; color:#111; padding:14px 18px; min-width:250px; display:flex; gap:14px; align-items:center; transform:translateY(140%); transition:transform .45s cubic-bezier(.2,.8,.2,1); box-shadow:0 22px 60px rgba(0,0,0,.28); }
.download-toast.show { transform:translateY(0); }
.toast-icon { width:36px;height:36px;border:1px solid #ccc;border-radius:50%;display:grid;place-items:center; }
.download-toast strong,.download-toast small { display:block; }
.download-toast strong { font-family:var(--serif); font-size:18px; font-weight:400; }
.download-toast small { color:#777; margin-top:2px; }

.reveal { opacity:0; transform:translateY(42px); transition:opacity .95s ease,transform .95s cubic-bezier(.2,.72,.2,1); }
.reveal.in-view { opacity:1; transform:translateY(0); }
.reveal-image { opacity:0; transform:translateY(46px) scale(.985); transition:opacity .95s ease,transform 1.15s cubic-bezier(.2,.72,.2,1); }
.reveal-image.in-view { opacity:1; transform:translateY(0) scale(1); }

@media (max-width: 1220px) {
  .desktop-nav { gap:18px; }
  .hero { grid-template-columns:minmax(0,1fr) minmax(360px,.78fr); }
  .hero-title { font-size:clamp(54px,6.7vw,96px); }
  .project-grid { grid-auto-rows:56px; }
}

@media (max-width: 1080px) {
  .desktop-nav,.header-contact { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .menu-toggle,.mobile-menu { display:block; }
  .hero { grid-template-columns:1fr .82fr; }
  .hero-title { font-size:clamp(54px,8.2vw,90px); }
  .intro-layout,.services-head,.portfolio-head,.philosophy-layout,.why-layout,.contact-layout { grid-template-columns:1fr; }
  .intro-heading,.philosophy-title-wrap .display-title,.why-sticky,.contact-heading { position:relative; top:auto; }
  .intro-body { max-width:760px; }
  .philosophy-title-wrap { min-height:auto; }
  .philosophy-mark { display:none; }
  .why-image,.contact-portrait { width:min(330px,48%); }
  .service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-card:nth-child(3n) { border-right:1px solid var(--line-dark); }
  .service-card:nth-child(2n) { border-right:0; }
  .project-grid { grid-template-columns:repeat(6,minmax(0,1fr)); grid-auto-rows:90px; gap:18px; }
  .project-card.large-wide { grid-column:span 6; grid-row:span 5; }
  .project-card.small-a,.project-card.small-b { grid-column:span 3; grid-row:span 3; }
  .project-card.medium-left { grid-column:span 6; grid-row:span 4; }
  .project-card.medium-right,.project-card.small-bottom { grid-column:span 3; grid-row:span 3; }
  .project-card.large-bottom { grid-column:span 6; grid-row:span 4; }
  .portfolio-types { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .portfolio-type:nth-child(2) { border-right:0; }
  .portfolio-type:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .process-step > div { grid-template-columns:1fr; gap:18px; }
  .contact-bottom { grid-template-columns:1fr; }
  .contact-details { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  :root { --pad:20px; --section-y:98px; }
  .cursor { display:none; }
  .site-header { height:78px; }
  .brand { width:94px; height:58px; }
  .brand img { width:95px; }
  .mobile-menu-inner { padding-top:105px; }
  .mobile-menu a { font-size:clamp(34px,10vw,50px); padding:8px 0; }
  .display-title { font-size:clamp(46px,13.5vw,72px); }
  .section-marker { margin-bottom:50px; }
  .section-intro { font-size:15px; }
  .button { min-height:55px; width:100%; }

  .hero { min-height:auto; padding-top:112px; grid-template-columns:1fr; gap:54px; }
  .hero-gridline-1 { display:none; }
  .hero-title { font-size:clamp(48px,13.8vw,72px); line-height:.92; }
  .title-line.italic { padding-left:.14em; }
  .hero-description { font-size:13px; margin-top:28px; }
  .hero-actions { display:grid; grid-template-columns:1fr 1fr; }
  .hero-actions .button { min-width:0; padding:0 14px; gap:12px; }
  .hero-visual { height:70vh; min-height:555px; }
  .hero-image-wrap { left:10%; right:0; bottom:42px; border-radius:170px 170px 4px 4px; }
  .hero-pattern { width:58%; right:-12%; }
  .hero-logo-watermark { width:52%; right:-5%; top:10%; }
  .hero-founder-card { width:39%; left:0; bottom:52px; }
  .hero-founder-card figcaption { left:11px; right:11px; bottom:11px; }
  .hero-founder-card figcaption span { display:none; }
  .hero-founder-card figcaption strong { font-size:15px; }
  .hero-location { display:none; }

  .intro-layout { gap:38px; }
  .intro-body p { font-size:16px; margin-bottom:22px; }
  .intro-body p:nth-child(3) { font-size:34px; }
  .intro-visual { min-height:620px; margin-top:70px; }
  .intro-visual-main { inset:50px 0 0 18%; }
  .intro-visual-founder { left:0; width:38%; }
  .intro-monogram { font-size:150px; right:-8px; }

  .services-head { gap:28px; margin-bottom:55px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card,.service-card:nth-child(3n),.service-card:nth-child(2n) { border-right:0; min-height:320px; padding:28px 22px 30px; }
  .service-card h3 { font-size:40px; }

  .portfolio-head { gap:30px; margin-bottom:48px; }
  .featured-projects-head h3 { font-size:40px; }
  .project-grid { display:grid; grid-template-columns:1fr; grid-auto-rows:auto; gap:16px; }
  .project-card.large-wide,.project-card.small-a,.project-card.small-b,.project-card.medium-left,.project-card.medium-right,.project-card.small-bottom,.project-card.large-bottom { grid-column:auto; grid-row:auto; }
  .project-card { min-height:0; aspect-ratio:4/4.9; }
  .project-card:nth-child(1),.project-card:nth-child(4),.project-card:nth-child(7) { aspect-ratio:4/5.3; }
  .project-card:nth-child(2),.project-card:nth-child(3),.project-card:nth-child(5),.project-card:nth-child(6) { aspect-ratio:4/4.15; }
  .project-meta { padding:20px; grid-template-columns:auto 1fr; gap:13px; }
  .project-download { display:none; }
  .project-info h3 { font-size:34px; }
  .portfolio-types { grid-template-columns:1fr; margin-top:80px; }
  .portfolio-type,.portfolio-type:nth-child(2) { border-right:0; border-bottom:1px solid var(--line); min-height:260px; padding:26px 0; }
  .portfolio-type:last-child { border-bottom:0; }

  .philosophy-layout { gap:50px; }
  .philosophy-copy > p { font-size:16px; margin-bottom:26px; }
  .philosophy-questions { margin:38px 0; }
  .philosophy-questions p { font-size:34px; padding:17px 0; }

  .why-image,.contact-portrait { width:60%; margin-top:40px; }
  .why-list { margin-top:55px; }
  .why-item { grid-template-columns:42px 1fr; gap:14px; padding:28px 0; }
  .why-item h3 { font-size:34px; }
  .why-item p { font-size:13px; }

  .process-step { grid-template-columns:42px 1fr; gap:14px; padding:28px 0 32px; }
  .process-step h3 { font-size:36px; }
  .process-step p { font-size:13px; }

  .cta-section { min-height:82vh; }
  .cta-content h2 { font-size:clamp(50px,14vw,76px); }
  .cta-content > p:not(.eyebrow) { font-size:14px; margin:28px auto; }
  .cta-content .button { width:auto; min-width:190px; }

  .contact-layout { gap:55px; }
  .lead-form-card { padding:28px 20px; }
  .form-row.two-cols { grid-template-columns:1fr; gap:26px; }
  .contact-bottom { gap:45px; }
  .contact-details { grid-template-columns:1fr; }
  .contact-details > div { border-left:0; border-top:1px solid var(--line-dark); padding:20px 0 0; }

  footer { grid-template-columns:1fr; align-items:start; }
  footer p:last-child { text-align:left; }
  .download-toast { left:16px; right:16px; bottom:16px; min-width:0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .title-line > span { transform:none; }
}

.admin-bar .site-header { top:32px; }
.admin-bar .mobile-menu { top:32px; }
@media (max-width:782px) {
  .admin-bar .site-header { top:46px; }
  .admin-bar .mobile-menu { top:46px; }
}
