:root {
  --color-deep-plum: #2D1B2E;
  --color-soft-gold: #D4AF37;
  --color-powder-rose: #E8C4C4;
  --color-midnight-navy: #1A1A2E;
  --color-pearl-white: #F5F0F0;
  --color-soft-gold-foreground: #2D1B2E;
  --color-pearl-white-foreground: #2D1B2E;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-display: clamp(2.75rem, 6vw, 4rem);
  --text-h1: clamp(2.25rem, 4.5vw, 3rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.25rem);
  --text-h3: clamp(1.375rem, 2.5vw, 1.75rem);
  --text-body: 1.125rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;

  --leading-display: 1.1;
  --leading-h1: 1.2;
  --leading-h2: 1.3;
  --leading-h3: 1.4;
  --leading-body: 1.6;
  --leading-small: 1.5;
  --leading-caption: 1.4;

  --weight-display: 700;
  --weight-h1: 700;
  --weight-h2: 600;
  --weight-h3: 600;
  --weight-body: 400;
  --weight-small: 400;
  --weight-caption: 500;

  --tracking-heading: 0.02em;
  --tracking-label: 0.1em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  --container-max: 75rem;
  --container-padding: clamp(1.5rem, 4vw, 3rem);

  --surface-primary: var(--color-deep-plum);
  --surface-alternative: var(--color-midnight-navy);
  --surface-card: rgba(245, 240, 240, 0.95);
  --surface-overlay: rgba(26, 26, 46, 0.85);

  --border-subtle: 1px solid rgba(212, 175, 55, 0.2);
  --border-gold: 1px solid rgba(212, 175, 55, 0.6);

  --shadow-soft: 0 8px 24px rgba(45, 27, 46, 0.3);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.35);

  --radius-small: 4px;
  --radius-medium: 12px;
  --radius-large: 24px;
  --radius-pill: 999px;

  --transition-smooth: 0.3s ease-in-out;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--color-pearl-white);
  background-color: var(--color-deep-plum);
  min-height: 100vh;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

a {
  color: var(--color-soft-gold);
  text-decoration: none;
  transition: color var(--transition-smooth), text-shadow var(--transition-smooth);
}

a:hover {
  color: var(--color-powder-rose);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-soft-gold);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading, 600);
  letter-spacing: var(--tracking-heading);
  color: var(--color-pearl-white);
  line-height: var(--leading-heading, 1.3);
  margin-block-end: var(--space-4);
}

h1 {
  font-size: var(--text-h1);
  font-weight: var(--weight-h1);
  line-height: var(--leading-h1);
}

h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-h2);
  line-height: var(--leading-h2);
}

h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-h3);
  line-height: var(--leading-h3);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin-block-end: var(--space-4);
  line-height: var(--leading-body);
}

p:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-5);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-4);
  border-inline-start: 3px solid var(--color-soft-gold);
  color: var(--color-powder-rose);
  font-style: italic;
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-4);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-caption);
  font-weight: var(--weight-caption);
  line-height: var(--leading-caption);
  color: var(--color-powder-rose);
  margin-block-start: var(--space-2);
}

hr {
  border: none;
  border-top: var(--border-subtle);
  margin-block: var(--space-6);
}

small {
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.surface-card {
  background: var(--surface-card);
  color: var(--color-pearl-white-foreground);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  border: var(--border-subtle);
  padding: var(--space-5);
}

.surface-card > :last-child {
  margin-block-end: 0;
}

.surface-alternative {
  background: var(--surface-alternative);
  color: var(--color-pearl-white);
  border-radius: var(--radius-large);
  padding: var(--space-6);
}

.surface-alternative > :last-child {
  margin-block-end: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-soft-gold-foreground);
  background-color: var(--color-soft-gold);
  border: 1px solid var(--color-soft-gold);
  border-radius: var(--radius-small);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--transition-smooth), color var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.btn:hover {
  background-color: var(--color-pearl-white);
  color: var(--color-deep-plum);
  border-color: var(--color-pearl-white);
  box-shadow: var(--shadow-glow);
}

.btn:focus-visible {
  outline: 2px solid var(--color-soft-gold);
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: var(--color-soft-gold);
  border-color: var(--color-soft-gold);
}

.btn-secondary:hover {
  background: var(--color-soft-gold);
  color: var(--color-soft-gold-foreground);
  border-color: var(--color-soft-gold);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-pearl-white);
  border-color: rgba(245, 240, 240, 0.3);
}

