:root {
  color-scheme: light dark;
  --cor-marfim: #EFE3D0;
  --cor-espresso: #2A1C14;
  --cor-conhaque: #94512E;
  --cor-vinho: #571E2A;
  --cor-ouro: #A6823C;
  --ivory: #EFE3D0;
  --espresso: #2A1C14;
  --cognac: #94512E;
  --wine: #571E2A;
  --gold: #A6823C;
  --smoked-black: #171210;
  --paper: #F8F1E6;
  --light-text: #F8F1E6;
  --line: rgba(42, 28, 20, 0.22);
  --display: "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.quiz-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

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

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

:focus-visible {
  outline: 3px solid #9C5A3D;
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  min-height: 5rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid rgba(239, 227, 208, 0.26);
  color: var(--light-text);
  transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease;
}

.header-menu {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  min-width: 0;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(239, 227, 208, 0.96);
  color: var(--espresso);
}

.monograma {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -0.08em;
}

.site-nav {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
  gap: clamp(1rem, 2.7vw, 2.75rem);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.language-switcher {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  border: 1px solid currentColor;
  color: inherit;
}

.language-switcher button {
  min-width: 2rem;
  padding: 0.35rem 0.4rem 0.3rem;
  border: 0;
  border-right: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.48;
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button[aria-pressed="true"] {
  box-shadow: inset 0 -2px currentColor;
  opacity: 1;
}

.site-nav a {
  position: relative;
  padding: 1.8rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--smoked-black);
  color: var(--light-text);
}

.hero-image {
  position: absolute;
  inset: 0;
  object-position: 50% 24%;
  animation: hero-arrive 1.5s var(--ease) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 16, 0.35);
}

.hero-meta {
  position: absolute;
  z-index: 2;
  top: 7.5rem;
  right: var(--gutter);
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: clamp(5rem, 10vh, 8rem);
  left: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 25rem);
  align-items: end;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title .eyebrow {
  position: absolute;
  top: -1.5rem;
  left: 0.45rem;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
  white-space: pre-line;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(6rem, 15.5vw, 15rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 2rem;
  font-size: clamp(4rem, 8vw, 8rem);
}

.hero-line {
  margin: 0 0 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(248, 241, 230, 0.55);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 2rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(2.5rem, 0.35fr) minmax(17rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
}

.section-number {
  align-self: start;
  padding-top: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.manifesto-copy {
  align-self: center;
  max-width: 34rem;
}

.lead {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  line-height: 1.18;
}

.manifesto-copy > p:last-child,
.experience-copy > p:not(.eyebrow):not(.lead) {
  max-width: 30rem;
  color: rgba(42, 28, 20, 0.74);
}

.manifesto-portrait {
  position: relative;
  align-self: stretch;
  min-height: 43rem;
  margin: 0;
  background: var(--cognac);
}

.manifesto-portrait img {
  object-position: 50% 36%;
}

figcaption {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manifesto-portrait figcaption {
  position: absolute;
  right: -1.5rem;
  bottom: 4rem;
  color: var(--espresso);
  writing-mode: vertical-rl;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
  min-height: 100svh;
  background: var(--paper);
}

.experience-image {
  min-height: 100svh;
  overflow: hidden;
}

.experience-image img {
  object-position: 50% 35%;
}

.experience-copy {
  align-self: center;
  padding: 7rem var(--gutter);
}

.experience-copy .section-number,
.london-copy .section-number,
.gallery-heading .section-number,
.motion-heading .section-number,
.contact-copy .section-number {
  display: block;
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.london {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(0, 1.28fr);
  min-height: 100svh;
  padding: clamp(7rem, 10vw, 11rem) var(--gutter);
  gap: clamp(2rem, 6vw, 7rem);
  background: var(--wine);
  color: var(--light-text);
}

.london-copy {
  align-self: end;
  padding-bottom: 5rem;
}

.london-image {
  position: relative;
  min-height: 72svh;
  margin: 0;
}

.london-image img {
  object-position: 50% 42%;
}

.london-image figcaption {
  position: absolute;
  right: 0;
  bottom: -2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto minmax(20rem, 55rem);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: 120svh;
  padding: clamp(7rem, 11vw, 11rem) var(--gutter);
}

.gallery-heading {
  grid-column: 2 / 8;
  padding-bottom: 4rem;
}

.gallery-heading h2 {
  margin-bottom: 1.5rem;
}

.gallery-heading > p:last-child {
  font-family: var(--display);
  font-size: 1.5rem;
}

.gallery-primary,
.gallery-secondary {
  margin: 0;
  overflow: hidden;
}

.gallery-primary {
  grid-column: 1 / 8;
  grid-row: 2;
  height: 82%;
}

.gallery-primary img {
  object-position: 50% 32%;
}

.gallery-secondary {
  grid-column: 8 / 13;
  grid-row: 2;
  align-self: end;
  height: 64%;
}

.gallery-secondary img {
  object-position: 65% 50%;
}

.motion {
  min-width: 0;
  padding: clamp(7rem, 11vw, 11rem) var(--gutter);
  overflow: hidden;
  background: var(--paper);
}

.motion-heading {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.motion-heading .section-number {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 0;
  align-self: start;
}

.motion-heading .eyebrow,
.motion-heading h2 {
  grid-column: 2;
}

.motion-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.motion-carousel {
  min-width: 0;
}

.motion-track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
  min-width: 0;
  padding-inline-end: var(--motion-trailing-space, 0px);
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.motion-track::-webkit-scrollbar {
  display: none;
}

.motion-slide {
  flex: 0 0 clamp(18rem, 28vw, 27rem);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ivory);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.motion-slide img,
.motion-slide video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.motion-slide:nth-child(1) img {
  object-position: 51% 42%;
}

.motion-slide:nth-child(2) img {
  object-position: 50% 34%;
}

.motion-slide:nth-child(3) img {
  object-position: 50% 38%;
}

.motion-slide:nth-child(4) img {
  object-position: 50% 32%;
}

.motion-controls {
  display: grid;
  grid-template-columns: auto minmax(4rem, auto) auto;
  gap: 1rem;
  align-items: center;
  justify-content: end;
  margin-top: 1.25rem;
}

.motion-control {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.motion-control:disabled {
  cursor: default;
  opacity: 0.28;
}

.motion-status {
  margin: 0;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
  min-height: 100svh;
  background: var(--smoked-black);
  color: var(--light-text);
}

.contact-image {
  min-height: 100svh;
}

.contact-image img {
  object-position: 42% 40%;
}

.contact-copy {
  align-self: center;
  padding: 7rem var(--gutter);
}

.contact-action {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2rem var(--gutter);
  border-top: 1px solid rgba(248, 241, 230, 0.16);
  background: var(--smoked-black);
  color: var(--light-text);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

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

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    gap: 0.65rem;
    align-items: center;
    padding: 1rem 0;
  }

  .menu-toggle i {
    width: 1.25rem;
    height: 1px;
    background: currentColor;
    box-shadow: 0 5px currentColor;
    transition: transform 250ms ease, box-shadow 250ms ease;
  }

  .menu-toggle[aria-expanded="true"] i {
    transform: translateY(2px) rotate(45deg);
    box-shadow: 0 0 currentColor;
  }

  .header-menu {
    position: fixed;
    inset: 5rem 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1.5rem;
    padding: 2rem var(--gutter);
    background: var(--ivory);
    color: var(--espresso);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 250ms ease, transform 250ms ease;
  }

  .header-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .language-switcher {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .language-switcher button {
    min-width: 2.5rem;
    padding-block: 0.55rem;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(2.8rem, 12vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-image {
    object-position: 57% 44%;
  }

  .hero-shade {
    background: rgba(23, 18, 16, 0.42);
  }

  .hero-meta p:last-child {
    display: none;
  }

  .hero-title {
    grid-template-columns: 1fr;
    gap: 1rem;
    bottom: 6rem;
  }

  .hero-title .eyebrow {
    top: -2rem;
  }

  h1 {
    font-size: clamp(5rem, 25vw, 8rem);
  }

  h2 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .hero-line {
    max-width: 16rem;
    margin-left: auto;
    font-size: 1.25rem;
  }

  .hero-scroll {
    left: var(--gutter);
  }

  .section-grid,
  .experience,
  .london,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-grid {
    gap: 2rem;
    min-height: auto;
    padding-top: 7rem;
  }

  .section-grid > .section-number {
    margin-bottom: 2rem;
  }

  .manifesto-portrait {
    min-height: 36rem;
    margin-top: 2rem;
  }

  .manifesto-portrait figcaption {
    right: -0.75rem;
  }

  .experience-image,
  .contact-image {
    min-height: 72svh;
  }

  .experience-copy,
  .contact-copy {
    padding: 6rem var(--gutter);
  }

  .experience-copy .section-number,
  .london-copy .section-number,
  .gallery-heading .section-number,
  .motion-heading .section-number,
  .contact-copy .section-number {
    margin-bottom: 4rem;
  }

  .london {
    padding-top: 7rem;
  }

  .london-copy {
    padding-bottom: 0;
  }

  .london-image {
    min-height: 70svh;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 70svh 45svh;
    min-height: auto;
  }

  .gallery-heading {
    grid-column: 1 / -1;
  }

  .gallery-primary {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 100%;
  }

  .gallery-secondary {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 76%;
    height: 100%;
    margin-left: auto;
  }

  .motion {
    padding-right: 0;
  }

  .motion-heading {
    display: block;
    padding-right: var(--gutter);
  }

  .motion-heading .section-number {
    margin-bottom: 4rem;
  }

  .motion-heading h2 {
    max-width: 9ch;
  }

  .motion-track {
    gap: 0.9rem;
  }

  .motion-slide {
    flex-basis: min(76vw, 24rem);
  }

  .motion-controls {
    justify-content: start;
    padding-right: var(--gutter);
  }

  .contact-copy {
    order: -1;
  }

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

  .site-footer p:first-of-type {
    justify-self: end;
  }

  .site-footer p:last-child {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ivory: #211815;
    --paper: #2A201C;
    --espresso: #EFE3D0;
    --line: rgba(239, 227, 208, 0.2);
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    background: rgba(33, 24, 21, 0.97);
    color: var(--espresso);
  }

  .manifesto-copy > p:last-child,
  .experience-copy > p:not(.eyebrow):not(.lead) {
    color: rgba(239, 227, 208, 0.7);
  }

  .manifesto-portrait figcaption {
    color: var(--espresso);
  }
}

.quiz-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #FAF7F2;
  color: #0F0D0B;
}

.quiz-dialog::backdrop {
  background: rgba(15, 13, 11, 0.72);
}

.quiz-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100svh;
}

.quiz-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(8rem, 20rem) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: 1rem var(--gutter);
  border-bottom: 1px solid rgba(15, 13, 11, 0.2);
  background: #FAF7F2;
}

.quiz-progress-wrap {
  width: 100%;
  justify-self: center;
}

.quiz-progress {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiz-progress-line {
  height: 2px;
  overflow: hidden;
  background: rgba(15, 13, 11, 0.18);
}

.quiz-progress-line i {
  display: block;
  width: var(--quiz-progress, 12.5%);
  height: 100%;
  background: #B08D57;
  transition: width 220ms ease;
}

.quiz-close {
  min-height: 2.75rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quiz-form {
  display: grid;
  grid-template-columns: minmax(14rem, 0.65fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 8vw, 9rem);
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 7rem) var(--gutter) 8rem;
}

.quiz-intro {
  max-width: 30rem;
}

.quiz-context {
  align-self: start;
  min-width: 0;
}

.quiz-visual {
  width: min(100%, 22rem);
  margin: clamp(2rem, 5vh, 4rem) 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.quiz-visual img {
  object-position: 50% 32%;
}

.quiz-intro h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.quiz-step {
  align-self: start;
  min-width: 0;
}

.quiz-step[hidden],
.quiz-complete[hidden],
.quiz-nav[hidden],
.quiz-error[hidden],
.booking-request[hidden],
.booking-summary[hidden],
.booking-second-fields[hidden] {
  display: none;
}

.quiz-step h3,
.quiz-complete h3 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.quiz-step fieldset {
  min-width: 0;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}

.quiz-step legend,
.quiz-step label > span:first-child {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-choice-grid,
.quiz-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quiz-choice {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 3.25rem;
  margin: 0 0 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(15, 13, 11, 0.28);
  cursor: pointer;
}

.quiz-choice:has(input:checked) {
  border-color: #B08D57;
  box-shadow: inset 3px 0 #B08D57;
}

.quiz-choice input,
.quiz-consent input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #0F0D0B;
}

.quiz-choice span:first-child,
.quiz-consent span:first-child {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.quiz-step input:not([type="radio"]):not([type="checkbox"]),
.quiz-step select,
.quiz-step textarea {
  width: 100%;
  min-height: 3.25rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 13, 11, 0.45);
  border-radius: 0;
  background: transparent;
  color: #0F0D0B;
  font: inherit;
}

.quiz-step textarea {
  resize: vertical;
}

.quiz-step [aria-invalid="true"] {
  border-color: #9C5A3D;
  outline: 2px solid #9C5A3D;
  outline-offset: 3px;
}

.quiz-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  min-height: 3rem;
  padding-top: 0.5rem;
}

.quiz-privacy,
.quiz-error {
  font-size: 0.78rem;
}

.quiz-error {
  grid-column: 2;
  min-height: 1.5rem;
  margin: 0;
  color: #9C5A3D;
  font-weight: 700;
}

.quiz-nav {
  position: sticky;
  z-index: 1;
  bottom: 0;
  grid-column: 2;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem 0;
  background: #FAF7F2;
}

.quiz-nav button {
  min-width: 8rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid #0F0D0B;
  background: #0F0D0B;
  color: #FAF7F2;
  cursor: pointer;
  font-weight: 700;
}

.quiz-nav [data-quiz-back] {
  background: transparent;
  color: #0F0D0B;
}

.quiz-complete {
  grid-column: 2;
  align-self: start;
  padding: 2rem 0;
}

.booking-panel {
  width: 100%;
  min-width: 0;
}

.booking-panel .eyebrow {
  margin-bottom: 1rem;
}

.booking-note {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid #B08D57;
  background: rgba(176, 141, 87, 0.1);
  font-weight: 600;
  line-height: 1.55;
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  min-width: 0;
}

.booking-fields label,
.booking-fields input,
.booking-fields select {
  min-width: 0;
}

.booking-fields label > span {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-fields input,
.booking-fields select {
  width: 100%;
  min-height: 3.25rem;
  margin-bottom: 1.25rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(15, 13, 11, 0.45);
  border-radius: 0;
  background: transparent;
  color: #0F0D0B;
  font: inherit;
}

.booking-fields [aria-invalid="true"] {
  border-color: #9C5A3D;
  outline: 2px solid #9C5A3D;
  outline-offset: 3px;
}

.booking-toggle {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 1rem 0 1.5rem;
  cursor: pointer;
  font-weight: 600;
}

.booking-toggle input {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #0F0D0B;
}

.booking-second-fields {
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 13, 11, 0.18);
}

.booking-help,
.booking-error {
  font-size: 0.78rem;
  line-height: 1.55;
}

.booking-help {
  color: rgba(15, 13, 11, 0.68);
}

.booking-error {
  min-height: 1.5rem;
  margin: 0;
  color: #9C5A3D;
  font-weight: 700;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.booking-actions button,
.booking-actions a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid #0F0D0B;
  background: #0F0D0B;
  color: #FAF7F2;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: center;
}

.booking-actions .booking-edit,
.booking-actions a {
  background: transparent;
  color: #0F0D0B;
}

[data-booking-live][hidden] {
  display: none;
}

.booking-summary-copy {
  max-width: 100%;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(15, 13, 11, 0.22);
  background: #F4EDE0;
  font-size: 0.84rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .quiz-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.75rem 1.25rem;
  }

  .quiz-header .monograma {
    display: none;
  }

  .quiz-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3rem 1.25rem 6rem;
  }

  .quiz-intro h2 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .quiz-visual {
    display: none;
  }

  .quiz-choice-grid,
  .quiz-fields,
  .booking-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .quiz-error,
  .quiz-nav,
  .quiz-complete {
    grid-column: 1;
  }

  .quiz-nav {
    margin-right: -1.25rem;
    margin-left: -1.25rem;
    padding: 0.75rem 1.25rem;
  }

  .quiz-nav button {
    min-width: 0;
    flex: 1;
  }

  .booking-actions {
    align-items: stretch;
  }

  .booking-actions button,
  .booking-actions a {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 800px) and (prefers-color-scheme: dark) {
  .header-menu {
    background: rgba(33, 24, 21, 0.99);
    color: var(--espresso);
  }
}

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

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