/* Signature Bath Co. — site stylesheet
   Built from the approved 'Signature Dark' design (Kohler-inspired layout,
   Libre Caslon Display + Josefin Sans to match the logo). */

/* Signature Bath Co. — shared design system for the mockups.
   Modeled on kohler.com: neo-grotesk type set light, charcoal canvas,
   full-bleed photography, underlined text links, 1px outlined buttons.
   Production: license Helvetica Now Text (Monotype) or Neue Haas Grotesk (Adobe Fonts). */

:root {
  --font: "Helvetica Now Text", "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Helvetica Now Display", "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --canvas: #212121;
  --black: #000;
  --white: #fff;
  --soft: #cfcfcf;
  --mute: #9a9a9a;
  --rule: #3a3a3a;
  --gutter: 36px;
  --tile-gap: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--white); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Brand bar ---------- */
.brandbar { color: var(--white); background: var(--black); height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); font-size: 11px; position: relative; z-index: 40; }
.brandbar .brands { display: flex; gap: 24px; }
.brandbar .brands a { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8d8d8d; }
.brandbar .brands a.on, .brandbar .brands a:hover { color: var(--white); }
.brandbar .util { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.brandbar .util .sep { width: 1px; height: 24px; background: #555; }
.brandbar svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; vertical-align: -4px; margin-right: 6px; }

/* ---------- Main nav ---------- */
.mainnav { position: absolute; top: 46px; left: 0; right: 0; z-index: 30; height: 76px; display: flex; align-items: center; gap: 30px; padding: 0 var(--gutter); background: linear-gradient(rgba(0,0,0,.35), transparent); transition: background .3s; }
.mainnav.solid { position: fixed; top: 0; background: var(--canvas); }
.mainnav .logo { height: 56px; flex: 0 0 auto; margin-right: 8px; }
.mainnav .logo img { height: 100%; width: auto; object-fit: contain; }
.mainnav ul { list-style: none; display: flex; gap: 26px; font-size: 15px; }
.mainnav ul a { padding: 6px 0; border-bottom: 1px solid transparent; }
.mainnav ul a:hover { border-color: var(--white); }
.mainnav .search { margin-left: auto; }
.mainnav .search svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.5; }

