@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #101820;
  --subtle: #465260;
  --night: #111c28;
  --night-deep: #0d1722;
  --white: #fff;
  --surface: #f8f9fa;
  --line: #d7dde3;
  --blue: #0b5ba4;
  --blue-hover: #084582;
  --light-blue: #c2dbf4;
  --focus: #a24616;
  --error: #872b24;
  font: 16px/1.55 "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
:focus-visible, [tabindex="-1"]:focus { outline: 3px solid var(--focus); outline-offset: 5px; }
.hero :focus-visible, .work :focus-visible, .work [tabindex="-1"]:focus { outline-color: #ffd6ac; }

.shell { width: min(1200px, calc(100% - 2 * clamp(18px, 6vw, 88px))); margin-inline: auto; }
.content-band { padding-block: clamp(52px, 8vw, 112px); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.mast { background: var(--white); }
.mast-row { min-height: clamp(66px, 7vw, 94px); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.brand-link { display: block; flex: 0 1 auto; }
.brand-link img { width: clamp(143px, 20vw, 231px); }
.mast nav, .hero-actions { display: flex; align-items: center; gap: clamp(13px, 3vw, 33px); }
.nav-work { font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav-work:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 4px;
  font: inherit; font-weight: 750; line-height: 1.18; text-align: center; text-decoration: none;
  cursor: pointer;
}
.button-small { min-height: 44px; padding: 7px 14px; font-size: .875rem; white-space: nowrap; }
.button-outline { border-color: #b1c5d9; color: #084982; }
.button-outline:hover { background: #edf5fd; }
.button-blue { color: var(--white); background: var(--blue); }
.button-blue:hover:not(:disabled) { background: var(--blue-hover); }
.text-link { font-weight: 730; color: #084e8b; text-underline-offset: .24em; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(560px, 49vw, 790px);
  background: #191919; color: var(--white);
}
.hero-image, .hero::after { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: "";
  background: linear-gradient(90deg, rgb(0 0 0 / .89) 0%, rgb(0 0 0 / .79) 34%, rgb(0 0 0 / .48) 54%, rgb(0 0 0 / .04) 81%);
}
.hero > .shell { position: relative; z-index: 1; }
.hero-copy { max-width: min(52vw, 580px); padding-block: clamp(44px, 6vw, 86px); }
.hero-stat { max-width: 46ch; margin-bottom: 19px; color: var(--white); line-height: 1.45; }
.hero-stat a { font-size: .84em; text-underline-offset: .18em; white-space: nowrap; }
.hero-area { margin-top: 16px; color: var(--white); font-size: .92rem; font-weight: 700; }
.area { margin-bottom: 22px; color: var(--light-blue); font-weight: 690; letter-spacing: .015em; }
h1 { font-size: clamp(3.3rem, 7.6vw, 7.3rem); line-height: .91; letter-spacing: -.085em; font-weight: 820; overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(3.25rem, 6.4vw, 6rem); text-wrap: balance; }
.hero-lede { max-width: 39ch; margin-top: 24px; color: var(--white); font-size: clamp(1.0625rem, 1.45vw, 1.26rem); }
.hero-actions { margin-top: 25px; flex-wrap: wrap; }
.button-light { background: var(--white); color: #13171a; }
.button-light:hover { background: #e7e7e7; }
.hero .text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }

h2 { font-size: clamp(2rem, 4.9vw, 4.35rem); line-height: 1; letter-spacing: -.065em; font-weight: 790; }
h3 { font-size: clamp(1.08rem, 2.2vw, 1.5rem); line-height: 1.18; letter-spacing: -.03em; }
.section-opening > p, .about-copy > p, .quote-copy > p { max-width: 53ch; margin-top: 15px; font-size: clamp(1rem, 1.7vw, 1.19rem); color: var(--subtle); }
.service-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 33px 0 0; padding: 0; border-block: 1px solid var(--line); }
.service-list li { padding: 22px clamp(15px, 3.4vw, 45px) 28px 0; }
.service-list li + li { border-left: 1px solid var(--line); padding-left: clamp(15px, 3.4vw, 45px); }
.service-list p { max-width: 26ch; margin-top: 8px; color: var(--subtle); }

.work { background: var(--night-deep); color: var(--white); }
.work .section-opening > p { color: #d0deec; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .43fr); align-items: start; gap: clamp(20px, 5vw, 72px); margin-top: clamp(23px, 4.8vw, 56px); }
.work-action { margin-top: clamp(24px, 4vw, 48px); }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(7px, 1.2vw, 15px); }
.comparison-shot { overflow: hidden; position: relative; isolation: isolate; border-radius: 4px; background: var(--night); }
.comparison-shot img { width: 100%; height: auto; aspect-ratio: 434 / 680; object-fit: cover; }
.comparison-shot figcaption { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 3px; background: var(--night-deep); font-size: .875rem; font-weight: 710; }
.film { min-width: 0; }
.reel { display: block; width: min(100%, 310px); height: auto; aspect-ratio: 9 / 16; margin-inline: auto; background: #152537; border: 1px solid #354657; border-radius: 5px; }

.about { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 8vw, 115px); }
.about > img { width: 100%; height: clamp(215px, 28vw, 420px); object-fit: cover; object-position: 50% 37%; border-radius: 4px; }
.about-copy > .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }

.quote-band { background: #eef4fa; border-top: 1px solid #e0e9f3; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(26px, 6vw, 82px); align-items: start; }
.quote-copy .quote-area { margin-top: 22px; font-size: .95rem; font-weight: 700; }
.quote-card { min-width: 0; padding: clamp(15px, 3vw, 28px); background: var(--white); border: 1px solid #c4d2e0; border-radius: 6px; }
.sample-row { display: flex; justify-content: space-between; align-items: center; gap: 6px 15px; flex-wrap: wrap; }
.preview-note { font-size: .875rem; color: var(--subtle); }
.sample-button { min-height: 44px; padding: 4px 2px; background: transparent; border: 0; font: inherit; font-weight: 730; color: #084e8b; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
form { display: grid; gap: 13px; margin-top: 9px; }
.field { display: grid; gap: 5px; min-width: 0; }
label, .optional summary { font-size: .93rem; font-weight: 700; }
input, textarea { min-height: 46px; width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #8294a4; border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.optional summary { min-height: 44px; padding-block: 9px; cursor: pointer; }
.optional summary span { color: var(--subtle); font-weight: 500; }
:disabled { opacity: .65; cursor: default; }
[aria-invalid="true"] { border: 2px solid var(--error); }
.field-error, .send-error { color: var(--error); }
.field-error { font-size: .875rem; }
.send-error, .receipt { padding: 13px; border-left: 3px solid currentColor; overflow-wrap: anywhere; }
.send-error { background: #fdf1ea; }
.receipt { background: #ecf4fc; margin-top: 12px; }
.receipt p { margin-top: 8px; }
.receipt p span { display: block; }
.script-note { margin-top: 8px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 25px; }
.footer img { width: 160px; }
.footer p { font-size: .9rem; color: var(--subtle); }
.footer-contact p + p { margin-top: 3px; }
.footer .footer-credit { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 15px; font-size: .82rem; }

@media (741px <= width <= 1000px) {
  .hero::after { background: linear-gradient(90deg, rgb(0 0 0 / .89) 0%, rgb(0 0 0 / .8) 42%, rgb(0 0 0 / .64) 61%, rgb(0 0 0 / .04) 91%); }
}
@media (max-width: 740px) {
  .about, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: start; min-height: clamp(595px, 157vw, 704px); }
  .hero::after { background: linear-gradient(180deg, rgb(0 0 0 / .79) 0%, rgb(0 0 0 / .74) 47%, rgb(0 0 0 / .65) 73%, rgb(0 0 0 / .04) 88%); }
  .hero-copy { max-width: 510px; padding-block: clamp(24px, 6vw, 50px) 164px; }
  .hero-image img { object-position: 50% 10%; }
  .hero h1 { font-size: clamp(2.58rem, 11.4vw, 4.4rem); }
  .service-list { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .service-list li, .service-list li + li { padding: 16px 0; border-left: 0; }
  .service-list li + li { border-top: 1px solid var(--line); }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .film { width: min(100%, 285px); justify-self: center; }
  .about > img { max-height: 260px; order: 1; }
}
@media (max-width: 510px) {
  .nav-work { display: none; }
  h1 { font-size: min(clamp(3.3rem, 14vw, 5rem), 23vw); }
  .area { margin-bottom: 16px; font-size: .9rem; }
  .hero-lede { margin-top: 18px; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { padding-inline: 14px; }
  .button-small { max-width: 51vw; padding-inline: 10px; white-space: normal; }
  .work-grid { margin-top: 23px; }
}

/* Service and seasonal information */
.eyebrow { margin-bottom: 12px; font-size: .86rem; font-weight: 780; color: #1b4e7b; letter-spacing: .04em; }
.source-note, .section-opening > .source-note { font-size: .85rem; color: var(--subtle); }
.source-note a { text-underline-offset: .16em; }
.detail-layout, .seasonal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(18px,4vw,60px); }
.detail-layout { align-items: center; }
.detail-photos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(8px,1.5vw,15px); }
.detail-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.season h3 { font-size: clamp(1.45rem,3vw,2.3rem); }
.maintenance-note { margin-top: clamp(18px, 3vw, 31px); padding: 16px 20px; border-left: 3px solid var(--blue); background: #eef4fa; color: var(--subtle); }
.maintenance-note h3 { color: var(--ink); margin-bottom: 6px; }
.about { grid-template-columns: minmax(0,1.1fr) minmax(0,.8fr); }
.about-note { margin: 0; padding: 20px 0 20px 26px; border-left: 2px solid #94b4d0; color: #27435d; font: 660 clamp(1.35rem,3.1vw,2.3rem)/1.18 "DM Sans", Arial, sans-serif; letter-spacing: -.04em; }
.seasonal-grid { align-items: start; margin-top: clamp(24px,4vw,48px); }
.season img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 20px; }
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.inner-hero { padding-block: clamp(48px,7vw,91px); background: var(--night); color: #fff; }
.inner-hero h1 { font-size: clamp(3.2rem,7vw,6rem); }
.inner-hero p:last-child { margin-top: 20px; color: #dce5ef; font-size: 1.18rem; }
.reading { max-width: 760px; }
.reading p + p { margin-top: 14px; }
.reading h2 + p { margin-top: 20px; }
.reading .button { margin-top: 24px; }
@media (max-width:740px) {
  .detail-layout,.seasonal-grid,.about { grid-template-columns: minmax(0,1fr); }
  .detail-photos img { aspect-ratio: 4 / 3; }
  .about-note { padding-block: 6px; }
}
@media (max-width:510px) {
  .hero-stat { margin-bottom: 14px; font-size: .94rem; }
  .hero-area { margin-top: 11px; }
}
@media (max-width:360px) {
  .hero-stat { margin-bottom: 10px; }
  .hero-lede { margin-top: 10px; line-height: 1.38; }
  .hero-actions { margin-top: 15px; }
}

/* Quote preferences */
.about { display: block; }
.about-copy { max-width: 66ch; }
.quote-intro { padding-block: clamp(24px,4vw,48px); }
.quote-intro h1 { font-size: clamp(2.25rem,5vw,4rem); }
.quote-intro p:last-child { max-width: 48ch; margin-top: 10px; font-size: 1rem; }
.flow-wrap { padding-block: clamp(20px,4vw,48px); }
.quote-preferences { border-block: 1px solid var(--line); }
.quote-preferences summary { min-height: 44px; padding-block: 10px; font-weight: 700; cursor: pointer; }
.quote-preferences summary span { color: var(--subtle); font-weight: 500; }
.preference-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 14px; padding-block: 4px 16px; }
.preference-grid select { width: 100%; min-height: 46px; min-width: 0; padding: 8px; border: 1px solid #8294a4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
#flow > .sample-button { justify-self: start; }
.flow-controls { display: flex; align-items: center; gap: 12px; }

.operator-title { font-size: clamp(2.2rem,6vw,5rem); margin-bottom: 14px; }
.operator-login { max-width: 410px; margin-block: 22px; }
.operator-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.inbox-scroll { max-width: 100%; overflow-x: auto; }
.inbox-scroll table { border-collapse: collapse; white-space: nowrap; }
.inbox-scroll th,.inbox-scroll td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.inbox-scroll select { min-height: 36px; font: inherit; }
