@font-face {
  font-family: Avenir;
  src: url('/assets/5582a9e94d609daf29cc-avenir-lt-w01_35-light1475496.woff2') format('woff2');
  font-weight: 300 400;
  font-display: swap;
}
@font-face {
  font-family: Avenir;
  src: url('/assets/5b2e517c96843c61f148-avenir-lt-w01_85-heavy1475544.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Didot;
  src: url('/assets/372a3697fd442424d58a-didot-w01-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: dark;
  background: #1b1b1b;
  color: #fff;
  font-family: Avenir, Arial, sans-serif;
  font-size: clamp(14px, 2svh, 18px);
  line-height: 1.8;
  --gutter: clamp(20px, 5vw, 40px);
  --logo-width: min(120px, 13.333333svh);
  --logo-height: calc(var(--logo-width) * 530 / 557);
  --divider-length: 29.333333svh;
  --section-gap: 18svh;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
p, h1, h2, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #eccac8; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 8px 16px; background: #fff; color: #1b1b1b; z-index: 1; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
#PAGES_CONTAINER { text-align: center; }
#tepan-opening { display: flex; flex-direction: column; align-items: center; padding-top: calc(50svh - var(--logo-height) / 2); }
#tepan-opening img { display: block; width: var(--logo-width); height: var(--logo-height); }
.vertical-line { width: 0; height: var(--divider-length); border-left: 1px solid #bababa; margin: var(--section-gap) auto; }
h1, h2 { font-size: clamp(16px, 2.222222svh, 20px); line-height: 1.2; font-weight: 700; letter-spacing: .2em; }
.about { margin-inline: auto; padding-inline: var(--gutter); max-width: 980px; }
h1 { margin-bottom: 2.333333svh; }
.intro-content { min-height: 107svh; display: flex; flex-direction: column; align-items: center; }
.lead, .story { width: 100%; max-width: 700px; }
#tepan-prototype-photo { position: relative; width: 100%; max-width: 520px; }
#tepan-prototype-photo img { display: block; width: 100%; height: auto; }
#tepan-prototype-photo::after { content: '(you only get to see the back for now, sorry)'; position: absolute; inset-inline: 8px; bottom: 8px; color: #ccc; font-size: clamp(10px, 1.4svh, 12px); line-height: 1.4; text-align: center; pointer-events: none; }
.story { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 2svh; padding-top: 2svh; }
.audiences { display: grid; grid-template-columns: minmax(0, 45.8fr) minmax(0, 54.2fr); gap: 2ch; align-items: start; }
.audiences p { min-width: 0; overflow-wrap: break-word; }
.audience-user { grid-column: 1; grid-row: 1; text-align: center; }
.audience-chef { grid-column: 2; grid-row: 1; text-align: center; }
.audience-label { display: block; font-weight: 700; }
.audience-column { display: flex; flex-direction: column; align-self: stretch; min-width: 0; }
.audiences:has(.audience-column) { scroll-margin-top: 4svh; transition: grid-template-columns 350ms ease; }
.audiences[data-expanded="user"] { grid-template-columns: minmax(0, 1fr) minmax(0, 0fr) !important; }
.audiences[data-expanded="chef"] { grid-template-columns: minmax(0, 0fr) minmax(0, 1fr) !important; }
.audiences[data-expanded] .audience-heading { display: none; }
.audiences[data-expanded="user"] .audience-user .audience-summary { display: none; }
.audiences[data-expanded="user"] .audience-chef,
.audiences[data-expanded="chef"] .audience-user { visibility: hidden; height: 0; overflow: hidden; pointer-events: none; }
.audience-details[hidden] { display: none; }
.audience-details p + p { margin-top: 1em; }
.audience-details:not([hidden]) { margin-block: 0 1em; }
.audience-actions { display: flex; justify-content: center; }
.audiences[data-expanded] .audience-actions { padding-inline: 6%; }
.audiences[data-expanded] .audience-actions:has(> .audience-report-link:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2ch; align-items: start; }
.audience-report-link { justify-self: end; min-width: 0; padding-top: .5lh; font-weight: 700; text-align: right; text-decoration: none; }
.audience-report-link[hidden] { display: none; }
.audience-report-link:hover { color: #eccac8; }
.audiences .audience-toggle { display: flex; align-items: flex-start; align-self: center; margin-top: 0; padding: .5lh 0 0; min-width: 0; min-height: 44px; border-radius: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; text-align: center; text-decoration: none; }
.audiences .audience-toggle:hover { background: transparent; color: #eccac8; }
.audiences[data-expanded] .audience-actions:has(> .audience-report-link:not([hidden])) .audience-toggle { justify-self: start; text-align: left; }
.audiences[data-expanded] .editor-split,
.audiences[data-expanded] .editor-center-guide { display: none; }
.tepan-promise { font: italic 1rem/2.4 Didot, Georgia, serif; }
.preorder { width: calc(100% - var(--gutter) * 2); max-width: 700px; margin-inline: auto; }
.preorder-copy { margin-top: 2.333333svh; }
.preorder-availability { margin-block: 3svh 2svh; font-size: clamp(28px, 4svh, 36px); font-weight: 700; line-height: 1.4; }
.preorder-link { display: inline-block; padding: 8px 22px; min-height: 44px; border-radius: 999px; background: #fff; color: #1b1b1b; text-decoration: none; font-weight: 700; }
.preorder-link:hover { background: #ddd; }
.preorder-link[aria-disabled="true"] { pointer-events: none; opacity: .6; }
.preorder-details { margin-top: 2svh; }
.preorder-status { font-size: 14px; }
.preorder-status:not(:empty) { margin-top: 1svh; }
.join { padding-inline: var(--gutter); }
form { width: 100%; max-width: 450px; margin-inline: auto; }
form h2 { margin-bottom: 4.444444svh; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(16px, 3vw, 30px); row-gap: clamp(16px, 3.333333svh, 30px); text-align: left; }
.full-width { grid-column: 1 / -1; }
.field { min-width: 0; }
label { display: block; font-size: 14px; line-height: 1.4; }
input, textarea { display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; padding: 4px 0; background: transparent; color: inherit; font: inherit; font-size: 18px; line-height: 1.4; }
input { min-height: 44px; }
textarea { height: 44px; min-height: 44px; resize: vertical; }
input:hover, input:focus, input:user-invalid, textarea:hover, textarea:focus { border-bottom-width: 1px; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
button { min-width: 90px; min-height: 44px; padding: 6px 16px; border: 0; border-radius: 999px; background: #fff; color: #1b1b1b; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
button:hover { background: #ddd; }
button:disabled { cursor: wait; opacity: .6; }
[data-form-status] { font-size: 16px; overflow-wrap: anywhere; }
[data-form-status]:not(:empty) { padding-top: 8px; }
address { padding-inline: var(--gutter); font-style: normal; }
address a { text-decoration: none; }
address a:hover { text-decoration: underline; }
#ending { padding-inline: var(--gutter); padding-bottom: var(--ending-padding, 45svh); }
#comp-l3rna3lg { width: 100%; max-width: 497px; margin-inline: auto; font: italic 1rem/2.4 Didot, Georgia, serif; }
[data-local-anchor] { scroll-margin-top: 8svh; }
@media (max-width: 600px) {
  .audiences { grid-template-columns: minmax(0, 44.8fr) minmax(0, 55.2fr); }
}
@media (max-height: 500px) {
  /* Keep controls usable and the logo recognizable in landscape. */
  :root { --logo-width: 72px; }
  .intro-content { min-height: auto; }
  .story { padding-top: 20px; }
  form h2 { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .audiences:has(.audience-column) { transition: none; }
}
