:root {
  --ink: #123866;
  --blue: #14509a;
  --blue-deep: #0a3e84;
  --blue-soft: #7da8d6;
  --blue-pale: #dce9f5;
  --ivory: #f7f1e6;
  --paper: #fffdf8;
  --white: #ffffff;
  --gold: #e6a22b;
  --orange: #e98529;
  --coral: #ef7869;
  --blush: #f6d8d4;
  --green: #4d7c3a;
  --green-soft: #dfe9d8;
  --text: #24374d;
  --muted: #687587;
  --line: rgba(20, 80, 154, 0.22);
  --shadow: 0 28px 70px rgba(17, 50, 91, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 40px));
  --section: clamp(5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 6%, rgba(125, 168, 214, 0.08), transparent 24rem),
    linear-gradient(180deg, #fffdf9 0%, var(--ivory) 58%, #f3eadc 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--blue-pale);
  color: var(--blue-deep);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  border: 2px solid var(--blue);
  background: var(--paper);
  color: var(--blue-deep);
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  width: min(760px, calc(100vw - 40px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.display,
h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

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

h1 {
  font-size: clamp(3.6rem, 8.5vw, 8.25rem);
}

h2 {
  font-size: clamp(2.65rem, 5vw, 5.2rem);
}

h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
}

.lede {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-deep);
  border-radius: 2px;
  background: var(--blue-deep);
  color: var(--white);
  gap: 0.75rem;
  padding: 0.85rem 1.3rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.button--outline {
  background: transparent;
  color: var(--blue-deep);
}

.button--outline:hover {
  background: rgba(20, 80, 154, 0.07);
}

.button--small {
  min-height: 42px;
  padding: 0.65rem 0.95rem;
  font-size: 0.68rem;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--blue-deep);
  gap: 0.5rem;
  padding-bottom: 0.18rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(20, 80, 154, 0.14);
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  position: relative;
  color: #405064;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav ul a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: '';
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 150ms ease, transform 150ms ease;
}

.site-nav ul a:hover::after,
.site-nav ul a[aria-current='page']::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--blue-deep);
  gap: 0.65rem;
  padding: 0;
}

.nav-toggle__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-toggle__lines {
  display: grid;
  gap: 5px;
}

.nav-toggle__lines i {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: calc(100svh - 76px);
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4.5rem, 8vw, 7rem);
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 8%;
  right: -5rem;
  width: min(42vw, 36rem);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 80, 154, 0.13);
  border-radius: 48% 52% 44% 56% / 53% 48% 52% 47%;
  content: '';
  transform: rotate(8deg);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -2rem;
  bottom: 1rem;
  width: 17rem;
  height: 11rem;
  background: url('/decor/porcelain-sprig.svg') center / contain no-repeat;
  content: '';
  opacity: 0.7;
  transform: rotate(-7deg);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 7.2em;
  margin-bottom: 1.65rem;
}

