/* New Braunfels Tile Installers: one stylesheet. Colours and fonts only through the tokens below. */

@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Grotesk Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 101%; ascent-override: 94%; descent-override: 24%; }
@font-face { font-family: "Serif Fallback"; src: local("Georgia Italic"), local("Times New Roman Italic"), local("Georgia"); font-style: italic; size-adjust: 96%; }

:root {
  /* palette (brief 2.2) */
  --ink: #191D1C;
  --umber: #534D40;
  --olive: #959185;
  --stone: #BDB8B4;
  --white: #FFFFFF;
  --mist: #F9F9F9;
  /* state shades (DESIGN-PLAN 1) */
  --umber-deep: #3F3A30;
  --linen: #ECEAE6;
  /* error tone, light surfaces only */
  --brick: #8C3B2C;

  --sans: "Host Grotesk", "Grotesk Fallback", "Helvetica Neue", Arial, sans-serif;
  --serif: "Bodoni Moda", "Serif Fallback", Georgia, serif;

  --fs-display: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --fs-h3: 1.5rem;
  --fs-lead: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 1360px;
  --gap: 24px;
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);
  --r-img: 2px;
  --r-ui: 6px;
  --r-dialog: 10px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* surface defaults = white section */
  --bg: var(--white); --fg: var(--ink); --fg2: var(--umber); --rule: var(--stone); --rule-strong: var(--olive);
  --btn-bg: var(--umber); --btn-fg: var(--white); --btn-bg-h: var(--umber-deep);
  --chip-bg: var(--white); --chip-bg-h: var(--linen); --chip-on-bg: var(--umber); --chip-on-fg: var(--white);
  --focus: var(--ink); --err: var(--brick);
  --field-bg: var(--white); --field-fg: var(--ink); --field-line: var(--olive);
}

/* surfaces */
.s-white { --bg: var(--white); }
.s-mist  { --bg: var(--mist); --chip-bg: var(--mist); }
.s-olive { --bg: var(--olive); --fg: var(--ink); --fg2: var(--ink); --rule: var(--ink); --rule-strong: var(--ink);
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bg-h: var(--umber-deep);
  --chip-bg: var(--olive); --chip-bg-h: var(--stone); --chip-on-bg: var(--ink); --chip-on-fg: var(--white);
  --focus: var(--ink); }
.s-ink { --bg: var(--ink); --fg: var(--white); --fg2: var(--stone); --rule: var(--umber); --rule-strong: var(--olive);
  --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bg-h: var(--linen);
  --chip-bg: var(--ink); --chip-bg-h: var(--umber); --chip-on-bg: var(--white); --chip-on-fg: var(--ink);
  --focus: var(--white); --err: var(--white);
  --field-bg: var(--ink); --field-fg: var(--white); --field-line: var(--olive); }
.s-umber { --bg: var(--umber); --fg: var(--white); --fg2: var(--white); --rule: var(--stone); --rule-strong: var(--stone);
  --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bg-h: var(--linen);
  --chip-bg: var(--umber); --chip-bg-h: var(--umber-deep); --chip-on-bg: var(--white); --chip-on-fg: var(--ink);
  --focus: var(--white); --err: var(--white);
  --field-bg: var(--white); --field-fg: var(--ink); --field-line: var(--white); }
.s-white, .s-mist, .s-olive, .s-ink, .s-umber { background: var(--bg); color: var(--fg); }

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; overflow-x: clip; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: var(--r-ui); }
.skip:focus { top: 1rem; }

/* type */
h1, h2, h3 { font-weight: 400; color: var(--fg); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
h1 em, h2 em, .wordmark em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.04em; letter-spacing: 0; line-height: 0; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg2); }
.small, small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--fg2); }
p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose h2 { margin: 2.4em 0 .7em; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 1.25rem; }
.prose ul { padding-left: 1.1em; margin: 1em 0; }
.prose li + li { margin-top: .4em; }
.prose a, .text-link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule-strong); }
.prose a:hover, .text-link:hover { text-decoration-color: currentColor; }

