:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f7f6f1;
  font-synthesis: none;
  --ink: #2c2926;
  --muted: #5d5650;
  --line: #e2ded5;
  --paper: #fffefa;
  --accent: #ebc68a;
  --accent-hover: #f3d299;
  --brown: #795727;
  --night: #272421;
  --night-hover: #403a34;
  --display: system-ui, Arial, sans-serif;
  --pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 280px;
  --header-height: 5.25rem;
}

button, input, select {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 4px;
}

.layout {
  width: min(100% - 6rem, 86rem);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  background: #faf9f5;
  border-bottom: 1px solid var(--line);
}

.topbar {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: clamp(.7rem, 2.5vw, 2.25rem);
}

.wordmark,
.topbar-contact,
.topbar-nav {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: .65rem;
  font-family: Georgia, serif;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-accent {
  color: var(--brown);
}

.wordmark-symbol {
  display: block;
  flex: none;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.topbar-nav {
  justify-content: center;
  gap: clamp(.9rem, 2.45vw, 2rem);
}

.topbar-nav a {
  font-size: .9rem;
  text-decoration: none;
  color: #42392e;
  white-space: nowrap;
}

.topbar-nav a:hover {
  text-decoration: underline;
  text-underline-offset: .3em;
}

.topbar-contact {
  justify-content: flex-end;
  gap: clamp(.7rem, 1.9vw, 1.4rem);
}

.topbar-phone,
.site-menu-trigger {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  text-decoration: none;
}

.topbar-phone:hover,
.site-menu-trigger:hover {
  background: #f0ede4;
}

.site-menu-trigger {
  border: 1px solid #d9d4c7;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-menu-trigger span {
  width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -.3rem currentColor, 0 .3rem currentColor;
}

.topbar-contact .topbar-quiz {
  min-height: 2.8rem;
  padding-inline: 1.06rem;
  flex: none;
  white-space: nowrap;
}

.topbar-quiz-short {
  display: none;
}

.location {
  margin: 0 0 .95rem;
  color: #eee9de;
  font-size: .95rem;
  font-weight: 700;
}

.phone-link {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .7rem 1.05rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.phone-link:hover {
  background: rgb(153 121 70 / 12%);
}

.hero :focus-visible,
.lighting :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height) - 1px);
  min-height: calc(100svh - var(--header-height) - 1px);
  display: grid;
  background: var(--night);
  color: #fffefa;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(22 19 18 / 86%) 0%, rgb(22 19 18 / 68%) 31%, rgb(22 19 18 / 24%) 57%, transparent 77%);
}

.hero-layout {
  display: grid;
}

.hero-copy {
  align-self: center;
  padding-block: clamp(2.5rem, 7svh, 6rem);
}

.hero h1 {
  max-width: 51rem;
  margin: 0;
  font: 700 clamp(3.2rem, 5.6vw, 6rem) / 1.03 var(--display);
  letter-spacing: -.047em;
}

.hero h1 span {
  display: block;
}

.hero-description {
  max-width: 32rem;
  margin: 1.6rem 0 0;
  color: #f1ebe3;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.35rem;
  margin-top: 1.85rem;
}

.hero-actions .button {
  flex: none;
  padding-inline: 1.25rem;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5.5vw, 6rem);
  align-items: center;
  padding-block: clamp(2.7rem, 6vw, 5.5rem);
}

.estimate h2,
.lighting h2,
.objects h2,
.price-panel h2,
.order h2,
.faq h2,
.reviews h2 {
  margin: 0;
  font: 700 clamp(2.1rem, 3.9vw, 3.65rem) / 1.1 var(--display);
  letter-spacing: -.044em;
}

.estimate-copy p {
  max-width: 29rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.58;
}

.estimate-copy .estimate-factors {
  margin-top: .7rem;
  font-size: 1rem;
}

.quiz {
  min-width: 0;
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #ded6c8;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3.6vw, 3.35rem);
  background: linear-gradient(145deg, #fffefb, #fcf8f0);
  box-shadow: 0 1.2rem 3.5rem rgb(64 46 25 / 8%);
}

#quiz-entry {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-progress {
  display: grid;
  gap: .675rem;
  color: var(--brown);
  font-size: .875rem;
  font-weight: 700;
}

