/* Congress Registration Support Ltd — ultra-luxury black & gold stylesheet */
:root {
  --onyx: #141210;
  --onyx-raised: #1d1a17;
  --onyx-soft: #211d19;
  --gold: #d5ac63;
  --gold-bright: #f0d69a;
  --gold-deep: #a67f3c;
  --fg: #f4efe6;
  --muted: #b3a998;
  --border: rgba(213, 172, 99, 0.22);
  --grad-gold: linear-gradient(100deg, #a67f3c 0%, #f0d69a 42%, #d5ac63 68%, #a67f3c 100%);
  --grad-onyx: linear-gradient(180deg, #191612 0%, #100e0c 100%);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--onyx);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.12;
}
::selection {
  background: var(--gold);
  color: var(--onyx);
}
[hidden] {
  display: none !important;
}
html,
body {
  overflow-x: hidden;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 32px;
  }
}
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rule {
  height: 1px;
  max-width: 260px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px 0;
}
.panel {
  background: var(--grad-onyx);
}
.muted {
  color: var(--muted);
}
.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 42rem;
}
section {
  border-bottom: 1px solid var(--border);
}
.pad {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 1024px) {
  .pad {
    padding-top: 112px;
    padding-bottom: 112px;
  }

}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 16, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .header-inner {
    padding: 16px 32px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.1rem;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  display: block;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}
.nav a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}
.nav-tel {
  border: 1px solid rgba(213, 172, 99, 0.6);
  padding: 10px 20px;
  color: var(--gold) !important;
}
.nav-tel:hover {
  background: var(--gold);
  color: var(--onyx) !important;
}
.menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: none;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--onyx-raised);
  padding: 0 20px 24px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: none;
  color: var(--fg);
  cursor: pointer;
  font-family: var(--sans);
  transition:
    border-color 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-gold {
  background-image: var(--grad-gold);
  color: var(--onyx);
  border: none;
}
.btn-gold:hover {
  opacity: 0.9;
  color: var(--onyx);
}
.link-gold {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--onyx) 8%,
    rgba(20, 18, 16, 0.78) 48%,
    rgba(20, 18, 16, 0.35) 100%
  );
}
.hero-inner {
  position: relative;
  padding-top: 112px;
  padding-bottom: 112px;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-top: 28px;
  max-width: 46rem;
}
.page-hero {
  background: var(--grad-onyx);
  padding: 80px 0;
}
@media (min-width: 1024px) {
  .page-hero {
    padding: 112px 0;
  }
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin-top: 24px;
  max-width: 56rem;
}

/* Grids */
.grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
.grid > * {
  background: var(--onyx);
  padding: 36px;
}
@media (min-width: 700px) {
  .cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.grid h3 {
  font-size: 1.25rem;
  color: var(--gold);
}
.grid p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 16px 0 0;
}
.split {
  display: grid;
  gap: 56px;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.num,
.grid p.num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--fg);
  line-height: 1.15;
}
.frame {
  position: relative;
  margin: 0;
  padding: 6px;
  background: var(--grad-onyx);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px solid rgba(213, 172, 99, 0.3);
}
.frame .ratio {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.frame figcaption {
  border-top: 1px solid var(--border);
  padding: 15px 20px;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.img-grid {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}
@media (min-width: 700px) {
  .img-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}


/* Lists */
.ticks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.ticks li {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.ticks li::before {
  content: "";
  flex: 0 0 18px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
}

/* Service rows */
.service-row {
  display: grid;
  gap: 32px;
  background: var(--onyx);
  padding: 40px;
}
@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
  }
}
.service-row h2 {
  font-size: 1.5rem;
  margin-top: 20px;
}
.rows {
  display: grid;
  gap: 1px;
  background: var(--border);
}

/* Definition tables */
.dl {
  display: grid;
  gap: 1px;
  background: var(--border);
  margin: 48px 0 0;
}
@media (min-width: 700px) {
  .dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dl > div {
  background: var(--onyx);
  padding: 28px;
}
.dl dt {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.dl dd {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

/* Legal */
.legal h2 {
  font-size: 1.55rem;
  color: var(--gold);
  margin-top: 40px;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.92rem;
}
.legal .narrow {
  max-width: 60rem;
  margin: 0 auto;
}
.stamp {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card {
  border: 1px solid var(--border);
  background: var(--grad-onyx);
  padding: 32px;
  margin-top: 64px;
}

/* Form */
.form {
  border: 1px solid var(--border);
  background: var(--grad-onyx);
  padding: 28px;
}
@media (min-width: 640px) {
  .form {
    padding: 40px;
  }
}
.field {
  margin-top: 24px;
}
.field label,
.form-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  background: var(--onyx);
  border: 1px solid rgba(213, 172, 99, 0.28);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field-row {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}
.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  font-size: 0.78rem;
  color: var(--muted);
}
.consent input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
}
.notice {
  border: 1px solid var(--border);
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.notice-ok {
  border-color: rgba(213, 172, 99, 0.6);
  color: var(--gold-bright);
}
.notice-err {
  border-color: rgba(224, 106, 88, 0.6);
  color: #e9a99b;
}
.field-error {
  color: #e9a99b;
  font-size: 0.75rem;
  margin: 8px 0 0;
}

/* Footer */
.site-footer {
  background: var(--grad-onyx);
  border-top: 1px solid var(--border);
  border-bottom: none;
}
.footer-grid {
  display: grid;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.site-footer h2 {
  font-size: 1.4rem;
  margin-top: 16px;
}
.site-footer ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer a:hover,
.cookie-reopen:hover {
  color: var(--gold);
}
.cookie-reopen {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.footer-base {
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
}
@media (min-width: 640px) {
  .footer-base {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Cookie banner */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(29, 26, 23, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: none;
}
.cookie-bar.open {
  display: block;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}
@media (min-width: 1024px) {
  .cookie-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.cookie-copy {
  max-width: 46rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cookie-copy a {
  color: var(--gold);
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}
.cookie-actions .btn {
  justify-content: center;
  width: 100%;
}
.cookie-prefs {
  display: none;
  border: 1px solid var(--border);
  padding: 20px;
  margin-top: 24px;
}
.cookie-prefs.open {
  display: block;
}
.cookie-toggle {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.cookie-toggle strong {
  font-weight: 400;
  color: var(--fg);
  display: block;
  font-size: 0.9rem;
}
.cookie-toggle span {
  font-size: 0.78rem;
}
.cookie-toggle input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: 0 0 auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--gold);
  color: var(--onyx);
  padding: 8px 14px;
}

/* Prevent framed images from forcing grid tracks wider than the viewport */
.split > *,
.img-grid > *,
.frame,
.frame .ratio {
  min-width: 0;
}
.frame img {
  max-width: 100%;
}