/* layout */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* section header: title left, supporting line right on the title's baseline */
.sh { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sh p { color: var(--fg2); font-size: var(--fs-small); max-width: 36ch; }
@media (min-width: 900px) {
  .sh { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: last baseline; }
  .sh > :first-child { grid-column: 1 / span 7; }
  .sh > :last-child:not(:first-child) { grid-column: 9 / span 4; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: var(--r-ui); background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease); }
.btn:hover { background: var(--btn-bg-h); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--line { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--line:hover { background: transparent; border-color: var(--fg); }
.btn--sm { min-height: 40px; padding: .5rem .95rem; font-size: .9375rem; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.tel { font-weight: 500; text-decoration: none; white-space: nowrap; }
.tel:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--ink); background: var(--white); border-bottom: 1px solid var(--linen); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
body.has-dark-hero .site-header:not(.is-solid) { background: transparent; color: var(--white); border-color: transparent; --focus: var(--white); --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bg-h: var(--linen); }
main { padding-top: var(--header-h); }
body.has-dark-hero main { padding-top: 0; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; font-size: 1.0625rem; line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; flex: none; }
.wordmark em { font-size: 1.1em; line-height: 1; font-weight: 500; }
.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav-toggle { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .25rem .7rem; border: 0; background: none; text-decoration: none; font-weight: 500; font-size: .9375rem; border-radius: var(--r-ui); }
.nav a:hover, .nav-toggle:hover { text-decoration: underline; }
.nav a[aria-current="page"], .nav .is-current > .nav-toggle { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.has-menu { position: relative; }
.chev { width: .75rem; height: .75rem; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 6px); left: -.25rem; min-width: 260px; padding: .5rem; margin: 0; list-style: none; background: var(--white); color: var(--ink); border: 1px solid var(--linen); border-radius: var(--r-ui); display: none; --focus: var(--ink); }
.submenu a { display: flex; width: 100%; padding: .55rem .75rem; font-weight: 400; }
.submenu a:hover { background: var(--linen); text-decoration: none; }
.has-menu.is-open > .submenu { display: block; }
.no-js .has-menu:hover > .submenu, .no-js .has-menu:focus-within > .submenu { display: block; }
.header-end { display: flex; align-items: center; gap: 1rem; flex: none; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; padding: .5rem; border: 0; background: none; align-items: center; justify-content: center; }
.no-js .menu-btn { display: none !important; }

@media (max-width: 1180px) {
  .header-end .tel { display: none; }
  .nav a, .nav-toggle { padding-inline: .5rem; }
}
@media (max-width: 1023px) {
  .nav, .header-end .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header-end { margin-left: auto; gap: .5rem; }
  .no-js .nav { display: block; margin: 0; }
  .no-js .site-header { position: static; height: auto; }
  .no-js .site-header .wrap { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .nav > ul { flex-wrap: wrap; }
  .no-js main, .no-js body.has-dark-hero main { padding-top: 0; }
}

/* mobile menu: full-screen dark panel */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--white); --focus: var(--white); display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-menu nav { margin-top: 1rem; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li { border-bottom: 1px solid var(--umber); }
.mobile-menu a, .mobile-menu .mm-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; border: 0; background: none; color: var(--white); text-decoration: none; font-size: 1.5rem; letter-spacing: -0.01em; text-align: left; padding: 0; }
.mobile-menu .mm-sub a { font-size: 1.0625rem; min-height: 44px; color: var(--stone); padding-left: 1rem; }
.mobile-menu .mm-sub { padding-bottom: .75rem; }
.mobile-menu .mm-sub[hidden] { display: none; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: 1rem; }
.mobile-menu__foot .tel { font-size: 1.25rem; color: var(--white); }
.close-btn { min-width: 44px; min-height: 44px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: inherit; border-radius: var(--r-ui); }
.close-btn:hover { background: var(--umber); }

/* hero (home): text left on ink, a framed portrait right, a stone close-up set into its edge */
.hero { position: relative; background: var(--ink); color: var(--white); }
.hero__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; min-height: min(100svh, 1240px); padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 3rem)); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.hero__text { grid-column: 1 / span 6; position: relative; z-index: 1; }
.hero__text h1 { margin-bottom: clamp(1.5rem, 4vh, 2.75rem); color: var(--white); }
.hero__para { max-width: 38ch; color: var(--stone); font-size: 1.1875rem; line-height: 1.55; margin-bottom: clamp(2rem, 4.5vh, 2.75rem); }
.hero__media { grid-column: 8 / span 5; margin: 0; position: relative; justify-self: end; width: min(100%, calc((100svh - var(--header-h) - 9rem) * .8), 600px); }
.hero__stage { position: relative; }
.hero__frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-img); background: var(--umber); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__chip { position: absolute; left: calc(-1 * clamp(3rem, 6vw, 6.5rem)); bottom: clamp(2.5rem, 8vh, 5rem); width: clamp(110px, 11vw, 176px); aspect-ratio: 1; padding: 6px; background: var(--ink); border-radius: var(--r-img); }
.hero__chip img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.hero__media figcaption { margin-top: .9rem; font-size: var(--fs-small); color: var(--stone); max-width: 40ch; }
@media (max-width: 1180px) { .hero__text { grid-column: 1 / span 7; } .hero__media { grid-column: 8 / span 5; } .hero__chip { left: -1.75rem; width: 104px; padding: 5px; } }
@media (min-width: 900px) and (max-width: 1000px) { .hero__chip { left: -1rem; width: 96px; } }
@media (max-width: 899px) {
  .hero__inner { min-height: 0; padding-top: calc(var(--header-h) + 1.75rem); padding-bottom: 2.5rem; row-gap: 2.5rem; }
  .hero__text, .hero__media { grid-column: 1 / -1; }
  .hero__para { font-size: 1.0625rem; }
  .hero__media { width: 100%; justify-self: stretch; }
  .hero__stage { position: relative; }
.hero__frame { aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
  .hero__chip { left: auto; right: 12px; bottom: 12px; width: 96px; padding: 4px; }
}

/* page hero (service pages): photo left, text right, mirrored from home */
.phero { background: var(--ink); color: var(--white); padding-top: var(--header-h); }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; min-height: min(78svh, 760px); }
.phero__media { grid-column: 1 / span 5; align-self: stretch; margin: 0 0 0 calc(-1 * var(--gutter)); position: relative; }
.phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__text { grid-column: 7 / span 6; padding-block: clamp(3rem, 8vh, 6rem); }
.phero__text h1 { margin-bottom: 1.5rem; color: var(--white); }
.phero__text .lead { color: var(--stone); max-width: 40ch; margin-bottom: 2rem; }
@media (max-width: 899px) {
  .phero__grid { min-height: 0; }
  .phero__media { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--gutter)); order: 2; }
  .phero__text { grid-column: 1 / -1; padding-block: 2rem 2.5rem; }
}

