/* The homepage (index.php): the True GOTE story. The site's colours (ink, paper, gold) and type (Oswald, Geist);
   scroll effects in assets/js/home.js set --rise, --p and --zoom. Sections marked .tone-light turn the menu dark. */
.home-page,.camp-page{--gold-ink:#7a5710;--paper-2:#e8e1d4}

/* Shared: tags, huge stacked headings, lede */
.hm-tag{display:inline-flex;align-items:center;min-height:32px;padding:6px 14px;border:1px solid rgba(243,210,122,.55);border-radius:999px;color:var(--gold-2);font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase}
.hm-tag.dark{border-color:rgba(10,10,10,.35);color:var(--ink)}
.hm-big,.hm-mega{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:-.01em;text-wrap:balance}
.hm-big{font-size:clamp(48px,8.4vw,136px);line-height:.9}
.hm-big span,.hm-mega span{display:block}
.hm-big em,.hm-mega em,.hm-photo em{font-style:normal;background:linear-gradient(180deg,var(--gold-2),var(--gold));-webkit-background-clip:text;background-clip:text;color:transparent}
.tone-light .hm-big em{background:none;color:var(--gold-ink)}
.hm-lede{max-width:46ch;margin:22px auto 0;font-size:clamp(16px,1.4vw,19px);line-height:1.6;color:var(--muted)}
.tone-light .hm-lede{color:rgba(10,10,10,.72)}

/* ---------- HERO ---------- */
.hm-hero{position:relative;background:var(--ink);overflow:hidden;padding:clamp(120px,18vh,180px) var(--gutter) 0;text-align:center}
.hm-hero-seal{position:absolute;left:50%;top:clamp(60px,10vh,120px);width:min(90vw,880px);transform:translateX(-50%);opacity:.07;pointer-events:none}
.hm-hero-copy{position:relative;z-index:2}
.hm-mega{margin-top:22px;font-size:clamp(64px,15.5vw,260px);line-height:.84}
.hm-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}
.hm-rise{position:relative;z-index:1;display:flex;justify-content:center;align-items:flex-end;gap:clamp(10px,2vw,28px);max-width:1100px;margin:clamp(40px,7vh,72px) auto 0;height:clamp(300px,52vw,620px)}
.hm-card{--rise:0px;position:relative;flex:0 1 30%;aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:#1a1a1a;box-shadow:0 30px 60px rgba(0,0,0,.55);transform:translateY(calc(18% - var(--rise))) rotate(var(--tilt,0deg));will-change:transform}
/* Photos framed in Admin → Homepage: object-position and transform-origin = the focus point, --fz = the zoom. */
.hm-card img,.hm-chip img,.hm-stop-img img{transform:scale(var(--fz,1))}
.hm-card img{width:100%;height:100%;object-fit:cover}
.hm-card.c0{--tilt:-5deg;margin-bottom:-6%}
.hm-card.c1{flex-basis:36%;z-index:1;margin-bottom:-14%}
.hm-card.c2{--tilt:5deg;margin-bottom:-4%}
.hm-rise.n1 .hm-card{flex-basis:44%;--tilt:0deg}
.hm-hero::after{content:"";position:absolute;inset:auto 0 0;height:22%;background:linear-gradient(180deg,rgba(10,10,10,0),var(--ink));z-index:1;pointer-events:none}

/* ---------- THE WORD ---------- */
.hm-word{height:220vh;background:var(--paper);color:var(--ink);text-align:center}
.hm-word-pin{position:sticky;top:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(96px,12vh,140px) var(--gutter) clamp(48px,8vh,96px)}
.hm-words{max-width:1200px;margin:28px auto 0;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(36px,6.2vw,104px);line-height:1.02;letter-spacing:-.005em}
.hm-words .w{display:inline-block;opacity:var(--o,.16);transition:opacity .25s linear}
.hm-chip{display:inline-block;vertical-align:-.08em;width:1.7em;height:.82em;border-radius:999px;overflow:hidden;background:var(--paper-2);transform:scale(var(--s,.6));transition:transform .5s var(--ease)}
.hm-chip img{width:100%;height:100%;object-fit:cover}
.hm-cite{margin-top:32px;font-size:13px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-ink)}

/* ---------- FULL-WIDTH PHOTO ---------- */
.hm-photo{position:relative;height:min(100svh,980px);overflow:hidden;background:var(--ink)}
.hm-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;transform:scale(calc(var(--zoom,1.18) * var(--fz,1)));will-change:transform}
.hm-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,0) 35%,rgba(0,0,0,.7))}
.hm-photo figcaption{position:absolute;z-index:1;left:var(--gutter);right:var(--gutter);bottom:clamp(28px,6vh,64px);font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(48px,9vw,150px);line-height:.88}

