/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --c-bg:          #111111;
  --c-bg-surface:  #1a1a1a;
  --c-bg-raised:   #222222;
  --c-accent:      #C9A84C;
  --c-accent-dim:  #a8873a;
  --c-accent-glow: rgba(201, 168, 76, 0.15);
  --c-text:        #f0ece4;
  --c-text-muted:  #8a8278;
  --c-text-dim:    #5a5650;
  --c-border:      #2a2a2a;
  --c-border-dim:  #1f1f1f;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-gap: clamp(4rem, 8vw, 7rem);
  --container:   min(100% - 2rem, 1160px);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 250ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-dim); }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { max-width: 65ch; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  min-height: 44px;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--c-accent);
  color: #111;
}
.btn-primary:hover {
  background-color: var(--c-accent-dim);
  color: #111;
}

.btn-outline {
  background-color: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
}
.btn-outline:hover {
  background-color: var(--c-accent-glow);
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 0;
}

/* ─── Section label ──────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

/* ─── Accessibility ──────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

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

/* ─── Cookie notice ──────────────────────────────────────────────────────── */
.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--c-bg-surface);
  border: 1px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-notice__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--c-text);
  line-height: 1.5;
}

.cookie-notice__text a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice__ok {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1.25rem;
  background: var(--c-accent);
  color: #111;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast);
}

.cookie-notice__ok:hover {
  background: var(--c-accent-dim);
}

/* ─── Site header (shared across all pages) ──────────────────────────────── */
.site-header {
  background-color: var(--c-bg-surface);
  border-bottom: 1px solid var(--c-border);
  padding-block: 0.875rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  position: relative;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--c-accent);
}

.site-header__brand-mark {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.site-header__brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}

.site-header__nav a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--t-fast);
}

.site-header__nav a:hover {
  color: var(--c-text);
}

/* Hamburger toggle: hidden on desktop, visible on mobile */
.site-header__menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--c-text);
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.site-header__menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-bar:nth-child(2) {
  opacity: 0;
}
.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  .site-header__menu-toggle {
    display: flex;
  }
  .site-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.875rem);
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--c-bg-surface);
    border-block: 1px solid var(--c-border);
    border-radius: 0;
    padding: 0.5rem 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 20;
  }
  .site-header__menu-toggle[aria-expanded="true"] ~ .site-header__nav {
    display: flex;
  }
  .site-header__nav a {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--c-border-dim);
  }
  .site-header__nav a:last-child {
    border-bottom: 0;
  }
}

/* ─── Footer (shared across all pages) ───────────────────────────────────── */
.footer {
  background-color: var(--c-bg-surface);
  border-top: 1px solid var(--c-border);
  padding-block: 3rem 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 700px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__brand-mark {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  max-width: 32ch;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--c-text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__links a:hover { color: var(--c-text-muted); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 0.25rem;
}

/* Honeypot: must render nothing but remain in the DOM / name=website must
 * submit. Using display:none breaks some browsers that skip hidden inputs. */
.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__notice {
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  margin: 0;
}

.contact-form__notice--ok {
  background: rgba(120 180 120 / 0.08);
  color: rgba(160 220 160 / 0.95);
  border: 1px solid rgba(120 180 120 / 0.25);
}

.contact-form__notice--error {
  background: rgba(220 90 90 / 0.08);
  color: rgba(230 150 150 / 0.95);
  border: 1px solid rgba(220 90 90 / 0.25);
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--c-text-muted);
  cursor: pointer;
}

.contact-form__consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.contact-form__consent a {
  color: var(--c-accent);
  text-decoration: underline;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.form-field input,
.form-field textarea {
  background-color: var(--c-bg-raised);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  transition: border-color var(--t-fast);
  min-height: 44px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

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

.footer__bottom {
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border-dim);
  font-size: 0.75rem;
  color: var(--c-text-dim);
  text-align: center;
  max-width: 60ch;
}

.footer__legal {
  margin: 0.25rem auto 0;
  font-size: 0.75rem;
  color: var(--c-text-dim);
  text-align: center;
  max-width: 60ch;
}

.footer__legal a {
  color: var(--c-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__legal a:hover { color: var(--c-text); }

/* ─── Payment success ────────────────────────────────────────────────────── */
.payment-success {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.payment-success__inner {
  width: min(100% - 2rem, 640px);
  margin-inline: auto;
  color: var(--c-text);
  text-align: center;
}

.payment-success__inner h1 {
  margin-bottom: 1rem;
}

.payment-success__inner p {
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.payment-success__inner .btn {
  margin-top: 0.5rem;
}