/* light page head (areas, projects, about, contact, privacy) */
.lhead { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.lhead h1 { max-width: 16ch; }
.lhead .lead { max-width: 46ch; margin-top: 1.5rem; }
.crumbs { font-size: var(--fs-small); color: var(--fg2); margin-bottom: 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--olive); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.s-ink .crumbs li + li::before { color: var(--olive); }

/* project card */
.card { position: relative; margin: 0; }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__img { display: block; position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--linen); aspect-ratio: 3 / 4; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.03); }
.card__title { display: block; margin-top: .85rem; font-weight: 500; font-size: 1rem; line-height: 1.35; }
.card__link:hover .card__title { text-decoration: underline; }
.card__meta { display: block; font-size: var(--fs-small); color: var(--fg2); margin-top: .15rem; }


/* horizontal rows with a progress line */
.row { position: relative; }
.row__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4.25); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; padding-bottom: 4px; margin: 0; list-style: none; padding-left: 0; }
.row__track::-webkit-scrollbar { display: none; }
.row__track > * { scroll-snap-align: start; min-width: 0; }
.row__track:focus-visible { outline-offset: 6px; }
.row__foot { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; }
.row__bar { position: relative; flex: 1; height: 2px; background: var(--rule); border-radius: 1px; overflow: hidden; }
.row__fill { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--fg); border-radius: 1px; transform-origin: left; }
.row__btns { display: flex; gap: .5rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: var(--r-ui); background: transparent; color: var(--fg); transition: background-color .15s var(--ease), border-color .15s var(--ease), opacity .15s var(--ease); }
.icon-btn:hover { border-color: var(--fg); background: var(--chip-bg-h); }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.no-js .row__btns, .no-js .row__bar { display: none; }
@media (max-width: 1023px) { .row__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.4); } }
@media (max-width: 599px) { .row__track { grid-auto-columns: 78%; gap: 16px; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip { white-space: nowrap; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--rule-strong); border-radius: var(--r-ui); background: var(--chip-bg); color: var(--fg); font-weight: 500; font-size: .9375rem; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.chip:hover { background: var(--chip-bg-h); }
.chip[aria-pressed="true"] { background: var(--chip-on-bg); color: var(--chip-on-fg); border-color: var(--chip-on-bg); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 599px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block: 4px; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; }
}

/* explorer (olive band) */
.explorer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.explorer__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; align-items: start; }
.explorer__feature { grid-column: 1 / span 7; margin: 0; position: relative; }
.explorer__feature .frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: var(--stone); }
.explorer__feature img { width: 100%; height: 100%; object-fit: cover; }
.explorer__feature figcaption { margin-top: .75rem; font-size: var(--fs-small); }
.explorer__side { grid-column: 9 / span 4; }
.explorer__look { font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: .75rem; font-weight: 400; }
.explorer__note { margin-bottom: 2rem; max-width: 40ch; }
.explorer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gap); list-style: none; margin: 0; padding: 0; }
.explorer__list .card__img { aspect-ratio: 1 / 1; }
.explorer__list .card__title { font-size: .9375rem; }
.explorer__more { margin-top: 2rem; }
.explorer [data-look-panel][hidden] { display: none; }
.is-swapping .explorer__feature .frame, .is-swapping .explorer__list { opacity: 0; transform: translateX(12px); }
.explorer__feature .frame, .explorer__list { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.no-js .explorer__chips, .no-js .rooms, .no-js .explorer [data-look-panel="all"] { display: none !important; }
.no-js .explorer [data-look-panel][hidden] { display: grid !important; }
.no-js .explorer [data-look-panel] + [data-look-panel] { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--ink); }
@media (max-width: 899px) {
  .explorer__feature, .explorer__side { grid-column: 1 / -1; }
}

