/* Libre mockups: one template for all three guide pages.
   Each page picks its colors with <body class="guide mandril|goat|armadillo">,
   using only that guide's colors from Dennis's palette. */
.guide{--bg:var(--night);--fg:var(--chalk);--band:var(--marigold);--band-fg:var(--night);--tint:rgba(7,140,203,.24);--h1:24cqi}
.guide.goat{--bg:var(--papaya);--fg:var(--night);--band:var(--seaglass);--band-fg:var(--night);--h1:16cqi}
.guide.armadillo{--bg:var(--lagoon);--fg:var(--night);--band:var(--violet);--band-fg:var(--chalk);--h1:16cqi}

/* ---------- hero: the whole first screen is the guide's color ---------- */
.g-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--bg);color:var(--fg)}
.g-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"switch art" "copy art";
  column-gap:clamp(20px,4vw,64px);padding:clamp(4px,1vw,12px) var(--gutter) clamp(36px,5vw,72px);min-height:clamp(540px,calc(100svh - 82px),860px)}

/* move between guides without scrolling */
.switch{grid-area:switch;display:flex;flex-wrap:wrap;gap:8px;align-self:start}
.switch a{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border-radius:999px;border:2px solid transparent;font-weight:700;font-size:14px;line-height:1;white-space:nowrap}
.switch a:hover,.switch a[aria-current="page"]{border-color:currentColor}
.switch .pip{width:16px;height:16px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px var(--chalk)}

.g-copy{grid-area:copy;align-self:center;container-type:inline-size;padding-top:clamp(24px,4vw,48px)}
.g-copy h1{font-size:clamp(54px,var(--h1),176px);margin:12px 0 0 -.03em}
.g-copy .line{font-family:var(--display);font-weight:800;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:clamp(26px,3.2vw,48px);line-height:1.04;letter-spacing:-.01em;margin-top:clamp(12px,1.6vw,20px);text-wrap:balance}
.g-copy .intro{font-size:clamp(17px,1.4vw,20px);line-height:1.5;font-weight:500;max-width:34ch;margin-top:clamp(14px,1.8vw,22px)}
.g-copy .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(20px,2.6vw,32px)}
.btn.fg{background:var(--fg);color:var(--bg);border-color:var(--fg)}

.g-art{grid-area:art;position:relative;display:grid;place-items:center;min-height:0}
.g-art img{position:relative;height:min(62svh,600px);width:auto;max-width:100%;object-fit:contain}

/* Mandril: his own sunburst, turning slowly */
.guide.mandril .g-art::before{content:"";position:absolute;z-index:-1;left:50%;top:46%;width:260vmax;aspect-ratio:1/1;border-radius:50%;transform:translate(-50%,-50%);
  background:repeating-conic-gradient(from 3deg,var(--tint) 0deg 6deg,transparent 6deg 18deg);animation:sun 200s linear infinite;pointer-events:none}
