/* Foundry JR design-test pass, Nov 10 2026. Test copy only. Not live.
   Applies Joshua's Part 2 prompt plus the preview-kit treatment:
   frosted-glass gradient, no hard section seams, 128/80 gaps,
   hero photo the same height as the text card. */

:root{
  --ink-rgb:31,29,26;
  --accent-rgb:184,67,26;
  --green-rgb:47,91,58;
  --paper-rgb:250,248,243;
}

/* Continuous soft gradient — no flat section slabs, no hard seams. */
body.design-test{background:#f6f1e7;position:relative}
body.design-test::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(60rem 40rem at 8% -5%,rgba(184,67,26,.18),transparent 60%),
    radial-gradient(50rem 38rem at 100% 18%,rgba(47,91,58,.16),transparent 62%),
    radial-gradient(46rem 34rem at 50% 85%,rgba(184,67,26,.07),transparent 60%),
    linear-gradient(180deg,#fbf7ef 0%,#f3ece0 100%)}
body.design-test section,
body.design-test section.alt,
body.design-test .hero{background:transparent;border:0;border-bottom:0}
body.design-test header.top{background:rgba(251,247,239,.72);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);border-bottom:1px solid rgba(255,255,255,.7)}

/* Equal section gaps, tightened at Joshua's 3:36 PM ET request to make the page shorter:
   96px desktop (48 + 48) and 64px phone (32 + 32). Skill default is 128 / 80.
   Gaps stay even; section backgrounds stay continuous. Hero padding keeps the phone fold. */
body.design-test .hero{padding:26px 0 48px}
body.design-test main > section{padding:48px 0}
body.design-test #start{padding:48px 0 64px}
@media(max-width:759px){
  body.design-test .hero{padding:14px 0 32px}
  body.design-test main > section{padding:32px 0}
  body.design-test #start{padding:32px 0 72px}
}

/* Override leftover homepage padding/seam rules. */
body.home.design-test section{padding:48px 0}
body.home.design-test .hero{padding:26px 0 48px;background:transparent;border-bottom:0}
body.home.design-test .tband{background:transparent;color:inherit;padding:48px 0}
@media(max-width:759px){
  body.home.design-test section,
  body.home.design-test .tband{padding:32px 0}
  body.home.design-test .hero{padding:14px 0 32px}
}

/* Frosted glass panels */
body.design-test .glass,
body.design-test .card,
body.design-test .person,
body.design-test .panel,
body.design-test details,
body.design-test .home-audio,
body.design-test .tband-in,
body.design-test .ba-ex,
body.design-test .offer-199{
  background:linear-gradient(145deg,rgba(255,255,255,.80),rgba(250,248,243,.66));
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 30px 60px -28px rgba(184,67,26,.18),0 6px 18px rgba(31,29,26,.07);
  border-radius:20px
}
body.design-test details{padding:.25rem 1.1rem;margin:.6rem 0}

/* Why-Foundry row: glass, not a dark strip (avoids a hard seam). */
body.home.design-test .tband .tband-in{padding:1.35rem 1.25rem}
body.home.design-test .tband b{color:var(--ink)}
body.home.design-test .tband li>div>span{color:var(--ink2)}
body.home.design-test .tband .ico{background:rgba(184,67,26,.12);color:var(--accent-d)}

/* Hero: text card left, photo right, same height, drop 18px down / 14px right.
   Photo + drop run 2px longer than the card. Nothing pokes out above. */
.hero-split{display:grid;grid-template-columns:1fr;gap:1.25rem;align-items:stretch}
.hero-card{padding:28px 26px;position:relative;z-index:1}
.hero-card .lead.proof{font-size:1.15rem;color:var(--ink);max-width:34rem;margin:.2rem 0 0}
.hero-cta{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin:1.15rem 0 0}
.hero-cta .btn{min-height:52px}
.hero-contact{margin:1rem 0 0;font-size:1rem;line-height:1.45;color:var(--ink2)}
.hero-photo{position:relative;min-height:0}
.hero-photo-frame{position:relative;width:100%}
.hero-photo-frame::before{content:"";position:absolute;top:18px;left:14px;right:-14px;bottom:0;border-radius:26px;background:linear-gradient(135deg,rgba(31,29,26,.82),rgba(31,29,26,.95));z-index:0}
.hero-photo-frame img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:center 18%;border-radius:24px;border:1px solid rgba(255,255,255,.6);box-shadow:0 30px 70px -20px rgba(31,29,26,.45)}
@media(min-width:900px){
  .hero-split{grid-template-columns:1.15fr 1fr;gap:3rem;align-items:stretch}
  .hero-photo-frame{position:absolute;top:0;left:0;right:0;height:calc(100% + 2px)}
}
/* Phone: photo on top as a short strip so the headline, proof, and primary button clear 390x664. */
@media(max-width:899px){
  .hero-split{display:flex;flex-direction:column}
  .hero-photo{order:-1}
  .hero-photo-frame{height:80px}
  .hero-photo-frame::before{top:10px;left:6px;right:-6px;border-radius:18px}
  .hero-photo-frame img{border-radius:18px}
  .hero-card{padding:22px 18px;border-radius:22px}
  body.design-test .hero{margin-bottom:13px}
}

