:root {
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --bg-primary: #0c0c14;
  --bg-secondary: #13131f;
  --bg-card: #16161e;
  --bg-raised: #1b1b26;
  --text-primary: #e8e0d5;
  --text-secondary: #aaa5b5;
  --text-muted: #777388;
  --cream: #f5f0e8;
  --gold: #b8922a;
  --gold-light: #d4a83a;
  --gold-glow: rgba(184, 146, 42, 0.15);
  --border: rgba(255, 255, 255, 0.09);
  --error: #ffaaa4;
  --success: #a9d2b0;
  --focus: #e6bd54;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

a:hover {
  color: var(--gold-light);
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--cream);
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(12, 12, 20, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.7vw, 1.15rem);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand em {
  font-weight: 400;
  text-transform: lowercase;
}

.brand strong {
  color: var(--gold);
  font-weight: 400;
}

.brand__logo {
  width: auto;
  height: 38px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(184, 146, 42, 0.35));
}

.site-nav {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2.2vw, 2rem);
  list-style: none;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.masthead::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(184, 146, 42, 0.11), transparent 33%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 55%);
  content: "";
  pointer-events: none;
}

.masthead__inner {
  position: relative;
  max-width: 1580px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 3.5rem) clamp(3.5rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.masthead h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(3.7rem, 10vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

.masthead h1 em {
  color: var(--gold-light);
  font-weight: 300;
}

.masthead__lede {
  max-width: 720px;
  margin: 2rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.8;
}

.launch-note {
  width: fit-content;
  max-width: 700px;
  margin: 2rem 0 0;
  padding: 0.9rem 1.1rem;
  color: var(--text-secondary);
  background: rgba(184, 146, 42, 0.07);
  border: 1px solid rgba(184, 146, 42, 0.28);
  font-size: 0.8rem;
}

.launch-note strong {
  color: var(--cream);
}

.index-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 3vw, 3.5rem) clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 100px;
  padding: clamp(1.2rem, 2vw, 1.75rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.filter-panel__intro {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-panel h2,
.results-panel h2,
.request-entry h2,
dialog h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.08;
}

.filter-panel h2 {
  font-size: 2.15rem;
}

.filter-panel__intro > p:last-child {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #747083;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-light);
}

.field select {
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23aaa5b5' d='m2 4 4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  appearance: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field__hint {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.form-actions {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.button {
  min-height: 46px;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(184, 146, 42, 0.52);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  color: var(--cream);
  border-color: var(--gold-light);
}

.button--primary {
  color: var(--bg-primary);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button--primary:hover {
  color: var(--bg-primary);
  background: var(--cream);
  border-color: var(--cream);
}

.button--quiet {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.18);
}

.button:disabled {
  cursor: wait;
  opacity: 0.56;
}

.button--full {
  width: 100%;
}

.results-panel {
  min-width: 0;
}

.results-heading {
  min-height: 76px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.results-heading h2 {
  padding-bottom: 1.35rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.results-heading .eyebrow {
  margin-bottom: 0.35rem;
}

.result-count {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: right;
}

.status-panel,
.message-panel {
  min-height: 180px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--border);
  text-align: center;
}

.status-panel {
  flex-direction: row;
}

.status-panel p,
.message-panel p,
.message-panel h3 {
  margin: 0;
}

.message-panel h3 {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
}

.message-panel p {
  max-width: 560px;
  font-size: 0.84rem;
}

.message-panel--error {
  border-color: rgba(255, 170, 164, 0.34);
}

.spinner {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.profile-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.profile-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 45% 35%, rgba(184, 146, 42, 0.16), transparent 30%),
    var(--bg-raised);
}

.profile-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.profile-card:hover .profile-card__media img {
  transform: scale(1.02);
  filter: saturate(1);
}

.profile-card__initials {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.06em;
}

.profile-card__body {
  min-width: 0;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
}

.profile-card__topline {
  margin-bottom: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.verification-badge,
.availability-badge {
  min-height: 28px;
  padding: 0.3rem 0.55rem;
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  background: var(--gold-glow);
  border: 1px solid rgba(184, 146, 42, 0.32);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.availability-badge {
  color: var(--success);
  background: rgba(108, 164, 117, 0.08);
  border-color: rgba(169, 210, 176, 0.25);
}

.profile-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
}

.profile-card__meta {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.profile-card__verification {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.profile-card__credits {
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
}

.profile-card__credits-title {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-card__credits ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.profile-card__credits li {
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.45;
}

.profile-card__credits strong {
  color: var(--text-primary);
  font-weight: 500;
}

.profile-card__actions {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.profile-card__actions .button {
  flex: 1 1 130px;
}

.load-more {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
}

.load-more__error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--error);
  font-size: 0.75rem;
  text-align: center;
}

.text-button {
  min-height: 44px;
  padding: 0 0.35rem;
  color: var(--gold-light);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.request-entry {
  width: min(100%, 1580px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem);
}

.request-entry h2 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.request-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  background: linear-gradient(110deg, rgba(184, 146, 42, 0.07), transparent 60%);
  border-top: 1px solid var(--border);
}

.request-entry > div:first-child > p:not(.eyebrow) {
  max-width: 750px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.request-entry__timing {
  color: var(--text-muted) !important;
  font-size: 0.74rem !important;
}

.request-entry__timing a {
  color: var(--gold-light);
}

.request-entry__actions {
  display: grid;
  gap: 0.75rem;
}

footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem) 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer__inner,
.footer__bottom {
  width: min(100%, 1580px);
  margin: 0 auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.footer__brand {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  letter-spacing: 0.09em;
}

.footer__brand span {
  color: var(--gold-light);
}

.footer__text {
  max-width: 520px;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer__title {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer__links {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.footer__links a,
.footer__links button {
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--gold-light);
}

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
}

.footer__bottom p {
  margin: 0;
}

dialog {
  width: min(94vw, 650px);
  max-height: min(90vh, 850px);
  padding: 0;
  overflow-y: auto;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid rgba(184, 146, 42, 0.38);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.dialog__header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 1.4rem clamp(1.2rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(22, 22, 30, 0.97);
  border-bottom: 1px solid var(--border);
}

.dialog__header .eyebrow {
  margin-bottom: 0.35rem;
}

dialog h2 {
  font-size: 2.2rem;
}

.dialog__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

#request-form-panel,
.dialog__success {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.dialog__lede {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.8rem;
  color: var(--error);
  background: rgba(255, 170, 164, 0.06);
  border: 1px solid rgba(255, 170, 164, 0.25);
  font-size: 0.76rem;
}

.dialog__success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.dialog__success h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 400;
}

.dialog__success p {
  color: var(--text-secondary);
}

/* Server-rendered public profile and token-free confirmation shell. */
.index-site-header {
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.index-site-header a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.index-site-header a:first-child {
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.profile-shell,
.confirmation-shell {
  width: min(100%, 1580px);
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.profile-shell {
  overflow-wrap: anywhere;
}

.index-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.profile-shell > h1,
.confirmation-shell > h1 {
  max-width: 1100px;
  margin: 0;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.profile-meta {
  margin: 1.4rem 0 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.verification-card {
  max-width: 760px;
  margin: 2.5rem 0;
  padding: 1.2rem 1.35rem;
  background: var(--gold-glow);
  border: 1px solid rgba(184, 146, 42, 0.32);
}

.verification-card strong,
.availability {
  color: var(--gold-light);
}

.verification-card p {
  margin: 0.45rem 0 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.profile-shell > section {
  max-width: 1100px;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.profile-shell section h2,
.confirmation-card h2,
.confirmation-state h2 {
  margin: 0 0 1rem;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
}

.profile-shell section p,
.profile-shell section li,
.profile-shell > p,
.confirmation-card__intro > p:not(.eyebrow),
.confirmation-state p,
.confirmation-notice {
  color: var(--text-secondary);
}

.profile-shell section p,
.profile-shell section li {
  max-width: 78ch;
  line-height: 1.8;
}

.profile-shell a,
.confirmation-card a {
  color: var(--gold-light);
}

.profile-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
}

.profile-media figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.profile-media img {
  width: 100%;
  height: auto;
  max-height: min(76vh, 920px);
  display: block;
  object-fit: contain;
  background: #050509;
}

.profile-media iframe,
.profile-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050509;
  border: 0;
}

.profile-media figcaption {
  padding: 0.75rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.credit-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.verification-state {
  margin-left: 0.45rem;
  padding: 0.2rem 0.4rem;
  color: var(--gold-light);
  border: 1px solid rgba(184, 146, 42, 0.32);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-actions {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-secondary);
}

.profile-actions a {
  min-height: 44px;
  margin: 0.5rem 0.75rem 0 0;
  display: inline-flex;
  align-items: center;
}

.status-code {
  color: var(--text-muted) !important;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.confirmation-shell {
  max-width: 1040px;
}

.confirmation-shell > h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.confirmation-state,
.confirmation-card {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.confirmation-state {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.confirmation-state--message {
  flex-direction: column;
  align-items: flex-start;
}

.confirmation-state p,
.confirmation-card__intro > p:not(.eyebrow) {
  max-width: 78ch;
  margin: 0;
  line-height: 1.8;
}

.consent-options {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  border: 0;
}

.consent-options legend {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-option {
  min-height: 74px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
}

.consent-option:hover {
  border-color: rgba(184, 146, 42, 0.45);
}

.consent-option--required {
  background: rgba(184, 146, 42, 0.07);
  border-color: rgba(184, 146, 42, 0.3);
}

.consent-option input {
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--gold-light);
}

.consent-option strong,
.consent-option small {
  display: block;
}

.consent-option strong {
  color: var(--cream);
  font-size: 0.82rem;
}

.consent-option small {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.6;
}

.confirmation-notice {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.018);
  border-left: 2px solid var(--gold);
  font-size: 0.74rem;
}

.confirmation-notice p {
  margin: 0;
}

.confirmation-notice p + p {
  margin-top: 0.6rem;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.confirmation-actions .button {
  flex: 1 1 240px;
}

.confirmation-footer {
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.confirmation-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .index-shell {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .filter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }

  .form-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding-block: 0.55rem;
  }

  .brand {
    letter-spacing: 0.07em;
  }

  .brand__logo {
    height: 34px;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .site-nav li:nth-child(2),
  .site-nav li:nth-child(3) {
    display: none;
  }

  .site-nav a {
    letter-spacing: 0.11em;
  }

  .masthead__inner {
    padding-top: 4rem;
  }

  .masthead h1 {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .filter-grid,
  .form-actions,
  .request-entry,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .results-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .result-count {
    margin-top: -0.7rem;
    text-align: left;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions .button {
    flex-basis: auto;
  }
}

@media (max-width: 440px) {
  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .filter-panel,
  .profile-card__body,
  .message-panel {
    padding-inline: 1rem;
  }

  .profile-card__actions {
    flex-direction: column;
  }

  .profile-card__actions .button {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
