@font-face {
  font-family: Baskervville;
  src: url("assets/baskervville-roman.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Baskervville;
  src: url("assets/baskervville-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #271f1c;
  --muted: #625652;
  --wine: #512229;
  --wine-deep: #33191e;
  --rose: #ead0c3;
  --line: #d7cfc2;
  --light-ink: #fff8f1;
  --display: Baskervville, Georgia, serif;
  font: 400 1rem/1.65 Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scrollbar-color: #9c746c var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
::selection { color: #fffaf5; background: var(--wine); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
a { color: inherit; text-underline-offset: .27em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
section[id] { scroll-margin-block-start: 1.5rem; }
.wrap { width: min(100% - 7rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; inset: .6rem auto auto .6rem; padding: .6rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top, .footer { display: flex; align-items: center; justify-content: center; }
.top { position: absolute; inset: 0 0 auto; min-height: 5.85rem; color: var(--light-ink); }
.brand { font: 400 2.7rem/.95 var(--display); letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--rose); }

.hero {
  padding-block: clamp(9rem, 13vw, 12.5rem) clamp(4.5rem, 8vw, 7.5rem);
  color: var(--light-ink);
  background:
    radial-gradient(ellipse 75% 130% at 0% 3%, #793c42 0%, #622d35 27%, transparent 76%),
    linear-gradient(118deg, #5a292f 0%, var(--wine-deep) 66%);
  text-align: center;
}
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .99; }
h2 { font-size: clamp(2.65rem, 4.25vw, 3.85rem); line-height: 1.03; }
:is(h1, h2) em { color: var(--wine); }
.hero h1 em { color: var(--rose); }
.hero-copy > p { max-width: 49ch; margin: 1.4rem auto 0; font-size: clamp(1rem, 1.34vw, 1.13rem); text-wrap: balance; }
.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; border: 0; border-radius: .13rem; padding: .72rem 1.2rem; font-size: .9rem; font-weight: 800; text-align: center; text-decoration: none; transition: background-color .22s ease, color .22s ease; }
.primary { margin-top: 1.75rem; color: var(--wine-deep); background: var(--light-ink); }
.primary:hover { background: var(--rose); }
.primary:focus-visible { outline-color: var(--light-ink); }

.faq {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.35rem, 6.4vw, 5.7rem);
}
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.15rem;
  padding-block: .9rem;
  list-style: none;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  font-weight: 750;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--wine); }
.faq-list summary:focus-visible { outline-offset: -2px; }
.faq-list p { max-width: 62ch; padding: 0 2.45rem 1.2rem 0; color: var(--muted); }
.faq-list p strong { color: var(--wine); white-space: nowrap; }
.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 1.65rem;
  aspect-ratio: 1;
  border: 1px solid #bcaaa3;
  border-radius: 50%;
  color: var(--wine);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.faq-icon::before, .faq-icon::after { content: ""; grid-area: 1 / 1; width: .56rem; height: 1px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); }
.faq-list summary:hover .faq-icon { border-color: var(--wine); }
.faq-list details[open] .faq-icon { border-color: var(--wine); background: var(--wine); color: #fffaf5; }
.faq-list details[open] .faq-icon::after { opacity: 0; }

.inquiry {
  padding-block: clamp(2.8rem, 7vw, 5.5rem);
  background: radial-gradient(ellipse 75% 125% at 0% 3%, #592b32 0%, #482329 30%, transparent 73%), var(--wine-deep);
  color: var(--light-ink);
}
.inquiry-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6.5rem); }
.inquiry h2 { max-width: 11ch; }
.inquiry h2 em { color: var(--rose); }
.inquiry-copy p { max-width: 34ch; margin-block: 1.2rem .75rem; color: #f1dfd8; }
.email { font-weight: 700; }
.inquiry-form { display: grid; justify-items: start; width: 100%; max-width: 33rem; }
.inquiry-form label { margin-bottom: .28rem; font-size: .94rem; font-weight: 800; }
.inquiry-form label span { font-size: .87rem; font-weight: 500; color: #e7cbc5; }
.inquiry-form :is(select, input, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  margin-bottom: .85rem;
  border: 1px solid #c5a19a;
  border-radius: .12rem;
  padding: .52rem .7rem;
  color: var(--ink);
  background: #fcf6ef;
  caret-color: var(--wine);
}
.inquiry-form :is(select, input, textarea):focus-visible { outline-color: var(--rose); outline-offset: 3px; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form select { appearance: none; padding-inline-end: 2rem; background: #fcf6ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23512229' stroke-width='1.5'/%3E%3C/svg%3E") right .8rem center / .75rem .5rem no-repeat; }
.form-button { background: var(--rose); color: var(--wine-deep); }
.form-button:hover { background: #ffede3; }
.form-button:focus-visible { outline-color: var(--rose); }
.form-button:disabled { cursor: wait; opacity: .8; }
.form-status { font-size: .92rem; color: #ffebde; }
.form-status:not(:empty) { margin-top: .75rem; }
.footer { min-height: 5.4rem; background: var(--wine-deep); color: var(--light-ink); }
.footer .brand { font-size: 1.85rem; }

@media (max-width: 65rem) {
  .wrap { width: calc(100% - 5rem); }
}
@media (max-width: 50rem) {
  .wrap { width: calc(100% - 2.75rem); }
  .top { min-height: 4.5rem; }
  .brand { font-size: 2.2rem; }
  .faq, .inquiry-layout { grid-template-columns: minmax(0, 1fr); }
  .faq { gap: .9rem; }
  .hero { padding-block: clamp(7.5rem, 16vw, 10.5rem) clamp(3.7rem, 9vw, 6rem); }
  h1 { font-size: clamp(2.6rem, 9.3vw, 4.9rem); }
  .hero-copy > p { margin-top: .95rem; }
  .primary { margin-top: 1.25rem; }
  .faq-list p { padding-right: .25rem; }
  .inquiry-layout { gap: 1.75rem; }
}
@media (max-width: 34rem) {
  .footer { min-height: 4.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button, .faq-icon { transition: none; }
}
