/* Flowing collection pages: layout and copy surfaces. Product shapes, type roles, and footer stay shared. */
@import url("site-colors.css");
@import url("cut-layers.css");
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;overflow-x:hidden;color:var(--text);background:radial-gradient(ellipse at 88% 6%,color-mix(in srgb,var(--gradient-b) 80%,transparent),transparent 33%),radial-gradient(ellipse at 3% 62%,color-mix(in srgb,var(--accent-dark) 20%,transparent),transparent 36%),var(--background)}
a{color:inherit;text-decoration:none}
button,select,input{font:inherit}
button{cursor:pointer}
img{max-width:100%}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.flow-wrap{width:min(100% - 68px,1500px);margin-inline:auto}
.theme-button{padding:10px 13px;color:var(--text);background:var(--panel);border:1px solid var(--accent);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.theme-button:hover{background:var(--accent);color:var(--background)}
.eyebrow{color:var(--accent);font-size:12px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.collection-page .hero{min-height:max(88vh,calc(min(52vw,690px) + clamp(70px,9vw,145px) + 80px));padding-top:clamp(58px,7vw,100px)}
.collection-page .hero h1{max-width:950px;font-size:clamp(88px,15vw,225px);line-height:.76;letter-spacing:-.105em;white-space:pre-line}
.collection-page .hero p{max-width:360px;line-height:1.5}
.collection-page .hero-art{top:clamp(70px,9vw,145px);right:5vw;width:min(39vw,560px);height:min(52vw,690px);background:var(--surface);box-shadow:0 34px 70px #0005}
.collection-page .hero-art img{background:var(--accent)}
.collection-page .hero-tag{right:1%;bottom:2%;font-size:11px}
.collection-stage{position:relative;isolation:isolate;margin-top:15px;padding:clamp(78px,10vw,150px) 0 clamp(90px,11vw,170px);border-radius:min(9vw,145px) min(9vw,145px) 0 0;background:linear-gradient(160deg,var(--gradient-a),var(--surface) 45%,var(--gradient-b))}
:root[data-theme="light"] .collection-stage{background:linear-gradient(160deg,#e3eef1,#d7e7ea 48%,#c7dbe0)}
.collection-stage__heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:clamp(60px,8vw,120px)}
.collection-stage__heading h1,.collection-stage__heading h2{max-width:850px;margin:13px 0 0;font-family:var(--font-display);font-weight:600;font-size:clamp(60px,10vw,145px);line-height:.8;letter-spacing:-.07em;white-space:pre-line}
.collection-stage__heading p{max-width:280px;margin:0;color:var(--muted);font-size:clamp(16px,1.25vw,20px);line-height:1.35}
.collection-count{display:block;margin-top:24px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.flow-gallery{display:grid;width:min(100%,1200px);margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:clamp(36px,7vw,145px);row-gap:clamp(64px,7vw,110px)}
.flow-gallery .collection-look{min-width:0;width:min(100%,460px);display:block;justify-self:start}
.flow-gallery .collection-look:nth-child(even){justify-self:end;margin-top:clamp(72px,9vw,145px)}
.collection-look .product-art,.garment-card .product-art{height:clamp(300px,26vw,360px)}
.collection-look .product-art img,.garment-card .product-art img{display:block;width:100%;height:100%;object-fit:contain}
.collection-look .product-meta,.garment-card .product-meta{display:grid;gap:6px;margin-top:14px;padding:0 3px}
.collection-look .product-meta small{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.collection-look .product-meta strong{max-width:18ch;color:var(--text);font-family:var(--font-display);font-size:clamp(19px,2vw,31px);font-weight:600;letter-spacing:-.04em;line-height:1.08;text-transform:none;text-wrap:balance}
.look-action,.garment-card .product-meta span{display:inline-flex;gap:14px;align-items:center;width:fit-content;margin-top:5px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.look-action span,.garment-card .product-meta span span{transition:transform 180ms ease-out}
.collection-look:hover .look-action span,.garment-card:hover .product-meta span span{transform:translate(3px,-3px)}
.collection-statement{display:grid;grid-template-columns:1fr 1fr;gap:5vw;align-items:end;padding-top:clamp(120px,17vw,260px)}
.collection-statement h2{max-width:900px;margin:0;font-family:var(--font-display);font-size:clamp(56px,8vw,120px);font-weight:600;line-height:.83;letter-spacing:-.07em}
.collection-statement p{max-width:390px;color:var(--muted);font-size:clamp(18px,1.5vw,23px);line-height:1.35}
.world-newsletter{max-width:850px;margin:clamp(95px,12vw,180px) 0 20px;color:var(--text);background:color-mix(in srgb,var(--panel) 88%,var(--background));border-color:var(--border)}
.world-newsletter h2{font-family:var(--font-display);font-weight:600}
.world-newsletter .eyebrow{color:var(--accent)}
.world-newsletter>p:not(.eyebrow),.world-newsletter form small{color:var(--muted)}
.world-newsletter__field input{border-color:var(--border);background:var(--background);color:var(--text)}
.world-newsletter__field .button{border:0;background:var(--accent);color:var(--background)}
.collection-error{max-width:38ch;padding:26px;color:var(--text);background:var(--panel);border:1px solid var(--accent)}

/* Design and garment pages */
.subpage-main{min-height:70vh;padding-top:clamp(48px,7vw,105px);padding-bottom:clamp(100px,12vw,180px)}
.back-link{display:inline-block;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.design-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:5vw;align-items:center;margin:clamp(30px,4vw,60px) 0 clamp(100px,10vw,160px)}
.design-intro h1,.product-picker h1{max-width:980px;margin:20px 0;font-family:var(--font-display);font-weight:600;line-height:.86;letter-spacing:-.06em;overflow-wrap:normal;text-wrap:balance}
.design-intro h1{font-size:clamp(48px,5.7vw,96px)}
.design-intro p,.product-picker>p{max-width:450px;color:var(--muted);font-size:clamp(17px,1.4vw,21px);line-height:1.4}
.design-feature .product-art{height:clamp(310px,35vw,450px)}
.design-feature .product-art img{display:block;width:100%;height:100%;object-fit:contain}
.garment-section h2{margin:0 0 55px;font-family:var(--font-display);font-size:clamp(53px,8vw,112px);font-weight:600;line-height:.85;letter-spacing:-.07em}
.garment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(26px,4vw,65px)}
.garment-card:nth-child(2){padding-top:clamp(40px,6vw,100px)}
.garment-card .product-meta strong{font-family:var(--font-display);font-size:clamp(22px,2.2vw,34px);font-weight:600;letter-spacing:-.04em;text-transform:none}

/* Colour and size selection */
.product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(35px,7vw,115px);align-items:start;margin-top:clamp(26px,4vw,60px)}
.product-visual{position:sticky;top:30px}
.product-visual .product-art{height:clamp(340px,40vw,500px)}
.product-visual .product-art img{display:block;width:100%;height:100%;object-fit:contain}
.product-visual [hidden]{display:none}
.product-gallery{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;margin-block-start:88px}
.product-visual [data-product-media-status]{position:relative;z-index:1;margin-block:88px 0}
.product-gallery:not([hidden])+[data-product-media-status]{margin-block-start:14px}
.product-gallery__view{inline-size:64px;min-block-size:64px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text)}
.product-gallery__view img{display:block;width:100%;height:54px;object-fit:contain}
.product-gallery__view[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.product-picker h1{font-size:clamp(44px,5.6vw,86px)}
.picker-group{margin:35px 0 0}
.picker-group h2{margin:0 0 14px;color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.picker-options,.color-options{display:flex;flex-wrap:wrap;gap:10px}
.picker-option,.color-option{min-height:48px;padding:11px 18px;border:1px solid var(--border);border-radius:18px;color:var(--text);background:var(--panel)}
.picker-option:hover,.color-option:hover{border-color:var(--accent)}
.picker-option[aria-pressed="true"],.color-option[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:color-mix(in srgb,var(--panel) 82%,var(--accent))}
.picker-option--size{min-width:54px;border-radius:14px}
.color-option{display:inline-flex;align-items:center;gap:9px;padding:7px 13px 7px 8px;font-size:13px}
.color-option__swatch{width:29px;height:29px;flex:none;border-radius:50%;border:1px solid #0004;background:var(--swatch)}
.product-note,.cart-status{max-width:48ch;color:var(--muted);font-size:13px;line-height:1.5}
.cart-status a{color:var(--accent);font-weight:700}

@media(max-width:900px){
  .collection-page .hero{min-height:750px}
  .collection-page .hero h1{font-size:clamp(77px,14vw,145px)}
  .collection-page .hero-art{width:min(50vw,500px);height:min(66vw,620px);top:130px;right:0}
  .collection-stage__heading,.collection-statement{display:block}
  .collection-stage__heading p,.collection-statement p{margin-top:32px}
  .flow-gallery .collection-look:nth-child(even){margin-top:72px}
  .design-intro,.product-layout{gap:30px}
  .garment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .garment-card:last-child:nth-child(odd){grid-column:1/-1;width:min(100%,340px);justify-self:center}
}
@media(min-width:801px) and (max-width:900px){
  .collection-page .hero-art{top:105px;width:43vw;height:56vw}
}
@media(max-width:800px){
  .collection-page .hero{min-height:0}
  .collection-page .hero-art{top:auto;right:auto;width:min(52vw,450px);height:min(61vw,500px);margin:-45px 3vw 0 0}
}
@media(max-width:650px){
  .flow-wrap{width:min(100% - 36px,1500px)}
  .theme-button{padding:7px 9px;font-size:10px}
  .collection-page .hero{padding:55px 0 80px}
  .collection-page .hero h1{font-size:clamp(76px,17vw,120px);line-height:.78}
  .collection-page .hero-art{width:min(72vw,420px);height:min(85vw,540px);top:auto;right:auto;margin:-25px 0 0 auto}
  .collection-page .hero p{margin-top:20px}
  .collection-page .hero-link{margin-top:24px}
  .collection-stage{padding:75px 0 110px;border-radius:42px 42px 0 0}
  .collection-stage__heading{margin-bottom:45px}
  .collection-stage__heading h1,.collection-stage__heading h2{font-size:clamp(58px,12vw,83px)}
  .flow-gallery{grid-template-columns:1fr;gap:56px}
  .flow-gallery .collection-look{width:min(100%,470px);margin:0;justify-self:start}
  .flow-gallery .collection-look:nth-child(even){width:min(90%,420px);margin-top:0;justify-self:end}
  .collection-look .product-art,.garment-card .product-art,.design-feature .product-art{height:300px}
  .collection-statement{padding-top:130px}
  .world-newsletter{margin-top:100px}
  .design-intro,.product-layout{display:block}
  .design-intro h1{font-size:clamp(42px,10vw,56px)}
  .design-feature{margin-top:45px}
  .garment-grid{grid-template-columns:1fr;gap:50px}
  .garment-card{width:min(100%,450px);margin:auto}
  .garment-card:last-child:nth-child(odd){grid-column:auto;width:min(100%,450px)}
  .garment-card:nth-child(2){padding-top:0}
  .product-layout{margin-top:70px}
  .product-visual{position:static;width:min(100%,520px);margin:0 auto 45px}
  .product-visual .product-art{height:clamp(310px,96vw,420px)}
  .product-picker h1{font-size:clamp(40px,9vw,65px)}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.look-action span,.garment-card .product-meta span span{transition:none}}