@keyframes sun{to{transform:translate(-50%,-50%) rotate(360deg)}}
.guide.mandril .g-art img{transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.guide.mandril .g-art:hover img{transform:rotate(-3deg) scale(1.03)}

/* Mountain Goat: its peaks drift behind the whole hero (the scene is in shared.css) */

/* Armadillo: a West Texas horizon across the foot of the hero, tumbleweeds rolling along it (shared.css),
   and a slow rock, because it rolls with it. The scene hangs off the art, stretched to the hero's edges. */
.guide.armadillo .g-art{align-items:end}
.guide.armadillo .g-art img{object-position:50% 100%}
.guide.armadillo .g-art .scene{left:calc(100% + var(--gutter) - 100vw);right:calc(-1 * var(--gutter));bottom:calc(-1 * clamp(36px,5vw,72px));
  --k:1.2;--ground:calc(clamp(36px,5vw,72px) - 8px);--run:1700px;--t:77s}
@media (min-width:1400px){.guide.armadillo .g-art .scene{--run:2400px;--t:109s}}
.guide.armadillo .g-art .scene i:first-child{--rest:26cqi}
.guide.armadillo .g-art img{transform-origin:50% 85%;animation:rock 4.5s ease-in-out infinite alternate}
@keyframes rock{from{transform:translateX(-10px) rotate(-5deg)}to{transform:translateX(10px) rotate(5deg)}}

/* ---------- the guide's way: who it is, never when to wear it ---------- */
.g-way{background:var(--band);color:var(--band-fg);padding:clamp(56px,8vw,112px) var(--gutter);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px clamp(24px,5vw,80px);align-items:end}
.g-way .lab{font-weight:700;font-size:clamp(17px,1.5vw,21px);margin-bottom:12px}
.g-way h2{font-size:clamp(46px,6.6vw,108px)}
.g-way p:not(.lab){font-size:clamp(17px,1.45vw,20px);line-height:1.5;font-weight:500;max-width:36ch}

/* ---------- the hat: the Mandril rope hat ---------- */
.g-wear{background:var(--chalk);padding:clamp(56px,8vw,112px) var(--gutter)}
.g-wear > h2{font-size:clamp(38px,5.4vw,72px);margin-bottom:clamp(24px,3vw,40px)}
.buy{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,64px);align-items:start}
.stage{margin:0;border-radius:28px;overflow:hidden;aspect-ratio:1/1;display:grid;place-items:center;background:var(--tile-navy);transition:background-color .3s}
.stage.olive{background:var(--tile-olive)}
.stage img{width:100%;height:100%;object-fit:contain;padding:7%;transition:opacity .16s}
.stage.real img{object-fit:cover;padding:0}
.thumbs{display:flex;gap:12px;margin-top:12px}
.thumb{width:clamp(64px,7vw,92px);aspect-ratio:1/1;border-radius:16px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--tile-navy);cursor:pointer}
.thumb.olive{background:var(--tile-olive)}
.thumb img{width:100%;height:100%;object-fit:contain;padding:8%}
.thumb.real img{object-fit:cover;padding:0}
.thumb[aria-pressed="true"]{border-color:var(--night)}
.thumb:focus-visible,.sw:focus-visible{outline:3px solid var(--night);outline-offset:3px}
.info{display:flex;flex-direction:column;align-items:flex-start;gap:18px;position:sticky;top:24px;padding-top:6px}
.info h3{font-size:clamp(32px,3.4vw,52px)}
.status{font-size:clamp(17px,1.45vw,20px);line-height:1.5;font-weight:600;max-width:32ch}
.label{font-weight:700;font-size:15px}
.label span{font-weight:500}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.sw{display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px;border:2px solid transparent;background:rgba(20,52,93,.07);font:600 15px var(--body);color:var(--night);cursor:pointer}
.sw[aria-checked="true"]{border-color:var(--night);background:var(--chalk)}
.chip{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,var(--a) 0 56%,var(--b) 56% 100%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.info .notify{margin-top:0;width:100%}
.info .consent{margin-top:-10px}
.info .thanks{margin-top:0}
.fine{font-size:15px;line-height:1.5;opacity:.8;max-width:34ch}

/* ---------- the hat: not made yet, so take a heads-up ---------- */
.g-wear.soon{background:var(--canvas)}
.soon-in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,5vw,80px);align-items:center}
.soon-art{position:relative;width:min(100%,420px);justify-self:center}
.soon-art .disc{width:100%;background:var(--bg)}
.soon-art .disc img{width:70%;height:70%}
.soon-art .disc img[src*="goat"]{width:86%;height:86%}
.badge{position:absolute;right:-6%;top:2%;width:38%;aspect-ratio:1/1;border-radius:50%;background:var(--band);color:var(--band-fg);display:grid;place-items:center;text-align:center;padding:12px;
  font-family:var(--display);font-weight:900;font-variation-settings:"SOFT" 100,"WONK" 1;font-size:clamp(16px,1.7vw,24px);line-height:1;transform:rotate(12deg)}
.soon-copy h2{font-size:clamp(40px,5.2vw,76px)}
.soon-copy > h2 + p{font-size:clamp(17px,1.45vw,20px);line-height:1.5;max-width:38ch;margin-top:18px}
.soon-copy .go{margin-top:24px}

/* ---------- the other two guides ---------- */
.g-others{background:var(--chalk);padding:clamp(56px,8vw,112px) var(--gutter)}
.guide.mandril .g-others{border-top:2px solid rgba(20,52,93,.08)}
.g-others h2{font-size:clamp(38px,5.4vw,72px);margin-bottom:clamp(24px,3vw,40px)}
.others2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.8vw,24px)}
.card{background:var(--c);color:var(--cf);border-radius:28px;padding:clamp(20px,2.6vw,36px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,28px);
  min-height:clamp(220px,24vw,320px);overflow:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.card:hover{transform:translateY(-4px) rotate(-.8deg)}
.card:focus-visible{outline:3px solid var(--night);outline-offset:3px}
.card .art{display:grid;place-items:center}
.card .art img{max-height:clamp(150px,18vw,250px);width:auto;max-width:100%;object-fit:contain}
.card h3{font-size:clamp(28px,3vw,44px)}
.card p{font-size:clamp(16px,1.4vw,19px);font-weight:700;margin-top:8px}
.card .go{margin-top:16px}

/* ---------- phones ---------- */
@media (max-width:760px){
  .g-hero-in{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"switch" "art" "copy";min-height:0;padding-bottom:44px}
  .switch{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter);gap:6px}
  .switch::-webkit-scrollbar{display:none}
  .switch a{font-size:13px;gap:6px;padding:6px 11px 6px 6px}
  .switch .pip{width:14px;height:14px}
  .g-art{padding:22px 0 4px}
  .g-art img{height:min(36svh,320px)}
  .guide.goat .peaks{--lift:1.35}
  .guide.armadillo .g-art .scene{left:calc(-1 * var(--gutter));bottom:0;--k:.8;--ground:0px;--run:1100px;--t:50s}
  .guide.armadillo .g-art .scene i:first-child{--rest:3cqi}
  .g-copy{padding-top:14px}
  .g-way{grid-template-columns:1fr}
  .buy{grid-template-columns:1fr}
  .info{position:static}
  .soon-in{grid-template-columns:1fr}
  .soon-art{width:min(78%,320px)}
  .others2{grid-template-columns:1fr}
  .card{min-height:0}
}
