/* ============================================================
   GLOBAL VARIABLES
   Change these to restyle the entire site
   ============================================================ */
:root {
  /* Brand colors */
  --color-gold:			#c8a96e;	  /* gold */
  --color-black:        #0f0f0f;	  /* black */
  --color-sand:         #f0ede8;	  /* sand */
  --color-grey:			#888888;	  /* grey */
  --color-white:		#ffffff;	  /* vit */
  --color-border:       rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading:       'Cormorant Garamond', Georgia, serif;
  --font-body:          'Jost', Helvetica, sans-serif;

  --text-xs:            clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:            clamp(0.875rem, 1.8vw, 1rem);
  --text-base:          clamp(1rem,     2vw,   1.125rem);
  --text-lg:            clamp(1.125rem, 2.5vw, 1.375rem);
  --text-xl:            clamp(1.375rem, 3vw,   1.75rem);
  --text-2xl:           clamp(1.75rem,  4vw,   2.5rem);
  --text-3xl:           clamp(2.25rem,  5vw,   3.5rem);
  --text-4xl:           clamp(3rem,     7vw,   5.5rem);

  --leading-tight:      1.15;
  --leading-normal:     1.6;
  --leading-loose:      1.8;

  /* Spacing */
  --space-xs:           clamp(0.5rem,   1vw,  0.75rem);
  --space-sm:           clamp(0.75rem,  2vw,  1.25rem);
  --space-md:           clamp(1.25rem,  3vw,  2rem);
  --space-lg:           clamp(2rem,     5vw,  4rem);
  --space-xl:           clamp(3rem,     8vw,  7rem);
  --space-2xl:          clamp(5rem,     12vw, 11rem);

  /* Layout */
  --content-width:      72ch;
  --content-wide:       90ch;
  --site-padding:       clamp(1.25rem, 5vw, 4rem);

  /* Motion */
  --ease-out:           cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:      180ms;
  --duration-normal:    360ms;
  --duration-slow:      600ms;
}


/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-black);
  color: var(--color-sand);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: 300;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  max-width: var(--content-width);
  line-height: var(--leading-loose);
}

p + p {
  margin-top: var(--space-sm);
}

strong {
  font-weight: 600;
}

.text-muted {
  color: var(--color-grey);
}

.text-accent {
  color: var(--color-gold);
}

.label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--site-padding);
}

.container--narrow {
  max-width: calc(var(--content-width) + (var(--site-padding) * 2));
  margin-inline: auto;
  padding-inline: var(--site-padding);
}

/* Image widths */
.img--full {
  width: 100%;
  object-fit: cover;
}

.img--half {
  width: 50%;
  object-fit: cover;
}


/* ============================================================
   SECTIONS
   Each section controls its own colors via inline CSS vars:
   style="--section-bg: #111; --section-text: #fff; --section-accent: #c8a96e;"
   ============================================================ */
.section {
  background-color: var(--section-bg, var(--color-black));
  color: var(--section-text, var(--color-sand));
  --color-gold: var(--section-accent, var(--color-gold));
  padding-block: var(--space-xl);
}

.section--flush {
  padding-block: 0;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--site-padding);						/* padding: var(--space-sm) var(--site-padding); */
  background-color: transparent;
  transition: background-color var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);										/* font-size: var(--text-xl); */
  font-weight: 800;													/* font-weight: 400; */
  letter-spacing: 0.00em;											/* letter-spacing: 0.04em; */
  color: var(--color-sand);
  z-index: 101;
}


.site-logo span {
  color: var(--color-gold);
}


/* ============================================================
   MENU TOGGLE (hamburger — works at every screen size)
   ============================================================ */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 6px;															/* gap: 5px; */
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 35px;														/* width: 24px; */
  height: 4px;														/* height: 1.5px; */
  background-color: var(--color-white);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ============================================================
   NAVIGATION DRAWER (works at every screen size)
   ============================================================ */
.nav-drawer {
  position: fixed;
  /* top + bottom instead of height:100% — more reliable than
     height:100% on iOS Safari when the URL bar shows/hides */
  top: 0;
  bottom: 0;
  right: 0;
  width: clamp(260px, 80vw, 360px);
  background-color: #0f0f0f;
  z-index: 200;
  padding: var(--space-lg) var(--space-lg);								/* padding: var(--space-2xl) var(--space-lg);  */
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  border-left: 1px solid var(--color-border);

  /* Scroll when there are more links than fit vertically */
  overflow-y: auto;
  overscroll-behavior: contain;

  /* Thin accent-coloured scrollbar — Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
}

/* Thin accent-coloured scrollbar — WebKit (Chrome, Safari, Edge) */
.nav-drawer::-webkit-scrollbar {
  width: 6px;
}
.nav-drawer::-webkit-scrollbar-track {
  background: transparent;
}
.nav-drawer::-webkit-scrollbar-thumb {
  background-color: var(--color-gold);
  border-radius: 3px;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);													 /* gap: var(--space-md); */
}

.nav-drawer__link {
  font-family: var(--font-body);										/* font-family: var(--font-heading);  */
  font-size: var(--text-lg);											/* font-size: var(--text-2xl); */
  font-weight: 300;
  color: var(--color-sand);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-drawer__link:hover,
.nav-drawer__link.is-active {
  color: var(--color-gold);
}

.nav-drawer__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-drawer__backdrop.is-visible {
  opacity: 1;
  pointer-events: all;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-xl);
  padding-inline: var(--site-padding);
  position: relative;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0.0) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
}

.hero__label {
  margin-bottom: var(--space-sm);
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(240, 237, 232, 0.75);
  max-width: 55ch;
  line-height: var(--leading-normal);
}


/* ============================================================
   BUTTONS — UPDATED
   All buttons are ALWAYS fully visible. Hover inverts colors.
   No transparent backgrounds anywhere.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid currentColor;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
  /* background: none;   <-- REMOVED — caused buttons to be invisible on mobile */
}

/* PRIMARY — solid gold, dark text. Hover = dark with gold text. */
.btn--primary {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
}

.btn--primary:hover {
  background-color: var(--color-black);					/* background-color: transparent; */
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* OUTLINE — solid dark with gold border + gold text.
   Hover = solid gold with dark text (inverted). */
.btn--outline {
  background-color: var(--color-black);					/* (was implicit transparent — now solid) */
  color: var(--color-gold);							/* color: var(--color-sand); */
  border-color: var(--color-gold);					/* border-color: var(--color-sand); */
}

.btn--outline:hover {
  background-color: var(--color-gold);				/* background-color: var(--color-sand); */
  color: var(--color-black);
  border-color: var(--color-gold);					/* border-color: var(--color-sand); */
}


/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.two-col--image-right .two-col__image {
  order: 1;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold);
  margin-block: var(--space-md);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-block: var(--space-xs);  var(--space-xs);  var(--space-lg);  var(--space-xs);	 /* padding-block: var(--space-lg); */
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-gold);												/* color: var(--color-grey); */
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}


/* ============================================================
   SCROLL ANIMATIONS
   Subtle fade-up on scroll — no JS frameworks needed
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }


/* ============================================================
   REDUCE MOTION — respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
