/* =========================================================
   House of Shaadi: site styles
   Palette taken from the brand's Instagram: warm parchment and
   greige paper, antique gold, deep espresso. Inscriptional caps
   (Cinzel) for titles, Cormorant Garamond for reading serif,
   Jost for the quiet sans. One light brand theme, by design.
   ========================================================= */

:root {
  color-scheme: light;

  /* Colour */
  --ivory: #F3EDE4;         /* page: warm parchment */
  --paper: #FAF7F2;         /* cards, fields, dialogs */
  --cream: #EAE1D5;         /* linen bands (story backgrounds) */
  --sand: #DED3C4;          /* greige (logo paper) */
  --stone: #CFC3B2;
  --line: #DFD5C7;
  --line-strong: #C7B9A6;
  --ink: #211A14;           /* espresso */
  --ink-2: #2B231C;
  --text: #3A3129;
  --muted: #6E6255;
  --faint: #766A5C;
  --gold: #A48A62;          /* rules, icons, ornaments */
  --gold-strong: #765F3E;   /* filled buttons (white text passes AA) */
  --gold-deep: #5F4B30;
  --gold-text: #765F3E;     /* gold text on parchment and linen */
  --gold-tint: #EDE3D2;
  --on-dark: #F3EDE4;
  --on-dark-muted: #BDB09F;
  --gold-on-dark: #CDB68C;
  --danger: #9B3A2A;
  --danger-tint: #F5E4DD;
  --ok: #4A6741;
  --ok-tint: #E4E9DC;
  --scrim: rgba(22, 16, 10, .58);
  --shadow-sm: 0 1px 2px rgba(48, 34, 18, .05), 0 3px 10px rgba(48, 34, 18, .05);
  --shadow-md: 0 2px 6px rgba(48, 34, 18, .06), 0 22px 48px -18px rgba(48, 34, 18, .26);
  --shadow-lg: 0 34px 80px -34px rgba(36, 24, 12, .5);

  /* Type */
  --font-caps: "Cinzel", "Cormorant Garamond", "Times New Roman", serif;
  --font-display: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-sans: "Jost", "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --fs-hero: clamp(2.9rem, 1.3rem + 5.2vw, 5.5rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3vw, 3.8rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.05rem);
  --fs-h3: clamp(1.45rem, 1.25rem + .7vw, 1.75rem);
  --fs-lead: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
  --fs-small: .875rem;
  --fs-label: .7rem;

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 78px;
  --radius: 4px;
  --radius-sm: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 3px; }
::selection { background: var(--gold-tint); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--on-dark); padding: 12px 18px;
  font-size: var(--fs-small); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- Type ---------- */
.eyebrow {
  font: 500 .875rem/1.4 var(--font-sans);
  letter-spacing: .01em;
  color: var(--gold-text);
}
.display {
  font-family: var(--font-caps);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.06;
  color: var(--ink);
  text-wrap: balance;
}
.title-kicker {
  display: block; margin-bottom: .55em;
  font: 500 clamp(.72rem, .66rem + .2vw, .82rem)/1 var(--font-sans);
  letter-spacing: .42em; color: var(--gold-text);
}
.heading {
  font: 500 var(--fs-h2)/1.06 var(--font-display);
  letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.serif {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}
.lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 34em;
}
.muted { color: var(--muted); }
.body-copy { color: var(--muted); max-width: 62ch; }
.label {
  font: 500 .875rem/1.35 var(--font-sans);
  color: var(--ink);
}

/* Brand marks: the four-point star, alone or between two hairlines */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.star { width: 1em; height: 1em; fill: currentColor; flex: none; }
.rule { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.rule::before, .rule::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.rule .star { width: 12px; height: 12px; }
.rule--center { display: flex; justify-content: center; }
.body-copy a { color: var(--gold-text); text-underline-offset: 3px; }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius-sm);
  font: 500 .9375rem/1 var(--font-sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --btn-bg: #000; --btn-bd: #000; }
.btn .i { width: 1.1rem; height: 1.1rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn--gold { --btn-bg: var(--gold-strong); --btn-bd: var(--gold-strong); --btn-fg: #fff; }
.btn--gold:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-bd: var(--ink); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(245, 238, 227, .55); }
.btn--light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-bd: var(--on-dark); }
.btn--paper { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-bd: var(--on-dark); }
.btn--paper:hover { --btn-bg: #fff; --btn-bd: #fff; }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .875rem; }
.btn--block { width: 100%; }

.text-link {
  font: 500 .9375rem/1.3 var(--font-sans); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(29, 25, 21, .32);
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--gold-text); text-decoration-color: currentColor; }
.text-link--light { color: var(--on-dark); text-decoration-color: rgba(245, 238, 227, .4); }
.text-link--light:hover { color: var(--gold-on-dark); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid transparent; border-radius: 50%;
  color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(29, 25, 21, .06); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); }
/* HS monogram (inline SVG symbol): the S drops below the H, as in the brand mark */
.mono { --mono-h: 44px; height: var(--mono-h); width: calc(var(--mono-h) * .875); flex: none; fill: currentColor; object-fit: contain; }
.logo .mono { color: var(--gold-text); }
.wordmark { display: grid; justify-items: center; gap: 5px; margin-bottom: 7px; }
.wordmark__top {
  font: 400 8px/1 var(--font-sans); letter-spacing: .5em; text-transform: uppercase;
  padding-left: .5em;
}
.wordmark__main {
  font: 500 21px/1 var(--font-display); letter-spacing: .36em; text-transform: uppercase;
  padding-left: .36em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(243, 237, 228, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.site-header--overlay {
  position: fixed; inset: 0 0 auto;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.site-header--overlay.is-scrolled {
  background: rgba(243, 237, 228, .92); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); margin-left: auto; }
.site-nav a {
  position: relative;
  font: 400 .9375rem/1 var(--font-sans); letter-spacing: .01em;
  color: var(--ink); text-decoration: none; padding-block: 10px;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .site-header__signin { display: none; }
  .wordmark__main { font-size: 18px; }
  .logo .mono { --mono-h: 38px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--ivory); color: var(--ink);
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: var(--scrim); }
.menu__top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--line);
}
.menu__links { display: grid; gap: 4px; padding-block: 28px; }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 500 clamp(1.9rem, 7vw, 2.6rem)/1.2 var(--font-display);
  text-decoration: none; padding-block: 8px; border-bottom: 1px solid var(--line);
}
.menu__links a small {
  font: 400 .8125rem/1 var(--font-sans); color: var(--gold-text);
}
.menu__foot {
  margin-top: auto; display: grid; gap: 12px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
}
.menu__contact { display: grid; gap: 4px; font-size: var(--fs-small); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 80px); }
.footer__grid {
  display: grid; gap: 40px 32px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
}
.footer__brand p { margin-top: 18px; color: var(--muted); font-size: var(--fs-small); max-width: 30ch; }
.footer__title {
  font: 500 1.2rem/1.3 var(--font-display);
  color: var(--ink); margin-bottom: 14px;
}
.footer__links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .9375rem; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.footer__social a:hover { border-color: var(--ink); background: var(--paper); }
.footer__social .i { width: 17px; height: 17px; }
.contact-line { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); user-select: all; }
.newsletter p { font-size: var(--fs-small); color: var(--muted); margin-bottom: 14px; }
.newsletter__row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--ink);
}
.newsletter__row input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 2px; font-size: 1rem;
}
.newsletter__row input:focus { outline: none; }
.newsletter__row:focus-within { border-bottom-color: var(--gold-strong); box-shadow: 0 1px 0 var(--gold-strong); }
.newsletter__row button {
  border: 0; background: transparent; padding: 0 2px 0 12px; cursor: pointer; color: var(--ink);
  font: 500 .9375rem/1 var(--font-sans);
}
.newsletter__row button:hover { color: var(--gold-text); }
.newsletter__status { font-size: var(--fs-small); margin-top: 10px; min-height: 1.4em; }
.footer__bottom {
  margin-top: clamp(40px, 6vw, 64px); padding-block: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .8rem; color: var(--faint);
}
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .newsletter { grid-column: 1 / -1; max-width: 460px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; min-width: 0; }
.field > .label { display: flex; justify-content: space-between; gap: 12px; }
.label .opt { color: var(--faint); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-sans);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--gold-strong); box-shadow: 0 0 0 3px rgba(164, 138, 98, .22);
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1915' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { font-size: .84rem; color: var(--danger); display: flex; gap: 6px; align-items: flex-start; }
.field-error .i { width: 16px; height: 16px; margin-top: 2px; }
.hint { font-size: .84rem; color: var(--muted); }
.counter { font-variant-numeric: tabular-nums; color: var(--faint); letter-spacing: .06em; }

.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; color: var(--text); }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--paper) center / 14px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s;
}
.check input:checked {
  background-color: var(--ink); border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5EEE3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check a { color: var(--gold-text); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper);
  font-size: .9rem; color: var(--text); transition: all .2s var(--ease);
}
.chip span .i { width: 15px; height: 15px; display: none; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip input:checked + span .i { display: block; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-strong); outline-offset: 2px; }

