@import url("vendor/fonts.css");

:root {
  color-scheme: light;
  --ink: #242520;
  --muted: #5c5d54;
  --paper: #f5f2eb;
  --paper-deep: #ebe7dd;
  --surface: #fcfaf5;
  --dark: #222421;
  --dark-raised: #2d302a;
  --white: #f8f3e9;
  --white-muted: #c4c5b8;
  --accent: #efb181;
  --accent-hover: #ffd1ab;
  --accent-deep: #784621;
  --line: #d7d3c8;
  --line-dark: #494b42;
  --danger: #8c2820;
  --success: #356345;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --page: 1360px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --header: 76px;
  --section: clamp(66px, 8vw, 128px);
  --ease: cubic-bezier(.2,.8,.2,1);
  --fast: 180ms;
  --slow: 450ms;
  --font: "Manrope", Arial, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --image-scrim: linear-gradient(180deg, transparent 40%, rgba(13,14,11,.84) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body {
  margin: 0;
  font: 500 16px/1.65 var(--font);
  color: var(--ink);
  background: var(--paper);
}
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .58; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, dialog :focus-visible { outline-color: var(--accent); }
.shell { width: min(var(--page), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 50; top: 12px; left: 12px;
  padding: 12px 20px; border-radius: var(--r-sm); background: var(--surface);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.eyebrow {
  margin-bottom: 12px; color: var(--accent-deep); text-transform: uppercase;
  font-size: .72rem; font-weight: 800; line-height: 1.4; letter-spacing: .15em;
}
h1, h2, h3 { line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(3.3rem, 6.55vw, 7rem); letter-spacing: -.078em; line-height: .93; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -.073em; line-height: .99; }
h3 { font-size: clamp(1.22rem, 2vw, 1.65rem); letter-spacing: -.045em; }
h1 em, h2 em { font: italic 600 1.13em/.9 var(--display); letter-spacing: -.065em; }
.section { padding-block: var(--section); }
.section-heading {
  display: flex; align-items: end; justify-content: space-between;
  gap: 20px 52px; margin-bottom: 36px;
}
.section-heading > p { max-width: 35ch; color: var(--muted); padding-bottom: 3px; }
.button, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent;
  font-weight: 800; transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.button { min-height: 52px; padding: 11px 19px; gap: 15px; border-radius: var(--r-sm); font-size: .88rem; white-space: nowrap; }
.button:active, .icon-button:active { transform: scale(.97); }
.button-primary { background: var(--accent); color: var(--ink); }
.button-ink { background: var(--ink); color: var(--white); }
.button-header { border-color: var(--line-dark); min-height: 44px; color: var(--white); }
.arrow { font-size: 1.2em; line-height: 1; }
.icon-button { min-width: 44px; min-height: 44px; padding: 0; border-radius: var(--r-pill); background: transparent; font-size: 1.2rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 0; color: inherit; border: 0; background: transparent; text-align: left;
  font-size: .87rem; font-weight: 800;
}
@media (hover: hover) {
  .button-primary:hover { background: var(--accent-hover); }
  .button-header:hover, .site-footer .text-link:hover { color: var(--accent); border-color: var(--accent); }
  .button-ink:hover { background: var(--dark-raised); }
  .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
}
.site-header {
  position: sticky; z-index: 10; top: 0; color: var(--white);
  background: var(--dark); border-bottom: 1px solid var(--line-dark);
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled { background: rgba(34,36,33,.94); backdrop-filter: blur(16px); }
.header-row { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand svg { color: var(--accent); }
.brand > span { font-size: 1.3rem; letter-spacing: .08em; font-weight: 800; line-height: 1; }
.brand small { display: block; margin-top: 6px; font-size: .43rem; letter-spacing: .16em; color: var(--white-muted); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.desktop-nav a { display: grid; align-items: center; min-height: 44px; font-size: .85rem; color: var(--white-muted); font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current="location"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); pointer-events: none; }

.hero {
  padding-top: clamp(36px, 5vw, 76px);
  color: var(--white);
  background: radial-gradient(ellipse at 65% 0%, var(--dark-raised), var(--dark) 72%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.hero-copy { align-self: center; padding-block: 14px 22px; }
.hero-location { display: flex; align-items: center; gap: 10px; color: var(--white-muted); margin-bottom: clamp(18px, 3vw, 38px); }
.hero-location span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 em { color: var(--accent); }
.hero-description { margin-top: 28px; max-width: 39ch; font-size: clamp(.94rem, 1.2vw, 1.08rem); color: var(--white-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 24px; }
.hero-media { position: relative; overflow: hidden; min-height: 410px; aspect-ratio: 1.28; border-radius: var(--r-xl); background: var(--dark-raised); }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 47% 57%; }
.hero-media figcaption {
  position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 16px;
  padding: 54px 24px 21px; background: linear-gradient(transparent, rgba(15,16,12,.84));
  color: var(--white); font-size: .94rem; font-weight: 800;
}
.hero-media small { display: block; color: var(--white-muted); font-size: .76rem; font-weight: 600; }
.media-link { border-color: rgba(248,243,233,.5); }
.media-link:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: clamp(32px, 4vw, 55px);
  border-top: 1px solid var(--line-dark);
}
.hero-proof > div { padding: 22px 24px 26px; border-left: 1px solid var(--line-dark); }
.hero-proof > div:first-child { padding-left: 0; border-left: 0; }
.hero-proof dt { font-size: clamp(1rem, 1.7vw, 1.5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.hero-proof dd { margin-top: 5px; font-size: .81rem; color: var(--white-muted); }

.works { padding-bottom: calc(var(--section) * .82); }
.work-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.filter-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--paper-deep); }
.filter-tabs button {
  min-height: 44px; padding: 7px clamp(10px, 1.4vw, 20px); border: 0; border-radius: var(--r-pill);
  background: transparent; font-size: .84rem; font-weight: 800;
}
.filter-tabs button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.filter-tabs button[aria-pressed="false"]:hover { background: var(--line); }
.film-button span { font-size: .75rem; color: var(--accent-deep); }
.film-button small { color: var(--muted); font-weight: 600; }
.work-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 18px; }
.work-card { min-width: 0; grid-column: span 6; }
.work-grid[data-current-filter="all"] .work-card:nth-child(1) { grid-column: span 7; }
.work-grid[data-current-filter="all"] .work-card:nth-child(2) { grid-column: span 5; }
.work-grid:not([data-current-filter="all"]) .work-card { grid-column: span 4; }
.work-image {
  width: 100%; display: block; position: relative; overflow: hidden; height: clamp(230px,31vw,410px);
  padding: 0; border: 0; border-radius: var(--r-lg); background: var(--dark-raised); text-align: left;
}
.work-image img { height: 100%; object-fit: cover; object-position: center; transition: transform var(--slow) var(--ease); }
.work-image[data-gallery="bathroom"] img { object-position: center 60%; }
.work-image[data-gallery="partitions"] img { object-position: center 43%; }
.work-image::after { content: ""; position: absolute; inset: 0; background: var(--image-scrim); }
.work-caption {
  position: absolute; z-index: 1; inset: auto 0 0; display: flex; align-items: end;
  justify-content: space-between; gap: 12px; padding: clamp(16px, 2.4vw, 32px); color: var(--white);
}
.work-kind { display: block; color: var(--accent-hover); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.work-caption strong { display: block; margin-top: 6px; font-size: clamp(1.12rem, 2.35vw, 2.1rem); letter-spacing: -.05em; line-height: 1.12; }
.work-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(248,243,233,.62); border-radius: var(--r-pill); font-size: 1.15rem; }
@media (hover: hover) {
  .work-image:hover img { transform: scale(1.05); }
  .work-image:hover .work-arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); }
}

.services { background: var(--paper-deep); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-card { padding: clamp(22px, 3vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.service-card p { color: var(--muted); margin-top: 12px; max-width: 47ch; }
.service-feature { grid-column: 1/-1; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 28px; padding: 12px; }
.service-feature > div { padding: clamp(14px, 3vw, 38px); }
.service-feature h3 { font-size: clamp(1.8rem, 4vw, 3.65rem); }
.service-feature .text-link { margin-top: 12px; color: var(--accent-deep); }
.service-feature img { height: clamp(220px, 29vw, 395px); object-fit: cover; border-radius: var(--r-md); }
.process { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.process-photo { position: sticky; top: calc(var(--header) + 20px); border-radius: var(--r-lg); overflow: hidden; }
.process-photo img { height: clamp(420px, 49vw, 650px); object-fit: cover; object-position: 50%; }
.process-list { list-style: none; counter-reset: process; margin: 28px 0 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); counter-increment: process; }
.process-list li::before {
  content: counter(process, decimal-leading-zero); display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--paper-deep); border-radius: var(--r-pill); color: var(--accent-deep);
  font-size: .79rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.process-list h3 { font-size: 1.24rem; }
.process-list p { margin-top: 6px; color: var(--muted); }

.brief { background: var(--dark); color: var(--white); }
.brief-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: clamp(28px, 7vw, 100px); align-items: start; }
.brief-intro { padding-top: 22px; }
.brief-intro .eyebrow, .brief-intro em { color: var(--accent); }
.brief-intro > p:not(.eyebrow) { max-width: 36ch; margin-top: 23px; color: var(--white-muted); }
.brief-contacts { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; font-style: normal; }
.brief-contacts .text-link { color: var(--accent); }
.quiz-panel { color: var(--ink); background: var(--surface); border-radius: var(--r-xl); padding: clamp(22px,4vw,48px); min-width: 0; }
.quiz-top { display: flex; gap: 20px; align-items: center; font-size: .8rem; font-weight: 800; color: var(--accent-deep); margin-bottom: 24px; }
.quiz-top progress { flex: 1; min-width: 0; height: 6px; appearance: none; background: var(--paper-deep); border: 0; border-radius: var(--r-pill); overflow: hidden; }
.quiz-top progress::-webkit-progress-bar { background: var(--paper-deep); }
.quiz-top progress::-webkit-progress-value { background: var(--accent-deep); border-radius: var(--r-pill); transition: width var(--slow) var(--ease); }
.quiz-top progress::-moz-progress-bar { background: var(--accent-deep); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: clamp(1.5rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.1; padding: 0; margin-bottom: 20px; }
.property-options, .service-options { display: flex; gap: 8px; flex-wrap: wrap; }
.property-options { flex-direction: column; }
.property-options label, .service-options label { position: relative; cursor: pointer; }
.property-options input, .service-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.property-options label > span, .service-options label > span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .87rem; font-weight: 700;
}
.property-options label > span::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--muted); border-radius: 50%; }
.property-options input:checked + span::before { border: 4px solid var(--accent-deep); }
.property-options input:checked + span, .service-options input:checked + span { border-color: var(--accent-deep); background: var(--paper-deep); }
.property-options input:focus-visible + span, .service-options input:focus-visible + span { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.area-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 4px; font-size: .9rem; }
.area-label output { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent-deep); }
input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--accent-deep); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.field-label { display: block; font-size: .86rem; font-weight: 800; margin: 14px 0 5px; }
.field-label span { color: var(--muted); font-weight: 500; }
.text-field {
  display: block; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 12px; background: var(--paper); color: var(--ink); font-size: 1rem;
}
textarea.text-field { resize: vertical; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.quiz-hint, .brief-status { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.brief-status:empty { display: none; }
.brief-status[data-tone="error"] { color: var(--danger); }
.brief-status[data-tone="success"] { color: var(--success); font-weight: 800; }
.quiz-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.quiz-controls .button { margin-inline-start: auto; }

.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,7vw,95px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  list-style: none; min-height: 56px; padding: 13px 0; cursor: pointer; font-weight: 800;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.35rem; color: var(--accent-deep); font-weight: 600; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 61ch; margin: 0 20px 18px 0; color: var(--muted); }
.site-footer { background: var(--dark); color: var(--white); padding: 34px 0 max(34px, env(safe-area-inset-bottom)); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
.footer-row > p, .footer-row > small { color: var(--white-muted); font-size: .84rem; }

.has-dialog { overflow: hidden; }
.media-dialog {
  color: var(--white); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 0;
  width: min(980px, 94vw); max-width: 94vw; max-height: 92dvh; background: var(--dark);
}
.media-dialog::backdrop { background: rgba(12,13,10,.8); backdrop-filter: blur(8px); }
.dialog-header, .gallery-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 18px; }
.dialog-header .icon-button { font-size: 1.55rem; }
.media-dialog .icon-button { border-color: var(--line-dark); }
.media-dialog .icon-button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-frame { background: var(--dark-raised); }
.gallery-frame img { height: min(66dvh,690px); object-fit: contain; }
.gallery-footer p, #gallery-count { color: var(--white-muted); font-size: .85rem; }
.gallery-controls { display: flex; align-items: center; gap: 10px; flex: none; }
#gallery-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.video-dialog { width: min(460px,94vw); }
.video-dialog video { max-height: 77dvh; object-fit: contain; background: var(--dark-raised); }

@media (max-width: 960px) {
  :root { --header: 67px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; border-color: var(--line-dark); }
  .menu-toggle span { width: 16px; height: 1.5px; background: currentColor; transition: transform var(--fast) var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .mobile-menu { display: grid; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 14px; background: var(--dark); border-bottom: 1px solid var(--line-dark); box-shadow: 0 12px 24px #0003; }
  .mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 7px 2px; min-height: 46px; border-bottom: 1px solid var(--line-dark); font-weight: 750; }
  .mobile-menu a:last-child { color: var(--accent); border-bottom: 0; }
  .hero-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
  .hero-media { min-height: 350px; }
  .hero-proof > div { padding-inline: 16px; }
  .work-grid:not([data-current-filter="all"]) .work-card { grid-column: span 6; }
  .service-grid { gap: 12px; }
  .service-card p { font-size: .92rem; }
}
@media (max-width: 760px) {
  :root { --header: 62px; }
  .hero { padding-top: 31px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .hero-copy { padding: 0; }
  .hero-break { display: none; }
  h1 { font-size: clamp(2.55rem, 9.4vw, 4.8rem); letter-spacing: -.075em; }
  .hero-location { margin-bottom: 18px; }
  .hero-description { margin-top: 17px; }
  .hero-actions { margin-top: 16px; gap: 4px 15px; }
  .hero-media { aspect-ratio: 1.35; min-height: 0; border-radius: var(--r-lg); }
  .hero-media figcaption { padding: 40px 15px 12px; }
  .hero-proof { margin-top: 22px; }
  .hero-proof > div { padding: 14px 8px 16px; }
  .hero-proof dt { font-size: clamp(.82rem, 2.7vw, 1.1rem); }
  .hero-proof dd { font-size: .7rem; line-height: 1.45; }
  .section-heading { display: grid; gap: 13px; margin-bottom: 24px; }
  .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .work-grid[data-current-filter="all"] .work-card:nth-child(n), .work-grid:not([data-current-filter="all"]) .work-card { grid-column: span 1; }
  .work-grid[data-current-filter="all"] .work-feature { grid-column: 1/-1 !important; }
  .work-image { height: clamp(165px, 45vw, 285px); border-radius: var(--r-md); }
  .work-feature .work-image { height: clamp(215px, 55vw, 350px); }
  .work-caption { padding: 12px; }
  .work-caption strong { font-size: clamp(1rem, 3vw, 1.45rem); }
  .work-kind { font-size: .62rem; letter-spacing: .05em; }
  .work-arrow { display: none; }
  .work-feature .work-arrow { display: grid; }
  .service-grid { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; gap: 4px; }
  .service-feature img { height: clamp(190px, 46vw, 320px); }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-photo { position: static; order: 2; }
  .process-photo img { height: clamp(240px, 65vw, 440px); }
  .brief-layout, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .brief-intro { padding-top: 0; }
  .brief-intro > p:not(.eyebrow) { margin-top: 14px; }
  .footer-row > p { order: 3; width: 100%; }
}
@media (max-width: 410px) {
  .header-row { gap: 9px; }
  .brand { gap: 7px; }
  .brand svg { width: 25px; }
  .brand > span { font-size: 1.08rem; }
  .brand small { font-size: .38rem; }
  .button-header { padding-inline: 10px; font-size: .75rem; gap: 6px; }
  .hero-actions .button { padding-inline: 12px; gap: 7px; font-size: .82rem; }
  .hero-actions .text-link { font-size: .79rem; }
  .filter-tabs button { font-size: .75rem; padding-inline: 9px; }
  .work-toolbar { gap: 4px; }
  .gallery-footer { flex-wrap: wrap; }
  .gallery-controls { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

