/* Flamingo Education Press — Publisher-first homepage, 2026-10-16.
   Scoped to .publisher-home so catalog/checkout/book pages are unchanged. */
.publisher-home{overflow:hidden}
.publisher-home .pub-hero{position:relative;background:#f8f4f0;border-bottom:1px solid #ebe5df;padding:clamp(3.5rem,6vw,6.2rem) 0 clamp(3.5rem,6vw,5.5rem)}
.publisher-home .pub-hero__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.publisher-home .pub-overline,.publisher-home .pub-section-label{font-weight:800;font-size:.73rem;letter-spacing:.15em;text-transform:uppercase;color:#a73c62}
.publisher-home h1{max-width:700px;font-size:clamp(2.8rem,5.6vw,5.1rem);letter-spacing:-.055em;line-height:1.06;margin:.7rem 0 1.25rem}
.publisher-home .pub-hero__lead{font-size:clamp(1.08rem,1.7vw,1.32rem);line-height:1.68;max-width:590px;color:#4d4b4b;margin:0}
.publisher-home .pub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.8rem}
.publisher-home .pub-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;border-radius:9px;min-height:48px;padding:.85rem 1.35rem;font-size:.95rem;border:1px solid #ad375e;transition:background .2s,transform .2s}
.publisher-home .pub-btn:hover{transform:translateY(-2px)}
.publisher-home .pub-btn--primary{background:#ad375e;color:#fff}
.publisher-home .pub-btn--primary:hover{background:#872545;color:#fff}
.publisher-home .pub-btn--secondary{background:transparent;color:#872545}
.publisher-home .pub-btn--secondary:hover{background:#fff;color:#872545}
.publisher-home .pub-hero__small{font-size:.83rem;color:#6d6668;margin:1.2rem 0 0;line-height:1.5}
.publisher-home .pub-showcase{position:relative;min-height:470px;padding:1.6rem;display:flex;justify-content:center;align-items:center;border-radius:22px;border:1px solid #e8d4db;background:radial-gradient(circle at 83% 12%,rgba(238,189,206,.32),transparent 47%),linear-gradient(148deg,#fffefd,#fff7f9 70%,#f8ebef);box-shadow:0 22px 48px rgba(107,64,78,.09)}
.publisher-home .pub-showcase:after{content:"";position:absolute;inset:14px;border:1px solid rgba(187,113,138,.14);border-radius:14px;pointer-events:none}
.publisher-home .pub-showcase__title{position:absolute;top:24px;left:28px;font-size:.72rem;letter-spacing:.13em;color:#8c4660;text-transform:uppercase;font-weight:800}
.publisher-home .pub-showcase__books{width:100%;display:flex;justify-content:center;align-items:end;gap:clamp(.55rem,1.2vw,1rem);padding:2.2rem .3rem 0}
.publisher-home .pub-showcase__books img{display:block;width:29%;max-width:155px;aspect-ratio:17/22;object-fit:cover;border-radius:4px;box-shadow:5px 14px 24px rgba(51,35,43,.18);border:1px solid #e7dce1;transform:rotate(-2deg);transition:transform .2s,box-shadow .2s}
.publisher-home .pub-showcase__books img:nth-child(2){width:35%;max-width:190px;transform:translateY(-18px);z-index:1}
.publisher-home .pub-showcase__books img:nth-child(3){transform:rotate(2deg)}
.publisher-home .pub-showcase__books img:hover{transform:translateY(-24px) rotate(0)}
.publisher-home .pub-section{padding:clamp(3.8rem,6vw,6rem) 0}
.publisher-home .pub-section--light{background:#faf7f6}
.publisher-home .pub-section-head{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.8rem}
.publisher-home h2{font-size:clamp(2rem,3.7vw,3.1rem);max-width:700px;letter-spacing:-.045em;line-height:1.13;margin:.5rem 0 .5rem}
.publisher-home .pub-section-head p{max-width:650px;color:#696264;margin:.4rem 0 0}
.publisher-home .pub-inline-link{font-weight:800;text-decoration:none;white-space:nowrap;color:#a02d54}
.publisher-home .pub-inline-link:hover{text-decoration:underline}
.publisher-home .pub-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}
.publisher-home .pub-collection{display:block;overflow:hidden;border:1px solid #e6dfdc;border-radius:16px;background:#fff;color:#202021;text-decoration:none;transition:transform .18s,box-shadow .18s}
.publisher-home .pub-collection:hover{transform:translateY(-4px);box-shadow:0 18px 35px #24202017;color:#202021}
.publisher-home .pub-collection__art{height:212px;background:#efeae5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.publisher-home .pub-collection:nth-child(2) .pub-collection__art{background:#e9eeed}
.publisher-home .pub-collection:nth-child(3) .pub-collection__art{background:#eceaf2}
.publisher-home .pub-collection__art img{height:182px;width:auto;max-width:70%;object-fit:contain;box-shadow:5px 12px 20px #0003}
.publisher-home .pub-collection__body{padding:1.45rem}
.publisher-home .pub-collection__body h3{margin:.1rem 0 .55rem;font-size:1.38rem;letter-spacing:-.025em}
.publisher-home .pub-collection__body p{font-size:.94rem;line-height:1.58;color:#666063;margin:0 0 1.05rem}
.publisher-home .pub-collection__body span{font-size:.89rem;font-weight:800;color:#a13257}
.publisher-home .pub-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}
.publisher-home .pub-book{display:grid;grid-template-columns:minmax(100px,.52fr) minmax(0,1fr);align-items:start;gap:1rem;background:#fff;border:1px solid #e8dfdd;border-radius:16px;padding:1rem}
.publisher-home .pub-book__cover{width:100%;height:auto;aspect-ratio:17/22;object-fit:cover;border-radius:4px;box-shadow:3px 8px 15px #0002}
.publisher-home .pub-book__meta{font-size:.71rem;color:#a43b60;font-weight:800;letter-spacing:.085em;text-transform:uppercase}
.publisher-home .pub-book h3{font-size:1.08rem;line-height:1.32;letter-spacing:-.02em;margin:.5rem 0 .55rem}
.publisher-home .pub-book p{color:#666063;font-size:.85rem;line-height:1.5;margin:0 0 .6rem}
.publisher-home .pub-book a{font-size:.87rem;font-weight:800;text-decoration:none}
.publisher-home .pub-book a:hover{text-decoration:underline}
.publisher-home .pub-promise{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,6vw,5rem);padding:clamp(3.5rem,6vw,5.5rem) 0}
.publisher-home .pub-promise__mark{background:#ede2e5;min-height:330px;border-radius:18px;display:grid;place-items:center;overflow:hidden}
.publisher-home .pub-promise__mark img{width:min(300px,70%);aspect-ratio:1/1;object-fit:contain;border-radius:50%}
.publisher-home .pub-promise p{max-width:580px;color:#5c5558;font-size:1.02rem}
.publisher-home .pub-facts{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.publisher-home .pub-facts span{font-size:.8rem;color:#4d4348;border:1px solid #dfd3d6;border-radius:999px;padding:.45rem .75rem;background:#fff}
.publisher-home .pub-next{background:#253143;color:#fff;padding:clamp(3.5rem,6vw,5rem) 0}
.publisher-home .pub-next__inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.publisher-home .pub-next h2{color:#fff;max-width:580px;margin:.35rem 0}
.publisher-home .pub-next p{color:#e1e5eb;max-width:650px}
.publisher-home .pub-next .pub-section-label{color:#f6a5be}
.publisher-home .pub-next .pub-btn--secondary{border-color:#f6b3c6;background:#fff;color:#87334d}
.publisher-home .pub-institution{padding:1.6rem 0;border-top:1px solid #e9e2dd;background:#fff}
.publisher-home .pub-institution .container{display:flex;justify-content:space-between;align-items:center;gap:1.2rem}
.publisher-home .pub-institution p{margin:0;color:#595357}
.publisher-home .pub-institution strong{color:#202021}
/* Original publisher PNG is inverted in its stored orientation; match its upright shared-header presentation. */
.publisher-header .brand-mark img{transform:translateY(8px) rotate(180deg) scale(1.55)!important;transform-origin:center!important;object-fit:contain!important;object-position:center!important}
.publisher-header .nav-wrap{max-width:1260px}
.publisher-header .site-nav{gap:.35rem .78rem;flex-wrap:nowrap}
.publisher-header .site-nav a{font-size:.86rem}
.publisher-header .site-nav .pub-nav-cta{background:#ad375e;color:#fff;border-radius:8px;padding:.55rem .8rem}
.publisher-header .site-nav .pub-nav-cta:hover{background:#872545;color:#fff}
@media(max-width:1090px){.publisher-header .nav-wrap{flex-wrap:wrap}.publisher-header .nav-toggle{display:inline-flex;margin-left:auto}.publisher-header .site-nav{display:none;width:100%;flex-direction:column;align-items:stretch;border-top:1px solid #eadfe3;padding:.5rem 0;gap:0}.publisher-header .site-nav.is-open{display:flex}.publisher-header .site-nav a{font-size:1rem;padding:.65rem .5rem}.publisher-home .pub-hero__grid{gap:2rem}}
@media(max-width:850px){.publisher-home .pub-hero__grid{grid-template-columns:1fr}.publisher-home .pub-showcase{min-height:360px}.publisher-home .pub-collections{grid-template-columns:1fr 1fr}.publisher-home .pub-books{grid-template-columns:1fr}.publisher-home .pub-book{grid-template-columns:125px 1fr}.publisher-home .pub-promise{grid-template-columns:1fr}.publisher-home .pub-promise__mark{min-height:240px;max-height:270px}.publisher-home .pub-promise__mark img{max-height:235px;width:auto}.publisher-home .pub-next__inner{flex-direction:column;align-items:start}}
@media(max-width:600px){.publisher-home .pub-hero{padding-top:2.7rem}.publisher-home h1{font-size:clamp(2.6rem,10vw,3.6rem)}.publisher-home .pub-collections{grid-template-columns:1fr}.publisher-home .pub-collection__art{height:185px}.publisher-home .pub-collection__art img{height:155px}.publisher-home .pub-section-head{align-items:start;flex-direction:column;gap:.8rem}.publisher-home .pub-showcase{min-height:300px}.publisher-home .pub-showcase__books img{max-width:120px}.publisher-home .pub-showcase__books img:nth-child(2){max-width:135px}.publisher-home .pub-btn{width:100%}.publisher-home .pub-book{grid-template-columns:105px 1fr}.publisher-home .pub-institution .container{align-items:start;flex-direction:column}.publisher-home .pub-next .pub-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.publisher-home .pub-btn,.publisher-home .pub-collection,.publisher-home .pub-showcase__books img{transition:none}.publisher-home .pub-btn:hover,.publisher-home .pub-collection:hover,.publisher-home .pub-showcase__books img:hover{transform:none}}

/* 2026-10-29 verified screenshot refinement: prevent wrapped desktop nav and mobile menu collision. */
@media (min-width:1091px){
  .publisher-header .nav-wrap{max-width:1320px}
  .publisher-header .site-nav{gap:.3rem .7rem}
  .publisher-header .site-nav a{white-space:nowrap;flex:0 0 auto}
}
@media (max-width:1090px){
  .publisher-header .brand{min-width:0}
}
@media (max-width:600px){
  .publisher-header .brand{white-space:normal;flex:1 1 auto;min-width:0}
  .publisher-header .brand-name{max-width:175px;white-space:normal;font-size:.91rem;line-height:1.15}
  .publisher-header .nav-toggle{flex:0 0 auto}
}

/* About the Press: remove redundant, inverted/cropped standalone flamingo image.
   Keep the corrected site-header logo, and present copy in a calm single-column card. */
.publisher-home .pub-promise--text{display:block;max-width:1120px;padding:clamp(3rem,6vw,5.5rem) 0}
.publisher-home .pub-promise--text .pub-promise__content{background:linear-gradient(125deg,#fffdfa,#fff7f9);border:1px solid #eadce1;border-radius:22px;padding:clamp(1.6rem,4vw,3.2rem);box-shadow:0 12px 32px rgba(80,48,62,.055)}
.publisher-home .pub-promise--text h2{max-width:840px}
.publisher-home .pub-promise--text p{max-width:850px}
.publisher-home .pub-promise--text .pub-facts{margin-top:1.6rem}

/* Institutional homepage sections — 2026-11-05 */
.publisher-home .pub-flagship{background:#fff8f9}
.publisher-home .pub-flagship__grid,.publisher-home .pub-buyers__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.publisher-home .pub-flagship__book{display:flex;gap:1rem;align-items:flex-start;background:#fff;border:1px solid #ebdfe1;border-radius:16px;padding:1rem;min-width:0}
.publisher-home .pub-flagship__book img{width:90px;height:120px;object-fit:contain;flex:0 0 90px}
.publisher-home .pub-flagship__book h3,.publisher-home .pub-buyers__grid h3{margin:.1rem 0 .5rem;color:#28232c;font-size:1.09rem}
.publisher-home .pub-flagship__book p,.publisher-home .pub-buyers__grid p{font-size:.94rem;color:#554e54;line-height:1.6}
.publisher-home .pub-flagship__book a,.publisher-home .pub-buyers__grid a{font-weight:700;color:#93304f;text-underline-offset:3px}
.publisher-home .pub-flagship__actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.publisher-home .pub-buyers{background:#fff}
.publisher-home .pub-buyers__grid article{background:#fff;border:1px solid #e6dce0;border-radius:16px;padding:1.45rem}
.publisher-home .pub-buyers__order{margin-top:1.6rem;padding:1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;background:#283143;color:#fff;border-radius:16px}
.publisher-home .pub-buyers__order h3{color:#fff;margin:0 0 .5rem}
.publisher-home .pub-buyers__order p{color:#e3e5eb;max-width:750px;margin:0}
.publisher-home .pub-buyers__order .pub-btn{flex-shrink:0}
.publisher-home .pub-insights{background:#f7f8fa}
.publisher-home .pub-insights__eyebrow{color:#8c2e4a;font-weight:700;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase}
@media(max-width:1050px){.publisher-home .pub-flagship__grid,.publisher-home .pub-buyers__grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.publisher-home .pub-flagship__grid,.publisher-home .pub-buyers__grid{grid-template-columns:1fr}.publisher-home .pub-buyers__order{flex-direction:column;align-items:stretch}.publisher-home .pub-buyers__order .pub-btn{width:100%}}
