:root {
  --ink: #13241e;
  --ink-soft: #3e4a45;
  --green: #183229;
  --green-light: #26493d;
  --cream: #f4efe5;
  --paper: #fffdf8;
  --sand: #e5d8c2;
  --clay: #bd754d;
  --gold: #d6ab6f;
  --line: rgba(19, 36, 30, 0.14);
  --white-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(25, 36, 31, 0.12);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7.1vw, 6.7rem);
  font-weight: 500;
}

h1 em {
  display: block;
  color: var(--clay);
  font-weight: inherit;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--green);
  transform: translateY(-150%);
}

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

.eyebrow {
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  min-height: 56px;
  padding: 15px 24px;
  border: 0;
  border-radius: 2px;
  color: white;
  background: var(--green);
  font-weight: 750;
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  color: white;
  background: var(--clay);
  box-shadow: 0 12px 30px rgba(25, 50, 41, 0.18);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(189, 117, 77, 0.45);
  outline-offset: 3px;
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.text-link::after {
  content: "↗";
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 90px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading > p {
  max-width: 480px;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading.light {
  color: white;
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.7);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(20, 36, 30, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 31px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 680;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  min-height: calc(100svh - 82px);
  padding: 70px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 2% 40%, rgba(214, 171, 111, 0.18), transparent 23%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.72fr);
  gap: 70px;
  align-items: center;
}

.hero-copy {
  padding: 32px 0;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.27rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 44px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.check {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green-light);
  font-size: 0.7rem;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.floor-pattern {
  position: absolute;
  inset: 0 0 0 40px;
  overflow: hidden;
  background-color: #b87a4e;
  background-image:
    linear-gradient(
      45deg,
      transparent 45%,
      rgba(57, 31, 16, 0.28) 46%,
      rgba(57, 31, 16, 0.28) 48%,
      transparent 49%
    ),
    linear-gradient(
      -45deg,
      transparent 45%,
      rgba(57, 31, 16, 0.25) 46%,
      rgba(57, 31, 16, 0.25) 48%,
      transparent 49%
    ),
    linear-gradient(90deg, #d6a16f 0%, #b66f43 48%, #ca8959 100%);
  background-size:
    74px 74px,
    74px 74px,
    100% 100%;
  border-radius: 200px 200px 10px 10px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.floor-pattern::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(19, 36, 30, 0.2), transparent 50%);
  content: "";
}

.floor-pattern::after {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 160px 160px 4px 4px;
  content: "";
}

.hero-note {
  position: absolute;
  bottom: 94px;
  left: 0;
  display: flex;
  align-items: center;
  width: min(340px, 74%);
  padding: 20px;
  color: white;
  background: var(--green);
  box-shadow: 0 18px 45px rgba(19, 36, 30, 0.25);
}

.hero-note-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin-right: 14px;
  place-items: center;
  border: 1px solid var(--white-line);
  color: var(--gold);
  font-size: 1.3rem;
}

.hero-note strong {
  display: block;
  margin-bottom: 2px;
}

.hero-note span:last-child {
  font-size: 0.85rem;
}

.measure-card {
  position: absolute;
  right: -22px;
  bottom: 28px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 14px;
  width: 190px;
  padding: 22px;
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.measure-card span {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
}

.measure-card strong {
  font-size: 0.82rem;
}

.measure-card i {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
}

.proof-strip {
  color: white;
  background: var(--green);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 116px;
  padding: 27px 26px;
  border-left: 1px solid var(--white-line);
}

.proof-grid div:last-child {
  border-right: 1px solid var(--white-line);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.services {
  background:
    linear-gradient(rgba(19, 36, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 36, 30, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 370px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.86);
  transition:
    color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.service-card:hover {
  z-index: 1;
  color: white;
  background: var(--green);
  transform: translateY(-5px);
}

.service-number {
  color: var(--clay);
  font-size: 0.7rem;
  font-weight: 800;
}

.service-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 52px 0 28px;
}

.service-icon i {
  position: absolute;
  display: block;
  border: 1.5px solid currentColor;
}

.planks-icon i {
  width: 20px;
  height: 82px;
  transform: rotate(35deg);
}

.planks-icon i:nth-child(1) {
  left: 5px;
  top: 1px;
}

.planks-icon i:nth-child(2) {
  left: 34px;
  top: 1px;
}

.planks-icon i:nth-child(3) {
  left: 63px;
  top: 1px;
}

.tile-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  transform: rotate(12deg);
}

.tile-icon i {
  position: static;
}

.wood-icon i {
  width: 62px;
  height: 24px;
  transform: skewY(-15deg);
}

.wood-icon i:nth-child(1) {
  top: 2px;
  left: 1px;
}

.wood-icon i:nth-child(2) {
  top: 31px;
  left: 13px;
}

.wood-icon i:nth-child(3) {
  top: 60px;
  left: 25px;
}

.roll-icon i:first-child {
  inset: 17px 8px 3px 28px;
  border-radius: 40px 40px 5px 5px;
}

.roll-icon i:last-child {
  top: 4px;
  left: 4px;
  width: 68px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
}

.service-card:hover .roll-icon i:last-child {
  background: var(--green);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.prep-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
  padding: 38px 42px;
  color: white;
  background: var(--clay);
}

.prep-banner > div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.prep-icon {
  display: grid;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.55rem;
}

.prep-banner .eyebrow {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.prep-banner h3,
.prep-banner p {
  margin-bottom: 0;
}

.prep-banner > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.standards-section {
  padding: 100px 0;
  color: white;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--green);
  background-size: 44px 44px;
}

.standards-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.standards-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
}

.standards-copy > p:last-child {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

.standards-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid var(--white-line);
}

.standards-list article > span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
}

.standards-list h3 {
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.standards-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.work-section {
  position: relative;
  overflow: hidden;
  background: var(--green);
}

.work-section::before {
  position: absolute;
  top: -170px;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 360px 360px;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #6f4933;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-large {
  grid-row: 1 / 3;
}

.project-wide {
  display: none;
}

.project-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 28px 24px;
  color: white;
  background: linear-gradient(transparent, rgba(13, 28, 23, 0.88));
}

.project-overlay span {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 7px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.project-overlay p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.process-section {
  background: var(--cream);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  position: relative;
  padding: 34px 32px 0 0;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: -5px;
  right: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.process-list > li > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.process-list h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.quote-section {
  padding-top: 120px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 171, 111, 0.14), transparent 24%),
    var(--paper);
}

.quote-intro {
  max-width: 740px;
  margin: 0 auto 60px;
  text-align: center;
}

.quote-intro h2 {
  margin-bottom: 24px;
}

.quote-intro > p:last-child {
  max-width: 650px;
  margin: auto;
  color: var(--ink-soft);
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.75fr);
  align-items: start;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.quote-form {
  padding: 10px 54px 50px;
}

.form-section {
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.form-section-title {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.form-section-title > span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
}

.form-section-title h3 {
  margin: 1px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.form-section-title p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field {
  display: block;
}

.field > span:first-child,
.choice-field legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 108px;
  padding: 13px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(189, 117, 77, 0.12);
}

.input-suffix {
  position: relative;
  display: block;
}

.input-suffix input {
  padding-right: 50px;
}

.input-suffix b {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  transform: translateY(-50%);
}

.choice-field {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.segmented-control label {
  position: relative;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: flex;
  min-height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 0.77rem;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.segmented-control strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.9rem;
}

.segmented-control input:checked + span {
  border-color: var(--green);
  color: rgba(255, 255, 255, 0.68);
  background: var(--green);
}

.segmented-control input:checked + span strong {
  color: white;
}

.segmented-control input:focus-visible + span {
  outline: 3px solid rgba(189, 117, 77, 0.45);
  outline-offset: 2px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-option {
  position: relative;
  display: flex;
  min-height: 82px;
  padding: 15px;
  border: 1px solid var(--line);
  align-items: center;
  gap: 13px;
  background: var(--paper);
  cursor: pointer;
}

.check-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(19, 36, 30, 0.3);
}

.check-option input:checked + .custom-check {
  border-color: var(--clay);
  background: var(--clay);
}

.check-option input:checked + .custom-check::after {
  color: white;
  content: "✓";
  font-size: 0.76rem;
  font-weight: 900;
}

.check-option input:focus-visible + .custom-check {
  outline: 3px solid rgba(189, 117, 77, 0.45);
  outline-offset: 3px;
}

.check-option strong,
.check-option small {
  display: block;
}

.check-option strong {
  font-size: 0.83rem;
}

.check-option small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.35;
}

.extras-grid {
  margin-top: 20px;
}

.calculate-button {
  width: 100%;
  margin-top: 30px;
}

.form-disclaimer {
  margin: 14px 10px 0;
  color: #68716d;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.estimate-panel {
  position: sticky;
  top: 104px;
  min-height: 620px;
  margin: 24px;
  padding: 40px 34px;
  color: white;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--green);
  background-size: 32px 32px;
}

.estimate-empty {
  display: flex;
  min-height: 520px;
  padding: 30px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.estimate-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.estimate-empty h3 {
  max-width: 250px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.estimate-empty p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.82rem;
}

.estimate-result .eyebrow {
  color: var(--gold);
}

.estimate-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.estimate-price i {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
}

.estimate-vat {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.69rem;
}

.estimate-summary {
  border-top: 1px solid var(--white-line);
}

.estimate-summary div {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--white-line);
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.77rem;
}

.estimate-summary span {
  color: rgba(255, 255, 255, 0.55);
}

.estimate-summary strong {
  text-align: right;
}

.breakdown {
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.breakdown summary {
  color: white;
  font-weight: 750;
  cursor: pointer;
}

.terms-consent {
  display: flex;
  margin: 20px 0 16px;
  padding: 14px;
  border: 1px solid var(--white-line);
  align-items: flex-start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  line-height: 1.5;
  cursor: pointer;
}

.terms-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.terms-consent .custom-check {
  border-color: rgba(255, 255, 255, 0.45);
}

.terms-consent input:checked + .custom-check {
  border-color: var(--gold);
  background: var(--gold);
}

.terms-consent input:checked + .custom-check::after {
  color: var(--green);
  content: "✓";
  font-size: 0.76rem;
  font-weight: 900;
}

.terms-consent input:focus-visible + .custom-check {
  outline: 3px solid rgba(214, 171, 111, 0.45);
  outline-offset: 3px;
}

.terms-consent a {
  color: white;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#breakdown-list {
  margin-top: 12px;
}

#breakdown-list div {
  display: flex;
  padding: 4px 0;
  justify-content: space-between;
  gap: 12px;
}

.button-light {
  width: 100%;
  color: var(--green);
  background: var(--cream);
}

.button-light:hover {
  color: white;
}

.copy-button {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.estimate-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.63rem;
  line-height: 1.45;
  text-align: center;
}

.submission-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.submission-status.success {
  color: #a9d7b6;
}

.submission-status.error {
  color: #f1b6a7;
}

.faq-section {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.faq-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.faq-heading > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

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

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

.accordion summary {
  position: relative;
  padding: 29px 50px 29px 0;
  font-size: 1.02rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

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

.accordion summary::after {
  position: absolute;
  top: 26px;
  right: 5px;
  color: var(--clay);
  content: "+";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details p {
  max-width: 650px;
  padding: 0 50px 28px 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-section {
  padding: 84px 0;
  background: var(--paper);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 70px;
  align-items: center;
  overflow: hidden;
  padding: 64px 70px;
  color: white;
  background: var(--clay);
}

.contact-card::after {
  position: absolute;
  top: -60%;
  right: -8%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.contact-copy h2 {
  max-width: 680px;
  margin-bottom: 22px;
}

.contact-copy > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-link > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-link small,
.contact-link strong {
  display: block;
}

.contact-link small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
}

.contact-link strong {
  font-size: 0.92rem;
}

.site-footer {
  padding: 68px 0 28px;
  color: white;
  background: #0e201a;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 50px;
}

.footer-brand .brand-copy span {
  color: rgba(255, 255, 255, 0.55);
}

.footer-main > p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer-main nav {
  display: grid;
  justify-content: end;
  gap: 8px;
  font-size: 0.86rem;
  text-align: right;
}

.footer-main nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid var(--white-line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-quote-bar {
  display: none;
}

.quick-contact {
  position: fixed;
  z-index: 84;
  right: 24px;
  bottom: 24px;
  display: flex;
  min-height: 52px;
  padding: 8px 17px 8px 8px;
  border: 0;
  border-radius: 30px;
  align-items: center;
  gap: 9px;
  color: white;
  background: var(--clay);
  box-shadow: 0 15px 40px rgba(19, 36, 30, 0.25);
  font-size: 0.78rem;
  font-weight: 800;
}

.quick-contact > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--paper);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.quick-contact[aria-expanded="true"] > span {
  transform: rotate(45deg);
}

.quick-contact-panel {
  position: fixed;
  z-index: 83;
  right: 24px;
  bottom: 86px;
  width: min(300px, calc(100% - 30px));
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-contact-panel a {
  display: flex;
  min-height: 51px;
  padding: 10px 12px;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 750;
}

.quick-contact-panel a:hover {
  color: white;
  background: var(--green);
}

.quick-contact-panel a span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
}

.conversion-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
}

.conversion-modal[hidden] {
  display: none;
}

.conversion-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 20, 0.68);
  backdrop-filter: blur(4px);
}

.conversion-card {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  padding: 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 171, 111, 0.2), transparent 35%),
    var(--paper);
  box-shadow: 0 35px 100px rgba(8, 20, 16, 0.35);
}

.conversion-card::after {
  position: absolute;
  right: -85px;
  bottom: -125px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(189, 117, 77, 0.25);
  border-radius: 50%;
  content: "";
}

.conversion-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--ink);
  background: transparent;
  font-size: 1.5rem;
}

