/* Hallmark · shape: Narrative Workflow (swapped from the draw's Marquee Hero: the approved hero is a Counter that explains the product) · genre: playful · theme: Sticker, dealt 3/3 · redesign: full · draw: 41dcb9 · job: join
 * hero: Counter · nav: floating pill · footer: statement · imagery: photographs, the user's own bar photo, natural; the user's two YouTube videos behind click-to-play posters · signature: the four kinds of night as die-cut stickers you pick, inside a one-step pre-signup, the bar photo stuck down beside them · sticker: sheet
 * axes: light/display-heavy/chromatic-magenta · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: H, the hero holds a form; the head stays the loudest thing and the form fields stay flat sheet, only the picks are raised */
/* Hallmark · dropped login modal, forgot-password form, signup gender, interests Men and Women, birth year select, referral code · the owner retired the login and the dating option; age is now a 21-or-over checkbox */
/* Hallmark · reworded the four how-it-works lines (Quick, Easy, Safe, 100% Satisfied) · 58 names the screen budget; the headings and the claim are kept as found */
/* Hallmark · waive 81 · two video slots whose posters load from i.ytimg.com · the build sandbox cannot reach YouTube; on fayte.com the owner’s own video posters fill both slots */
/* Hallmark · dismissed 23 · .video__play is an 84px play disc on each poster, never a viewport fill */
/* Hallmark · waive 44c · privacy.html is a Long Document with a short head block, no hero visual · the policy page is a document visitors read, not a landing screen */
/* Hallmark · waive 79 · privacy.html opens straight into the policy text beside its sticky head · the policy page has no hero to centre */
/* Hallmark · dismissed 77 · privacy.html is one long policy document, not a landing page; its sections are the policy headings */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 96px; --font-wordmark: "Fayte Wordmark", var(--font-body); --radius-input: 14px; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* nav: a solid ink pill floating over the sheet */
.nav { padding-top: var(--space-md); }
.pill { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; padding: 0 var(--space-xs) 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-paper); text-decoration: none; font: 400 var(--text-xl)/1 var(--font-wordmark); }
.wordmark img { width: auto; height: 36px; }
.wordmark--ink img { height: 44px; }
.wordmark:focus-visible, .pill__link:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 4px; border-radius: var(--space-2xs); }
.pill__end { display: flex; align-items: center; gap: var(--space-lg); }
.pill__link { color: var(--color-paper); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.pill__link:hover { text-decoration-color: var(--color-accent-2); }

/* controls, eight states */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink); font: 700 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 8px; }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 0 0 5px var(--color-white), 5px 6px 0 var(--color-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--primary:active { translate: 4px 5px; box-shadow: 0 0 0 5px var(--color-white), var(--shadow-press); }
.btn--on-ink { height: 48px; box-shadow: inset 0 0 0 2px var(--color-paper); color: var(--color-paper); }
.btn--on-ink:hover { background: var(--color-paper); color: var(--color-ink); }
.btn--on-ink:focus-visible { outline-color: var(--color-accent-2); }

/* fields */
.field { display: grid; gap: var(--space-2xs); min-width: 0; }
.field label { font-weight: 700; font-size: var(--text-sm); color: var(--color-ink-2); }
.opt { font-weight: 400; color: var(--color-muted); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: var(--space-sm) var(--space-md); border: 2px solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-paper-3); color: var(--color-ink); outline: 3px solid transparent; outline-offset: 2px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--color-white); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); background: var(--color-white); }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--color-error); }
.field input:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.check { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--color-accent); }
.check input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.check input[aria-invalid] { outline: 2px solid var(--color-error); outline-offset: 2px; }
.status { min-height: 1lh; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.status[data-tone="error"] { color: var(--color-error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }

/* hero: Counter. The head, the picks and the email on five columns; the photo stuck down on seven */
.hero { min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-lg) var(--space-xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero__text { display: grid; gap: var(--space-md); }
.hero h1 { font-size: clamp(2.5rem, 3.4vw + 0.75rem, 4.25rem); line-height: 1.02; max-width: 13ch; }
.hero .lead { color: var(--color-ink-2); }
.presignup { display: grid; gap: var(--space-md); margin-top: var(--space-xs); }
.presignup__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-sm); }
.presignup__row--end { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }

.picks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.picks legend { padding: 0; margin-bottom: var(--space-sm); font-weight: 700; font-size: var(--text-sm); color: var(--color-ink-2); }
.picks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picks label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border: 4px solid var(--color-white); border-radius: var(--radius-pill); background: var(--color-paper-3); box-shadow: 3px 4px 0 var(--color-ink); font: 400 var(--text-md)/1 var(--font-display); cursor: pointer; rotate: var(--tilt, 0deg); transition: translate var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.picks label:nth-of-type(1) { --tilt: -2deg; } .picks label:nth-of-type(2) { --tilt: 1.5deg; } .picks label:nth-of-type(3) { --tilt: -1deg; } .picks label:nth-of-type(4) { --tilt: 2deg; }
.picks label:hover { translate: 0 -2px; }
.picks label:active { translate: 2px 3px; box-shadow: var(--shadow-press); }
.picks input:checked + label { background: var(--color-accent-2); }
.picks input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.picks input:disabled + label { opacity: 0.55; cursor: not-allowed; }

.hero__photo { position: relative; margin: 0; rotate: 2deg; }
.hero__photo .frame { aspect-ratio: 4 / 3; width: 100%; min-height: 420px; border: 6px solid var(--color-white); border-radius: 22px; box-shadow: var(--shadow-card); background: var(--color-slot); }
.hero__photo .frame > img { object-position: 46% 50%; }
.tag { position: absolute; z-index: var(--z-raised); left: calc(-1 * var(--space-xl)); bottom: var(--space-2xl); rotate: -6deg; padding: var(--space-sm) var(--space-lg); border: 5px solid var(--color-white); border-radius: var(--radius-pill); background: var(--color-accent-2); color: var(--color-ink); box-shadow: var(--shadow-card); font: 400 var(--text-lg)/1 var(--font-display); white-space: nowrap; }

/* watch: the two videos, poster first, the player only on click */
.watch { padding-block: var(--section-gap) var(--section-gap-s); border-top: var(--rule-bar) dashed var(--color-rule); }
.head-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head-split .lead { color: var(--color-ink-2); }
.videos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); }
.video { margin: 0; display: grid; gap: var(--space-md); }
.video--tilt { rotate: 1.5deg; }
.video:not(.video--tilt) { rotate: -1deg; }
.video__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 6px solid var(--color-white); border-radius: 22px; box-shadow: var(--shadow-card); background: var(--color-ink); color: var(--color-paper); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 84px; height: 84px; margin: auto; padding-left: var(--space-2xs); border: 5px solid var(--color-white); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--shadow-card); transition: translate var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.video__frame:hover .video__play { background: var(--color-accent-deep); translate: 0 -2px; }
.video__frame:active .video__play { translate: 3px 4px; }
.video__frame:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 6px; }
.video figcaption { font: 400 var(--text-title)/1.1 var(--font-display); }