.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.segmented label { position: relative; cursor: pointer; }
.segmented label + label { border-left: 1px solid var(--line-strong); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: grid; place-items: center; min-height: 48px; padding: 6px 8px; text-align: center;
  background: var(--paper); font: 500 1.05rem/1.1 var(--font-display); letter-spacing: .06em; transition: all .2s;
}
.segmented span small { display: block; font: 400 .7rem/1.2 var(--font-sans); letter-spacing: .04em; color: var(--muted); }
.segmented input:checked + span { background: var(--ink); color: var(--on-dark); }
.segmented input:checked + span small { color: var(--on-dark-muted); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-strong); outline-offset: -4px; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--gold-tint); color: var(--text); font-size: .9rem; line-height: 1.5;
}
.notice .i { color: var(--gold-text); width: 18px; height: 18px; margin-top: 2px; }
.notice--ok { background: var(--ok-tint); }
.notice--ok .i { color: var(--ok); }
.notice--error { background: var(--danger-tint); }
.notice--error .i { color: var(--danger); }
.preview-flag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--muted); margin-top: 14px;
}
.preview-flag .i { width: 15px; height: 15px; }

/* ---------- Dialogs ---------- */
.modal {
  width: min(640px, calc(100vw - 32px)); max-width: 100%;
  max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 26px clamp(20px, 4vw, 36px) 18px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.modal__head h2 { font: 500 clamp(1.7rem, 1.4rem + 1vw, 2.1rem)/1.1 var(--font-display); color: var(--ink); }
.modal__head p { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.modal__body { padding: 24px clamp(20px, 4vw, 36px) 30px; display: grid; gap: 20px; }
.modal--sm { width: min(460px, calc(100vw - 32px)); }

/* ---------- Art (illustrated stand-ins for photography) ---------- */
.art {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(140deg, #140e09, #34251a 55%, #5d4329);
}
.art[data-tone="sepia"] { background: linear-gradient(140deg, #2a1f15, #5a412a 55%, #8d6b44); }
.art[data-tone="champagne"] { background: linear-gradient(140deg, #f7f0e5, #ebdec9 55%, #dcc7a6); }
.art > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art > img.is-flipped { transform: scaleX(-1) scale(1.12); }

.tag {
  display: inline-flex; align-items: center;
  padding: 6px 9px; border-radius: 2px;
  background: var(--gold-strong); color: #fff;
  font: 500 .75rem/1 var(--font-sans); letter-spacing: .01em;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--muted);
  font: 500 .75rem/1 var(--font-sans); letter-spacing: .01em;
}

/* =========================================================
   Home
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(560px, 80vh, 700px);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px);
  padding-bottom: 140px;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: #E9DCCB; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 237, 228, .8) 0%, rgba(243, 237, 228, 0) 20%),
    linear-gradient(90deg, rgba(243, 237, 228, .95) 0%, rgba(243, 237, 228, .8) 38%, rgba(243, 237, 228, 0) 64%),
    linear-gradient(0deg, var(--ivory) 0%, rgba(243, 237, 228, 0) 24%);
}
.hero__inner { width: 100%; }
.hero__copy { max-width: 760px; min-width: 0; }
.hero__title {
  font-size: clamp(2.5rem, .95rem + 4.6vw, 5.2rem);
  line-height: 1.02; letter-spacing: .045em; margin-top: 24px;
}
.hero__title span { display: block; }
.hero .rule { display: flex; margin-top: 28px; }
.hero .rule::before { display: none; }
.hero__note {
  margin-top: 34px; font: 500 .72rem/1 var(--font-sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-text);
}
.hero__lead {
  margin-top: 22px; max-width: 26em;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.45; color: #4A4239;
  text-wrap: pretty;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.btn--lg { min-height: 56px; padding: 0 2em; font-size: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__media img { animation: drift 16s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.035); } to { transform: none; } }

@media (max-width: 760px) {
  .hero { min-height: 0; align-items: flex-start; padding-top: calc(var(--header-h) + 48px); padding-bottom: 176px; }
  .hero__media img { object-position: 82% 30%; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(243, 237, 228, .9) 0%, rgba(243, 237, 228, .8) 46%, rgba(243, 237, 228, .44) 74%, var(--ivory) 100%);
  }
}

/* Bridal brief */
.brief { position: relative; z-index: 3; margin-top: -96px; }
.brief__card {
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 26px clamp(18px, 3vw, 34px) 28px;
}
.brief__title { text-align: center; margin-bottom: 22px; font: 500 1.4rem/1.2 var(--font-display); color: var(--ink); }
.brief__grid {
  display: grid; align-items: stretch; gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}
.brief__field {
  position: relative; display: grid; gap: 2px; align-content: center;
  padding: 6px 20px; border-left: 1px solid var(--line); min-width: 0;
}
.brief__field:first-child { border-left: 0; padding-left: 4px; }
.brief__field .label { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.brief__control {
  width: 100%; min-width: 0; border: 0; background-color: transparent; padding: 4px 18px 4px 0; margin-top: 2px;
  font: 500 1.2rem/1.35 var(--font-display); color: var(--faint); cursor: pointer; border-radius: 0;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 14px;
  text-overflow: ellipsis;
}
.brief__control[type="date"] { background-image: none; padding-right: 0; }
.brief__control:focus { outline: none; color: var(--ink); }
.brief__field:focus-within { background: var(--ivory); }
.brief__control.has-value { color: var(--ink); }
.brief__submit { display: flex; align-items: center; padding-left: 18px; }
.brief__submit .btn { min-height: 56px; }
.brief.is-highlighted .brief__card { animation: glow 1.6s var(--ease); }
@keyframes glow { 0%, 100% { box-shadow: var(--shadow-md); } 35% { box-shadow: 0 0 0 3px rgba(164, 138, 98, .5), var(--shadow-md); } }

@media (max-width: 1100px) {
  .brief__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .brief__field:nth-child(4) { border-left: 0; padding-left: 4px; }
  .brief__submit { padding-left: 18px; }
}
@media (max-width: 640px) {
  .brief { margin-top: -110px; }
  .brief__grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .brief__field { border-left: 0; border-top: 1px solid var(--line); padding: 12px 4px; }
  .brief__field:first-child { border-top: 0; }
  .brief__submit { padding: 16px 0 0; }
  .brief__submit .btn { width: 100%; }
}

/* Brief dialog extras */
.brief-summary { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-summary .pill { background: var(--gold-tint); color: var(--gold-deep); text-transform: none; letter-spacing: .02em; font-size: .78rem; padding: 7px 12px; }
.brief-summary .pill--empty { background: var(--cream); color: var(--muted); border-radius: var(--radius); padding: 10px 14px; line-height: 1.45; }
.success { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 18px 0 8px; }
.success__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
}
.success__icon .i { width: 28px; height: 28px; }
.success h3 { font: 500 2rem/1.1 var(--font-display); color: var(--ink); }
.success p { color: var(--muted); max-width: 40ch; }

/* Values row */
.values { padding-block: clamp(56px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.values__grid { display: grid; gap: 28px 36px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.value { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.value h3 { font: 500 1.4rem/1.2 var(--font-display); color: var(--ink); }
.value p { font-size: .95rem; color: var(--muted); line-height: 1.6; max-width: 32ch; }
@media (max-width: 960px) { .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values__grid { grid-template-columns: minmax(0, 1fr); } }

/* Mission (told one line at a time, like a status update) */
.mission-band {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--ink); color: var(--on-dark);
}
.mission-band__title { font: 500 1.5rem/1.2 var(--font-display); color: var(--gold-on-dark); }
.mission-band__grid {
  display: grid; align-items: center; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  padding-block: clamp(72px, 9vw, 120px);
}
.collage { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 600px; justify-self: end; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: 3px; background: #2a221b; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { top: 0; right: 0; width: 88%; aspect-ratio: 544 / 330; box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .7); }
.collage__inset { left: 0; bottom: 0; width: 46%; aspect-ratio: 312 / 340; border: 6px solid var(--ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75); }
.collage__caption {
  position: absolute; right: 0; bottom: 6%; width: 46%;
  font: italic 500 1.05rem/1.4 var(--font-display); color: var(--on-dark-muted);
}
.mission-band__copy { max-width: 660px; display: grid; gap: 30px; }
.mission-band .eyebrow { color: var(--gold-on-dark); }
.statement { display: grid; gap: 28px; border-radius: 2px; }
.statement:focus-visible { outline: 2px solid var(--gold-on-dark); outline-offset: 10px; }
.statement__bars { display: flex; gap: 6px; max-width: 540px; }
.statement__bar { flex: 1; height: 2px; border-radius: 2px; background: rgba(245, 238, 227, .24); overflow: hidden; }
.statement__bar i { display: block; height: 100%; width: 0; background: var(--gold-on-dark); }
.statement__bar.is-done i { width: 100%; }
.statement__bar.is-active i { animation: story-fill var(--story-ms, 6000ms) linear forwards; }
.statement.is-paused .statement__bar.is-active i { animation-play-state: paused; }
.statement.is-static .statement__bar.is-active i { animation: none; width: 100%; }
@keyframes story-fill { from { width: 0; } to { width: 100%; } }
.statement__frames { display: grid; list-style: none; margin: 0; padding: 0; cursor: pointer; }
.statement__frame {
  grid-area: 1 / 1; align-self: start;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s;
}
.statement__frame.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s; }
.statement__frame p {
  font: 500 clamp(1.95rem, 1.2rem + 1.9vw, 2.95rem)/1.14 var(--font-display);
  color: var(--on-dark); text-wrap: balance; max-width: 17em;
}
.statement__controls { display: flex; align-items: center; gap: 10px; }
.statement__count {
  margin-right: 12px; font: 400 .9375rem/1 var(--font-sans);
  color: var(--on-dark-muted); font-variant-numeric: tabular-nums;
}
.round-btn {
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(245, 238, 227, .3); background: transparent; color: var(--on-dark);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.round-btn:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.round-btn .i { width: 17px; height: 17px; }
.round-btn:focus-visible { outline-color: var(--gold-on-dark); }
.mission-band__full { max-width: 560px; border-top: 1px solid rgba(243, 237, 228, .18); border-bottom: 1px solid rgba(243, 237, 228, .18); }
.mission-band__full summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px; cursor: pointer; list-style: none;
  font: 500 .9375rem/1 var(--font-sans); color: var(--on-dark);
}
.mission-band__full summary::-webkit-details-marker { display: none; }
.mission-band__full summary .i { transition: transform .3s var(--ease); }
.mission-band__full[open] summary .i { transform: rotate(180deg); }
.mission-band__full .prose { padding: 4px 0 26px; display: grid; gap: 14px; }
.mission-band__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px; }
.mission-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mission-band__sign { display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); }
.mission-band__sign .mono { --mono-h: 34px; color: var(--gold-on-dark); }
.mission-band__sign > span:not(.mono) { font: 400 .875rem/1.5 var(--font-sans); }
@media (max-width: 900px) {
  .mission-band__grid { grid-template-columns: minmax(0, 1fr); }
  .collage { justify-self: center; max-width: 480px; margin-top: 8px; }
}

/* Exchange band */
.xband__inner {
  background: var(--ink-2); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  position: relative; overflow: hidden;
}
.xband__intro { display: grid; align-content: center; gap: 16px; }
.xband__intro .eyebrow { color: var(--gold-on-dark); }
.xband__intro h2 { color: var(--on-dark); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem); }
.xband__intro p { color: var(--on-dark-muted); }
.xband__intro .link-arrow { justify-self: start; margin-top: 8px; }
.xband__cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xband__foot { grid-column: 1 / -1; display: flex; justify-content: center; }
@media (max-width: 1000px) {
  .xband__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .xband__cards { grid-template-columns: minmax(0, 1fr); }
}

.opp-mini {
  position: relative; display: block; min-height: 250px; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--on-dark); isolation: isolate;
}
.opp-mini .art { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.opp-mini::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14, 10, 6, 0) 38%, rgba(14, 10, 6, .78) 100%);
}
.opp-mini__top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
.opp-mini__top .i { width: 20px; height: 20px; }
.opp-mini__body { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 8px; }
.opp-mini h3 { font: 500 1.6rem/1.08 var(--font-display); color: var(--on-dark); text-wrap: balance; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .875rem; }
.meta span { display: inline-flex; align-items: center; }
.meta span + span { padding-left: 12px; border-left: 1px solid rgba(245, 238, 227, .4); line-height: 1; }
.opp-mini .meta { color: rgba(245, 238, 227, .82); }

/* Feature trio */
.features__grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 20px; align-items: stretch;
  background: var(--cream); border-radius: 2px;
  padding: 24px; min-height: 230px;
}
.feature--seal { grid-template-columns: auto minmax(0, 1fr); }
.feature__text { display: grid; align-content: start; gap: 12px; min-width: 0; }
.feature__text h3 { font: 500 1.5rem/1.15 var(--font-display); color: var(--ink); text-wrap: balance; }
.feature__text p { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.feature__text .text-link { margin-top: auto; justify-self: start; align-self: end; }
.feature__media { border-radius: var(--radius-sm); overflow: hidden; min-height: 180px; position: relative; }
.feature__media .art { position: absolute; inset: 0; }
.seal { width: 118px; height: 118px; align-self: center; }
@media (max-width: 1100px) {
  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); min-height: 0; }
  .feature--seal { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .feature { grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; padding: 18px; }
  .feature--seal { grid-template-columns: 92px minmax(0, 1fr); }
  .feature__media { min-height: 150px; }
  .seal { width: 92px; height: 92px; align-self: start; }
}

/* Quote band */
.quote-band {
  margin-top: clamp(64px, 8vw, 104px);
  background: var(--cream); text-align: center;
  padding-block: clamp(56px, 7vw, 88px);
}
.quote-band blockquote { display: grid; gap: 10px; }
.quote-band .rule { margin-bottom: 22px; }
.quote-band p {
  font: 500 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1.25 var(--font-display); color: var(--ink); text-wrap: balance;
}
.quote-band p + p {
  margin-top: 8px; font: 500 .78rem/1.4 var(--font-sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-text); padding-left: .34em;
}
.quote-band--tight { margin-top: 0; }

/* =========================================================
   The Exchange
   ========================================================= */
.x-page { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.x-layout { display: grid; gap: clamp(28px, 3.5vw, 48px); grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.x-main { min-width: 0; }
.x-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 32px; }
.x-head__text { min-width: 0; max-width: 560px; }
.x-head__text .display { margin-top: 10px; font-size: clamp(2.1rem, 1.4rem + 1.7vw, 2.9rem); }
.x-head__text p:not(.eyebrow) { margin-top: 14px; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.4; color: var(--muted); }
.x-head__actions { display: grid; gap: 10px; justify-items: end; }
@media (max-width: 760px) {
  .x-head { grid-template-columns: minmax(0, 1fr); }
  .x-head__actions { justify-items: stretch; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .x-search { min-width: 0; }
}
@media (max-width: 460px) {
  .x-head__actions { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .x-search { width: 100%; }
}
.x-search {
  display: flex; align-items: center; gap: 10px; width: 290px; max-width: 100%;
  height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
}
.x-search:focus-within { border-color: var(--gold-strong); box-shadow: 0 0 0 3px rgba(164, 138, 98, .22); }
.x-search .i { color: var(--faint); width: 18px; height: 18px; }
.x-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: .95rem; height: 100%; }
.x-search input:focus { outline: none; }

.x-note { margin-top: 24px; }
.x-note a { color: var(--gold-text); font-weight: 500; }

.x-cats {
  margin-top: 28px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 6px; margin-inline: -4px; padding-inline: 4px;
}
.x-cats::-webkit-scrollbar { display: none; }
.x-cat {
  flex: none; display: grid; justify-items: center; gap: 8px; width: 86px; padding: 4px 0;
  border: 0; background: transparent; cursor: pointer; color: var(--muted);
  font: 400 .78rem/1.25 var(--font-sans); text-align: center;
}
.x-cat__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid transparent; color: var(--gold); transition: all .25s var(--ease);
}
.x-cat__icon .i { width: 24px; height: 24px; stroke-width: 1.3; }
.x-cat:hover .x-cat__icon { border-color: var(--line-strong); background: var(--paper); }
.x-cat[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.x-cat[aria-pressed="true"] .x-cat__icon { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.x-filters {
  margin-top: 18px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.x-filters .select { width: auto; min-width: 170px; min-height: 42px; padding-block: 8px; font-size: .9rem; }
.x-count { margin-left: auto; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.x-view { display: flex; gap: 2px; }
.x-view .icon-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--faint); }
.x-view .icon-btn[aria-pressed="true"] { color: var(--ink); background: rgba(29, 25, 21, .06); }
@media (max-width: 640px) {
  .x-filters .select { flex: 1 1 140px; min-width: 0; }
  .x-count { margin-left: 0; width: 100%; order: 5; }
  .x-view { display: none; }
}

.x-grid { margin-top: 24px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.x-empty { margin-top: 24px; padding: 40px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.x-empty h3 { font: 500 1.6rem/1.2 var(--font-display); color: var(--ink); }

.opp { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.opp__media { position: relative; aspect-ratio: 16 / 10.5; color: var(--on-dark); isolation: isolate; }
.opp__media .art { position: absolute; inset: 0; }
.opp__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14, 10, 6, .12) 30%, rgba(14, 10, 6, .82) 100%); }
.opp__tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.opp__save {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; padding: 0; background: transparent; color: var(--on-dark); cursor: pointer;
}
.opp__save:hover { background: rgba(255, 255, 255, .14); }
.opp__save .i { width: 20px; height: 20px; }
.opp__save[aria-pressed="true"] .i { fill: currentColor; }
.opp__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: grid; gap: 8px; }
.opp__title { font: 500 1.5rem/1.08 var(--font-display); color: var(--on-dark); text-wrap: balance; }
.opp__caption .meta { color: rgba(245, 238, 227, .85); }
.opp__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.opp__by { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--text); min-width: 0; }
.opp__by .tick { width: 15px; height: 15px; flex: none; color: var(--ink); margin-left: 2px; }
.opp__approved.opp__approved--muted { color: var(--muted); }
.opp__by .pill { margin-left: 4px; }
.opp__approved { display: flex; align-items: center; gap: 8px; font: 500 .8125rem/1.3 var(--font-sans); color: var(--gold-text); }
.opp__approved .i { width: 14px; height: 14px; }
.opp__cta { margin-top: auto; padding-top: 6px; }
.opp__cta .btn { width: 100%; min-height: 42px; }

/* List view */
.x-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.x-grid.is-list .opp { flex-direction: row; }
.x-grid.is-list .opp__media { width: 300px; flex: none; aspect-ratio: auto; min-height: 170px; }
.x-grid.is-list .opp__body { display: grid; align-content: center; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 18px 22px; }
.x-grid.is-list .opp__cta { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; }
.x-grid.is-list .opp__cta .btn { width: auto; }

.x-more { margin-top: 32px; display: flex; justify-content: center; }

/* Right rail */
.x-rail { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.rail-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rail-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.rail-card__head h2 { font: 500 1.25rem/1.2 var(--font-display); color: var(--ink); }
.activity { position: relative; }
.activity ul { list-style: none; padding: 0; display: grid; gap: 14px; filter: blur(3px); opacity: .55; pointer-events: none; user-select: none; }
.activity li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: .85rem; color: var(--muted); }
.activity li .i { grid-row: span 2; color: var(--gold); width: 20px; height: 20px; }
.activity li strong { font: 500 1.15rem/1 var(--font-display); color: var(--ink); }
.activity__lock {
  position: absolute; inset: 44px 0 0; display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center;
  padding: 10px;
}
.activity__lock p { font-size: .88rem; color: var(--text); max-width: 22ch; }
.activity__lock .i--lock { width: 22px; height: 22px; color: var(--gold-text); }
.trending { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: trend; }
.trending li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px; counter-increment: trend; }
.trending li::before {
  content: counter(trend); grid-row: span 2;
  font: 500 1.35rem/1 var(--font-display); color: var(--gold-text);
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.trending button { all: unset; cursor: pointer; font: 500 1.05rem/1.25 var(--font-display); color: var(--ink); }
.trending button:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.trending button:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.trending span { font-size: .8rem; color: var(--muted); }
.founding { position: relative; overflow: hidden; color: var(--on-dark); border: 0; padding: 0; min-height: 260px; display: grid; }
.founding .art { position: absolute; inset: 0; }
.founding__body { position: relative; z-index: 2; padding: 22px; display: grid; align-content: end; gap: 12px; background: linear-gradient(180deg, rgba(14, 10, 6, 0) 10%, rgba(14, 10, 6, .82) 70%); }
.founding .eyebrow { color: var(--gold-on-dark); }
.founding h2 { font: 500 1.65rem/1.1 var(--font-display); color: var(--on-dark); }
.founding p { font-size: .88rem; color: var(--on-dark-muted); }
.rail-quote { background: var(--cream); border: 0; text-align: center; padding: 28px 22px; }
.rail-quote p { font: italic 500 1.3rem/1.35 var(--font-display); color: var(--ink); }

@media (max-width: 1100px) {
  .x-layout { grid-template-columns: minmax(0, 1fr); }
  .x-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .x-rail { grid-template-columns: minmax(0, 1fr); }
  .x-grid.is-list .opp { flex-direction: column; }
  .x-grid.is-list .opp__media { width: auto; aspect-ratio: 16 / 10.5; }
}

/* How it works */
.steps { display: grid; gap: 28px 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; align-content: start; }
.steps li::before { content: "Step " counter(step); font: 500 .875rem/1 var(--font-sans); color: var(--gold-text); }
.steps h3 { font: 500 1.6rem/1.15 var(--font-display); color: var(--ink); }
.steps p { font-size: .9375rem; color: var(--muted); max-width: 36ch; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.cta-band {
  background: var(--ink-2); color: var(--on-dark); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); position: relative; isolation: isolate;
}
.cta-band__text { padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; align-content: center; justify-items: start; }
.cta-band__text .eyebrow { color: var(--gold-on-dark); }
.cta-band__text h2 { color: var(--on-dark); }
.cta-band__text p { color: var(--on-dark-muted); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta-band__media { position: relative; min-height: 280px; }
.cta-band__media .art { position: absolute; inset: 0; }
@media (max-width: 800px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band__media { min-height: 200px; order: -1; }
}

.section-head { display: grid; gap: 14px; max-width: 640px; }
.section-head--center { justify-items: center; text-align: center; margin-inline: auto; }

/* =========================================================
   Join (vendor application)
   ========================================================= */
.join { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.join__grid {
  display: grid; align-items: start; column-gap: clamp(32px, 5vw, 72px); row-gap: 28px;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "head card" "details card";
}
.join__head { grid-area: head; display: grid; gap: 20px; }
.join__head .display { margin-top: 4px; }
.join__details { grid-area: details; display: grid; gap: 20px; }
.join__card { grid-area: card; }
.benefits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.benefits li { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: .975rem; color: var(--text); }
.approval {
  margin-top: 8px; padding: 22px; background: var(--cream); border-radius: var(--radius);
  display: grid; gap: 14px;
}
.approval h2 { font: 500 1.3rem/1.2 var(--font-display); color: var(--ink); }
.approval ol { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: ap; }
.approval li { counter-increment: ap; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: .9rem; color: var(--muted); }
.approval li::before {
  content: counter(ap); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; font: 500 .72rem/1 var(--font-sans); color: var(--gold-text);
}
.approval strong { color: var(--ink); font-weight: 500; }
.join__contact { font-size: .88rem; color: var(--muted); }
.join__contact span { color: var(--ink); user-select: all; }

.join__card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.stepper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.stepper li {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 18px clamp(10px, 2vw, 20px);
  font: 500 .875rem/1.2 var(--font-sans); color: var(--faint);
}
.stepper li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background-color .3s; }
.stepper__num {
  width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font: 500 .72rem/1 var(--font-sans); letter-spacing: 0;
}
.stepper__num .i { width: 14px; height: 14px; }
.stepper li.is-current { color: var(--ink); }
.stepper li.is-current::after { background: var(--gold-strong); }
.stepper li.is-current .stepper__num { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.stepper li.is-done { color: var(--muted); }
.stepper li.is-done .stepper__num { border-color: var(--gold-strong); background: var(--gold-strong); color: #fff; }
@media (max-width: 640px) {
  .stepper li { justify-content: center; padding-inline: 4px; }
  .stepper__label { display: none; }
  .stepper li.is-current .stepper__label { display: inline; }
  .stepper { grid-template-columns: auto auto auto auto; justify-content: space-between; padding-inline: 8px; }
}

.join__form { padding: clamp(22px, 4vw, 40px); }
.step-panel { display: grid; gap: 24px; }
.step-panel__head { display: grid; gap: 8px; }
.step-panel__head h2 { font: 500 clamp(1.8rem, 1.5rem + 1vw, 2.3rem)/1.1 var(--font-display); color: var(--ink); }
.step-panel__head p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.group-label { display: block; margin-bottom: 12px; }
.links-grid { display: grid; gap: 14px; }
.input-icon { position: relative; }
.input-icon .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.input-icon .input { padding-left: 44px; }

.uploads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.upload-slot {
  position: relative; aspect-ratio: 1; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
  background: var(--ivory); display: grid; place-items: center; text-align: center; overflow: hidden;
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.upload-slot:hover, .upload-slot.is-drag { border-color: var(--gold-strong); background: var(--gold-tint); }
.upload-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-slot:focus-within { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.upload-slot__empty { display: grid; gap: 6px; justify-items: center; padding: 8px; font-size: .78rem; color: var(--muted); pointer-events: none; }
.upload-slot__empty .i { width: 24px; height: 24px; color: var(--gold); }
.upload-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.upload-slot__remove {
  position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(29, 25, 21, .75); color: #fff; cursor: pointer; padding: 0;
}
.upload-slot__remove .i { width: 16px; height: 16px; }
.doc-upload {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); background: var(--ivory); position: relative; cursor: pointer;
}
.doc-upload:hover { border-color: var(--gold-strong); }
.doc-upload:focus-within { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.doc-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.doc-upload .i { width: 24px; height: 24px; color: var(--gold); }
.doc-upload__text { display: grid; font-size: .88rem; color: var(--muted); min-width: 0; }
.doc-upload__text strong { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.review { display: grid; gap: 14px; }
.review__block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__head h3 { font: 500 1.2rem/1.3 var(--font-display); color: var(--ink); }
.review__edit { border: 0; background: transparent; color: var(--gold-text); cursor: pointer; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.review dl { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .9rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .review dl { grid-template-columns: minmax(0, 1fr); } .review dd { margin-bottom: 8px; } }
.consents { display: grid; gap: 14px; padding-top: 4px; }

.join__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.save-note { flex: 1 1 120px; min-width: 0; font-size: .8rem; color: var(--faint); display: inline-flex; gap: 6px; align-items: center; }
.join__nav [data-next], .join__nav [data-submit] { margin-left: auto; }
@media (max-width: 520px) {
  .join__nav .save-note { order: 3; width: 100%; justify-content: center; }
  .join__nav [data-next], .join__nav [data-submit] { flex: 1; }
}
.save-note .i { width: 14px; height: 14px; }
.join__success { padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 44px); display: grid; gap: 18px; justify-items: center; text-align: center; }
.status-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--gold-tint); color: var(--gold-deep); font: 500 .8125rem/1 var(--font-sans);
}
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-strong); }
@media (prefers-reduced-motion: no-preference) {
  .status-chip::before { animation: pulse 1.8s ease-in-out infinite; }
}
@keyframes pulse { 50% { opacity: .35; } }
.join__success h2 { font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.7rem)/1.1 var(--font-display); color: var(--ink); }
.join__success p { color: var(--muted); max-width: 46ch; }
.next-steps { list-style: none; padding: 0; display: grid; gap: 10px; text-align: left; margin-top: 6px; }
.next-steps li { display: flex; gap: 12px; font-size: .92rem; color: var(--text); }
.next-steps .i { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }

@media (max-width: 980px) {
  .join__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "card" "details"; }
}

/* =========================================================
   Sign in
   ========================================================= */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.auth__art {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-dark);
  display: grid; align-content: center; gap: clamp(36px, 5vw, 56px);
  padding: clamp(40px, 6vw, 80px);
}
.auth__collage { justify-self: center; max-width: 520px; }
.auth__art-body { display: grid; gap: 14px; width: 100%; max-width: 520px; justify-self: center; }
.auth__art-body .eyebrow { color: var(--gold-on-dark); }
.auth__art-body p:not(.eyebrow) { font: 500 clamp(1.5rem, 1.15rem + 1.1vw, 2.15rem)/1.22 var(--font-display); text-wrap: balance; color: var(--on-dark); }
.auth__panel { display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.auth__card { width: min(100%, 440px); display: grid; gap: 26px; }
.auth__card .heading { font-size: clamp(2.3rem, 1.8rem + 1.4vw, 3rem); }
.auth__intro { display: grid; gap: 10px; }
.auth__intro p { color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tab {
  border: 0; background: transparent; padding: 14px 4px; cursor: pointer; position: relative;
  font: 500 .9375rem/1 var(--font-sans); color: var(--faint);
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background-color .25s; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { background: var(--ink); }
.auth form { display: grid; gap: 18px; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw-toggle .i { width: 19px; height: 19px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth__row--end { justify-content: flex-end; margin-top: -6px; }
.text-btn { border: 0; background: transparent; padding: 4px 0; cursor: pointer; color: var(--gold-text); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--ink); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: .875rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.role-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.role { position: relative; cursor: pointer; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role span {
  display: grid; justify-items: center; gap: 6px; padding: 14px 6px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
  font-size: .82rem; color: var(--muted); transition: all .2s var(--ease);
}
.role span .i { width: 22px; height: 22px; color: var(--gold); }
.role span strong { font: 500 1.1rem/1 var(--font-display); color: var(--ink); }
.role:hover span { border-color: var(--ink); }
.role input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--on-dark-muted); }
.role input:checked + span strong { color: var(--on-dark); }
.role input:checked + span .i { color: var(--gold-on-dark); }
.role input:focus-visible + span { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.vendor-route { display: grid; gap: 14px; padding: 20px; background: var(--cream); border-radius: var(--radius); }
.vendor-route p { color: var(--text); font-size: .95rem; }
.auth__alt { text-align: center; font-size: .92rem; color: var(--muted); }
.auth__alt a { color: var(--gold-text); }

@media (max-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth__collage { display: none; }
  .auth__art { padding-block: 36px; }
  .auth__art-body p:not(.eyebrow) { font-size: 1.45rem; }
}

/* =========================================================
   Coming soon
   ========================================================= */
.soon { padding-block: clamp(48px, 8vw, 110px); }
.soon__grid { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; }
.soon__copy { display: grid; gap: 22px; justify-items: start; }
.soon__copy .lead { max-width: 30em; }
.soon__form { width: 100%; max-width: 460px; display: grid; gap: 10px; }
.soon__row { display: flex; gap: 10px; }
.soon__row .input { flex: 1; min-width: 0; }
.soon__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 8px; }
.soon__visual { justify-self: center; width: min(100%, 420px); }
.arch {
  position: relative; aspect-ratio: 4 / 5.2; width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.arch .art { position: absolute; inset: 0; }
@media (max-width: 860px) {
  .soon__grid { grid-template-columns: minmax(0, 1fr); }
  .soon__visual { order: -1; width: min(100%, 320px); }
  .soon__visual .arch { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 480px) { .soon__row { flex-direction: column; } }

/* =========================================================
   About and Approved
   ========================================================= */
.intro { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.intro__grid { display: grid; gap: clamp(32px, 6vw, 88px); grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); align-items: center; }
.intro__copy { display: grid; gap: 22px; justify-items: start; max-width: 620px; }
.intro .rule::before { display: none; }
.intro__sub { font: 500 clamp(1.45rem, 1.2rem + .9vw, 1.9rem)/1.25 var(--font-display); color: var(--ink); text-wrap: balance; }
.intro__body { display: grid; gap: 14px; max-width: 36em; color: var(--muted); font-size: 1.05rem; }
.intro__kicker { font: italic 500 1.45rem/1.3 var(--font-display); color: var(--gold-text); }
.intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.intro__visual { justify-self: center; width: min(100%, 430px); }
.seal-panel {
  aspect-ratio: 1; display: grid; place-items: center; padding: 15%;
  background: radial-gradient(circle at 50% 42%, var(--paper) 0%, var(--cream) 72%);
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
}
.seal-panel img { width: 100%; height: auto; }
/* The brand lockup on greige paper, lit like the Instagram profile mark */
.arch--paper {
  display: grid; place-items: center; padding: 16% 9% 10%;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .28) 48%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(ellipse at 40% 30%, #EEE6DA 0%, #E2D7C8 58%, #D3C6B4 100%);
  box-shadow: inset 0 0 0 1px rgba(164, 138, 98, .18), var(--shadow-lg);
}
.arch--paper img { width: 100%; height: auto; }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__visual { order: -1; width: min(100%, 300px); }
  .intro__visual .arch { aspect-ratio: 4 / 3.6; }
}

.pillars { padding-bottom: clamp(56px, 8vw, 104px); }
.pillars .section-head { margin-bottom: 30px; }
.values__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .values__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .values__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values__grid--5 { grid-template-columns: minmax(0, 1fr); } }

.vision { background: var(--cream); text-align: center; padding-block: clamp(64px, 9vw, 120px); }
.vision__inner { display: grid; justify-items: center; gap: 22px; max-width: 900px; }
.vision__title { font-size: var(--fs-h1); }
.vision__statement { font: 500 clamp(1.7rem, 1.25rem + 1.6vw, 2.6rem)/1.2 var(--font-display); color: var(--ink); text-wrap: balance; max-width: 20em; }
.vision__body { color: var(--muted); max-width: 38em; font-size: 1.05rem; }
.vision__words { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
.vision__words li {
  padding: 2px clamp(14px, 2.4vw, 26px);
  font: 500 .75rem/1.2 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text);
}
.vision__words li + li { border-left: 1px solid var(--line-strong); }
@media (max-width: 480px) { .vision__words li { padding-inline: 9px; letter-spacing: .2em; } }

.frame {
  position: relative; margin: 26px 0 0; max-width: 660px;
  padding: 38px clamp(22px, 5vw, 60px) 32px;
  border: 1px solid rgba(164, 138, 98, .6);
}
.frame__star {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding-inline: 12px; background: var(--cream); color: var(--gold); line-height: 0;
}
.frame__star .star { width: 14px; height: 14px; }
.frame p { font: italic 500 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.4 var(--font-display); color: var(--ink); text-wrap: balance; }

/* Kadija's letter: on paper (About) and in the dark story band (home) */
.letter-section { padding-block: clamp(64px, 9vw, 120px); }
.letter-section .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.letter { display: grid; gap: 16px; }
.letter p:not([class]) { font: 400 1.2rem/1.62 var(--font-display); }
.letter__hello { font: 400 clamp(2rem, 1.7rem + 1vw, 2.5rem)/1.1 var(--font-script); margin-bottom: 4px; }
.letter__close { font: italic 500 1.2rem/1.4 var(--font-display); margin-top: 8px; }
.letter__sign { font: 400 clamp(2.4rem, 2rem + 1.2vw, 3rem)/1 var(--font-script); }
.letter__role { font: 500 .7rem/1.4 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; }
.letter--paper {
  max-width: 740px; margin-inline: auto;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 7vw, 92px) clamp(40px, 6vw, 72px);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.letter--paper p:not([class]) { color: var(--text); }
.letter--paper .letter__hello { color: var(--gold-text); }
.letter--paper .letter__close { color: var(--muted); }
.letter--paper .letter__sign { color: var(--ink); }
.letter--paper .letter__role { color: var(--muted); }
.letter__head { display: grid; justify-items: center; gap: 12px; margin-bottom: clamp(18px, 3vw, 30px); }
.letter__head .mono { --mono-h: 58px; color: var(--gold-text); }
.letter__brand { font: 500 .78rem/1 var(--font-sans); letter-spacing: .46em; text-transform: uppercase; color: var(--ink); padding-left: .46em; }
.letter--dark p:not([class]) { color: rgba(243, 237, 228, .86); }
.letter--dark .letter__hello { color: var(--gold-on-dark); }
.letter--dark .letter__close { color: var(--on-dark-muted); }
.letter--dark .letter__sign { color: var(--on-dark); }
.letter--dark .letter__role { color: var(--on-dark-muted); }

/* Footer brand lines */
.footer__brand .footer__tagline { font: italic 500 1.2rem/1.35 var(--font-display); color: var(--ink); }
.footer__motto { letter-spacing: .26em; text-transform: uppercase; }

/* =========================================================
   Accounts: vendor dashboard and team review
   ========================================================= */
.acct { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 96px); }
.acct__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.acct__head .display { font-size: clamp(2.1rem, 1.4rem + 1.7vw, 2.9rem); }
.acct__sub { margin-top: 12px; font: 500 1.2rem/1.4 var(--font-display); color: var(--muted); max-width: 40em; }
.acct__who { display: flex; flex-wrap: wrap; gap: 10px; }
.acct__who .btn .i { width: 16px; height: 16px; }
.loading-line { color: var(--muted); padding: 40px 0; }
.empty-card {
  max-width: 620px; padding: clamp(28px, 4vw, 44px); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); display: grid; gap: 14px; justify-items: start;
}
.empty-card h2 { font: 500 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.15 var(--font-display); color: var(--ink); }
.empty-card p { color: var(--muted); }
.empty-card code { font-size: .9em; background: var(--cream); padding: 1px 6px; border-radius: 2px; }

.dash { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.dash__main, .dash__side { display: grid; gap: 24px; min-width: 0; }
.dash__side { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1000px) { .dash { grid-template-columns: minmax(0, 1fr); } .dash__side { position: static; } }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; min-width: 0; }
.panel--quiet { background: var(--cream); border-color: transparent; gap: 12px; }
.panel--quiet p { color: var(--muted); font-size: .95rem; }
.panel--quiet a:not(.text-link) { color: var(--gold-text); }
.panel__head { display: grid; gap: 6px; }
.panel__head h2, .panel__title { font: 500 1.6rem/1.15 var(--font-display); color: var(--ink); }
.panel__head p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.panel__foot [role="status"] { margin-right: auto; }
.panel__foot .notice { padding: 8px 12px; }
.profile-form { display: grid; gap: 22px; }
.pw-form { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }

.status-panel { gap: 14px; }
.status-panel__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.status-panel__date { font-size: .875rem; color: var(--faint); }
.status-panel h2 { font: 500 clamp(1.8rem, 1.5rem + 1vw, 2.4rem)/1.1 var(--font-display); color: var(--ink); }
.status-panel__text { color: var(--muted); max-width: 58ch; }
.status-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.status-chip--ok { background: var(--ok-tint); color: var(--ok); }
.status-chip--ok::before { background: var(--ok); animation: none !important; }
.status-chip--action { background: #F3E3C8; color: #6B4A12; }
.status-chip--action::before { background: #A8741E; }
.status-chip--muted { background: var(--cream); color: var(--muted); }
.status-chip--muted::before { background: var(--faint); animation: none !important; }
.team-note { border-left: 2px solid var(--gold); background: var(--gold-tint); padding: 14px 18px; display: grid; gap: 4px; }
.team-note h3 { font: 500 .8125rem/1.3 var(--font-sans); color: var(--gold-text); }
.team-note p { color: var(--text); white-space: pre-line; }
.progress { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.progress li { position: relative; display: grid; gap: 8px; font-size: .875rem; color: var(--faint); }
.progress li::before { content: ""; position: absolute; top: 6px; left: 14px; right: 0; height: 1px; background: var(--line-strong); }
.progress li:last-child::before { display: none; }
.progress__dot { width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); position: relative; z-index: 1; }
.progress li.is-done { color: var(--text); }
.progress li.is-done .progress__dot { background: var(--gold-strong); border-color: var(--gold-strong); }
.progress li.is-done::before { background: var(--gold); }
.progress li.is-current { color: var(--ink); font-weight: 500; }
.progress li.is-current .progress__dot { border-color: var(--gold-strong); box-shadow: inset 0 0 0 3px var(--paper); background: var(--gold-strong); }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

.upload-slot--filled { cursor: default; border-style: solid; }
.slot-actions { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 2; display: flex; gap: 6px; }
.slot-btn {
  position: relative; flex: 1; display: grid; place-items: center; min-height: 34px; padding: 0 8px;
  border: 0; border-radius: 2px; background: rgba(33, 26, 20, .78); color: #fff; font: 500 .78rem/1 var(--font-sans); cursor: pointer;
}
.slot-btn:hover { background: var(--ink); }
.slot-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.slot-btn:focus-within { outline: 2px solid var(--gold-strong); outline-offset: 2px; }

.signed-panel { display: grid; gap: 12px; justify-items: stretch; }
.signed-panel .text-btn { justify-self: center; }
.notice.span-2 { grid-column: 1 / -1; }

/* Team review */
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 400 .875rem/1 var(--font-sans);
}
.filter-tab:hover { border-color: var(--ink); }
.filter-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.filter-tab__n { font-variant-numeric: tabular-nums; opacity: .7; }
.admin__layout { display: grid; gap: 24px; grid-template-columns: 360px minmax(0, 1fr); align-items: start; }
@media (max-width: 980px) { .admin__layout { grid-template-columns: minmax(0, 1fr); } }
.app-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.app-item {
  width: 100%; display: grid; gap: 4px; text-align: left; cursor: pointer; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.app-item:hover { border-color: var(--line-strong); }
.app-item.is-selected { border-color: var(--gold-strong); box-shadow: inset 3px 0 0 var(--gold-strong); }
.app-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.app-item__top strong { font: 500 1.15rem/1.2 var(--font-display); color: var(--ink); }
.app-item .status-chip { flex: none; padding: 5px 10px; font-size: .72rem; }
.app-item__meta { font-size: .82rem; color: var(--muted); }
.app-list__empty { color: var(--muted); padding: 20px 4px; }
.app-list-wrap { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 2px; }
@media (max-width: 980px) { .app-list-wrap { position: static; max-height: none; } }
.app-detail__empty { display: grid; justify-items: center; gap: 10px; padding: 60px 20px; color: var(--muted); text-align: center; }
.app-detail__empty .i { width: 30px; height: 30px; color: var(--gold); }
.app-detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.app-detail__head h2 { font: 500 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.1 var(--font-display); color: var(--ink); }
.app-detail__head p { color: var(--muted); margin-top: 4px; }
.app-detail__contact { display: grid; gap: 4px; padding: 14px 16px; background: var(--ivory); border-radius: var(--radius-sm); }
.app-detail__contact a { color: var(--gold-text); }
.app-detail__block { display: grid; gap: 8px; }
.app-detail__block h3, .review-form h3 { font: 500 .8125rem/1.3 var(--font-sans); color: var(--gold-text); }
.app-detail__block p { color: var(--text); white-space: pre-line; }
.link-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.link-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .85rem; color: var(--ink); text-decoration: none;
}
.link-pill:hover { border-color: var(--ink); }
.link-pill .i { width: 13px; height: 13px; }
.app-detail__imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app-detail__img { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
.app-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.review-form { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-form__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-form__actions .btn { min-height: 44px; }
.btn--danger { --btn-fg: var(--danger); --btn-bd: rgba(155, 58, 42, .45); }
.btn--danger:hover { --btn-bg: var(--danger); --btn-fg: #fff; --btn-bd: var(--danger); }

/* Founding vendors (home) */
.founding-band { padding-top: clamp(40px, 6vw, 72px); }
.cta-band--light { background: var(--cream); color: var(--text); }
.cta-band--light .cta-band__text .heading { color: var(--ink); }
.cta-band--light .cta-band__text p { color: var(--muted); }
.tick-list { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 10px; }
.tick-list li { display: flex; align-items: baseline; gap: 12px; color: var(--text); }
.tick-list .star { width: 11px; height: 11px; color: var(--gold); transform: translateY(1px); }
.cta-band__note { font-size: .85rem; }
.cta-band--light .cta-band__text .cta-band__note { color: var(--muted); }
.site-header__apply { display: none; }
@media (min-width: 1240px) { .site-header__apply { display: inline-flex; } }

/* ---------- Small additions ---------- */
.crumb { color: var(--gold-text); text-decoration: none; }
.crumb:hover { text-decoration: underline; text-underline-offset: 4px; }
.step-count { font: 500 .875rem/1 var(--font-sans); color: var(--gold-text); }
.cta-band__text .heading { color: var(--on-dark); }
.xband { padding-bottom: clamp(64px, 8vw, 104px); }
.xband--after-features { padding-bottom: 0; }
.features { padding-block: clamp(64px, 8vw, 104px) clamp(36px, 5vw, 56px); }
.section--flush-top { padding-top: 0; }
html:has(dialog[open]) { overflow: hidden; }
.auth-fields { display: grid; gap: 18px; }
.text-btn .i--inline { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.join .notice--error { margin-top: 20px; }
[data-signin-status]:empty, [data-reset-status]:empty, [data-notify-status]:empty { display: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .opp:hover { transform: none; }
}

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal__inner { max-width: 820px; }
.legal__head { display: grid; gap: 14px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__meta { font-size: .875rem; color: var(--faint); }
.legal__body { display: grid; gap: 14px; color: var(--text); }
.legal__body h2 { font: 500 1.6rem/1.2 var(--font-display); color: var(--ink); margin-top: 18px; }
.legal__body ul { padding-left: 1.2em; display: grid; gap: 8px; }
.legal__body a { color: var(--gold-text); }
.legal__body strong { font-weight: 500; color: var(--ink); }
.check a { text-underline-offset: 2px; }
.newsletter p a { color: inherit; }

/* ---------- Motion (looping videos over stills) ---------- */
video.motion {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none;
}
.has-motion > video.motion { opacity: 1; }
.hero__media video.motion { object-position: 100% 35%; z-index: 0; }
.hero__media > img { position: relative; z-index: 0; }
.hero__media::after { z-index: 1; }
.motion-toggle {
  position: absolute; right: var(--gutter); bottom: 120px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(33, 26, 20, .25); background: rgba(243, 237, 228, .7); color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.motion-toggle .i { width: 15px; height: 15px; }
@media (max-width: 760px) { .motion-toggle { bottom: 150px; } }

/* ---------- Film band (home) ---------- */
.film-band { position: relative; isolation: isolate; color: var(--on-dark); min-height: clamp(440px, 62vw, 640px); display: grid; align-items: center; text-align: center; overflow: hidden; }
.film-band__media { position: absolute; inset: 0; z-index: -1; }
.film-band__media img { width: 100%; height: 100%; object-fit: cover; }
.film-band__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 14, 8, .38) 0%, rgba(20, 14, 8, .62) 70%), linear-gradient(180deg, rgba(20, 14, 8, .15), rgba(20, 14, 8, .45)); }
.film-band__inner { display: grid; justify-items: center; gap: 18px; padding-block: 72px; }
.film-band__title { font-size: var(--fs-h2); max-width: 22ch; color: var(--on-dark); }
.film-band__lead { font-size: var(--fs-lead); max-width: 44ch; color: var(--on-dark); font-family: var(--font-display); }
.film-band__play { margin-top: 8px; gap: 10px; }
.film-band__play .i { width: 14px; height: 14px; }
.modal--film { width: min(1100px, calc(100vw - 32px)); padding: 0; background: #000; border: 0; overflow: visible; }
.modal--film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.modal--film__close { position: absolute; top: -48px; right: 0; color: var(--on-dark); }
.modal--film__close:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Who we're welcoming (home) ---------- */
.cats .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.cats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.cat-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); color: var(--on-dark); text-decoration: none; background: var(--sand); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 14, 8, 0) 45%, rgba(20, 14, 8, .72) 100%); }
.cat-tile__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: 500 clamp(1.15rem, 1rem + .4vw, 1.4rem)/1.15 var(--font-display); }
.cat-tile__label::after { content: "Apply"; display: block; margin-top: 4px; font: 500 var(--fs-label)/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-on-dark); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.cat-tile:hover img, .cat-tile:focus-visible img { transform: scale(1.05); }
.cat-tile:hover .cat-tile__label::after, .cat-tile:focus-visible .cat-tile__label::after { opacity: 1; transform: none; }
.cats__more { margin-top: 26px; text-align: center; color: var(--muted); }
@media (max-width: 960px) { .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .cats__grid::-webkit-scrollbar { display: none; }
  .cats__grid > li { scroll-snap-align: start; }
  .cat-tile__label::after { opacity: 1; transform: none; }
}

/* ---------- Example vendor profiles (Approved) ---------- */
.profiles .section-head { margin-bottom: 32px; }
.profiles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vprofile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow-sm); }
.vprofile__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 3px; }
.vprofile__gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; display: block; }
.vprofile__gallery .vprofile__main { grid-column: 1 / -1; }
.vprofile__body { padding: 20px 22px 24px; display: grid; gap: 6px; align-content: start; }
.vprofile__cat { font: 500 var(--fs-label)/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.vprofile__name { display: flex; align-items: center; gap: 8px; font: 500 var(--fs-h3)/1.15 var(--font-display); color: var(--ink); }
.vprofile__seal { width: 28px; height: 28px; flex: none; }
.vprofile__loc { color: var(--muted); font-size: var(--fs-small); }
.vprofile__bio { margin-top: 6px; color: var(--text); }
.vprofile__tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vprofile__tags li { font-size: .78rem; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); }
@media (max-width: 960px) { .profiles__grid { grid-template-columns: 1fr; max-width: 560px; } }
/* The bride portrait is tall; keep her face in frame wherever it is cropped */
.collage figure { isolation: isolate; }
.collage__inset { z-index: 1; }

/* =========================================================
   October 2026 updates: bridal brief preview, coming-soon strip,
   vendor performance panel
   ========================================================= */
.brief__eyebrow, .feature__soon, .soon-strip__label {
  font: 500 .7rem/1 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text);
}
.brief__card--soon .brief__eyebrow { text-align: center; margin-bottom: 10px; }
.brief__card--soon .brief__title { margin-bottom: 6px; }
.brief__sub { text-align: center; margin: 0 auto 22px; max-width: 40em; color: var(--muted); font: 500 1.08rem/1.4 var(--font-display); }
.brief__card--soon .brief__control { cursor: default; opacity: .75; }
.brief__card--soon .brief__field:focus-within { background: none; }

