/* ==========================================================================
   Elena Marlowe — shared styles (tokens, base, header, hero, banner, CTA,
   footer, buttons, photos, tables, forms). Page files live in css/pages/.
   Design reference: Figma 1920px frame, 1290px content container.
   Breakpoints (max-width): 1280 / 991 / 767 / 479.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colours */
  --c-bg: #070707;
  --c-surface-1: #111111;
  --c-surface-2: #161616;
  --c-surface-3: #181818;
  --c-surface-4: #212121;
  --c-surface-5: #2b2b2b;
  --c-navy: #181b24;
  --c-plum: #1c191e;
  --c-ghost: #151515;           /* giant decorative display words */
  --c-text: #bebebe;            /* body copy */
  --c-white: #ffffff;
  --c-light: #d5d5d5;           /* nav links */
  --c-muted: #959595;           /* placeholders, captions */
  --c-muted-2: #999999;         /* table footnotes */
  --c-muted-3: #afafaf;
  --c-icon: #919191;
  --c-gold: #f5bd4d;            /* buttons, controls */
  --c-gold-text: #f4ba43;       /* gold heading text / gradient start */
  --c-gold-end: #e2c843;        /* gradient end */
  --c-gold-hero-start: #f5bd4c;
  --c-gold-hero-end: #e5c94b;
  --c-gold-soft: #ffce84;       /* active nav, hovers */
  --c-champagne: #e9cba4;       /* footer email link */
  --c-glow: #b28f47;
  --c-required: #ff0000;
  --c-logo-shadow: #7a0000;
  --c-line: rgb(255 255 255 / 0.14);
  --c-line-soft: rgb(255 255 255 / 0.1);
  --c-border: rgb(255 255 255 / 0.08);
  --c-border-faint: rgb(255 255 255 / 0.05);
  --c-control-border: rgb(191 191 191 / 0.51);
  --c-glow-fill: rgb(178 143 71 / 0.21);
  --c-glow-fade: rgb(178 143 71 / 0);

  --gradient-gold: linear-gradient(90deg, var(--c-gold-text), var(--c-gold-end));
  --gradient-gold-hero: linear-gradient(90deg, var(--c-gold-hero-start) 25%, var(--c-gold-hero-end) 93%);

  /* Fonts */
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;

  /* Font sizes (fluid; max = Figma value at 1920) */
  --fs-xs: 0.8125rem;                                        /* 13 */
  --fs-sm: 1rem;                                             /* 16 */
  --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);         /* 18 */
  --fs-md: clamp(1.1875rem, 1.1rem + 0.25vw, 1.375rem);      /* 22 */
  --fs-lg: clamp(1.25rem, 1.12rem + 0.4vw, 1.5625rem);       /* 25 */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.25vw, 2.5rem);         /* 40 */
  --fs-h1: clamp(2.125rem, 1.6rem + 1.65vw, 3.125rem);       /* 50 */
  --fs-logo: clamp(2.125rem, 1.9rem + 0.6vw, 2.5625rem);     /* 41 */
  --fs-display: clamp(5rem, 1rem + 15vw, 18.75rem);          /* 300 */

  --lh-body: 1.667;      /* 30/18 */
  --lh-h1: 1.3;          /* 65/50 */
  --lh-h2: 1.375;        /* 55/40 */
  --ls-heading: 0.04em;  /* 1.6px @ 40, 2px @ 50 */
  --ls-eyebrow: 0.1em;   /* 1.3px @ 13 */
  --ls-nav: 0.04em;      /* 0.52px @ 13 */
  --ls-sub: 0.02em;      /* 0.44px @ 22 */

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;
  --section-space: clamp(3.5rem, 2rem + 5.1vw, 8.125rem);    /* 130 between sections */

  /* Radii */
  --radius-xs: 3px;      /* form card, controls */
  --radius-sm: 6px;      /* photos */
  --radius-pill: 999px;  /* buttons */

  /* Layout */
  --container: 80.625rem;                                    /* 1290 */
  --gutter: clamp(1rem, 0.6rem + 1.6vw, 1.5rem);             /* 16 → 24 */
  --header-h: 10.1875rem;                                    /* 163 desktop, 72 mobile */
  --ornament-w: 17.3125rem;                                  /* 277 */
}

