:root {
  color-scheme: light;
  --chalk: oklch(0.985 0.004 250);
  --mist: oklch(0.94 0.009 250);
  --ink: oklch(0.19 0.035 252);
  --navy: oklch(0.25 0.08 252);
  --navy-deep: oklch(0.16 0.055 252);
  --graphite: oklch(0.33 0.018 250);
  --muted: oklch(0.48 0.025 250);
  --brass: oklch(0.69 0.075 78);
  --white: oklch(1 0 0);
  --line-light: color-mix(in oklch, var(--ink) 14%, transparent);
  --line-dark: color-mix(in oklch, var(--white) 20%, transparent);
  --page: min(90rem, calc(100vw - 3rem));
  --section-pad: clamp(5rem, 9vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--chalk);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--chalk);
  font-family: "Commissioner", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto;
  align-items: start;
  width: 72%;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 4.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 4.75rem;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  padding-top: 0.45rem;
}

.desktop-nav a {
  position: relative;
  min-height: 2.75rem;
  font-size: 0.82rem;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.7rem;
  left: 0;
  height: 1px;
  background: var(--brass);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.menu-button i,
.menu-button i::after {
  display: block;
  width: 1.45rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-button i::after {
  transform: translateY(0.45rem);
}

.menu-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.menu-button[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] i::after {
  transform: rotate(-90deg);
}

.mobile-menu {
  position: fixed;
  z-index: 15;
  inset: 0;
  padding: 8rem 1.5rem 7rem;
  color: var(--white);
  background: var(--navy-deep);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.5rem, 8vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 72fr) minmax(21rem, 28fr);
  min-height: min(53rem, 100svh);
}

.hero-visual {
  position: relative;
  min-height: min(53rem, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--navy-deep) 80%, transparent), transparent 68%),
    linear-gradient(0deg, color-mix(in oklch, var(--navy-deep) 68%, transparent), transparent 48%);
  content: "";
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(1.25rem, 5.2vw, 5.5rem);
  width: min(45rem, calc(100% - 4rem));
  transform: translateY(-43%);
}

.hero-copy h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy > p:last-child {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.5;
}

.facts-line {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2.4rem;
  left: clamp(1.25rem, 5.2vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}

.facts-line > div {
  display: flex;
  flex-direction: column;
  min-height: 5rem;
  padding: 1rem 1.25rem 0 0;
  border-right: 1px solid var(--line-dark);
}

.facts-line > div:not(:first-child) {
  padding-left: 1.25rem;
}

.facts-line > div:last-child {
  border-right: 0;
}

.facts-line strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.facts-line span {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.25;
}

.call-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2rem clamp(1.5rem, 2.6vw, 3rem);
  background: var(--chalk);
  border-left: 1px solid var(--line-light);
}