.soon-strip { padding-block: clamp(28px, 4vw, 44px) 0; }
.soon-strip__inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.soon-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.soon-strip__list li { display: flex; align-items: center; }
.soon-strip__list li + li::before {
  content: ""; width: 9px; height: 9px; margin-inline: clamp(14px, 3vw, 34px); background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.soon-strip__list a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); padding: 6px 4px; }
.soon-strip__name { font: 400 clamp(1.05rem, .95rem + .5vw, 1.4rem)/1.1 var(--font-caps); letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.soon-strip__desc { font-size: .84rem; color: var(--muted); }
.soon-strip__list a:hover .soon-strip__name { color: var(--gold-text); }
@media (max-width: 700px) {
  .soon-strip__list { flex-direction: column; gap: 10px; }
  .soon-strip__list li + li::before { display: none; }
}
.feature__soon { margin-bottom: -4px; }
.footer__links small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-left: 6px; }

/* Vendor performance */
.perf__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.seg { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font: 500 .8rem/1 var(--font-sans); letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--on-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--ivory); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; min-width: 0; }
.stat__label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat__value { font: 500 clamp(2rem, 1.6rem + 1.2vw, 2.6rem)/1 var(--font-display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stat__delta { font-size: .8rem; color: var(--faint); }
.stat__delta--up { color: var(--ok); }
.stat__delta--down { color: var(--danger); }
@media (max-width: 560px) {
  .stats { gap: 8px; }
  .stat { padding: 14px 12px; gap: 4px; }
  .stat__label { font-size: .68rem; letter-spacing: .05em; }
  .stat__value { font-size: 1.9rem; }
  .stat__delta { font-size: .72rem; }
  .seg span { padding: 8px 12px; }
}
.chart { display: grid; gap: 8px; }
.chart__title { font-size: .85rem; color: var(--muted); }
.chart__plot { position: relative; height: 150px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 2px; border-bottom: 1px solid var(--line-strong); }
.chart__bar { position: relative; height: 100%; display: flex; align-items: flex-end; cursor: default; outline: none; }
.chart__bar i { display: block; width: 100%; max-width: 28px; margin-inline: auto; background: var(--gold); border-radius: 4px 4px 0 0; min-height: 0; transition: background .15s; }
.chart__bar:hover i, .chart__bar:focus-visible i { background: var(--gold-strong); }
.chart__tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2;
  background: var(--ink); color: var(--on-dark); font-size: .75rem; padding: 6px 9px; border-radius: var(--radius-sm); pointer-events: none;
  opacity: 0; transition: opacity .12s;
}
.chart__bar:hover .chart__tip, .chart__bar:focus-visible .chart__tip { opacity: 1; }
.chart__bar:first-child .chart__tip { left: 0; transform: none; }
.chart__bar:last-child .chart__tip { left: auto; right: 0; transform: none; }
.chart__axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--faint); }
.perf__note { font-size: .875rem; color: var(--muted); }