@media (max-width: 991px) {
  :root { --header-h: 4.5rem; }
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; border-spacing: 0; }
hr { border: 0; }

a { color: var(--c-gold); text-decoration: none; transition: color 0.2s ease; }
a:not([class]):hover { color: var(--c-gold-soft); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
::selection { background: var(--c-gold); color: var(--c-bg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--c-gold);
  color: var(--c-bg);
  font-weight: 500;
}
.skip-link:focus { top: 0.75rem; }

.text-center { text-align: center; }
.flow > * + * { margin-top: var(--flow-space, 0.9em); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main {
  position: relative;
  isolation: isolate;
  overflow-x: clip; /* decorative glows/waves may bleed sideways */
}

.section { position: relative; padding-block: var(--section-space); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.75rem;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-white);
}

.heading-1,
.heading-2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  color: var(--c-white);
}
.heading-1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.heading-2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }

.heading-3 {               /* e.g. "My name is Elena Marlowe" — Outfit 25/35 */
  font-size: var(--fs-lg);
  line-height: 1.4;
  color: var(--c-white);
}

.heading-4 {               /* column / table headings — Outfit Medium 22/34 */
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.545;
  letter-spacing: var(--ls-sub);
  color: var(--c-white);
}

.text-gold,
.text-gold-hero {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--c-gold-text);
  -webkit-text-fill-color: transparent;
}
.text-gold-hero { background-image: var(--gradient-gold-hero); }
/* solid colours that also work inside a gradient-clipped heading */
.text-gold-solid { color: var(--c-gold-text); -webkit-text-fill-color: currentColor; }
.text-white { color: var(--c-white); -webkit-text-fill-color: currentColor; }
.text-muted { color: var(--c-muted); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: var(--fs-logo);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.display-word {             /* giant ghost word behind a section (aria-hidden) */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 0.8;
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  color: var(--c-ghost);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Gold title framed by the filigree ornament above and below (page titles, section titles) */
.ornament-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  text-align: center;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--c-gold-text);
  -webkit-text-fill-color: transparent;
}
.ornament-title::before,
.ornament-title::after {
  content: "";
  display: block;
  flex: none;
  width: var(--ornament-w);
  max-width: 100%;
  aspect-ratio: 666 / 80;
  background: url("/images/decor/ornament.png") center / contain no-repeat;
}
.ornament-title::after { margin-top: 0.3125rem; transform: rotate(180deg); }

.section-heading {
  display: grid;
  justify-items: center;
  gap: var(--space-xs);
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.75rem);
  text-align: center;
}
.section-heading--start { justify-items: start; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.125rem;               /* 50 */
  padding: 0.5rem 3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-gold-soft); border-color: var(--c-gold-soft); color: var(--c-bg); }

.btn--dark { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }
.btn--dark:hover { border-color: var(--c-gold); color: var(--c-gold-soft); }

.btn--outline { background: transparent; border-color: var(--c-gold); color: var(--c-gold); }
.btn--outline:hover { background: var(--c-gold); color: var(--c-bg); }

.btn--lg {                            /* CTA banner buttons: 264×56, tracked */
  min-height: 3.5rem;
  min-width: 16.5rem;
  padding-inline: 2.75rem;
  letter-spacing: var(--ls-eyebrow);
}
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1875rem;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5625rem;             /* logo top at 25px */
}

.site-logo {
  display: inline-block;
  font-family: var(--font-script);
  font-size: var(--fs-logo);
  font-weight: 400;
  line-height: 4.375rem;              /* 70 */
  color: var(--c-white);
  text-shadow: 1px 2px 0 var(--c-logo-shadow);
  white-space: nowrap;
  text-decoration: none;
}
.site-logo:hover { color: var(--c-white); text-decoration: none; }