.quiz-progress progress {
  width: 100%;
  height: .32rem;
  appearance: none;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  color: #a57433;
  background: #eee7da;
}

.quiz-progress progress::-webkit-progress-bar {
  background: #eee7da;
}

.quiz-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: #a57433;
  transition: width .2s ease-in-out;
}

.quiz-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: #a57433;
}

.quiz h3 {
  margin: 1.55rem 0 0;
  font-size: clamp(1.62rem, 2.8vw, 2.35rem);
  font-family: Georgia, serif;
  letter-spacing: -.036em;
  line-height: 1.08;
}

.quiz h3:focus {
  outline: none;
}

.quiz-intro {
  margin: .65rem 0 1.375rem;
  color: var(--muted);
  line-height: 1.42;
}

#quiz-form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.answers {
  margin: 0;
  padding: 0;
  min-inline-size: 0;
  border: 0;
  display: grid;
  gap: .55rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.answer {
  display: flex;
  gap: .75rem;
  align-items: center;
  min-height: 3.2rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.answer:hover {
  border-color: #c7aa77;
}

.answer:has(input:checked) {
  border-color: #a7793e;
  background: #fbf1df;
}

.answer input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: #94652a;
  flex: none;
}

.quiz-actions {
  display: flex;
  gap: .65rem;
  margin-top: auto;
  padding-top: 1.375rem;
}

.quiz-actions:has(.button-primary[hidden]) {
  padding-top: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: .6rem 1.18rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #211a12;
  background: var(--accent);
  flex: 1;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.quiz .button-primary,
.price-panel .button-primary {
  background: var(--night);
  color: #fffaf0;
}

.quiz .button-primary:hover,
.price-panel .button-primary:hover {
  background: var(--night-hover);
}

.button-outline {
  border-color: rgb(255 245 224 / 60%);
  background: rgb(15 22 31 / 36%);
  color: #fffaf1;
}

.button-outline:hover {
  background: rgb(255 245 224 / 16%);
}

.button-quiet {
  background: transparent;
  border-color: var(--line);
}

.button-quiet:hover {
  background: #f6f1e8;
}

.button:disabled {
  cursor: wait;
  opacity: .65;
}

.quiz-error {
  margin: .7rem 0 0;
  color: #a52f28;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-field {
  display: grid;
  gap: .5rem;
  min-width: 0;
  font-weight: 700;
}

.contact-field :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 3.4rem;
  border: 1px solid #d0c4b2;
  border-radius: .9rem;
  background-color: #fffefa;
  padding: .7rem .95rem;
  color: var(--ink);
}

.contact-field select {
  cursor: pointer;
}

.contact-field [aria-invalid="true"] {
  border-color: #a52f28;
}

.object-fields,
.object-measurements {
  display: grid;
  gap: .9rem;
}

.object-fields {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.object-measurements {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-fields > .contact-field + .contact-field {
  margin-top: .85rem;
}

.lighting {
  border-block: 1px solid #e5dbcc;
  background: linear-gradient(135deg, #eee5d7, #faf5ec 54%, #f1e8da);
}

.lighting h2 {
  font-family: Georgia, serif;
}

.lighting-layout {
  padding-block: clamp(3rem, 6.6vw, 6rem);
}

.lighting-heading p {
  max-width: 38rem;
  margin: .95rem 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.lighting-options {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: clamp(.875rem, 2.2vw, 1.75rem);
  margin-top: clamp(1.55rem, 3vw, 2.65rem);
}

.lighting-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1d5c3;
  border-radius: 1.25rem;
  background: #fffdf8;
  box-shadow: 0 .8rem 1.8rem rgb(69 43 16 / 7%);
}

.lighting-card-featured {
  border-color: #c3a777;
}

.lighting-card img {
  display: block;
  width: 100%;
  height: clamp(11rem, 21vw, 18rem);
  object-fit: cover;
  background: #29394b;
}

.lighting-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.15rem, 2.55vw, 1.8rem);
}

.lighting-card h3 {
  margin: 0;
  font: 700 clamp(1.35rem, 2.15vw, 1.95rem) / 1.14 var(--display);
  letter-spacing: -.025em;
}

.lighting-card p {
  margin: .6rem 0 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}

.lighting-card a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  border: 1px solid #d5bf9c;
  border-radius: var(--pill);
  padding-inline: .85rem;
  color: #68471d;
  font-weight: 700;
  text-decoration: none;
}

