:root {
  color-scheme: light;
  --black: #050505;
  --ink: #141414;
  --muted: #616161;
  --line: #dedede;
  --paper: #f7f7f2;
  --white: #ffffff;
  --yellow: #ffd22e;
  --orange: #f38b1d;
  --amber: #ffb000;
  --green: #14785a;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--black);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  height: 50px;
}

.brand img {
  display: block;
  width: auto;
  height: 50px;
}

.eyebrow,
h1,
h2,
legend,
.quote-panel-header strong {
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 3vw, 32px);
  color: rgba(5, 5, 5, 0.72);
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--orange);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(5, 5, 5, 0.24);
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.download-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.download-quote:hover {
  background: var(--black);
  color: var(--yellow);
}

.download-quote:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(640px, calc(82vh - 76px));
  overflow: hidden;
  background: var(--black);
  color: var(--black);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
}

h1,
h2,
legend,
.dropzone strong,
.price-block strong,
.quote-meta strong,
.insight-grid strong,
.primary-action,
.secondary-action,
.email-quote-button,
.quote-panel-header strong,
.quote-lines dd,
button {
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
}

button,
.icon-button {
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

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

h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(50px, 6.8vw, 100px);
  line-height: 0.92;
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  font-weight: 400;
}

.hero-copy p:not(.eyebrow) {
  max-width: 420px;
  color: rgba(5, 5, 5, 0.84);
  font-size: 19px;
  font-weight: 400;
}

.hero-actions,
.quote-panel .full {
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 38px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.email-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.email-quote-button:hover {
  background: var(--yellow);
}

.email-quote-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

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

.secondary-action {
  margin-left: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(5, 5, 5, 0.38);
  color: var(--black);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.full {
  width: 100%;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.status-strip div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  padding: 18px clamp(28px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.status-strip div:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: clamp(10px, 2vw, 22px);
  color: var(--yellow);
  font-size: 18px;
  line-height: 1;
}

.status-strip strong {
  color: var(--yellow);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
}

.status-strip span {
  max-width: calc(100% - 48px);
  padding-right: 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(18px, 4vw, 44px);
  width: 100%;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px) max(18px, calc((100vw - 1380px) / 2));
  align-items: start;
  background: linear-gradient(135deg, #ffd22e 0%, #ffb000 46%, #f38b1d 100%);
}

.quote-form,
.quote-panel,
.request-form,
dialog {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-form {
  padding: clamp(18px, 4vw, 40px);
}

.quote-step {
  animation: panelFade 180ms ease-out;
}

.quote-step[hidden] {
  display: none;
}

.section-heading {
  margin-bottom: 26px;
}

.dropzone {
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-bottom: 28px;
  padding: 28px;
  border: 2px dashed #adadad;
  border-radius: var(--radius);
  background: #fbfbf7;
  text-align: center;
  cursor: pointer;
}

.dropzone:hover,
.dropzone.dragging {
  border-color: var(--orange);
  background: #fff7dd;
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  background: var(--black);
  color: var(--yellow);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 500;
}

.dropzone strong {
  display: block;
  font-size: 22px;
}

.dropzone small {
  display: block;
  max-width: 520px;
  margin-top: 8px;
  color: var(--muted);
}

.cad-analysis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: -6px 0 28px;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  border-left: 6px solid var(--yellow);
}

.cad-analysis[hidden] {
  display: none;
}

.cad-analysis div {
  min-width: 0;
}

.cad-analysis span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.cad-analysis strong {
  display: block;
  margin-top: 4px;
  color: var(--yellow);
  font-size: 18px;
}

.cad-analysis p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.single-part-field.is-hidden {
  display: none;
}

.parts-list {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.parts-list[hidden] {
  display: none;
}

.parts-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--black);
  color: var(--white);
}

.parts-list-head span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
}

.parts-list-head strong {
  color: var(--yellow);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}

.parts-list-body {
  display: grid;
}

.multi-part-mode .shared-config-field,
.multi-part-mode .option-row {
  display: none;
}

.part-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) minmax(82px, 0.35fr) minmax(170px, 0.9fr) minmax(96px, 0.45fr) auto 44px;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.part-row:first-child {
  border-top: 0;
}

.part-row label,
.part-spec {
  min-width: 0;
}

.part-row input {
  margin-top: 6px;
}

