:root {
--font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
--font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
--text-2xl: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
--text-hero: clamp(2.5rem, 1.4rem + 4.2vw, 5.25rem);
--s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
--s-6: 2rem; --s-8: 3rem; --s-10: 4rem; --s-12: 6rem; --s-16: 8rem;
--wrap: 1400px;
--gutter: clamp(1.25rem, 4vw, 3rem);
--r: 2px;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
color-scheme: light;
--c-bg: #ffffff;
--c-surface: #f4f3ef;
--c-surface-2: #e7e5df;
--c-ink: #16171a;
--c-ink-2: #45464a;
--c-on-ink: #f4efe6;
--c-muted: #7b7a75;
--c-line: rgba(22, 23, 26, 0.14);
--c-line-strong: #16171a;
--c-field: #ffffff; --c-hd-bg: rgba(255, 255, 255, 0.92);
--c-hd-solid: #ffffff;
--c-hd-text: #16171a;
--c-hd-text-2: #45464a;
--c-hd-line: rgba(22, 23, 26, 0.14);
--c-panel: #f4f3ef;
--c-on-panel: #16171a;
--c-on-panel-2: #45464a;
--c-panel-line: rgba(22, 23, 26, 0.16);
--c-footer: #ffffff;
--c-agent: #ffffff;
--c-accent: #b4562a;
--c-accent-hover: #963f18;
--c-accent-soft: rgba(180, 86, 42, 0.12);
--c-dark: #16171a;
--c-dark-2: #1f2024;
--c-on-dark: #f4efe6;
--c-on-dark-2: rgba(244, 239, 230, 0.68);
--c-line-dark: rgba(244, 239, 230, 0.16);
}
html[data-theme="dark"] {
color-scheme: dark;
--c-bg: #121316;
--c-surface: #1a1b1f;
--c-surface-2: #25262b;
--c-ink: #f4efe6;
--c-ink-2: rgba(244, 239, 230, 0.74);
--c-on-ink: #16171a;
--c-muted: #9b9990;
--c-line: rgba(244, 239, 230, 0.16);
--c-line-strong: #f4efe6;
--c-field: #1a1b1f;
--c-hd-bg: rgba(18, 19, 22, 0.92);
--c-hd-solid: #121316;
--c-hd-text: #f4efe6;
--c-hd-text-2: rgba(244, 239, 230, 0.68);
--c-hd-line: rgba(244, 239, 230, 0.16);
--c-panel: #1a1b1f;
--c-on-panel: #f4efe6;
--c-on-panel-2: rgba(244, 239, 230, 0.72);
--c-panel-line: rgba(244, 239, 230, 0.16);
--c-footer: #0e0f11;
--c-agent: #1a1b1f;
} *, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
margin: 0;
overflow-x: clip;
font-family: var(--font-body);
font-size: var(--text-base);
line-height: 1.55;
color: var(--c-ink);
background: var(--c-bg);
-webkit-font-smoothing: antialiased;
transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.skip-link {
position: absolute; left: var(--s-4); top: -100px;
background: var(--c-ink); color: var(--c-on-ink); padding: var(--s-2) var(--s-4); border-radius: var(--r); z-index: 100;
}
.skip-link:focus { top: var(--s-4); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; } .sec-head {
display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6); align-items: end;
padding-bottom: var(--s-5); border-bottom: 1px solid var(--c-line-strong);
}
.sec-head .idx { font-family: var(--font-display); font-size: var(--text-xl); color: var(--c-accent); line-height: 1; padding-bottom: 4px; }
.sec-head h2 { font-size: var(--text-2xl); }
.sec-head .meta { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); text-align: right; }
.sec-head .meta a { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--c-ink); }
.sec-head .meta svg { width: 14px; height: 14px; }
.dark .sec-head { border-color: var(--c-line-dark); }
.dark .sec-head .meta { color: var(--c-on-dark-2); }
.dark .sec-head .meta a { color: var(--c-on-dark); } .btn {
display: inline-flex; align-items: center; gap: var(--s-3);
padding: 0.9rem 1.5rem; border-radius: var(--r);
font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.02em; line-height: 1;
border: 1px solid var(--c-line-strong); color: var(--c-ink); background: transparent;
transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
min-height: 48px;
}
.btn:hover { background: var(--c-ink); color: var(--c-on-ink); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn-accent:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: #fff; }
.btn-light { border-color: rgba(244,239,230,.5); color: var(--c-on-dark); }
.btn-light:hover { background: var(--c-on-dark); color: var(--c-ink); border-color: var(--c-on-dark); }
.btn svg { width: 16px; height: 16px; } .site-header {
--c-on-dark: var(--c-hd-text); --c-on-dark-2: var(--c-hd-text-2); --c-line-dark: var(--c-hd-line);
position: sticky; top: 0; z-index: 50; background: var(--c-hd-bg); color: var(--c-hd-text);
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-hd-line);
transition: background-color .35s var(--ease), color .35s var(--ease);
}
.site-header .btn-accent { color: #fff; }
.theme-toggle { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-hd-line); border-radius: var(--r); color: var(--c-hd-text); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.theme-toggle:hover { border-color: var(--c-hd-text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: block; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.site-header .wrap {
display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-8);
height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--c-on-dark); }
.brand svg { height: 38px; width: auto; }
.nav { display: flex; justify-content: flex-start; gap: clamp(1rem, 2.5vw, 2.25rem); padding-left: var(--s-6); border-left: 1px solid var(--c-line-dark); }
.nav a { font-size: 0.92rem; padding: var(--s-2) 0; position: relative; color: var(--c-on-dark-2); transition: color .25s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--c-on-dark); }
.nav a::after {
content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-accent);
transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.lang { font-size: var(--text-xs); letter-spacing: .1em; color: var(--c-on-dark-2); }
.header-cta .btn { padding: .75rem 1.2rem; min-height: 42px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); border: 1px solid var(--c-line-dark); color: var(--c-on-dark); }
.menu-toggle svg { width: 20px; height: 20px; } .hero { position: relative; background: var(--c-dark); color: var(--c-on-dark); overflow: hidden; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-media::after {
content: ""; position: absolute; inset: 0;
background: linear-gradient(180deg, rgba(22,23,26,.62) 0%, rgba(22,23,26,.38) 30%, rgba(22,23,26,.55) 55%, rgba(22,23,26,.9) 80%, rgba(22,23,26,1) 100%);
}
.hero .wrap { position: relative; display: grid; gap: var(--s-8); padding: clamp(5rem, 12vh, 9rem) 0 0; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-6); }
.kicker { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: rgba(244,239,230,.85); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.live { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; padding: .55rem .9rem; border: 1px solid var(--c-line-dark); border-radius: var(--r); background: rgba(22,23,26,.45); backdrop-filter: blur(6px); color: var(--c-on-dark); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px rgba(180,86,42,.3); }
.live svg { width: 14px; height: 14px; }
.hero h1 { font-size: var(--text-hero); max-width: 15ch; }
.hero .lead { margin-top: var(--s-5); max-width: 52ch; color: rgba(244,239,230,.86); font-size: var(--text-lg); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-stats {
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-line-dark);
margin-top: var(--s-6);
}
.hero-stats div { padding: var(--s-5) var(--s-5) var(--s-6) 0; border-right: 1px solid var(--c-line-dark); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats div + div { padding-left: var(--s-5); }
.hero-stats .n { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1; }
.hero-stats .l { display: block; margin-top: var(--s-2); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-on-dark-2); } .section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-surface { background: var(--c-surface); }
.dark { --c-on-dark: var(--c-on-panel); --c-on-dark-2: var(--c-on-panel-2); --c-line-dark: var(--c-panel-line); background: var(--c-panel); color: var(--c-on-panel); transition: background-color .35s var(--ease), color .35s var(--ease); } .featured {
display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem);
align-items: stretch; margin-top: var(--s-8);
}
.featured-media { position: relative; }
.featured-media .arch { height: 100%; min-height: 420px; overflow: hidden; border-radius: var(--r); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media .float {
position: absolute; left: 0; bottom: 0; background: var(--c-dark); color: var(--c-on-dark); padding: var(--s-5) var(--s-6);
display: grid; gap: 4px; min-width: 180px; border-top-right-radius: var(--r);
}
.featured-media .float .n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.featured-media .float .l { font-size: var(--text-xs); color: var(--c-on-dark-2); text-transform: uppercase; letter-spacing: .1em; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-copy .body, .featured-copy .stats { align-self: stretch; }
.featured-copy h3 { font-size: var(--text-2xl); margin-top: var(--s-4); }
.featured-copy .loc { color: var(--c-muted); font-size: var(--text-sm); margin-top: var(--s-2); }
.featured-copy p.body { margin-top: var(--s-5); color: var(--c-ink-2); max-width: 56ch; }
.featured-copy .actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: var(--s-6); border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.stat { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: end; padding: var(--s-4); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.stat svg { width: 28px; height: 28px; color: var(--c-accent); margin-bottom: 4px; }
.stat .l { font-size: var(--text-xs); color: var(--c-muted); letter-spacing: .06em; text-transform: uppercase; }
.stat .n { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1; }
.badge {
display: inline-flex; align-items: center; gap: .5rem; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase;
padding: .45rem .75rem; border-radius: var(--r); background: var(--c-accent); color: #fff; font-weight: 700;
}
.badge::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.badge-soon { background: var(--c-surface-2); color: var(--c-ink); }
.badge-neutral { background: var(--c-ink); color: var(--c-on-ink); } .projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-10) var(--s-8); margin-top: var(--s-10); counter-reset: proj; }
.project { display: grid; gap: var(--s-4); position: relative; counter-increment: proj; }
.project::before {
content: "0" counter(proj); position: absolute; right: 0; top: -1.9rem; font-family: var(--font-display); font-size: var(--text-sm);
letter-spacing: .1em; color: var(--c-muted);
}
.project-media { position: relative; aspect-ratio: 16 / 10; background: var(--c-surface-2); border-radius: var(--r); }
.project-media::after {
content: ""; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--c-line); pointer-events: none; z-index: 0;
transition: inset .5s var(--ease);
}
.project:hover .project-media::after { inset: 8px -8px -8px 8px; }
.project-media .img { position: relative; z-index: 1; overflow: hidden; height: 100%; border-radius: var(--r); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project-media img { transform: scale(1.03); }
.project-media .badge { position: absolute; left: var(--s-4); top: var(--s-4); z-index: 2; }
.project-head { display: flex; justify-content: space-between; gap: var(--s-4); align-items: baseline; margin-top: var(--s-3); }
.project h3 { font-size: var(--text-xl); }
.project .loc { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }
.project p { color: var(--c-ink-2); max-width: 60ch; }
.project .facts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.project .facts li { font-size: var(--text-xs); padding: .4rem .7rem; background: var(--c-surface); border-radius: var(--r); color: var(--c-ink-2); }
.section-surface .project .facts li { background: var(--c-bg); }
.project .more {
display: inline-flex; align-items: center; gap: var(--s-3); margin-top: var(--s-2);
font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; min-height: 44px; color: var(--c-accent);
}
.project .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.project .more:hover svg { transform: translateX(4px); } .about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 6rem); margin-top: var(--s-10); align-items: start; }
.about-grid .cols { display: grid; gap: var(--s-5); color: var(--c-on-dark-2); font-size: var(--text-lg); }
.about-grid .cols p strong { color: var(--c-on-dark); font-weight: 700; }
.about-media { position: relative; isolation: isolate; }
.about-media .blob { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .dot { position: absolute; left: -14px; top: 14px; right: 14px; bottom: -14px; border: 1px solid var(--c-line-dark); z-index: -1; border-radius: var(--r); }
.section-title { font-size: var(--text-2xl); max-width: 24ch; margin-top: var(--s-8); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-12); }
.pillar { padding: var(--s-5) 0 0; border-top: 1px solid var(--c-line-dark); position: relative; }
.pillar::before { content: attr(data-n); font-family: var(--font-display); font-size: var(--text-xs); letter-spacing: .12em; color: var(--c-accent); display: block; margin-bottom: var(--s-4); }
.pillar .k { font-family: var(--font-display); font-size: var(--text-xl); }
.pillar p { margin-top: var(--s-3); color: var(--c-on-dark-2); font-size: var(--text-sm); } .process { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); margin-top: var(--s-8); }
.process .intro { color: var(--c-ink-2); display: grid; gap: var(--s-4); max-width: 60ch; }
.process .intro h3 { font-size: var(--text-2xl); color: var(--c-ink); }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); position: relative; padding-top: var(--s-6); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--c-line-strong); }
.step { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding-right: var(--s-4); }
.step::before { content: ""; position: absolute; left: 0; top: calc(-1 * var(--s-6) + 1px); width: 13px; height: 13px; background: var(--c-bg); border: 1px solid var(--c-line-strong); border-radius: 50%; }
.section-surface .step::before { background: var(--c-surface); }
.step-accent::before { background: var(--c-accent) !important; border-color: var(--c-accent); }
.step .num { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; color: var(--c-accent); }
.step .sub { font-size: var(--text-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; }
.step .t { font-size: var(--text-sm); font-weight: 700; margin-top: -4px; } .contact-banner { display: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(3.5rem, 7vw, 6.5rem) 0; align-items: start; }
.agent { --c-on-dark: var(--c-ink); --c-on-dark-2: var(--c-ink-2); --c-line-dark: var(--c-line); background: var(--c-agent); color: var(--c-ink); padding: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r); display: grid; gap: var(--s-2); transition: background-color .35s var(--ease), color .35s var(--ease); }
.agent .portrait { order: -1; width: 100%; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: var(--r); margin-bottom: var(--s-4); background: var(--c-surface-2); }
.agent .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.agent .name { font-family: var(--font-display); font-size: var(--text-xl); }
.agent .role { font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-on-dark-2); }
.agent .links { display: grid; gap: 4px; margin-top: var(--s-3); font-size: var(--text-base); }
.agent .links a { border-bottom: 1px solid var(--c-line-dark); padding: var(--s-2) 0; display: flex; justify-content: space-between; }
.agent .links a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.agent .company { margin-top: var(--s-5); font-size: var(--text-sm); color: var(--c-on-dark-2); display: grid; gap: 2px; }
.agent .company strong { color: var(--c-on-dark); }
.agent .phone-btn { margin-top: var(--s-5); }
.form h2 { font-size: var(--text-2xl); max-width: 22ch; }
.form .sub { margin-top: var(--s-4); color: var(--c-ink-2); max-width: 60ch; }
.form form { margin-top: var(--s-8); display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2); }
.field input, .field textarea {
font: inherit; width: 100%; padding: .85rem 1rem; border: 1px solid var(--c-line); background: var(--c-field);
color: var(--c-ink); border-radius: var(--r); transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-ink); }
.field textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.check { display: flex; align-items: center; gap: var(--s-3); font-size: var(--text-sm); min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-field); cursor: pointer; }
.check:has(input:checked) { border-color: var(--c-ink); }
.check input { width: 16px; height: 16px; accent-color: var(--c-accent); margin: 0; }
.consent { font-size: var(--text-sm); display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-2); }
.consent input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--c-accent); }
.consent a { text-decoration: underline; }
.form-foot { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-2); }
.form-note { font-size: var(--text-xs); color: var(--c-muted); max-width: 40ch; }
.form-status { font-size: var(--text-sm); color: var(--c-accent); min-height: 1.4em; } .site-footer { --c-on-dark: var(--c-on-panel); --c-on-dark-2: var(--c-on-panel-2); --c-line-dark: var(--c-panel-line); background: var(--c-footer); color: var(--c-on-panel-2); border-top: 1px solid var(--c-panel-line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-6) 0; font-size: var(--text-sm); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.site-footer a:hover { color: var(--c-on-dark); } dialog.detail {
border: 0; padding: 0; margin: 0; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--c-bg); color: var(--c-ink); overflow: auto;
box-shadow: 0 40px 120px -40px rgba(0,0,0,.6);
}
dialog.detail::backdrop { background: rgba(22, 23, 26, .7); backdrop-filter: blur(4px); }
@media (min-width: 900px) { dialog.detail { margin: auto; width: min(92vw, 1120px); max-width: 92vw; height: auto; max-height: 92dvh; border-radius: var(--r); overflow: hidden; } }
.detail-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 0; min-width: 0; }
.detail-body { min-width: 0; }
.detail-gallery { position: relative; background: var(--c-dark); min-height: 320px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.detail-gallery img.is-on { opacity: 1; }
.detail-gallery .thumbs { position: absolute; left: var(--s-4); bottom: var(--s-4); display: flex; gap: 6px; }
.detail-gallery .thumbs button { width: 28px; height: 3px; background: rgba(255,255,255,.4); padding: 0; border-radius: 0; }
.detail-gallery .thumbs button[aria-current="true"] { background: var(--c-accent); }
.detail-gallery .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: var(--r); background: rgba(22,23,26,.7); color: #fff; display: grid; place-items: center; }
.detail-gallery .arrow svg { width: 18px; height: 18px; }
.detail-gallery .arrow.prev { left: var(--s-4); }
.detail-gallery .arrow.next { right: var(--s-4); }
.detail-body { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: var(--s-5); align-content: start; overflow: auto; max-height: 92dvh; }
.detail-body .top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.detail-body h3 { font-size: var(--text-2xl); }
.detail-body .loc { color: var(--c-muted); font-size: var(--text-sm); margin-top: var(--s-2); }
.detail-body .close { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--c-line); display: grid; place-items: center; flex: none; }
.detail-body .close svg { width: 18px; height: 18px; }
.detail-body p { color: var(--c-ink-2); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.spec div { display: grid; gap: 2px; padding: var(--s-3) var(--s-4); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.spec .k { font-size: var(--text-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; }
.spec .v { font-size: var(--text-sm); font-weight: 700; }
.detail-body .list { display: grid; gap: var(--s-2); color: var(--c-ink-2); font-size: var(--text-sm); }
.detail-body .list li { padding-left: 1.2rem; position: relative; }
.detail-body .list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--c-accent); }
.detail-body .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); padding-top: var(--s-2); } .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; }
html { scroll-behavior: auto; }
* { transition-duration: .01ms !important; }
} @media (max-width: 1100px) {
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-8); }
.steps::before { display: none; }
.step::before { display: none; }
.step { border-top: 1px solid var(--c-line-strong); padding-top: var(--s-4); }
}
@media (max-width: 1024px) {
.pillars { grid-template-columns: 1fr; gap: var(--s-6); }
.hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-stats div:nth-child(2) { border-right: 0; }
.hero-stats div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--c-line-dark); }
.hero-stats div:nth-child(4) { border-top: 1px solid var(--c-line-dark); }
}
@media (max-width: 860px) {
.site-header .wrap { grid-template-columns: auto 1fr auto; height: 64px; gap: var(--s-4); }
.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-hd-solid); flex-direction: column; gap: 0; padding: var(--s-2) var(--gutter) var(--s-6); border: 0;
border-bottom: 1px solid var(--c-line-dark); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px);
transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; z-index: 40; }
.nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.nav a { padding: var(--s-4) 0; font-size: var(--text-lg); border-bottom: 1px solid var(--c-line-dark); color: var(--c-on-dark); }
.nav a::after { display: none; }
.header-cta .btn, .lang { display: none; }
.theme-toggle { display: inline-flex; }
.menu-toggle { display: inline-flex; }
.hero { min-height: 0; }
.hero .wrap { padding-top: clamp(4rem, 12vh, 6rem); }
.hero-top { flex-direction: column; gap: var(--s-4); }
.sec-head { grid-template-columns: auto 1fr; }
.sec-head .meta { grid-column: 1 / -1; text-align: left; }
.featured, .about-grid, .contact-grid { grid-template-columns: 1fr; }
.featured-media .arch { min-height: 0; aspect-ratio: 4 / 3; }
.detail-inner { grid-template-columns: minmax(0, 1fr); }
.projects { grid-template-columns: 1fr; gap: var(--s-10); }
.project-media::after { inset: 10px -10px -10px 10px; }
.row-2, .checks { grid-template-columns: 1fr; }
.detail-body { max-height: none; }
.detail-gallery { aspect-ratio: 16 / 11; min-height: 0; }
.project-head { flex-direction: column; gap: var(--s-1); }
.agent { order: 2; }
}
@media (max-width: 600px) {
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
.stats { grid-template-columns: 1fr; }
.spec { grid-template-columns: 1fr; }
.hero-stats { grid-template-columns: 1fr; }
.hero-stats div { border-right: 0 !important; border-top: 1px solid var(--c-line-dark); padding-left: 0 !important; }
.hero-stats div:first-child { border-top: 0; }
.steps { grid-template-columns: 1fr; }
}