@font-face {
  font-family: "Lella Intro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Italianno-400-normal.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --cream: #fff8ed;
  --teal: #064753;
  --gold: #b28b35;
  --muted: #51666b;
  --line: rgba(6, 71, 83, .2);
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--teal);
  background: var(--cream);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .25em; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.skip-link { position: absolute; top: -150px; left: 16px; z-index: 5; padding: 14px 18px; background: var(--cream); color: var(--teal); }
.skip-link:focus { top: 12px; }
.page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.welcome { background: var(--teal); color: var(--cream); display: flex; align-items: center; flex: 1 0 auto; }
.welcome-inner { width: min(100%, 460px); margin-inline: auto; text-align: center; padding: max(28px, env(safe-area-inset-top)) 24px 32px; }
.brand { display: inline-block; line-height: 0; }
.brand:focus-visible { outline-color: var(--cream); outline-offset: 8px; }
.brand img { display: block; width: 126px; height: auto; }
h1 { margin: 18px 0 0; font-family: Didot, "Bodoni MT", Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.2; font-weight: 400; }
h1 > span { display: block; margin-top: 2px; font-size: 72px; line-height: .98; letter-spacing: -.04em; }
.welcome-note { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
main, footer { width: min(100%, 460px); margin-inline: auto; padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); }
main { padding-top: 27px; padding-bottom: 8px; }
.selection-heading { margin-bottom: 19px; }
h2 { margin: 0; font-family: Didot, "Bodoni MT", Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1.25; font-weight: 400; letter-spacing: -.025em; }
.selection-heading > p { margin: 4px 0 0; color: var(--teal); font-size: 20px; line-height: 1.35; font-weight: 600; }
.choices { display: grid; gap: 12px; }
.choice { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 21px; border: 1px solid var(--teal); border-radius: 3px; font-size: 20px; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background-color 180ms ease, color 180ms ease; -webkit-tap-highlight-color: rgba(6, 71, 83, .15); }
.choice.primary { background: var(--teal); color: var(--cream); }
.choice .arrow { font-size: 26px; line-height: 1; font-weight: 400; flex: 0 0 auto; }
.choice small { display: block; margin-top: 3px; font-size: 18px; font-weight: 600; }
.choice:active { background: #e6e7db; }
.choice.primary:active { background: #0b5d68; }
footer { padding-top: 13px; padding-bottom: max(17px, env(safe-area-inset-bottom)); }
.footer-link { min-height: 48px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 8px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; text-decoration: none; }
.cross-translation { color: var(--teal); font-size: 18px; font-weight: 600; }
.footer-brand { margin: 8px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (hover: hover) {
  .choice:hover { background: #e6e7db; }
  .choice.primary:hover { background: #0b5d68; }
  .footer-link:hover { text-decoration: underline; }
}
@media (max-width: 359px) {
  main, footer { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  h2 { font-size: 26px; }
}
@media (max-height: 690px) and (max-width: 759px) {
  .welcome-inner { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 20px; }
  .brand img { width: 90px; }
  h1 { margin-top: 10px; font-size: 23px; }
  h1 > span { font-size: 56px; }
  .welcome-note { margin-top: 10px; }
  main { padding-top: 20px; }
  .selection-heading { margin-bottom: 14px; }
  .choice { min-height: 60px; padding-block: 13px; }
  footer { padding-top: 8px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .footer-brand { margin-top: 3px; }
}
@media (min-width: 760px) {
  .page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 1fr); grid-template-rows: 1fr auto 1fr; }
  .welcome { grid-column: 1; grid-row: 1 / 4; }
  .welcome-inner { padding: 40px; }
  .brand img { width: 170px; }
  h1 { margin-top: 26px; font-size: 34px; }
  h1 > span { font-size: 92px; }
  .welcome-note { margin-top: 22px; }
  main { grid-column: 2; grid-row: 2; padding-inline: 32px; padding-block: 0; }
  footer { grid-column: 2; grid-row: 3; padding-inline: 32px; padding-top: 22px; }
  .selection-heading { display: block; margin-bottom: 28px; }
  h2 { font-size: 38px; }
  .selection-heading > p { font-size: 22px; margin-top: 7px; }
  .choice { min-height: 78px; }
  .footer-brand { margin-top: 20px; }
}
@media (min-width: 760px) and (max-height: 520px) {
  .welcome-inner { padding: 20px; }
  .brand img { width: 100px; }
  h1 { margin-top: 12px; font-size: 26px; }
  h1 > span { font-size: 62px; }
  .welcome-note { margin-top: 12px; }
  .selection-heading { margin-bottom: 16px; }
  h2 { font-size: 30px; }
  .choice { min-height: 62px; padding-block: 12px; }
  footer { padding-top: 12px; }
}
.intro { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; background: var(--teal); color: var(--cream); }
.intro-content { text-align: center; padding: 24px; }
.intro-logo { display: block; width: 112px; height: auto; margin: 0 auto 23px; }
.intro-greeting { margin: 0; font-family: Didot, "Bodoni MT", Georgia, serif; font-size: 26px; line-height: 1.3; }
.intro-word { margin: 0; padding: 0 .12em; font-family: "Lella Intro", cursive; font-weight: 400; font-size: clamp(110px, 26vw, 190px); line-height: 1.1; }
@keyframes intro-write {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes intro-content-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-content-out {
  to { opacity: 0; transform: translateY(-24px); }
}
@keyframes intro-out {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}
@keyframes intro-page-in {
  from { opacity: .5; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-active .intro { display: flex; animation: intro-out 450ms ease 1000ms both; }
  .intro-active .intro-content { animation: intro-content-out 300ms ease 1000ms both; }
  .intro-active .intro-logo, .intro-active .intro-greeting { animation: intro-content-in 450ms ease both; }
  .intro-active .intro-word { animation: intro-write 850ms cubic-bezier(.22, 1, .36, 1) both; }
  .intro-active .page { animation: intro-page-in 450ms ease 1000ms both; }
}
@media (max-height: 450px) {
  .intro-logo { width: 74px; margin-bottom: 10px; }
  .intro-greeting { font-size: 22px; }
  .intro-word { font-size: 100px; }
}
@media (prefers-reduced-motion: reduce) { .choice { transition: none; } }
@media (forced-colors: active) {
  .welcome { background: Canvas; color: CanvasText; border-bottom: 1px solid CanvasText; }
  .brand:focus-visible { outline-color: Highlight; }
  .choice, .choice.primary { color: LinkText; border-color: LinkText; }
}
