/* New home page (preview at /home-new/). Base styles come from magazine.css. */
.bgfx{ position:fixed; inset:0; pointer-events:none; z-index:0; }
.hm__c{ position:relative; z-index:1; }
.hm .mono{ color:var(--gold); font-size:20px; }
.hm h2{ margin:12px 0 0; font-family:var(--display); font-weight:900; font-size:clamp(34px,4.6vw,60px); line-height:1.05; letter-spacing:-.01em; }
.hm h2 em{ font-style:normal; color:var(--mint); }
.hm-big{ min-height:54px; padding:0 28px; font-size:17px; }
.hm-sec{ padding-top:130px; padding-bottom:130px; }
.hm-h{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:44px; }
.hm-h p{ margin:0; max-width:380px; color:var(--txt2); font-size:18px; }
.hm-more{ font-weight:700; color:var(--gold); border-bottom:2px solid currentColor; padding-bottom:2px; }

/* hero */
.hm-hero{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:56px; align-items:center; min-height:calc(100vh - 76px); padding-top:40px; padding-bottom:70px; }
.hm-hero__t{ display:flex; flex-direction:column; gap:22px; }
.hm-hero .mono{ color:var(--mint); font-size:15px; letter-spacing:.14em; }
.hm-hero h1{ margin:0; font-family:var(--display); font-weight:900; font-size:clamp(46px,6.6vw,92px); line-height:1; letter-spacing:-.01em; }
.hm-hero h1 em{ font-style:normal; color:var(--gold); }
.hm-hero h1 .w{ display:inline-block; opacity:0; transform:translateY(.7em); animation:hmw 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay:calc(.15s + var(--i) * .09s); }
@keyframes hmw{ to{ opacity:1; transform:none; } }
.hm-hero p{ margin:0; max-width:560px; font-size:21px; line-height:1.6; color:#D9D3C4; }
.hm-hero__cta{ display:flex; gap:14px; flex-wrap:wrap; }
.hm-facts{ display:flex; gap:32px; flex-wrap:wrap; padding-top:20px; border-top:1px solid var(--line); }
.hm-facts div{ display:flex; flex-direction:column; gap:2px; }
.hm-facts b{ font-family:var(--display); font-size:22px; }
.hm-facts span{ font-size:14px; color:var(--txt2); }
.hm-hero__p{ position:relative; aspect-ratio:4/5; max-height:640px; border-radius:28px; overflow:hidden; border:1px solid rgba(203,170,93,.35); animation:hmp 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hmp{ from{ opacity:0; transform:scale(1.05); } to{ opacity:1; transform:none; } }
.hm-hero__p img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 12%; }
.hm-note{ position:absolute; inset-inline:18px; bottom:18px; display:flex; align-items:center; gap:12px; padding:14px 18px; border-radius:16px; background:rgba(14,24,28,.72); backdrop-filter:blur(8px); font-size:16px; line-height:1.4; }
.hm-note i{ flex:none; width:10px; height:10px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 0 rgba(160,206,111,.6); animation:hmpulse 2.2s infinite; }
@keyframes hmpulse{ to{ box-shadow:0 0 0 12px rgba(160,206,111,0); } }

/* program doors */
.bento{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); grid-auto-rows:250px; gap:28px; }
.b-journey{ grid-column:span 7; grid-row:span 2; }
.b-course,.b-lect{ grid-column:span 5; }
.door{ position:relative; display:block; border-radius:24px; overflow:hidden; border:1px solid rgba(241,236,224,.12); transition:opacity .9s, transform .6s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.door.in:hover{ transform:translateY(-5px); border-color:rgba(203,170,93,.7); }
.door img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 1s cubic-bezier(.2,.7,.2,1); }
.door:hover img{ transform:scale(1.05); }
.shade{ position:absolute; inset:0; background:linear-gradient(to top,rgba(14,24,28,.92) 0%,rgba(14,24,28,.55) 38%,rgba(14,24,28,0) 68%); }
.door__tags{ position:absolute; top:20px; inset-inline-start:20px; display:flex; gap:8px; flex-wrap:wrap; }
.door__tags span{ padding:7px 14px; border-radius:999px; background:rgba(14,24,28,.7); font-weight:600; font-size:14px; }
.door__tags .gold{ background:var(--gold); color:var(--page); font-weight:800; }
.door__tags .buy{ background:var(--mint); color:#14240c; font-weight:800; }
.door__tags .mint{ background:var(--mint); color:var(--page); font-weight:800; }
.door__b{ position:absolute; inset-inline:26px; bottom:24px; display:flex; flex-direction:column; gap:8px; }
.door__b .mono{ color:var(--mint); font-size:13px; letter-spacing:.14em; }
.door__b b{ font-family:var(--display); font-weight:900; font-size:28px; line-height:1.05; }
.b-lect .door__go{ margin-top:4px; }
.b-journey .door__b b{ font-size:clamp(34px,4vw,50px); }
.door__d{ font-size:17px; line-height:1.45; color:#E6E0D2; max-width:520px; }
.door__go{ align-self:flex-start; display:inline-flex; align-items:center; min-height:44px; padding:0 22px; margin-top:8px; border-radius:999px; background:var(--txt); color:var(--page); font-weight:800; }

/* colour bands */
.hm-band{ position:relative; z-index:2; padding:120px 0; }
/* soft curved edge, same as the retreat page (.slab__curve): a wide ellipse in the band's colour dips into the section below */
.hm-band::after{ content:""; position:absolute; top:100%; left:50%; width:170%; height:clamp(110px,14vw,220px); transform:translate(-50%,-62%); background:inherit; border-radius:50%; z-index:-1; pointer-events:none; }
.hm__c{ overflow-x:clip; }
.hm-band--gold{ background:var(--gold); color:#1f1a0b; }
.hm-band--gold .mono{ color:#1f1a0b; opacity:.7; }
.hm-band--deep{ background:transparent; }
.hm-band--deep::after{ display:none; }
.hm-band--cream{ background:#F1ECE0; color:var(--page); }
.hm-band--green .hm-q{ gap:18px; }
.hm-band--deep, .hm-band--cream{ padding-top:150px; }
.hm-band--green .hm-q blockquote p{ font-size:clamp(28px,3.6vw,50px); }
.hm-band--cream .mono{ color:#8a6e2a; }
.hm-band--cream .hm-more{ color:var(--page); }
.hm-band--green{ background:#DCE9CD; color:var(--page); padding-top:110px; padding-bottom:70px; }
.hm-band--green .mono{ color:#4F7A2E; }
.hm-band--green .hm-more{ color:var(--page); }
.hm-band--green .hm-q blockquote footer{ color:#3F6A22; }

/* lectures (gold) */
.hm-lect{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:56px; align-items:center; }
.hm-lect h2{ font-size:clamp(48px,7vw,104px); line-height:.95; }
.hm-lect p{ margin:22px 0 28px; max-width:460px; font-size:20px; line-height:1.6; }
.hm-dark{ background:var(--page); color:var(--txt); }
.hm-lect__p{ border-radius:26px; overflow:hidden; aspect-ratio:16/11; box-shadow:0 30px 70px rgba(0,0,0,.3); transform:rotate(-1.5deg); }
.hm-lect__p img{ width:100%; height:100%; object-fit:cover; }
.hm-marq{ overflow:hidden; margin-top:70px; direction:ltr; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.hm-marq div{ display:flex; gap:18px; width:max-content; animation:hmm 80s linear infinite; }
.hm-marq span{ flex:none; display:grid; place-items:center; width:150px; height:76px; padding:14px 20px; border-radius:14px; background:#fff; }
.hm-marq img{ max-width:100%; max-height:100%; object-fit:contain; }
@keyframes hmm{ to{ transform:translateX(-50%); } }

/* magazine (deep) */
.hm-guide{ display:grid; grid-template-columns:1fr 1.4fr; margin-top:48px; border-radius:24px; overflow:hidden; background:var(--page2); box-shadow:inset 0 0 0 1px rgba(203,170,93,.35); min-height:200px; }
.hm-guide__img{ position:relative; overflow:hidden; }
.hm-guide__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform-origin:70% 20%; transform:scale(1.16); }
.hm-guide__t{ display:flex; flex-direction:column; justify-content:center; gap:10px; padding:32px 40px; }
.hm-guide__t b{ font-family:var(--display); font-weight:900; font-size:clamp(26px,3vw,38px); line-height:1.1; }
.hm-guide__t > span:last-child{ color:var(--mint); font-weight:700; }

/* recommended (cream) */
.hm-cats{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:16px; }
.hm-cats .card{ gap:12px; text-align:center; }
.hm-cats .card__img{ aspect-ratio:1/1; border-radius:22px; background:var(--page); display:grid; place-items:center; }
.hm-cats .card b{ font-size:17px; color:var(--page); }
.hm-cats .card:hover b{ color:#8a6e2a; }

/* conference (photo) */
.hm-conf{ position:relative; isolation:isolate; overflow:hidden; padding:170px 0 130px; }
.hm-conf__s{ position:absolute; inset:0; z-index:-2; }
.hm-conf__s img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 55%; opacity:0; animation:hmcf 40s linear infinite; animation-delay:calc(var(--i) * 8s - 1.5s); }
.hm-conf__s img:first-child{ opacity:1; }
/* 5 photos, 8s each: fade in over ~1.5s, slow zoom, fade out */
@keyframes hmcf{ 0%{ opacity:0; transform:scale(1.08); } 4%{ opacity:1; } 20%{ opacity:1; } 24%{ opacity:0; transform:scale(1); } 100%{ opacity:0; transform:scale(1); } }
.hm-conf::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(270deg, rgba(20,34,38,.88) 0%, rgba(20,34,38,.55) 42%, rgba(20,34,38,.08) 78%); }
.hm-conf p{ margin:20px 0 30px; max-width:520px; font-size:20px; line-height:1.6; }

/* testimonials (green) */
.hm-q{ display:flex; flex-direction:column; align-items:flex-start; gap:26px; }
.hm-q__s{ display:grid; width:100%; }
.hm-q blockquote{ grid-area:1/1; margin:0; opacity:0; transform:translateY(18px); transition:opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); pointer-events:none; }
.hm-q blockquote.on{ opacity:1; transform:none; pointer-events:auto; }
.hm-q blockquote p{ margin:0; max-width:1000px; font-family:var(--display); font-weight:900; font-size:clamp(30px,4.6vw,64px); line-height:1.12; }
.hm-q blockquote footer{ margin-top:22px; color:var(--mint); font-weight:700; font-size:18px; }

/* about */
.hm-about{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:72px; align-items:center; padding-top:170px; position:relative; }
.hm-about::before{ content:""; position:absolute; z-index:-1; inset:0 calc(50% - 50vw); background:var(--page); opacity:.72; }
.hm-about > img{ width:100%; aspect-ratio:4/5; max-height:560px; object-fit:cover; object-position:50% 20%; border-radius:26px; }
.hm-about p{ margin:22px 0 26px; max-width:560px; font-size:20px; line-height:1.8; color:#D9D3C4; }
.hm-aw{ display:flex; align-items:center; gap:34px; flex-wrap:wrap; margin-bottom:30px; }
.hm-aw img{ height:26px; width:auto; filter:brightness(0) invert(1); opacity:.75; }

@media (max-width:1000px){
  .hm-hero{ grid-template-columns:1fr; gap:30px; min-height:0; }
  .hm-hero__p{ order:-1; aspect-ratio:auto; height:min(54vh,460px); }
  .bento{ grid-template-columns:1fr; grid-auto-rows:270px; }
  .b-journey,.b-course,.b-lect{ grid-column:span 1; }
  .hm-lect,.hm-about,.hm-guide{ grid-template-columns:1fr; }
  .hm-guide__img{ aspect-ratio:16/9; }
  .hm-cats{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .hm-lect__p{ transform:none; }
}
@media (max-width:760px){
  .hm-sec{ padding-top:80px; padding-bottom:90px; }
  .hm-band,.hm-conf{ padding:90px 0 80px; }
  .hm-about{ padding-top:110px; gap:30px; }
  .hm-cats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hm-hero p,.hm-lect p,.hm-conf p,.hm-about p{ font-size:18px; }
  .hm-facts{ gap:20px; }
  .hm-marq span{ width:120px; height:64px; }
  .hm .grid{ grid-template-columns:1fr; }
}
.hm-conf__s img:first-child{ animation-delay:-1.5s; }
@media (prefers-reduced-motion: reduce){ .hm-conf__s img{ animation:none; } .hm-hero h1 .w,.hm-hero__p{ animation:none; opacity:1; transform:none; } .hm-marq div,.hm-note i{ animation:none; } }

/* category squares on the home page: graphic fills the square; slower, one after another from right to left */
.hm-cats .card__img{ display:block; }
.hm-cats .cover{ width:100%; height:100%; }
.hm-cats .card{ transition-duration:1.2s; }
.hm-cats .card.in .cover [class^="a-"]{ animation-duration:calc(var(--dur,.75s) * 1.8); animation-delay:calc(var(--d,0ms) + var(--t,0ms) * 1.6); }

/* purchase calls to action (and only them): mint pill */
.hm .hm-buy{ background:var(--mint); color:#14240c; font-weight:800; border:0; box-shadow:0 8px 24px rgba(160,206,111,.28); transition:transform .3s, box-shadow .3s, background .3s; }
.hm .hm-buy:hover{ background:#b4dc88; transform:translateY(-2px); box-shadow:0 12px 30px rgba(160,206,111,.4); color:#14240c; }
.hm-band--gold .hm-buy{ box-shadow:0 8px 24px rgba(20,36,12,.25); }
/* each band sits above the next so its curve shows over it */
.hm-band--gold{ z-index:6; } .hm-band--deep{ z-index:5; } .hm-band--cream{ z-index:4; } .hm-band--green{ z-index:2; }
#conference{ scroll-margin-top:76px; }

/* Section headings: section name first, in colour, then the tagline (Dec 1) */
.hm h2.hm-t,.hm-lect h2.hm-t{ margin-top:0; font-size:clamp(42px,5.2vw,67px); line-height:1.08; max-width:18em; text-wrap:balance; }
.hm-n--gold{ color:var(--gold); } .hm-n--mint{ color:var(--mint); } .hm-n--cream{ color:#F4EFE4; } .hm-n--deep{ color:#8A6D1F; }

/* Contact row under the hero */
.hm-touch{ margin-top:-60px; }
@media (max-width:1100px){ .hm-touch{ margin-top:0; } }
.hm-touch__in{ display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; padding:26px 32px; border:1px solid var(--line); border-radius:999px; background:rgba(241,236,224,.04); }
.hm-touch b{ display:block; font-family:var(--display); font-weight:900; font-size:clamp(24px,2.6vw,32px); line-height:1.1; }
.hm-touch span{ display:block; margin-top:6px; color:var(--txt2); font-size:16px; }
@media (max-width:700px){ .hm-touch__in{ border-radius:28px; padding:24px; } }

/* Phones: 4 + 3 category icons, smaller section headings */
@media (max-width:760px){
  .hm-cats{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px 10px; }
  .hm-cats .card{ width:calc((100% - 30px) / 4); gap:8px; }
  .hm-cats .card__img{ border-radius:16px; }
  .hm-cats .card b{ font-size:13px; line-height:1.25; }
  .hm h2.hm-t,.hm-lect h2.hm-t{ font-size:clamp(38px,11.4vw,46px); line-height:1.08; }
}

/* hero buttons: short labels on phones so all three fit one row */
.hm-s{ display:none; }
@media (max-width:640px){
  .hm-hero__cta{ flex-wrap:nowrap; gap:8px; }
  .hm-hero__cta .hm-big{ flex:1 1 auto; justify-content:center; min-height:48px; padding:0 14px; font-size:15px; }
  .hm-hero__cta .hm-l{ display:none; }
  .hm-hero__cta .hm-s{ display:inline; }
}
@media (max-width:640px){
  .hm-hero__cta .hm-big{ flex:0 0 auto; min-height:40px; padding:0 14px; }
}
