/* House of Jung main site. Warm and light, taking its palette from the
   showreel rather than the club-dark treatment the rave page uses. The
   shared components in style.css and site.css inherit these tokens, so
   anything with a hardcoded light surface stays readable here by default. */

body.hoj {
  --ink: #17120f;
  --paper: #fbf8f4;
  --muted: #6c6158;
  --line: #e6ded3;
  --purple: #c0562a;       /* the accent the shared components reach for */
  --sand: #f2ebe1;
  --deep: #17120f;
  background: var(--paper);
  color: var(--ink);
}

/* ---------- header: mark left, nav right, sitting over the film ---------- */
.hoj-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 34px 10px 24px;
}
.hoj-mark-link { flex: none; display: block; }
.hoj-mark-link img { width: 60px; height: 60px; display: block; }
.hoj-header nav { margin-left: auto; display: flex; gap: 28px; font-size: .86rem; font-weight: 550; }
.hoj-header nav a { color: #fff; opacity: .9; letter-spacing: .01em; }
.hoj-header nav a:hover { opacity: 1; }
.hoj-header .button {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hoj-header .button:hover { background: #fff; color: var(--deep); border-color: #fff; transform: none; }

/* ---------- hero: film, nothing over it but the furniture ---------- */
.hoj-hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100dvh;
  background: #17120f;
}
.hoj-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hoj-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,18,15,.5) 0%, transparent 26%, transparent 72%, rgba(23,18,15,.55) 100%);
}