/* Kadija's vision (home): a statement, no imagery */
.vision-band { text-align: center; }
.vision-band__inner {
  display: grid; justify-items: center; gap: 22px;
  max-width: 880px; padding-block: clamp(80px, 10vw, 136px);
}
.vision-band__title { font: 500 1.5rem/1.2 var(--font-display); color: var(--gold-on-dark); letter-spacing: .01em; }
.vision-band .rule { color: var(--gold-on-dark); }
.vision-band__quote { margin: 6px 0 0; display: grid; gap: 22px; justify-items: center; }
.vision-band__statement {
  font: 500 clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem)/1.12 var(--font-display);
  color: var(--on-dark); text-wrap: balance; max-width: 16em;
}
.vision-band__statement::before { content: "\201C"; }
.vision-band__statement::after { content: "\201D"; }
.vision-band__body {
  font: 400 clamp(1.15rem, 1.05rem + .35vw, 1.35rem)/1.55 var(--font-display);
  color: var(--on-dark-muted); max-width: 34em; text-wrap: pretty;
}
.vision-band__sign { display: grid; justify-items: center; gap: 6px; margin-top: 4px; }
.vision-band__name { font: 400 clamp(2.4rem, 2rem + 1.2vw, 3rem)/1 var(--font-script); color: var(--gold-on-dark); }
.vision-band__role { font: 500 .7rem/1.4 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted); }
.vision-band__letter { width: 100%; max-width: 560px; margin-top: 10px; text-align: left; }
.vision-band__actions { justify-content: center; margin-top: 8px; }