.hero__copy .lede {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__brand {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__brand::before {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border: 2px solid var(--blue-soft);
  border-radius: 50% 48% 52% 46% / 48% 52% 46% 54%;
  content: '';
  opacity: 0.35;
  transform: rotate(-4deg);
}

.hero__brand img {
  position: relative;
  width: min(100%, 570px);
  aspect-ratio: 1;
  object-fit: contain;
  box-shadow: 0 34px 60px rgba(20, 63, 126, 0.08);
}

.hero__notes {
  display: grid;
  margin-top: 3.3rem;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  grid-template-columns: repeat(3, 1fr);
}

.hero__notes span {
  padding: 1rem 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.hero__notes span + span {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.promise-band {
  position: relative;
  overflow: hidden;
  border-block: 2px solid var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

.promise-band::before,
.promise-band::after {
  position: absolute;
  top: 50%;
  width: 11rem;
  height: 7rem;
  background: url('/decor/porcelain-sprig.svg') center / contain no-repeat;
  content: '';
  filter: brightness(0) invert(1);
  opacity: 0.12;
}

.promise-band::before {
  left: -2rem;
  transform: translateY(-50%);
}

.promise-band::after {
  right: -2rem;
  transform: translateY(-50%) scaleX(-1);
}

.promise-band__inner {
  display: grid;
  min-height: 168px;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.promise-band p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.section {
  padding-block: var(--section);
}

.section--paper {
  background: var(--paper);
}

.section--blue {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.88);
}

.section--blue h2,
.section--blue h3,
.section--blue .eyebrow,
.section--blue .text-link {
  color: var(--white);
}

.section-intro {
  display: grid;
  align-items: end;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-intro h2 {
  max-width: 9em;
  margin-bottom: 0;
}

.section-intro p:last-child {
  max-width: 35rem;
  margin-bottom: 0;
}

.gathering-ledger {
  border-top: 2px solid var(--blue-deep);
}

.gathering-row {
  display: grid;
  min-height: 230px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 2rem;
  grid-template-columns: 90px minmax(220px, 0.8fr) minmax(280px, 1.2fr) minmax(180px, 0.6fr);
  padding: 2rem 0;
}

.gathering-row__number {
  align-self: start;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
}

.gathering-row h3 {
  margin-bottom: 0;
}

.gathering-row p {
  margin-bottom: 0;
}

.gathering-row__examples {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-transform: uppercase;
}

.ceramic-divider {
  display: grid;
  width: min(360px, 82vw);
  align-items: center;
  grid-template-columns: 1fr auto auto auto 1fr;
  gap: 0.55rem;
  margin: 2.4rem auto;
}

.ceramic-divider span {
  height: 1px;
  background: var(--blue-soft);
}

.ceramic-divider i,
.ceramic-divider b {
  display: block;
  width: 9px;
  aspect-ratio: 1;
  transform: rotate(45deg);
}

.ceramic-divider i {
  border: 1px solid var(--blue);
}

.ceramic-divider b {
  background: var(--gold);
}

.ceramic-divider--warm b {
  background: var(--coral);
}

.beginner {
  position: relative;
  display: grid;
  min-height: 600px;
  align-items: center;
  gap: 5rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.beginner::before {
  position: absolute;
  z-index: 0;
  top: -4rem;
  left: -8rem;
  width: 23rem;
  height: 15rem;
  background: url('/decor/porcelain-sprig.svg') center / contain no-repeat;
  content: '';
  opacity: 0.42;
  transform: rotate(13deg);
}

.beginner__copy,
.beginner__note {
  position: relative;
  z-index: 1;
}

.beginner h2 {
  max-width: 7.4em;
  margin-bottom: 1.5rem;
  font-size: clamp(4rem, 8vw, 8.8rem);
}

.beginner__note {
  border: 1px solid var(--blue-soft);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3.3rem);
  transform: rotate(1.2deg);
}

.beginner__note::before {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 1px solid rgba(20, 80, 154, 0.18);
  content: '';
  pointer-events: none;
}

.beginner__note p {
  position: relative;
  margin-bottom: 1.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.beginner__note p:last-child {
  margin-bottom: 0;
}

.story-tease {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.photo-placeholder {
  position: relative;
  margin: 0;
}

.photo-placeholder__surface {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--photo-ratio);
  border: 2px solid var(--blue-deep);
  background:
    linear-gradient(rgba(20, 80, 154, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 80, 154, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, #fdfbf5, #e6eef6);
  background-size: 32px 32px, 32px 32px, auto;
}

.photo-placeholder__surface::before {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border: 1px solid var(--blue-soft);
  content: '';
}

.photo-placeholder__surface::after {
  position: absolute;
  right: -2rem;
  bottom: -1rem;
  width: 65%;
  height: 38%;
  background: url('/decor/porcelain-sprig.svg') right bottom / contain no-repeat;
  content: '';
  opacity: 0.5;
}

.photo-placeholder__tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31%;
  aspect-ratio: 0.76;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.8);
  box-shadow: 0 16px 30px rgba(20, 80, 154, 0.08);
  transform: translate(-50%, -50%) rotate(-5deg);
}

.photo-placeholder__tile::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--blue);
  content: '•';
  font-family: var(--serif);
  font-size: 4rem;
  transform: translate(-50%, -50%);
}

.photo-placeholder__sprig {
  position: absolute;
  top: 12%;
  left: 12%;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 4rem;
  transform: rotate(28deg);
}

.photo-placeholder figcaption {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.photo-placeholder figcaption strong {
  color: var(--blue-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-tease__copy h2 {
  max-width: 9em;
  margin-bottom: 1.5rem;
}

.story-tease__copy p {
  max-width: 39rem;
}

.process {
  position: relative;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4rem;
}

.process::before {
  position: absolute;
  top: 25px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: var(--blue-soft);
  content: '';
}

.process__step {
  position: relative;
  z-index: 1;
  padding-right: 1.4rem;
}

.process__dot {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 1.5rem;
  border: 2px solid var(--blue-deep);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1rem;
}

.process__step h3 {
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.process__step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.availability-tease {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(330px, 1.12fr);
}

.availability-tease__copy h2 {
  max-width: 8.5em;
  margin-bottom: 1.4rem;
}

.calendar-art {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--blue-deep);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  transform: rotate(-0.8deg);
}

.calendar-art::before {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid var(--blue-pale);
  content: '';
  pointer-events: none;
}

.calendar-art__top {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
}

.calendar-art__top strong {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.calendar-art__top span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-art__weekdays,
.calendar-art__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
}

.calendar-art__weekdays {
  margin-bottom: 0.45rem;
  color: var(--blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.calendar-art__day {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(20, 80, 154, 0.13);
  color: var(--muted);
  font-size: 0.78rem;
}

.calendar-art__day.is-open {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 800;
}

.calendar-art__day.is-picked {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

.final-invitation {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: #f7eceb;
}

.final-invitation::before,
.final-invitation::after {
  position: absolute;
  width: 21rem;
  height: 14rem;
  background: url('/decor/porcelain-sprig.svg') center / contain no-repeat;
  content: '';
  opacity: 0.55;
}

.final-invitation::before {
  top: -2rem;
  left: -4rem;
}

.final-invitation::after {
  right: -4rem;
  bottom: -2rem;
  transform: scale(-1);
}

.final-invitation__inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
}

.final-invitation h2 {
  margin-bottom: 1.5rem;
}

.final-invitation p {
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.page-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -2rem;
  width: 23rem;
  height: 15rem;
  background: url('/decor/porcelain-sprig.svg') center / contain no-repeat;
  content: '';
  opacity: 0.45;
}

.page-hero h1 {
  max-width: 9.2em;
  margin-bottom: 1.6rem;
  font-size: clamp(4rem, 8vw, 7.5rem);
}

.page-hero .lede {
  max-width: 45rem;
}

.story-page-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.story-page-copy {
  max-width: 42rem;
}

.story-page-copy h2 {
  margin-bottom: 1.5rem;
}

.story-prompt-list {
  display: grid;
  border-top: 2px solid var(--blue-deep);
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.story-prompt-list li {
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  grid-template-columns: 44px 1fr;
  padding: 1rem 0;
}

.story-prompt-list li::before {
  color: var(--coral);
  content: '✦';
  font-size: 0.8rem;
}

.story-quote {
  position: relative;
  margin: var(--section) auto;
  max-width: 970px;
  padding: 4rem clamp(2rem, 6vw, 5.5rem);
  border-block: 1px solid var(--blue-soft);
  text-align: center;
}

.story-quote p {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.08;
}

.experience-feature {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.experience-feature__row {
  display: grid;
  min-height: 260px;
  align-items: center;
  background: var(--paper);
  gap: 2rem;
  grid-template-columns: 90px minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  padding: clamp(2rem, 5vw, 4rem);
}

.experience-feature__row:nth-child(even) {
  background: #eef4f9;
}

.experience-feature__number {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.experience-feature__row h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.experience-feature__row p {
  max-width: 34rem;
  margin-bottom: 0;
}

.host-note {
  display: grid;
  align-items: center;
  gap: 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
}

.host-note__plate {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 2px solid var(--blue-deep);
  border-radius: 48% 52% 45% 55% / 52% 46% 54% 48%;
  background: var(--paper);
  padding: 4rem;
  text-align: center;
  transform: rotate(-1.5deg);
}

.host-note__plate::before {
  position: absolute;
  top: 13px;
  right: 13px;
  bottom: 13px;
  left: 13px;
  border: 1px solid var(--blue-soft);
  border-radius: inherit;
  content: '';
}

.host-note__plate p {
  position: relative;
  z-index: 1;
  max-width: 13em;
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.preview-notice {
  display: grid;
  border: 1px solid rgba(230, 162, 43, 0.65);
  background: #fff8e8;
  gap: 0.45rem;
  margin-bottom: 2rem;
  padding: 1rem 1.2rem;
}

.preview-notice strong {
  color: #7b5313;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-notice p {
  margin: 0;
  color: #684f2c;
  font-size: 0.93rem;
}

.booking-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.booking-calendar {
  border: 2px solid var(--blue-deep);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.booking-calendar__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
}

.booking-calendar__month {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-swatch {
  width: 13px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.legend-swatch--open {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.legend-swatch--selected {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.calendar-grid__weekday {
  padding: 0.5rem 0;
  color: var(--blue-deep);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid rgba(20, 80, 154, 0.15);
  background: #f7f7f5;
  color: #a1a6ab;
  padding: 0;
  text-align: center;
}

button.calendar-day {
  cursor: pointer;
}

.calendar-day.is-open {
  border-color: var(--blue-soft);
  background: #eff5fa;
  color: var(--blue-deep);
  font-weight: 800;
}

.calendar-day.is-open:hover {
  border-color: var(--blue-deep);
  background: var(--blue-pale);
}

.calendar-day[aria-pressed='true'] {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
}

.calendar-day.is-empty {
  visibility: hidden;
}

.booking-panel {
  position: sticky;
  top: 104px;
  border-left: 4px solid var(--coral);
  background: #f9edeb;
  padding: clamp(1.6rem, 4vw, 2.7rem);
}

.booking-panel h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 3vw, 3.3rem);
}

.selected-date {
  margin-bottom: 1.5rem;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field label span {
  color: var(--coral);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 56, 102, 0.35);
  border-radius: 0;
  background: var(--paper);
  color: var(--text);
  padding: 0.75rem 0.85rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #ad2e2e;
  box-shadow: inset 0 0 0 1px #ad2e2e;
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  color: #8d2323;
  font-size: 0.76rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.success-panel {
  display: none;
  border: 2px solid var(--green);
  background: #f1f6ed;
  padding: 2.3rem;
}

.success-panel[data-visible='true'] {
  display: block;
}

.success-panel h2 {
  color: #355e29;
  margin-bottom: 1rem;
}

.success-panel p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
}

.contact-panel {
  border-top: 2px solid var(--blue-deep);
  padding-top: 2rem;
}

.contact-panel__row {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.contact-panel__row strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.contact-panel__row p {
  margin: 0;
  color: var(--muted);
}

.client-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.client-checklist li {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 1rem 1.8rem;
}

.client-checklist li::before {
  position: absolute;
  top: 1.2rem;
  left: 0;
  color: var(--coral);
  content: '◇';
}

.site-footer {
  border-top: 2px solid var(--blue-deep);
  background: #fffdf9;
}

.site-footer__top {
  display: grid;
  align-items: end;
  gap: 3rem;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr) minmax(150px, 0.5fr);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.site-footer__brand img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  max-width: 18rem;
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.site-footer__invitation h2 {
  max-width: 8em;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.site-footer__nav {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.site-footer__nav a {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-block: 1.2rem;
  font-size: 0.72rem;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.has-js [data-reveal][data-visible='true'] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 32px, 900px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    border-bottom: 2px solid var(--blue-deep);
    background: var(--paper);
    padding: 1rem 20px 1.4rem;
  }

  .site-header[data-open] .site-nav {
    display: grid;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
    font-size: 0.9rem;
  }

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

  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero__brand {
    width: min(620px, 92vw);
    margin-inline: auto;
  }

  .section-intro,
  .story-tease,
  .story-page-grid,
  .availability-tease,
  .booking-layout,
  .contact-grid,
  .host-note {
    grid-template-columns: 1fr;
  }

  .gathering-row {
    grid-template-columns: 62px minmax(200px, 0.8fr) minmax(280px, 1.2fr);
  }

  .gathering-row__examples {
    grid-column: 2 / -1;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0;
  }

  .process::before {
    display: none;
  }

  .process__step {
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
  }

  .booking-panel {
    position: static;
  }

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

  .site-footer__nav {
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, auto);
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100vw - 28px);
    --section: 4.8rem;
  }

  body {
    font-size: 0.98rem;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .wordmark {
    max-width: 210px;
    font-size: 0.87rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero::after {
    right: -7rem;
    bottom: 0;
    opacity: 0.34;
  }

  .hero__grid {
    gap: 2.7rem;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 16vw, 5.3rem);
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__notes {
    grid-template-columns: 1fr;
    margin-top: 2.4rem;
  }

  .hero__notes span {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0;
  }

  .hero__notes span + span {
    border-left: 0;
    padding-left: 0;
  }

  .hero__brand {
    width: min(100%, 500px);
  }

  .section-intro {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .gathering-row {
    min-height: auto;
    gap: 0.8rem;
    grid-template-columns: 42px 1fr;
    padding: 1.6rem 0;
  }

  .gathering-row__number {
    grid-row: 1 / span 3;
  }

  .gathering-row p,
  .gathering-row__examples {
    grid-column: 2;
  }

  .beginner {
    min-height: auto;
    gap: 2.8rem;
    grid-template-columns: 1fr;
  }

  .beginner h2 {
    font-size: clamp(3.5rem, 18vw, 5.8rem);
  }

  .beginner__note {
    transform: none;
  }

  .story-tease {
    gap: 3rem;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process__step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 1rem;
    padding-right: 0;
  }

  .process__dot {
    width: 44px;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .process__step h3,
  .process__step p {
    grid-column: 2;
  }

  .availability-tease {
    gap: 2.5rem;
  }

  .calendar-art {
    transform: none;
  }

  .final-invitation::before,
  .final-invitation::after,
  .page-hero::after {
    opacity: 0.25;
  }

  .page-hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.6rem);
  }

  .story-quote {
    margin-block: 4rem;
    padding-inline: 0.5rem;
  }

  .experience-feature__row {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1.4rem;
  }

  .experience-feature__number {
    font-size: 0.88rem;
  }

  .host-note__plate {
    min-height: 340px;
    padding: 2.8rem 2rem;
  }

  .booking-calendar {
    padding: 1rem;
  }

  .booking-calendar__head {
    align-items: start;
    flex-direction: column;
  }

  .calendar-grid {
    gap: 0.28rem;
  }

  .calendar-grid__weekday {
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .calendar-day {
    min-height: 42px;
    aspect-ratio: auto;
    font-size: 0.82rem;
  }

  .client-checklist {
    grid-template-columns: 1fr;
  }

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

  .site-footer__brand img {
    width: 125px;
    height: 125px;
  }

  .site-footer__nav {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   THE SMALL TOWN MAHJ TABLETOP
   Permanent frame, mat, rack and physical-object primitives
   ========================================================= */

:root {
  --table-cobalt: #062b67;
  --table-cobalt-deep: #031d4d;
  --paint-blue: #124d98;
  --paint-blue-mid: #4f83b9;
  --porcelain: #fffaf0;
  --porcelain-warm: #f4ebdb;
  --paint-green: #527844;
  --paint-coral: #e86f61;
  --paint-orange: #e78f25;
  --frame-size: clamp(16px, 2.3vw, 34px);
}

body {
  padding: var(--frame-size);
  background-color: #faf7ee;
  background-image:
    radial-gradient(ellipse at 50% 30%, rgba(18, 77, 152, 0.94) 0 4px, transparent 4.7px),
    radial-gradient(ellipse at 70% 50%, rgba(79, 131, 185, 0.9) 0 4px, transparent 4.8px),
    radial-gradient(ellipse at 50% 70%, rgba(18, 77, 152, 0.9) 0 4px, transparent 4.8px),
    radial-gradient(ellipse at 30% 50%, rgba(79, 131, 185, 0.88) 0 4px, transparent 4.8px),
    radial-gradient(circle at 50% 50%, var(--paint-orange) 0 2px, var(--paint-blue) 2.4px 4px, transparent 4.6px),
    radial-gradient(circle at 11% 13%, rgba(82, 120, 68, 0.82) 0 2px, transparent 2.8px),
    radial-gradient(circle at 86% 84%, rgba(232, 111, 97, 0.75) 0 1.7px, transparent 2.5px),
    linear-gradient(92deg, transparent 46%, rgba(18, 77, 152, 0.12) 47%, transparent 50%);
  background-size: 58px 58px, 58px 58px, 58px 58px, 58px 58px, 58px 58px, 58px 58px, 58px 58px, 58px 58px;
  background-position: 0 1px, -1px 0, 1px -1px, 0 1px, 0 0, 0 0, 0 0, 0 0;
}

.tabletop-shell {
  position: relative;
  min-height: calc(100svh - (var(--frame-size) * 2));
  overflow: clip;
  border: 3px solid var(--paint-blue);
  background-color: var(--table-cobalt);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(76, 128, 190, 0.16), transparent 30rem),
    radial-gradient(circle at 85% 38%, rgba(0, 15, 52, 0.22), transparent 34rem),
    repeating-linear-gradient(73deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(2deg, rgba(0, 0, 0, 0.016) 0 1px, transparent 1px 4px);
  box-shadow:
    0 0 0 5px var(--porcelain-warm),
    0 0 0 8px var(--paint-blue),
    0 14px 42px rgba(2, 25, 64, 0.28),
    inset 0 0 70px rgba(0, 13, 45, 0.38);
}

.tabletop-shell::before {
  position: absolute;
  z-index: 90;
  inset: 7px;
  border: 1px dotted rgba(255, 250, 240, 0.34);
  content: '';
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: var(--frame-size);
  border: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 16px 0 4px;
}

.site-header__inner {
  min-height: 72px;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 3rem);
}

.table-signature {
  display: grid;
  flex: 0 0 auto;
  margin-top: 9px;
  color: var(--porcelain);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 12, 36, 0.35);
  text-transform: uppercase;
}

.table-signature strong {
  margin-top: 5px;
  color: #efb441;
  font-family: var(--sans);
  font-size: 0.94rem;
  letter-spacing: 0.4em;
}

.site-nav {
  position: relative;
  display: block;
  margin-left: auto;
  padding: 7px 10px 15px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 7px 7px 3px 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(90deg, #041d4c, #0b3a77 45%, #041b49);
  box-shadow: 0 13px 24px rgba(0, 13, 39, 0.3), inset 0 1px rgba(255, 255, 255, 0.08);
}

.site-nav ul {
  position: relative;
  z-index: 2;
  gap: clamp(5px, 0.7vw, 10px);
}

.site-nav li {
  display: flex;
}

.site-nav .rack-tile {
  display: grid;
  min-width: clamp(74px, 7.2vw, 98px);
  min-height: 43px;
  place-items: center;
  border: 1px solid rgba(18, 77, 152, 0.55);
  border-radius: 5px 5px 4px 4px;
  background:
    linear-gradient(104deg, transparent 0 22%, rgba(255, 255, 255, 0.78) 29%, transparent 36%),
    linear-gradient(180deg, #fffdf6, #eee4d3);
  box-shadow:
    0 3px 0 #c9baa3,
    0 6px 8px rgba(0, 12, 40, 0.27),
    inset 0 0 0 3px rgba(255, 255, 255, 0.42);
  color: var(--table-cobalt-deep);
  font-family: var(--sans);
  font-size: clamp(0.66rem, 0.72vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transform: translateY(0) rotate(calc((var(--tile-index) - 2) * 0.12deg));
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-nav .rack-tile::before,
.site-nav .rack-tile::after {
  display: none;
}

.site-nav .rack-tile:hover {
  color: var(--paint-blue);
  transform: translateY(2px) rotate(0deg);
}

.site-nav .rack-tile[aria-current='page'] {
  color: var(--paint-blue);
  transform: translateY(6px) rotate(0deg);
  box-shadow:
    0 1px 0 #c9baa3,
    0 3px 5px rgba(0, 12, 40, 0.22),
    inset 0 0 0 2px rgba(232, 143, 37, 0.35);
}

.rack-rail {
  position: absolute;
  z-index: 3;
  right: -6px;
  bottom: 5px;
  left: -6px;
  height: 8px;
  border: 1px solid #102c55;
  border-radius: 2px 2px 5px 5px;
  background: linear-gradient(180deg, #356296, #071f4d 70%);
  box-shadow: 0 4px 7px rgba(0, 9, 30, 0.4), inset 0 1px rgba(255, 255, 255, 0.22);
}

.nav-toggle__face {
  display: grid;
  width: 28px;
  height: 36px;
  grid-template-columns: repeat(2, 5px);
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(18, 77, 152, 0.65);
  border-radius: 4px;
  background: var(--porcelain);
  box-shadow: 0 3px 0 #c8baa5, 0 7px 12px rgba(0, 10, 35, 0.28);
}

.nav-toggle__face i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paint-blue);
}

.tabletop-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - 112px - (var(--frame-size) * 2));
  align-items: center;
  overflow: clip;
  padding: clamp(2.8rem, 5vw, 5.4rem) 0 clamp(5rem, 7vw, 7rem);
}

.hero-stage {
  position: relative;
  min-height: clamp(600px, 72vh, 790px);
}

.hero-tile {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(850px, 78vw);
  min-height: clamp(490px, 61vh, 650px);
  grid-template-columns: minmax(0, 1fr) clamp(140px, 17vw, 205px);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  border: 2px solid rgba(18, 77, 152, 0.72);
  border-radius: 15px 13px 16px 12px;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 81% 80%, rgba(210, 190, 157, 0.2), transparent 33%),
    repeating-linear-gradient(86deg, rgba(18, 77, 152, 0.012) 0 1px, transparent 1px 7px),
    var(--porcelain);
  box-shadow:
    0 8px 0 #d2c2a9,
    0 11px 0 rgba(6, 32, 76, 0.5),
    0 40px 65px rgba(0, 13, 44, 0.38),
    inset 0 0 0 7px rgba(79, 131, 185, 0.12),
    inset 0 0 42px rgba(165, 137, 97, 0.11);
  padding: clamp(2.4rem, 5vw, 5.5rem);
  transform: translate(-50%, -50%) rotate(-0.8deg);
}

.hero-tile::before,
.hero-tile::after {
  position: absolute;
  width: 72px;
  height: 72px;
  border-color: var(--paint-blue-mid);
  content: '';
  opacity: 0.65;
}

.hero-tile::before {
  top: 17px;
  left: 17px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 12px 0 0;
}

.hero-tile::after {
  right: 17px;
  bottom: 17px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 12px;
}

.hero-tile__copy {
  position: relative;
  z-index: 2;
}

.hero-tile .eyebrow {
  max-width: 27rem;
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
  color: var(--paint-blue);
}

.hero-tile h1 {
  max-width: none;
  margin: 0 0 clamp(1.4rem, 3vh, 2.2rem);
  color: var(--table-cobalt-deep);
  font-size: clamp(3.8rem, 6.4vw, 7.4rem);
  letter-spacing: -0.055em;
  line-height: 0.83;
  text-wrap: initial;
}

.hero-tile h1 span {
  display: block;
}

.hero-tile h1 span + span {
  margin-top: 0.14em;
  padding-left: 0.43em;
}

.hero-tile h1 em {
  position: relative;
  color: var(--paint-blue);
  font-style: italic;
  white-space: nowrap;
}

.hero-tile h1 em::after {
  position: absolute;
  right: -0.03em;
  bottom: -0.04em;
  left: 0.08em;
  height: 4px;
  border-radius: 50%;
  background: var(--paint-coral);
  content: '';
  opacity: 0.78;
  transform: rotate(-1.5deg);
}

.hero-tile__intro {
  max-width: 39rem;
  margin: 0 0 clamp(1.8rem, 3.2vh, 2.5rem);
  color: #314b68;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.65;
}

.hero-action {
  position: relative;
  display: inline-flex;
  min-width: 178px;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #08285c;
  border-radius: 6px 5px 7px 4px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 25%),
    var(--paint-blue);
  box-shadow: 0 5px 0 #06214f, 0 10px 18px rgba(4, 29, 69, 0.22), inset 0 0 0 3px rgba(255, 255, 255, 0.1);
  color: var(--porcelain);
  gap: 1.2rem;
  padding: 0.9rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-action i {
  color: #efb441;
  font-size: 1.35rem;
  font-style: normal;
  line-height: 1;
}

.hero-action:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #06214f, 0 6px 12px rgba(4, 29, 69, 0.18), inset 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.hero-maker-mark {
  position: relative;
  z-index: 2;
  align-self: start;
  width: 100%;
  margin: 0;
  border: 1px solid rgba(18, 77, 152, 0.38);
  border-radius: 8px 7px 9px 6px;
  background: #fff;
  box-shadow: 0 4px 0 #d7c9b3, 0 11px 22px rgba(11, 48, 91, 0.15);
  padding: 8px;
  transform: rotate(2.2deg);
}

.hero-maker-mark img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero-tile__side-note {
  position: absolute;
  right: 20px;
  top: 50%;
  bottom: auto;
  margin: 0;
  color: rgba(18, 77, 152, 0.55);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.hero-tile__ornament {
  position: absolute;
  z-index: 1;
  color: var(--paint-blue-mid);
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0.6;
}

.hero-tile__ornament--top {
  top: 28px;
  right: 28px;
}

.hero-tile__ornament--bottom {
  bottom: 28px;
  left: 28px;
}

.hero-free-type {
  position: absolute;
  z-index: 4;
  right: 1.5%;
  bottom: 1.6%;
  display: flex;
  gap: 1rem;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.hero-free-type span + span::before {
  margin-right: 1rem;
  color: #efb441;
  content: '•';
}

.mahj-piece {
  position: absolute;
  z-index: 2;
  display: grid;
  width: clamp(58px, 5.5vw, 78px);
  aspect-ratio: 0.73;
  place-content: center;
  border: 1px solid rgba(18, 77, 152, 0.6);
  border-radius: 7px 6px 8px 5px;
  background:
    radial-gradient(circle at 20% 13%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(150deg, #fffdf6, #eee4d2);
  box-shadow:
    0 5px 0 #c8b89f,
    0 8px 0 rgba(3, 24, 62, 0.5),
    0 18px 25px rgba(0, 12, 40, 0.34),
    inset 0 0 0 4px rgba(255, 255, 255, 0.5);
  color: var(--paint-blue);
  transform: rotate(var(--rest-r, 0deg));
}

.mahj-piece--one { top: 2%; left: 3%; }
.mahj-piece--two { top: 2%; right: 5%; }
.mahj-piece--three { bottom: 9%; left: 3.5%; }
.mahj-piece--four { z-index: 4; right: 8%; bottom: 5%; }
.mahj-piece--five { top: 43%; right: 0.5%; }
.mahj-piece--six { z-index: 4; bottom: 0; left: 23%; }

.mahj-piece--dots {
  grid-template-columns: repeat(2, 13px);
  gap: 9px;
}

.mahj-piece--dots i {
  width: 13px;
  height: 13px;
  border: 2px solid var(--paint-blue);
  border-radius: 50%;
  background: var(--paint-coral);
  box-shadow: inset 0 0 0 2px var(--porcelain);
}

.mahj-piece--dots i:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  background: var(--paint-green);
}

.mahj-piece--bamboo {
  grid-auto-flow: column;
  gap: 6px;
}

.mahj-piece--bamboo i {
  position: relative;
  width: 8px;
  height: 45px;
  border-radius: 50%;
  background: var(--paint-green);
  transform: rotate(5deg);
}

.mahj-piece--bamboo i::before,
.mahj-piece--bamboo i::after {
  position: absolute;
  left: -2px;
  width: 12px;
  height: 3px;
  border-radius: 50%;
  background: var(--paint-blue);
  content: '';
}

.mahj-piece--bamboo i::before { top: 13px; }
.mahj-piece--bamboo i::after { bottom: 12px; }
.mahj-piece--bamboo i:nth-child(2) { background: var(--paint-coral); transform: rotate(-3deg); }

.mahj-piece--flower i {
  color: var(--paint-coral);
  font-family: var(--serif);
  font-size: 3.3rem;
  font-style: normal;
  text-shadow: 0 0 0 var(--paint-blue);
}

.mahj-piece--back {
  border-color: var(--porcelain);
  background-color: var(--paint-blue);
  background-image:
    radial-gradient(circle, var(--porcelain) 0 2px, transparent 2.5px),
    linear-gradient(45deg, transparent 43%, rgba(255, 255, 255, 0.55) 44% 48%, transparent 49%);
  background-size: 16px 16px, 24px 24px;
}

.mahj-piece--back i {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 240, 0.75);
  transform: rotate(45deg);
}

.mahj-piece--single i {
  width: 30px;
  height: 30px;
  border: 5px double var(--paint-blue);
  border-radius: 50%;
  background: var(--paint-orange);
  box-shadow: inset 0 0 0 4px var(--porcelain);
}

.mahj-piece--petal i {
  position: relative;
  width: 42px;
  height: 42px;
  border: 3px solid var(--paint-blue);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.mahj-piece--petal i::after {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paint-green);
  content: '';
}

/* Placement and reveal primitives are intentionally generic for later chapters. */
.has-js [data-deal] {
  opacity: 0;
  transform: translate(var(--deal-x, 0), var(--deal-y, -60px)) rotate(var(--deal-r, 0deg));
  transition:
    opacity 520ms ease var(--deal-delay, 0ms),
    transform 880ms cubic-bezier(0.2, 0.72, 0.25, 1) var(--deal-delay, 0ms);
}

.has-js [data-deal][data-visible='true'] {
  opacity: 1;
  transform: translate(0, 0) rotate(var(--rest-r, 0deg));
}

.has-js [data-place] {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 34px)) rotate(-2deg);
  transition:
    opacity 620ms ease var(--place-delay, 0ms),
    transform 1000ms cubic-bezier(0.2, 0.72, 0.25, 1) var(--place-delay, 0ms);
}

.has-js [data-place][data-visible='true'] {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-0.8deg);
}

.has-js [data-draw] {
  opacity: 0;
  transform: translateY(-20px) rotate(5deg);
  transition: opacity 500ms ease 520ms, transform 760ms cubic-bezier(0.2, 0.72, 0.25, 1) 520ms;
}

.has-js [data-draw][data-visible='true'] {
  opacity: 1;
  transform: translateY(0) rotate(2.2deg);
}

.has-js [data-brush] {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 350ms ease 700ms, clip-path 900ms cubic-bezier(0.2, 0.72, 0.25, 1) 700ms;
}

.has-js [data-brush][data-visible='true'] {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

@media (min-width: 1440px) {
  .hero-tile {
    width: min(940px, 72vw);
  }

  .mahj-piece--one { left: 7%; }
  .mahj-piece--two { right: 9%; }
  .mahj-piece--three { left: 8%; }
  .mahj-piece--five { right: 4%; }
}

@media (max-width: 980px) {
  :root {
    --frame-size: 14px;
  }

  .site-header {
    top: var(--frame-size);
    padding: 10px 0 0;
  }

  .site-header__inner {
    min-height: 62px;
    align-items: center;
  }

  .table-signature {
    margin-top: 0;
  }

  .nav-toggle {
    display: inline-flex;
    color: var(--porcelain);
  }

  .nav-toggle__label {
    color: var(--porcelain);
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: auto;
    display: none;
    width: min(320px, calc(100vw - 52px));
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 10px 6px 18px 18px;
  }

  .site-header[data-open] .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 8px;
  }

  .site-nav li {
    display: block;
  }

  .site-nav .rack-tile {
    width: 100%;
    min-height: 51px;
    justify-content: start;
    border-bottom: 1px solid rgba(18, 77, 152, 0.5);
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    opacity: 0;
    transform: translateX(25px) rotate(1deg);
  }

  .site-header[data-open] .rack-tile {
    animation: rack-deal 440ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
    animation-delay: calc(var(--tile-index) * 55ms);
  }

  .site-nav .rack-tile[aria-current='page'] {
    transform: translateX(-7px) rotate(-0.5deg);
  }

  .rack-rail {
    z-index: -1;
    top: 4px;
    right: 0;
    bottom: 4px;
    left: 5px;
    width: 13px;
    height: auto;
    border-radius: 5px 2px 2px 5px;
  }

  .tabletop-hero {
    min-height: calc(100svh - 76px - (var(--frame-size) * 2));
    padding-top: 1rem;
  }

  .hero-stage {
    min-height: clamp(650px, 76vh, 760px);
  }

  .hero-tile {
    width: min(760px, 86vw);
    min-height: 540px;
    grid-template-columns: minmax(0, 1fr) 145px;
    padding: clamp(2.7rem, 6vw, 4.5rem);
  }

  .hero-tile h1 {
    font-size: clamp(3.6rem, 8.4vw, 5.8rem);
  }

  .hero-tile h1 span + span {
    padding-left: 0.2em;
  }
}

@keyframes rack-deal {
  from { opacity: 0; transform: translateX(25px) rotate(1deg); }
  to { opacity: 1; transform: translateX(0) rotate(0deg); }
}

@media (max-width: 680px) {
  :root {
    --frame-size: 8px;
    --shell: calc(100vw - 34px);
  }

  body {
    padding: var(--frame-size);
    background-size: 34px 34px;
  }

  .tabletop-shell {
    min-height: calc(100svh - 16px);
    border-width: 2px;
    box-shadow: 0 0 0 2px var(--porcelain-warm), 0 0 0 4px var(--paint-blue), inset 0 0 45px rgba(0, 13, 45, 0.36);
  }

  .tabletop-shell::before {
    inset: 4px;
    opacity: 0.65;
  }

  .site-header {
    top: 8px;
  }

  .site-header__inner {
    width: calc(100vw - 44px);
  }

  .table-signature {
    font-size: 0.61rem;
  }

  .table-signature strong {
    font-size: 0.8rem;
  }

  .nav-toggle {
    gap: 0.5rem;
  }

  .nav-toggle__label {
    font-size: 0.64rem;
  }

  .site-nav {
    right: -2px;
    width: min(300px, calc(100vw - 42px));
  }

  .tabletop-hero {
    min-height: 760px;
    padding: 0.5rem 0 4rem;
  }

  .hero-stage {
    width: calc(100vw - 38px);
    min-height: 710px;
  }

  .hero-tile {
    top: 48%;
    width: calc(100% - 12px);
    min-height: 590px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
    border-radius: 11px 9px 12px 8px;
    padding: 3.25rem 1.5rem 8.7rem;
  }

  .has-js [data-place] {
    transform: translate(-50%, calc(-48% - 28px)) rotate(-1.4deg);
  }

  .has-js [data-place][data-visible='true'] {
    transform: translate(-50%, -48%) rotate(-0.45deg);
  }

  .hero-tile::before,
  .hero-tile::after {
    width: 48px;
    height: 48px;
  }

  .hero-tile .eyebrow {
    max-width: 17rem;
    margin-bottom: 1.35rem;
    font-size: 0.65rem;
    line-height: 1.45;
  }

  .hero-tile h1 {
    margin-bottom: 1.55rem;
    font-size: clamp(3.1rem, 14.4vw, 4.45rem);
    line-height: 0.87;
  }

  .hero-tile h1 span + span {
    margin-top: 0.16em;
    padding-left: 0;
  }

  .hero-tile__intro {
    max-width: 29rem;
    margin-bottom: 1.75rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-action {
    min-width: 170px;
    min-height: 58px;
  }

  .hero-maker-mark {
    position: absolute;
    right: 1.65rem;
    bottom: 1.55rem;
    width: 92px;
    padding: 5px;
    transform: rotate(2deg);
  }

  .has-js [data-draw] {
    transform: translateY(-15px) rotate(5deg);
  }

  .has-js [data-draw][data-visible='true'] {
    transform: translateY(0) rotate(2deg);
  }

  .hero-tile__side-note {
    right: auto;
    top: auto;
    bottom: 3.5rem;
    left: 1.55rem;
    max-width: 8.5rem;
    font-size: 0.48rem;
    line-height: 1.5;
    transform: none;
    writing-mode: initial;
  }

  .hero-tile__ornament--top {
    top: 21px;
    right: 21px;
  }

  .hero-tile__ornament--bottom {
    bottom: 22px;
    left: 21px;
  }

  .mahj-piece {
    width: 48px;
    border-radius: 5px;
  }

  .mahj-piece--one { z-index: 4; top: 2%; left: 1%; }
  .mahj-piece--two { top: 1%; right: 2%; }
  .mahj-piece--three { z-index: 4; bottom: 5%; left: 1%; }
  .mahj-piece--four { right: 1%; bottom: 4%; }
  .mahj-piece--five,
  .mahj-piece--six { display: none; }

  .mahj-piece--dots {
    grid-template-columns: repeat(2, 10px);
    gap: 6px;
  }

  .mahj-piece--dots i {
    width: 10px;
    height: 10px;
  }

  .mahj-piece--bamboo i {
    width: 6px;
    height: 34px;
  }

  .mahj-piece--flower i {
    font-size: 2.7rem;
  }

  .hero-free-type {
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    gap: 0;
    font-size: 0.54rem;
    text-align: center;
  }

  .hero-free-type span:nth-child(2) {
    display: none;
  }

  .promise-band {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 390px) {
  .hero-tile {
    min-height: 575px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-tile h1 {
    font-size: clamp(2.95rem, 14.2vw, 3.45rem);
  }

  .hero-tile__intro {
    font-size: 0.96rem;
  }

  .hero-maker-mark {
    right: 1.25rem;
    width: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js [data-deal],
  .has-js [data-place],
  .has-js [data-draw],
  .has-js [data-brush] {
    opacity: 1;
    clip-path: none;
  }

  .has-js [data-deal] {
    transform: rotate(var(--rest-r, 0deg));
  }

  .has-js [data-place] {
    transform: translate(-50%, -50%) rotate(-0.8deg);
  }
}