.site-nav { margin-top: 1.6875rem; }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.375rem;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0 0.875rem 0.8125rem;      /* link box ends on the header line */
  font-size: var(--fs-xs);
  line-height: 1.75rem;
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  color: var(--c-light);
  text-decoration: none;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--c-gold-soft);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--c-gold-soft); text-decoration: none; }
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; }

@media (max-width: 991px) {
  .site-header__inner {
    flex-direction: row;
    justify-content: space-between;
    min-height: var(--header-h);
    padding-top: 0;
  }

  .site-logo { font-size: 2.125rem; line-height: 1.4; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-xs);
    background: rgb(7 7 7 / 0.35);
    color: var(--c-white);
  }
  .nav-toggle__bar {
    display: block;
    width: 1.25rem;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    margin-top: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-bottom: 1px solid var(--c-line);
    background: var(--c-bg);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-header.is-open { background: var(--c-bg); }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .site-nav__link {
    padding: 0.8125rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--c-border);
  }
  .site-nav__link::after { right: auto; width: 2.5rem; transform-origin: left; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(8rem, 5.4rem + 10.65vw, 18.1875rem);      /* eyebrow at 291 */
  padding-bottom: clamp(6rem, 1.6rem + 17.97vw, 23.1875rem);   /* 1092 tall @1920 */
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(142.7deg, rgb(10 11 13 / 0.8) 26.9%, rgb(7 7 7 / 0) 77%);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__content { max-width: 32.5rem; }
.hero__eyebrow { margin-bottom: 0.9375rem; }
.hero__title { margin-bottom: 1.3125rem; }
.hero__text { max-width: 28.9375rem; margin-bottom: 1.9375rem; }

@media (max-width: 767px) {
  .hero__media::after {
    background: linear-gradient(180deg, rgb(7 7 7 / 0.55), rgb(7 7 7 / 0.8));
  }
}

/* ---------- Inner-page banner + page title ---------- */
.page-hero {
  position: relative;
  padding-bottom: clamp(2.5rem, 1.25rem + 3.3vw, 4.9375rem);   /* 79 to first content */
}

.page-hero__media {
  position: relative;
  height: clamp(15rem, 34.79vw, 41.75rem);                      /* 668 @1920 */
  overflow: hidden;
}
.page-hero__media::before,
.page-hero__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
.page-hero__media::before {           /* dark at top for the header */
  top: 0;
  height: 91%;
  background: linear-gradient(to bottom, var(--c-bg), rgb(8 8 8 / 0));
}
.page-hero__media::after {            /* fade into the page */
  bottom: 0;
  height: 34.6%;
  background: linear-gradient(to top, var(--c-bg), rgb(8 8 8 / 0));
}
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__title { padding-top: clamp(2rem, 1rem + 2.5vw, 4rem); }  /* 64 below banner */
.page-hero__intro {
  max-width: 47rem;
  margin: var(--space-md) auto 0;
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(21.5625vw, 25.875rem);                          /* 414 tall @1920 */
  overflow: hidden;
  padding-block: clamp(3.5rem, 1.5rem + 5.2vw, 7rem);
}

.cta-banner__media { position: absolute; inset: 0; z-index: -1; }
.cta-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(7 7 7 / 0.9) 5.8%, rgb(7 7 7 / 0.45) 30.3%);
}
.cta-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg) var(--space-xl);
}

.cta-banner__content { flex: 1 1 0; max-width: 37.125rem; }       /* 594 */

.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--c-gold-text);
  -webkit-text-fill-color: transparent;
}
.cta-banner__note { margin-top: var(--space-sm); }
.cta-banner__actions { flex: 0 1 auto; justify-content: flex-end; }

@media (max-width: 991px) {
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .cta-banner__content { flex: none; }
  .cta-banner__actions { justify-content: flex-start; }
  .cta-banner__media::after { background: rgb(7 7 7 / 0.72); }
}

@media (max-width: 479px) {
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1 1 100%; min-width: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-surface-2); }

