:root {
  --ink: #1a1410;
  --ink-soft: #4a3f36;
  --paper: #fff8ef;
  --sand: #f3e6d4;
  --teal: #1aa7a1;
  --teal-deep: #0d6e6a;
  --coral: #e85d4c;
  --gold: #e8a317;
  --night: #12151c;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    max(1rem, env(safe-area-inset-top))
    clamp(1.1rem, 4vw, 2.5rem)
    1rem;
}

.site-nav .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav .links a {
  opacity: 0.85;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.site-nav .links a:hover,
.site-nav .links a[aria-current="page"] {
  opacity: 1;
  border-color: currentColor;
}

.nav-light { color: #fff8ef; }
.nav-light .logo { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.nav-dark { color: var(--ink); }

/* —— Homepage hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff8ef;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 55%;
}

@media (max-width: 720px) {
  .hero-media img {
    object-position: 32% 35%;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 21, 28, 0.28) 0%, rgba(18, 21, 28, 0.12) 42%, rgba(18, 21, 28, 0.72) 100%),
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(232, 163, 23, 0.12), transparent 55%);
}

.hero-copy {
  padding:
    0
    clamp(1.2rem, 5vw, 3.5rem)
    clamp(2.2rem, 8vh, 4.5rem);
  max-width: 46rem;
  opacity: 0;
  animation: riseIn 0.9s ease 0.15s forwards;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand span {
  display: block;
  color: #ffd36a;
}

.hero-line {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  letter-spacing: 0.02em;
}

.hero-lede {
  margin-top: 0.7rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 248, 239, 0.86);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cta:hover { transform: translateY(-2px); }

.cta-fill {
  background: #ffd36a;
  color: #1a1410;
}

.cta-fill:hover { background: #ffe08a; }

.cta-ghost {
  background: transparent;
  color: #fff8ef;
  border-color: rgba(255, 248, 239, 0.55);
}

.cta-ghost:hover {
  background: rgba(255, 248, 239, 0.12);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Path bands —— */
.paths {
  background: var(--paper);
}

.path {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: min(72vh, 640px);
  border-top: 1px solid rgba(26, 20, 16, 0.08);
}

.path:nth-child(even) .path-visual { order: 2; }
.path:nth-child(even) .path-copy { order: 1; }

.path-visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.path-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.path:hover .path-visual img {
  transform: scale(1.04);
}

.path-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  background: var(--paper);
}

.path-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.path h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.path p {
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.path-link {
  align-self: start;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  border-bottom: 2px solid rgba(232, 93, 76, 0.35);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s, color 0.2s;
}

.path-link:hover {
  color: var(--teal-deep);
  border-color: var(--teal);
}

.site-footer {
  padding: 1.75rem clamp(1.2rem, 4vw, 2.5rem) 2.4rem;
  background: var(--night);
  color: rgba(255, 248, 239, 0.7);
  font-size: 0.82rem;
}

.site-footer a {
  color: #ffd36a;
}

/* —— Inner pages —— */
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff8ef;
  isolation: isolate;
}

.page-hero .hero-media img {
  object-position: center 30%;
  animation: none;
  transform: none;
}

.page-hero-copy {
  padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(1.8rem, 5vh, 3rem);
  max-width: 40rem;
  opacity: 0;
  animation: riseIn 0.85s ease 0.1s forwards;
}

.page-hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.page-hero-copy p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 248, 239, 0.88);
}

.gallery {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.2rem, 4vw, 2.5rem) 4rem;
  display: grid;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.piece {
  display: grid;
  gap: 1rem;
}

.piece figure {
  margin: 0;
  overflow: hidden;
  background: var(--sand);
}

.piece img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}

.piece figcaption {
  display: grid;
  gap: 0.35rem;
}

.piece h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

.piece p {
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 40rem;
}

.note {
  margin-top: 0.5rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
  line-height: 1.5;
}

.video-slot {
  display: grid;
  place-items: center;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(26, 167, 161, 0.12), rgba(232, 163, 23, 0.16)),
    var(--sand);
  border: 2px dashed rgba(26, 20, 16, 0.18);
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-soft);
}

.video-slot strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 0.35rem;
}

@media (max-width: 860px) {
  .path {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .path:nth-child(even) .path-visual,
  .path:nth-child(even) .path-copy {
    order: initial;
  }
  .path-visual {
    min-height: 42vw;
    max-height: 360px;
  }
}
