﻿:root {
  color-scheme: light;
  --plum: #321928;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --marigold: #ffbf53;
  --rust: #963b29;
  --ink: #301d27;
  --muted: #604a50;
  --line: #e8d7c6;
  --display: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
body { line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #c46c32; outline-offset: 4px; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 2; padding: .8rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.header { background: var(--cream); }
.header-inner, .footer-inner, nav { display: flex; align-items: center; justify-content: space-between; }
.header-inner, .footer-inner { gap: 1rem; padding-block: 1rem; }
nav { gap: clamp(1rem, 3vw, 2.5rem); }
nav a { text-decoration: none; font-weight: 650; }
.nav-extra:hover, .footer a:hover { text-decoration: underline; }
.brand { font: 700 clamp(1.2rem, 3vw, 1.65rem)/1.2 var(--display); text-decoration: none; }
.brand span { font-style: italic; color: var(--rust); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--marigold);
  color: var(--plum);
  text-align: center;
  text-decoration: none;
  font-weight: 750;
}
.button:hover { background: #ffcf7e; }
.button-small { min-height: 2.75rem; padding-inline: 1.1rem; background: var(--plum); color: var(--cream); }
.button-small:hover { background: #563044; }
.button-outline { border-color: #e1ab78; background: transparent; color: var(--cream); }
.button-outline:hover { background: #573149; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }

.hero, .contact { background: var(--plum); color: var(--cream); }
.hero { border-bottom: 6px solid var(--marigold); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.8rem, 6vw, 5.5rem);
}
.eyebrow {
  color: var(--rust);
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--marigold); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; font-weight: 500; }
h1 { font-size: clamp(2.65rem, 7vw, 6.5rem); letter-spacing: -.057em; margin-block: .8rem 1.2rem; }
h1 em { color: var(--marigold); }
h2 { font-size: clamp(2.35rem, 5.5vw, 4.4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.hero-copy > p:not(.eyebrow) { max-width: 39ch; color: #f2ddde; }
.hero-copy .reply { margin-top: .9rem; font-size: .875rem; }

.hero-photo {
  position: relative;
  isolation: isolate;
  padding: .55rem;
  border: 1px solid #b77a57;
  border-radius: 50% 50% .8rem .8rem / 40% 40% .8rem .8rem;
  background: repeating-linear-gradient(135deg, #6d353e 0 5px, #a76551 5px 6px, #6d353e 6px 12px);
}
.hero-photo img { aspect-ratio: 1 / 1.04; object-fit: cover; border-radius: inherit; }

.section-heading { margin-bottom: 2rem; }
.section-heading .eyebrow { margin-bottom: .5rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: center 54%; }
.card-body { padding: clamp(1.2rem, 3vw, 2rem); }
.card p, .faq p { margin-top: .65rem; color: var(--muted); }

.faq { background: #faeddb; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; }
details { border-bottom: 1px solid #d8bcaa; }
details:first-child { border-top: 1px solid #d8bcaa; }
summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .95rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+" / ""; color: var(--rust); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−" / ""; }
.faq p { margin-block: 0 1rem; }

.contact { text-align: center; border-top: 6px solid var(--marigold); }
.contact p { max-width: 52ch; margin: 1rem auto 0; color: #f2ddde; }
.contact .actions { justify-content: center; }
.footer { background: var(--cream); }
.footer-inner { padding-block: 1.5rem; flex-wrap: wrap; }

@media (max-width: 48rem) {
  .hero-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-photo { width: min(100%, 29rem); margin-inline: auto; }
}
@media (max-width: 36rem) {
  .nav-extra { display: none; }
  .cards { grid-template-columns: 1fr; }
}
.brand-animated { white-space: nowrap; }
.brand .brand-dance { display: inline-block; color: inherit; font-style: normal; }
.brand-dance > span { display: inline-block; }
.hero-photo::after {
  content: "";
  position: absolute;
  right: -.55rem;
  bottom: -.8rem;
  width: 3.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--marigold);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, transparent 27%, var(--marigold) 29% 32%, transparent 34%) center / 50% 50%,
    var(--plum);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-dance > span { animation: letter-dance .72s ease both; animation-delay: calc(.28s + var(--step) * 55ms); }
  .brand-animated:is(:hover, :focus-visible) .brand-dance > span {
    animation-name: letter-dance-again;
    animation-delay: calc(var(--step) * 45ms);
  }
  @keyframes letter-dance {
    30% { transform: translateY(-.28em) rotate(-10deg); }
    60% { transform: translateY(.04em) rotate(5deg); }
    100% { transform: none; }
  }
  @keyframes letter-dance-again {
    30% { transform: translateY(-.28em) rotate(10deg); }
    60% { transform: translateY(.04em) rotate(-5deg); }
    100% { transform: none; }
  }
}

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

.mobile-dock { display: none; }

@media (max-width: 36rem) {
  :root { --dock-space: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: var(--dock-space); }
  body { padding-bottom: var(--dock-space); }
  .header-inner {
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    flex-wrap: wrap;
    gap: .65rem 1rem;
  }
  .header .button-small { display: none; }
  .header nav { gap: .9rem; }
  .nav-extra {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    font-size: .875rem;
  }
  .hero-grid { gap: 1.65rem; padding-top: 2rem; }
  .hero-copy .actions { display: none; }
  .hero-copy .reply { margin-top: .8rem; }
  .hero-photo { width: min(100% - 1rem, 25rem); }
  .hero-photo img { aspect-ratio: 1.12; object-position: center 57%; }
  .mobile-dock {
    position: fixed;
    z-index: 1;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    padding: .7rem max(1rem, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #9b6357;
    background: var(--plum);
    box-shadow: 0 -.4rem 1.5rem #32192829;
  }
  .mobile-dock .button { padding-inline: .6rem; }
  .mobile-dock .button:focus-visible { outline-offset: 2px; }
}