.part-spec span,
.part-total span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.part-spec strong,
.part-total strong {
  display: block;
  margin-top: 6px;
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.part-spec small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.part-total {
  text-align: right;
}

.part-config-toggle {
  min-height: 44px;
  padding: 0 18px;
  align-self: end;
}

.part-delete {
  align-self: end;
  width: 44px;
  height: 44px;
  color: var(--black);
  border-color: var(--line);
  font-size: 24px;
}

.part-delete:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--yellow);
}

.part-config {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf7;
}

.part-config[hidden] {
  display: none;
}

.part-options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.part-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.part-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--black);
}

label,
legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #bdbdbd;
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
}

.file-picker:focus-within {
  outline: 3px solid rgba(255, 210, 46, 0.5);
  border-color: var(--black);
}

.file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.file-picker-name {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfq-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
  padding: 16px;
  border-left: 5px solid var(--yellow);
  background: var(--black);
  color: var(--white);
}

.rfq-summary span,
.rfq-summary small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
}

.rfq-summary strong {
  color: var(--yellow);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 400;
}

.notes-field {
  display: block;
  margin-top: 18px;
}

.rfq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.form-message {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.form-message.is-error {
  color: #9a2600;
}

.form-message.is-success {
  color: var(--green);
}

.form-message.is-delivered {
  position: relative;
  min-height: 0;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--black);
  border-left: 5px solid var(--yellow);
  border-radius: 8px;
  background: #fff8d8;
  color: var(--black);
  font-size: 14px;
  line-height: 1.45;
}

.form-message.is-delivered::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 700;
}

button:disabled,
.primary-action:disabled,
.secondary-action:disabled {
  cursor: progress;
  opacity: 0.58;
}

.rfq-success {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  min-height: 430px;
}

.success-note {
  display: grid;
  grid-template-columns: clamp(68px, 9vw, 96px) 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  width: min(100%, 760px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-left: 7px solid var(--yellow);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf5 0%, #ffffff 58%, rgba(255, 210, 46, 0.22) 100%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.success-note img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.success-note .eyebrow {
  margin-bottom: 8px;
}

.success-note h2 {
  max-width: 520px;
  margin-bottom: 10px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

.success-note p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.72);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
}

.success-download {
  justify-self: start;
  margin-top: 0;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

input,
select {
  height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 210, 46, 0.5);
  border-color: var(--black);
}

fieldset {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
}

.option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.option-row legend {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--black);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--black);
  border-radius: 6px;
  overflow: hidden;
}

.segmented label {
  min-width: 0;
}

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

.segmented span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 10px;
  border-right: 1px solid var(--black);
  background: var(--white);
  text-align: center;
  cursor: pointer;
}

.segmented label:last-child span {
  border-right: 0;
}

.segmented input:checked + span {
  background: var(--black);
  color: var(--yellow);
}

.quote-panel {
  position: sticky;
  top: 100px;
  padding: 26px;
}

.quote-panel-header,
.quote-lines div,
.quote-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.quote-panel-header {
  margin-bottom: 22px;
}

.quote-panel-header .eyebrow {
  margin: 0;
}

.quote-panel-header strong {
  color: var(--muted);
  font-size: 12px;
}

.price-block {
  padding: 24px 0 20px;
  border-top: 5px solid var(--yellow);
  border-bottom: 1px solid var(--line);
}

.price-block span,
.quote-meta span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.price-block strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.95;
  font-weight: 500;
}

.price-block small {
  color: var(--green);
  font-weight: 500;
}

.quote-lines {
  margin: 18px 0;
}

.quote-lines div {
  min-height: 38px;
  border-bottom: 1px solid var(--line);
}

.quote-lines dt {
  color: var(--muted);
  font-weight: 400;
}

.quote-lines dd {
  margin: 0;
  font-weight: 500;
}

.quote-meta {
  align-items: stretch;
}

.quote-meta div {
  flex: 1;
  min-height: 104px;
  padding: 22px;
  background: var(--paper);
  border-radius: 6px;
}

.quote-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.1;
}

.quote-panel .email-quote-button {
  width: 100%;
  margin-top: 18px;
}

.quote-panel .email-quote-button + .full {
  margin-top: 12px;
}

.insight-band,
.contact-band,
.request-band {
  padding: clamp(34px, 6vw, 80px) clamp(18px, 5vw, 72px);
}

.insight-band {
  background: var(--black);
  color: var(--white);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.18);
}

.insight-grid article {
  min-height: 180px;
  padding: 28px;
  background: var(--black);
}

.insight-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 20px;
}

.insight-grid p,
.request-band p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
  min-height: 640px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--amber) 58%, var(--orange) 100%);
  color: var(--black);
}