.site-footer__main {
  padding-top: clamp(3rem, 1.5rem + 3.7vw, 5.1875rem);          /* 83 */
  padding-bottom: clamp(3rem, 1.2rem + 4.4vw, 5.9375rem);       /* 95 */
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 551fr 329fr 224fr;                       /* Figma column starts 315 / 865 / 1194 */
  gap: var(--space-xl) 0;
  max-width: 69rem;                                               /* 1104 */
}

.site-footer__blurb { max-width: 20.625rem; margin-top: 0.9375rem; }

.site-footer__heading {
  margin-top: 0.125rem;
  margin-bottom: 1.75rem;
  text-transform: capitalize;
}

.contact-list { display: grid; gap: 1.5rem; }

.contact-item {
  display: grid;
  grid-template-columns: 1.125rem 1fr;
  column-gap: 1rem;
  align-items: start;
  line-height: 1.35;
}
.contact-item__icon {
  width: 1.125rem;
  height: 1rem;
  margin-top: 0.25rem;
  color: var(--c-icon);
}
.contact-item__label { display: block; color: var(--c-white); }
.contact-item__link { color: var(--c-champagne); overflow-wrap: anywhere; }
.contact-item__link--muted { color: var(--c-muted-3); }
.contact-item__link:hover { color: var(--c-gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.footer-links { display: grid; gap: 0.25rem; line-height: 1.5; }
.footer-links a { display: inline-block; color: var(--c-text); line-height: 1.5; }
.footer-links a:hover { color: var(--c-gold-soft); text-decoration: underline; text-underline-offset: 3px; }

.site-footer__bottom {
  padding-block: 1.3125rem;                                       /* 72 tall */
  background: var(--c-bg);
  text-align: center;
}

@media (max-width: 991px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-lg); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__heading { margin-bottom: var(--space-md); }
  .contact-list { gap: var(--space-md); }
}

@media (max-width: 479px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Photos / placeholders ---------- */
.photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--c-surface-2);
  border-radius: var(--radius-sm);
}
.photo--portrait { aspect-ratio: 300 / 380; }
.photo--square { aspect-ratio: 1; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--flat { border-radius: 0; }

/* ---------- Decorative glows & wave texture ---------- */
.has-glow { position: relative; isolation: isolate; }

.glow {                               /* place with top/left/right in page CSS */
  position: absolute;
  z-index: -1;
  width: var(--glow-size, 77rem);     /* 1232 */
  max-width: none;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--c-glow-fill), var(--c-glow-fade));
  pointer-events: none;
}
.glow--lg { --glow-size: 136.375rem; }  /* 2182 */
.glow--sm { --glow-size: 45rem; }

.waves {                              /* thin grey wave lines (Figma "texture") */
  position: absolute;
  z-index: -1;
  width: var(--waves-width, 129.4vw);
  max-width: none;
  aspect-ratio: 2484.81 / 1096.56;
  background: url("/images/decor/wave-texture.svg") center / contain no-repeat;
  pointer-events: none;
}

/* ---------- Tables (rates) ---------- */
.table-wrap { width: 100%; overflow-x: auto; }

.table {
  width: 100%;
  text-align: left;
  font-size: var(--fs-base);
}
.table th,
.table td { padding: 0.9375rem 1.8125rem; vertical-align: middle; }
.table :is(th, td):first-child { width: 38%; }
.table th {
  padding-block: 0.8125rem;
  background: var(--c-surface-5);
  color: var(--c-white);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.545;
  letter-spacing: var(--ls-sub);
  text-transform: capitalize;
}
.table td {
  line-height: 1.875rem;
  color: var(--c-text);
  border-block: 1px solid var(--c-border-faint);
}
.table td:first-child { border-left: 1px solid var(--c-border-faint); }
.table td:last-child { border-right: 1px solid var(--c-border-faint); }
.table tbody tr:nth-child(odd) td { background: var(--c-surface-1); }
.table tbody tr:nth-child(even) td { background: var(--c-surface-2); }

.table-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-sm);
  line-height: 1.875rem;
  color: var(--c-muted-2);
  text-align: center;
}
.table-note a { color: var(--c-gold-hero-start); }
.table-note--em { font-size: var(--fs-base); color: var(--c-white); }

