@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #211d2a;
  --plum: #2e2331;
  --paper: #fbf8f3;
  --ivory: #fff9ed;
  --ember: #ffad70;
  --muted: #605966;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --limit: 76rem;
  --gutter: clamp(1.2rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 1rem/1.55 var(--font); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a94925; outline-offset: 4px; }
.opening :focus-visible, .request-section :focus-visible, .footer :focus-visible { outline-color: var(--ember); }
.request-card :focus-visible { outline-color: #a94925; }
.skip { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; transform: translateY(-200%); padding: 0.65rem 1rem; background: var(--ivory); color: var(--ink); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--limit)); margin-inline: auto; }
.opening { min-height: min(51rem, 94svh); position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; overflow: clip; background: #30242a; color: var(--ivory); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 56%; z-index: -2; }
.opening::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(31 23 31 / 0.95) 0%, rgb(31 23 31 / 0.84) 27%, rgb(31 23 31 / 0.32) 59%, transparent 100%),
              linear-gradient(180deg, rgb(25 17 25 / 0.68), transparent 26%, transparent 72%, rgb(22 16 22 / 0.5));
}
.header { margin-inline: auto; width: min(calc(100% - 2 * var(--gutter)), var(--limit)); padding-block: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgb(255 249 237 / 0.29); }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; line-height: 1.08; text-decoration: none; flex: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: 0.008em; }
.brand small { margin-top: 0.18rem; font-size: 0.77rem; font-weight: 640; }
.ember { width: 0.88rem; height: 0.88rem; border-radius: 50%; display: inline-block; background: #ffdca5; box-shadow: 0 0 0 5px rgb(255 177 110 / 0.17), 0 0 21px 4px rgb(255 163 83 / 0.56); flex: none; }
.header nav { display: flex; align-items: center; gap: clamp(0.85rem, 3vw, 2.8rem); }
.header nav a { font-size: 0.92rem; font-weight: 650; text-decoration: none; }
.header nav .desktop-link:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.mini-button { padding: 0.6rem 1.02rem; border: 1px solid rgb(255 249 237 / 0.62); border-radius: 1.8rem; white-space: nowrap; }
.mini-button:hover { background: var(--ivory); color: var(--ink); }
.hero, .opening-content { height: 100%; }
.hero { display: grid; align-items: center; }
.hero-inner { width: min(calc(100% - 2 * var(--gutter)), var(--limit)); margin-inline: auto; padding: clamp(4rem, 11vh, 7.5rem) 0; }
.preview-label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 650; margin: 0 0 1.35rem; }
.preview-label span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--ember); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.018em; line-height: 0.97; }
h1 { font-size: clamp(4.1rem, 9.7vw, 9.6rem); }
.hero-summary { max-width: 24rem; line-height: 1.45; font-size: clamp(1.1rem, 1.8vw, 1.38rem); margin: 1.5rem 0 1.7rem; color: #fff3e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1.45rem; align-items: center; }
.button { min-height: 3.2rem; min-width: 9.2rem; border: 1px solid transparent; border-radius: 1.8rem; display: inline-flex; justify-content: center; align-items: center; padding: 0.7rem 1.35rem; font-weight: 750; text-decoration: none; line-height: 1.25; }
.button-light { background: var(--ember); color: #2b1e24; }
.button-light:hover { background: #ffd096; }
.text-link, .small-link { font-weight: 730; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.text-link { min-height: 3rem; display: inline-flex; align-items: center; }
.section-heading { min-height: 18rem; padding-block: clamp(3.2rem, 8vw, 7.3rem); display: grid; grid-template-columns: 1.3fr 0.65fr; align-items: end; gap: 2rem; }
.section-heading h2, .request-intro h2 { font-size: clamp(3.1rem, 6.6vw, 6.1rem); }
.section-heading p { margin: 0 0 0.25rem; font-size: clamp(1rem, 1.6vw, 1.22rem); max-width: 27ch; color: var(--muted); }
.service-stack { position: relative; isolation: isolate; }
.service-panel { position: relative; }
.service-surface { position: relative; border-top: 1px solid #96858b40; background: #f4e5db; }
.cooling .service-surface { background: #e8e9f0; }
.service-inner { min-height: clamp(24rem, 61svh, 37rem); display: grid; grid-template-columns: 0.87fr 1.13fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 5rem); }
.service-kicker { font-size: 0.93rem; font-weight: 760; margin: 0 0 1.05rem; }
.service-copy h3 { font-size: clamp(2.7rem, 5.6vw, 5.5rem); }
.service-copy > p:not(.service-kicker) { max-width: 31ch; font-size: 1.05rem; margin: 1.1rem 0 1.2rem; }
.service-image { margin: 0; overflow: hidden; background: #c9b5ac; aspect-ratio: 1.37; border-radius: 0.18rem 0.18rem 2.5rem 0.18rem; }
.cooling .service-image { background: #afb6bb; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.small-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.service-scrim { position: absolute; inset: 0; pointer-events: none; background: rgb(17 12 20 / 0.5); opacity: 0; }
.request-section { background: var(--plum); color: var(--ivory); padding-block: clamp(3.5rem, 9vw, 8rem); }
.request-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.request-ember { margin-bottom: 1.55rem; }
.request-intro p { margin: 1.3rem 0 0; font-size: 1.08rem; color: #e8dce5; max-width: 33ch; }
.request-card { padding: clamp(1.15rem, 3.7vw, 2.6rem); border-radius: 1.3rem; background: #fffdf9; color: var(--ink); }
.form-tabs { display: flex; gap: 0.35rem; padding: 0.32rem; background: #edebef; border-radius: 1.5rem; margin-bottom: 1.6rem; }
.form-tabs button { flex: 1 1 0; border: 0; border-radius: 1.35rem; min-height: 2.6rem; padding: 0.45rem 0.4rem; font-size: 0.96rem; font-weight: 740; color: var(--muted); background: transparent; line-height: 1.2; }
.form-tabs button[aria-selected="true"] { color: var(--ink); background: #fffdf9; box-shadow: 0 1px 6px #251b3321; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0.85rem; }
.fields label { display: grid; gap: 0.38rem; font-weight: 700; font-size: 0.94rem; }
.fields .full { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 2.85rem; border: 1px solid #a9a0ae; border-radius: 0.46rem; background: #fffdf9; color: var(--ink); padding: 0.56rem 0.68rem; font-weight: 500; font-size: 1rem; }
select { appearance: none; padding-right: 1.9rem; background-image: linear-gradient(45deg, transparent 50%, #493e50 50%), linear-gradient(135deg, #493e50 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b6371; opacity: 1; }
.visitor-form .button { margin-top: 1.15rem; width: 100%; }
.button-dark { background: var(--ink); color: var(--ivory); }
.button-dark:hover { background: #473449; }
.button-outline { color: var(--ink); border-color: #7e7081; background: transparent; }
.button-outline:hover { background: #ede6ec; }
button:disabled { opacity: 0.5; cursor: default; }
.demo-note { margin: 0.65rem 0 0; font-size: 0.84rem; color: #655e6a; }
.footer { background: #211923; color: var(--ivory); padding-block: 2.4rem; border-top: 1px solid #f4dfec26; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }
.footer p { margin: 0; color: #e3d7e0; font-size: 0.89rem; }
dialog { width: min(33rem, calc(100% - 2rem)); border: 1px solid #e2d7e3; border-radius: 1rem; padding: 0; background: #fffdf9; color: var(--ink); }
dialog::backdrop { background: #1e1725c9; }
.dialog-content { padding: clamp(1.3rem, 5vw, 2.3rem); }
.dialog-content h2 { font-size: clamp(2rem, 6vw, 3.3rem); }
.dialog-content dl { margin: 1.2rem 0; }
.dialog-content dt { font-weight: 750; margin-top: 0.65rem; }
.dialog-content dd { white-space: pre-wrap; overflow-wrap: anywhere; margin-left: 0; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
@media (min-width: 800px) and (prefers-reduced-motion: no-preference) {
  .service-panel { position: sticky; top: 0; }
  .service-panel:focus-within { z-index: 2; }
  .service-panel:focus-within .service-surface { transform: none !important; }
  .service-panel:focus-within .service-scrim { opacity: 0 !important; }
  .service-surface { transform: translateY(var(--retreat, 0%)); }
  .service-scrim { opacity: var(--shade, 0); }
  .service-image { clip-path: inset(0); transition: clip-path 0.85s cubic-bezier(.23, .78, .22, 1); }
  .service-panel[data-entering] .service-image { clip-path: inset(0 0 9% 0); }
}
@media (max-width: 799px) {
  .section-heading, .service-inner, .request-grid { grid-template-columns: 1fr; }
  .section-heading { min-height: 0; gap: 1rem; }
  .service-inner { min-height: 0; gap: 1rem; }
  .service-image { aspect-ratio: 1.54; }
}
@media (max-width: 660px) {
  .opening { min-height: min(43rem, 90svh); }
  .hero-media img { object-position: 55% 50%; }
  .opening::after { background: linear-gradient(180deg, #211824a8 0%, #21182433 26%, #211824d8 56%, #211824f5 100%); }
  .hero { align-items: end; }
  .hero-inner { padding-block: 5rem 2.9rem; }
  .header { padding-block: 1.12rem; }
  .header .desktop-link { display: none; }
  .brand strong { font-size: 1.75rem; }
  .brand small { font-size: .68rem; }
  .mini-button { padding: .5rem .8rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 370px) { .fields { grid-template-columns: 1fr; } }
