/* ---------- intro (light, Apple-like) ---------- */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 200; }
.intro-shutters { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.intro-shutters i { background: #fbf8f3; }
.intro-shutters i:nth-child(even) { background: #f6efe4; }
.intro-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; }
.intro-logo { width: clamp(72px, 10vw, 104px); border-radius: 50%; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); opacity: 0; }
.intro-count { font-family: var(--brand); font-size: clamp(120px, 24vw, 280px); line-height: .85; overflow: hidden; color: var(--beige-2); }
.intro-count span { display: block; font-variant-numeric: tabular-nums; }
.intro-bar { width: min(240px, 56vw); height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.intro-bar b { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
html.intro-on .intro.play .intro-logo { animation: introIn .9s cubic-bezier(.2, .7, .2, 1) forwards; }
html.intro-on .intro.play .intro-bar b { animation: introBar 1.3s cubic-bezier(.4, 0, .2, 1) .4s forwards; }
html.intro-on .intro.play .intro-center { animation: introOut .45s ease 2.15s forwards; }
html.intro-on .intro.play .intro-shutters i { animation: introShut .85s cubic-bezier(.7, 0, .2, 1) forwards; }
html.intro-on .intro.play .intro-shutters i:nth-child(1) { animation-delay: 2.35s; }
html.intro-on .intro.play .intro-shutters i:nth-child(2) { animation-delay: 2.41s; }
html.intro-on .intro.play .intro-shutters i:nth-child(3) { animation-delay: 2.47s; }
html.intro-on .intro.play .intro-shutters i:nth-child(4) { animation-delay: 2.53s; }
html.intro-on .intro.play .intro-shutters i:nth-child(5) { animation-delay: 2.59s; }
@keyframes introIn { from { opacity: 0; transform: translateY(20px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introOut { to { opacity: 0; transform: scale(.96); } }
@keyframes introShut { to { transform: translateY(-100%); } }
@media (max-width: 700px) {
  .clouds i { animation: none; filter: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0)); }
}

/* ---------- hero: pinned stage, scroll scrubs the 3D frames ---------- */
main { padding-top: 0; }
.hero { position: relative; height: 260vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 24%, #f4ebde 56%, #efe3d1 78%, #f7f0e6 100%); }
.hero-word { position: absolute; z-index: 1; left: 0; right: 0; top: 34%; transform: translateY(-50%); margin: 0; display: flex; justify-content: center; gap: .18em; font-family: var(--brand); font-weight: 400; text-transform: uppercase; font-size: clamp(72px, 12.5vw, 210px); line-height: .82; letter-spacing: -.005em; color: var(--beige-2); white-space: nowrap; user-select: none; pointer-events: none; }
.hero-word span { display: inline-block; will-change: transform; }
.hero-canvas { position: absolute; z-index: 2; left: 50%; bottom: 0; height: calc(100% - 78px); aspect-ratio: 4 / 5; max-width: 100%; transform: translateX(-50%); }
.clouds { position: absolute; z-index: 3; left: 0; right: 0; bottom: -6%; height: 34%; pointer-events: none; }
.clouds i { position: absolute; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0)); filter: blur(6px); animation: drift 26s ease-in-out infinite alternate; }
.clouds i:nth-child(1) { left: -8%; width: 46%; height: 80%; bottom: 0; animation-duration: 30s; }
.clouds i:nth-child(2) { left: 16%; width: 34%; height: 60%; bottom: -12%; animation-duration: 24s; animation-delay: -6s; }
.clouds i:nth-child(3) { left: 36%; width: 30%; height: 54%; bottom: -16%; animation-duration: 28s; animation-delay: -12s; }
.clouds i:nth-child(4) { right: 14%; width: 38%; height: 62%; bottom: -10%; animation-duration: 32s; animation-delay: -3s; }
.clouds i:nth-child(5) { right: -10%; width: 44%; height: 80%; bottom: 0; animation-duration: 27s; animation-delay: -9s; }
.clouds i:nth-child(6) { left: 4%; width: 22%; height: 34%; bottom: 46%; opacity: .55; animation-duration: 35s; }
.clouds i:nth-child(7) { right: 6%; width: 22%; height: 30%; bottom: 50%; opacity: .5; animation-duration: 33s; animation-delay: -15s; }
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(4%); } }
.hero-tagline { position: absolute; z-index: 4; top: 92px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--bronze); letter-spacing: .01em; }
.hero-cue { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 11px; color: var(--muted); letter-spacing: .04em; transition: opacity .4s; }
.hero-cue span { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .22); position: relative; }
.hero-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: rgba(0, 0, 0, .4); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
/* side panels fade in once the box has opened */
.swatches, .hero-info { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.hero.show-panels .swatches, .hero.show-panels .hero-info { opacity: 1; transform: none; pointer-events: auto; }
.swatches { position: absolute; z-index: 5; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 56%; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .65); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06); }
.swatch { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-selected="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.hero-info { position: absolute; z-index: 5; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 52%; width: 230px; }
.hero-info .hi-in { animation: infoIn .6s var(--ease); }
.hero-info small { font-size: 12px; color: var(--bronze); }
.hero-info h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 6px; }
.hero-info p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.hero-info .row { display: flex; align-items: center; gap: 12px; }
.hero-info .price { font-size: 14px; font-weight: 500; }
.hero-info .btn { height: 34px; padding: 0 16px; font-size: 13px; }
@keyframes infoIn { from { opacity: 0; transform: translateY(8px); } }
html.reduce-hero .hero { height: auto; }
html.reduce-hero .hero-sticky { position: relative; }