/* Polish pass: clearer reading and tidier alignment */
@media (min-width: 761px) { .hero__lead { max-width: 21em; } }
.feature__text .feature__soon { font: 500 .7rem/1 var(--font-sans); letter-spacing: .3em; color: var(--gold-text); }
.opp-mini h3 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.4rem); line-height: 1.15; }
.opp-mini::after { background: linear-gradient(180deg, rgba(14, 10, 6, .1) 0%, rgba(14, 10, 6, 0) 30%, rgba(14, 10, 6, .86) 100%); }
.cta-band__actions, .mission-band__actions { align-items: center; gap: 12px 24px; }
.hero__note { line-height: 1.7; }
@media (max-width: 520px) {
  .vision-band__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .vision-band__actions .btn { width: 100%; }
}

/* Vendor-first home page */
.brief__card--start .brief__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.brief__control--text { cursor: text; background-image: none; padding-right: 0; color: var(--ink); }
.brief__control--text::placeholder { color: var(--faint); opacity: 1; }
.brief__card--start .brief__eyebrow { text-align: center; margin-bottom: 10px; }
.brief__card--start .brief__title { margin-bottom: 6px; }
@media (max-width: 1100px) {
  .brief__card--start .brief__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief__card--start .brief__field:nth-child(3) { border-left: 0; padding-left: 4px; }
  .brief__card--start .brief__field:nth-child(4) { border-left: 1px solid var(--line); padding-left: 20px; }
  .brief__card--start .brief__submit { grid-column: 1 / -1; padding: 16px 0 0; }
  .brief__card--start .brief__submit .btn { width: 100%; }
}
@media (max-width: 640px) {
  .brief__card--start .brief__grid { grid-template-columns: minmax(0, 1fr); }
  .brief__card--start .brief__field:nth-child(4) { border-left: 0; padding: 12px 4px; }
}
.values--why .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.how-band__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 4vw, 40px); }
.founding-band { padding-bottom: clamp(64px, 8vw, 104px); }
.xband__intro .btn { justify-self: start; margin-top: 4px; }
.soon-strip__list li + li::before { margin-inline: clamp(12px, 2.2vw, 28px); }