.rail-register {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.rail-register strong {
  max-width: 15rem;
  color: var(--ink);
  font-weight: 600;
}

.call-main {
  margin: auto 0;
  transform: translateY(clamp(2.25rem, calc(4.63rem - 1.85vw), 3.15rem));
}

.call-label {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.phone-link {
  display: inline-block;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--brass);
  font-size: clamp(1.65rem, 2.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.call-main p {
  max-width: 16rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.messengers {
  border-top: 1px solid var(--line-light);
}

.messengers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  border-bottom: 1px solid var(--line-light);
  font-weight: 500;
  text-decoration: none;
}

.messengers a span:last-child {
  transition: transform 180ms var(--ease);
}

.messengers a:hover span:last-child {
  transform: translate(0.2rem, -0.2rem);
}

.rail-stamp {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0.8rem;
  border: 1px solid var(--line-light);
  font-size: 0.58rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.rail-stamp img {
  align-self: center;
  width: 3.5rem;
  height: auto;
}

.section-dark {
  color: var(--white);
  background: var(--navy-deep);
}

.section-light {
  background: var(--chalk);
}

.section-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  width: var(--page);
  margin: 0 auto;
  padding: var(--section-pad) 0 clamp(3rem, 6vw, 5rem);
}

.section-intro h2,
.guarantee-heading h2,
.calc-copy h2,
.process-heading h2,
.faq h2,
.final-call h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-intro > p:last-child {
  align-self: end;
  margin: 0;
  color: color-mix(in oklch, var(--white) 72%, transparent);
}

.project-list {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 0.85fr;
  gap: 1px;
  padding: 0 1px var(--section-pad);
  background: var(--navy-deep);
}

.project {
  position: relative;
  min-width: 0;
  background: var(--navy-deep);
  border-right: 1px solid var(--line-dark);
}

.project figure {
  margin: 0;
}

.project img {
  width: 100%;
  height: clamp(28rem, 46vw, 47rem);
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 300ms ease, transform 600ms var(--ease);
}

.project:nth-child(2) img,
.project:nth-child(4) img {
  height: clamp(22rem, 38vw, 39rem);
}

.project figure {
  overflow: hidden;
}

.project:hover img {
  filter: saturate(1);
  transform: scale(1.015);
}

.project figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem;
  border-top: 1px solid var(--line-dark);
}

.project figcaption strong {
  font-size: 1.15rem;
  font-weight: 500;
}

.project figcaption span,
.project-status {
  color: color-mix(in oklch, var(--white) 65%, transparent);
  font-size: 0.76rem;
}

.project-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: var(--chalk);
}

.guarantees {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(3rem, 8vw, 9rem);
  width: var(--page);
  margin: 0 auto;
  padding: var(--section-pad) 0;
}

.guarantee-heading h2 {
  max-width: 11ch;
}

.ledger {
  border-top: 1px solid var(--line-light);
}

.ledger article {
  display: grid;
  grid-template-columns: 3rem minmax(12rem, 0.8fr) 1.2fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.ledger article > span {
  color: var(--brass);
  font-size: 0.75rem;
}

.ledger h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
}

.ledger p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.calculator {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  min-height: 44rem;
  color: var(--white);
  background: var(--navy);
}

.calc-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) clamp(1.5rem, 6vw, 7rem);
}

.calc-copy h2 {
  max-width: 10ch;
}

.calc-copy > p {
  max-width: 34rem;
  color: color-mix(in oklch, var(--white) 72%, transparent);
}

.inline-call {
  display: flex;
  justify-content: space-between;
  max-width: 30rem;
  margin-top: 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}

.calc-panel {
  display: grid;
  align-content: center;
  gap: 2.5rem;
  padding: var(--section-pad) clamp(1.5rem, 6vw, 7rem);
  color: var(--ink);
  background: var(--chalk);
}

.area-control label,
.rate-control legend,
.option-control legend {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.area-control output {
  float: right;
  font-size: 1.4rem;
  font-weight: 500;
}

.area-control input {
  width: 100%;
  height: 2rem;
  margin: 1.2rem 0 0;
  accent-color: var(--navy);
}

.area-control > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
}

.rate-control,
.option-control {
  margin: 0;
  padding: 0;
  border: 0;
}

.rate-control > div,
.option-control > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.rate-choice,
.option-choice {
  position: relative;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  min-height: 3.8rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
}

.rate-choice input,
.option-choice input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--navy);
}

.rate-choice:has(input:checked),
.option-choice:has(input:checked) {
  color: var(--white);
  background: var(--navy);
}

.calc-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.calc-total span {
  color: var(--muted);
  font-size: 0.8rem;
}