/* ---------- feature (shoe of the week) ---------- */
.feature-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-in h2 { font-size: clamp(40px, 5.6vw, 72px); margin: 14px 0 0; }
.feature-photo { position: relative; width: min(860px, 100%); margin: clamp(28px, 4vw, 48px) 0 28px; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: #111; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-photo:hover img { transform: scale(1.03); }
.feature-in p { max-width: 460px; color: var(--muted); font-size: 17px; }
.feature-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 24px; }
.feature-specs span { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--paper); font-size: 13px; display: inline-flex; align-items: center; }
.feature-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- ranges ---------- */
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.range { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 22px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; }
.range img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.range::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .35) 100%); }
.range:hover img { transform: scale(1.05); }
.range small { font-size: 14px; opacity: .9; }
.range h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.range .foot { display: flex; justify-content: space-between; align-items: center; }
.range .foot span { font-size: 13px; opacity: .9; }
.range .btn { height: 34px; padding: 0 16px; font-size: 13px; }

/* ---------- brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.brand-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.35; padding: 18px; border-radius: var(--r); background: var(--paper); overflow: hidden; transition: background .3s, transform .5s var(--ease); }
.brand-tile strong { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.03em; position: relative; z-index: 1; }
.brand-tile small { font-size: 13px; color: var(--muted); position: relative; z-index: 1; display: flex; justify-content: space-between; }
.brand-tile img { position: absolute; right: -10%; bottom: -14%; width: 56%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; transform: rotate(-8deg) translateY(30%); opacity: 0; transition: all .6s var(--ease); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.brand-tile:hover { background: #ececf0; transform: translateY(-2px); }
.brand-tile:hover img { opacity: 1; transform: rotate(-8deg); }

/* ---------- service (25 box) ---------- */
.service { background: linear-gradient(180deg, #fff, #faf6f0); }
.service-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.service-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #ece6da; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-copy h2 { font-size: clamp(36px, 4.4vw, 56px); margin: 12px 0 18px; }
.service-copy > p { font-size: 17px; color: var(--muted); max-width: 500px; }
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.service-list li { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 4px; }
.service-list svg { width: 22px; height: 22px; color: var(--bronze); }
.service-list strong { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.service-list span { font-size: 13px; color: var(--muted); }
.service-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- instagram ---------- */
.insta { padding: clamp(72px, 10vw, 120px) 0; }
.insta-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 19vw, 260px); gap: 12px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; scroll-snap-type: x mandatory; }
.insta-row::-webkit-scrollbar { display: none; }
.insta-row a { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper); scroll-snap-align: start; }
.insta-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-row a:hover img { transform: scale(1.04); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .swatches { left: 50%; top: auto; bottom: 160px; transform: translate(-50%, 12px); }
  .hero.show-panels .swatches { transform: translateX(-50%); }
  .hero.show-panels .hero-info { transform: translateX(-50%); }
  .hero-info { left: 50%; right: auto; transform: translate(-50%, 12px); top: auto; bottom: 34px; width: min(340px, calc(100% - 32px)); text-align: center; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line); }
  .hero-info p { display: none; }
  .hero-info .row { justify-content: center; }
  .service-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .range-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .range { padding: 14px; aspect-ratio: 3 / 4.2; }
  .range .foot span { display: none; }
  .service-list { grid-template-columns: 1fr; }
}

