/* =====================================================================
   HOME STYLESHEET
   Flowing, responsive layout built from the shared brand tokens.
   ===================================================================== */


/* =========================================================
   TOKENS
   ========================================================= */
:root{
  --bg: #FFFFFF;
  --surface: #F0F0F0;
  --ink: #0F2E1B;
  --brand-primary: #0F2E1B;
  --monogram: #4E6256;
  --line: rgba(15, 46, 27, .16);
  --on-ink: #FFFFFF;
  --on-ink-soft: rgba(255, 255, 255, .72);

  --sans: "Inter Tight", "Inter Tight Fallback", Arial, sans-serif;
  --track: -0.02em;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
}

@font-face{
  font-family: "Inter Tight Fallback";
  src: local("Arial");
  size-adjust: 95.5%;
  ascent-override: 101.6%;
  descent-override: 25.1%;
  line-gap-override: 0%;
}


/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: var(--track);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: inherit; line-height: 1.1; letter-spacing: -0.035em; }
address { font-style: normal; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--on-ink);
  font-size: 16px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.kicker {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--monogram);
  margin-bottom: 20px;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }


/* =========================================================
   BUTTONS / LINKS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--on-ink); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.btn-invert { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn-invert:hover { background: transparent; color: var(--on-ink); }

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card-link span { transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand img { width: 104px; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav-links a:not(.btn) {
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .25s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { background-size: 100% 1px; }
.nav-cta .btn { min-height: 44px; padding: 10px 22px; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.site-header[data-open="true"] .menu-icon { background: transparent; }
.site-header[data-open="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.site-header[data-open="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }


/* =========================================================
   HERO
   ========================================================= */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: end;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; }
.hero-aside .lede { max-width: 42ch; }


/* =========================================================
   FILM STRIP
   Composition is measured on a 1366-unit stage; --k is one unit.
   ========================================================= */
.film { container-type: inline-size; overflow: hidden; }
.film-stage {
  --k: calc(100cqw / 1366);
  position: relative;
  height: calc(349.7 * var(--k));
}
.film-stage > * {
  position: absolute;
  left: calc((var(--x) - var(--ox, 0)) * var(--k));
  top: calc(var(--y) * var(--k));
  width: calc(var(--w) * var(--k));
  height: calc(var(--h) * var(--k));
  max-width: none;
}
.film-tile { overflow: hidden; }
.film-tile video {
  position: absolute;
  left: 0;
  top: calc(var(--vy) * var(--k));
  width: calc(611.4 * var(--k));
  height: calc(343.9 * var(--k));
  max-width: none;
  object-fit: fill;
}
.film-tile-1 { --x: 0;       --y: 65.2;  --w: 611.4;  --h: 249.8;  --vy: -52.05; }
.film-tile-2 { --x: 611.4;   --y: 65.2;  --w: 481.1;  --h: 249.8;  --vy: -52.05; }
.film-tile-3 { --x: 1106.84; --y: 67.44; --w: 259.16; --h: 247.56; --vy: -54.24; }
.film-camera { --x: 578.65;  --y: 0;     --w: 564.2;  --h: 349.7; }