/* Header: the apply button shows at every width; short label where space is tight */
.site-header__apply { display: inline-flex; }
.site-header__apply-more { display: none; }
@media (min-width: 1240px) { .site-header__apply-more { display: inline; } }
@media (max-width: 1000px) { .site-header__apply-more { display: inline; } }
@media (max-width: 520px) { .site-header__apply-more { display: none; } .site-header__apply { padding-inline: 14px; } }
.site-header__apply { gap: .28em; }
.film-band + .xband { padding-top: clamp(64px, 8vw, 104px); }
.xband + .vision-band { margin-top: 0; }
.section-head .body-copy { text-wrap: balance; }
.soon-strip__list { flex-wrap: nowrap; }
@media (max-width: 1080px) and (min-width: 701px) {
  .soon-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
  .soon-strip__list li { justify-content: center; }
  .soon-strip__list li + li::before { display: none; }
}

/* =========================================================
   The Exchange: live board (posting, replies, your activity)
   ========================================================= */
.opp--live .opp__media[data-open-post] { cursor: pointer; }
.opp--live .opp__media[data-open-post]:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.opp__cta .btn .i { width: 16px; height: 16px; }
.pill--live { background: var(--ok-tint); color: var(--ok); }

.modal__actions { display: grid; gap: 10px; justify-items: stretch; }
.modal__actions .text-link { justify-self: center; margin-top: 4px; }

