:root {
  --paper: #f3eee5;
  --paper-light: #faf7f1;
  --ink: #2c2925;
  --muted: #6c665e;
  --line: rgba(44, 41, 37, .19);
  --terracotta: #a95036;
  --terracotta-dark: #7c3828;
  --sage: #697665;
  --ochre: #d3a34b;
  --powder: #8ca6ae;
  --radius: 2px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--ink); color: white; padding: .7rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 4vw, 4.5rem); border-bottom: 1px solid var(--line); background: rgba(243, 238, 229, .93); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-name { font: 600 .76rem/1 var(--sans); letter-spacing: .18em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { text-decoration: none; font-size: .875rem; letter-spacing: .04em; }
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: currentColor; transition: right .25s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.nav-cta { border: 1px solid var(--ink); padding: .75rem 1rem; transition: .2s; }
.nav-cta:hover { background: var(--ink); color: var(--paper-light); }
.menu-toggle { display: none; background: transparent; border: 0; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: 1.05fr .95fr; position: relative; overflow: hidden; }
.hero-copy { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7.5rem); align-self: center; }
.eyebrow { margin: 0 0 1.2rem; text-transform: uppercase; font-size: .69rem; letter-spacing: .16em; color: var(--terracotta-dark); font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { font: 400 clamp(3.2rem, 6.5vw, 7.3rem)/.91 var(--serif); letter-spacing: -.055em; margin-bottom: 2rem; max-width: 12ch; }
h1 em { color: var(--terracotta); font-weight: 400; }
.hero-lead { max-width: 35rem; font-size: clamp(1rem, 1.25vw, 1.18rem); color: var(--muted); }
.hero-actions { margin-top: 2.3rem; display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 52px; padding: .9rem 1.25rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--terracotta); color: #fff; }
.button.primary:hover { background: var(--terracotta-dark); }
.text-link { display: inline-flex; gap: .55rem; align-items: center; text-underline-offset: .3rem; font-size: .88rem; }
.hero-canvas { min-height: 660px; position: relative; background: #d8cdbd; overflow: hidden; }
.hero-photo::before { display: none; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% center; filter: saturate(.94) contrast(1.015); }
.hero-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); pointer-events: none; }
.hero-canvas::before { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 47%, rgba(255,255,255,.25) 47.2%, transparent 47.5%), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: auto, 5.5rem 100%; }
.arch { position: absolute; width: 45%; height: 62%; left: 27%; bottom: 0; background: var(--terracotta); border-radius: 48% 48% 0 0 / 30% 30% 0 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.arch::after { content: ''; position: absolute; width: 64%; height: 72%; left: 18%; bottom: 0; background: #8ea095; border-radius: 50% 50% 0 0 / 28% 28% 0 0; }
.material { position: absolute; box-shadow: 0 16px 40px rgba(45,39,31,.12); }
.material-a { width: 11rem; height: 15rem; left: 7%; top: 14%; transform: rotate(-7deg); background: repeating-linear-gradient(45deg,#d5a347 0 14px,#bd713e 14px 28px,#f1e9da 28px 42px); }
.material-b { width: 13rem; height: 10rem; right: 7%; top: 9%; transform: rotate(8deg); background: radial-gradient(circle at 20% 30%, #fff8 0 3px, transparent 4px), radial-gradient(circle at 70% 65%, #fff6 0 5px, transparent 6px), #566d70; background-size: 34px 34px, 47px 47px; }
.plan-lines { position: absolute; right: 7%; bottom: 8%; width: 40%; height: 30%; border: 1px solid rgba(44,41,37,.58); }
.plan-lines span { position: absolute; display: block; background: rgba(44,41,37,.58); }
.plan-lines span:nth-child(1) { width: 1px; height: 75%; left: 34%; top: 0; }
.plan-lines span:nth-child(2) { height: 1px; width: 66%; left: 34%; top: 42%; }
.plan-lines span:nth-child(3) { width: 1px; height: 58%; left: 74%; top: 42%; }
.plan-lines span:nth-child(4) { height: 1px; width: 34%; left: 0; top: 70%; }
.canvas-note { position: absolute; left: 7%; bottom: 7%; margin: 0; font: italic 1.05rem/1.35 var(--serif); }
.hero-index { position: absolute; left: clamp(1.25rem,4vw,4.5rem); right: 50%; bottom: 1.2rem; display: flex; justify-content: space-between; text-transform: uppercase; font-size: .61rem; letter-spacing: .15em; color: var(--muted); }

.about-section { background: var(--ink); color: var(--paper-light); padding: clamp(1.25rem, 4vw, 4rem); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-portrait { min-height: min(720px, 72vw); position: relative; overflow: hidden; background: var(--sage); }
.about-portrait::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); pointer-events: none; }
.about-portrait img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 48% center; filter: saturate(.92) contrast(1.02); transition: transform .7s ease; }
.about-portrait:hover img { transform: scale(1.025); }
.portrait-label { position: absolute; z-index: 2; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; background: rgba(243,238,229,.92); color: var(--ink); padding: .85rem 1rem; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(8px); }
.portrait-label span { font: italic 1.2rem var(--serif); }
.portrait-label small { text-transform: uppercase; font-size: .55rem; letter-spacing: .12em; }
.portrait-mark { position: absolute; z-index: 2; right: 1rem; top: 1rem; width: 3.2rem; height: 3.2rem; border: 1px solid rgba(255,255,255,.75); color: white; border-radius: 50%; display: grid; place-items: center; font: italic 1.8rem var(--serif); }
.about-copy { padding-right: clamp(0rem, 5vw, 5rem); }
.about-copy .eyebrow { color: #e6bba8; }
.about-copy h2 { max-width: 12ch; margin-bottom: 2.5rem; }
.about-copy h2 em { color: #e1a065; font-weight: 400; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; color: #d8d1c8; }
.about-columns p { margin-bottom: 0; }
.about-columns strong { color: white; }
.about-copy blockquote { margin: 2.8rem 0 1.2rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); font: italic clamp(1.7rem, 3vw, 2.8rem)/1.1 var(--serif); color: #f1d4c2; }
.about-note { max-width: 42rem; color: #aaa39a; font-size: .86rem; }
.about-copy .text-link { margin-top: 1rem; color: white; }

.projects-section { background: var(--paper-light); padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 5vw, 5.5rem); }
.section-heading { display: grid; grid-template-columns: 1.15fr .55fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
h2 { font: 400 clamp(2.7rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.04em; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); max-width: 31rem; margin-bottom: .5rem; }
.filter-bar { display: flex; align-items: end; gap: 2.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.filter-group { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.filter-group > span, .service-filter { font-size: .875rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-right: .5rem; }
.filter { border: 0; background: transparent; padding: .65rem .8rem; min-height: 44px; color: var(--muted); cursor: pointer; border-radius: 2rem; font-size: .875rem; }
.filter.active { background: var(--ink); color: var(--paper-light); }
.service-filter { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.service-filter select { border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .65rem 1.8rem .65rem 0; min-height: 44px; color: var(--ink); font-size: .875rem; }
.result-count { margin: 0 0 .45rem; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.result-count strong { color: var(--ink); }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem 1.4rem; }
.project-card { grid-column: span 6; position: relative; cursor: pointer; outline: none; }
.project-card:nth-child(3n + 2) { margin-top: 5rem; }
.project-card:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 6px; }
.project-card[hidden] { display: none; }
.project-visual { aspect-ratio: 1.32 / 1; position: relative; overflow: hidden; margin-bottom: 1.1rem; transition: transform .35s ease; }
.project-card:hover .project-visual { transform: scale(.99); }
.project-number { position: absolute; z-index: 3; top: 1rem; left: 1rem; font-size: .68rem; letter-spacing: .1em; }
.visual-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .visual-photo img { transform: scale(1.025); }
.visual-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,22,20,.24), transparent 28%, transparent 72%, rgba(24,22,20,.22)); pointer-events: none; }
.visual-photo .project-number { color: white; }
.project-status { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; background: rgba(250,247,241,.9); backdrop-filter: blur(7px); padding: .45rem .6rem; font-size: .59rem; letter-spacing: .08em; text-transform: uppercase; }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.project-meta p { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.project-meta h3 { font: 400 clamp(1.45rem, 2.3vw, 2.2rem)/1.1 var(--serif); margin-bottom: 0; }
.project-meta > span { color: var(--muted); font-size: .875rem; text-align: right; max-width: 10rem; }
.card-link { display: inline-block; background: transparent; padding: .9rem .6rem .6rem 0; text-decoration: underline; text-underline-offset: .3rem; font-size: .875rem; cursor: pointer; }
.card-link:focus-visible, .filter:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.card-link span { margin-left: .4rem; }
.visual-cementine { background: #b8aaa0; }
.visual-cementine::before { content: ''; position: absolute; inset: 11% 10% 8% 26%; background: linear-gradient(45deg, transparent 46%,#923e30 47% 53%,transparent 54%), linear-gradient(-45deg, transparent 46%,#d4a746 47% 53%,transparent 54%), #eee6d8; background-size: 72px 72px; transform: rotate(-3deg); box-shadow: 0 18px 30px #5b3e302e; }
.visual-cementine::after { content: ''; position: absolute; width: 30%; height: 65%; right: 7%; top: 12%; border: 2px solid #4d5e60; }
.tile-pattern { position: absolute; left: 8%; bottom: 7%; width: 32%; height: 34%; background: var(--terracotta); mix-blend-mode: multiply; }
.visual-bnb { background: #24363a; color: white; }
.visual-bnb::before { content: ''; position: absolute; width: 46%; height: 65%; right: 13%; bottom: 0; background: #b88b47; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.visual-bnb::after { content: ''; position: absolute; inset: 15% auto auto 11%; width: 32%; height: 58%; background: repeating-linear-gradient(90deg,#d8ccbb 0 9px,transparent 9px 25px); border-top: 2px solid #d8ccbb; border-bottom: 2px solid #d8ccbb; }
.window-shape { position: absolute; width: 31%; height: 44%; right: 20.5%; bottom: 0; background: #e2d5bd; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.visual-garden { background: #aab19b; }
.visual-garden::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: repeating-linear-gradient(90deg,#d5c0a6 0 42px,#c5ad91 43px 44px); transform: skewY(-4deg); transform-origin: 0 100%; }
.sun { position: absolute; width: 11rem; height: 11rem; border: 1px solid rgba(57,67,52,.4); border-radius: 50%; right: 8%; top: 8%; background: #ddab55; }
.garden-line { position: absolute; width: 42%; height: 60%; left: 11%; bottom: 15%; border-left: 2px solid #4d5c4e; border-top: 2px solid #4d5c4e; border-radius: 55% 0 0; }
.visual-bath { background: #dcc7ba; }
.bath-arch { position: absolute; width: 47%; height: 79%; left: 12%; bottom: 0; background: #b86448; border-radius: 50% 50% 0 0 / 26% 26% 0 0; box-shadow: inset 0 0 0 16px #eee7dc; }
.bath-tile { position: absolute; right: 9%; bottom: 10%; width: 30%; height: 50%; background: repeating-linear-gradient(0deg,#668071 0 14px,#e6ded2 14px 16px); transform: rotate(3deg); }
.visual-prati { background: #ddd3c3; }
.drawing-grid { position: absolute; inset: 10%; background: linear-gradient(#78818755 1px,transparent 1px),linear-gradient(90deg,#78818755 1px,transparent 1px); background-size: 36px 36px; border: 2px solid #59666b; }
.drawing-grid::after { content: ''; position: absolute; inset: 12% 8% 24% 29%; border: 5px solid var(--terracotta); clip-path: polygon(0 0,100% 0,100% 58%,69% 58%,69% 100%,0 100%); }
.visual-holiday { background: #c0a071; }
.door { position: absolute; left: 31%; bottom: 0; width: 37%; height: 77%; border-radius: 48% 48% 0 0 / 24% 24% 0 0; background: #36545a; box-shadow: inset 0 0 0 13px #eee5d7; }
.key-line { position: absolute; width: 5.5rem; height: 5.5rem; border: 2px solid #f0dfbd; border-radius: 50%; top: 18%; right: 14%; }
.key-line::after { content: ''; position: absolute; height: 2px; width: 6rem; background: #f0dfbd; top: 50%; left: 100%; transform: rotate(28deg); transform-origin: left; }
.empty-state { text-align: center; padding: 4rem; color: var(--muted); }

.studio-section { padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 5vw, 5.5rem) 2rem; }
.studio-intro { display: grid; grid-template-columns: 1fr 1.2fr .7fr; column-gap: 2rem; align-items: start; }
.studio-intro .eyebrow { grid-column: 1; padding-top: .7rem; }
.studio-intro h2 { grid-column: 2; }
.studio-intro > p:last-child { grid-column: 3; color: var(--muted); padding-top: .8rem; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 4rem 0 6rem; }
.services-grid article { position: relative; padding: 1.5rem 1.45rem 1.7rem; min-height: 260px; border: 1px solid var(--line); background: rgba(250,247,241,.66); display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.services-grid article::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--terracotta); transform: scaleX(.3); transform-origin: left; transition: transform .25s ease; }
.services-grid article:hover { transform: translateY(-4px); border-color: rgba(169,80,54,.38); box-shadow: 0 18px 38px rgba(44,41,37,.08); }
.services-grid article:hover::before { transform: scaleX(1); }
.service-number { color: var(--terracotta); font-size: .66rem; letter-spacing: .12em; }
.service-label { margin: .35rem 0 auto; color: var(--muted); font-size: .61rem !important; text-transform: uppercase; letter-spacing: .13em; }
.services-grid h3 { font: 400 1.9rem var(--serif); margin: 2.8rem 0 .8rem; }
.services-grid p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }
.method-strip { background: var(--sage); color: white; padding: clamp(2rem, 4vw, 4rem); display: grid; grid-template-columns: .45fr 1.55fr; align-items: center; }
.method-strip .eyebrow { color: #f2d6c2; margin: 0; }
.method-strip ol { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; list-style: none; padding: 0; margin: 0; }
.method-strip li { display: flex; flex-direction: column; position: relative; }
.method-mark { width: 3.4rem; height: 3.6rem; margin-bottom: 1.35rem; border: 1px solid rgba(255,255,255,.72); border-bottom: 0; border-radius: 50% 50% 0 0 / 58% 58% 0 0; display: grid; place-items: center; color: #f2d6c2; }
.method-mark svg { width: 1.65rem; height: 1.65rem; margin-top: .65rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.method-strip strong { font: 400 1.5rem var(--serif); }
.method-strip span { font-size: .74rem; opacity: .72; margin-top: .25rem; }
.reviews-section { scroll-margin-top: 88px; margin-top: 6rem; padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5.5rem); background: #ebe5dc; border-top: 3px solid var(--terracotta); }
.reviews-heading { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.reviews-heading h2 { margin: 0; }
.reviews-heading h2 em { color: var(--terracotta-dark); font-weight: 400; }
.reviews-card { width: min(100%, 760px); margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem); background: var(--paper-light); box-shadow: 0 18px 45px rgba(56, 48, 39, .08); }
.reviews-card-label { color: var(--terracotta-dark); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.reviews-card > p:nth-child(2) { font: italic 400 clamp(1.3rem, 2.3vw, 1.9rem)/1.45 var(--serif); max-width: 34rem; }
.reviews-button { margin: .8rem 0 1rem; background: var(--sage); color: white; }
.reviews-button:hover { background: #53614f; }
.reviews-instruction { color: var(--muted); font-size: .875rem; margin: 0; }
.reviews-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0 0 2rem; }
.reviews-list[hidden] { display: none; }
.review-quote { margin: 0; padding: clamp(1.5rem, 2.5vw, 2.5rem); background: var(--paper-light); box-shadow: 0 14px 36px rgba(56, 48, 39, .07); }
.review-quote-stars { color: var(--terracotta-dark); letter-spacing: .12em; font-size: 1.1rem; }
.review-quote blockquote { margin: 1rem 0 1.5rem; font: italic 400 1.13rem/1.55 var(--serif); overflow-wrap: anywhere; }
.review-quote figcaption { font-size: .9rem; font-weight: 700; }
.review-form { gap: 1rem; }
.review-form label, .rating-field legend { color: var(--ink); font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.review-form input:not([type="radio"]):not([type="checkbox"]), .review-form textarea { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: .75rem .85rem; border-radius: 0; }
.review-form ::placeholder { color: #80776e; }
.review-form input:focus, .review-form textarea:focus { outline: 2px solid var(--sage); outline-offset: 2px; }
.review-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rating-field { border: 0; padding: 0; margin: 0; }
.rating-field legend { margin-bottom: .3rem; }
.rating-options { display: flex; gap: .1rem; }
.rating-options label { position: relative; cursor: pointer; padding: 0 .15rem; line-height: 1; }
.rating-options input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: pointer; }
.rating-options span[aria-hidden] { display: block; font-size: 2.4rem; color: #c4bcb1; transition: color .15s; }
.rating-options label.is-selected span[aria-hidden], .rating-options label:hover span[aria-hidden] { color: var(--terracotta-dark); }
.rating-options label:has(input:focus-visible) { outline: 2px solid var(--sage); outline-offset: 2px; }
.review-consent { flex-direction: row; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; letter-spacing: normal !important; text-transform: none !important; }
.review-consent input { margin-top: .3rem; accent-color: var(--sage); }
.review-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-status { min-height: 1.5rem; margin: 0; font-size: .875rem; color: var(--terracotta-dark); }
.review-privacy { color: var(--muted); font-size: .875rem; }
.review-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2rem; }
.review-privacy p { margin: .6rem 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.contact-panel { margin: 6rem 0 3rem; background: var(--terracotta); color: white; padding: clamp(2rem, 6vw, 6rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-panel .eyebrow { color: #f6dacd; }
.contact-copy h2 { margin-bottom: 1.5rem; }
.contact-copy > p:not(.eyebrow) { color: #f6ded3; max-width: 28rem; }
.contact-details { display: flex; flex-direction: column; gap: .25rem; font-size: .875rem; margin-top: 3rem; color: #f6ded3; }
.contact-details a { color: inherit; width: fit-content; text-underline-offset: .25rem; }
.instagram-card { display: flex; align-items: center; gap: .85rem; width: fit-content; max-width: 100%; margin-top: 1.4rem; color: white; text-decoration: none; transition: opacity .2s; }
.instagram-card:hover { opacity: .78; }
.instagram-card:focus-visible, .reviews-button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.instagram-icon { display: grid; place-items: center; flex: 0 0 2.8rem; width: 2.8rem; height: 2.8rem; color: #f5e3ce; }
.instagram-icon svg { width: 2.3rem; height: 2.3rem; stroke: currentColor; stroke-width: 1.7; }
.instagram-icon .instagram-flash { fill: currentColor; stroke: none; }
.instagram-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.instagram-copy small { color: #f6ded3; font-size: .875rem; }
.instagram-copy strong { font-size: clamp(.95rem, 1.5vw, 1.15rem); overflow-wrap: anywhere; }
.instagram-arrow { align-self: flex-start; margin-left: .5rem; color: #f5e3ce; font-size: 1.2rem; }
form { display: flex; flex-direction: column; gap: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form label { display: flex; flex-direction: column; gap: .45rem; text-transform: uppercase; letter-spacing: .08em; font-size: .875rem; }
form input, form select, form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.58); color: white; background: transparent; padding: .7rem .15rem; border-radius: 0; outline: none; text-transform: none; letter-spacing: normal; }
form select option { color: var(--ink); }
form input:focus, form select:focus, form textarea:focus { border-bottom-color: white; }
form textarea { resize: vertical; }
form ::placeholder { color: rgba(255,255,255,.56); }
.privacy { flex-direction: row; align-items: flex-start; text-transform: none; letter-spacing: normal; font-size: .72rem; }
.privacy input { width: auto; margin-top: .25rem; accent-color: var(--ink); }
.button.dark { background: var(--ink); color: white; align-self: flex-start; }
.form-status { min-height: 1.5rem; font-size: .78rem; color: #fff1e8; }
footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.footer-brand { color: var(--ink); }
footer p { margin: 0; }

.project-dialog { width: min(1180px, calc(100% - 2rem)); max-height: 94vh; padding: 0; border: 0; background: var(--paper-light); color: var(--ink); box-shadow: 0 35px 90px rgba(31,28,25,.35); grid-template-columns: 1.1fr .9fr; overflow: auto; }
.project-dialog[open] { display: grid; animation: dialog-in .25s ease; }
.project-dialog::backdrop { background: rgba(29,27,24,.68); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: .8rem; top: .6rem; z-index: 3; background: var(--paper-light); border: 1px solid var(--line); width: 2.5rem; height: 2.5rem; border-radius: 50%; font-size: 1.45rem; cursor: pointer; }
.dialog-visual { min-height: 570px; background: var(--dialog-color, #aab19b); position: relative; overflow: hidden; }
.dialog-visual::before { content: ''; position: absolute; width: 58%; height: 72%; left: 21%; bottom: 0; border: 14px solid rgba(255,255,255,.62); border-bottom: 0; border-radius: 50% 50% 0 0 / 25% 25% 0 0; }
.dialog-visual::after { content: ''; position: absolute; inset: 12%; background: linear-gradient(90deg, transparent 49.5%, rgba(44,41,37,.38) 50%, transparent 50.5%),linear-gradient(transparent 49.5%, rgba(44,41,37,.38) 50%, transparent 50.5%); }
.dialog-visual.has-image::before, .dialog-visual.has-image::after { display: none; }
.dialog-cover { width: 100%; height: 100%; min-height: 570px; object-fit: cover; display: block; }
.dialog-cover[hidden] { display: none; }
.project-casa-r .dialog-visual { background: #e8dfd3; }
.project-casa-r .dialog-cover { object-fit: contain; }
.dialog-image-badge { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: .5rem .7rem; background: rgba(250,247,241,.94); color: var(--ink); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.dialog-image-badge[hidden] { display: none; }
.dialog-content { padding: clamp(2rem,5vw,4rem); align-self: center; }
.dialog-content h2 { font-size: clamp(2.3rem,4vw,4rem); }
.dialog-description { color: var(--muted); }
.dialog-content dl { margin: 2rem 0; border-top: 1px solid var(--line); }
.dialog-content dl div { display: grid; grid-template-columns: 1fr 1.5fr; border-bottom: 1px solid var(--line); padding: .8rem 0; font-size: .75rem; }
.dialog-content dt { text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.dialog-content dd { margin: 0; }
.dialog-extra { grid-column: 1 / -1; border-top: 1px solid var(--line); background: #eee7dc; }
.dialog-extra[hidden] { display: none; }
.project-story { padding: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.project-story h3, .project-gallery-heading h3 { font: 400 clamp(2rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.035em; margin: 0; }
.story-copy { color: var(--muted); font-size: 1rem; }
.story-copy p:last-child { margin-bottom: 0; }
.moodboard-section, .before-section { padding: clamp(3rem, 7vw, 6rem); }
.moodboard-section { background: #f3eee5; }
.before-section { background: #e8e0d4; }
.moodboard-section[hidden], .before-section[hidden], .gallery-note[hidden] { display: none; }
.media-heading { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.media-heading h3 { font: 400 clamp(2rem, 4vw, 3.8rem)/1 var(--serif); letter-spacing: -.035em; margin: 0; }
.media-heading > p:last-child { color: var(--muted); margin: .3rem 0 0; }
.moodboard-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.moodboard-gallery figure, .before-gallery figure { margin: 0; min-width: 0; }
.moodboard-gallery a { display: block; background: white; }
.moodboard-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.moodboard-gallery figure:first-child img { aspect-ratio: 1.4 / 1; }
.moodboard-gallery figcaption, .before-gallery figcaption { color: var(--muted); font-size: .875rem; line-height: 1.4; padding-top: .7rem; }
.before-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.before-gallery.single-item { grid-template-columns: minmax(0, 360px); }
.before-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.plan-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-comparison[hidden] { display: none; }
.plan-comparison figure { margin: 0; background: white; }
.plan-image { aspect-ratio: 1.25 / 1; padding: clamp(1rem, 3vw, 2.5rem); display: grid; place-items: center; overflow: hidden; }
.plan-comparison-portrait .plan-image { aspect-ratio: .95 / 1; }
.plan-image img { width: 100%; height: 100%; object-fit: contain; }
.plan-comparison figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.plan-comparison figcaption span { color: var(--terracotta-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.construction-section { background: var(--ink); color: var(--paper-light); padding: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.construction-section[hidden] { display: none; }
.construction-heading .eyebrow { color: #e1a065; }
.construction-heading h3 { font: 400 clamp(2rem, 4vw, 3.8rem)/1 var(--serif); letter-spacing: -.035em; margin-bottom: 1.5rem; }
.construction-heading > p:last-child { color: #aaa39a; max-width: 26rem; font-size: .86rem; }
.construction-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.construction-gallery figure { margin: 0; }
.construction-gallery a { display: block; }
.construction-gallery img { width: 100%; aspect-ratio: .75 / 1; object-fit: cover; display: block; filter: saturate(.78) contrast(1.05); }
.construction-gallery figcaption { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .8rem 0; color: #c5beb5; font-size: .85rem; line-height: 1.4; }
.construction-gallery figcaption span { color: #e1a065; letter-spacing: .1em; }
.project-gallery-heading { padding: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: start; }
.gallery-note { margin: 1rem 0 0; color: var(--muted); max-width: 40rem; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--paper-light); }
.project-gallery-heading[hidden], .project-gallery[hidden] { display: none; }
.gallery-item { border: 0; padding: 0; background: #d7cec1; cursor: zoom-in; aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-item { position: relative; }
.gallery-badge { position: absolute; z-index: 1; left: .7rem; bottom: .7rem; color: var(--ink); background: rgba(250,247,241,.93); padding: .35rem .55rem; font-size: .75rem; line-height: 1.2; }
.gallery-item-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.project-casa-r .gallery-item img { object-fit: contain; background: #e8dfd3; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.025); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-header { height: 74px; }
  .menu-toggle { display: block; }
  nav { position: fixed; inset: 74px 0 auto; padding: 2rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; transform: translateY(-120%); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s, opacity .25s, visibility .25s; }
  nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 4rem; }
  .hero-canvas { min-height: 500px; }
  .hero-index { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .about-portrait { min-height: 680px; }
  .about-copy { padding: 2rem 1rem 3rem; }
  .section-heading { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; flex-direction: column; gap: 1rem; }
  .service-filter { margin-left: 0; justify-content: space-between; }
  .result-count { align-self: flex-end; }
  .studio-intro { grid-template-columns: 1fr; }
  .studio-intro .eyebrow, .studio-intro h2, .studio-intro > p:last-child { grid-column: 1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .method-strip { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-panel { grid-template-columns: 1fr; }
  .project-story { grid-template-columns: 1fr; }
  .media-heading { grid-template-columns: 1fr 1fr; }
  .media-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
  .construction-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-canvas { min-height: 440px; }
  .about-section { padding: 1rem; gap: 2rem; }
  .about-portrait { min-height: 540px; }
  .portrait-label { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .about-copy { padding: 1rem .2rem 2.5rem; }
  .about-columns { grid-template-columns: 1fr; gap: 1rem; }
  .material-a { width: 7rem; height: 11rem; }
  .material-b { width: 8rem; height: 7rem; }
  .projects-grid { display: block; }
  .project-card { margin: 0 0 3.5rem !important; }
  .filter-group > span { flex-basis: 100%; }
  .service-filter { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .service-filter select { width: 100%; }
  .project-meta { align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
  .review-field-row { grid-template-columns: 1fr; }
  .services-grid article { min-height: 225px; }
  .method-strip ol { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .project-dialog[open] { display: block; max-height: 92vh; overflow: auto; }
  .dialog-visual { min-height: 300px; }
  .dialog-cover { min-height: 300px; }
  .plan-comparison { grid-template-columns: 1fr; }
  .construction-gallery { grid-template-columns: 1fr; gap: 1.4rem; }
  .project-gallery-heading { grid-template-columns: 1fr; }
  .media-heading { grid-template-columns: 1fr; gap: .7rem; }
  .moodboard-gallery { grid-template-columns: 1fr 1fr; }
  .moodboard-gallery figure:first-child { grid-column: span 2; }
  .before-gallery { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 2; }
}

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