/* space.css — everything below the shared shell. Loads after site.css. */

.wrap{position:relative;z-index:2}

.reye{font-family:'Bebas Neue',sans-serif;font-size:19px;letter-spacing:4px;color:#C6902A;text-transform:uppercase;display:inline-flex;align-items:center;gap:12px}
.reye::before{content:"";width:30px;height:2px;background:currentColor}
.head{position:relative;padding:80px 0 34px;overflow:hidden}
.hglow{position:absolute;left:-8%;top:-40%;width:60%;height:150%;background:radial-gradient(ellipse at center,rgba(224,145,47,.15),transparent 62%);pointer-events:none;z-index:0}
.rh1{font-family:'Playfair Display',serif;font-weight:800;font-size:clamp(49.5px,7.9vw,103.5px);line-height:.98;letter-spacing:-1.5px;margin:20px 0 0;color:#F3EBDD;max-width:14ch}
.rh1 em{font-style:italic;color:#E0912F}
.rintro{font-family:'Playfair Display',serif;font-style:italic;font-size:clamp(21.5px,2.7vw,29.5px);line-height:1.55;color:#c9b48d;max-width:34ch;margin:28px 0 0}
.ph{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#241c16,#161109);border:1px solid rgba(198,144,42,.18);border-radius:14px;overflow:hidden;color:#8a7d68}
.ph::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px);background-size:5px 5px;opacity:.5;pointer-events:none}
.ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.bannerscrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#0E0B09,#000);opacity:.3;pointer-events:none}
.ph-chip{position:absolute;top:12px;left:12px;font-family:'Bebas Neue',sans-serif;font-size:12px;letter-spacing:1.5px;padding:4px 9px;border-radius:5px;background:rgba(0,0,0,.45);color:#C6902A;border:1px solid rgba(198,144,42,.3);z-index:2}
.ph-body{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:24px;max-width:88%}
.ph-ic{width:32px;height:32px;opacity:.5}
.ph-cap{font-family:'Bebas Neue',sans-serif;font-size:13.5px;letter-spacing:1.1px;line-height:1.55;color:#9a8c74}
.banner{position:relative;z-index:2;margin-top:8px}
.bannerph{height:340px}
.bannerrim{position:absolute;inset:0;z-index:2;border-radius:14px;background:radial-gradient(110% 90% at 78% 20%,rgba(176,48,138,.26),transparent 48%),radial-gradient(90% 80% at 12% 90%,rgba(224,145,47,.2),transparent 55%);mix-blend-mode:screen;pointer-events:none}
.block{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:64px 0}
.block>*,.incl>*{min-width:0}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:stretch;padding:64px 0}
.duoph{aspect-ratio:auto;min-height:520px}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:20px 0}
.trioph{aspect-ratio:4/5;min-height:300px}
.metarail{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 22px;margin:12px 0;padding:24px 20px;border-top:1px solid rgba(198,144,42,.16);border-bottom:1px solid rgba(198,144,42,.16);font-family:'Bebas Neue',sans-serif;font-size:18px;letter-spacing:2px;text-transform:uppercase;color:#B7A98F;text-align:center}
.metarail b{color:#E0912F;font-weight:400}
.metadot{color:#C6902A;opacity:.65;font-size:12px}
/* .rev here means REVERSED column order — unrelated to home's scroll-reveal,
   which is why home's .rev rules live in home.css and not the shared sheet. */
.block.rev .txt{order:2}
.bh{font-family:'Playfair Display',serif;font-weight:700;font-size:clamp(31.5px,4.1vw,47.5px);line-height:1.06;color:#F3EBDD;margin:14px 0 0}
.bp{font-size:18.5px;line-height:1.78;color:#B7A98F;margin:18px 0 0}
.blab{font-family:'Bebas Neue',sans-serif;font-size:16px;letter-spacing:2.5px;color:#C6902A}
.tall{aspect-ratio:4/5}
.wide{aspect-ratio:5/4}
.quote{position:relative;z-index:2;background:radial-gradient(130% 130% at 50% 0,#1c130d,#0E0B09 62%);color:#F3EBDD;text-align:center;padding:110px 30px;overflow:hidden;border-top:1px solid rgba(198,144,42,.14);border-bottom:1px solid rgba(198,144,42,.14)}
.qglow{position:absolute;left:50%;top:-20%;width:60%;height:130%;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(176,48,138,.22),transparent 60%);pointer-events:none}
.qt{position:relative;font-family:'Playfair Display',serif;font-weight:500;font-style:italic;font-size:clamp(31.5px,5vw,58.5px);line-height:1.24;letter-spacing:-.5px;white-space:nowrap;margin:0 auto;color:#F3EBDD}
.qt b{color:#E0912F;font-weight:600}
.qby{font-family:'Bebas Neue',sans-serif;font-size:17px;letter-spacing:3px;color:#B0308A;margin-top:28px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:70px 0}
.stat{border-top:2px solid rgba(198,144,42,.4);padding-top:18px}
.snum{font-family:'Playfair Display',serif;font-weight:700;font-size:clamp(38.5px,5vw,61px);color:#E0912F;line-height:1}
.slab{font-family:'Bebas Neue',sans-serif;font-size:16px;letter-spacing:2px;color:#B7A98F;margin-top:8px}
.mgap56{height:56px}
.mgap64{height:64px}
.group{padding:30px 0 0}
.gcards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:34px}
.gc{background:#160f0b;border:1px solid rgba(255,255,255,.07);border-radius:16px;overflow:hidden;transition:transform .2s,border-color .2s}
.gc:hover{transform:translateY(-4px);border-color:rgba(198,144,42,.4)}
.gcph{aspect-ratio:3/2;border:0;border-radius:0}
.gcb{padding:20px 22px 24px}
.gcdot{width:11px;height:11px;border-radius:50%;display:inline-block;margin-right:9px}
.gcname{font-family:'Playfair Display',serif;font-weight:700;font-size:27px;color:#F3EBDD}
.gcd{font-size:15px;line-height:1.6;color:#B7A98F;margin-top:8px}
.gc.here{background:linear-gradient(160deg,#221812,#150e09);border-color:rgba(224,145,47,.45)}
.gc.here .gcname{color:#E0912F}
.rfoot{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:64px 30px}
.rpun{font-family:'Playfair Display',serif;font-style:italic;font-size:22.5px;color:#C6902A}
.backlink{display:inline-flex;align-items:center;gap:9px;font-family:'Bebas Neue',sans-serif;font-size:20.5px;letter-spacing:1.6px;color:#E0912F;text-decoration:none}

/* ── what comes with the space (transferred from events) ── */
.sec{position:relative;z-index:2;padding:80px 0}
.eyebrow{font-family:'Bebas Neue',sans-serif;font-size:18px;letter-spacing:3px;color:#B0308A;text-transform:uppercase;display:inline-flex;align-items:center;gap:11px}
.eyebrow.g{color:#C6902A}
.eyebrow::before{content:"";width:26px;height:2px;background:currentColor;display:block}
.h2{font-family:'Playfair Display',serif;font-weight:700;font-size:clamp(36px,5vw,58.5px);line-height:1.03;letter-spacing:-.5px;margin:16px 0 0;color:#F3EBDD}
.lead{font-size:18.5px;line-height:1.7;color:#B7A98F;max-width:560px;margin:16px 0 0}
.incl{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.spec{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.specic{width:40px;height:40px;flex:none;border-radius:10px;background:rgba(224,145,47,.12);color:#E0912F;display:flex;align-items:center;justify-content:center}
.specic svg{width:20px;height:20px}
.spect{font-family:'Bebas Neue',sans-serif;font-size:20.5px;letter-spacing:1px;color:#F3EBDD}
.specd{font-size:16px;line-height:1.55;color:#B7A98F;margin-top:3px}

@media(max-width:820px){
.block,.stats,.gcards,.duo,.incl,.trio{grid-template-columns:1fr}
.duoph{min-height:340px}
.block.rev .txt{order:0}
.bannerph{height:240px}
.qt{white-space:normal;font-size:clamp(27px,7.2vw,38.5px);max-width:20ch}

/* ── iPhone-view tweaks (mobile only; desktop untouched) ── */
/* Pull "where the cats play" up closer to the sticky nav (was ~100px below). */
.head{padding-top:28px}
/* Story block: tighter above "Cattery started", between the last paragraph and
   the image, and below the image (before the meta rail). Scoped to :not(.rev)
   so the shelf block below is unaffected. */
.block:not(.rev){padding:30px 0 24px;gap:22px}
/* Story image → 4:3, crop shifted right (override the inline min-height:440). */
.block:not(.rev) .ph.wide{aspect-ratio:4/3;min-height:0!important}
.block:not(.rev) .ph.wide .ph-img{object-position:75% 50%}
/* Meta rail ("35 seats") — a little space above it, tight below. */
.metarail{margin:16px 0 6px}
/* Shelf block on a phone: single column, stacked as heading → image → paragraphs.
   "the shelf remembers everyone" sits on top (one flowing line, .w spans inline),
   then a wide 2:1 image zoomed onto the shelf itself, then the two paragraphs.
   display:contents lifts the heading + paragraphs out of .txt so the image (their
   sibling) can be ordered between them. */
.block.rev{padding:30px 0 26px;grid-template-columns:1fr;gap:18px}
.block.rev .txt{display:contents}
.block.rev .bh{order:1;margin:0;font-size:26px;line-height:1.14}
.block.rev .bh .w{display:inline}
.block.rev .ph.wide{order:2;aspect-ratio:2/1;min-height:0!important}
.block.rev .ph.wide .ph-img{object-position:85% 44%;transform:scale(1.9);transform-origin:85% 44%}
.block.rev .bp{order:3}
/* Trio images (polaroid, postits+stained-glass, drinks) → 4:3 crops; they stack
   full-width on a phone. Zero the top pad so the polaroid sits close under the
   shelf paragraphs. */
/* Trio: no pad above (polaroid sits close under the shelf paragraphs) and a
   trim below (drinks image sits closer to the quote). */
.trio{padding:0 0 8px}
.trioph{aspect-ratio:4/3;min-height:0}
/* Shrink the two big vertical spacers on a phone (were 56/64) to small ones:
   below the trio (before the quote) and above the Fat Cat Group eyebrow. */
.mgap56{height:22px}
.mgap64{height:44px}
/* Small space above the "THE FAT CAT GROUP" eyebrow. */
.group{padding-top:10px}
/* Fat Cat Group cards on a phone: each card becomes 2 columns —
   col 1 the picture, col 2 the name (row 1) over the description (row 2).
   gcph drops its 3:2 ratio so it stretches to the card's full height and the
   cover image fills the left column. */
.gc{display:grid;grid-template-columns:118px 1fr;align-items:stretch}
.gcph{aspect-ratio:auto}
.gcb{padding:14px 16px;align-self:center}
.gcname{font-size:22px}
.gcd{margin-top:6px}
/* Quote "a room that grows…" — tighter above and below (was 110px on mobile). */
.quote{padding:44px 24px}
}