.btn-ghost:hover {
  background: rgba(245, 240, 240, 0.1);
  color: var(--color-pearl-white);
  border-color: var(--color-pearl-white);
  box-shadow: none;
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-caption);
  font-weight: var(--weight-caption);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-soft-gold);
  margin-block-end: var(--space-2);
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 10000;
  background: var(--color-soft-gold);
  color: var(--color-soft-gold-foreground);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-small);
  font-weight: 600;
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: var(--space-4);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="time"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--color-pearl-white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0;
  padding: var(--space-2) var(--space-1);
  min-height: 44px;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 240, 240, 0.5);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--color-soft-gold);
  box-shadow: 0 1px 0 0 var(--color-soft-gold);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-inline-end: 2rem;
}

select option {
  background: var(--color-deep-plum);
  color: var(--color-pearl-white);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-powder-rose);
  margin-block-end: var(--space-2);
}

fieldset {
  border: var(--border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
  margin-block-end: var(--space-4);
}

legend {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-h3);
  color: var(--color-pearl-white);
  padding-inline: var(--space-2);
}

.form-group {
  margin-block-end: var(--space-4);
}

.form-group:last-child {
  margin-block-end: 0;
}

.form-hint {
  font-size: var(--text-caption);
  font-weight: var(--weight-caption);
  line-height: var(--leading-caption);
  color: rgba(245, 240, 240, 0.6);
  margin-block-start: var(--space-1);
}

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-4);
}

.content-list:last-child {
  margin-block-end: 0;
}

.content-list li {
  position: relative;
  padding-inline-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.content-list li:last-child {
  margin-block-end: 0;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-soft-gold);
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.flex > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

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

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  align-items: flex-start;
  justify-content: flex-start;
}

.flex-end {
  align-items: flex-end;
  justify-content: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 0 0 auto;
}

.flex-grow {
  flex: 1 1 auto;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

.mt-1 { margin-block-start: var(--space-1); }
.mt-2 { margin-block-start: var(--space-2); }
.mt-3 { margin-block-start: var(--space-3); }
.mt-4 { margin-block-start: var(--space-4); }
.mt-5 { margin-block-start: var(--space-5); }
.mt-6 { margin-block-start: var(--space-6); }
.mt-7 { margin-block-start: var(--space-7); }
.mt-8 { margin-block-start: var(--space-8); }

.mb-1 { margin-block-end: var(--space-1); }
.mb-2 { margin-block-end: var(--space-2); }
.mb-3 { margin-block-end: var(--space-3); }
.mb-4 { margin-block-end: var(--space-4); }
.mb-5 { margin-block-end: var(--space-5); }
.mb-6 { margin-block-end: var(--space-6); }
.mb-7 { margin-block-end: var(--space-7); }
.mb-8 { margin-block-end: var(--space-8); }

.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }

.text-gold { color: var(--color-soft-gold); }
.text-pearl { color: var(--color-pearl-white); }
.text-rose { color: var(--color-powder-rose); }
.text-plum { color: var(--color-deep-plum); }
.text-navy { color: var(--color-midnight-navy); }

.bg-plum { background-color: var(--color-deep-plum); }
.bg-navy { background-color: var(--color-midnight-navy); }
.bg-gold { background-color: var(--color-soft-gold); }
.bg-rose { background-color: var(--color-powder-rose); }
.bg-pearl { background-color: var(--color-pearl-white); }

.radius-small { border-radius: var(--radius-small); }
.radius-medium { border-radius: var(--radius-medium); }
.radius-large { border-radius: var(--radius-large); }
.radius-pill { border-radius: var(--radius-pill); }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.border-subtle { border: var(--border-subtle); }
.border-gold { border: var(--border-gold); }

@media (max-width: 767px) {
  :root {
    --text-display: clamp(2rem, 8vw, 2.75rem);
    --text-h1: clamp(1.75rem, 7vw, 2.25rem);
    --text-h2: clamp(1.5rem, 6vw, 1.75rem);
    --text-h3: clamp(1.25rem, 5vw, 1.375rem);
    --text-body: 1rem;
    --text-small: 0.8125rem;
    --text-caption: 0.75rem;

    --container-padding: 1.25rem;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .surface-card {
    padding: var(--space-4);
  }

  .surface-alternative {
    padding: var(--space-4);
    border-radius: var(--radius-medium);
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --text-display: clamp(2.5rem, 5vw, 3.5rem);
    --text-h1: clamp(2rem, 4vw, 2.75rem);
    --text-h2: clamp(1.625rem, 3vw, 2rem);
    --text-h3: clamp(1.375rem, 2.5vw, 1.625rem);
    --container-padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}