/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/d71beeaf-073c-4d01-9de2-fb389e10ef47.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/7b23b2c2-97e3-49b0-ba52-c027fc9cb379.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/5f668f0d-2313-4b37-a049-c3c9fb58b25e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/ed8c3fee-5e61-4fa9-83e6-91ececfaa040.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/41407a94-024d-4ca5-acf6-2d7fdb6219eb.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/d71beeaf-073c-4d01-9de2-fb389e10ef47.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/7b23b2c2-97e3-49b0-ba52-c027fc9cb379.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/5f668f0d-2313-4b37-a049-c3c9fb58b25e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/ed8c3fee-5e61-4fa9-83e6-91ececfaa040.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/41407a94-024d-4ca5-acf6-2d7fdb6219eb.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/57c923b4-03dd-4d6c-b353-e1c8a72cedd3.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/de79dd29-25bf-4ee9-88fb-706b27579d88.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/e8f42bb2-c64f-487d-91ea-d5b7e59ed37f.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/da36bf5f-7dc9-4054-b66f-1b28fcaea462.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/f4ffb9e2-e42e-4bb8-be64-dfccca1f0ab1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/57c923b4-03dd-4d6c-b353-e1c8a72cedd3.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/de79dd29-25bf-4ee9-88fb-706b27579d88.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/e8f42bb2-c64f-487d-91ea-d5b7e59ed37f.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/da36bf5f-7dc9-4054-b66f-1b28fcaea462.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/f4ffb9e2-e42e-4bb8-be64-dfccca1f0ab1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/4939528f-e697-4b3e-af19-4a9159afe22b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/49b24da8-e4d3-4762-8a81-f1bdb8211e86.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/4939528f-e697-4b3e-af19-4a9159afe22b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/49b24da8-e4d3-4762-8a81-f1bdb8211e86.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/4939528f-e697-4b3e-af19-4a9159afe22b.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/49b24da8-e4d3-4762-8a81-f1bdb8211e86.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/897393e4-488b-4d69-8eef-703b23884178.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/d4db8189-cc35-4019-8111-41096e6e903a.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/a68b859f-db55-4663-8d00-85a99f4bbedf.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/bec35266-deba-4668-97ca-b43ed0f636c3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ──────────────────────────────────────────────────────────────────
   SIYELA Private Game Lodge — A Touch Down Africa Property
   Brand-aligned palette + typography per Siyela Brand Outline 2025
   ────────────────────────────────────────────────────────────────── */

:root {
  /* Brand palette (Siyela Brand Outline §9) */
  --bg: #1c1a13;            /* near-black, derived from Deep Earth */
  --bg-2: #262318;          /* tinted surface */
  --bg-3: #333124;          /* Deep Earth — primary */
  --bg-olive: #454426;      /* Dark Olive — accent surface */

  --ink: #f0ead9;           /* warm bone */
  --ink-2: #d6cab2;         /* soft Sand */
  --ink-3: #b4a58e;         /* Sand — supporting */

  --taupe: #7b6b54;         /* Warm Taupe */
  --rust:  #5b3d21;         /* Rust Brown */
  --gold:  #a5804b;         /* Dust Gold — premium accent */

  /* Aliases retained for backward compat */
  --sand:  #b4a58e;
  --accent: var(--gold);

  --rule: rgba(240, 234, 217, 0.14);
  --rule-2: rgba(240, 234, 217, 0.06);

  /* Typography — Brand Outline §9: Georgia (serif) + Arial (sans).
     We pair Georgia (per spec) with refined optional alternates via tweaks,
     and lift Arial to a tighter, more refined sans default. */
  --display: Georgia, "Cormorant Garamond", "Instrument Serif", serif;
  --sans: "Söhne", "Söhne Buch", "Helvetica Neue", Arial, sans-serif;

  --motion-fade: 1100ms;
  --motion-rise: 900ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

button { font-family: inherit; }

::selection { background: var(--gold); color: var(--bg); }

/* ─── Type primitives ─────────────────────────────────────── */

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--display);
  font-weight: 400;
  font-style: normal;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