/* under the tile (dark) */
.under { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
.under__media { grid-column: 1 / span 6; margin: 0; }
.under__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); }
.under__media figcaption { margin-top: .75rem; color: var(--stone); font-size: var(--fs-small); }
.under__list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; align-self: center; }
.under__list li { padding-block: 1.5rem; border-top: 1px solid var(--umber); }
.under__list li:last-child { border-bottom: 1px solid var(--umber); }
.under__list h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.25rem; }
.under__list p { color: var(--stone); }
@media (max-width: 899px) { .under__media, .under__list { grid-column: 1 / -1; } }

/* services 2x2 */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 2rem + 2vw, 4rem) var(--gap); list-style: none; margin: 0; padding: 0; }
.svc__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: var(--linen); margin-bottom: 1.25rem; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc a:hover .svc__img img { transform: scale(1.03); }
.svc h3 { margin-bottom: .5rem; }
.svc a { text-decoration: none; }
.svc a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.svc p { color: var(--fg2); max-width: 46ch; }
@media (max-width: 699px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* areas + map */
.areas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; align-items: start; }
.areas > .areas__list, .areas__side { grid-column: 1 / span 4; }
.areas__list { list-style: none; margin: 0; padding: 0; }
.areas__list li { border-top: 1px solid var(--stone); }
.areas__list li:last-child { border-bottom: 1px solid var(--stone); }
.areas__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem; text-decoration: none; font-size: 1.25rem; letter-spacing: -0.01em; }
.areas__list a:hover span:first-child { text-decoration: underline; text-decoration-thickness: 1px; }
.areas__list .mi { font-size: var(--fs-small); color: var(--fg2); white-space: nowrap; }
.areas__shop { margin-top: 1.75rem; font-size: var(--fs-small); color: var(--fg2); }
.areas__shop strong { display: block; color: var(--fg); font-weight: 500; font-size: 1rem; }
.areas__map { grid-column: 6 / span 7; }
@media (max-width: 899px) { .areas > .areas__list, .areas__side, .areas__map { grid-column: 1 / -1 !important; } }
.map-frame { padding: 6px; border: 1px solid var(--rule); border-radius: var(--r-img); background: var(--bg); }
.s-ink .map-frame { border-color: var(--umber); background: var(--umber); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; border-radius: 1px; }
@media (max-width: 599px) { .map-frame iframe { height: 340px; } }

