/* Floyd Miami, set like the Floyd print menu: black ink, a tight serif, underlined lowercase heads,
   on red stock with printed specks. Art is from the Floyd design kit (/img/kit, /img/menu).
   Used by floydmiami.com and links.floydmiami.com (links.css adds to it). */

/* ---------- Tokens and base ---------- */
:root {
  --paper: #de3a33;               /* black ink on this red: 4.7:1 */
  --ink: #000;
  --ink-soft: rgba(0, 0, 0, .72);
  --rule: rgba(0, 0, 0, .85);
  --card: #ecebef;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --measure: 760px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper) var(--grain);
  font: 400 23px/1.35 var(--serif); font-optical-sizing: auto; letter-spacing: -.022em;
}
/* Printed specks: on the paper, behind the type, at print scale. */
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(/img/kit/tex-specks-light.webp) 0 0 / 640px auto repeat; mix-blend-mode: multiply; opacity: .75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, p, dl, dd, figure, ul { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:target, #events { scroll-margin-top: 12px; }
#events:focus { outline: none; }
.linkbtn, .topbar__go, .invite__btn, .inv__x { all: unset; cursor: pointer; }
.linkbtn:focus-visible, .invite__btn:focus-visible, .inv__x:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { top: 12px; }
.note { padding-top: 18px; font-size: 17px; color: var(--ink-soft); }

/* ---------- Insider bar ---------- */
.topbar { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px 22px; padding: 10px 16px;
  background: var(--ink); color: var(--card); font-size: 17px; letter-spacing: -.01em; text-align: center; }
.topbar__h { font-weight: 500; }
.topbar__p { opacity: .78; }
.topbar__go { padding: 4px 0; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.topbar__go:hover { text-decoration-thickness: 2px; }
.topbar__go:focus-visible { outline: 2px solid var(--card); outline-offset: 3px; }
@media (max-width: 520px) { .topbar { font-size: 15.5px; } .topbar__p { display: none; } }

/* ---------- The sheet and its margin art (wide screens only) ---------- */
.sheet { position: relative; max-width: var(--measure); margin: 0 auto; padding: 0 22px; }
.margin { position: absolute; pointer-events: none; }
.margin--f { left: -150px; top: 360px; width: 96px; }
.margin--venus { right: -230px; top: 380px; width: 170px; -webkit-mask: linear-gradient(90deg, #000 80%, transparent); mask: linear-gradient(90deg, #000 80%, transparent); transform-origin: 50% 96%; }
@media (max-width: 1100px) { .margin--f { display: none; } }
@media (max-width: 1240px) { .margin--venus { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .margin--venus { animation: sway 11s ease-in-out infinite alternate; }
}
@keyframes sway { from { transform: rotate(-1.1deg); } to { transform: rotate(1.3deg) translateX(2px); } }

/* ---------- Header: mirror, name, address, nav ---------- */
.head { text-align: center; padding: 44px 0 30px; }
.head__mirror { width: clamp(150px, 26vw, 210px); margin: 0 auto; }
.head__name img { width: clamp(108px, 18vw, 140px); margin: 14px auto 0; }
.head__line { margin-top: 12px; font-size: 19px; color: var(--ink-soft); }
.head__line span { margin: 0 .35em; }
.head__nav { margin-top: 18px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 19px; }
.head__nav a, .head__nav .linkbtn { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; padding: 4px 0; }
.head__nav .linkbtn:hover { text-decoration-thickness: 2px; }
/* A small sun between the items. */
.head__nav > * + *::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 14px 0 -2px; vertical-align: .18em;
  background: url(/img/kit/icon-tiny-icon1.webp) center / contain no-repeat; }
@media (max-width: 520px) { .head__nav { gap: 2px 18px; font-size: 18px; } .head__nav > * + *::before { display: none; } }

/* ---------- Section heads and menu items ---------- */
.h { font-weight: 500; font-size: clamp(46px, 7.2vw, 62px); line-height: 1; letter-spacing: -.045em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; margin: 0 0 14px; }
.block { padding-top: 34px; }
.block--month:first-child { padding-top: 6px; }
/* Month heads stay on screen while you scroll that month. Same grain as the page, a little see-through so the specks show. */
.block--month .h { position: sticky; top: 0; z-index: 2; padding: 10px 0 8px; margin-bottom: 6px; background: var(--grain), rgba(222, 58, 51, .86); }
.sc { font-variant: small-caps; font-size: 1.04em; letter-spacing: .01em; }

.item { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; padding: 3px 0 12px; }
.item dt { grid-column: 1 / -1; font-size: 1.08em; }
.item .d { padding-left: 2.6em; }
.item .v { text-align: right; font-variant-numeric: tabular-nums lining-nums; align-self: end; min-width: 1.6em; }

/* Events: day and date, the name with a tickets button, the lineup under it. */
.item--ev { grid-template-columns: 4.4em 1fr auto; column-gap: 16px; row-gap: 2px; align-items: baseline; padding: 6px 0 12px; }
.item--ev .w { grid-row: 1; grid-column: 1; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.item--ev .n { grid-row: 1; grid-column: 2; font-weight: 600; font-size: 1.12em; letter-spacing: -.028em;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .16em; }
.item--ev .n:hover { text-decoration-thickness: 2.5px; }
.item--ev .d { grid-row: 2; grid-column: 2 / -1; padding-left: 0; }
.tix { grid-row: 1; grid-column: 3; align-self: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); padding: 6px 11px 5px; white-space: nowrap; transition: background-color .15s, color .15s; }
.tix:hover { background: var(--ink); color: var(--paper); }
.item--sold .n { text-decoration: line-through; }
.item--sold .n, .item--sold .d { color: var(--ink-soft); }
.item--sold .tix { border-color: var(--ink-soft); color: var(--ink-soft); }
@media (max-width: 520px) {
  body { font-size: 20px; }
  .item .d { padding-left: 1.4em; }
  .item--ev { grid-template-columns: 3.4em 1fr auto; column-gap: 10px; }
  .item--ev .d { padding-left: 0; }
  .tix { font-size: 11px; padding: 8px 9px 7px; }
}

/* ---------- Picture frames between the months: the mirror and the scroll circle, in turn ---------- */
.mframe { position: relative; width: min(420px, 92%); aspect-ratio: 668 / 360; margin: 44px auto 8px; }
.mframe--circle { width: min(300px, 76%); }
.mframe--circle { aspect-ratio: 1551 / 1600; }
/* Each photo is cut to the frame's own inner shape (img/kit/mask-*.png, made from the frame art), so it sits exactly under the ink. */
.mframe__pics { position: absolute; inset: 0; --m: url(/img/kit/mask-mirror.png); -webkit-mask: var(--m) 0 0 / 100% 100% no-repeat; mask: var(--m) 0 0 / 100% 100% no-repeat; }
.mframe--circle .mframe__pics { --m: url(/img/kit/mask-circle.png); }
.mframe__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.mframe__pics img.on { opacity: 1; }
.mframe__ink { position: relative; width: 100%; }

/* ---------- The room: three photos in the tribal border, to the gallery ---------- */
.room { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2.4vw, 22px); }
.tframe { position: relative; display: block; aspect-ratio: 1163 / 1600; isolation: isolate; overflow: hidden; }
.tframe::after, .bframe::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: center / 100% 100% no-repeat; }
.tframe::after { background-image: url(/img/kit/border-tribal-border.webp); }
.tframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
  -webkit-mask: url(/img/kit/mask-tribal.png) 0 0 / 100% 100% no-repeat; mask: url(/img/kit/mask-tribal.png) 0 0 / 100% 100% no-repeat; }
.tframe:hover img { transform: scale(1.03); }
.room__more { text-align: right; margin-top: 10px; font-size: 18px; }

/* ---------- The invitation line, inside the woman and pearl border ---------- */
.invite { position: relative; width: min(540px, 100%); margin: 56px auto 0; aspect-ratio: 1600 / 1592; }
.invite__ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.invite__in { position: absolute; inset: 8% 31% 20%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.invite__orn { width: 92px; }
.invite__btn { font-size: clamp(22px, 5.6vw, 32px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.invite__btn:hover { text-decoration-thickness: 3px; }
@media (max-width: 520px) { .invite__in { gap: 8px; } .invite__btn { font-size: 19px; } .invite__orn { width: 60px; } }

/* ---------- Visit ---------- */
.visit { display: flex; gap: 28px; align-items: flex-start; }
.visit .menu { flex: 1; }
.bframe { position: relative; flex: none; width: 160px; aspect-ratio: 1092 / 1600; isolation: isolate; }
.bframe::after { background-image: url(/img/kit/border-border.webp); }
.bframe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: url(/img/kit/mask-border.png) 0 0 / 100% 100% no-repeat; mask: url(/img/kit/mask-border.png) 0 0 / 100% 100% no-repeat; }
@media (max-width: 600px) { .visit { flex-direction: column; align-items: center; gap: 18px; } .visit .menu { align-self: stretch; } .bframe { width: 120px; } }

/* ---------- Footer ---------- */
.foot { margin-top: 56px; padding: 26px 0 max(30px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); text-align: center; }
.foot__mirror { width: clamp(150px, 24vw, 200px); margin: 0 auto 22px; }
.legal { display: grid; gap: 8px; justify-items: center; font-size: 13px; letter-spacing: 0; color: var(--ink-soft); }
.legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.legal a { text-decoration: none; padding: 4px 0; }
.legal a:hover { text-decoration: underline; }

/* ---------- The Insider form, as lines to fill in ---------- */
.su { display: grid; gap: 12px; }
.su-mode { display: inline-flex; gap: 18px; font-size: 17px; }
.su-mode button { all: unset; cursor: pointer; color: var(--ink-soft); padding: 4px 0; }
.su-mode button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.su-mode button:focus-visible, .su-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.su-row { display: grid; grid-template-columns: 1fr 100px auto; gap: 14px; align-items: end; }
.su-f { display: grid; gap: 2px; }
.su-f label { font-size: 14px; color: var(--ink-soft); font-style: italic; }
.su-f input { font: 400 18px var(--serif); letter-spacing: -.01em; color: var(--ink); background: transparent; border: 0;
  border-bottom: 1px solid var(--rule); border-radius: 0; padding: 4px 0 5px; width: 100%; }
.su-f input::placeholder { color: rgba(0, 0, 0, .45); }
.su-f input:focus-visible { outline: none; border-bottom-width: 2px; padding-bottom: 4px; }
.su-f input[aria-invalid="true"] { border-bottom-style: dashed; }
.su-go { all: unset; cursor: pointer; font: 500 18px var(--serif); padding: 6px 2px; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.su-go:hover { text-decoration-thickness: 2px; }
.su-go:disabled { opacity: .5; cursor: progress; }
.su-ok { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 12.5px; line-height: 1.45; letter-spacing: 0; }
p.su-ok { display: block; }
.su-ok input { margin: 2px 0 0; accent-color: #000; }
.su-msg { font-size: 15px; min-height: 1.3em; font-style: italic; }
.su-done { font-size: 20px; font-style: italic; }
@media (max-width: 480px) { .su-row { grid-template-columns: 1fr 84px; } .su-go { grid-column: 1 / -1; justify-self: start; } }

/* ---------- The Insider invitation: a native dialog, in the official Floyd border ---------- */
.inv { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; overflow-y: auto; }
.inv[open] { display: flex; }
.inv::backdrop { background: rgba(20, 0, 0, .55); }
.inv__card { position: relative; margin: auto; width: min(480px, 100%); color: #000; text-align: center; container-type: inline-size; }
.inv__paper { position: absolute; inset: 9cqw 8.6cqw; background: var(--card); }
.inv__frame { position: absolute; inset: 0; pointer-events: none;
  background: url(/img/kit/frame-official-top.webp) top / 100% auto no-repeat, url(/img/kit/frame-official-bot.webp) bottom / 100% auto no-repeat,
    url(/img/kit/frame-official-mid.webp) center / 100% auto repeat-y; }
.inv__body { position: relative; padding: 17cqw 13cqw 19cqw; }
.inv__x { position: absolute; top: 15cqw; right: 15cqw; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; font-size: 26px; line-height: 1; border-radius: 50%; }
.inv__cherub { width: 96px; margin: -6cqw auto 6px; }
.inv__h { font-weight: 500; font-size: clamp(27px, 6vw, 38px); line-height: 1; letter-spacing: -.045em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.inv__p { margin-top: 10px; font-size: 17px; }
.inv__orn { width: 76px; margin: 12px auto; }
.inv__orn:last-child { margin-bottom: 0; }
.inv #signup { text-align: left; }
.inv .su-row { grid-template-columns: 1fr 86px; }
.inv .su-go { grid-column: 1 / -1; justify-self: center; font-size: 20px; }
.inv .su-mode { display: flex; justify-content: center; }
.inv .su-done { text-align: center; padding: 10px 0; }
@media (prefers-reduced-motion: no-preference) {
  .inv[open] { animation: fadein .35s ease both; }
  .inv[open] .inv__card { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes fadein { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 520px) {
  .inv { padding: 10px; }
  .inv__body { padding: 16cqw 12cqw 17cqw; }
  .inv__x { top: 13cqw; right: 13cqw; }
  .inv__cherub { width: 70px; margin-top: -5cqw; }
  .inv__p { font-size: 15px; margin-top: 6px; }
  .inv__orn { width: 58px; margin: 8px auto; }
  .inv .su { gap: 8px; }
  .inv .su-ok { font-size: 11px; line-height: 1.4; }
}