.display em, .display i {
  font-style: italic;
  font-family: var(--display);
  color: var(--gold);
  font-weight: 400;
}

.h1 { font-size: clamp(56px, 9vw, 144px); }
.h2 { font-size: clamp(40px, 6vw, 92px); }
.h3 { font-size: clamp(28px, 3.5vw, 56px); }
.h4 { font-size: clamp(22px, 2.4vw, 36px); }

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
  font-weight: 400;
}

.kicker {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.caption {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ─── Layout ──────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 56px;
}

.wrap-wide { max-width: 1640px; padding: 0 40px; }
.wrap-narrow { max-width: 980px; padding: 0 56px; margin: 0 auto; }

@media (max-width: 720px) {
  .wrap, .wrap-narrow, .wrap-wide { padding: 0 24px; }
}

.divider {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

.thin-rule {
  height: 1px;
  background: var(--rule);
  width: 60px;
  display: inline-block;
}

/* ─── Buttons / links ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 280ms ease;
}

.btn:hover { background: var(--ink); color: var(--bg); }

.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-gold:hover { background: var(--gold); color: var(--bg); }

.btn-solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
  transition: border-color 240ms ease, color 240ms ease;
}
.link:hover { border-color: var(--gold); color: var(--gold); }
.link .arrow { transition: transform 240ms ease; }
.link:hover .arrow { transform: translateX(4px); }

/* ─── Imagery ─────────────────────────────────────────────── */

.img {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.18), rgba(0,0,0,0.04)),
    var(--bg-3);
  background-size: cover;
  background-position: center;
}

.img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.img.has-caption::after { opacity: 1; }

.img-cap {
  position: absolute;
  left: 18px; bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
  font-weight: 500;
}

.img-stripe {
  background:
    repeating-linear-gradient(45deg,
      rgba(240,234,217,0.04) 0 14px,
      rgba(240,234,217,0.07) 14px 28px),
    var(--bg-3);
  display: grid;
  place-items: center;
  color: var(--ink-3);
}

.img-stripe .img-stripe-label {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: rgba(0,0,0,0.4);
}

/* ─── Section spacing ─────────────────────────────────────── */

.sect { padding: clamp(80px, 12vh, 160px) 0; }
.sect-sm { padding: clamp(56px, 8vh, 100px) 0; }
.sect-lg { padding: clamp(120px, 16vh, 220px) 0; }

/* ─── Reveal animation ────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--motion-fade) cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--motion-rise) cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

[data-motion="minimal"] .reveal { transform: none; transition-duration: 600ms; }
[data-motion="cinematic"] .reveal { transform: translateY(48px); }

.cleave {
  display: block;
  overflow: hidden;
}
.cleave > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--cleave-d, 0ms);
}
.cleave.in > span { transform: translateY(0); }

/* ─── Nav ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: background 320ms ease, padding 320ms ease, border-color 320ms ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(28, 26, 19, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 14px 40px;
  border-bottom-color: var(--rule-2);
}

.nav-left { display: flex; align-items: center; gap: 36px; justify-self: start; }
.nav-right { display: flex; align-items: center; gap: 24px; justify-self: end !important; }

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  cursor: pointer;
  transition: color 200ms ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--gold); }

.nav-menu-btn {
  display: flex; align-items: center; gap: 12px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
  color: var(--ink-2);
  font: inherit;
}
.nav-menu-btn:hover { color: var(--ink); }
.nav-menu-icon {
  display: inline-flex; flex-direction: column; gap: 4px;
}
.nav-menu-icon span {
  width: 18px; height: 1px; background: currentColor;
}

/* Logo (wordmark + rhino mark) */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.logo-mark {
  width: 28px;
  height: 18px;
  color: var(--ink);
  display: block;
}
.logo-mark .gold { color: var(--gold); }
.logo-word {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.42em;
  color: var(--ink);
  text-indent: 0.42em;
  line-height: 1;
}
.logo-tag {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

.reserve-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid var(--ink-2);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 240ms ease;
  font-family: inherit;
}
.reserve-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* ─── Menu overlay ────────────────────────────────────────── */