.divider {
  display: block;
  height: 1px;
  margin: var(--space-xs) 0;
  border: 0;
  background: var(--c-line-soft);
}

@media (max-width: 767px) {
  .table th,
  .table td { padding: 0.75rem 1rem; }
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xs);
  padding: clamp(1.5rem, 0.5rem + 4vw, 4.25rem) clamp(1rem, -0.3rem + 5.5vw, 5.625rem) clamp(1.75rem, 0.5rem + 4vw, 4.9375rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.375rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.form-field--full,
.form-grid > .choice-group,
.form-grid > .form-actions { grid-column: 1 / -1; }

.form-label {
  font-size: var(--fs-base);
  line-height: 1.944;                 /* 35/18 */
  color: var(--c-white);
}
.req { margin-left: 0.15em; color: var(--c-required); }

.form-control {
  display: block;
  width: 100%;
  min-height: 2.9375rem;              /* 47 */
  padding: 0.5625rem 1.1875rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xs);
  background: var(--c-surface-4);
  color: var(--c-white);
  font-size: var(--fs-sm);
  line-height: 1.75rem;
  transition: border-color 0.2s ease;
}
.form-control::placeholder { color: var(--c-muted); opacity: 1; }
.form-control:hover { border-color: rgb(255 255 255 / 0.2); }
.form-control:focus { border-color: var(--c-gold); }
.form-control:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 1px; }

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8.66 7.5'%3E%3Cpath d='M4.33 7.5 8.66 0H0z' fill='%23d9d9d9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1875rem center;
  background-size: 0.625rem auto;
  cursor: pointer;
}
select.form-control option { background: var(--c-surface-4); color: var(--c-white); }
/* empty required select/date/time shows as placeholder grey */
select.form-control:invalid,
input[type="date"].form-control:invalid,
input[type="time"].form-control:invalid { color: var(--c-muted); }
input[type="date"].form-control,
input[type="time"].form-control { color-scheme: dark; }

textarea.form-control {
  min-height: 8.8125rem;              /* 141 */
  padding-block: 0.75rem;
  resize: vertical;
}

/* Radio / checkbox group: legend on the left, options inline (Figma contact form) */
.choice-group {
  min-width: 0;
  margin: 0;
  padding: 0.2rem 0;
  border: 0;
}
.choice-group__legend {
  float: left;
  width: 15.875rem;                   /* options start 254px in */
  padding: 0;
  font-size: var(--fs-base);
  line-height: 1.944;
  color: var(--c-white);
}
.choice-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5625rem;
  padding-top: 0.15625rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-sm);
  line-height: 1.875rem;
  color: var(--c-text);
  cursor: pointer;
}
.choice input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border: 1px solid var(--c-control-border);
  border-radius: 50%;
  background: var(--c-surface-4);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.choice input[type="checkbox"] { border-radius: var(--radius-xs); }
.choice:hover input,
.choice input:checked { border-color: var(--c-gold); }
.choice input[type="radio"]:checked {
  background: radial-gradient(circle, var(--c-gold) 0 3.6px, var(--c-surface-4) 4.4px);
}
.choice input[type="checkbox"]:checked {
  background: var(--c-surface-4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 6'%3E%3Cpath d='M0 2.727 1.067 1.636 3.2 3.818 6.933 0 8 1.091 3.2 6z' fill='%23f5bd4d'/%3E%3C/svg%3E") center / 0.5rem no-repeat;
}
.choice input:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.form-grid > .form-field + .choice-group { margin-top: 0.7rem; }
.form-grid > .choice-group + .form-field { margin-top: 0.75rem; }

.form-actions {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}
.form-status {                        /* sits under the submit button without affecting layout */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--c-gold-soft);
  text-align: center;
}

@media (max-width: 991px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-group__legend { width: 12rem; }
}

@media (max-width: 767px) {
  .choice-group__legend { float: none; width: auto; margin-bottom: 0.25rem; }
}

@media (max-width: 479px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}

/* ---------- Wide-screen tweaks ---------- */
@media (max-width: 1280px) {
  .btn--lg { min-width: 14.5rem; }
}
