/* ==========================================================================
   Retreat ZEN — Kamakura Executive Learning Tour (retreat-zen.html)
   Standalone dark stylesheet. Does not use / affect style.css.
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --panel: #101012;
  --fg: #e8e7e4;
  --fg-body: #c9c7c2;
  --fg-dim: #a4a19c;
  --fg-faint: #726f69;
  --line: rgba(232, 231, 228, 0.14);
  --line-strong: rgba(232, 231, 228, 0.30);
  --serif-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --serif-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-body);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: rgba(232, 231, 228, 0.16); }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 72px);
}

.measure { max-width: 620px; }

/* ---- Shared type ---- */
.kicker {
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--fg-faint);
  margin: 0;
}

.marker {
  display: block;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(54px, 10vw, 116px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--fg);
  opacity: 0.82;
  margin: 0 0 0.22em;
}

.headline {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--fg);
  margin: 0;
}

.headline em { font-style: italic; }

.lede {
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg-body);
  margin: 26px 0 0;
}

p { margin: 1.1em 0 0; }
p:first-child { margin-top: 0; }

.link {
  display: inline-block;
  font-family: var(--serif-body);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.link:hover { border-color: var(--fg); }

/* ---- Header ---- */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(24px, 6vw, 72px);
  transition: background 0.4s var(--ease);
}
.site-head.scrolled {
  background: rgba(11, 11, 12, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand img {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-family: var(--serif-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.25s var(--ease);
}
.nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 4px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--fg);
  margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.6) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 12, 0.7) 0%,
    rgba(11, 11, 12, 0.28) 32%,
    rgba(11, 11, 12, 0.7) 62%,
    rgba(11, 11, 12, 0.9) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 128px;
  padding-bottom: clamp(96px, 15vh, 168px);
}
.hero .kicker { margin-bottom: 26px; }
.hero .headline {
  font-size: clamp(30px, 5.6vw, 62px);
  max-width: 900px;
}
.hero-tagline {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--fg-dim);
  margin: 0 0 20px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 0;
  width: 1px;
  height: 30%;
  background: var(--fg);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -30%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---- Sections ---- */
.section {
  position: relative;
  padding: clamp(88px, 14vh, 156px) 0;
}
.section--panel { background: var(--panel); }
.section--hair { border-top: 1px solid var(--line); }

.section-head { margin-bottom: clamp(40px, 7vh, 72px); }
.section-head .kicker { margin-bottom: 20px; }
.section-head .headline { margin-top: 0.15em; max-width: 24ch; }

/* ---- Philosophy: hairline grid ---- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 8vh, 80px);
  background: var(--line);
  border: 1px solid var(--line);
}
.principle {
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 40px);
}
.section--panel .principle { background: var(--panel); }
.principle h3 {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--fg);
  margin: 0 0 10px;
}
.principle p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--fg-dim);
}

/* ---- Experiences: stacked full-bleed ---- */
.exp {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.exp + .exp { border-top: 1px solid rgba(0, 0, 0, 0.6); }
.exp-media { position: absolute; inset: 0; }
.exp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.46) saturate(0.62) contrast(1.05);
}
.exp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 12, 0.15) 0%,
    rgba(11, 11, 12, 0.2) 40%,
    rgba(11, 11, 12, 0.86) 100%
  );
}
.exp-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px clamp(24px, 6vw, 72px) clamp(48px, 7vw, 76px);
}
.exp-kicker {
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11px;
  color: var(--fg-dim);
  margin: 0 0 14px;
}
.exp-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.18;
  color: var(--fg);
  margin: 0 0 16px;
}
.exp-title em { font-style: italic; }
.exp-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-body);
  margin: 0;
}
.exp-inner .link { margin-top: 24px; }

.exp--placeholder {
  min-height: 44vh;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
  text-align: center;
}
.exp--placeholder .exp-inner {
  padding-top: clamp(64px, 9vw, 96px);
  padding-bottom: clamp(64px, 9vw, 96px);
  margin: 0 auto;
}
.exp--placeholder .exp-note {
  margin: 20px 0 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--fg-faint);
}

/* ---- Photo band ---- */
.band {
  position: relative;
  height: clamp(58vh, 72vh, 760px);
  overflow: hidden;
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.5) saturate(0.6) contrast(1.04);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.3), rgba(11, 11, 12, 0.75));
}
.band-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(24px, 5vw, 56px) 0;
}
.band-caption p {
  margin: 0;
  max-width: 44ch;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5;
  color: var(--fg);
}

/* ---- Itinerary ---- */
.tl-day + .tl-day { margin-top: clamp(56px, 9vh, 96px); }
.tl-day-label {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--fg);
  margin: 0;
}
.tl-day-sub {
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--fg-faint);
  margin: 8px 0 26px;
}
.tl-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(14px, 3vw, 40px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-time {
  font-family: var(--serif-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  padding-top: 7px;
}
.tl-item--feature .tl-time { color: var(--fg); }
.tl-lead {
  display: block;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 6px;
}
.tl-body { margin: 0; }
.tl-body p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--fg-dim); }
.tl-body a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.tl-body a:hover { border-color: var(--fg); }

.tl-notes {
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.tl-notes h4 {
  margin: 0 0 12px;
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--fg-faint);
}
.tl-notes ul { margin: 0; padding-left: 1.1em; }
.tl-notes li { font-size: 14px; color: var(--fg-faint); margin: 0 0 6px; }

/* ---- Inquire ---- */
.cta .headline { margin-top: 14px; max-width: 16ch; }
.cta-actions { margin-top: 40px; display: flex; gap: 28px; align-items: baseline; flex-wrap: wrap; }
.cta-email { font-size: 14px; color: var(--fg-faint); margin: 0; }
.cta-email a { color: var(--fg-dim); }

/* ---- Footer ---- */
.site-foot {
  padding: clamp(72px, 11vh, 104px) 0 64px;
  border-top: 1px solid var(--line);
}
.foot-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.foot-brand { line-height: 0; }
.foot-brand img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.jce-chip {
  display: inline-flex;
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
}
.jce-chip img { height: 30px; width: auto; }
.foot-meta {
  font-family: var(--serif-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--fg-faint);
  margin: 0;
}

/* ---- Reveal (progressive enhancement: only hidden when JS is active) ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Mobile nav ---- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(11, 11, 12, 0.97);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 90;
  }
  .site-head.nav-open .nav { transform: none; }
  .nav a { font-size: 15px; letter-spacing: 0.2em; opacity: 1; }
  .site-head.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-head.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-head.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .principles { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-time { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}
