/*
Theme Name: Made2Flex Store
Theme URI: https://made2flex.com/
Author: Made2Flex
Description: A modern WooCommerce-ready WordPress theme for Made2Flex.com with customizable School Gear hubs, school/team/club collection pages, original apparel, custom orders, and new drops.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: made2flex
Tags: e-commerce, custom-logo, custom-menu, featured-images, responsive-layout, woocommerce
*/

:root{
  --m2f-black:#0D0D0D;
  --m2f-charcoal:#1B1B1D;
  --m2f-charcoal-2:#242428;
  --m2f-white:#F7F7F7;
  --m2f-muted:#B8BBC2;
  --m2f-blue:#2F80FF;
  --m2f-blue-hover:#1C6EE8;
  --m2f-line:rgba(255,255,255,.12);
  --m2f-shadow:0 18px 50px rgba(0,0,0,.16);
  --m2f-radius:20px;
  --m2f-max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--m2f-white);color:#17171A;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(calc(100% - 40px),var(--m2f-max));margin-inline:auto}
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Header */
.site-header{position:sticky;top:0;z-index:999;background:rgba(13,13,13,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.admin-bar .site-header{top:32px}
.header-inner{min-height:78px;display:flex;align-items:center;gap:28px}
.site-branding{display:flex;align-items:center;min-width:max-content}
.custom-logo{display:block;max-height:46px;width:auto}
.brand-wordmark{font-weight:900;letter-spacing:-.06em;font-size:1.65rem;color:#fff;line-height:1}
.brand-wordmark span{color:var(--m2f-blue)}
.brand-domain{display:block;color:#8F94A0;font-size:.63rem;letter-spacing:.22em;margin-top:6px;text-transform:uppercase}
.main-navigation{margin-left:auto}
.main-navigation ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}
.main-navigation a{color:#EDEEF1;font-weight:650;font-size:.92rem;transition:.2s ease}
.main-navigation a:hover,.main-navigation .current-menu-item>a{color:var(--m2f-blue)}
.header-actions{display:flex;align-items:center;gap:12px}
.shop-pill,.cart-pill{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;font-weight:800;font-size:.84rem}
.shop-pill{padding:0 20px;background:var(--m2f-blue);color:#fff}
.shop-pill:hover{background:var(--m2f-blue-hover)}
.cart-pill{min-width:42px;padding:0 13px;color:#fff;border:1px solid rgba(255,255,255,.16);position:relative}
.cart-count{position:absolute;right:-6px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:50%;background:var(--m2f-blue);font-size:.68rem}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:1.55rem;cursor:pointer}

/* Hero */
.m2f-hero{position:relative;overflow:hidden;background:var(--m2f-black);color:#fff;min-height:680px;display:flex;align-items:center}
.m2f-hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;right:-170px;top:-180px;background:radial-gradient(circle,rgba(47,128,255,.42),rgba(47,128,255,.06) 52%,transparent 70%);filter:blur(2px)}
.m2f-hero:after{content:"M2F";position:absolute;right:-30px;bottom:-130px;font-size:25vw;font-weight:950;letter-spacing:-.1em;color:rgba(255,255,255,.025);line-height:.9;pointer-events:none}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;padding:90px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:#AFCBFF;text-transform:uppercase;letter-spacing:.2em;font-weight:800;font-size:.76rem}
.eyebrow:before{content:"";width:34px;height:2px;background:var(--m2f-blue)}
.hero-copy h1{font-size:clamp(3.5rem,7.2vw,7.2rem);line-height:.88;letter-spacing:-.07em;margin:22px 0 26px;max-width:850px}
.hero-copy h1 em{font-style:normal;color:var(--m2f-blue)}
.hero-copy p{max-width:650px;color:#B8BBC2;font-size:1.13rem;margin:0 0 34px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 27px;border-radius:999px;font-weight:850;transition:.2s ease;border:1px solid transparent}
.btn-primary{background:var(--m2f-blue);color:#fff}
.btn-primary:hover{background:var(--m2f-blue-hover);transform:translateY(-1px)}
.btn-secondary{border-color:rgba(255,255,255,.18);color:#fff;background:rgba(255,255,255,.04)}
.btn-secondary:hover{background:rgba(255,255,255,.1)}
.hero-card-wrap{display:grid;gap:18px}
.hero-product-card{border:1px solid rgba(255,255,255,.12);background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.025));border-radius:28px;padding:32px;box-shadow:0 30px 90px rgba(0,0,0,.24);backdrop-filter:blur(16px)}
.hero-card-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;color:#8BAFF8;font-weight:850}
.hero-card-title{font-size:2rem;font-weight:900;line-height:1.05;margin:12px 0 8px;letter-spacing:-.045em}
.hero-card-copy{color:#AEB1B8;margin:0 0 24px}
.hero-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.hero-chip{font-size:.72rem;padding:8px 11px;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:#DDE0E5;background:rgba(0,0,0,.18)}

/* Section system */
.m2f-section{padding:92px 0}
.m2f-section-dark{background:#111113;color:#fff}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}
.section-heading h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1;letter-spacing:-.055em;margin:8px 0 0}
.section-heading p{max-width:560px;margin:0;color:#686B73}
.m2f-section-dark .section-heading p{color:#A0A4AD}
.text-link{font-weight:850;color:var(--m2f-blue);white-space:nowrap}

.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.category-card{min-height:285px;position:relative;overflow:hidden;border-radius:var(--m2f-radius);padding:27px;display:flex;flex-direction:column;justify-content:flex-end;background:#E9E9EC;border:1px solid #DEDFE4;transition:.25s ease}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--m2f-shadow)}
.category-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 18%,rgba(47,128,255,.22),transparent 30%)}
.category-card:nth-child(2):before{background:radial-gradient(circle at 78% 16%,rgba(13,13,13,.13),transparent 32%)}
.category-card:nth-child(3):before{background:radial-gradient(circle at 78% 16%,rgba(47,128,255,.31),transparent 34%)}
.category-card:nth-child(4){background:#141416;color:#fff;border-color:#252529}
.category-card:nth-child(4):before{background:radial-gradient(circle at 78% 16%,rgba(47,128,255,.5),transparent 35%)}
.category-card>*{position:relative;z-index:2}
.category-icon{position:absolute;right:22px;top:20px;font-size:3.1rem;font-weight:950;letter-spacing:-.08em;opacity:.12}
.category-card h3{font-size:1.55rem;line-height:1.05;margin:0 0 8px;letter-spacing:-.04em}
.category-card p{font-size:.9rem;margin:0;color:#656870}
.category-card:nth-child(4) p{color:#A9ADB5}

/* Product cards / WooCommerce */
.woocommerce ul.products,.m2f-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important;padding:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product,.m2f-product-card{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid #E8E8EB;border-radius:18px;overflow:hidden;transition:.25s ease;position:relative}
.woocommerce ul.products li.product:hover,.m2f-product-card:hover{transform:translateY(-4px);box-shadow:var(--m2f-shadow)}
.woocommerce ul.products li.product a img{margin:0!important;aspect-ratio:4/5;object-fit:cover;background:#ECEDEF}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem!important;line-height:1.25;padding:18px 18px 6px!important;color:#18181B;font-weight:800}
.woocommerce ul.products li.product .price{padding:0 18px 16px!important;color:#474A52!important;font-size:.93rem!important;font-weight:750!important}
.woocommerce ul.products li.product .button{margin:0 18px 18px!important;display:flex!important;justify-content:center!important;border-radius:999px!important;background:#111113!important;color:#fff!important;padding:12px 16px!important}
.woocommerce ul.products li.product .button:hover{background:var(--m2f-blue)!important}
.woocommerce span.onsale{background:var(--m2f-blue)!important;min-width:auto!important;min-height:auto!important;line-height:1!important;padding:8px 10px!important;border-radius:999px!important;left:12px!important;top:12px!important}

.placeholder-product{min-height:390px;background:#fff;border:1px solid #E7E7EA;border-radius:18px;overflow:hidden}
.placeholder-art{height:285px;background:linear-gradient(145deg,#E8E9ED,#F7F7F8);display:grid;place-items:center;color:#B4B7BE;font-size:3.3rem;font-weight:950;letter-spacing:-.08em}
.placeholder-art.dark{background:linear-gradient(145deg,#121214,#29292D);color:#43434A}
.placeholder-meta{padding:18px}
.placeholder-meta strong{display:block;font-size:1rem}
.placeholder-meta span{display:block;color:#7C7F86;font-size:.88rem;margin-top:4px}

/* School Gear feature */
.cheney-feature{position:relative;overflow:hidden;border-radius:30px;background:#111113;color:#fff;min-height:440px;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch}
.cheney-copy{padding:65px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}
.cheney-copy h2{font-size:clamp(2.6rem,5.5vw,5.3rem);line-height:.9;letter-spacing:-.065em;margin:18px 0 20px}
.cheney-copy p{color:#AFB2BA;max-width:600px;margin:0 0 28px}
.cheney-visual{position:relative;background:linear-gradient(135deg,#1B1B1E,#101011);overflow:hidden;display:grid;place-items:center}
.cheney-visual:before{content:"CT";font-size:13rem;font-weight:950;letter-spacing:-.12em;color:rgba(255,255,255,.055);transform:rotate(-7deg)}
.cheney-visual:after{content:"SCHOOL GEAR";position:absolute;bottom:28px;right:34px;color:var(--m2f-blue);font-weight:900;letter-spacing:.22em;font-size:.72rem}

/* New drops */
.drop-banner{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:30px;overflow:hidden;background:var(--m2f-blue);color:#fff}
.drop-copy{padding:62px}
.drop-copy h2{font-size:clamp(2.5rem,5vw,5rem);line-height:.9;letter-spacing:-.06em;margin:10px 0 20px}
.drop-copy p{max-width:530px;color:#E6EFFF;margin-bottom:30px}
.drop-side{background:#0D0D0D;display:grid;place-items:center;min-height:380px;position:relative;overflow:hidden}
.drop-side:after{content:"DROP 01";font-size:6rem;font-weight:950;letter-spacing:-.08em;color:rgba(255,255,255,.09);transform:rotate(-12deg)}

/* Content */
.site-main{min-height:50vh}
.content-shell{padding:68px 0 90px}
.entry-title{font-size:clamp(2.4rem,5vw,4.5rem);letter-spacing:-.055em;line-height:1;margin:0 0 26px}
.entry-content{font-size:1.02rem}
.entry-content>*{max-width:780px}
.entry-content>.alignwide{max-width:var(--m2f-max)}
.entry-content>.alignfull{max-width:none;width:100vw;margin-left:calc(50% - 50vw)}

/* WooCommerce pages */
.woocommerce .woocommerce-breadcrumb{margin:0 0 26px;color:#777B84}
.woocommerce .woocommerce-breadcrumb a{color:#33363D}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:55px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important}
.woocommerce div.product .product_title{font-size:clamp(2.1rem,4vw,3.7rem);line-height:.98;letter-spacing:-.05em}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--m2f-blue)!important;font-size:1.45rem!important;font-weight:850}
.woocommerce button.button.alt,.woocommerce a.button.alt,.woocommerce #respond input#submit.alt{background:var(--m2f-blue)!important;border-radius:999px!important;padding:15px 24px!important}
.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--m2f-blue-hover)!important}
.woocommerce-message,.woocommerce-info{border-top-color:var(--m2f-blue)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--m2f-blue)!important}
.woocommerce-cart table.cart img{width:80px}
.woocommerce-checkout #payment{background:#EEEFF2!important;border-radius:16px!important}

/* Footer */
.site-footer{background:#0D0D0D;color:#fff;padding:70px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.5fr .75fr .75fr .9fr;gap:45px;padding-bottom:48px;border-bottom:1px solid var(--m2f-line)}
.footer-brand p{max-width:440px;color:#9599A3;margin:18px 0 0}
.footer-title{font-size:.74rem;text-transform:uppercase;letter-spacing:.17em;color:#777C87;font-weight:850;margin-bottom:14px}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.footer-links a{color:#D8DADE;font-size:.92rem}
.footer-links a:hover{color:var(--m2f-blue)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:23px;color:#70747E;font-size:.78rem}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],textarea,select{width:100%;padding:13px 15px;border:1px solid #D7D8DD;background:#fff;border-radius:10px;outline:none}
input:focus,textarea:focus,select:focus{border-color:var(--m2f-blue);box-shadow:0 0 0 3px rgba(47,128,255,.12)}

@media (max-width:1000px){
  .main-navigation{display:none;position:absolute;top:78px;left:0;right:0;background:#111113;border-top:1px solid rgba(255,255,255,.08);padding:18px 20px 24px}
  .main-navigation.is-open{display:block}
  .main-navigation ul{flex-direction:column;align-items:flex-start;gap:15px}
  .menu-toggle{display:block;margin-left:auto}
  .shop-pill{display:none}
  .header-actions{margin-left:0}
  .hero-grid{grid-template-columns:1fr;gap:42px}
  .hero-card-wrap{max-width:650px}
  .category-grid,.woocommerce ul.products,.m2f-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cheney-feature,.drop-banner{grid-template-columns:1fr}
  .cheney-visual{min-height:300px}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .woocommerce div.product{grid-template-columns:1fr}
}

@media (max-width:680px){
  .admin-bar .site-header{top:46px}
  .container{width:min(calc(100% - 28px),var(--m2f-max))}
  .header-inner{min-height:68px}
  .main-navigation{top:68px}
  .brand-wordmark{font-size:1.42rem}
  .brand-domain{font-size:.57rem}
  .m2f-hero{min-height:auto}
  .hero-grid{padding:70px 0 62px}
  .hero-copy h1{font-size:clamp(3.2rem,17vw,5.2rem)}
  .hero-copy p{font-size:1rem}
  .hero-product-card{padding:24px}
  .m2f-section{padding:68px 0}
  .section-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .category-grid,.woocommerce ul.products,.m2f-product-grid{grid-template-columns:1fr 1fr!important;gap:12px}
  .category-card{min-height:220px;padding:20px}
  .category-card h3{font-size:1.25rem}
  .placeholder-product{min-height:300px}
  .placeholder-art{height:220px}
  .cheney-copy,.drop-copy{padding:38px 26px}
  .cheney-visual{min-height:235px}
  .cheney-visual:before{font-size:8rem}
  .drop-side{min-height:250px}
  .drop-side:after{font-size:3.7rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:30px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{flex-direction:column}
}

@media (max-width:420px){
  .category-grid,.woocommerce ul.products,.m2f-product-grid{grid-template-columns:1fr!important}
  .cart-pill{display:none}
}


/* =========================================================
   Made2Flex v2: Customizable school / team collection pages
   ========================================================= */
.collection-page{background:#f7f7f7}
.collection-hero{position:relative;overflow:hidden;background:#0d0d0d;color:#fff;background-size:cover;background-position:center;isolation:isolate}
.collection-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,color-mix(in srgb,var(--collection-accent) 46%,transparent),transparent 40%);z-index:-1}
.collection-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--collection-accent)}
.collection-hero-inner{min-height:520px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding-top:80px;padding-bottom:80px}
.collection-kicker,.collection-mini{font-size:.76rem;font-weight:900;letter-spacing:.2em;text-transform:uppercase;color:var(--collection-accent)}
.collection-hero h1{font-size:clamp(3.4rem,8vw,7.6rem);line-height:.86;letter-spacing:-.065em;margin:20px 0 22px;max-width:900px;text-transform:uppercase}
.collection-hero p{font-size:1.12rem;max-width:680px;color:#d3d6dc;margin:0 0 32px}
.collection-actions{display:flex;gap:12px;flex-wrap:wrap}
.collection-btn{background:var(--collection-accent);color:var(--collection-secondary);border-color:var(--collection-accent)}
.collection-btn:hover{filter:brightness(.92);transform:translateY(-1px)}
.collection-intro{padding:46px 0 0}
.collection-products .woocommerce ul.products li.product .button{background:var(--collection-accent)!important}
.collection-products .woocommerce ul.products li.product .price{color:var(--collection-accent)!important}
.collection-empty{padding:38px;border:1px dashed #cdd0d7;border-radius:18px;background:#fff;color:#555b65}
.collection-empty strong{display:block;color:#121317;font-size:1.25rem;margin-bottom:6px}

/* School Gear / school landing pages */
.cheney-hub-hero{position:relative;overflow:hidden;background:#07111f;color:#fff;border-bottom:5px solid #2F80FF}
.cheney-hub-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 35%,rgba(47,128,255,.45),transparent 33%),linear-gradient(135deg,#06101d 0%,#0c2347 75%,#06101d 100%)}
.cheney-hub-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;min-height:570px;padding-top:80px;padding-bottom:80px}
.cheney-hub-hero h1{font-size:clamp(4rem,9vw,8rem);line-height:.78;letter-spacing:-.07em;margin:24px 0 30px}
.cheney-hub-hero h1 span{color:#2F80FF}
.cheney-hub-hero p{max-width:620px;color:#c4ccd8;font-size:1.08rem;margin:0 0 32px}
.cheney-hub-mark{justify-self:center;width:min(350px,70vw);aspect-ratio:1;display:grid;place-items:center;border:18px solid rgba(255,255,255,.95);outline:14px solid #2F80FF;border-radius:32px;transform:rotate(-7deg);font-size:8rem;font-weight:950;letter-spacing:-.12em;text-shadow:8px 8px 0 rgba(0,0,0,.16);box-shadow:0 30px 90px rgba(0,0,0,.3);background:linear-gradient(145deg,#0c3f87,#041a35)}
.cheney-hub-logo{justify-self:center;width:min(420px,78vw);display:grid;place-items:center}
.cheney-hub-logo img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;filter:drop-shadow(0 28px 45px rgba(0,0,0,.28))}
.team-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.team-collection-card{position:relative;overflow:hidden;min-height:260px;border-radius:22px;background:#111216;color:#fff;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(255,255,255,.08);box-shadow:0 16px 40px rgba(0,0,0,.08);transition:.22s ease}
.team-collection-card:before{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-90px;top:-80px;background:var(--team-accent);opacity:.3;filter:blur(4px)}
.team-collection-card:hover{transform:translateY(-4px);border-color:var(--team-accent)}
.team-mark{position:absolute;right:22px;top:14px;font-size:4.2rem;line-height:1;font-weight:950;color:rgba(255,255,255,.08);letter-spacing:-.09em}
.team-card-logo{position:absolute;right:18px;top:18px;width:150px;height:120px;display:flex;align-items:center;justify-content:center;z-index:1}
.team-card-logo img{display:block;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(0,0,0,.28))}
.team-collection-card.has-logo:before{opacity:.18}
.team-collection-card.has-logo .team-label,.team-collection-card.has-logo .team-arrow{max-width:65%}
.team-label{position:relative;font-size:2rem;font-weight:900;letter-spacing:-.04em}
.team-arrow{position:relative;color:var(--team-accent);font-size:.86rem;font-weight:850;margin-top:8px}
.light-heading h2{color:#fff}.light-heading p{color:#a7abb4}.dark-empty{background:#17181b;color:#bbb;border-color:#333}.dark-empty strong{color:#fff}

/* WooCommerce checkout / pickup polish */
.woocommerce-checkout-review-order,.woocommerce-checkout #customer_details{margin-bottom:24px}
.woocommerce ul#shipping_method li{padding:8px 0}
.woocommerce ul#shipping_method label{font-weight:750}
.woocommerce-checkout .woocommerce-shipping-methods{background:#f6f7f9;padding:12px 16px!important;border-radius:12px}
.woocommerce-checkout .wc-block-components-radio-control__option{border-radius:12px}

/* Editor content spacing */
.content-shell{padding:72px 0;min-height:60vh}
.entry-title{font-size:clamp(2.5rem,6vw,4.7rem);letter-spacing:-.055em;line-height:.95;margin:0 0 34px}
.entry-content>*:first-child{margin-top:0}

@media (max-width:900px){
  .cheney-hub-grid{grid-template-columns:1fr;gap:45px}
  .cheney-hub-mark{justify-self:start;width:250px;font-size:6rem}
  .team-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .collection-hero-inner{min-height:460px;padding-top:60px;padding-bottom:60px}
  .collection-hero h1{font-size:clamp(3.1rem,16vw,5rem)}
  .team-collection-grid{grid-template-columns:1fr}
  .team-collection-card{min-height:210px}
}

/* v2.2 — polished school landing page */
.school-hub{background:#f6f7f8}
.school-hub-hero{position:relative;overflow:hidden;color:#fff;border-bottom:5px solid var(--school-accent);background:#090a0d}
.school-hub-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 28%,color-mix(in srgb,var(--school-accent) 34%,transparent),transparent 31%),linear-gradient(135deg,#07080a 0%,#111318 55%,#07080a 100%)}
.school-hub-hero:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:rgba(255,255,255,.16)}
.school-hub-grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:72px;align-items:center;min-height:610px;padding-top:72px;padding-bottom:72px}
.school-hub-copy{position:relative;z-index:2}
.school-breadcrumb{display:flex;align-items:center;gap:10px;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:#8e949f;margin-bottom:28px;font-weight:800}
.school-breadcrumb a{color:#b7bbc3}.school-breadcrumb strong{color:var(--school-accent)}
.school-hub-copy .eyebrow{color:var(--school-accent)}
.school-hub-copy h1{font-size:clamp(4rem,8vw,7.6rem);line-height:.79;letter-spacing:-.07em;margin:20px 0 28px;max-width:780px}
.school-hub-copy h1 span{display:block;color:var(--school-accent);font-size:.58em;letter-spacing:-.045em;margin-top:18px}
.school-hub-copy p{max-width:660px;color:#c4c8d0;font-size:1.08rem;line-height:1.65;margin:0 0 32px}
.school-hub-actions{display:flex;gap:12px;flex-wrap:wrap}
.school-accent-btn{background:var(--school-accent);border-color:var(--school-accent);color:#081008}
.school-accent-btn:hover{filter:brightness(.94);transform:translateY(-1px)}
.school-hub-brand{position:relative;justify-self:center;display:grid;place-items:center;width:min(470px,90vw)}
.school-logo-frame{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center;padding:46px;border:1px solid rgba(255,255,255,.14);border-radius:42px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));box-shadow:0 38px 90px rgba(0,0,0,.35);transform:rotate(-2deg)}
.school-logo-frame:before{content:"";position:absolute;inset:16px;border:3px solid var(--school-accent);border-radius:32px;opacity:.7}
.school-logo-frame img{position:relative;z-index:1;display:block;width:100%;height:100%;max-height:370px;object-fit:contain;filter:drop-shadow(0 24px 38px rgba(0,0,0,.30))}
.school-code-frame{width:100%;aspect-ratio:1;display:grid;place-items:center;border:16px solid #fff;outline:10px solid var(--school-accent);border-radius:34px;background:#111318;font-size:8rem;font-weight:950;letter-spacing:-.1em}
.school-palette{position:absolute;right:24px;bottom:-12px;display:flex;gap:6px;background:#101114;border:1px solid rgba(255,255,255,.12);padding:10px 12px;border-radius:999px;box-shadow:0 14px 32px rgba(0,0,0,.28)}
.school-palette span{width:25px;height:9px;border-radius:999px}.school-palette span:nth-child(1){background:var(--school-accent)}.school-palette span:nth-child(2){background:#fff}.school-palette span:nth-child(3){background:#0d0d0d;border:1px solid #3c3d40}
.school-collections-section{background:#f6f7f8}
.school-section-heading .eyebrow{color:var(--school-accent)}
.school-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.school-collection-card{position:relative;overflow:hidden;min-height:390px;border-radius:28px;background:#111216;color:#fff;border:1px solid #26282d;box-shadow:0 18px 44px rgba(0,0,0,.09);padding:28px;display:flex;flex-direction:column;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.school-collection-card:before{content:"";position:absolute;right:-110px;top:-120px;width:310px;height:310px;border-radius:50%;background:var(--team-accent);opacity:.18;filter:blur(8px)}
.school-collection-card:hover{transform:translateY(-5px);border-color:var(--team-accent);box-shadow:0 28px 60px rgba(0,0,0,.14)}
.school-card-topline{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;font-size:.69rem;font-weight:900;letter-spacing:.18em;color:var(--team-accent)}
.school-card-arrow{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.18);font-size:1rem;color:#fff;letter-spacing:0}
.school-card-logo{position:relative;z-index:1;height:145px;display:flex;align-items:center;justify-content:flex-end;margin:22px 0 4px}
.school-card-logo img{max-width:210px;max-height:140px;object-fit:contain;filter:drop-shadow(0 16px 24px rgba(0,0,0,.32))}
.school-card-code{height:145px;display:flex;align-items:center;justify-content:flex-end;font-size:6.5rem;font-weight:950;color:rgba(255,255,255,.08);letter-spacing:-.09em}
.school-card-copy{position:relative;z-index:2;margin-top:auto}
.school-card-identity{font-size:.66rem;letter-spacing:.16em;font-weight:900;color:var(--team-accent);margin-bottom:9px}
.school-card-copy h3{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.045em;margin:0 0 10px;color:#fff}
.school-card-copy p{margin:0 0 18px;color:#aeb2ba;line-height:1.48;max-width:540px}
.school-card-link{display:inline-block;color:var(--team-accent);font-weight:850;font-size:.9rem}
.school-shop-all{margin-top:24px;border-radius:22px;background:#fff;border:1px solid #dedfe3;min-height:120px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#111216;box-shadow:0 10px 28px rgba(0,0,0,.055);transition:.2s ease}
.school-shop-all:hover{border-color:var(--school-accent);transform:translateY(-2px)}
.school-shop-all span:first-child{display:block;color:var(--school-accent);font-size:.7rem;letter-spacing:.17em;font-weight:900;margin-bottom:6px}
.school-shop-all strong{font-size:1.35rem;letter-spacing:-.02em}
.school-shop-all-arrow{display:grid!important;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--school-accent);color:#0b0c0d!important;font-size:1.4rem!important;letter-spacing:0!important;margin:0!important}
.school-latest{border-top:1px solid #292a2e}

@media(max-width:900px){
  .school-hub-grid{grid-template-columns:1fr;gap:42px;min-height:auto;padding-top:58px;padding-bottom:62px}
  .school-hub-brand{justify-self:start;width:min(340px,84vw)}
  .school-logo-frame{padding:34px;border-radius:30px}
  .school-collection-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  .school-hub-copy h1{font-size:clamp(3.2rem,18vw,5rem)}
  .school-hub-actions{flex-direction:column;align-items:stretch}.school-hub-actions .btn{text-align:center}
  .school-collection-card{min-height:340px;padding:23px}
  .school-card-logo{height:120px}.school-card-logo img{max-height:115px;max-width:175px}
  .school-shop-all{padding:24px;align-items:flex-start}.school-shop-all-arrow{flex:0 0 52px}
}