.lighting-card a:hover {
  background: #f5ead6;
}

.objects {
  padding-block: clamp(3rem, 6.6vw, 6rem);
}

.object-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.1vw, 2rem);
  list-style: none;
  margin: clamp(1.4rem, 3vw, 2.5rem) 0 0;
  padding: 0;
}

.object-list li {
  padding: clamp(1.15rem, 2.3vw, 1.85rem);
  border: 1px solid var(--line);
  border-top: 2px solid #ba9358;
  border-radius: .85rem;
  background: var(--paper);
}

.object-list h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.24;
}

.object-list p {
  margin: .65rem 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.section-intro {
  margin: .95rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.price-section {
  padding-bottom: clamp(3rem, 6.75vw, 5.75rem);
}

.price-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2.5rem;
  padding: clamp(1.4rem, 4.3vw, 3.5rem);
  background: #eae8dd;
  border: 1px solid #e0dacc;
  border-radius: 1.25rem;
}

.price-panel p {
  max-width: 36rem;
  margin: .8rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.price-panel .button {
  flex: 0 1 auto;
}

.reviews {
  padding-block: clamp(2.4rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.order {
  border-block: 1px solid #e3dbcd;
  background: #efe7db;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 7.5vw, 7.5rem);
  padding-block: clamp(3rem, 6.6vw, 6rem);
  align-items: start;
}

.order-copy p {
  max-width: 31rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.56;
}

.order-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 1.3rem;
}

.order-actions .button {
  flex: none;
  padding-inline: 1.25rem;
}

.order-steps {
  margin: 0;
  padding: 0 0 0 1.5rem;
}

.order-steps li {
  padding: .95rem 0 .95rem .65rem;
  border-bottom: 1px solid #d2c5b3;
}

.order-steps li:first-child {
  padding-top: 0;
}

.order-steps li::marker {
  color: var(--brown);
  font-weight: 700;
}

.order-steps h3 {
  margin: 0;
  font-size: 1.14rem;
}

.order-steps p {
  margin: .35rem 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.faq {
  background: #f6f3ec;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .63fr) minmax(0, 1.37fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6.75vw, 5.75rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid #d5ccbd;
}

.faq-list details {
  border-bottom: 1px solid #d5ccbd;
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding: 1.25rem 2.4rem 1.25rem 0;
  font-size: 1.075rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: .25rem;
  transform: translateY(-50%);
  content: "+";
  color: var(--brown);
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: -.2rem 2rem 1.25rem 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  background: var(--night);
  color: #fffaf0;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.4rem 2rem;
  padding-block: clamp(2rem, 4.5vw, 3.8rem);
}

.footer-brand {
  color: #f5d492;
  font-weight: 800;
  text-decoration: none;
}

.footer p {
  max-width: 17rem;
  margin: .55rem 0 0;
  color: #ded7cd;
  line-height: 1.45;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.3rem;
  font-size: .93rem;
}

.footer nav a {
  text-decoration-color: rgb(255 245 224 / 45%);
  text-underline-offset: .25em;
}

.footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem .85rem;
}

.footer-actions .button {
  flex: none;
  padding-inline: 1.1rem;
}

.site-assistant {
  position: fixed;
  z-index: 4;
  right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: .6rem;
  width: min(22rem, calc(100% - 1.5rem));
  pointer-events: none;
}

.site-assistant > * {
  pointer-events: auto;
}

.assistant-panel {
  width: 100%;
  max-height: calc(100dvh - 5.5rem - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d9cbba;
  border-radius: 1.15rem;
  padding: .85rem 1rem 1rem;
  background: var(--paper);
  box-shadow: 0 .8rem 2.8rem rgb(36 26 18 / 22%);
}

.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.assistant-head h2 {
  margin: 0;
  font: 700 1.18rem / 1.15 Georgia, serif;
  letter-spacing: -.02em;
}

.assistant-close {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0;
  background: transparent;
  font-size: 1.35rem;
  cursor: pointer;
}

.assistant-close:hover {
  background: #f4ebdf;
}

.assistant-message {
  margin: .65rem 0 .8rem;
  color: var(--ink);
  font-size: .93rem;
  line-height: 1.45;
}

.assistant-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .45rem;
}

.assistant-topics button {
  min-height: 2.75rem;
  border: 1px solid #d9cbba;
  border-radius: var(--pill);
  padding: .4rem .7rem;
  background: #fffcf6;
  color: var(--brown);
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-topics button:hover,
.assistant-topics button[aria-pressed="true"] {
  background: #f5ead6;
}

.assistant-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .85rem;
}

.assistant-actions .button {
  min-height: 2.75rem;
}

.assistant-lighting {
  align-self: center;
  color: var(--brown);
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.assistant-launch {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.9rem;
  border: 1px solid #9c7e51;
  border-radius: var(--pill);
  padding: .55rem .9rem;
  color: #fff4e2;
  background: var(--night);
  box-shadow: 0 .3rem 1.2rem rgb(27 20 15 / 18%);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-launch:hover {
  background: var(--night-hover);
}

.assistant-symbol {
  position: relative;
  width: .95rem;
  height: .8rem;
  border: 1.5px solid var(--accent);
  border-radius: .23rem;
}

.assistant-symbol::after {
  position: absolute;
  bottom: -.25rem;
  left: .16rem;
  width: .28rem;
  height: .28rem;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  background: var(--night);
  content: "";
  transform: translateY(-.05rem) skewY(-28deg);
}

.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(calc(100% - 1rem), 27rem);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--night);
  color: #fffaf0;
  box-shadow: -.65rem 0 4rem rgb(19 16 14 / 24%);
  overscroll-behavior: contain;
}

.site-menu::backdrop {
  background: rgb(21 17 14 / 61%);
}

body:has(.site-menu[open]) {
  overflow: hidden;
}

.site-menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.2rem, 5vw, 2.65rem);
}

.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.35rem, 5vh, 3rem);
}