.menu-overlay {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(28, 26, 19, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

.menu-overlay-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.menu-list {
  align-self: center;
  padding: 10px 7vw;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 55px);
  line-height: 1.1;
  color: var(--ink-2);
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: baseline;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease, color 200ms ease;
}
.menu-overlay.open .menu-item { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-item:nth-child(1) { transition-delay: 120ms; }
.menu-overlay.open .menu-item:nth-child(2) { transition-delay: 170ms; }
.menu-overlay.open .menu-item:nth-child(3) { transition-delay: 220ms; }
.menu-overlay.open .menu-item:nth-child(4) { transition-delay: 270ms; }
.menu-overlay.open .menu-item:nth-child(5) { transition-delay: 320ms; }
.menu-overlay.open .menu-item:nth-child(6) { transition-delay: 370ms; }
.menu-overlay.open .menu-item:nth-child(7) { transition-delay: 420ms; }
.menu-overlay.open .menu-item:nth-child(8) { transition-delay: 470ms; }

.menu-item:hover { color: var(--gold); }
.menu-item .num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  min-width: 30px;
}
.menu-item em { font-style: italic; color: var(--gold); }

.menu-side {
  border-left: 1px solid var(--rule);
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  font-size: 13px;
  color: var(--ink-3);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2)),
    var(--bg-2);
}

.menu-side h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 14px;
}

.menu-side p { margin: 0; line-height: 1.7; color: var(--ink-2); }

.menu-close {
  position: absolute;
  top: 24px; right: 40px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 11px 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 240ms ease;
  font-family: inherit;
}
.menu-close:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 760px) {
  .menu-overlay-inner { grid-template-columns: 1fr; }
  .menu-side { display: none; }
}

/* ─── Footer ──────────────────────────────────────────────── */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 96px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 22px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { color: var(--ink-2); font-size: 14px; transition: color 200ms ease; cursor: pointer; }
.footer-col li a:hover { color: var(--ink); }

.footer-credo {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 22ch;
}
.footer-credo em { font-style: italic; color: var(--gold); }