.calc-total strong {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.process {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: var(--page);
  margin: 0 auto;
  padding: var(--section-pad) 0;
}

.process-heading h2 {
  max-width: 10ch;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.process-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.process-list li > span {
  color: var(--brass);
  font-size: 0.8rem;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
}

.process-list p {
  max-width: 40rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 var(--section-pad);
}

.faq h2 {
  max-width: 9ch;
}

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-list details {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  position: relative;
  min-height: 5rem;
  padding: 1.7rem 3rem 1.2rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.55rem;
  right: 0.4rem;
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 45rem;
  margin: 0;
  padding: 0 3rem 1.7rem 0;
  color: var(--muted);
}

.final-call {
  padding: var(--section-pad) max(1.5rem, calc((100vw - var(--page)) / 2));
}

.final-call h2 {
  max-width: 16ch;
}

.final-phone {
  display: inline-block;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--brass);
  font-size: clamp(2.4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.final-call > [data-hours] {
  color: color-mix(in oklch, var(--white) 70%, transparent);
}

.final-call > div {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.final-call > div a {
  padding: 0.5rem 0;
  text-underline-offset: 0.35rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem max(1.5rem, calc((100vw - var(--page)) / 2));
  color: var(--muted);
  background: var(--chalk);
  font-size: 0.75rem;
}

footer a {
  text-underline-offset: 0.25rem;
}

.mobile-call {
  display: none;
}

@media (max-width: 74rem) {
  .site-header {
    width: 67%;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .hero {
    grid-template-columns: minmax(0, 67fr) minmax(20rem, 33fr);
  }

  .section-intro {
    grid-template-columns: 0.65fr 1.5fr;
  }

  .section-intro > p:last-child {
    grid-column: 2;
  }

  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .project:nth-child(2) img,
  .project:nth-child(4) img,
  .project img {
    height: min(60vw, 42rem);
  }
}

@media (max-width: 52rem) {
  :root {
    --page: calc(100vw - 2rem);
    --section-pad: clamp(4.5rem, 16vw, 6.5rem);
  }

  .site-header {
    position: absolute;
    width: 100%;
    padding: 1.25rem 1rem;
  }

  .hero {
    display: block;
  }

  .hero-visual {
    min-height: 42rem;
  }

  .hero-copy {
    top: auto;
    bottom: 8.5rem;
    left: 1rem;
    width: calc(100% - 2rem);
    transform: none;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .facts-line {
    right: 1rem;
    bottom: 1.25rem;
    left: 1rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-line > div {
    min-height: 3.5rem;
    padding: 0.65rem 0.7rem 0 0;
  }

  .facts-line > div:not(:first-child) {
    padding-left: 0.7rem;
  }

  .facts-line > div:nth-child(2) {
    border-right: 0;
  }

  .facts-line > div:nth-child(n + 3) {
    display: none;
  }

  .call-rail {
    min-height: 29rem;
    padding: 2rem 1rem 1rem;
  }

  .call-main {
    margin: 3.5rem 0;
    transform: none;
  }

  .phone-link {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .rail-register {
    min-height: 0;
  }

  .rail-stamp {
    display: none;
  }

  .section-intro,
  .guarantees,
  .calculator,
  .process,
  .faq {
    display: block;
  }

  .section-intro > * + * {
    margin-top: 1.4rem;
  }

  .section-intro > p:last-child {
    max-width: 35rem;
  }

  .project-list {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .project:nth-child(2) img,
  .project:nth-child(4) img,
  .project img {
    height: 32rem;
  }

  .guarantee-heading {
    margin-bottom: 3rem;
  }

  .guarantee-heading h2 {
    max-width: 13ch;
  }

  .ledger article {
    grid-template-columns: 2.2rem 1fr;
  }

  .ledger article p {
    grid-column: 2;
  }

  .calc-copy,
  .calc-panel {
    padding: var(--section-pad) 1rem;
  }

  .calc-copy h2 {
    max-width: 12ch;
  }

  .calc-panel {
    gap: 2rem;
  }

  .rate-control > div,
  .option-control > div {
    grid-template-columns: 1fr;
  }

  .calc-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-heading,
  .faq > div:first-child {
    margin-bottom: 3rem;
  }

  .final-phone {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  footer {
    flex-direction: column;
    padding-bottom: 7rem;
  }

  .mobile-call {
    position: fixed;
    z-index: 30;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.25rem;
    padding: 0.8rem 1rem;
    color: var(--white);
    background: var(--navy);
    text-decoration: none;
  }

  .mobile-call span {
    font-size: 0.78rem;
  }

  .mobile-call strong {
    font-size: 1rem;
    font-weight: 500;
  }
}

@media (max-width: 24rem) {
  .brand {
    min-height: 3.75rem;
  }

  .brand-logo {
    width: 3.75rem;
  }

  .hero-visual {
    min-height: 39rem;
  }

  .hero-copy > p:last-child {
    font-size: 0.92rem;
  }

  .mobile-call strong {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
