@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --black: #090a0b;
  --panel: #111315;
  --panel-soft: #171a1d;
  --cream: #ece7dd;
  --acid: #eaff4f;
  --blue: #2a6fff;
  --line: rgba(255,255,255,.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; }

.estimate-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 3px;
}

.estimate-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acid);
}

.estimate-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 88px;
  padding: 0 clamp(20px,4vw,64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.estimate-logo {
  width: min(220px,45vw);
}

.estimate-logo img {
  width: auto;
  max-height: 45px;
}

.estimate-header nav {
  display: flex;
  gap: 25px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.estimate-intro {
  min-height: 86svh;
  padding: 140px clamp(22px,5vw,78px) 80px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(45px,8vw,120px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(42,111,255,.34), transparent 30%),
    linear-gradient(135deg, #111620, #090a0b 65%);
}

.estimate-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%,
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% calc(100% / 5);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

.intro-copy {
  position: relative;
  z-index: 3;
}

.intro-copy h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(66px,9vw,150px);
  line-height: .82;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.intro-copy h1 span {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.intro-text {
  max-width: 560px;
  margin: 34px 0 0;
  font-size: clamp(17px,1.5vw,24px);
  line-height: 1.5;
  color: #c9ccce;
}

.intro-visual {
  position: relative;
  z-index: 2;
  height: min(64vh,650px);
}

.photo-card {
  position: absolute;
  padding: 10px 10px 38px;
  background: #f2ecdf;
  box-shadow: 0 35px 90px rgba(0,0,0,.5);
}

.photo-card img {
  height: 100%;
  object-fit: cover;
}

.photo-card-a {
  width: 72%;
  height: 78%;
  left: 0;
  top: 6%;
  transform: rotate(-5deg);
}

.photo-card-b {
  width: 48%;
  height: 58%;
  right: 1%;
  bottom: 2%;
  transform: rotate(7deg);
}

.estimate-stamp {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 5%;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(8deg);
  background: rgba(9,10,11,.72);
  backdrop-filter: blur(10px);
}

.estimate-stamp span,
.estimate-stamp strong {
  display: block;
  font-family: "DM Mono", monospace;
  letter-spacing: .12em;
}

.estimate-stamp span {
  font-size: 8px;
}

.estimate-stamp strong {
  margin-top: 7px;
  font-size: 14px;
}

.estimator-shell {
  padding: 120px clamp(22px,5vw,78px);
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr);
  gap: clamp(45px,6vw,90px);
  align-items: start;
  background: var(--cream);
  color: var(--black);
}

.estimator-form {
  min-width: 0;
}

.estimator-step {
  padding: 0 0 78px;
  margin-bottom: 78px;
  border-bottom: 1px solid rgba(0,0,0,.22);
}

.estimator-step:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.step-heading {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 22px;
  margin-bottom: 34px;
}

.step-heading > span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .15em;
  color: #74746d;
}

.step-heading p {
  margin: 0 0 5px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #74746d;
}

.step-heading h2 {
  margin: 0;
  font-size: clamp(30px,4vw,58px);
  line-height: .95;
  letter-spacing: -.045em;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
}

.size-option {
  position: relative;
  min-height: 205px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.22);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.size-option:hover {
  transform: translateY(-4px);
}

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

.size-option:has(input:checked) {
  background: var(--black);
  color: #fff;
}

.size-option .option-number {
  margin-bottom: auto;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.size-option strong {
  font-size: 18px;
}

.size-option > small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  color: #77736c;
}

.size-option:has(input:checked) > small { color: #bfc2c4; }

.size-option b {
  margin-top: 8px;
  font-size: 32px;
  letter-spacing: -.04em;
}

.size-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #686862;
}

.addon-list {
  border-top: 1px solid rgba(0,0,0,.22);
}

.addon-row {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.22);
  cursor: pointer;
}

.addon-row input {
  position: absolute;
  opacity: 0;
}

.check-ui {
  width: 26px;
  height: 26px;
  border: 1px solid #202224;
  display: grid;
  place-content: center;
}

.addon-row input:checked + .check-ui {
  background: var(--black);
}

.addon-row input:checked + .check-ui::after {
  content: "✓";
  color: var(--acid);
  font-size: 15px;
}

.addon-copy strong,
.addon-copy small {
  display: block;
}

.addon-copy strong {
  margin-bottom: 3px;
  font-size: 18px;
}

.addon-copy small {
  color: #73736c;
  line-height: 1.4;
}

.addon-row > b {
  font-size: 20px;
}

.quantity-grid {
  display: grid;
  gap: 12px;
}

.quantity-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,.22);
}