/* reviews slot + faq */
.reviews-slot { min-height: 1.5rem; }
.reviews-fallback { font-weight: 500; }
.faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; }
.faq-layout > .faq { grid-column: 5 / span 8; }
.faq-layout > .faq-aside { grid-column: 1 / span 3; }
@media (max-width: 899px) { .faq-layout > .faq, .faq-layout > .faq-aside { grid-column: 1 / -1; } }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding-block: 1.1rem; cursor: pointer; list-style: none; font-size: 1.1875rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.faq .pm { flex: none; width: 18px; height: 18px; position: relative; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .2s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq .faq__a { padding-bottom: 1.5rem; max-width: 62ch; color: var(--fg2); }

/* forms */
.close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
.close__head { grid-column: 1 / span 4; }
.close__head h2 { margin-bottom: 1.25rem; }
.close__head p { color: var(--fg2); }
.close__contact { margin-top: 2rem; display: grid; gap: .35rem; font-size: 1rem; }
.close__contact a { text-decoration: none; }
.close__contact a:hover { text-decoration: underline; }
.close__form { grid-column: 6 / span 7; }
@media (max-width: 899px) { .close__head, .close__form { grid-column: 1 / -1; } }

.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap); }
.lead-form .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .lead-form { grid-template-columns: minmax(0, 1fr); } }
.rooms legend { font-weight: 500; margin-bottom: .75rem; padding: 0; }
.rooms { border: 0; padding: 0; margin: 0; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; font-size: .9375rem; }
.field .opt { font-weight: 400; color: var(--fg2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid var(--field-line); border-radius: 4px; background: var(--field-bg); color: var(--field-fg); font-size: 1rem; line-height: 1.4; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--fg); }
.s-umber .field input:hover, .s-umber .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--field-fg); }
.field .hint { font-size: var(--fs-small); color: var(--fg2); }
.field .err { display: none; align-items: flex-start; gap: .4rem; font-size: var(--fs-small); color: var(--err); font-weight: 500; }
.field.is-invalid .err { display: flex; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); border-width: 2px; padding: calc(.75rem - 1px) calc(.9rem - 1px); }
.err .icon, .form-status .icon { width: 1.1em; height: 1.1em; margin-top: .15em; }
.form-foot { display: grid; gap: 1rem; }
.form-foot .btn { justify-self: start; min-width: 200px; }
.consent { font-size: var(--fs-small); color: var(--fg2); max-width: 60ch; }
.consent a { color: inherit; }
.form-status { display: none; align-items: flex-start; gap: .5rem; padding: .9rem 1rem; border-radius: var(--r-ui); border: 1px solid currentColor; font-weight: 500; }
.form-status.is-ok, .form-status.is-error { display: flex; }
.form-status.is-error { color: var(--err); }
.form-status.is-ok { color: var(--fg); }