/* ===== phone polish: carousels instead of long stacks ===== */
@media (max-width: 560px) {
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 22px; }
  .sec-head.center p { font-size: 15px; }
  .newin .grid, .brand-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-left: var(--gutter); }
  .newin .grid::-webkit-scrollbar, .brand-grid::-webkit-scrollbar { display: none; }
  .newin .grid { grid-auto-columns: 62%; gap: 12px; }
  .newin .grid > * { scroll-snap-align: start; }
  .brand-grid { grid-auto-columns: 38%; grid-template-rows: auto auto; gap: 8px; }
  .brand-tile { aspect-ratio: 1.15; padding: 14px; scroll-snap-align: start; }
  .feature-photo { aspect-ratio: 4 / 3; border-radius: 22px; margin: 22px 0 18px; }
  .feature-in p { font-size: 15px; }
  .service-img { aspect-ratio: 4 / 3; }
  .service-copy > p { font-size: 15px; }
  .service-list { grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; }
  .service-list li { padding: 12px; }
  .service-list span { font-size: 12px; }
  .service-ctas .btn { flex: 1; }
  .insta { padding: 56px 0; }
  .insta-row { grid-auto-columns: 46%; }
  .feature-ctas { width: 100%; }
  .feature-ctas .btn { flex: 1; }
}

/* phone hero */
@media (max-width: 860px) {
  .hero { height: 230vh; }
  .hero-word { top: 33%; flex-direction: column; align-items: center; gap: 0; font-size: 31vw; line-height: .86; }
  .hero-canvas { height: 92%; width: 100%; aspect-ratio: auto; }
  .hero-tagline { top: 82px; }
  .hero-cue { bottom: 18px; }
}
@media (min-width: 861px) {
  .range-grid, .brand-grid { gap: 16px; }
  .service-in { gap: clamp(48px, 7vw, 112px); }
  .service-list { gap: 12px; margin: 34px 0; }
  .feature-photo { margin: 56px 0 32px; }
  .insta-row { gap: 16px; }
}

/* ---------- the 25 box: editorial, typographic (no icon cards) ---------- */
.service { background: #faf8f4; }
.svc-label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.svc-title { font-size: clamp(28px, 2.9vw, 40px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin: 18px 0 40px; max-width: 15em; }
.svc-facts { border-top: 1px solid rgba(0, 0, 0, .12); }
.svc-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.svc-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-top: 3px; }
.svc-facts dd { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.svc-links { display: flex; gap: 28px; margin-top: 32px; }
.svc-links a { font-size: 14px; font-weight: 500; color: var(--ink); padding-bottom: 3px; border-bottom: 1px solid var(--ink); transition: opacity .2s; }
.svc-links a:hover { opacity: .55; }
@media (max-width: 560px) {
  .svc-title { margin: 14px 0 28px; }
  .svc-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .svc-links { gap: 22px; }
}