/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section); }
.band-soft { background: var(--surface); }
.band-dark { background: var(--ink); color: var(--on-ink); }
.band-dark .kicker { color: var(--on-ink-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section h2 { font-size: clamp(32px, 4vw, 54px); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.card {
  display: flex;
  flex-direction: column;
  padding: 36px clamp(20px, 2.6vw, 40px) 28px;
  border-bottom: 1px solid var(--line);
}
.card + .card { border-left: 1px solid var(--line); }
.card:first-child { padding-left: 0; }
.card:last-child { padding-right: 0; }
.card-num { font-size: 14px; letter-spacing: .12em; color: var(--monogram); margin-bottom: 48px; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 16px; }
.card p { margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .04em;
}
.card .card-link { margin-top: auto; align-self: flex-start; }
.note { margin-top: 36px; font-size: 16px; color: var(--monogram); }

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px clamp(40px, 7vw, 120px);
  align-items: start;
}
.mission-grid h2 { margin-bottom: 28px; }
.mission-grid .lede { color: var(--on-ink-soft); max-width: 46ch; }
.stats > div { padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.stats > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.stats dt { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.035em; }
.stats dd { margin-top: 6px; color: var(--on-ink-soft); }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.person { padding: clamp(28px, 3.5vw, 48px); background: var(--surface); }
.person-role { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--monogram); }
.person h3 { font-size: clamp(28px, 2.8vw, 38px); margin: 10px 0 20px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px clamp(40px, 7vw, 120px); }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-head h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 48px 28px 0; max-width: 60ch; }

/* Eden Collective */
.collective { display: grid; grid-template-columns: auto minmax(0, 720px); gap: 32px clamp(40px, 6vw, 96px); justify-content: center; align-items: start; }
.collective-mark { width: 96px; }
.collective h2 { margin-bottom: 24px; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr); gap: 48px clamp(32px, 5vw, 80px); }
.visit-grid h2 { margin-bottom: 28px; }
.visit-grid address { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; margin-bottom: 16px; }
.visit-grid address + p { max-width: 44ch; }
.mini-head { font-size: 14px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--monogram); margin-bottom: 20px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours dd { text-align: right; }
.contact li + li { margin-top: 4px; }
.contact a { display: inline-block; padding-block: 8px; font-size: 16px; overflow-wrap: anywhere; }
.contact a:hover, .visit-grid p a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Closing CTA */
.cta-band { background: var(--ink); color: var(--on-ink); padding-block: clamp(64px, 8vw, 104px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 16ch; }


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { padding-top: 64px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.footer-logo { width: 150px; height: auto; align-self: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px clamp(40px, 8vw, 120px); }
.footer-nav a { display: inline-block; padding-block: 6px; font-size: 16px; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.footer-base { padding-bottom: 32px; font-size: 14px; color: var(--monogram); }
.footer-base p { padding-top: 24px; border-top: 1px solid var(--line); }


/* =========================================================
   TABLET (1023px and below)
   ========================================================= */
@media (max-width: 1023px){
  .hero-grid,
  .mission-grid,
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { align-items: start; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .card, .card:first-child, .card:last-child { padding-inline: 0; }
  .card + .card { border-left: 0; }
  .card-num { margin-bottom: 20px; }

  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid > :first-child { grid-column: 1 / -1; }
}


/* =========================================================
   PHONE NAV (859px and below)
   ========================================================= */
@media (max-width: 859px){
  .header-inner { height: 68px; }
  .brand img { width: 88px; }
  .menu-btn { display: inline-flex; }
  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header[data-open="true"] nav { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav-links a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav-links a[aria-current="page"] { color: var(--monogram); }
  .nav-cta { margin-top: 20px; }
  .nav-cta .btn { width: 100%; min-height: 48px; }
  html { scroll-padding-top: 76px; }
}


/* =========================================================
   PHONE (767px and below)
   ========================================================= */
@media (max-width: 767px){
  body { font-size: 17px; }

  /* Film strip: same composition, cropped around the camera */
  .film-stage { --k: calc(100cqw / 760); --ox: 517.8; }

  .team { grid-template-columns: minmax(0, 1fr); }
  .collective { grid-template-columns: minmax(0, 1fr); }
  .collective-mark { width: 72px; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }

  .actions .btn { flex: 1 1 auto; }
  .cta-inner .btn { width: 100%; }
  .footer-nav { width: 100%; }
}


/* =========================================================
   MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* =========================================================
   SIMPLE PAGES (legal, 404)
   ========================================================= */
.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; }
.page-head .lede { max-width: 58ch; margin-top: 20px; }

.legal { padding-block: clamp(40px, 6vw, 72px) var(--section); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 48px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul, .legal-body address { margin-bottom: 16px; }
.legal-body ul { list-style: disc; padding-left: 1.2em; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

.notfound { padding-block: clamp(72px, 12vw, 160px); }
.notfound h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.05; }
.notfound .lede { max-width: 48ch; margin-top: 20px; }