/* ---------- THE PATH ---------- */
.hm-path-head{background:var(--ink);text-align:center;padding:clamp(100px,14vw,200px) var(--gutter) clamp(40px,6vw,80px)}
.hm-path-head .hm-big{margin-top:22px}
.hm-stops{position:relative}
.hm-line{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible}
.hm-line path{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-line-bg{stroke:rgba(243,210,122,.28);stroke-dasharray:3 9}
.hm-line-fg{stroke:var(--gold-2)}
.hm-line-dot{fill:var(--gold);stroke:var(--ink);stroke-width:3}
.hm-stop{position:relative;min-height:100svh;display:grid;align-items:center;padding:clamp(72px,10vw,140px) var(--gutter)}
.hm-stop.s0{background:var(--ink)}
.hm-stop.s1{background:#17130b}
.hm-stop.s2{background:var(--gold);color:var(--ink)}
.hm-stop-in{position:relative;display:grid;grid-template-columns:1fr minmax(240px,34vw) 1fr;align-items:center;gap:clamp(20px,4vw,64px);max-width:1440px;width:100%;margin:0 auto}
.hm-stop-title{position:relative;z-index:3;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(44px,6.2vw,104px);line-height:.9;text-wrap:balance}
.hm-num{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;border-radius:50%;background:var(--gold);color:var(--ink);font-size:18px;letter-spacing:0}
.hm-stop.s2 .hm-num{background:var(--ink);color:var(--gold-2)}
.hm-stop-img{position:relative;z-index:1;aspect-ratio:1;border-radius:4px;overflow:hidden;transform:scale(var(--s,.86)) rotate(var(--r,-3deg));transition:transform .2s linear;box-shadow:0 30px 60px rgba(0,0,0,.4)}
.hm-stop-img img{width:100%;height:100%;object-fit:cover}
.hm-stop-text{position:relative;z-index:3;max-width:40ch;justify-self:end}
.hm-ref{font-family:var(--display);font-weight:600;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}
.hm-stop.s2 .hm-ref{color:var(--ink)}
.hm-stop-text blockquote{margin-top:14px;font-size:clamp(18px,1.6vw,22px);line-height:1.45;font-style:italic;font-weight:500}
.hm-stop-text p:last-child{margin-top:14px;line-height:1.65;color:var(--muted)}
.hm-stop.s2 .hm-stop-text p:last-child{color:rgba(10,10,10,.78)}

/* ---------- THE HOUSE ---------- */
.hm-house{background:var(--paper);color:var(--ink);padding:clamp(100px,13vw,180px) var(--gutter)}
.hm-house-head{text-align:center;max-width:900px;margin:0 auto clamp(40px,6vw,80px)}
.hm-house-head .hm-big{margin-top:22px}
.hm-colls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(16px,2vw,28px);max-width:1440px;margin:0 auto}
.hm-coll{display:flex;flex-direction:column;gap:6px}
.hm-coll-img{position:relative;display:block;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--ink);margin-bottom:12px}
.hm-coll-img > img:first-child{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.hm-coll-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.65))}
.hm-coll:hover .hm-coll-img > img:first-child{transform:scale(1.05)}
.hm-coll-name{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:clamp(28px,2.6vw,40px);line-height:1}
.hm-coll-tag{color:rgba(10,10,10,.7);line-height:1.5}
.hm-coll-go{margin-top:6px;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-ink)}
.hm-coll:focus-visible{outline-color:var(--ink)}

/* The footer's own sign-up would repeat "Join the list" right above it. */
.home-page:has(.hm-join) .foot-signup{display:none}

/* ---------- PICK YOUR TRIBE (shared .tribes styles in style.css) ---------- */
.hm-tribes{padding-top:clamp(100px,13vw,180px)}
.hm-tribes .hm-big{margin-top:14px}
.hm-more{text-align:center;margin-top:clamp(32px,4vw,56px)}
/* Chosen products (Admin → Homepage): tiles of the same size, centred when there are fewer than a full row. */
.tribe-grid.hm-picks{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),230px));justify-content:center}
@media (max-width:480px){.tribe-grid.hm-picks{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- JOIN THE LIST ---------- */
.hm-join{background:var(--gold);color:var(--ink);text-align:center;padding:clamp(100px,13vw,180px) var(--gutter)}
.hm-join .hm-big{margin-top:22px}
.hm-join .hm-big em{color:var(--white);background:none}
.hm-join .hm-lede{color:rgba(10,10,10,.78)}
.hm-join-form{display:flex;gap:10px;max-width:560px;margin:34px auto 0}
.hm-join-form input[type=email]{flex:1;min-width:0;min-height:52px;padding:0 20px;border-radius:999px;border:1px solid rgba(10,10,10,.3);background:rgba(255,255,255,.55);color:var(--ink);font:inherit;font-size:16px}
.hm-join-form input[type=email]:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.hm-join-form .pill.solid{min-height:52px;background:var(--ink);color:var(--white);border-color:var(--ink)}
.hm-join .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.hm-join-msg{min-height:1.5em;margin-top:14px;font-weight:600}
.hm-join :focus-visible{outline-color:var(--ink)}

/* ---------- Small screens ---------- */
@media (max-width:860px){
  .hm-stop{min-height:auto}
  .hm-stop-in{grid-template-columns:1fr;gap:24px}
  .hm-stop-img{width:min(100%,420px);justify-self:center}
  .hm-stop-text{justify-self:start}
  .hm-line{display:none}
}
@media (max-width:560px){
  .hm-rise{height:clamp(240px,80vw,400px)}
  .hm-card{flex-basis:40%}
  .hm-card.c1{flex-basis:48%}
  .hm-join-form{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  .hm-card{transform:rotate(var(--tilt,0deg))}
  .hm-word{height:auto}
  .hm-word-pin{position:static;min-height:0}
  .hm-chip{--s:1}
  .hm-photo img{transform:scale(var(--fz,1))}
  .hm-stop-img{transform:none;transition:none}
}