.quantity-card strong,
.quantity-card small {
  display: block;
}

.quantity-card strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.quantity-card small {
  color: #73736c;
}

.quantity-control {
  display: grid;
  grid-template-columns: 40px 48px 40px;
  align-items: center;
  border: 1px solid rgba(0,0,0,.28);
}

.quantity-control button {
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.quantity-control output {
  text-align: center;
  font-family: "DM Mono", monospace;
  font-size: 13px;
}

.estimate-summary {
  position: sticky;
  top: 35px;
}

.summary-inner {
  padding: 30px;
  background: var(--black);
  color: #fff;
  box-shadow: 0 30px 65px rgba(0,0,0,.2);
}

.summary-total {
  padding-bottom: 26px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.summary-total span {
  display: block;
  margin-bottom: 8px;
  color: #aeb1b3;
  font-size: 13px;
}

.summary-total strong {
  display: block;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(58px,7vw,96px);
  line-height: .9;
  letter-spacing: -.07em;
}

.summary-lines {
  display: grid;
  gap: 13px;
  margin-bottom: 28px;
}

.summary-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  font-size: 14px;
  color: #c1c4c6;
}

.summary-line strong {
  color: #fff;
  font-weight: 500;
}

.summary-actions {
  display: grid;
  gap: 9px;
}

.primary-action,
.secondary-action {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-action {
  background: var(--acid);
  color: var(--black);
}

.secondary-action {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}

.estimate-disclaimer {
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #878b8f;
}

.estimate-contact {
  padding: 120px clamp(22px,5vw,78px);
  background: var(--blue);
  color: #fff;
}

.estimate-contact h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(48px,7vw,112px);
  line-height: .86;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.estimate-contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 55px;
}

.estimate-contact a {
  font-family: "DM Mono", monospace;
  font-size: clamp(14px,1.3vw,19px);
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 5px;
}

footer {
  padding: 28px clamp(22px,5vw,78px);
  display: flex;
  justify-content: space-between;
  gap: 22px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #898d90;
}

.copy-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%,30px);
  padding: 12px 16px;
  background: var(--acid);
  color: var(--black);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}

@media (max-width: 1100px) and (min-width: 701px) {
  .size-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
  .estimate-intro {
    grid-template-columns: 1fr;
    padding-top: 135px;
  }

  .intro-visual {
    height: 500px;
  }

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

  .estimate-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 700px) {
  .estimate-header {
    height: 72px;
  }

  .estimate-header nav a:first-child {
    display: none;
  }

  .estimate-intro {
    min-height: auto;
    padding: 115px 18px 70px;
  }

  .intro-copy h1 {
    font-size: clamp(58px,18vw,92px);
  }

  .intro-visual {
    height: 390px;
    margin-top: 10px;
  }

  .photo-card-a {
    width: 77%;
    height: 72%;
  }

  .photo-card-b {
    width: 52%;
    height: 54%;
  }

  .estimate-stamp {
    width: 112px;
  }

  .estimator-shell,
  .estimate-contact {
    padding: 80px 18px;
  }

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

  .size-option {
    min-height: 135px;
  }

  .quantity-card {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    width: 128px;
  }

  .summary-inner {
    padding: 24px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .estimate-logo {
    width: 180px;
  }

  .estimate-header nav {
    font-size: 9px;
  }

  .intro-visual {
    height: 330px;
  }

  .step-heading {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .addon-row {
    grid-template-columns: 26px 1fr;
  }

  .addon-row > b {
    grid-column: 2;
    margin-top: -8px;
  }
}