.site-menu-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 5.5vw, 1.65rem);
}

.site-menu-head .wordmark-symbol {
  filter: brightness(0) saturate(100%) invert(83%) sepia(44%) saturate(469%) hue-rotate(339deg);
}

.site-menu-head .wordmark-accent {
  color: var(--accent);
}

.site-menu-close {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #8d8175;
  border-radius: var(--pill);
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.site-menu-close:hover {
  background: var(--night-hover);
}

.site-menu-nav {
  display: grid;
  border-top: 1px solid #62584e;
}

.site-menu-nav a {
  display: flex;
  align-items: center;
  min-height: clamp(2.75rem, 8vh, 4.3rem);
  border-bottom: 1px solid #62584e;
  font-family: var(--display);
  font-size: clamp(1.28rem, 5.5vw, 1.8rem);
  font-weight: 650;
  text-decoration: none;
}

.site-menu-nav a:hover,
.site-menu-phone:hover,
.site-menu-messengers a:hover {
  color: var(--accent);
}

.site-menu :focus-visible {
  outline-color: var(--accent);
}

.site-menu-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  margin-top: auto;
  padding-top: clamp(1.5rem, 5vh, 3rem);
}

.site-menu-phone,
.site-menu-messengers a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: .23em;
}

.site-menu-phone {
  font-weight: 700;
  font-size: 1.25rem;
}

.site-menu-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.1rem;
  color: #e8e0d4;
}

.callback-dialog {
  position: fixed;
  width: min(calc(100% - 2rem), 29rem);
  max-height: calc(100% - 2rem);
  padding: clamp(1.45rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.4rem 5rem rgb(10 15 22 / 28%);
}

.callback-dialog::backdrop {
  background: rgb(9 16 24 / 66%);
}

.callback-close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.callback-close:hover {
  background: #f4ebdf;
}

.callback-dialog h2 {
  margin: 0;
  padding-right: 2.15rem;
  font: 700 clamp(1.65rem, 6.4vw, 2.3rem) / 1.12 var(--display);
  letter-spacing: -.045em;
}

.callback-dialog p {
  line-height: 1.48;
}

#callback-intro {
  margin: .9rem 0 1rem;
  color: var(--muted);
}

