:root {
  --ink: #303f3b;
  --rose: #a74b57;
  --teal: #21685f;
  --paper: #fcfbf8;
  --rule: #bfaa80;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.9 "Hiragino Kaku Gothic ProN", sans-serif; }
figure, h1, h2, h3, p, dl, dd, ol { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
header, footer { display: flex; gap: 24px; align-items: center; padding: 13px max(5%, calc((100% - 1180px)/2)); }
header { position: sticky; z-index: 4; top: 0; background: #fcfbf8fa; border-bottom: 1px solid #e2ded7; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 26px/1.4 var(--serif); color: var(--ink); text-decoration: none; white-space: nowrap; }
nav { margin-left: auto; display: flex; gap: 24px; }
nav a { color: inherit; font-size: 14px; text-underline-offset: 5px; text-decoration-color: transparent; }
nav a:hover { text-decoration-color: var(--rose); }
.wrap { width: min(1100px, 88%); margin-inline: auto; }
.hero, .pair { display: grid; align-items: center; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr 1fr; padding-block: clamp(68px, 8vw, 120px); }
.hero { grid-template-columns: .9fr 1.1fr; padding-block: clamp(40px, 6vw, 90px); }
.hero figure { border-radius: 100px 4px 4px 4px; overflow: hidden; }
figure img { width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.55; line-break: strict; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.1vw, 60px); margin: 18px 0; }
h2 { font-size: clamp(29px, 3.1vw, 44px); }
h3 { font-size: 22px; margin-top: 15px; }
em { font-style: normal; color: var(--rose); }
.eyebrow { color: #90404b; font-size: 14px; margin-bottom: 14px; }
.category { font-size: 18px; line-height: 1.6; }
.copy h2 + p, .copy p + p:not(.category) { margin-top: 19px; }
.action { cursor: pointer; border: 0; border-radius: 9px; background: var(--teal); color: white; min-height: 48px; padding: 14px 23px; line-height: 1.5; font-family: inherit; font-size: 16px; font-weight: 600; box-shadow: 0 3px 0 #16483f; }
.action span { display: inline-block; margin-left: 10px; transition: transform .2s; }
.action:hover { background: #195a51; }
.action:hover span { transform: translateX(3px); }
.action:active { transform: translateY(2px); }
.copy .action { margin-top: 25px; }
.small { font-size: 14px; }
small { display: block; margin-top: 12px; color: #58625c; }
:focus-visible { outline: 3px solid #397f91; outline-offset: 4px; }
.band { background: #f6f3ed; }
.dark { background: var(--ink); color: var(--paper); }
.dark figure { border-bottom-right-radius: 90px; overflow: hidden; }
dl { margin: 26px 0 15px; }
dl div, details { border-top: 1px solid var(--rule); padding: 15px 0; }
dl div { display: flex; gap: 20px; }
dt { flex: none; color: var(--rose); }
.dinner, .join { background: #f8efed; }
.stack { padding-block: clamp(68px, 8vw, 120px); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding: 0; margin-block: 32px; list-style: none; }
.steps img { width: 100%; aspect-ratio: 1.58; object-fit: cover; }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding-block: 7px; }
details p { margin-top: 10px; }
.coffee { width: 100%; margin-top: 24px; }
footer { justify-content: space-between; padding-block: 34px; }
footer p { font-size: 12px; }
dialog { width: min(400px,90vw); border: none; border-radius: 12px; padding: 30px; background: var(--paper); color: var(--ink); }
dialog h2, dialog p, dialog form { margin-block: 12px; }
dialog::backdrop { background: #23332fb0; }
@media (max-width: 760px) {
  header { gap: 8px; justify-content: space-between; padding-inline: 5%; }
  nav { display: none; }
  .brand { font-size: 21px; }
  .brand img { width: 26px; height: 26px; }
  .small { font-size: 12px; padding: 10px 12px; }
  .wrap { width: 88%; }
  .hero, .pair { grid-template-columns: 1fr; gap: 25px; }
  .hero { padding-top: 30px; }
  .hero figure { border-top-left-radius: 56px; }
  .pair .copy { order: -1; }
  .join .copy { order: initial; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { display: grid; grid-template-columns: 32% 1fr; column-gap: 14px; align-content: start; }
  .steps img { grid-row: span 2; align-self: center; }
  .steps h3 { margin-top: 0; font-size: 20px; }
  footer { flex-wrap: wrap; }
}
@keyframes arrive { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero figure { animation: arrive .7s ease-out both; }
  .arrived { animation: arrive .55s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.date-idea { background: #f6f2eb; border-radius: 5px; overflow: hidden; }
.date-panel { padding: clamp(22px, 3vw, 38px); }
.date-panel h3 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
.date-panel label { display: block; margin: 16px 0 4px; font-weight: 600; }
.date-panel select { width: 100%; min-height: 48px; padding: 7px 12px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #827c70; border-radius: 5px; }
.date-example { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--rule); }
.date-example small { margin: 0 0 3px; }

.register-rail { display: none; }

@media (min-width: 1024px) {
  html { scroll-padding-top: 24px; }
  body { background: #f6f2ed; }
  .page-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 620px) minmax(0, 1fr);
    max-width: 1680px;
    margin-inline: auto;
    align-items: start;
  }
  header, .register-rail {
    position: sticky;
    top: 10vh;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(100%, 312px);
    max-height: 85vh;
    overflow: auto;
    padding: 22px clamp(16px, 2vw, 32px);
    margin-inline: auto;
    border: 0;
    background: transparent;
  }
  header .brand { font-size: clamp(21px, 1.9vw, 28px); }
  header nav { display: grid; width: 100%; gap: 0; margin: 10px 0; }
  header nav a { padding-block: 12px; border-top: 1px solid #cfc2af; }
  header .action { display: none; }
  main {
    min-width: 0;
    background: var(--paper);
    border-inline: 1px solid #e1d8ca;
  }
  main .wrap { width: 88%; }
  .hero, .pair { grid-template-columns: 1fr; gap: 30px; padding-block: 54px; }
  .hero { padding-block: 30px 44px; }
  .hero h1 { font-size: clamp(39px, 3.75vw, 52px); margin-block: 12px; }
  .hero figure { border-top-left-radius: 64px; }
  .pair .copy { order: -1; }
  .join .copy { order: initial; }
  main h2 { font-size: 34px; }
  .stack { padding-block: 56px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 34% 1fr; column-gap: 18px; }
  .steps img { grid-row: span 2; }
  .steps h3 { align-self: end; margin: 0; }
  .register-rail { gap: 18px; }
  .register-rail img { border-radius: 36px 2px 2px 2px; }
  .register-rail h2 { font-size: clamp(22px, 1.9vw, 30px); }
  .register-rail .action { width: 100%; font-size: 15px; padding-inline: 8px; }
  .register-rail small { margin-top: -6px; font-size: 12px; }
  footer { border-top: 1px solid #e1d8ca; }
}