.footer-tda {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-tda h6 {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.footer-tda-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-tda-list a {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  transition: color 200ms ease;
}
.footer-tda-list a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Page transition ─────────────────────────────────────── */

.page {
  animation: pageIn 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Horizontal scroll rail ──────────────────────────────── */

.hscroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 56px 24px;
  margin: 0 -56px;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ─── Marquee ─────────────────────────────────────────────── */

.marquee {
  display: flex;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  gap: 60px;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 70s linear infinite;
  white-space: nowrap;
  align-items: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--display);
  font-style: italic;
  font-size: 34px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-item .rhino-sep {
  color: var(--gold);
  font-size: 18px;
}

/* ─── Rhino mark variations ───────────────────────────────── */

.rhino-mark {
  display: inline-block;
  vertical-align: middle;
  color: var(--gold);
}

/* ─── Section marker (chapter number on side) ─────────────── */

.side-marker {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-size: 10.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-2);
  z-index: 2;
  font-weight: 500;
}
.side-marker.right {
  left: auto;
  right: 56px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
}

/* ─── Pull quote (manifesto) ──────────────────────────────── */

.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.35;
  color: var(--ink);
  border-left: 1px solid var(--gold);
  padding-left: 32px;
  max-width: 36ch;
}

/* ─── Tweaks dark override ─────────────────────────────── */

.twk-panel {
  background: rgba(28, 26, 19, 0.88) !important;
  color: var(--ink) !important;
  border-color: rgba(240, 234, 217, 0.1) !important;
}
.twk-panel .twk-hd b { color: var(--ink); }
.twk-panel .twk-lbl { color: rgba(240, 234, 217, 0.72) !important; }
.twk-panel .twk-val { color: rgba(240, 234, 217, 0.5) !important; }
.twk-panel .twk-sect { color: rgba(165, 128, 75, 0.85) !important; }
.twk-panel .twk-field { background: rgba(255,255,255,0.06) !important; color: var(--ink) !important; border-color: rgba(240,234,217,0.12) !important; }
.twk-panel .twk-slider { background: rgba(240,234,217,0.15) !important; }
.twk-panel .twk-x { color: rgba(240,234,217,0.55) !important; }
.twk-panel .twk-x:hover { background: rgba(240,234,217,0.08) !important; color: var(--ink) !important; }

/* Hero pan animation */
    @keyframes heroFloat {
      0%   { transform: scale(1.05) translate(0, 0); }
      100% { transform: scale(1.12) translate(-1%, -1.5%); }
    }

/* Structured multipage helpers */
body { background-color: rgb(43, 41, 26); }
.site-main { min-height: 60vh; }
.page-shell { width: 100%; }
.hero-section { min-height: 100vh; position: relative; overflow: hidden; }
.section-inner { position: relative; z-index: 2; }
.menu-item { text-decoration: none; }
.reveal:not(.in), .cleave:not(.in) { opacity: 1; transform: none; }


/* Restored layout/animation fixes for flattened HTML */
body { background-color: rgb(43, 41, 26); }
.reveal { will-change: opacity, transform; }
.cleave { display:block; overflow:hidden; }
.cleave > span { display:inline-block; }
.page-static { min-height: 100vh; }
.menu-item, .nav-link, .reserve-btn, .logo, [data-route] { cursor:pointer; }
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.3fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .nav { padding: 18px 24px; grid-template-columns: auto 1fr auto; }
  .nav-left .nav-link, .nav-right .nav-link { display:none; }
  .nav.scrolled { padding: 12px 24px; }
  .side-marker { display:none; }
}
@media (max-width: 720px) {
  .hero-section .wrap,
  section[style*="min-height:100vh"] > .wrap {
    padding-top: 140px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  [style*="padding:160px 56px 80px"] { padding: 140px 24px 64px !important; }
}

/* ==========================================================
   Mobile layout + animation repair
   Keeps every page as real HTML. JS only toggles menu/reveal.
   ========================================================== */

/* Restore reveal animations that were disabled by earlier flattening */
.reveal:not(.in) {
  opacity: 0 !important;
  transform: translateY(28px) !important;
}
.reveal.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.cleave:not(.in) {
  opacity: 1 !important;
  transform: none !important;
}
.cleave:not(.in) > span {
  transform: translateY(105%) !important;
}
.cleave.in > span {
  transform: translateY(0) !important;
}

/* Safer media handling */
.img {
  background-size: cover !important;
  background-position: center !important;
}

@media (max-width: 1024px) {
  .wrap, .wrap-wide, .wrap-narrow {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  /* Collapse all common inline desktop grids */
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.3fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns:80px 1fr 1.2fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  .footer-tda {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }
}

@media (max-width: 760px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .wrap, .wrap-wide, .wrap-narrow {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .sect {
    padding: 76px 0 !important;
  }
  .sect-sm {
    padding: 56px 0 !important;
  }
  .sect-lg {
    padding: 88px 0 !important;
  }

  .h1 { font-size: clamp(46px, 15vw, 74px) !important; }
  .h2 { font-size: clamp(34px, 11vw, 56px) !important; }
  .h3 { font-size: clamp(26px, 8vw, 42px) !important; }
  .h4 { font-size: clamp(22px, 7vw, 34px) !important; }

  .lede {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
  }

  .eyebrow {
    font-size: 9.5px !important;
    letter-spacing: 0.22em !important;
    gap: 10px !important;
  }
  .eyebrow::before { width: 20px !important; }

  /* Header */
  .nav {
    padding: 14px 18px !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 12px !important;
  }
  .nav.scrolled { padding: 10px 18px !important; }
  .nav-left, .nav-right { gap: 12px !important; }
  .nav-left .nav-link,
  .nav-right .nav-link,
  .nav-left > span[style*="background:var(--rule)"] {
    display: none !important;
  }
  .nav-menu-btn span:last-child {
    /*display: none !important;*/
  }
  .logo-word {
    font-size: 18px !important;
    width: auto !important;
    letter-spacing: 0.32em !important;
    text-indent: 0.32em !important;
  }
  .logo-tag {
    font-size: 7px !important;
    letter-spacing: 0.22em !important;
    white-space: nowrap !important;
  }
  .reserve-btn {
    padding: 9px 11px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.14em !important;
  }

  /* Fullscreen menu */
  .menu-close {
    top: 18px !important;
    right: 18px !important;
    padding: 9px 13px !important;
  }
  .menu-list {
    padding: 92px 24px 36px !important;
    gap: 0 !important;
  }
  .menu-item {
    font-size: clamp(32px, 12vw, 48px) !important;
    gap: 16px !important;
    padding: 7px 0 !important;
  }
  .menu-item .num {
    min-width: 24px !important;
    font-size: 10px !important;
  }

  /* Hero */
  .hero-section,
  section[style*="min-height:100vh"] {
    min-height: 100svh !important;
  }
  [style*="padding:160px 56px 80px"],
  section[style*="min-height:100vh"] > div[style*="z-index:2"] {
    padding: 132px 22px 52px !important;
    min-height: 100svh !important;
  }
  [style*="margin-top:56px;display:flex;justify-content:space-between"] {
    margin-top: 34px !important;
    gap: 24px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .side-marker { display: none !important; }

  /* Stack common inline flex rows */
  [style*="display:flex;justify-content:space-between"],
  [style*="display:flex;gap:24px;align-items:center"],
  [style*="display:flex;gap:16px;align-items:center"] {
    flex-wrap: wrap !important;
  }

  /* Collapse inline grid layouts that came from the original React export */
  [style*="display:grid;grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns:80px 1fr 1.2fr auto"] {
    padding: 28px 0 !important;
  }
  [style*="font-size:clamp(28px, 3.5vw, 48px)"] {
    font-size: 32px !important;
  }
  [style*="font-size:56px"] {
    font-size: 44px !important;
  }
  [style*="font-size:36px"] {
    font-size: 30px !important;
  }

  .marquee {
    padding: 18px 0 !important;
  }
  .marquee-track,
  .marquee-item {
    gap: 34px !important;
  }
  .marquee-item {
    font-size: 24px !important;
  }

  .hscroll {
    padding-left: 22px !important;
    padding-right: 22px !important;
    margin-left: -22px !important;
    margin-right: -22px !important;
  }

  .btn, .link {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
  }
  .btn {
    padding: 14px 20px !important;
  }

  .footer {
    padding: 70px 0 28px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    margin-bottom: 46px !important;
  }
  .footer-tda-list {
    gap: 14px 22px !important;
  }
  .footer-tda-list a {
    font-size: 17px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  /* Avoid narrow-screen overflow from large inline margins/paddings */
  [style*="margin-top:80px"] { margin-top: 44px !important; }
  [style*="margin-top:64px"] { margin-top: 38px !important; }
  [style*="margin-top:56px"] { margin-top: 34px !important; }
  [style*="margin-bottom:80px"] { margin-bottom: 46px !important; }
  [style*="margin-bottom:60px"] { margin-bottom: 40px !important; }
  [style*="padding-bottom:24px"] { padding-bottom: 0 !important; }
  [style*="padding:120px 8vw"] { padding: 86px 22px !important; }
}

@media (max-width: 430px) {
  .nav { padding-left: 14px !important; padding-right: 14px !important; }
  .reserve-btn { padding: 8px 9px !important;position:fixed;top:2%;right:2%; }
  .logo-mark, .logo svg { width: 24px !important; }
  .logo-word { font-size: 16px !important; }
  .logo-tag { color:#fff; }
	.logo {flex-direction: inherit;padding-left: 5px;}
	.logo img { width:70%;margin:auto;}
  .h1 { font-size: clamp(42px, 16vw, 64px) !important; }
  [style*="padding:160px 56px 80px"],
  section[style*="min-height:100vh"] > div[style*="z-index:2"] {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