#quick-callback-form .button {
  width: 100%;
  margin-top: .95rem;
}

.callback-success {
  padding: .8rem 1rem;
  border-radius: .5rem;
  background: #f5ead7;
  color: #634824;
}

.callback-direct {
  margin-top: .85rem;
}

@media (max-width: 62rem) {
  .topbar {
    grid-template-columns: 1fr max-content;
  }

  .topbar-nav {
    display: none;
  }
}

@media (max-width: 54rem) {
  body {
    --header-height: 4.65rem;
  }

  .layout {
    width: min(100% - 2.5rem, 46rem);
  }

  .hero-image {
    object-position: 75% 51%;
  }

  .hero-copy {
    padding-block: 2.5rem clamp(1.55rem, 6svh, 3.4rem);
    align-self: end;
  }

  .hero::before {
    background: linear-gradient(0deg, rgb(22 19 18 / 96%), rgb(22 19 18 / 80%) 25%, rgb(22 19 18 / 24%) 51%, transparent 68%);
  }

  .hero h1 {
    max-width: 37rem;
    font-size: clamp(2.25rem, 9.25vw, 4.7rem);
  }

  .wide-break {
    display: none;
  }

  .estimate,
  .order-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.85rem;
  }

  .estimate-copy p {
    font-size: 1.0625rem;
  }

  .quiz {
    min-height: 0;
  }

  .quiz-intro {
    margin-bottom: 1rem;
  }

  .quiz-actions {
    padding-top: 1rem;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer nav {
    max-width: 30rem;
  }
}

@media (max-width: 46rem) and (orientation: portrait) {
  .hero-image {
    object-position: center 48%;
  }
}

@media (max-width: 40rem) {
  body {
    --header-height: 4.2rem;
  }

  .topbar.layout {
    width: calc(100% - 1.5rem);
  }

  .topbar {
    gap: .5rem;
  }

  .wordmark {
    gap: .35rem;
    font-size: 1.13rem;
  }

  .wordmark-symbol {
    width: 2.1rem;
    height: 2.1rem;
  }

  .topbar-contact {
    gap: .35rem;
  }

  .topbar-phone,
  .site-menu-trigger {
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    padding: 0;
  }

  .topbar-contact .topbar-quiz {
    min-height: 2.75rem;
    padding: .3rem .8rem;
    font-size: .86rem;
  }

  .object-list {
    grid-template-columns: 1fr;
  }

  .lighting-options {
    grid-template-columns: 1fr;
  }

  .lighting-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .lighting-card:not(.lighting-card-featured) img {
    aspect-ratio: 2 / 1;
  }

  .estimate.layout {
    width: calc(100% - 1.5rem);
    gap: 1.15rem;
  }

  .estimate-copy {
    padding-inline: .5rem;
  }

  .quiz {
    padding: clamp(1rem, 5vw, 1.6rem);
  }
}

@media (max-width: 30rem) {
  .topbar-quiz-full {
    display: none;
  }

  .topbar-quiz-short {
    display: inline;
  }
}

@media (max-width: 26rem) {
  .hero-actions {
    margin-top: 1.2rem;
    gap: .65rem;
  }

  .hero-actions .button {
    flex: 1 0 auto;
    padding-inline: .75rem;
    font-size: .9rem;
  }

  .hero-description {
    margin-top: 1.15rem;
  }

  .button {
    min-height: 3.125rem;
  }
}

@media (max-width: 22rem) {
  .object-measurements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 21rem) {
  .topbar.layout {
    width: calc(100% - .75rem);
  }

  .topbar {
    gap: .25rem;
  }

  .topbar .wordmark {
    gap: .25rem;
    font-size: .85rem;
  }

  .topbar .wordmark-symbol {
    width: 1.5rem;
    height: 1.5rem;
  }

  .topbar-contact {
    gap: .23rem;
  }

  .topbar-contact .topbar-quiz {
    padding-inline: .4rem;
    font-size: .83rem;
  }
}

@media (max-width: 30rem) and (max-height: 40rem) {
  .hero-copy {
    padding-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-progress progress::-webkit-progress-value {
    transition: none;
  }
}