/* Hero logo panel (homepage): existing Foundry JR mark + wordmark, no new brand.
   Desktop: panel matches the text card, tops and bottoms aligned, soft gradient,
   backdrop clipped so it ends at the card bottom. No gap or seam.
   Phone: a complete, compact logo block (not a cropped strip). */
.hero-logo{position:relative;min-height:0;align-self:stretch}
.hero-logo-frame{position:relative;width:100%;height:100%;border-radius:24px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(80% 70% at 18% 20%,rgba(184,67,26,.16),transparent 62%),radial-gradient(70% 60% at 92% 88%,rgba(47,91,58,.14),transparent 64%),linear-gradient(160deg,#fbf7ef 0%,#efe4d2 55%,#e7d7c2 100%);border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 30px 70px -24px rgba(31,29,26,.4)}
.hero-logo-lockup{display:flex;flex-direction:column;align-items:center;gap:1.15rem;position:relative;z-index:1}
.hero-logo-lockup svg{width:11.5rem;height:11.5rem;display:block;filter:drop-shadow(0 16px 28px rgba(31,29,26,.28))}
.hero-logo-word{margin:0;font-weight:800;font-size:2.35rem;letter-spacing:.01em;line-height:1;color:var(--ink)}
@media(min-width:900px){
  .hero-logo-frame{position:absolute;inset:0;height:auto}
}
@media(max-width:899px){
  .hero-logo{order:-1}
  .hero-logo-frame{height:148px;border-radius:18px}
  .hero-logo-lockup{flex-direction:row;gap:.85rem}
  .hero-logo-lockup svg{width:4.75rem;height:4.75rem;filter:drop-shadow(0 10px 16px rgba(31,29,26,.22))}
  .hero-logo-word{font-size:1.85rem}
}

/* Short phones only: shrink the homepage hero logo and tighten spacing so both
   hero buttons sit fully above the sticky call bar at 390x664. 390x844 and
   desktop keep the existing layout. */
@media (max-width:899px) and (max-height:840px){
  body.home .hero-logo-frame{height:48px;border-radius:14px}
  body.home .hero-logo-lockup{gap:.4rem}
  body.home .hero-logo-lockup svg{width:2.1rem;height:2.1rem;filter:drop-shadow(0 6px 10px rgba(31,29,26,.18))}
  body.home .hero-logo-word{font-size:1.25rem}
  body.home .hero-split{gap:.5rem}
  body.home .hero-card{padding:10px 18px}
  body.home .hero-cta{margin-top:.4rem;gap:.45rem}
  body.home .hero-cta .btn{min-height:48px}
  body.home.design-test .hero{padding:8px 0 32px}
  body.home h1{margin-bottom:.45rem}
}

/* Sticky call/text bar: mobile only, stays on while scrolling, sits at the bottom so it never covers the hero photo. */
.callbar{position:fixed;left:0;right:0;bottom:0;padding:.55rem 1rem calc(.55rem + env(safe-area-inset-bottom));background:rgba(251,247,239,.92);-webkit-backdrop-filter:blur(12px) saturate(1.2);backdrop-filter:blur(12px) saturate(1.2);border-top:1px solid rgba(255,255,255,.8);box-shadow:0 -4px 12px rgba(31,29,26,.08);display:flex;justify-content:center;z-index:40}
.callbar .btn{width:100%;max-width:26rem;min-height:48px}
@media(min-width:760px){.callbar{display:none}}
@media(max-width:759px){
  body.has-callbar{padding-bottom:5.25rem}
  body.has-callbar footer.site{padding-bottom:1.25rem}
}

/* Before/after: visual side-by-side panels, "what changed" list under each. */
.ba-list{display:grid;gap:1.25rem;margin-top:1.15rem}
.ba-ex{padding:1.1rem 1rem 1.15rem;margin:0}
.ba-ex > h3{margin:0 0 .75rem;font-size:1.15rem}
.ba-ex > h3 span{display:block;font-size:.92rem;font-weight:600;color:var(--ink2);margin-top:.2rem}
.ba-ex .pair{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;align-items:start;margin:0}
.ba-ex .pf{width:100%;max-width:none}
.ba-ex .bawhy{margin-top:.9rem}
.ba-ex .bawhy .why{margin-top:0}
.ba-ex .note{margin:.65rem 0 0}
@media(max-width:759px){
  .ba-ex{padding:.85rem .65rem 1rem}
  .ba-ex .pf{font-size:.62rem;border-width:5px;border-radius:16px}
  .ba-ex .pf .scr{min-height:0;padding:.5rem .45rem .65rem;gap:.32rem}
  .ba-ex .pf .mh{font-size:.72rem}
  .ba-ex .pf .ms{font-size:.68rem}
  .ba-ex .pf .mbtn.go{font-size:.66rem;padding:.45rem .3rem}
  .ba-ex .pf .mbtn.dull,.ba-ex .pf .mbtn.none{font-size:.62rem;padding:.35rem .35rem}
  .ba-ex .pf .ph{min-height:3.4rem;font-size:.62rem}
  .ba-ex .pf .mnote{font-size:.6rem}
  .ba-ex .pf .mtrust{font-size:.62rem}
  .ba-ex .pf .mb{font-size:.66rem}
}
@media(min-width:760px){
  .ba-ex{padding:1.35rem 1.35rem 1.4rem}
  .ba-ex .pair{gap:1.25rem}
}

/* Balanced founder cards */
body.home.design-test .team{align-items:stretch;gap:1.25rem}
body.home.design-test .person{height:100%;padding:1.25rem}
body.home.design-test .person .phead{display:flex;gap:.85rem;align-items:center}
body.home.design-test .person .prole{margin:0;color:var(--ink2);font-weight:600}
body.home.design-test .person .pmail{margin:.15rem 0 0}
body.home.design-test .honesty{margin-top:1.25rem}

/* Closing get-started band */
.start-actions{display:grid;gap:1.25rem;margin-top:1.15rem}
@media(min-width:900px){.start-actions{grid-template-columns:1.2fr .8fr;gap:1.75rem;align-items:start}}
/* Filled slot: no dashed placeholder, no new band. Carousel lines up with wrap edges. */
.start-tpl-slot{margin-top:2rem;background:transparent;border:0;min-height:0;display:block;padding:0}
.start-tpl-slot .tpl-carousel{margin:0}
/* Our templates now sits in its own section above Before and after; keep even section padding, no extra slot margins. */
#example-templates .tpl-carousel{margin:0}

/* Shared $199 offer card */
.offer-199{padding:1.35rem 1.35rem 1.45rem}
.offer-199 .btn.buy{margin-top:1rem}
.offer-199 .alt-link{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:.4rem;font-weight:700;text-align:center}

/* Guide section buy button */
#diy-guide .btn{margin-top:1rem}

/* Hover: 2px lift on linked cards/buttons, no tilt or parallax. */
body.design-test .btn{transition:transform .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}
body.design-test .btn:hover{transform:translateY(-2px)}
body.design-test .btn:active{transform:translateY(1px)}
body.design-test a.card:hover,
body.design-test .card.feature{transition:transform .15s ease}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  body.design-test .glass,body.design-test .card,body.design-test .person,body.design-test .panel,body.design-test .offer-199,body.design-test .tband-in{background:rgba(255,255,255,.94)}
}


/* Kill leftover homepage hero3 named-area placement if any class remains. */
body.home.design-test .hero-split{display:grid;grid-template-columns:1fr;grid-template-areas:none;gap:1.25rem}
body.home.design-test .hero-card{grid-area:auto}
@media(min-width:900px){body.home.design-test .hero-split{grid-template-columns:1.15fr 1fr;gap:3rem}}

/* Real shop samples: compact 2-up row (not a tall stacked section). 16:9 images on all widths. */
.real-samples{margin-top:1.75rem}
.real-samples h3{margin:0 0 .35rem;font-size:1.15rem}
.real-samples > p{margin:0 0 1rem;color:var(--ink2);max-width:40rem}
.real-samples-grid{display:grid;gap:1rem}
@media(min-width:700px){.real-samples-grid{grid-template-columns:1fr 1fr;gap:1.25rem}}
.real-samples-grid figure{margin:0}
.real-samples-grid .pt{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:0 0 .35rem}
.real-samples-grid img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(31,29,26,.08);background:var(--soft)}
.real-samples-grid figcaption{margin-top:.45rem;font-size:.9rem}
.real-samples .fine{margin:.85rem 0 0}

/* Who I work with: kept, folded into the team section so it does not add a new band. */
.who-inline{margin-top:1.35rem}
.who-inline h3{margin:0 0 .5rem;font-size:1.15rem}
.who-inline .tstrip{margin:0 0 .7rem}
.who-inline > p{margin:0;color:var(--ink2);max-width:44rem}

/* Tighter footer; the sticky call bar already adds phone space. */
body.design-test footer.site{padding:2rem 0 2.25rem}
@media(max-width:759px){body.design-test footer.site{padding:1.5rem 0 1.25rem}}
