@font-face {
  font-family: Cormorant;
  src: url('/brand/Cormorant-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-display: block;
}
@font-face {
  font-family: Cormorant;
  src: url('/brand/Cormorant-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: block;
}

:root {
  --ink: #f6f0e6;
  --muted: #b7c3d4;
  --navy: #060e1b;
  --panel: #101d30;
  --line: rgb(186 205 230 / .19);
  --gold: #fbde53;
  --soft-gold: #f5cb87;
  --cyan: #7ce6fd;
  --typeface: Cormorant;
  font-family: var(--typeface);
  font-size: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 1.2rem; font-weight: 600; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; }
button, input, select, textarea, input::file-selector-button { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 2px solid #2388d4; outline-offset: 4px; }
.public-body :focus-visible { outline-color: var(--cyan); }
h1, h2, h3, p { margin: 0; }
.frame { width: min(94rem, calc(100% - 2 * clamp(1.5rem, 6vw, 6rem))); margin-inline: auto; }

.public-body {
  min-height: 100svh;
  color: var(--ink);
  background: var(--navy);
  color-scheme: dark;
}

.landing, .public-page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
  background:
    radial-gradient(ellipse at 6% 0%, rgb(193 92 33 / .24), transparent 42%),
    radial-gradient(ellipse at 93% 16%, rgb(167 73 29 / .24), transparent 49%),
    radial-gradient(ellipse at 10% 95%, rgb(183 69 23 / .12), transparent 38%),
    radial-gradient(ellipse at 78% 84%, #0a2440 0%, transparent 62%),
    var(--navy);
}

.site-header, .site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header {
  z-index: auto;
  padding-block: 1.55rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.site-footer {
  min-height: 4.65rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}
.site-footer small { font-size: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; justify-content: end; }
.site-footer a { text-decoration-color: transparent; }
.site-footer a:hover { color: var(--ink); text-decoration-color: currentColor; }

.brand { display: block; min-width: 0; text-decoration: none; }
.site-header .brand { width: clamp(13rem, 33vw, 26rem); }
.brand-image { width: 100%; height: auto; }
/* The supplied artwork has a dark matte. Make it black so screen blending removes it. */
.brand:has(.supplied-brand) { mix-blend-mode: screen; }
.supplied-brand { filter: brightness(.98) contrast(1.85); }
.uploaded-brand { object-fit: contain; object-position: left center; max-height: 8rem; }
.parent-brand { width: clamp(6.6rem, 10vw, 9rem); height: auto; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: center;
  min-height: min(48rem, calc(100svh - 10.7rem));
}
.hero-copy { z-index: 1; padding-block: 4rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--soft-gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--soft-gold); }
.hero h1 {
  max-width: 38rem;
  overflow-wrap: anywhere;
  font: 500 clamp(3.2rem, 5.5vw, 6.3rem)/.95 var(--typeface);
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.hero h1 em { color: var(--soft-gold); font-weight: inherit; }
.description {
  max-width: 33rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  line-height: 1.75;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.9rem;
  padding: .7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.primary {
  min-height: 3.35rem;
  padding-inline: 1.55rem;
  background: linear-gradient(105deg, #fc9a39, var(--gold));
  color: #201407;
  border-color: #facd62;
}
.primary:hover { background: #ffdf77; }
.hero-cta { margin-top: 2.1rem; }
.hero-visual {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  pointer-events: none;
}
.hero-visual picture {
  position: absolute;
  width: min(67vw, 59rem);
  aspect-ratio: 1;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 55% 51%, #000 35%, rgb(0 0 0 / .95) 53%, transparent 73%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.managed-artwork picture { mix-blend-mode: normal; }
.managed-artwork img { object-fit: contain; }

#waitlist-dialog, .public-card {
  position: relative;
  width: min(34rem, 100%);
  padding: clamp(1.55rem, 4.4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: linear-gradient(148deg, #142236, #0b1525 80%);
  color: var(--ink);
  box-shadow: 0 2rem 6rem #02060e85;
}
#waitlist-dialog { max-width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); }
#waitlist-dialog::backdrop { background: rgb(2 7 16 / .78); backdrop-filter: blur(7px); }
body:has(dialog[open]) { overflow: hidden; }
#waitlist-dialog .brand { width: min(16.5rem, calc(100% - 2rem)); margin-bottom: 1.3rem; }
.close-dialog {
  position: absolute;
  top: .9rem;
  right: .9rem;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}
.close-dialog:hover { background: #23344b; }
.dialog-content h2, .public-card h1 { font: 550 clamp(2.6rem, 6vw, 3.35rem)/1 var(--typeface); letter-spacing: -.025em; }
.form-intro, .success-copy p { margin-top: .8rem; color: var(--muted); line-height: 1.65; }
.waitlist-form, .admin-form { display: grid; gap: .5rem; }
.waitlist-form { margin-top: 1.15rem; }
.waitlist-form > label:not(.consent), .admin-form > label { margin-top: .32rem; font-size: 1.08rem; font-weight: 600; }
.waitlist-form > label small { color: var(--muted); font-size: 1rem; font-weight: 600; }
.waitlist-form label span[aria-hidden] { color: var(--soft-gold); }
input:not([type='checkbox']), select, textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .6rem .75rem;
  border: 1px solid #91a6c354;
  border-radius: .25rem;
  background: #0a1426;
  color: var(--ink);
}
select {
  appearance: none;
  padding-right: 2.65rem;
  background-image: linear-gradient(45deg, transparent 50%, #abbcd1 50%), linear-gradient(135deg, #abbcd1 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) center, calc(100% - .96rem) center;
  background-size: .3rem .3rem;
  background-repeat: no-repeat;
}
textarea { min-height: 6rem; resize: vertical; }
.consent { display: flex; align-items: start; gap: .65rem; margin-block: .7rem .45rem; font-size: 1.08rem; line-height: 1.55; color: var(--muted); }
.consent input { width: 1.1rem; height: 1.1rem; flex: none; margin: .16rem 0 0; accent-color: var(--gold); }
.consent a { color: var(--ink); }
.form-error { border-left: 3px solid #ee8063; background: #492c32; padding: .75rem; color: #fff0e9; font-size: 1.08rem; line-height: 1.55; }
.form-submit { width: 100%; }
.trap { display: none; }
.success-mark { display: inline-grid; place-items: center; margin-bottom: 1rem; color: var(--gold); border: 1px solid #f5cb8766; border-radius: 50%; width: 2.7rem; height: 2.7rem; }
.standalone { display: grid; place-items: center; padding-block: clamp(2rem, 6vw, 5rem); }
.public-card:has(.policy-copy) { width: min(48rem, 100%); }
.policy-copy { margin-top: 1.25rem; line-height: 1.55; overflow-wrap: anywhere; color: var(--muted); }
.policy-copy > * + * { margin-top: .9rem; }
.policy-copy h2 { margin-top: 1.8rem; color: var(--ink); font-size: 1.55rem; line-height: 1.15; }
.policy-copy strong { color: var(--ink); }
.policy-copy ul { padding-inline-start: 1.4rem; margin-bottom: .9rem; }
.policy-copy hr { border: 0; border-top: 1px solid var(--line); }
.return-link { display: inline-block; margin-top: 1.5rem; font-size: 1.08rem; }

.admin-body {
  --admin-ink: #192b42;
  --admin-muted: #495c75;
  --admin-line: #d8e1ed;
  background: #f3f6fa;
  color: var(--admin-ink);
  min-height: 100svh;
}
.admin-frame { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.admin-header { background: #08182d; color: #fff8e9; }
.admin-header-inner, .admin-actions, .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}
.admin-header-inner { min-height: 4.5rem; padding-block: .75rem; }
.admin-actions { flex-wrap: wrap; justify-content: end; }
.admin-wordmark { font: 650 clamp(1.5rem, 3vw, 1.95rem)/1 var(--typeface); text-decoration: none; }
.admin-actions a { font-size: 1.08rem; }
.admin-header .secondary { border-color: #7186a4; color: #fff8e9; background: transparent; }
.dashboard { display: grid; gap: 1.2rem; padding-block: clamp(1.5rem, 4vw, 3rem); }
.dashboard-title h1 { font: 650 clamp(2.3rem, 5vw, 3.6rem)/1 var(--typeface); }
.dashboard-title nav { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .9rem; color: var(--admin-muted); font-size: 1.08rem; }
.admin-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--admin-line);
  border-radius: .55rem;
  background: #fff;
  box-shadow: 0 3px 13px #1a435b08;
}
.admin-card h2 { font: 650 2rem/1 var(--typeface); }
.admin-card > p { margin-top: .75rem; color: var(--admin-muted); line-height: 1.55; }
.admin-card > .admin-form { max-width: 44rem; margin-top: .85rem; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.metric dt { font-size: 1.08rem; color: var(--admin-muted); }
.metric dd { margin: .3rem 0 0; font: 650 clamp(2.2rem, 5vw, 3.6rem)/1 var(--typeface); }
.table-scroll { overflow-x: auto; margin-top: .8rem; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 1.08rem; }
th, td { padding: .8rem .65rem; border-bottom: 1px solid var(--admin-line); overflow-wrap: anywhere; }
th { font-weight: 650; color: var(--admin-muted); white-space: nowrap; }
td time { white-space: nowrap; }
.pagination { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; font-size: 1.08rem; }
.secondary { border-color: #becbdc; background: #f7f9fc; color: #263c59; }
.secondary:hover { background: #e6edf6; color: #142942; }
.admin-primary { background: #16375e; color: white; }
.admin-primary:hover { background: #245184; }
.admin-form .button { justify-self: start; margin-top: .4rem; }
.admin-form input:not([type='checkbox']), .admin-form textarea { background: #fbfcfe; color: var(--admin-ink); border-color: #b6c5d9; }
.admin-notice, .admin-error { padding: .85rem 1rem; border-radius: .25rem; }
.admin-notice { background: #dff4eb; color: #174f3d; }
.creative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1rem; }
.creative-item { padding: .85rem; border: 1px solid var(--admin-line); border-radius: .4rem; min-width: 0; }
.creative-item h3 { margin-bottom: .65rem; font-size: 1rem; }
.asset-preview { display: grid; place-items: center; overflow: hidden; background: var(--navy); color: var(--muted); aspect-ratio: 16 / 9; border-radius: .3rem; font-size: 1.03rem; }
.asset-preview img { width: 100%; height: 100%; object-fit: contain; }
.asset-form, .creative-item > form:last-child { margin-top: .55rem; }
.field-note { color: var(--admin-muted); font-size: 1.03rem; line-height: 1.5; }
.login-page { display: grid; min-height: 100svh; place-items: center; padding: 1.25rem; }
.login-card { width: min(100%, 25rem); }
.login-card h1 { margin-block: .8rem 1rem; font: 650 3rem/1 var(--typeface); }
.login-card .form-error { margin-bottom: .55rem; color: #fff0e9; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 49fr) minmax(0, 51fr); }
  .hero-visual picture { width: 60vw; }
}

@media (max-width: 760px) {
  .landing {
    background:
      radial-gradient(ellipse at 8% 0%, rgb(193 92 33 / .24), transparent 40%),
      radial-gradient(ellipse at 93% 92%, rgb(183 69 23 / .18), transparent 43%),
      radial-gradient(ellipse at 52% 24%, #0b2845, transparent 56%),
      var(--navy);
  }
  .site-header { padding-block: 1rem .95rem; }
  .site-footer { align-items: start; min-height: auto; padding-block: 1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; text-align: center; min-height: 0; }
  .hero-visual { grid-row: 1; min-height: clamp(12rem, 71vw, 25rem); }
  .hero-visual picture { width: clamp(18rem, 104vw, 37rem); }
  .hero-copy { padding-block: 0 2.8rem; }
  .eyebrow { justify-content: center; gap: .65rem; margin-bottom: .9rem; }
  .eyebrow::before { width: 1.2rem; }
  .hero h1 { max-width: 35rem; margin-inline: auto; font-size: clamp(2.7rem, 10vw, 4.55rem); text-wrap: balance; }
  .description { margin: 1.05rem auto 0; max-width: 33rem; line-height: 1.6; }
  .hero-cta { margin-top: 1.35rem; }
  .creative-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .frame { width: calc(100% - 2rem); }
  .parent-brand { width: 5.8rem; }
  .metric { padding: .65rem; }
  .metric dt { font-size: .95rem; }
  .section-header { align-items: start; }
  .section-header .button { flex-shrink: 0; }
}