/* Forevs is the brand face, lifted from the old site. */
@font-face {
  font-family: Forevs;
  src: url('/fonts/forevs-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Forevs;
  src: url('/fonts/forevs-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* The wordmark runs up the left edge. Settings taken from the old site:
   Forevs at 24px, 700, 0.2em tracking, uppercase, rotated anticlockwise. */
.hoj-wordmark {
  position: absolute; left: 31px; top: 111px; margin: 0; z-index: 5;
  font-family: Forevs, Georgia, serif; font-weight: 700;
  font-size: 24px; letter-spacing: .2em; line-height: 1;
  text-transform: uppercase; white-space: nowrap; color: #fff;
  transform-origin: 0 0; transform: rotate(-90deg) translateX(-100%);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* Tickets and socials. Fixed, so the rail follows the page. */
.hoj-rail {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 40; list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.hoj-rail a {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  /* Opaque enough to hold its own over the light sections further down. */
  background: rgba(23,18,15,.82); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(23,18,15,.22);
  transition: background .18s, border-color .18s, transform .18s;
}
.hoj-rail a:hover { background: #fff; color: var(--deep); border-color: #fff; transform: translateY(-2px); }
.hoj-rail svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- a two-column block used in a few places ---------- */
.hoj-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.hoj-split h2 { margin-top: 16px; }
.hoj-split h2 span { color: var(--purple); }
.hoj-split-copy .lead { font-size: 1.24rem; font-weight: 550; line-height: 1.45; margin: 0 0 16px; }
.hoj-split-copy p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 0 0 14px; }
.hoj-split-copy .button { margin-top: 10px; }

.pillars {
  list-style: none; margin: 26px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.pillars li {
  font-family: Archivo, Arial, sans-serif; font-weight: 900;
  font-size: .95rem; letter-spacing: -.01em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px;
  background: var(--sand); color: var(--ink);
}

/* ---------- next event ---------- */
.hoj-event { background: var(--deep); color: #fff; }
.hoj-event-inner {
  display: grid; grid-template-columns: .85fr 1fr; gap: 72px;
  padding-block: 96px; align-items: center;
}
.event-poster { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.45); }
.event-poster img { width: 100%; height: auto; display: block; }
.event-copy .eyebrow { color: #f0a05e; }
.event-copy h2 { margin-top: 16px; }
.event-copy h2 span { color: #f0a05e; }
.event-meta {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline;
  margin: 20px 0 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: 1.02rem;
}
.event-meta strong { font-weight: 700; }
.event-meta span { color: #c9bdb1; }
.event-copy .lead { font-size: 1.28rem; font-weight: 550; line-height: 1.45; margin: 0 0 14px; }
.event-copy p:not(.lead):not(.eyebrow):not(.event-meta) { color: #c9bdb1; line-height: 1.65; margin: 0 0 24px; }
.hoj-event .button { background: #fff; color: var(--deep); border-color: #fff; }
.hoj-event .button:hover { background: var(--sand); color: var(--deep); }

/* ---------- image + copy feature ---------- */
.hoj-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.feature-img { margin: 0; border-radius: 18px; overflow: hidden; background: var(--sand); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-copy h2 { margin-top: 16px; }
.feature-copy h2 span { color: var(--purple); }
.feature-copy .lead { font-size: 1.26rem; font-weight: 550; line-height: 1.45; margin: 18px 0 16px; }
.feature-copy p:not(.lead):not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0 0 14px; }

/* ---------- reforestation ---------- */
.hoj-impact { background: var(--sand); border-block: 1px solid var(--line); }
.hoj-impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding-block: 96px; align-items: center; }
.impact-copy h2 { margin-top: 16px; }
.impact-copy h2 span { color: var(--purple); }
.impact-copy .lead { font-size: 1.26rem; font-weight: 550; line-height: 1.45; margin: 18px 0 16px; }
.impact-copy p:not(.lead):not(.eyebrow) { color: var(--muted); line-height: 1.65; margin: 0; }
.impact-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.impact-imgs figure { margin: 0; border-radius: 14px; overflow: hidden; background: #e2d7c8; }
.impact-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.impact-imgs figure:first-child { aspect-ratio: .78; }
.impact-imgs figure:last-child { aspect-ratio: .78; margin-top: 34px; }

/* ---------- work with us ---------- */
.hoj-work { background: var(--deep); color: #fff; }
.hoj-work-inner { padding-block: 96px; max-width: 760px; }
.hoj-work .eyebrow { color: #f0a05e; }
.hoj-work h2 { margin: 16px 0 22px; }
.hoj-work h2 span { color: #f0a05e; }
.hoj-work .lead { font-size: 1.3rem; font-weight: 550; line-height: 1.45; margin: 0 0 14px; }
.hoj-work p:not(.lead):not(.eyebrow) { color: #c9bdb1; line-height: 1.65; margin: 0 0 28px; }
.hoj-work .button.light { background: #fff; color: var(--deep); border-color: #fff; }
.hoj-work .button.light:hover { background: var(--sand); color: var(--deep); }

/* ---------- close ---------- */
.hoj-close { background: linear-gradient(165deg, #f6ece0 0%, #fbf8f4 65%); }
.hoj-close-inner { padding-block: 92px 84px; }
.hoj-close h2 { font-size: clamp(2.8rem, 8vw, 5.4rem); margin: 16px 0 32px; }
.hoj-close h2 span { color: var(--purple); }
.hoj-signup { max-width: 440px; }
.hoj-signup .signup-kicker { font-size: .92rem; font-weight: 550; color: var(--muted); margin: 0 0 14px; }

/* ---------- SOMA purple carried over in the shared sheets ----------
   style.css and site.css hardcode the SOMA purple rather than reading a
   token, so it survives this page's palette. Restated here in the HOJ
   accent: the sign-up button's shadow and hover, the field focus ring,
   the focus outline and the text selection. */
body.hoj .signup-form .button {
  box-shadow: 0 12px 26px -12px rgba(192, 86, 42, .7);
}
body.hoj .signup-form .button:hover:not(:disabled) { background: #a3461f; }
body.hoj .signup-form .button:active:not(:disabled) {
  box-shadow: 0 6px 16px -10px rgba(192, 86, 42, .75);
}
body.hoj .signup-form input[type="email"]:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(192, 86, 42, .18);
}
body.hoj a:focus-visible,
body.hoj button:focus-visible,
body.hoj summary:focus-visible { outline-color: var(--purple); }
body.hoj ::selection { background: #f3d3c2; color: #2a1710; }

/* ---------- footer ---------- */
.hoj-socials {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px;
  font-size: .88rem; font-weight: 550;
}
.hoj-socials a:hover { color: var(--purple); }
body.hoj .footer-bottom { border-top-color: var(--line); }

/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .hoj-split, .hoj-feature, .hoj-impact-inner, .hoj-event-inner { grid-template-columns: 1fr; gap: 34px; }
  .hoj-event-inner, .hoj-impact-inner { padding-block: 70px; }
  .event-poster { max-width: 420px; }
  .hoj-work-inner { padding-block: 70px; }
  .hoj-header nav { display: none; }
  .hoj-header .button { margin-left: auto; }
}

/* ---------- phones ---------- */
@media (max-width: 700px) {
  /* Phones show the whole landscape frame as a band rather than a tall
     crop, so the page starts above the fold. 16/9 matches the film, so
     nothing is cut off at all. */
  .hoj-hero { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  /* No room for the rotated wordmark beside a band this short. */
  .hoj-wordmark { display: none; }
  .hoj-header { padding: 10px 18px 10px 16px; }
  .hoj-mark-link img { width: 46px; height: 46px; }
  .hoj-wordmark { left: 22px; top: 86px; font-size: 17px; letter-spacing: .2em; }
  /* The rail is fixed, so on a narrow screen it lands on whatever is
     scrolling under it: on the sign-up button it covered the arrow.
     Phones get the links in the footer instead. */
  .hoj-rail { display: none; }
  .pillars li { font-size: .85rem; padding: 8px 15px; }
  .event-poster { max-width: none; }
  .impact-imgs { gap: 12px; }
  .impact-imgs figure:last-child { margin-top: 20px; }
  .hoj-close-inner { padding-block: 64px 58px; }
  .hoj-signup { max-width: none; }
  .hoj-socials { gap: 16px; }
}

/* ---------- information / safety document ---------- */
body.hoj-doc { background: var(--paper); }
.doc-header { position: static; background: var(--deep); }
.doc-header nav { display: flex; }
.doc-header nav a { color: #fff; }

.doc { padding-block: 56px 90px; max-width: 760px; }
.doc > .eyebrow { color: var(--purple); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 14px 0 0; }
.doc h1 span { color: var(--purple); }
.doc-lede {
  font-size: 1.2rem; font-weight: 500; line-height: 1.55;
  margin: 22px 0 0; color: var(--ink);
}

.doc-toc {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line);
}
.doc-toc a {
  font-size: .85rem; font-weight: 550; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--sand);
}
.doc-toc a:hover { border-color: var(--purple); color: var(--purple); }

.doc-section { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.doc-section h2 {
  font-family: Archivo, Arial, sans-serif; font-weight: 900;
  font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing: -.035em; margin: 0 0 16px;
}
.doc-section h3 {
  font-size: 1.05rem; font-weight: 700; margin: 26px 0 10px; letter-spacing: -.01em;
}
.doc-section p { margin: 0 0 14px; line-height: 1.7; color: #3d342c; }
.doc-section ul { margin: 0 0 16px; padding-left: 22px; }
.doc-section li { margin-bottom: 8px; line-height: 1.65; color: #3d342c; }
.doc-section a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* Anything a reader must not skim past. */
.doc-note {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 24px; margin: 22px 0;
}
.doc-note h3 { margin-top: 0; }
.doc-note p:last-child, .doc-note ul:last-child { margin-bottom: 0; }
.doc-note-strong { border-left: 4px solid var(--purple); background: #fbeee6; }

.doc-flag {
  font-size: .94rem; color: #5c5047;
  border-left: 3px solid var(--line); padding-left: 16px; margin-top: 18px;
}
.doc-disclaimer { background: var(--sand); border-radius: 16px; padding: 28px 26px; border-top: 0; }
.doc-disclaimer h2 { font-size: 1.2rem; }
.doc-disclaimer p { font-size: .94rem; color: #4a4038; }
.doc-updated { font-size: .85rem; color: #7a6d62; margin-bottom: 0; }

@media (max-width: 700px) {
  .doc { padding-block: 36px 64px; }
  .doc-note { padding: 18px 18px; }
  .doc-disclaimer { padding: 22px 18px; }
  .doc-header nav { display: none; }
}

/* Closing CTA on the information page. */
.doc-cta { background: var(--deep); color: #fff; border-radius: 16px; padding: 32px 28px; border-top: 0; }
.doc-cta .eyebrow { color: #f0a05e; }
.doc-cta h2 { margin: 12px 0 10px; color: #fff; }
.doc-cta p { color: #cfc3b7; }
.doc-cta-meta { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; }
.doc-cta-meta strong { color: #fff; font-size: 1.05rem; }
.doc-cta-meta span { font-size: .93rem; }
.doc-cta .button { background: #fff; color: var(--deep); border-color: #fff; margin-top: 8px; }
.doc-cta .button:hover { background: var(--sand); color: var(--deep); }
.doc-cta .doc-flag { border-left-color: #3b322b; color: #b4a89c; margin-top: 20px; }
.doc-cta .doc-flag a, .doc-cta a { color: #f0a05e; }
@media (max-width: 700px) { .doc-cta { padding: 24px 20px; } .doc-cta .button { width: 100%; justify-content: space-between; } }