/* how: four facts as die-cut fills */
.how { padding-block: var(--section-gap-s) var(--section-gap); }
.how h2 { margin-bottom: var(--space-2xl); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.tile { display: grid; align-content: end; gap: var(--space-sm); min-height: 300px; padding: var(--space-xl); border: 6px solid var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.tile h3 { font-size: var(--text-2xl); line-height: 1.02; }
.tile p { max-width: 45ch; font-size: var(--text-lg); line-height: 1.4; }
.tile--pink { grid-column: span 7; background: var(--color-accent); color: var(--color-accent-ink); rotate: -1deg; }
.tile--lime { grid-column: span 5; background: var(--color-accent-2); color: var(--color-ink); rotate: 1.5deg; }
.tile--ink { grid-column: span 5; background: var(--color-ink); color: var(--color-paper); rotate: 1deg; }
.tile--white { grid-column: span 7; background: var(--color-paper-3); color: var(--color-ink); rotate: -1.5deg; align-content: space-between; }
.tile .figure { font: 400 clamp(5rem, 9vw, 9rem)/0.9 var(--font-display); color: var(--color-accent); }

/* host: the venue and get-involved form on a paper-2 band */
.host { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.host__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.host__head { display: grid; gap: var(--space-lg); position: sticky; top: var(--space-2xl); }
.host__head .lead { color: var(--color-ink-2); }
.contact { display: grid; gap: var(--space-lg); padding: var(--space-xl); border: 6px solid var(--color-white); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
.contact__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.seg legend { padding: 0; margin-bottom: var(--space-sm); font-weight: 700; font-size: var(--text-sm); color: var(--color-ink-2); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 2px var(--color-ink); font-weight: 700; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.seg label:hover { background: var(--color-paper-2); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* footer: one closing line, the links beneath */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-ink); color: var(--color-paper); }
.foot__inner { display: grid; gap: var(--space-xl); }
.foot__line { font: 400 var(--text-section)/1.02 var(--font-display); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.foot__links a { color: var(--color-paper); font-weight: 600; text-decoration-color: var(--color-accent-2); text-underline-offset: 0.25em; }
.foot__links a:hover { color: var(--color-accent-2); }
.foot__links a:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 4px; }
.foot__legal { font-size: var(--text-sm); color: var(--color-rule); }

@media (max-width: 60rem) {
  :root { --nav-h: 88px; }
  .hero { min-height: auto; }
  .hero__grid, .host__grid, .head-split, .videos { grid-template-columns: minmax(0, 1fr); }
  .hero__grid { gap: var(--space-2xl); }
  .hero__photo { rotate: 1deg; }
  .hero__photo .frame { min-height: 0; }
  .tag { left: calc(-1 * var(--space-xs)); bottom: var(--space-lg); }
  .pill__link { display: none; }
  .bento > .tile { grid-column: span 12; min-height: 0; }
  .host__head { position: static; }
  .contact { padding: var(--space-lg); }
}
@media (max-width: 40rem) {
  .presignup__row, .contact__row { grid-template-columns: minmax(0, 1fr); }
  .presignup__row--end { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .wordmark { font-size: var(--text-lg); }
  .pill { padding-left: var(--space-md); }
  .tile { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .picks label:hover, .picks label:active, .video__frame:hover .video__play, .video__frame:active .video__play, .btn:active, .btn--primary:active { translate: none; }
}

/* the small pages the server answers with: confirmed, expired, no-script replies */
.notice { min-height: 100dvh; display: grid; align-items: center; padding-block: var(--space-2xl); }
.notice__inner { display: grid; gap: var(--space-lg); justify-items: start; }
.notice .lead { max-width: 44ch; color: var(--color-ink-2); }
.wordmark--ink { color: var(--color-ink); margin-bottom: var(--space-xl); }

/* the privacy policy: a long document on the sheet */
.fine { font-size: var(--text-sm); color: var(--color-muted); }
.fine a { color: var(--color-ink-2); text-underline-offset: 0.2em; }
.fine a:hover { color: var(--color-accent-deep); }
.fine a:focus-visible, .doc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--space-3xs); }
.contact__end .fine { flex-basis: 100%; }
.doc { padding-block: var(--space-3xl) var(--section-gap-s); }
.doc__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.doc__head { display: grid; gap: var(--space-lg); position: sticky; top: var(--space-2xl); }
.doc__head h1 { font-size: clamp(2.5rem, 3vw + 1rem, 3.75rem); }
.doc__head .lead { color: var(--color-ink-2); }
.doc__date { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); }
.doc__body { display: grid; gap: var(--space-2xl); }
.doc__body section { display: grid; gap: var(--space-md); padding-top: var(--space-xl); border-top: var(--rule-bar) dashed var(--color-rule); }
.doc__body section:first-child { padding-top: 0; border-top: 0; }
.doc__body h2 { font-size: var(--text-2xl); }
.doc__body p, .doc__body dd { max-width: 68ch; line-height: 1.65; }
.doc__body a { color: var(--color-ink); text-decoration-color: var(--color-accent); text-underline-offset: 0.2em; }
.doc__body a:hover { color: var(--color-accent-deep); }
.doc__list { display: grid; margin: 0; }
.doc__list dt { font-weight: 700; margin-top: var(--space-lg); }
.doc__list dt:first-child { margin-top: 0; }
.doc__list dd { margin: var(--space-2xs) 0 0; color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .doc__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .doc__head { position: static; }
}
