/*
Theme Name: Arkia Constructions
Author: Arkia Constructions
Description: Custom project portfolio for Arkia Constructions.
Version: 1.8.0
Requires at least: 6.7
Text Domain: arkia-constructions
*/
:root {
  --ink: #191b18;
  --muted: #676a62;
  --paper: #f4f1ea;
  --paper-deep: #e8e3d8;
  --white: #fcfbf8;
  --accent: #d7a44a;
  --accent-dark: #a87420;
  --line: rgba(25, 27, 24, .16);
  --radius: 2px;
  --shadow: 0 24px 70px rgba(27, 28, 24, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--ink); color: white; padding: 12px 16px; }
.skip-link:focus { top: 16px; }
.contact-strip { padding: 7px clamp(20px, 4vw, 64px); background: var(--ink); color: white; font-size: 11px; }
.contact-strip > div { max-width: 1332px; margin: 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.contact-strip span { color: #c6c7c1; }
.contact-strip a { font-weight: 700; }
.contact-strip .finance-strip-link { padding-left: 18px; border-left: 1px solid #4a4d46; color: var(--accent); }

.site-header { height: 84px; max-width: 1460px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--paper); position: sticky; top: 0; z-index: 70; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 32px; height: 35px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; }
.brand-mark i { display: block; background: var(--accent); transform: skewY(-32deg); transform-origin: bottom; }
.brand-mark i:nth-child(1) { height: 48%; }
.brand-mark i:nth-child(2) { height: 74%; }
.brand-mark i:nth-child(3) { height: 100%; }
.brand-copy { display: grid; line-height: 1; gap: 3px; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: 18px; letter-spacing: .16em; }
.brand-copy small { font-size: 8px; letter-spacing: .3em; font-weight: 700; color: var(--muted); }
.desktop-nav { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.desktop-nav a { font-size: 14px; font-weight: 600; color: #4c4f48; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--accent-dark); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.menu-toggle, .mobile-nav { display: none; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; font-weight: 700; font-size: 14px; letter-spacing: .01em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #30342f; }
.button-accent { color: #171813; background: var(--accent); }
.button-accent:hover { background: #e3b760; }
.button-full { width: 100%; }

.hero { border-top: 1px solid var(--line); }
.hero-grid { min-height: 710px; display: grid; grid-template-columns: 1.02fr .98fr; max-width: 1460px; margin: 0 auto; border-inline: 1px solid var(--line); }
.hero-copy { padding: clamp(70px, 8vw, 126px) clamp(28px, 6vw, 98px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; color: var(--accent-dark); }
h1, h2, h3 { font-family: Manrope, sans-serif; margin: 0; line-height: 1.06; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(52px, 6.3vw, 94px); }
h1 em { color: var(--accent-dark); font-style: normal; }
.hero-lead { max-width: 630px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { color: var(--accent-dark); margin-left: 6px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); color: #454840; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.trust-row span::before { content: "◆"; color: var(--accent); font-size: 8px; margin-right: 8px; vertical-align: 1px; }
.trust-row a { color: var(--accent-dark); border-bottom: 1px solid currentColor; }

.hero-visual { min-height: 710px; position: relative; overflow: hidden; background: #d8d4cb; }
.hero-visual svg, .hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { position: absolute; inset: 0; object-position: center 54%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); pointer-events: none; }
.visual-tag { position: absolute; top: 28px; left: 28px; z-index: 2; background: rgba(248,246,240,.9); backdrop-filter: blur(12px); padding: 10px 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.visual-note { position: absolute; right: 28px; bottom: 28px; z-index: 2; width: min(360px, calc(100% - 56px)); background: rgba(25,27,24,.94); color: white; padding: 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.visual-note p { margin: 0; color: #d7d7d2; font-size: 13px; }
.visual-note strong { color: white; }
.note-number { color: var(--accent); font-family: Manrope; font-weight: 800; }

.service-band { max-width: 1460px; margin: 0 auto; padding: clamp(82px, 9vw, 138px) clamp(24px, 6vw, 88px); }
.section-intro { display: grid; grid-template-columns: .55fr 1.2fr 1fr; gap: 50px; align-items: start; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.section-intro .eyebrow { margin-top: 7px; }
.section-intro h2, .work-heading h2, .process-copy h2, .inquiry-card h2 { font-size: clamp(38px, 4vw, 60px); }
.section-intro > p:last-child, .process-copy > p, .inquiry-card > p { margin: 5px 0 0; color: var(--muted); max-width: 520px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-card { padding: 38px 40px 30px 0; min-height: 320px; border-right: 1px solid var(--line); }
.service-card + .service-card { padding-left: 40px; }
.service-card:last-child { border-right: 0; }
.service-index { color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { font-size: 25px; margin-top: 54px; }
.service-card p { color: var(--muted); }
.service-card ul { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); }
.service-card li { position: relative; padding: 6px 0 6px 18px; font-size: 13px; font-weight: 600; }
.service-card li::before { content: ""; width: 5px; height: 5px; background: var(--accent); position: absolute; left: 0; top: 14px; }

.work-section { padding: clamp(80px, 9vw, 140px) clamp(24px, 5vw, 72px); background: var(--ink); color: white; }
.work-heading { max-width: 1320px; margin: 0 auto; }
.work-heading > div { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 0 40px; align-items: end; }
.work-heading .eyebrow { grid-column: 1 / -1; }
.work-heading h2 { max-width: 720px; }
.work-heading p:last-child { color: #aaa; max-width: 410px; }
.filter-row { max-width: 1320px; margin: 52px auto 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.filter { appearance: none; border: 1px solid #4a4d46; background: transparent; color: #bbbdb7; border-radius: 50px; padding: 10px 16px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.filter:hover, .filter.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.project-layout { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 26px; align-items: start; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { background: #252824; border: 1px solid #3b3e38; transition: opacity .25s ease, transform .25s ease; }
.project-card[hidden] { display: none; }
.project-media { height: 220px; position: relative; overflow: hidden; background-color: #474a43; isolation: isolate; }
.project-card-featured .project-media { height: 220px; min-height: 0; }
.project-card-featured { grid-column: auto; display: block; }
.project-media::before, .project-media::after { content: ""; position: absolute; z-index: -1; }
.project-media::before { inset: 0; background: repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,.07) 81px 82px), repeating-linear-gradient(0deg, transparent 0 80px, rgba(255,255,255,.05) 81px 82px); }
.project-media::after { width: 72%; height: 62%; right: -10%; bottom: -14%; border: 22px solid rgba(255,255,255,.12); transform: skew(-14deg); }
.media-bathroom { background: linear-gradient(135deg, #7d827b, #3d4848); }
.media-basement { background: linear-gradient(135deg, #766b5c, #3e3b36); }
.media-restaurant { background: linear-gradient(135deg, #7c4e37, #342d28); }
.media-tile { background: linear-gradient(135deg, #9a968c, #56554f); }
.media-gym { background: linear-gradient(135deg, #43505a, #222b2c); }
.media-franchise { background: linear-gradient(135deg, #8c7751, #45413b); }
.photo-slot { position: absolute; inset: 20px; border: 1px dashed rgba(255,255,255,.48); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: rgba(255,255,255,.9); background: rgba(20,22,20,.1); }
.photo-slot span { font-family: Manrope; font-size: 15px; font-weight: 700; }
.photo-slot small { margin-top: 5px; color: rgba(255,255,255,.62); }
.project-number { position: absolute; right: 30px; top: 26px; color: white; font-family: Manrope; font-size: 40px; font-weight: 800; opacity: .22; }
.project-photo-wrap::before, .project-photo-wrap::after { display: none; }
.project-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 42%; transition: transform .5s ease; }
.project-photo-wrap:hover .project-photo { transform: scale(1.025); }
.project-cover-link { position: absolute; inset: 0; z-index: 1; }
.project-page-link { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 13px 16px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.project-page-link:hover { background: #eac174; }
.gallery-open { position: absolute; z-index: 2; left: 22px; bottom: 22px; border: 1px solid rgba(255,255,255,.48); background: rgba(20,22,20,.86); backdrop-filter: blur(12px); color: white; padding: 13px 16px; display: grid; gap: 2px; text-align: left; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.18); transition: background .2s ease, transform .2s ease; }
.gallery-open:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.gallery-open span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.gallery-open small { font-size: 11px; opacity: .72; }
.project-body { padding: 26px; display: flex; flex-direction: column; }
.project-card-featured .project-body { padding: 26px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.project-tags span { padding: 5px 8px; background: #363933; color: #c8c9c4; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.project-body h3 { font-size: clamp(22px, 2vw, 30px); }
.project-body p { color: #aaa; font-size: 14px; flex: 1; }
.project-details { border: 0; border-top: 1px solid #444740; padding: 16px 0 0; margin-top: 18px; width: 100%; background: none; color: white; display: flex; align-items: center; justify-content: space-between; text-align: left; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.project-details span { color: var(--accent); font-size: 18px; transition: transform .2s ease; }
.project-details:hover span { transform: translate(3px, -3px); }
.materials-open { margin-top: 10px; }
.scope-panel { position: sticky; top: 24px; background: var(--accent); color: var(--ink); padding: 28px; min-height: 390px; }
.scope-kicker { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.scope-panel h3 { font-size: 28px; margin: 38px 0 28px; }
.scope-panel dl { margin: 0 0 34px; }
.scope-panel dl div { border-top: 1px solid rgba(20,21,18,.25); padding: 16px 0; }
.scope-panel dt { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.scope-panel dd { margin: 6px 0 0; font-size: 13px; }

.process-section { padding: clamp(80px, 10vw, 150px) clamp(24px, 5vw, 72px); background: #e8e3d8; }
.process-wrap { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr .92fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 54px 0 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li > span { color: var(--accent-dark); font-family: Manrope; font-weight: 800; font-size: 12px; }
.steps strong { font-family: Manrope; font-size: 17px; }
.steps p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.inquiry-card { background: var(--white); padding: clamp(30px, 4vw, 58px); box-shadow: var(--shadow); }
.inquiry-card h2 { font-size: clamp(34px, 3.5vw, 52px); }
.inquiry-card form { margin-top: 34px; }
.inquiry-card label { display: grid; gap: 7px; margin-bottom: 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea { width: 100%; border: 1px solid #c9c5bb; border-radius: 0; background: #fff; color: var(--ink); padding: 13px 14px; outline: none; text-transform: none; letter-spacing: normal; transition: border .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(215,164,74,.18); }
textarea { resize: vertical; }
.form-note { color: #85877f; font-size: 11px; line-height: 1.5; }
.arkia-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.inquiry-message { margin-top: 24px; padding: 16px 18px; background: #eef3e8; color: #263d26; font-size: 14px; line-height: 1.5; }
.brief-result { margin-top: 30px; }
.brief-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.brief-header button { border: 0; background: none; color: var(--accent-dark); font-weight: 800; cursor: pointer; }
.brief-result pre { white-space: pre-wrap; font-family: "DM Sans", sans-serif; background: #efede7; padding: 20px; font-size: 13px; line-height: 1.6; }
.copy-status { min-height: 20px; text-align: center; font-size: 12px; color: var(--accent-dark); }

.project-gallery { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13,15,12,.98); color: white; }
.project-gallery::backdrop { background: rgba(8,9,8,.82); backdrop-filter: blur(8px); }
.gallery-shell { min-height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 22px clamp(16px, 3vw, 46px) 20px; }
.gallery-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #363833; }
.gallery-topbar > div { display: grid; gap: 2px; }
.gallery-topbar span { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.gallery-topbar strong { font-family: Manrope, sans-serif; font-size: clamp(18px, 2vw, 25px); }
.gallery-close { width: 44px; height: 44px; border: 1px solid #464943; border-radius: 50%; background: transparent; color: white; font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-stage { min-height: 0; display: grid; grid-template-columns: 50px minmax(0, 1fr) 50px; align-items: center; gap: 16px; padding: 20px 0; }
.gallery-stage figure { min-width: 0; min-height: 0; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; }
.gallery-stage img { max-width: 100%; width: auto; max-height: calc(100vh - 230px); min-height: 0; display: block; object-fit: contain; box-shadow: 0 18px 70px rgba(0,0,0,.3); }
.gallery-stage figcaption { justify-self: stretch; padding-top: 10px; color: #b7b9b3; font-size: 12px; text-align: center; }
.gallery-arrow { width: 46px; height: 46px; border: 1px solid #4a4d46; border-radius: 50%; background: #1f211e; color: white; cursor: pointer; font-size: 18px; transition: background .2s ease, color .2s ease; }
.gallery-arrow:hover { background: var(--accent); color: var(--ink); }
.gallery-thumbs { display: flex; gap: 9px; padding-top: 16px; border-top: 1px solid #363833; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 62px; height: 62px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .52; transition: opacity .2s ease, border-color .2s ease; }
.gallery-thumbs button:hover, .gallery-thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
body.gallery-is-open, body.dialog-is-open { overflow: hidden; }

.materials-dialog { width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.38); }
.materials-dialog::backdrop { background: rgba(8,9,8,.82); backdrop-filter: blur(8px); }
.materials-shell { padding: clamp(26px, 4vw, 54px); }
.materials-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.materials-header h2 { margin-top: 8px; font-size: clamp(34px, 4vw, 54px); }
.materials-header p { max-width: 650px; margin: 14px 0 0; color: var(--muted); }
.materials-kicker { color: var(--accent-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.materials-close { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.materials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 28px 0; }
.material-card { min-width: 0; display: grid; grid-template-columns: 138px 1fr; background: var(--white); border: 1px solid var(--line); }
.material-swatch.dynamic-swatch { background: linear-gradient(135deg, #d9d0bf, #a79d8b); }
.material-copy a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.blog-main { max-width: 1240px; min-height: 70vh; margin: 0 auto; padding: 150px 28px 90px; }
.blog-intro { max-width: 760px; margin-bottom: 48px; }
.blog-intro h1, .blog-article h1 { font-family: Manrope, sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.blog-intro > p:last-child { max-width: 640px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.blog-image { display: block; height: 240px; background: var(--paper-deep); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-copy { padding: 26px; }
.blog-card time, .blog-article time { color: var(--muted); font-size: 12px; }
.blog-card h2 { margin: 12px 0; font-family: Manrope, sans-serif; font-size: 24px; line-height: 1.25; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card-copy p { color: var(--muted); line-height: 1.65; }
.blog-card .text-link { display: inline-block; margin-top: 12px; }
.blog-pagination { margin-top: 40px; display: flex; gap: 12px; }
.blog-pagination a, .blog-pagination span { padding: 8px 12px; border: 1px solid var(--line); }
.blog-article { max-width: 820px; margin: 0 auto; }
.blog-back { display: inline-block; margin-bottom: 34px; color: var(--ink); }
.blog-article-header { margin-bottom: 34px; }
.blog-article-cover img { width: 100%; height: auto; }
.blog-article-body { margin: 42px 0; font-size: 18px; line-height: 1.8; overflow-wrap: break-word; }
.blog-article-body img { max-width: 100%; height: auto; }
.blog-article-body h2, .blog-article-body h3 { margin-top: 1.7em; line-height: 1.2; }
.blog-empty { padding: 32px; background: var(--white); }
.case-study { padding-top: 118px; background: var(--paper); }
.case-top { max-width: 1200px; margin: auto; padding: 40px 28px 54px; }
.case-top h1 { max-width: 950px; margin: 16px 0 20px; font-family: Manrope, sans-serif; font-size: clamp(42px, 6vw, 78px); line-height: 1.08; letter-spacing: -.055em; }
.case-lead { max-width: 780px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.case-facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.case-facts div { display: grid; gap: 7px; min-width: 180px; padding: 16px 22px 16px 0; border-right: 1px solid var(--line); }
.case-facts span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.case-facts strong { font-family: Manrope, sans-serif; font-size: 15px; }
.case-cover { display: flex; justify-content: center; align-items: center; padding: clamp(16px, 3vw, 36px); background: #292d2a; }
.case-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(75vh, 760px); object-fit: contain; }
.case-layout { max-width: 1200px; margin: auto; padding: 80px 28px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: clamp(36px, 7vw, 100px); }
.case-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.case-section:first-child { padding-top: 0; }
.case-section h2, .case-section-heading h2 { margin: 12px 0 20px; font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.13; letter-spacing: -.04em; }
.case-richtext { max-width: 720px; color: #42453f; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.case-richtext p { margin: 0 0 18px; }
.case-aside { position: sticky; top: 120px; padding: 30px; background: var(--ink); color: white; }
.case-aside h2 { margin: 16px 0; font-family: Manrope, sans-serif; font-size: 25px; line-height: 1.24; }
.case-aside p { color: #c6c7c1; line-height: 1.6; }
.case-aside .button { margin-top: 22px; }
.case-gallery-section, .case-materials, .case-related { max-width: 1200px; margin: 0 auto; padding: 35px 28px 90px; }
.case-comparison { max-width: 1200px; margin: 0 auto; padding: 35px 28px 90px; }
.case-compare { position: relative; width: min(100%, 1000px); height: min(55vw, 600px); min-height: 300px; margin: 0 auto; overflow: hidden; background: #343833; }
.case-compare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-compare-before { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.case-compare-line { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 3px; background: white; transform: translateX(-50%); pointer-events: none; }
.case-compare-line::after { content: '↔'; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: white; color: var(--ink); font-size: 24px; transform: translate(-50%, -50%); }
.case-compare-label { position: absolute; top: 20px; z-index: 2; padding: 7px 12px; background: rgba(20,22,20,.75); color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.case-compare-label.before { left: 20px; } .case-compare-label.after { right: 20px; }
.case-compare input { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.case-section-heading { max-width: 720px; margin-bottom: 34px; }
.case-section-heading p:last-child { color: var(--muted); line-height: 1.6; }
.case-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case-photo-grid button { position: relative; min-height: 220px; aspect-ratio: 4/3; padding: 0; overflow: hidden; border: 0; background: var(--paper-deep); color: white; cursor: pointer; text-align: left; }
.case-photo-grid button:first-child { grid-column: span 2; grid-row: span 2; }
.case-photo-grid img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s; }
.case-photo-grid button:hover img { transform: scale(1.04); }
.case-photo-grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 15px; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: 13px; font-weight: 700; }
.case-material-grid, .case-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-material { padding: 27px; background: var(--white); border: 1px solid var(--line); }
.case-material span { color: var(--accent-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.case-material h3 { margin: 15px 0 8px; font-family: Manrope, sans-serif; font-size: 24px; }
.case-material p { color: var(--muted); }
.case-material a { display: inline-block; margin-top: 12px; color: var(--ink); font-weight: 700; }
.case-related-grid a { display: grid; gap: 12px; color: var(--ink); text-decoration: none; background: var(--white); }
.case-related-grid img { width: 100%; height: 190px; object-fit: cover; }
.case-related-grid strong { padding: 0 18px 18px; }
@media (max-width: 900px) { .case-layout { grid-template-columns: 1fr; } .case-aside { position: static; } .case-material-grid, .case-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .case-study { padding-top: 88px; } .case-top { padding: 28px 20px 38px; } .case-layout { padding: 50px 20px; } .case-gallery-section, .case-comparison, .case-materials, .case-related { padding: 30px 20px 60px; } .case-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-photo-grid button { min-height: 140px; } .case-photo-grid button:first-child { grid-column: span 2; grid-row: auto; } .case-material-grid, .case-related-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .blog-main { padding: 110px 20px 80px; } .blog-grid { grid-template-columns: 1fr; } }
.material-swatch { min-height: 184px; position: relative; overflow: hidden; }
.material-swatch::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.swatch-ona { background: repeating-radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.32) 0 8px, transparent 9px 26px), linear-gradient(145deg, #aea69a, #d5cec3 48%, #a1998d); }
.swatch-butan-wall { background: linear-gradient(12deg, transparent 0 28%, rgba(255,255,255,.38) 29% 31%, transparent 32% 64%, rgba(142,132,116,.13) 65% 67%, transparent 68%), linear-gradient(135deg, #d8d2c5, #bcb5a8); }
.swatch-butan-floor { background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.5) 39% 41%, transparent 42% 73%, rgba(126,117,101,.14) 74% 76%, transparent 77%), linear-gradient(155deg, #cfc9bc, #e1ddd4 58%, #b9b2a5); }
.swatch-savoya { background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 12px, transparent 13px 24px), repeating-linear-gradient(0deg, #e8e7e3 0 9px, #c9c9c5 10px 11px, #f4f3ef 12px 20px); }
.swatch-calcutta { background: linear-gradient(118deg, transparent 0 24%, rgba(158,163,164,.5) 25% 27%, transparent 28% 52%, rgba(190,193,192,.55) 53% 55%, transparent 56%), linear-gradient(145deg, #fafafa, #e7e8e6 58%, #fff); }
.swatch-white-hex { background-color: #f3f2ee; background-image: linear-gradient(30deg, #c8c8c3 12%, transparent 12.5%, transparent 87%, #c8c8c3 87.5%, #c8c8c3), linear-gradient(150deg, #c8c8c3 12%, transparent 12.5%, transparent 87%, #c8c8c3 87.5%, #c8c8c3), linear-gradient(30deg, #c8c8c3 12%, transparent 12.5%, transparent 87%, #c8c8c3 87.5%, #c8c8c3), linear-gradient(150deg, #c8c8c3 12%, transparent 12.5%, transparent 87%, #c8c8c3 87.5%, #c8c8c3); background-position: 0 0, 0 0, 24px 42px, 24px 42px; background-size: 48px 84px; }
.swatch-picasso-gold { background: linear-gradient(112deg, transparent 0 28%, rgba(169,131,72,.5) 29% 31%, transparent 32% 62%, rgba(145,123,90,.28) 63% 65%, transparent 66%), linear-gradient(145deg, #eeeae2, #c8c3b9 55%, #f7f4ed); }
.swatch-arkia-109 { background: linear-gradient(125deg, rgba(255,255,255,.28), transparent 42%), linear-gradient(145deg, #d6d1c8, #aaa69f); }
.swatch-safari-grigio { background: repeating-linear-gradient(60deg, rgba(255,255,255,.28) 0 14px, transparent 15px 29px), repeating-linear-gradient(120deg, #8c8983 0 14px, #b8b4ac 15px 29px); }
.swatch-fleet { background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 2px, transparent 3px 82px), linear-gradient(8deg, #8d7358, #c1a17d 44%, #785e47); }
.swatch-flow-frost { background: repeating-linear-gradient(0deg, #ecebe7 0 28px, #c9c8c3 29px 31px), repeating-linear-gradient(90deg, transparent 0 72px, #c9c8c3 73px 75px); }
.swatch-calacatta-gold { background: linear-gradient(122deg, transparent 0 23%, rgba(182,144,76,.52) 24% 26%, transparent 27% 60%, rgba(152,154,151,.32) 61% 63%, transparent 64%), linear-gradient(150deg, #f8f7f2, #deded9 55%, #fff); }
.material-copy { padding: 22px; }
.material-location { color: var(--accent-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.material-copy h3 { margin-top: 8px; font-size: 24px; }
.material-brand { margin: 4px 0 18px; color: var(--muted); font-size: 13px; }
.material-copy dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.material-copy dl div { padding-top: 10px; border-top: 1px solid var(--line); }
.material-copy dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.material-copy dd { margin: 3px 0 0; font-size: 12px; font-weight: 700; }
.fixtures-section { padding: 4px 0 28px; }
.fixtures-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.fixtures-heading h3 { font-size: clamp(24px, 3vw, 34px); }
.fixtures-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fixture-card { min-width: 0; padding: 20px; background: var(--white); border: 1px solid var(--line); }
.fixture-card span { color: var(--accent-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.fixture-card strong { display: block; margin-top: 8px; font-family: Manrope, sans-serif; font-size: 16px; line-height: 1.3; }
.fixture-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.materials-source { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.materials-source > div { display: grid; }
.materials-source > div span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.materials-source > div strong { margin-top: 2px; font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: .1em; }

.site-footer { background: #11130f; color: white; padding: 52px clamp(24px, 5vw, 72px) 34px; display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.brand-light .brand-copy small { color: #aaa; }
.site-footer p { margin: 0; color: #9b9d96; font-size: 12px; }
.footer-meta { text-align: right; }
.footer-legal { grid-column: span 2; padding-top: 20px; border-top: 1px solid #30322d; }
.mobile-cta { display: none; }

.inner-page { min-height: 70vh; padding-top: 64px; background: var(--paper); }
.inner-hero { max-width: 1200px; margin: 0 auto; padding: 70px 28px 64px; }
.inner-hero h1 { max-width: 900px; margin: 14px 0 20px; font-family: Manrope, sans-serif; font-size: clamp(48px, 7vw, 86px); line-height: 1.03; letter-spacing: -.055em; }
.inner-hero > p:last-child, .inner-hero > div > p:last-child { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.team-grid { max-width: 1200px; margin: 0 auto; padding: 0 28px 100px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--line); }
.team-photo { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: #dad8d1; color: var(--muted); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-copy { padding: 30px; }
.team-copy h2 { margin: 10px 0 14px; font-family: Manrope, sans-serif; font-size: 30px; }
.team-copy > div { color: var(--muted); line-height: 1.7; }
.team-empty { max-width: 1144px; margin: 0 auto 80px; padding: 42px; background: var(--white); border: 1px solid var(--line); }
.inner-cta { max-width: 1144px; margin: 0 auto 100px; padding: 46px; background: var(--ink); color: white; }
.inner-cta h2 { max-width: 680px; margin: 12px 0 26px; font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 48px); }
.contact-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); gap: 60px; align-items: end; }
.contact-details { display: grid; gap: 8px; padding: 28px; background: var(--ink); color: white; }
.contact-details span { margin-top: 10px; color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-details address { font-style: normal; line-height: 1.55; }
.contact-details a { font-family: Manrope, sans-serif; font-size: 22px; font-weight: 700; }
.contact-layout { max-width: 1200px; margin: 0 auto; padding: 0 28px 100px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.contact-form { background: var(--ink); }
.contact-place { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.contact-place h2 { margin: 12px 0 24px; font-family: Manrope, sans-serif; font-size: 30px; }
.contact-place iframe { width: 100%; height: 380px; display: block; margin-bottom: 18px; border: 0; }
.financing-options { max-width: 1200px; margin: 0 auto; padding: 0 28px 70px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.finance-card { display: flex; flex-direction: column; padding: clamp(26px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); }
.finance-card-top h2 { margin: 12px 0 16px; font-family: Manrope, sans-serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; }
.finance-description { color: var(--muted); line-height: 1.65; }
.finance-primary { margin: 24px 0; padding: 24px; background: var(--ink); color: white; }
.finance-primary span { display: block; color: #bbbdb7; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.finance-primary strong { display: block; margin-top: 6px; color: var(--accent); font-family: Manrope, sans-serif; font-size: clamp(34px, 5vw, 52px); }
.finance-details { margin: 0 0 26px; }
.finance-details div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.finance-details dt { color: var(--muted); }
.finance-details dd { margin: 0; font-weight: 700; text-align: right; }
.finance-card .button { margin-top: auto; }
.finance-disclaimer { max-width: 1144px; margin: 0 auto 70px; padding: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finance-disclaimer h2 { margin-bottom: 12px; font-size: 24px; }
.finance-disclaimer p { margin: 0; color: var(--muted); line-height: 1.7; }
.credentials-content { max-width: 1200px; margin: 0 auto; padding: 0 28px 100px; }
.credentials-content > h2 { max-width: 800px; margin: 70px 0 20px; font-size: clamp(34px, 4vw, 52px); }
.credentials-content > p { max-width: 850px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.credentials-highlight { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--white); }
.credentials-highlight > div { min-height: 190px; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--line); }
.credentials-highlight > div:last-child { border-right: 0; }
.credentials-highlight strong { color: var(--accent-dark); font-family: Manrope, sans-serif; font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.credentials-highlight span { max-width: 240px; margin-top: 13px; font-weight: 700; }
.credentials-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.credentials-grid section { padding: 34px; background: var(--white); border: 1px solid var(--line); }
.credentials-grid h3 { margin-bottom: 20px; font-size: 25px; }
.credentials-grid ul { margin: 0; padding: 0; list-style: none; }
.credentials-grid li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line); color: var(--muted); }
.credentials-grid li::before { content: "◆"; position: absolute; left: 0; top: 13px; color: var(--accent); font-size: 7px; }
.cor-progress { margin-top: 70px; padding: clamp(34px, 5vw, 58px); background: var(--ink); color: white; }
.cor-progress h2 { max-width: 760px; margin-bottom: 20px; font-size: clamp(34px, 4vw, 52px); }
.cor-progress > p:last-child { max-width: 850px; margin: 0; color: #c4c6c0; line-height: 1.75; }
.warranty-note { margin-top: 28px; padding: clamp(30px, 4vw, 44px); border: 1px solid var(--line); }
.warranty-note h2 { margin-bottom: 14px; font-size: 30px; }
.warranty-note p, .credentials-disclaimer { color: var(--muted); line-height: 1.75; }
.credentials-disclaimer { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; border: 1px solid var(--line); background: transparent; padding: 9px 13px; color: var(--ink); font-weight: 700; cursor: pointer; }
  .mobile-nav { position: absolute; z-index: 100; top: calc(100% + 1px); left: 20px; right: 20px; padding: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-nav:not([hidden]) { display: grid; }
  .mobile-nav > a, .mobile-nav summary { padding: 12px; border-bottom: 1px solid var(--line); font-weight: 700; cursor: pointer; }
  .mobile-nav details div { display: grid; padding: 6px 10px 10px 22px; background: var(--paper); }
  .mobile-nav details div a { padding: 9px 0; color: var(--muted); font-size: 13px; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 630px; }
  .hero-visual { min-height: 560px; }
  .section-intro { grid-template-columns: 1fr 1.2fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .project-layout { grid-template-columns: 1fr; }
  .scope-panel { position: relative; top: 0; min-height: auto; }
  .process-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 58px; }
  .site-header { height: 72px; }
  .site-header > .button { display: none; }
  .brand-mark { width: 27px; height: 30px; }
  .brand-copy strong { font-size: 16px; }
  .hero-copy { min-height: 620px; padding: 70px 24px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-row { margin-top: 48px; }
  .hero-visual { min-height: 480px; }
  .visual-tag { top: 18px; left: 18px; }
  .visual-note { right: 18px; bottom: 18px; width: calc(100% - 36px); }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .section-intro > p:last-child { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .service-card h3 { margin-top: 30px; }
  .work-heading > div { grid-template-columns: 1fr; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .filter { flex: 0 0 auto; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-featured .project-media { min-height: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 50px; }
  .footer-meta { text-align: left; }
  .footer-legal { grid-column: auto; }
  .mobile-cta { display: block; position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: rgba(17,19,15,.96); backdrop-filter: blur(12px); }
  .mobile-cta a { height: 42px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 800; }
  .gallery-shell { padding: 14px 12px 12px; }
  .gallery-stage { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 6px; padding: 12px 0; }
  .gallery-arrow { width: 36px; height: 36px; }
  .gallery-stage img { max-height: calc(100vh - 220px); }
  .gallery-thumbs button { flex-basis: 52px; height: 52px; }
  .materials-dialog { width: calc(100% - 16px); max-height: calc(100% - 16px); }
  .materials-shell { padding: 24px 18px; }
  .materials-grid { grid-template-columns: 1fr; }
  .material-card { grid-template-columns: 100px 1fr; }
  .material-swatch { min-height: 172px; }
  .fixtures-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .fixtures-grid { grid-template-columns: 1fr; }
  .materials-source { align-items: stretch; flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-hero { grid-template-columns: 1fr; }
  .financing-options { grid-template-columns: 1fr; }
  .credentials-highlight, .credentials-grid { grid-template-columns: 1fr; }
  .credentials-highlight > div { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .credentials-highlight > div:last-child { border-bottom: 0; }
  .contact-strip { padding-block: 8px; }
  .contact-strip > div { justify-content: center; flex-wrap: wrap; gap: 5px 12px; text-align: center; }
  .contact-strip span { width: 100%; }
  .contact-strip .finance-strip-link { padding-left: 12px; }
}