/* estimate modal (dialog) */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--white); max-width: none; max-height: none; }
dialog::backdrop { background: color-mix(in srgb, var(--ink) 72%, transparent); }
.modal { width: min(760px, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); border-radius: var(--r-dialog); overflow: auto; overscroll-behavior: contain; }
.modal__inner { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.modal__head h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.modal .close-btn:hover { background: var(--linen); }
.modal[open] { animation: rise .28s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.link-btn { border: 0; background: none; padding: .5rem 0; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; font-weight: 500; color: inherit; }
.link-btn:hover { text-decoration-thickness: 2px; }

/* mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--ink); --focus: var(--white); transform: translateY(110%); transition: transform .25s var(--ease); }
.callbar .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding-inline: .5rem; font-size: .9375rem; }
.callbar .btn--call { background: var(--white); color: var(--ink); }
.callbar .btn--est { background: var(--umber); color: var(--white); }
.callbar .btn--est:hover { background: var(--umber-deep); }
.callbar.is-visible { transform: none; }
@media (max-width: 767px) { .callbar { display: flex; } body.has-callbar { padding-bottom: 72px; } }
.no-js .callbar { display: none; }

/* projects index */
.filters { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.filters legend { font-weight: 500; font-size: .9375rem; padding: 0; margin-bottom: .6rem; }
.filter-count { color: var(--fg2); font-size: var(--fs-small); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem var(--gap); list-style: none; margin: 0; padding: 0; }
.pgrid > li[hidden] { display: none; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 16px; } }
.no-js .filters { display: none; }
.empty-state { padding: 2rem 0; color: var(--fg2); }

/* project gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1rem; }
.gallery__main { grid-column: 1 / span 9; position: relative; margin: 0; background: var(--mist); border-radius: var(--r-img); overflow: hidden; touch-action: pan-y; }
.gallery__main img { width: 100%; height: min(78svh, 760px); object-fit: contain; }
.gallery__nav { position: absolute; inset: auto 1rem 1rem auto; display: flex; gap: .5rem; align-items: center; --fg: var(--ink); --rule-strong: var(--stone); --chip-bg-h: var(--linen); }
.gallery__nav .icon-btn { background: var(--white); }
.gallery__count { background: var(--white); color: var(--ink); padding: .5rem .75rem; border-radius: var(--r-ui); font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.gallery__thumbs { grid-column: 10 / span 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; align-content: start; list-style: none; margin: 0; padding: 0; }
.gallery__thumbs button { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; }
.gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; opacity: .6; transition: opacity .15s var(--ease); }
.gallery__thumbs button:hover img, .gallery__thumbs button[aria-current="true"] img { opacity: 1; }
.gallery__thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.no-js .gallery__nav { display: none; }
@media (max-width: 899px) {
  .gallery__main, .gallery__thumbs { grid-column: 1 / -1; }
  .gallery__main img { height: auto; max-height: 75svh; }
  .gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2rem; }
.phead h1 { max-width: 18ch; }
.pdetail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; }
.pdetail__spec { grid-column: 1 / span 4; }
.pdetail__text { grid-column: 6 / span 7; }
.pdetail__text .lead { color: var(--fg); margin-bottom: 1.5rem; }
@media (max-width: 899px) { .pdetail__spec, .pdetail__text { grid-column: 1 / -1; } }
.spec { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--fg2); font-size: var(--fs-small); padding-top: .15em; }
.spec dd { font-size: 1rem; }
.spec a { text-decoration: underline; text-decoration-color: var(--olive); }

/* long-form two column (service + area pages) */
.longform { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
.longform__main { grid-column: 1 / span 7; }
.longform__aside { grid-column: 9 / span 4; }
.longform__main > section + section { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.longform__main h2 { margin-bottom: 1.25rem; }
.longform__main h3 { margin: 2rem 0 .6rem; font-size: 1.25rem; }
.longform__main p, .longform__main ul { max-width: 62ch; }
.longform__main a { text-decoration-color: var(--olive); }
@media (min-width: 900px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 899px) { .longform__main, .longform__aside { grid-column: 1 / -1; } }
.includes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.includes li { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.aside-block + .aside-block { margin-top: 2.5rem; }
.aside-block h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
.facts { display: grid; border-top: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--fg2); font-size: var(--fs-small); padding-top: .15em; }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.linklist a { text-decoration: none; }
.linklist a:hover, .linklist a[aria-current="page"] { text-decoration: underline; }

/* about steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; border-bottom: 1px solid var(--rule); counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--fg2); }
.steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.steps p { color: var(--fg2); max-width: 60ch; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); }

/* privacy */
.toc ol { padding-left: 1.4em; display: grid; gap: .3rem; }
.policy .policy-title { margin: 0 0 1rem; }
.policy .policy-h { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 400; margin: 3rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.policy h4 { font-size: 1.0625rem; font-weight: 500; margin: 1.75rem 0 .5rem; }
.policy ul { padding-left: 1.2em; }
.policy li + li { margin-top: .35rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--stone); padding-block: clamp(3.5rem, 3rem + 3vw, 6rem) 2rem; --focus: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand .wordmark { color: var(--white); font-size: 1.5rem; margin-bottom: 1.5rem; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-brand a { color: var(--white); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 6 / span 3; }
.footer-col .fh { font-family: var(--sans); font-size: .9375rem; font-weight: 500; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.footer-col a { color: var(--stone); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-base p { margin: 0; }
.footer-base { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--umber); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-small); color: var(--olive); }
@media (max-width: 899px) {
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col:first-of-type { grid-column: span 6; }
}

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center-y { align-self: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .is-swapping .explorer__feature .frame, .is-swapping .explorer__list { transform: none; }
}
@media print { .site-header, .callbar, .site-footer, .mobile-menu { display: none !important; } main { padding-top: 0; } }