.conversion-badge {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  place-items: center;
  color: var(--gold);
  background: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.conversion-card h2 {
  max-width: 490px;
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 6vw, 3.5rem);
}

.conversion-card > p:not(.eyebrow) {
  max-width: 490px;
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.conversion-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 25px;
}

.conversion-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 25px;
  color: #727b77;
  font-size: 0.68rem;
}

.project-card.admin-project {
  min-height: 330px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 35px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 330px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .process-list li:nth-child(2)::after {
    display: none;
  }

  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .estimate-panel {
    position: relative;
    top: auto;
    min-height: 0;
    margin-top: 0;
  }

  .estimate-empty {
    min-height: 300px;
  }

  .contact-card {
    padding: 55px 45px;
  }
}

@media (max-width: 840px) {
  :root {
    --container: min(100% - 32px, 720px);
  }

  .section {
    padding: 88px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    padding: 26px 24px 35px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--paper);
    box-shadow: 0 18px 40px rgba(20, 36, 30, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    font-size: 1.05rem;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 38px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-visual {
    min-height: 560px;
  }

  .floor-pattern {
    left: 10%;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid div:nth-child(2) {
    border-right: 1px solid var(--white-line);
  }

  .proof-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--white-line);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .prep-banner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px 300px;
  }

  .project-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project-card:not(.project-large) {
    grid-row: 2;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-heading {
    position: static;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  :root {
    --container: calc(100% - 28px);
  }

  body {
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.65rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11.5vw, 3.3rem);
  }

  .section {
    padding: 72px 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1.22rem;
  }

  .brand-copy span {
    font-size: 0.59rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .trust-list {
    gap: 13px;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 430px;
  }

  .floor-pattern {
    inset: 0 0 0 22px;
    border-radius: 130px 130px 8px 8px;
  }

  .hero-note {
    bottom: 64px;
    width: 82%;
    padding: 14px;
  }

  .hero-note-icon {
    width: 40px;
    height: 40px;
  }

  .measure-card {
    right: -4px;
    bottom: 6px;
    width: 156px;
    padding: 15px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div,
  .proof-grid div:nth-child(2),
  .proof-grid div:last-child {
    min-height: 86px;
    padding: 19px 18px;
    border-right: 1px solid var(--white-line);
    border-bottom: 1px solid var(--white-line);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-icon {
    margin: 42px 0 25px;
  }

  .prep-banner {
    padding: 30px 24px;
  }

  .prep-banner > div {
    align-items: flex-start;
  }

  .prep-icon {
    width: 48px;
    height: 48px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 390px);
  }

  .project-large,
  .project-card:not(.project-large) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  .process-list li::after {
    display: none;
  }

  .process-list > li > span {
    margin-bottom: 0;
  }

  .quote-section {
    padding-top: 72px;
  }

  .calculator-shell {
    width: calc(100% + 28px);
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
  }

  .quote-form {
    padding: 0 20px 35px;
  }

  .form-section {
    padding: 38px 0;
  }

  .field-grid,
  .option-grid,
  .segmented-control {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .estimate-panel {
    margin: 0 12px 12px;
    padding: 32px 24px;
  }

  .estimate-price {
    font-size: 1.7rem;
  }

  .accordion summary {
    padding-right: 40px;
  }

  .accordion details p {
    padding-right: 20px;
  }

  .contact-section {
    padding: 14px 0;
  }

  .contact-card {
    width: 100%;
    padding: 48px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main nav {
    justify-content: start;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-quote-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 9px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--green);
  }

  .mobile-quote-bar a {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: white;
    font-size: 0.83rem;
    font-weight: 750;
  }

  .quick-contact,
  .quick-contact-panel {
    display: none;
  }

  .conversion-card {
    padding: 44px 24px 32px;
  }

  .conversion-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .conversion-actions .text-link {
    align-self: flex-start;
  }
}
