@font-face {
  font-family: "ITC Founders Caslon";
  src: url("/fonts/FCaslonTwelveITC-Roman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --cream: #f5efe3;
  --ink: #343329;
  --muted: #777163;
  --line: #b7afa0;
  --accent: #79735d;
  /* cream as it reads under the paper texture; iOS Safari paints its status bar and toolbar strips in the body colour */
  --paper: #f0e6d5;
  --night: #0d0a08;
  --display: "Bodoni Moda", "Bodoni 72", Didot, serif;
  --brand: "ITC Founders Caslon", "EB Garamond", Garamond, serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
html { background: var(--paper); }
body { background: var(--paper); transition: background-color 1.5s; color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased; overflow: hidden; }
.intro-on, .intro-on body { background: var(--night); }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: url("/art/paper.webp") repeat center / 560px;
  mix-blend-mode: multiply; opacity: .48;
}
.site { background: var(--cream); isolation: isolate; position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.brand { position: absolute; z-index: 3; left: 50%; top: clamp(30px, 5svh, 65px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.brand-vine { display: block; width: 138px; height: 73px; object-fit: contain;  opacity: 0; transition: opacity 1.8s .4s; }
.in .brand-vine { opacity: .84; }
.brand-emblem { display: block; width: 76px; height: 76px; background-color: currentColor; -webkit-mask: url("/brand/baccet-emblem.webp") center / contain no-repeat; mask: url("/brand/baccet-emblem.webp") center / contain no-repeat; opacity: 0; transition: opacity 1.8s .4s; }
.in .brand-emblem { opacity: 1; }
.wordmark { margin: 11px 0 0; padding-left: .035em; font: 400 clamp(38px, 4vw, 54px)/1 var(--brand); letter-spacing: .035em; white-space: nowrap; }
.wordmark span { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity 1.5s var(--ease), transform 1.5s var(--ease); transition-delay: calc(var(--i) * 65ms); }
.in .wordmark span { opacity: 1; transform: none; }
.manifesto { position: absolute; z-index: 3; top: 46%; left: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 52px)); text-align: center; font: 400 22px/1.5 var(--serif); }
.manifesto p { margin: 0; opacity: 0; transform: translateY(8px); transition: opacity 1.6s .6s var(--ease), transform 1.6s .6s var(--ease); }
.manifesto p + p { margin-top: 28px; transition-delay: .9s; }
.manifesto em { font-weight: 400; white-space: nowrap; }
.in .manifesto p { opacity: 1; transform: none; }
.invitation { position: absolute; z-index: 3; left: 50%; bottom: max(13.5svh, 86px); transform: translate(-50%, 8px); opacity: 0; transition: opacity 1.5s 1.2s var(--ease), transform 1.5s 1.2s var(--ease); }
.in .invitation { opacity: 1; transform: translate(-50%, 0); }
.apply-button { background: transparent; border: 1px solid #837d70; min-width: 278px; min-height: 57px; padding: 19px 28px; font: 500 11px/1.4 var(--serif); letter-spacing: .19em; text-transform: uppercase; transition: background .4s, color .4s, border-color .4s; }
.apply-button:hover { background: #343329; color: var(--cream); border-color: #343329; }
.footer { position: absolute; bottom: calc(23px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 11px; letter-spacing: .025em; opacity: 0; transition: opacity 1.4s 1.5s; }
.in .footer { opacity: 1; }
.footer a { color: inherit; text-decoration: none; padding: 7px 0; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer > span { opacity: .5; }
.art-world { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ambient-painting { position: absolute; display: block; pointer-events: none; }
.ambient-painting[hidden] { display: none; }
.art-world .ambient-painting { opacity: .84; }
[data-variation="brush"] .manifesto { top: 46%; }
/* Application */
dialog { border: 0; color: var(--ink); background: var(--cream) url("/art/paper.webp") repeat center / 560px; padding: 0; }
dialog::backdrop { background: #302c2366; backdrop-filter: blur(6px); }
/* Fixed above the paper grain (z-index 90) and below reCAPTCHA's challenge (z-index 2000000000). */
.application { position: fixed; inset: 0; z-index: 95; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; overflow: auto; overflow-x: hidden; overscroll-behavior: contain; }
.application[open] { animation: unfold .75s var(--ease); }
@keyframes unfold { from { opacity: 0; clip-path: inset(100% 0 0); } to { opacity: 1; clip-path: inset(0); } }
.application-shell { min-height: 100%; display: flex; flex-direction: column; position: relative; padding: 32px 5vw; isolation: isolate; overflow-x: clip; }
.application-header { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.small-wordmark { font: 400 23px/1 var(--brand); letter-spacing: .035em; }
.close-button { border: 0; background: none; padding: 10px; display: grid; place-items: center; }
.close-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1; }
.application-progress { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #38382f0c; }
.application-progress > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .9s var(--ease); }
#membership-form { position: relative; z-index: 1; width: min(620px, 100%); margin: auto; min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.question-stage { min-height: 250px; display: flex; flex-direction: column; justify-content: center; }
.question-title { font: 400 38px/1.18 var(--serif); letter-spacing: -.015em; margin: 0 0 30px; max-width: 580px; }
.question-title .word { display: inline-block; }
.field-list { display: grid; gap: 20px; }
.field-label { display: block; font-size: 14px; letter-spacing: .03em; color: var(--muted); }
.field-label .optional { font-style: italic; letter-spacing: .02em; margin-left: 6px; opacity: .8; }
.answer-input { display: block; width: 100%; font: 400 22px/1.4 var(--serif); padding: 6px 0 10px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); outline: none; transition: border .3s; caret-color: var(--accent); }
.answer-input::placeholder { color: #a29a88; }
.answer-input:focus { border-bottom-color: var(--ink); }
textarea.answer-input { resize: vertical; min-height: 64px; max-height: 240px; font-size: 20px; }
.answer-input:read-only { color: var(--muted); }
.answer-input[aria-invalid=true] { border-color: #985b42; }
.field-error { color: #8c4c32; font-size: 14px; line-height: 1.5; min-height: 22px; margin: 9px 0 0; }
.field .field-error { min-height: 0; margin: 6px 0 0; }
.field .field-error:empty { display: none; }
.field-hint { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 8px 0 0; }
.city-field { position: relative; }
.city-options { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0; list-style: none; max-height: 264px; overflow-y: auto; background: var(--cream) url("/art/paper.webp") repeat center / 560px; border: 1px solid #b5ad9880; box-shadow: 0 14px 34px #302c231f; z-index: 5; }
.city-options[hidden] { display: none; }
.city-options [role=option] { padding: 9px 16px; font-size: 18px; cursor: pointer; }
.city-options [role=option][aria-selected=true], .city-options [role=option]:hover { background: #38382f0d; }
.city-empty { padding: 9px 16px; font-size: 15px; color: var(--muted); font-style: italic; }
.text-button { background: none; border: 0; border-bottom: 1px solid var(--muted); padding: 0; font: inherit; color: inherit; }
.text-button:hover { border-color: var(--ink); color: var(--ink); }
.phone-row { position: relative; }
.phone-tools { position: absolute; right: 0; bottom: 13px; display: flex; gap: 14px; align-items: baseline; font-size: 14px; color: var(--muted); }
.phone-tools[hidden], .field-hint[hidden] { display: none; }
.phone-row:has(.phone-tools:not([hidden])) .answer-input { padding-right: 150px; }
.phone-verified { color: #4f6440; margin: 0; }
.phone-verified::before { content: "✓ "; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.grecaptcha-badge { visibility: hidden; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; }
.form-bottom[hidden], .back-button[hidden] { display: none; }
.back-button, .next-button { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 0; font-size: 13px; letter-spacing: .075em; }
.back-button { color: var(--muted); }
.back-button:disabled { opacity: .3; }
.next-button { margin-left: auto; }
.next-button:hover, .back-button:hover { border-color: var(--ink); }
.form-art { position: fixed; right: 24px; bottom: 24px; width: clamp(230px, 24vw, 390px); aspect-ratio: 4/3; pointer-events: none; opacity: .2; z-index: 0; }
.form-art .ambient-painting { inset: 0; width: 100%; height: 100%; }
.consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 580px; cursor: pointer; transition: color .3s; }
.consent:has(:checked) { color: var(--ink); }
/* An ink-ruled box with a hand-drawn tick, in place of the browser checkbox. */
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid var(--line); border-radius: 0; background: transparent; display: grid; place-content: center; cursor: pointer; transition: border-color .3s; }
.consent input::before { content: ""; width: 10px; height: 5px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-1px) rotate(-45deg) scale(0); transform-origin: 30% 70%; transition: transform .35s var(--ease); }
.consent input:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent:hover input, .consent input:checked { border-color: var(--ink); }
.consent input:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.consent input[aria-invalid=true] { border-color: #985b42; }
.consent button { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 0; font: inherit; color: inherit; transition: border-color .3s; }
.consent button:hover { border-color: var(--ink); }
.success-title { font: 400 38px/1.2 var(--serif); margin: 14px 0 20px; }
.success-note { font-size: 19px; line-height: 1.6; max-width: 510px; }
/* Sent: a letter sealed into an envelope. Initial styles are the open envelope; .sealed is the end state. */
.sent { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(96px, 20vw, 132px); }
.sent .success-note { margin: 0 0 28px; }
.sent .next-button { margin: 0; }
.envelope { position: relative; isolation: isolate; width: min(380px, 76vw); aspect-ratio: 54 / 34; margin-bottom: 22px; }
.envelope > * { position: absolute; }
.envelope-paper { background-image: url("/art/paper.webp"); background-size: 480px; background-blend-mode: multiply; }
.envelope-back { inset: 0; background-color: #e1d4ba; border: 1px solid #bfae8e66; border-radius: 3px; box-shadow: 0 20px 25px -15px #55432b66, 0 2px 5px #594d382a; }
.letter { left: 6.3%; top: -42.06%; width: 87.4%; height: 90%; z-index: 2; background-color: #fffbef; border: 1px solid #d7c9ae; box-shadow: 0 2px 5px #6450362a; display: flex; align-items: center; flex-direction: column; padding: 6.5% 5%; gap: 4%; }
.letter img { width: 10%; height: 18%; object-fit: contain; opacity: .7; }
.letter-mark { font: 400 clamp(24px, 6vw, 31px)/1 var(--brand); letter-spacing: -.04em; }
.letter i { height: 1px; background: #91745333; width: 15%; margin-top: 2%; }
.envelope-pocket { inset: 0; z-index: 3; overflow: hidden; border-radius: 3px; background: #d6c8ad; border: 1px solid #bfae8e66; }
.envelope-left, .envelope-right, .envelope-bottom { position: absolute; inset: 0; }
.envelope-left { background-color: #f1e7d3; clip-path: polygon(0 0, 55% 60%, 0 100%); }
.envelope-right { background-color: #eee3cc; clip-path: polygon(100% 0, 45% 60%, 100% 100%); }
.envelope-bottom { background-color: #f6ecd8; clip-path: polygon(0 100%, 0 99%, 50% 43%, 100% 99%, 100% 100%); }
.envelope-pocket svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #b7a587; stroke-width: 1; opacity: .48; }
.envelope-flap { left: 0; top: -67.65%; width: 100%; height: 67.65%; z-index: 1; transform-origin: 50% 100%; filter: drop-shadow(0 -1px 1px #715c3722); }
.flap-paper { position: absolute; inset: 0; background-color: #f3e9d3; clip-path: polygon(0 100%, 49% 1%, 50% 0, 51% 1%, 100% 100%); }
.seal { left: 38.15%; top: 47.65%; z-index: 5; width: 23.7%; aspect-ratio: 1; opacity: 0; filter: drop-shadow(1px 4px 2px #48231646); }
.seal img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sealed .letter { opacity: 0; transform: translateY(50%); }
.sealed .envelope-flap { transform: perspective(1100px) rotateX(-180deg); z-index: 4; }
.sealed .seal { opacity: 1; }
/* Legal */
.legal-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 64px); padding: 64px 64px 56px; overscroll-behavior: contain; }
.legal-sheet > .close-button { position: absolute; top: 18px; right: 18px; }
.legal-sheet h2 { font-weight: 400; font-size: 32px; line-height: 1.1; margin: 0 0 28px; }
.legal-sheet h3 { font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 36px 0 12px; }
.legal-sheet p, .legal-sheet li { font-size: 16px; line-height: 1.7; margin: 0 0 14px; }
.legal-sheet #legal-content > p:first-child { font-size: 18px; line-height: 1.6; }
.legal-sheet a { color: inherit; }
.credits-list { padding-left: 16px; }
.credits-list li { font-size: 13px; margin-bottom: 6px; }
.credits-disclosure { margin-top: 30px; font-size: 14px; }
.credits-disclosure summary { cursor: pointer; }
.no-script { padding: 10vh 24px; text-align: center; }
.no-script h1 { font: 400 44px/1 var(--brand); letter-spacing: .035em; }
.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
@media (max-width: 1020px) and (min-width: 601px) {
  .manifesto { width: 440px; font-size: 21px; }
}
@media (max-width: 600px) {
  .site { min-height: 520px; }
  .brand { top: calc(24px + env(safe-area-inset-top, 0px)); }
  .brand-vine { width: 105px; height: 58px; }
  .brand-emblem { width: 62px; height: 62px; }
  .wordmark { font-size: 36px; margin-top: 9px; }
  .manifesto { top: 38%; width: calc(100% - 64px); max-width: 370px; font-size: 20px; line-height: 1.45; }
  .manifesto p + p { margin-top: 22px; }
  .desktop-break { display: none; }
  .invitation { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .apply-button { min-height: 54px; min-width: 250px; font-size: 10px; }
  .footer { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 10px; }
  /* Phones: no wordmark, and the form starts at the top so it stays above the keyboard. */
  .application-shell { padding: calc(22px + env(safe-area-inset-top, 0px)) 26px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .application-header { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px; }
  .small-wordmark { display: none; }
  #membership-form { margin: 0; min-height: 0; justify-content: flex-start; padding: 0; }
  #membership-form:has(.sent) { margin: auto 0; }
  .question-stage { min-height: 0; justify-content: flex-start; }
  .question-title { font-size: 31px; line-height: 1.2; margin-bottom: 22px; padding-right: 40px; }
  .field-list { gap: 16px; }
  .form-bottom { margin-top: 24px; }
  .answer-input { font-size: 20px; }
  .form-art { right: 9px; bottom: 20px; width: 170px; opacity: .16; }
  .legal-dialog { padding: 52px 26px 36px; }
  .legal-sheet h2 { font-size: 28px; margin-bottom: 22px; }
  .legal-sheet h3 { margin-top: 30px; }
}
@media (max-height: 700px) and (min-width: 601px) {
  .brand { top: 16px; }
  .brand-vine { height: 60px; width: 116px; }
  .brand-emblem { width: 60px; height: 60px; }
  .wordmark { font-size: 42px; margin-top: 8px; }
  .manifesto { font-size: 21px; top: 46%; }
  .invitation { bottom: 77px; }
}
@media (max-height: 699px) { body { overflow-y: auto; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