.contact-copy h2 {
  margin-bottom: clamp(24px, 3.4vw, 40px);
  font-size: clamp(50px, 6.7vw, 84px);
  line-height: 0.92;
}

.contact-copy p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(5, 5, 5, 0.88);
  font-size: clamp(15px, 1.28vw, 18px);
  font-weight: 400;
}

.contact-methods {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(36px, 4.4vw, 56px);
  font-style: normal;
}

.contact-methods a {
  width: fit-content;
  color: var(--black);
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-size: clamp(29px, 3.25vw, 42px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.contact-methods a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.contact-action {
  align-self: end;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.8vw, 30px);
  width: min(100%, 430px);
  margin-bottom: clamp(88px, 10vw, 150px);
}

.contact-upload-icon {
  display: block;
  width: clamp(76px, 8vw, 118px);
  aspect-ratio: 1;
  object-fit: contain;
}

.contact-cta {
  width: 100%;
  min-height: 78px;
  font-size: clamp(17px, 1.45vw, 20px);
}

.request-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(90deg, #111 0%, #1f1f1f 52%, #ffb000 52%, #ffd22e 100%);
  color: var(--white);
}

.request-form {
  padding: 26px;
  color: var(--ink);
}

.request-form label + label {
  display: block;
  margin-top: 18px;
}

.request-form button {
  margin-top: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(36px, 8vw, 120px);
  min-height: 238px;
  padding: clamp(54px, 5vw, 72px) clamp(18px, 5vw, 72px);
  background: #f4f4f4;
  color: var(--black);
  border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.site-footer h2,
.site-footer h3 {
  margin: 0;
  font-family: "Agdasima", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer h2 {
  font-size: clamp(34px, 3.5vw, 48px);
}

.site-footer h3 {
  font-size: clamp(22px, 2.25vw, 32px);
}

.site-footer p {
  margin: clamp(28px, 3.2vw, 44px) 0 0;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-location {
  justify-self: end;
  min-width: min(36vw, 260px);
  text-align: right;
}

dialog {
  width: min(720px, calc(100% - 32px));
  padding: 28px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

dialog .close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.email-quote-dialog {
  max-width: 560px;
}

.email-quote-dialog h2 {
  margin-bottom: 12px;
  padding-right: 42px;
}

.dialog-intro {
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--muted);
}

.email-quote-dialog label {
  display: block;
}

.email-quote-check {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-weight: 500;
}

.email-quote-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--black);
}

.email-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.email-quote-actions .secondary-action {
  min-height: 58px;
  margin-left: 0;
  background: var(--white);
  border-color: var(--black);
  color: var(--black);
}

pre {
  max-height: 440px;
  overflow: auto;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  white-space: pre-wrap;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .status-strip,
  .workspace,
  .insight-grid,
  .contact-band,
  .site-footer,
  .request-band {
    grid-template-columns: 1fr;
  }

  .status-strip div:not(:last-child)::after {
    content: "↓";
    right: 22px;
  }

  .quote-panel {
    position: static;
  }

  .request-band {
    background: var(--black);
  }

  .contact-action {
    justify-self: start;
    margin-bottom: 0;
  }

  .footer-location {
    justify-self: start;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    gap: 10px;
  }

  .brand {
    justify-self: start;
    height: 44px;
  }

  .brand img {
    height: 44px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-copy {
    padding-top: 130px;
  }

  h1 {
    font-size: 46px;
  }

  .secondary-action {
    margin: 10px 0 0;
  }

  .hero-actions a,
  .form-grid,
  .cad-analysis {
    width: 100%;
  }

  .form-grid,
  .quote-meta,
  .segmented,
  .cad-analysis,
  .option-row,
  .part-row,
  .part-config,
  .part-options {
    grid-template-columns: 1fr;
  }

  .part-total {
    text-align: left;
  }

  .success-note {
    grid-template-columns: 58px 1fr;
    align-items: start;
  }

  .contact-band {
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .contact-copy h2 {
    font-size: 44px;
  }

  .contact-methods a {
    font-size: 29px;
  }

  .contact-cta {
    min-height: 64px;
    font-size: 17px;
  }

  .contact-action {
    gap: 16px;
  }

  .contact-upload-icon {
    width: 68px;
  }

  .site-footer {
    min-height: 0;
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .site-footer p {
    margin-top: 22px;
  }

  .quote-meta {
    display: grid;
  }

  .segmented span,
  .segmented label:last-child span {
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .segmented label:last-child span {
    border-bottom: 0;
  }
}