/* ---------- Type ---------- */
.h-xl { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.06; letter-spacing: -.015em; }
.h-lg { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
.h-md { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.lede { font-size: 17px; line-height: 1.55; color: var(--white); max-width: 34ch; }
.body { color: var(--soft); line-height: 1.6; }
sup.r { font-size: .35em; vertical-align: super; }

/* ---------- Links & buttons ---------- */
.tlink { display: inline-block; font-weight: 500; font-size: 15px; padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.tlink:hover { opacity: .7; }
.links { display: flex; gap: 40px; justify-content: center; margin-top: 30px; }
.obtn { display: inline-block; font-weight: 500; font-size: 15px; padding: 14px 26px; border: 1px solid currentColor; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.obtn:hover { background: var(--white); color: var(--black); }
.obtn.dark { color: var(--black); }
.obtn.dark:hover { background: var(--black); color: var(--white); }

/* ---------- Full-bleed media sections ---------- */
.bleed { position: relative; min-height: 100vh; display: flex; overflow: hidden; }
.bleed > .media { position: absolute; inset: 0; }
.bleed > .media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.bleed .copy { position: relative; z-index: 2; }
.bleed.center { align-items: center; justify-content: center; text-align: center; }
.bleed.center .copy { max-width: 560px; padding: 0 24px; }
.bleed.center .lede { margin: 22px auto 0; }
.bleed.low-left { align-items: flex-end; }
.bleed.low-left .copy { padding: 0 var(--gutter) 64px; max-width: 640px; }
.bleed.low-left .lede { margin-top: 20px; }
.bleed.low-left .links { justify-content: flex-start; }

/* Slow push-in so stills feel like Kohler's hero video */
.kenburns img { animation: kb 22s ease-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.09); } }

/* ---------- Tile grid ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); padding: 48px var(--gutter); }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; aspect-ratio: 4/3; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.tile .media { position: absolute; inset: 0; }
.tile .media img { transition: transform .8s ease; }
.tile:hover .media img { transform: scale(1.04); }
.tile .media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.tile .copy, .bleed .copy { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.tile .copy { position: relative; z-index: 2; }
.tile .h-md { margin-bottom: 18px; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 560px; }
.split .media { height: 100%; min-height: 460px; }
.split .copy { padding: 60px 9%; }
.split .copy .body { margin: 24px 0 36px; max-width: 46ch; font-size: 16px; }
.split.flip .media { order: 2; }
.split.inset .media { margin: 48px 0 48px 64px; height: auto; aspect-ratio: 4/5; min-height: 0; }

/* ---------- Footer ---------- */
footer { padding: 70px var(--gutter) 0; background: var(--canvas); }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-bottom: 60px; }
.foot-top .logo { height: 54px; margin-bottom: 26px; }
.foot-top .logo img { width: auto; object-fit: contain; }
.social { display: flex; gap: 22px; font-size: 13px; color: var(--soft); }
.signup p { font-size: 13px; color: var(--soft); margin-bottom: 14px; }
.signup .line { display: flex; align-items: center; border-bottom: 1px solid #888; }
.signup input { flex: 1; background: transparent; border: 0; outline: 0; padding: 12px 0; font-size: 17px; }
.signup input::placeholder { color: var(--white); }
.signup button { background: var(--white); color: var(--black); border: 0; padding: 8px 22px; font-size: 13px; margin-bottom: 8px; cursor: pointer; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.foot-cols h4 { font-weight: 300; font-size: 21px; margin-bottom: 22px; }
.foot-cols li { list-style: none; color: var(--soft); font-size: 15px; padding: 3px 0; }
.foot-cols li a:hover { color: var(--white); }
.legal { background: var(--black); margin: 0 calc(var(--gutter) * -1); padding: 20px var(--gutter); display: flex; gap: 36px; font-size: 12px; font-weight: 500; }
.legal span:last-child { margin-left: auto; font-weight: 400; color: var(--soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mainnav ul { display: none; }
  .brandbar .brands a:not(.on) { display: none; }
}
@media (max-width: 800px) {
  :root { --gutter: 20px; }
  .brandbar .util .hide-sm { display: none; }
  .tiles, .tiles.three, .split, .foot-top, .foot-cols { grid-template-columns: 1fr; }
  .split.flip .media { order: 0; }
  .split.inset .media { margin: 0; }
  .bleed { min-height: 82vh; }
  .links { gap: 24px; }
  .legal { flex-wrap: wrap; gap: 14px 24px; }
  .legal span:last-child { margin-left: 0; }
}

/* ---------- Background video ---------- */
.media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.media:has(video) { background: #1a1a1a; }
.bleed.low-left > .media::after { background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 60%); }

/* Hero video cycle: clips stacked, crossfaded with opacity */
.hero-cycle video { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease-in-out; }
.hero-cycle video.on { opacity: 1; }


/* Signature type system (logo-matched).
   Headlines: Libre Caslon Display, echoing the logo's "BATH CO." serif.
   UI + body: Josefin Sans, letter-spaced caps echoing "REFINE • REFRESH • RENEW".
   Both are free Google Fonts. Applied by putting data-type="caslon" on <html>. */

html[data-type="caslon"] {
  --display: "Libre Caslon Display", Georgia, serif;
  --font: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --accent: #c9a45c;
  --accent-bright: #e2c27e;
}
html[data-type="caslon"] body { font-weight: 400; font-size: 16px; }
html[data-type="caslon"] .h-xl { font-weight: 400; font-size: clamp(46px, 5.4vw, 82px); line-height: 1.04; letter-spacing: 0; }
html[data-type="caslon"] .h-lg { font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.12; letter-spacing: 0; }
html[data-type="caslon"] .h-md { font-weight: 400; font-size: clamp(26px, 2.3vw, 34px); }
html[data-type="caslon"] .foot-cols h4 { font-family: var(--display); font-weight: 400; font-size: 24px; }
html[data-type="caslon"] .lede { font-weight: 400; font-size: 17px; line-height: 1.6; }
html[data-type="caslon"] .body { line-height: 1.7; }

/* Tagline-style caps for navigation, links, and buttons */
html[data-type="caslon"] .mainnav ul { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; gap: 28px; }
html[data-type="caslon"] .tlink,
html[data-type="caslon"] .obtn { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
html[data-type="caslon"] .tlink { padding-bottom: 5px; }
html[data-type="caslon"] .obtn { padding: 17px 30px 15px; }
html[data-type="caslon"] .brandbar .brands a { letter-spacing: .22em; font-weight: 600; }
html[data-type="caslon"] .eyebrow { font-family: var(--font); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
html[data-type="caslon"] .bleed .eyebrow { color: var(--accent-bright); font-weight: 600; text-shadow: 0 0 2px rgba(0,0,0,.6), 0 1px 14px rgba(0,0,0,.7); }
html[data-type="caslon"] .bleed.center .copy { max-width: 880px; }

/* ==========================================================================
   Site additions: mobile menu, small-screen fixes, anchor offsets
   ========================================================================== */

/* Anchored sections clear the fixed nav */
[id] { scroll-margin-top: 80px; }

/* Dynamic viewport height on mobile browsers (avoids the address-bar jump) */
@supports (height: 100svh) { .bleed { min-height: 100svh; } }

.brandbar .util .tlink { font-size: 12.5px; }

/* Menu button (shown below 1100px, where the inline nav is hidden) */
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; background: none; border: 0; cursor: pointer; color: #fff; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s ease, top .3s ease; }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.mainnav.open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mainnav.open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mainnav .m-only { display: none; }
body.menu-open { overflow: hidden; }

@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .mainnav.open { background: transparent; }
  /* Full-screen menu panel; sits behind the logo row, above the page */
  html[data-type] .mainnav.open ul, .mainnav.open ul { display: flex; flex-direction: column; gap: 0; position: fixed; inset: 0; z-index: -1; padding: 140px var(--gutter) 48px; background: var(--canvas); overflow-y: auto; }
  .mainnav.open ul li { border-bottom: 1px solid var(--rule); }
  .mainnav.open ul a { display: block; padding: 15px 0; border: 0; font-family: var(--display); font-size: 28px; letter-spacing: 0; text-transform: none; }
  .mainnav.open .m-only { display: block; border: 0; }
  .mainnav.open .m-only a { font-family: var(--font); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 22px 0 0; }
}

@media (max-width: 800px) {
  .brandbar .brands { display: none; }
  .brandbar .util { width: 100%; justify-content: space-between; gap: 12px; }
  .brandbar .util a { white-space: nowrap; }
  @supports (height: 100svh) { .bleed { min-height: 82svh; } }
}

@media (max-width: 560px) {
  .mainnav .logo { height: 48px; }
  .links { flex-direction: column; align-items: center; gap: 18px; }
  .bleed.low-left .links { align-items: flex-start; }
  .bleed.low-left .copy { padding-bottom: 44px; }
  .tlink { white-space: nowrap; }
}

@media (max-width: 380px) {
  .brandbar .util { font-size: 12px; }
  .brandbar .util .tlink { letter-spacing: .1em; }
}

/* Signup form status message */
.signup .status { margin-top: 12px; font-size: 14px; color: var(--accent, #c9a45c); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brandbar .brands span { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8d8d8d; }
html[data-type="caslon"] .brandbar .brands span { letter-spacing: .22em; font-weight: 600; }

/* Gold secondary color: hover states and active nav */
.tlink { transition: color .2s, border-color .2s; }
.tlink:hover { opacity: 1; color: var(--accent); }
.obtn:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.mainnav ul a:hover { border-color: var(--accent); }
.foot-cols li a:hover, .social a:hover { color: var(--accent); }
.signup .line:focus-within { border-bottom-color: var(--accent); }
.mainnav.open ul a:hover { color: var(--accent); }

/* ==========================================================================
   Interior pages
   ========================================================================== */

/* Current page in the menu */
.mainnav ul a[aria-current="page"] { border-color: var(--accent); }
.mainnav.open ul a[aria-current="page"] { color: var(--accent); }

/* Shorter photo header + closing call-to-action band */
.bleed.page-hero { min-height: 68vh; padding-top: 122px; }
.bleed.page-hero > .media::after, .bleed.cta-band > .media::after { background: rgba(0,0,0,.44); }
.bleed.cta-band { min-height: 72vh; }
.bleed.cta-band .lede { margin: 22px auto 0; max-width: 44ch; }
@supports (height: 100svh) { .bleed.page-hero { min-height: 68svh; } .bleed.cta-band { min-height: 72svh; } }

/* Centered intro text */
.intro { padding: 110px var(--gutter) 90px; text-align: center; max-width: 900px; margin: 0 auto; }
.intro .body { font-size: 18px; max-width: 62ch; margin: 26px auto 0; }
.intro .links { margin-top: 36px; }
.rule-gold { width: 56px; height: 1px; background: var(--accent); margin: 0 auto 30px; border: 0; }

/* Section heading row */
.sec-head { padding: 90px var(--gutter) 10px; text-align: center; }
.sec-head .body { max-width: 58ch; margin: 18px auto 0; }

/* Feature list (3-up) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; padding: 40px var(--gutter) 110px; max-width: 1320px; margin: 0 auto; list-style: none; }
.features li { border-top: 1px solid var(--rule); padding: 30px 0 34px; }
.features h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.features p { color: var(--soft); line-height: 1.7; }
.features.two { grid-template-columns: repeat(2, 1fr); max-width: 1100px; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; padding: 40px var(--gutter) 110px; max-width: 1320px; margin: 0 auto; }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding: 34px 0 40px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 22px; }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin-bottom: 12px; }
.steps p { color: var(--soft); line-height: 1.7; }

/* Split-row bullet lists */
.split .copy .ticks { list-style: none; margin: -12px 0 36px; color: var(--soft); }
.split .copy .ticks li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.split .copy .ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); }

/* Awards / proof row */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0 var(--gutter); }
.proof > div { padding: 54px 28px; }
.proof > div + div { border-left: 1px solid var(--rule); }
.proof .big { font-family: var(--display); font-size: clamp(38px, 4vw, 56px); line-height: 1; color: var(--accent); }
.proof .label { margin-top: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); line-height: 1.8; }

/* Pull quote */
.quote { padding: 120px var(--gutter); text-align: center; max-width: 980px; margin: 0 auto; }
.quote blockquote { font-family: var(--display); font-size: clamp(28px, 3vw, 42px); line-height: 1.3; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; padding: 30px var(--gutter) 120px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: 23px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 14px; height: 14px; background: linear-gradient(var(--accent), var(--accent)) center/100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center/1px 100% no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-bright); }
.faq details p { color: var(--soft); line-height: 1.75; padding: 0 0 28px; max-width: 70ch; }

/* Gallery */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; padding: 20px var(--gutter) 40px; }
.filters button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 6px 0; cursor: pointer; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.filters button:hover { color: var(--white); }
.filters button[aria-pressed="true"] { color: var(--white); border-color: var(--accent); }
.gallery { columns: 3; column-gap: var(--tile-gap); padding: 0 var(--gutter) 110px; }
.gallery figure { break-inside: avoid; margin-bottom: var(--tile-gap); position: relative; overflow: hidden; cursor: zoom-in; }
.gallery figure[hidden] { display: none; }
.gallery img { height: auto; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
.gallery figure:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--white); }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { position: absolute; inset: 70px 80px; width: calc(100% - 160px); height: calc(100% - 140px); object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; color: var(--white); width: 56px; height: 56px; font-size: 30px; line-height: 1; font-family: var(--display); }
.lightbox button:hover { color: var(--accent); }
.lightbox .lb-close { top: 10px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }

/* Service area */
.towns { list-style: none; columns: 4; column-gap: 40px; max-width: 1100px; margin: 0 auto; padding: 30px var(--gutter) 40px; }
.towns li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 22px; }
.area-note { text-align: center; color: var(--soft); max-width: 60ch; margin: 0 auto; padding: 10px var(--gutter) 110px; line-height: 1.7; }
.area-note a { color: var(--white); border-bottom: 1px solid var(--accent); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; padding: 100px var(--gutter) 120px; max-width: 1320px; margin: 0 auto; }
.form-aside .body { margin: 22px 0 34px; }
.form-aside dl { border-top: 1px solid var(--rule); }
.form-aside dl > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.form-aside dt { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.form-aside dd { color: var(--soft); line-height: 1.6; }
.form-aside dd a:hover { color: var(--white); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid #777; border-radius: 0; padding: 12px 0; font-size: 17px; outline: 0; transition: border-color .2s; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23c9a45c'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 26px; }
.field select option { background: var(--canvas); color: var(--white); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .err { display: block; margin-top: 8px; font-size: 13.5px; color: #f0a48f; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f0a48f; }
.field fieldset { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chips label { margin: 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 11px 20px 9px; border: 1px solid #666; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); transition: all .2s; }
.chips input:checked + span { border-color: var(--accent); color: var(--black); background: var(--accent); }
.chips input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }
.form .note { font-size: 13.5px; color: var(--mute); line-height: 1.6; }
.form .note a { border-bottom: 1px solid var(--mute); }
.form button.obtn { justify-self: start; color: var(--white); }
.alert { grid-column: 1 / -1; padding: 22px 24px; border: 1px solid var(--accent); line-height: 1.6; }
.alert strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.alert.bad { border-color: #f0a48f; }

/* Long-form text (privacy policy) */
.prose { max-width: 760px; margin: 0 auto; padding: 90px var(--gutter) 120px; color: var(--soft); line-height: 1.8; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--white); margin: 54px 0 14px; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--white); border-bottom: 1px solid var(--accent); }
.prose .updated { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }

/* Plain header (pages with no photo hero) */
.plain-head { padding: 200px var(--gutter) 30px; text-align: center; border-bottom: 1px solid var(--rule); }

@media (max-width: 1000px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .towns { columns: 3; }
  .form-wrap { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  .features, .features.two, .steps { grid-template-columns: 1fr; padding-bottom: 80px; }
  .proof { grid-template-columns: 1fr; }
  .proof > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .proof > div { padding: 40px 20px; }
  .gallery { columns: 1; }
  .towns { columns: 2; column-gap: 24px; }
  .towns li { font-size: 19px; }
  .form { grid-template-columns: 1fr; }
  .intro { padding: 80px var(--gutter) 64px; }
  .sec-head { padding-top: 70px; }
  .quote { padding: 84px var(--gutter); }
  .lightbox img { inset: 64px 12px 80px; width: calc(100% - 24px); height: calc(100% - 144px); }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; }
  .lightbox .lb-cap { bottom: 26px; }
  .plain-head { padding-top: 170px; }
  .bleed.page-hero { min-height: 62svh; }
}
