/* ============================================================
   Bohema Members' Club — static site
   Rebuilt from the Webflow original; design tokens preserved.
   ============================================================ */

:root {
  --green:        #283531;
  --green-deep:   #1e2a26;
  --gold:         #f4dbb3;
  --gold-bright:  #f5e5b5;
  --gold-link:    #ffd99c;
  --ink:          #121414;
  --arrow-bg:     #2e4e45;

  --gutter:       120px;
  --bar-h:        100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--green);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; border: 0; }
a { color: inherit; }

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #000; padding: 12px 20px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Back navbar (all pages except home) ---------- */
.back-nav {
  position: absolute; inset: 0 auto auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: var(--bar-h);
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.back-nav__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; padding: 12px;
  margin-right: 24px;
  transition: opacity .2s;
}
.back-nav__arrow:hover { opacity: .2; }
.back-nav__arrow a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background-color: var(--arrow-bg); border-radius: 200px;
}
.back-nav__arrow img { width: 28px; }
.back-nav__logo { width: 70px; }
.back-nav__logo--invert { filter: invert() grayscale(); }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  width: 100%; height: 200px;
  background-color: var(--ink);
  border-top: .25px solid var(--gold);
}
.site-footer__logo { width: 80px; margin-bottom: 24px; }
.site-footer__links { display: flex; align-items: center; gap: 24px; }
.site-footer__links a { color: var(--gold-link); }

/* ============================================================
   Home
   ============================================================ */
