/* TYPE ME H5 Lite homepage visual pass: preserves quiz interactions */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');
:root{--tm-dark:#151b17;--tm-lime:#d6fc4b;--tm-light:#f7f6f2}
body{background:#f7f6f2;color:#181e19;font-family:"Space Grotesk","Noto Sans SC",system-ui,sans-serif}
.shell{max-width:1440px;width:100%;padding:0 3% 56px}
.topbar{background:#fdfdf9;min-height:72px;padding:9px 18px;border-bottom:1px solid #e3e5df;border-radius:0}
.brand{font-family:"Space Grotesk",sans-serif;font-size:29px!important;font-weight:900!important;letter-spacing:-.09em!important}
.top-actions .top-link{font-size:12px;font-weight:800}
#homePage .home-hero{padding:0;margin-top:18px;display:grid;grid-template-columns:52% 48%;min-height:480px;background:var(--tm-dark);border-radius:0;overflow:hidden;gap:0}
#homePage .hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:60px 30px 62px 6%;color:#fff;grid-column:1;min-width:0}
#homePage .hero-copy .eyebrow{font-size:11px;letter-spacing:.21em;color:var(--tm-lime);font-weight:800}
#homePage .hero-copy h1{font-size:clamp(44px,5.6vw,87px);letter-spacing:-.09em;line-height:1.07;color:#f5f6ed;margin:20px 0 18px;font-family:"Space Grotesk","Noto Sans SC",sans-serif;max-width:100%}
#homePage .hero-copy h1:after{content:" / MY TYPE";font-family:"Space Grotesk",sans-serif;display:block;font-size:clamp(16px,2.4vw,30px);letter-spacing:-.04em;color:var(--tm-lime);margin-top:14px}
#homePage .hero-copy .sub{max-width:450px;color:#d2d8cf;font-size:14px;line-height:1.9}
#homePage .hero-copy .meta-row{margin:18px 0 24px}
#homePage .hero-copy .meta-chip{background:transparent;color:#dde5d6;border:1px solid #6a776a;font-size:11px}
#homePage .hero-copy .micro{color:#bbc4b8;font-size:11px;margin-top:18px}
#homePage .hero-visual{display:block;grid-column:2;grid-row:1;aspect-ratio:auto;min-height:480px;height:100%;border:0;border-radius:0;margin:0;background:#697d66 url('media/lite/tee-campus.webp') center 48%/cover no-repeat}
#homePage .hero-visual img{opacity:0!important;pointer-events:none}
#homePage .hero-visual:after{content:"TYPE ME / CAMPUS UNIFORM";font-family:"Space Grotesk",sans-serif;position:absolute;left:16px;bottom:19px;background:#d6fc4b;color:#162113;font-size:10px;font-weight:800;letter-spacing:.12em;padding:12px 13px;border-radius:0;max-width:80%;line-height:1.3}
#homePage .hero-copy .lite-home-entry{display:flex;gap:14px;align-items:center;margin-top:0}
#homePage .hero-copy .primary-btn{margin:0;min-height:51px;background:var(--tm-lime);color:#101610;border:0;border-radius:2px;box-shadow:none;padding:13px 21px;font-size:14px;white-space:nowrap}
#homePage .hero-copy .primary-btn:hover:not(:disabled){background:#eefca1;transform:none}
#homePage .hero-copy .lite-shop-btn{min-height:51px;background:transparent;color:#fafbf3;border-color:#879388;border-radius:2px;padding:13px 19px;white-space:nowrap;font-size:13px}
#homePage .hero-copy .lite-shop-btn:hover{background:#2b372d}
#homePage .lite-home-limited{padding:74px 0 55px;margin-top:0}
#homePage .lite-home-title h2{font-family:"Space Grotesk","Noto Sans SC",sans-serif;font-size:clamp(26px,3.5vw,46px);letter-spacing:-.06em;line-height:1.2;margin:12px 0 9px}
#homePage .lite-home-title p{font-size:13px}
#homePage .lite-home-title>a{font-weight:800;color:#344c37;padding-bottom:5px}
#homePage .lite-home-cards{gap:22px}
#homePage .lite-home-card{border:0;border-radius:0;display:grid;grid-template-columns:52% 48%;background:#e5e9de;min-height:282px}
#homePage .lite-card-photo{min-height:282px;background:#e4e9de}
#homePage .lite-card-photo img{object-fit:cover}
#homePage .lite-card-text{padding:22px}
#homePage .lite-card-text b{font-size:clamp(14px,1.5vw,21px);line-height:1.5}
#homePage .lite-card-text strong{font-family:"Space Grotesk",sans-serif;font-size:clamp(22px,2.7vw,34px);letter-spacing:-.07em}
#homePage .lite-card-text small{font-size:11px}
#homePage .lite-home-card:last-child .lite-card-photo{background:linear-gradient(145deg,#788c79,#263a2d)}
#homePage .lite-home-card:last-child .lite-fallback{color:#e7fdc9;font-size:16px;bottom:22px;left:16px;max-width:100px;line-height:1.2}
#homePage .lite-categories{display:flex;background:#e3ebd8;padding:22px 28px;margin-bottom:28px}
#homePage .lite-categories a{text-decoration:none;font-weight:800}
#homePage .personality-preview-section{padding-top:65px;border-top:1px solid #dfe2d8}
#homePage .personality-preview-section h2{font-size:clamp(28px,3.2vw,41px);letter-spacing:-.05em}
#homePage .home-dorm-banner{margin-top:36px;border-radius:0}
#homePage .preview-card{border-radius:2px}
#resultPage .lite-result-reco{border-top:1px solid #e0e3d6;padding:32px 0 40px}
#resultPage .lite-reco-pills a{background:#e4edda;border-radius:2px;font-weight:800}
@media(max-width:760px){
.shell{padding:0 0 45px}
.topbar{padding:7px 16px;min-height:63px}
.brand{font-size:24px!important}
.top-actions .top-link{font-size:11px}
#homePage .home-hero{margin-top:0;display:flex;flex-direction:column;min-height:auto}
#homePage .hero-copy{padding:44px 22px 40px;display:flex}
#homePage .hero-copy h1{font-size:clamp(43px,11vw,66px);margin:18px 0 16px}
#homePage .hero-copy .sub{font-size:13px}
#homePage .hero-copy .meta-row{margin:12px 0 22px}
#homePage .hero-copy .lite-home-entry{width:100%;gap:8px;display:flex;flex-direction:row}
#homePage .hero-copy .primary-btn,#homePage .hero-copy .lite-shop-btn{flex:1;min-width:0;font-size:12px!important;min-height:49px;justify-content:center;padding:12px 8px}
#homePage .hero-visual{min-height:340px;height:340px;grid-column:auto;grid-row:auto;background-position:center 40%;margin:0}
#homePage .lite-home-limited{padding:54px 15px 46px}
#homePage .lite-home-title{align-items:start}
#homePage .lite-home-title h2{font-size:30px}
#homePage .lite-home-title>a{font-size:11px;line-height:1.4}
#homePage .lite-home-cards{gap:10px}
#homePage .lite-home-card{display:block;min-height:0}
#homePage .lite-card-photo{display:block;min-height:0;aspect-ratio:4/5}
#homePage .lite-card-text{padding:14px;gap:6px}
#homePage .lite-card-text b{font-size:13px}
#homePage .lite-card-text strong{font-size:23px}
#homePage .lite-card-text small{font-size:10px}
#homePage .lite-categories{padding:20px 17px}
#homePage .personality-preview-section{padding:50px 15px 25px}
#homePage .outcome-band,#homePage .home-dorm-banner{margin-left:15px;margin-right:15px}
#homePage .home-dorm-banner{min-height:300px}
#homePage .section-heading{flex-wrap:wrap}
#homePage .preview-grid{gap:12px}
#resultPage .lite-result-reco{padding-left:16px;padding-right:16px}
}
/* Grid safety: never let intrinsic image dimensions overflow on narrow devices. */
#homePage .lite-home-cards{width:100%;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
#homePage .lite-home-card{min-width:0;max-width:100%;width:100%;overflow:hidden}
#homePage .lite-card-photo{position:relative;overflow:hidden;min-width:0;width:100%}
#homePage .lite-card-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
#homePage .lite-card-text{min-width:0;max-width:100%;overflow:hidden}
#homePage .lite-card-text b,#homePage .lite-card-text small{overflow-wrap:anywhere;word-break:normal}
#homePage .lite-categories{min-width:0}
@media(max-width:760px){
#homePage .lite-home-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-width:100%}
#homePage .lite-home-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-width:0!important;width:100%;max-width:100%}
#homePage .lite-card-photo{display:block!important;flex:0 0 auto;aspect-ratio:4/5!important;min-height:0!important;height:auto!important}
#homePage .lite-card-text{display:flex;flex-direction:column;gap:5px;padding:12px 8px;align-items:flex-start}
#homePage .lite-card-text strong{font-size:22px}
#homePage .lite-categories{display:flex;gap:12px;flex-wrap:wrap}
#homePage .lite-categories span{flex-basis:100%;width:100%}
#homePage .lite-categories a{font-size:12px}
#homePage .preview-grid-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Final homepage polish. */
#homePage .lite-home-card,#homePage .lite-home-card *{text-decoration:none!important}
#homePage .lite-card-text{background:#e8ece0}
#homePage .lite-card-text strong{color:#192219;font-weight:800}
#homePage .lite-home-card:last-child .lite-card-photo{position:relative;background:linear-gradient(150deg,#7c8b7c 0%,#283b2f 100%)}
#homePage .lite-home-card:last-child .lite-card-photo:before{content:"F";font-family:"Space Grotesk",sans-serif;position:absolute;right:-10px;top:2px;font-size:150px;font-weight:900;line-height:.8;color:rgba(255,255,255,.1)}
#homePage .lite-home-card:last-child .lite-fallback{display:block!important;position:absolute!important;bottom:18px!important;left:14px!important;top:auto!important;right:auto!important;z-index:2;max-width:85%;font-size:20px!important;font-family:"Space Grotesk",sans-serif;font-weight:900;letter-spacing:-.05em;line-height:1.1;color:#d6fc4b!important;text-decoration:none!important}
@media(max-width:760px){#homePage .lite-home-card:last-child .lite-fallback{font-size:20px!important}}

/* Prevent subpixel-pseudo-element side scroll on narrow mobile browsers. */
html,body{max-width:100%;overflow-x:clip}
#homePage,#homePage .home-hero,#homePage .lite-home-limited{min-width:0;max-width:100%}
