:root {
  --ink: #26372f;
  --ink-soft: #657168;
  --paper: #f4eee4;
  --paper-light: #fbf8f2;
  --olive: #5f7458;
  --olive-dark: #3f5642;
  --copper: #a86f46;
  --rose: #c88791;
  --gold: #d7aa58;
  --line: rgba(50, 67, 57, 0.18);
  --shadow: 0 22px 70px rgba(49, 59, 48, 0.13);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--paper); }

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 7%, rgba(200, 135, 145, 0.15), transparent 27rem),
    radial-gradient(circle at 88% 92%, rgba(95, 116, 88, 0.16), transparent 30rem),
    linear-gradient(135deg, var(--paper-light), var(--paper));
}

a { color: inherit; }

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  width: min(100%, 1180px);
  min-height: 100svh;
  margin-inline: auto;
  padding: max(2rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 1rem;
  border: 1px solid var(--line);
  pointer-events: none;
}

.masthead {
  width: 100%;
  padding: clamp(1rem, 4vh, 3.25rem) 0 clamp(1.5rem, 4vh, 3.25rem);
  text-align: center;
}

.eyebrow,
.place,
.choice small,
footer {
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--copper);
  font-size: clamp(0.68rem, 1.3vw, 0.78rem);
  font-weight: 750;
}

h1 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(0.6rem, 2.2vw, 1.5rem);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 10vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

h1 i {
  color: var(--rose);
  font-size: 0.48em;
  font-weight: 400;
  letter-spacing: 0;
}

.place {
  margin: 1.1rem 0 0;
  color: var(--olive);
  font-size: clamp(0.68rem, 1.4vw, 0.82rem);
  font-weight: 700;
}

.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(13rem, 55vw);
  margin: 1.2rem auto 0.8rem;
  color: var(--gold);
}

.flourish span { flex: 1; height: 1px; background: currentColor; opacity: 0.65; }
.flourish b { font-size: 0.72rem; }

.welcome {
  margin: 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: min(100%, 980px);
  margin-inline: auto;
}

.choice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  min-height: clamp(10.5rem, 20vw, 14rem);
  padding: clamp(1.35rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(45, 63, 52, 0.14);
  border-radius: 1.35rem;
  background: rgba(251, 248, 242, 0.82);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.choice::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4.5rem;
  width: 10rem;
  height: 10rem;
  border: 2.5rem solid rgba(95, 116, 88, 0.07);
  border-radius: 50%;
}

.choice-photos::after { border-color: rgba(200, 135, 145, 0.09); }

.choice:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 111, 70, 0.45);
  box-shadow: 0 28px 80px rgba(49, 59, 48, 0.18);
}

.choice:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.choice-number {
  display: grid;
  place-items: center;
  width: clamp(2.75rem, 6vw, 3.8rem);
  aspect-ratio: 1;
  border: 1px solid rgba(95, 116, 88, 0.35);
  border-radius: 50%;
  color: var(--olive);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.choice-photos .choice-number { border-color: rgba(200, 135, 145, 0.6); color: #a75f6b; }

.choice-copy { position: relative; z-index: 1; display: grid; gap: 0.48rem; }

.choice-copy small {
  color: var(--copper);
  font-size: 0.66rem;
  font-weight: 800;
}

.choice-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.choice-copy > span {
  color: var(--ink-soft);
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  line-height: 1.45;
}

.arrow {
  position: relative;
  z-index: 1;
  color: var(--copper);
  font-size: clamp(1.5rem, 3vw, 2rem);
  transition: transform 180ms ease;
}

.choice:hover .arrow { transform: translateX(0.3rem); }

footer {
  padding: clamp(1.5rem, 4vh, 3rem) 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
}

.botanical {
  position: absolute;
  z-index: -1;
  width: 17rem;
  height: 22rem;
  opacity: 0.15;
  pointer-events: none;
}

.botanical-left { left: -9rem; bottom: -4rem; transform: rotate(-19deg); }
.botanical-right { top: -7rem; right: -8rem; transform: rotate(158deg); }

.botanical::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--olive-dark);
  transform: rotate(11deg);
  transform-origin: bottom;
}

.botanical span {
  position: absolute;
  left: calc(50% - 4.5rem);
  width: 5.2rem;
  height: 2.2rem;
  border-radius: 100% 0 100% 0;
  background: var(--olive);
  transform: rotate(28deg);
}

.botanical span:nth-child(1) { top: 12%; }
.botanical span:nth-child(2) { top: 29%; left: 50%; transform: rotate(155deg); }
.botanical span:nth-child(3) { top: 47%; }
.botanical span:nth-child(4) { top: 64%; left: 50%; transform: rotate(155deg); }
.botanical span:nth-child(5) { top: 79%; }

@media (max-width: 720px) {
  .page-shell { align-items: stretch; padding-inline: max(1rem, env(safe-area-inset-right)); }
  .page-shell::before { inset: 0.65rem; }
  .masthead { padding-top: clamp(1.5rem, 7vh, 3.75rem); }
  h1 { font-size: clamp(3.15rem, 17vw, 5.6rem); }
  .choices { grid-template-columns: 1fr; align-content: center; }
  .choice { min-height: 8.4rem; border-radius: 1.1rem; }
  .choice-copy > span { max-width: 18rem; }
  .botanical { width: 13rem; height: 17rem; }
}

@media (max-width: 390px) {
  .choice { grid-template-columns: auto minmax(0, 1fr); padding: 1.15rem; }
  .arrow { display: none; }
  .choice-copy strong { font-size: 1.35rem; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .page-shell { grid-template-columns: minmax(15rem, 0.8fr) minmax(28rem, 1.4fr); grid-template-rows: 1fr auto; gap: 1.5rem; }
  .masthead { padding: 1rem 0 1rem 1rem; }
  h1 { font-size: clamp(3rem, 9vw, 5rem); }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice { min-height: 9.5rem; padding: 1.3rem; }
  footer { grid-column: 1 / -1; padding: 0; }
}

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