.hero { position: relative; width: 100%; height: 100vh; overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%; height: 100%;
}
.hero__card { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hero__card video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* gradient foot, then the solid veil that lifts on hover */
.hero__card::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(#0000, var(--green));
  pointer-events: none;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background-color: var(--green);
  opacity: .9;
  transition: opacity .2s;
}
.hero__card:hover .hero__veil { opacity: .2; }

/* single fullscreen video used on small screens */
.hero__mobile-video { display: none; }

/* rotating emblem */
.hero__emblem {
  position: absolute; top: 300px; left: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 1px;
  pointer-events: none;
}
.emblem { position: relative; width: 240px; height: 240px; }
.emblem img { position: absolute; inset: 0; width: 240px; height: 240px; }
.emblem__ring { animation: emblem-spin 60s linear infinite; }
@keyframes emblem-spin { to { transform: rotate(360deg); } }

/* bottom nav */
.hero__nav {
  position: absolute; inset: auto 0 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center; justify-items: center;
  width: 100%; height: 100px;
}
.hero__nav-item { position: relative; display: flex; align-items: center; justify-content: center; }
.nav-link {
  color: var(--gold-bright);
  font-family: Oswald, Arial, sans-serif;
  font-size: 20px; font-weight: 200; letter-spacing: 10px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-link:hover { opacity: .4; }

/* the lottie diamond that sits above "Apply" */
.diamond-wrap {
  position: absolute; inset: -46px 0 auto;
  display: flex; align-items: center; justify-content: center; width: 100%;
}
.diamond {
  width: 70px; height: 60px; overflow: hidden;
  filter: sepia(46%) brightness(270%) hue-rotate(43deg);
}

/* Pause control for the looping hero video (WCAG 2.2.2 Pause, Stop, Hide).
   Mirrors the MENU tab on the opposite edge. */
.hero-motion {
  position: absolute; inset: 108px auto auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 40px; padding: 0;
  background-color: #000; color: var(--gold);
  border: 0; border-top-right-radius: 12px; border-bottom-right-radius: 12px;
  cursor: pointer;
  transition: opacity .2s;
}
.hero-motion:hover { opacity: .6; }
.hero-motion__icon { display: flex; }
.hero-motion svg { width: 18px; height: 18px; }

/* MENU tab, pinned to the right edge of the last card */
.menu-tab {
  position: absolute; inset: 108px 0 auto auto; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  width: 100px; height: 40px;
  background-color: #000; color: #fff;
  border-top-left-radius: 12px; border-bottom-left-radius: 12px;
  font-weight: 700; text-decoration: none;
  transition: opacity .2s;
}
.menu-tab:hover { opacity: .5; }

/* ============================================================
   Shared section shells
   ============================================================ */
.section {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 100vh;
  padding-left: var(--gutter); padding-right: var(--gutter);
  background-color: var(--green);
}
.section__inner {
  position: relative;
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  width: 100%; max-width: 1200px;
}

.heading {
  width: 400px; margin: 20px 0 10px;
  color: var(--gold);
  font-size: 32px; font-weight: 400; line-height: 1.25;
  text-align: left;
}
/* the original derives the tier column width from the 400px heading — keep it */
.heading--sm { margin: 0; font-size: 16px; font-weight: 700; text-align: center; }
.heading--20 { margin-top: 0; font-size: 20px; font-weight: 700; text-align: center; }

.body-copy {
  position: relative; z-index: 2;
  max-width: 500px; margin: 0 0 10px;
  color: var(--gold);
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300; line-height: 1.6;
  text-align: left;
}
.body-copy--center { max-width: 220px; text-align: center; }
.body-copy--dark { max-width: 500px; color: var(--green); text-align: center; }
.body-copy--lead { font-size: 20px; }

.btn {
  display: inline-block; margin-top: 24px; padding: 9px 15px;
  background-color: var(--gold); color: #000;
  border: 0; border-radius: 4px;
  font: inherit; font-weight: 700; line-height: inherit;
  text-decoration: none; cursor: pointer;
  transition: opacity .2s;
}
.btn:hover { opacity: .65; }
.btn--dark { background-color: #000; color: #fff; }
.btn--flush { margin-top: 0; }

/* ============================================================
   Apply
   ============================================================ */
.page-apply { font-family: "PT Sans", Arial, sans-serif; }

.apply-hero {
  min-height: 0; height: auto;
  padding-top: 100px; padding-bottom: 0;
  justify-content: flex-end;
  background-image:
    linear-gradient(270deg, #fff, #ffffffd1),
    url("../img/learn-3.png"),
    linear-gradient(var(--green), var(--green));
  background-position: 0 0, 50%, 0 0;
  background-size: auto, cover, auto;
  overflow: hidden;
}
.apply-hero .section__inner { padding-bottom: 0; }
.apply-copy {
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  margin-bottom: 100px;
  text-align: center;
}
.apply-copy .rich { max-width: 580px; color: var(--green); }
.apply-copy .rich p { margin: 0 0 10px; }

.apply-tiers { min-height: 0; height: auto; padding-top: 120px; padding-bottom: 120px; }
.apply-tiers__row { display: flex; }
.tier {
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  text-align: center;
}

/* ============================================================
   Learn
   ============================================================ */
.learn-section { display: flex; align-items: center; justify-content: center; }
.learn-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  width: 100%;
}
.learn-cell {
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  width: 100%;
}
.learn-cell--end { align-items: flex-end; }
.learn-copy { text-align: left; }
.learn-img { max-width: 80%; border-radius: 24px; }
.learn-img--lift { border-radius: 0; filter: brightness(200%); }

.learn-cta {
  display: flex; align-items: center; justify-content: center;
  padding: 44px;
  background-color: var(--green);
}

/* scroll reveal */
.reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .emblem__ring { animation: none; }
}

/* ============================================================
   Menu
   ============================================================ */
.menu-hero {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 116px 24px;
  background-color: var(--green);
}
.menu-card {
  display: flex; flex-flow: column; align-items: center; justify-content: center; gap: 16px;
}
.menu-card img { width: 800px; max-width: 100%; border-radius: 24px; }
.menu-pdf { margin-top: 8px; color: var(--gold-link); font-size: 14px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-section { min-height: 100vh; align-items: flex-start; padding-top: var(--bar-h); }
.contact-grid {
  display: grid; grid-template-columns: .7fr 1fr; gap: 40px 32px;
  width: 100%; margin-top: 24px; color: #fff;
}
.contact-col { position: relative; width: 100%; }
.contact-col--narrow { max-width: 384px; }
.contact-title { margin: 0 0 10px; font-size: 32px; font-weight: 400; line-height: 36px; }
.contact-line { margin: 0 0 16px; color: #fff; font-size: 16px; font-weight: 500; line-height: 24px; }
.contact-line a { color: #fff; }
.contact-map { border-radius: 6px; }

.contact-panel {
  padding: 32px;
  border: 1px solid rgba(244, 219, 179, .25);
  border-radius: 6px;
  background-color: rgba(0, 0, 0, .12);
}
.contact-panel h3 { margin: 0 0 8px; color: var(--gold); font-size: 20px; font-weight: 700; }
.contact-panel p { margin: 0 0 20px; color: #fff; font-family: "Open Sans", Arial, sans-serif; font-weight: 300; line-height: 1.6; }
.contact-panel .btn { margin-top: 0; }
.contact-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-panel + .contact-panel { margin-top: 24px; }

/* ============================================================
   Hebrew legal pages (RTL)
   ============================================================ */
.legal {
  display: flex; align-items: flex-start; justify-content: center;
  width: 100%; padding: 100px var(--gutter) 60px;
  background-color: var(--green);
}
.legal__inner { width: 100%; max-width: 500px; }
.rtl { direction: rtl; text-align: right; color: #fff; }
.rtl h1 { margin-top: 20px; margin-bottom: 10px; font-size: 38px; line-height: 44px; }
.rtl h2 { margin-top: 20px; margin-bottom: 10px; font-size: 32px; line-height: 36px; }
.rtl h3 { margin-top: 20px; margin-bottom: 10px; font-size: 24px; line-height: 30px; }
.rtl p  { margin: 0 0 10px; }
.rtl a  { color: var(--gold-link); }

/* ============================================================
   404
   ============================================================ */
.notfound {
  display: flex; flex-flow: column; align-items: center; justify-content: center;
  width: 100%; min-height: 100vh; padding: 24px; text-align: center;
}
.notfound img { width: 120px; margin-bottom: 32px; }

/* ============================================================
   Responsive
   ============================================================ */
@media screen and (max-width: 991px) {
  .section, .legal { padding-left: 24px; padding-right: 24px; }
  .back-nav { padding-left: 24px; padding-right: 24px; }
  .section { min-height: 0; height: auto; padding-top: 100px; padding-bottom: 127px; }
  .learn-section { margin-top: 64px; margin-bottom: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .apply-hero { padding-top: 100px; }
}

@media screen and (max-width: 767px) {
  .learn-grid { display: flex; flex-flow: column; gap: 24px; }
  .learn-cell { align-items: flex-start; }
  .learn-cell--end { order: -1; align-items: flex-start; }
  .apply-tiers__row { flex-flow: column; }
  .tier + .tier { margin-top: 48px; }
}

@media screen and (max-width: 479px) {
  .hero__grid { display: none; }
  .hero__mobile-video {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .hero__mobile-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero__mobile-video::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(#0000, var(--green));
  }
  .hero__emblem { top: 181px; }
  .emblem, .emblem img { width: 220px; height: 220px; }
  .hero__nav {
    display: flex; flex-flow: column; align-items: center; justify-content: center;
    gap: 39px; height: 290px;
  }
  .diamond-wrap { position: static; order: -1; width: auto; }
  .diamond { width: 40px; height: 40px; }
  .hero__nav-item { flex-flow: column; }
  .menu-tab { inset: 0 auto auto 0; border-radius: 0 0 12px 0; }
  .hero-motion { inset: 0 0 auto auto; border-radius: 0 0 0 12px; }
  .heading { width: 100%; }
  .body-copy--center { max-width: none; }
  .learn-img { border-radius: 12px; }
  .site-footer__logo { width: 110px; }
  .legal { padding-left: 12px; padding-right: 12px; }
  .menu-card { padding-left: 12px; padding-right: 12px; }
  .contact-panel { padding: 24px; }
}
