/* ==========================================================================
   More Venue Bookings design system: "Champagne & Emerald"
   Ivory paper surfaces, deep emerald actions, champagne-gold detailing.
   Page-specific sections live in home.css.
   ========================================================================== */

:root {
  /* Surfaces (light only, never dark backgrounds) */
  --ivory: #FBF8F3;
  --paper: #FFFFFF;
  --mist: #F5EFE4;
  --sage: #EEF5F1;
  --line: #E7DFD1;
  --line-soft: #EFE9DE;

  /* Ink */
  --ink: #13201C;
  --ink-2: #3D4A45;
  --ink-3: #5F6C67;

  /* Emerald */
  --emerald-900: #083A2F;
  --emerald-800: #0B4A3C;
  --emerald-700: #0E5A4A;
  --emerald-600: #127060;
  --emerald-500: #1B8A72;
  --emerald-100: #DCEBE4;
  --emerald-50: #EEF6F2;

  /* Champagne gold (700 is the only shade safe for small text) */
  --gold-200: #F3E8D0;
  --gold-300: #E6CF9F;
  --gold-400: #D4B57A;
  --gold-500: #C29D5A;
  --gold-600: #A68240;
  --gold-700: #7E6128;
  --gold-foil: linear-gradient(115deg, #E6CF9F 0%, #C29D5A 38%, #9C7A3A 62%, #D9BF86 100%);
  /* Darker foil for text: every stop keeps at least 3:1 contrast on ivory. */
  --gold-foil-text: linear-gradient(115deg, #A68240 0%, #7E6128 48%, #A68240 100%);

  --mint: #34D399;
  --danger: #B42318;

  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 2px rgb(19 32 28 / 0.05);
  --shadow-sm: 0 1px 2px rgb(19 32 28 / 0.04), 0 6px 16px -8px rgb(19 32 28 / 0.1);
  --shadow: 0 1px 2px rgb(19 32 28 / 0.04), 0 14px 36px -14px rgb(19 32 28 / 0.16);
  --shadow-lg: 0 2px 6px rgb(19 32 28 / 0.04), 0 32px 72px -28px rgb(19 32 28 / 0.26);
  --shadow-emerald: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 10px 24px -10px rgb(11 74 60 / 0.6);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(84px, 11vw, 140px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: light;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7.2vw, 5.75rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--gold-200);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--emerald-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 18px;
}

.section-head .lead {
  margin-top: 22px;
}

.center .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.foil {
  background: var(--gold-foil-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Icons ---------- */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-h: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-sans);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 999px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--emerald-600) 0%, var(--emerald-700) 55%, var(--emerald-800) 100%);
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 18px 34px -14px rgb(11 74 60 / 0.65);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--ink);
  background: rgb(255 255 255 / 0.72);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--gold-400);
}

.btn-ghost .icon {
  color: var(--emerald-700);
}

.btn-lg {
  --btn-h: 62px;
  padding: 0 34px;
  font-size: 1.05rem;
}

.btn-sm {
  --btn-h: 44px;
  padding: 0 20px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

/* ---------- Header ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgb(251 248 243 / 0.84);
  border-bottom-color: rgb(231 223 209 / 0.8);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
}

/* img/logo.png (556 x 140): sized by height, width follows. */
.brand-logo {
  width: auto;
  height: 44px;
}

.header-nav {
  display: none;
  gap: 30px;
  margin-inline: auto;
}

.header-nav a {
  position: relative;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header-nav a:hover {
  color: var(--ink);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-phone .icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-700);
}

.header-phone span,
.label-long {
  display: none;
}

@media (max-width: 400px) {
  .header-inner {
    gap: 12px;
  }

  .site-header .brand-logo {
    height: 40px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-sm {
    padding: 0 16px;
  }
}

/* Small phones: the hero's call button sits right below, so drop the header one. */
@media (max-width: 370px) {
  .header-phone {
    display: none;
  }
}

@media (min-width: 720px) {
  :root {
    --header-h: 80px;
  }

  .header-inner {
    gap: 32px;
  }

  .site-header .brand-logo {
    height: 56px;
  }

  .header-phone {
    width: auto;
    padding: 0 6px;
    border-color: transparent;
    background: none;
  }

  .header-phone span,
  .label-long {
    display: inline;
  }

  .label-short {
    display: none;
  }
}

@media (min-width: 1140px) {
  .header-nav {
    display: flex;
  }

  .header-actions {
    margin-left: 0;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-2);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.3fr;
  }
}

.footer-brand .brand-logo {
  height: 64px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 16px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--gold-700);
  font: 600 0.78rem/1.4 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--emerald-700);
}

.footer-links .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* Divider drawn inside the gutters so it lines up with the content. */
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line);
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* ---------- Forms ---------- */

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem var(--font-sans);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder {
  color: #99A29E;
}

.input:hover {
  border-color: #D8CDBA;
}

.input:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 4px rgb(18 112 96 / 0.12);
}

select.input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235F6C67' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
}

.input.input-validation-error {
  border-color: var(--danger);
}

.field-validation-error {
  color: var(--danger);
  font-size: 0.85rem;
}

.field-validation-valid,
.validation-summary-valid {
  display: none;
}

.validation-summary-errors {
  padding: 14px 16px;
  border: 1px solid #FECDCA;
  border-radius: 14px;
  background: #FEF3F2;
  color: var(--danger);
  font-size: 0.92rem;
}

.validation-summary-errors ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The floating reCAPTCHA badge would cover the mobile call bar. Google allows hiding it
   when the form shows the reCAPTCHA notice instead (see _Audit.cshtml). */
.grecaptcha-badge {
  visibility: hidden;
}

/* Honeypot: invisible to people, tempting to bots. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

/* ---------- Simple pages (thank you, privacy, errors) ---------- */

.page {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 8vw, 112px) clamp(72px, 10vw, 128px);
}

.page::before {
  content: "";
  position: absolute;
  top: calc(var(--header-h) * -1);
  right: -10%;
  z-index: -1;
  width: min(760px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(230 207 159 / 0.55) 0%, rgb(230 207 159 / 0) 64%);
  pointer-events: none;
}

.narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

.page h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
}

.page .lead {
  margin-top: 20px;
}

.page-meta {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--emerald-600), var(--emerald-800));
  box-shadow: var(--shadow-emerald);
  color: #fff;
}

.success-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.next-steps {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.next-steps li {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}

.next-steps li > span {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FBF3E2;
  color: var(--gold-700);
  font-size: 0.95rem;
  font-weight: 600;
}

.next-steps strong {
  display: block;
  font-size: 1.05rem;
}

.next-steps p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

@media (max-width: 559px) {
  .page-cta .btn {
    width: 100%;
  }
}

.prose h2 {
  margin-top: 48px;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
}

.prose p,
.prose ul {
  margin-top: 14px;
}

.prose ul {
  padding-left: 20px;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

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