.post-d__kicker { margin: 0 0 8px !important; font: 500 .8rem/1.3 var(--font-sans) !important; color: var(--gold-text) !important; }
.post-d__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 20px; margin: 0; padding: 14px 16px; background: var(--ivory); border-radius: var(--radius); }
.post-d__facts dt { font-size: .75rem; color: var(--muted); }
.post-d__facts dd { margin: 2px 0 0; font: 500 1.05rem/1.3 var(--font-display); color: var(--ink); overflow-wrap: anywhere; }
.post-d__details { white-space: pre-line; font: 400 1.15rem/1.6 var(--font-display); color: var(--text); }

.post-d__owner, .post-d__reply { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-d__owner h3, .post-d__reply h3 { font: 500 1.4rem/1.2 var(--font-display); color: var(--ink); }
.post-d__owner-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.post-d__owner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.post-d__owner-actions .btn .i { width: 16px; height: 16px; }
.post-d__team { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.post-d__team .btn .i { width: 16px; height: 16px; }

.replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reply { display: grid; gap: 8px; padding: 14px 16px; background: var(--ivory); border-radius: var(--radius); }
.reply__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.reply__head strong { font: 500 1.1rem/1.2 var(--font-display); color: var(--ink); }
.reply__who { font-size: .8rem; color: var(--gold-text); }
.reply__when { font-size: .8rem; color: var(--faint); margin-left: auto; }
.reply__msg { white-space: pre-line; color: var(--text); font-size: .95rem; }
.reply__rec { font-size: .9rem; color: var(--text); }
.reply .text-link { justify-self: start; font-size: .9rem; }
.replies__empty { padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: .92rem; }

/* Your activity (members) */
.activity .my-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.activity .my-stats div { background: var(--ivory); border-radius: var(--radius); padding: 10px 8px; text-align: center; }
.activity .my-stats dt { font-size: .7rem; line-height: 1.25; color: var(--muted); }
.activity .my-stats dd { margin: 4px 0 0; font: 500 1.6rem/1 var(--font-display); color: var(--ink); font-variant-numeric: lining-nums; }
.my-posts__title { font: 500 .8rem/1 var(--font-sans); color: var(--muted); margin-bottom: 8px; }
.activity .my-posts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 2px; filter: none; opacity: 1; pointer-events: auto; user-select: auto; }
.activity .my-posts li { display: block; }
.my-posts button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; gap: 6px;
  padding: 10px 8px; border-radius: var(--radius-sm);
}
.my-posts button:hover { background: var(--ivory); }
.my-posts button:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 1px; }
.my-post__title { font: 500 1.02rem/1.25 var(--font-display); color: var(--ink); }
.my-post__meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.my-post__meta .pill { padding: 3px 8px; font-size: .7rem; }
.my-posts__empty { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.activity .btn .i { width: 16px; height: 16px; }
.x-empty .btn .i { width: 16px; height: 16px; }
.activity .my-stats div { display: grid; grid-template-rows: 2.6em auto; align-items: end; }

/* =========================================================
   Continue with Google / Apple, and the "bride or professional" choice
   ========================================================= */
.oauth { display: grid; gap: 10px; }
.oauth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px;
  padding: 0 18px; border-radius: var(--radius); cursor: pointer;
  font: 500 .95rem/1 var(--font-sans); letter-spacing: .01em;
  background: #fff; color: #1F1F1F; border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s;
}
.oauth-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.oauth-btn:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.oauth-btn--apple { background: #000; color: #fff; border-color: #000; }
.oauth-btn--apple:hover { border-color: #000; }
.oauth-btn__logo { width: 18px; height: 18px; flex: none; }
.oauth-btn--apple .oauth-btn__logo { width: 16px; height: 18px; transform: translateY(-1px); }
.oauth-btn:disabled { opacity: .65; cursor: progress; }
.oauth__or { display: flex; align-items: center; gap: 14px; margin: 18px 0 16px; color: var(--muted); font-size: .85rem; }
.oauth__or::before, .oauth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.oauth-join .label { margin-bottom: 10px; display: block; }
.oauth-join .oauth { max-width: 420px; }
.oauth-join .oauth__or { max-width: 420px; margin-bottom: 0; }

.choose-panel { display: grid; gap: 12px; }
.choose-panel__lead { color: var(--text); margin-bottom: 6px; }
.choice {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.choice:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.choice:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; }
.choice:disabled { opacity: .6; cursor: progress; }
.choice .i { width: 22px; height: 22px; color: var(--gold-text); margin-top: 2px; }
.choice span { display: grid; gap: 4px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.choice strong { font: 500 1.25rem/1.2 var(--font-display); color: var(--ink); }
.choose-panel .text-btn { justify-self: center; margin-top: 6px; }

.bride-band .cta-band__actions { align-items: center; gap: 12px 24px; }

/* Film band: the ceremonies, by tradition */
.rituals { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.rituals li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 18px; align-items: baseline; text-align: left; }
.rituals__faith { font: 500 .7rem/1.4 var(--font-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-on-dark); text-align: right; }
.rituals__list { font: 400 clamp(1.05rem, .98rem + .3vw, 1.25rem)/1.4 var(--font-display); color: var(--on-dark); }
@media (max-width: 600px) {
  .rituals { gap: 14px; }
  .rituals li { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .rituals__faith { text-align: center; }
}
.oauth-join [data-oauth-note] .notice { margin-top: 14px; max-width: 420px; }
[data-oauth-status] .notice { margin-bottom: 18px; }

/* =========================================================
   Discover waitlist (October 2026)
   ========================================================= */
.discover .soon__copy { gap: 18px; }
.discover__kicker { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.3; color: var(--gold-text); max-width: 26em; margin: 0; }
.discover__join { width: 100%; max-width: 500px; background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); margin-top: 6px; }
.discover__join .soon__form { max-width: none; margin-top: 14px; }
.discover__h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 1.25rem + .7vw, 1.75rem); line-height: 1.2; color: var(--ink); margin: 0 0 6px; }
.discover__p { margin: 0; color: var(--text); }
.discover__done { display: grid; gap: 6px; justify-items: start; outline: none; }
.discover__done > div { display: grid; gap: 6px; }
.discover__done-mark { margin: 0 0 4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-strong); color: var(--paper); }
.discover__done-mark .i { width: 20px; height: 20px; }
.discover__wait { margin: 6px 0 0; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--gold-text); }
.discover__done .text-btn { margin-top: 8px; }
.discover__sign { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); display: grid; gap: 2px; }
.discover__sign span { font-family: var(--font-script); font-size: 1.7rem; color: var(--gold-text); line-height: 1.2; }

.admin__waitlist { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; color: var(--text); }
.admin__waitlist .i { width: 16px; height: 16px; color: var(--gold-text); }
.admin__waitlist-note { color: var(--muted); font-size: .85rem; }
