/* ---------- Scene 1: fly-through, grow to full bleed, value carousel (sticky) ---------- */
.scene { position: relative; height: 560vh; background: var(--paper); }
.scene-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.fly { position: absolute; inset: 0; perspective: 1200px; }
.fly-card { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--r, 3 / 4); margin: 0; will-change: transform, opacity; }
.fly-card .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.fly-title { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.fly-title > * { pointer-events: auto; }
.fly-title h1 { font: 400 clamp(52px, 8.4vw, 150px)/.98 var(--serif); margin: 0; letter-spacing: -.01em; font-variant-ligatures: normal; }
.fly-title h1 sup { font: 400 clamp(14px, 1.3vw, 20px)/1 var(--sans); vertical-align: top; position: relative; top: .6em; margin-left: .2em; color: var(--ink-soft); }
.fly-title p { margin: 22px 0 28px; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-soft); max-width: 52ch; }
.title-bg { background: rgba(251, 250, 248, .78); padding: 4px 18px 6px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.feature { position: absolute; inset: 0; clip-path: inset(36% 41% 36% 41% round 12px); opacity: 0; will-change: clip-path; }
.feature-img { position: absolute; inset: -6%; background: var(--wine) center / cover no-repeat; will-change: transform; }
.feature-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 8, 12, .55) 0%, rgba(30, 8, 12, .15) 40%, rgba(30, 8, 12, .7) 100%); opacity: 0; }

.values { position: absolute; inset: 0; color: var(--shea); opacity: 0; pointer-events: none; }
.values-track { position: absolute; left: 0; top: 40%; display: flex; gap: 9vw; white-space: nowrap; will-change: transform; }
.vword { font: 400 clamp(54px, 7.4vw, 128px)/1 var(--serif); opacity: .28; transition: opacity .5s var(--ease); font-variant-ligatures: normal; }
.vword.is-active { opacity: 1; }
.values-line { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(40% + clamp(80px, 10vw, 170px)); height: 1px; background: rgba(242, 236, 228, .7); transform-origin: left; transform: scaleX(0); }
.values-copy { position: absolute; right: var(--gutter); bottom: 9vh; width: min(420px, 80vw); height: 7.5em; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; }
.values-copy p { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.values-copy p.is-active { opacity: 1; transform: none; }
.values-name { position: absolute; left: var(--gutter); bottom: 9vh; font-size: clamp(22px, 1.8vw, 30px); opacity: .9; }

/* ---------- Scene 2: category index slides up over the pinned image ---------- */
.cover { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100dvh; background: var(--sand); color: var(--wine); display: flex; flex-direction: column; justify-content: center; min-height: 100dvh; padding: 140px 0 120px; box-shadow: 0 -30px 60px rgba(28, 10, 12, .18); }
.cover-head { font-size: 14px; color: var(--wine); opacity: .85; margin: 0 0 34px; }
.cat-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .32em; font: 300 clamp(46px, 7.2vw, 124px)/1.08 var(--sans); letter-spacing: -.02em; }
.cat-list li { display: inline-flex; align-items: baseline; }
.cat-list li + li::before { content: "/"; color: rgba(106, 41, 48, .3); margin-right: .32em; }
.cat-list a { transition: opacity .35s var(--ease), color .35s; }
.cat-list a sup { font: 400 clamp(13px, 1.1vw, 18px)/1 var(--sans); vertical-align: top; position: relative; top: .55em; margin-left: .15em; color: var(--wine); opacity: .75; }
.cat-list.is-hovering a { opacity: .3; }
.cat-list.is-hovering a.is-hot { opacity: 1; color: var(--ink); }
.cat-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 70px; }
.cat-foot p { margin: 0; max-width: 46ch; color: var(--wine); }
.cover .btn--outline { border-color: var(--wine); color: var(--wine); }
.cover .btn--outline:hover { background: var(--wine); color: var(--sand); }
.peek { position: fixed; left: 0; top: 0; width: 230px; aspect-ratio: 3 / 4; z-index: 30; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  border-radius: 115px 115px 0 0; overflow: hidden; background: var(--tile) center / cover no-repeat; transition: opacity .3s var(--ease); }
.peek.is-on { opacity: 1; }

/* ---------- New this season ---------- */
.shelf { padding-top: 40px; padding-bottom: 120px; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.shelf-head h2 { font: 400 clamp(34px, 3.6vw, 56px)/1 var(--sans); margin: 0; letter-spacing: -.02em; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 14px; }

/* ---------- Editorial collage (brand book page 10) ---------- */
.look { display: grid; grid-template-columns: 63fr 37fr; min-height: 100vh; min-height: 100dvh; background: #FFFFFF; overflow: hidden; }
.look-left { position: relative; }
.look-caption { position: absolute; left: var(--gutter); top: clamp(90px, 13vh, 150px); max-width: 300px; z-index: 2; }
.look-caption h2 { font: 400 clamp(34px, 3.2vw, 52px)/1 var(--sans); margin: 0 0 14px; color: var(--wine); letter-spacing: -.02em; }
.look-caption p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.look-product { position: absolute; left: 47%; top: 5%; width: 38%; aspect-ratio: 2 / 3; background: #F0F0F0 url("../img/heel-pair.jpg") 50% 50% / cover no-repeat; will-change: transform; }
.look-card { position: absolute; left: 20%; top: 43%; width: 33%; aspect-ratio: 600 / 520; background: var(--sand); color: var(--wine); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; will-change: transform; }
.look-card .logo-stack { width: 64%; }
.look-tall { position: relative; display: block; overflow: hidden; background: #DCD8D5; }
.look-tall span { position: absolute; inset: -6% 0; background: url("../img/heel-foot-hd.jpg") 50% 60% / cover no-repeat; will-change: transform; }

/* ---------- Scroll-spy: why Warmfeet ---------- */
.spy { position: relative; height: 420vh; background: var(--shea); }
.spy-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 10px); }
.spy-head { text-align: center; margin-bottom: clamp(26px, 4vh, 50px); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.pill .ph { font-size: 15px; color: var(--wine); }
.spy-head h2 { font: 400 clamp(36px, 4.2vw, 68px)/1.04 var(--sans); margin: 18px auto 0; max-width: 18ch; letter-spacing: -.02em; }
.spy-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 1.65fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.spy-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.spy-list li { position: relative; padding: 16px 0 16px 26px; cursor: pointer; }
.spy-list li::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--wine); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.spy-list li.is-active::before { transform: scaleY(1); }
.spy-list h3 { font: 400 clamp(22px, 1.9vw, 30px)/1.15 var(--sans); margin: 0; color: rgba(28, 26, 25, .38); transition: color .4s; letter-spacing: -.02em; }
.spy-list p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.spy-list li.is-active h3 { color: var(--ink); }
.spy-list li.is-active p { max-height: 7em; opacity: 1; }
.spy-media { position: relative; aspect-ratio: 16 / 10; max-height: 56vh; width: 100%; border-radius: 24px; overflow: hidden; background: var(--wine); }
.spy-media .img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); filter: blur(6px); transition: opacity .8s var(--ease), transform 1.2s var(--ease), filter .8s var(--ease); }
.spy-media .img.is-active { opacity: 1; transform: none; filter: none; }

/* ---------- Scrubbed statement ---------- */
.statement { padding-top: clamp(110px, 16vh, 200px); padding-bottom: clamp(110px, 16vh, 200px); }
.statement p { font: 300 clamp(32px, 4.3vw, 70px)/1.14 var(--sans); margin: 0; max-width: 24ch; letter-spacing: -.02em; }
.statement .w { opacity: .14; }
.statement-foot { margin-top: 40px; display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.statement-foot svg { width: 30px; height: 39.2px; flex: none; color: var(--wine); }

/* ---------- Store panel (dark rounded, glow) ---------- */
.store { padding: 0 var(--gutter) 120px; }
.store-panel { position: relative; overflow: hidden; border-radius: 24px; background: #1C1A19; color: var(--shea); padding: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; transform-origin: 50% 100%; }
.store-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 75% at 6% 0%, rgba(122, 51, 59, .85) 0%, rgba(122, 51, 59, 0) 70%), radial-gradient(30% 40% at 0% 0%, rgba(226, 196, 142, .22), transparent 70%); pointer-events: none; }
.store-panel > * { position: relative; }
.store-panel h2 { font: 300 clamp(44px, 5.4vw, 92px)/1 var(--sans); margin: 0; letter-spacing: -.02em; }
.store-panel h2 .foil { padding-bottom: .08em; }
.store-panel p { margin: 22px 0 32px; max-width: 38ch; color: rgba(242, 236, 228, .82); font-size: 16px; }
.store-meta { display: grid; grid-template-columns: auto auto; gap: 6px 26px; justify-content: start; font-size: 14px; margin-bottom: 34px; color: rgba(242, 236, 228, .82); }
.store-meta b { font-weight: 500; color: var(--shea); }
.store-img { aspect-ratio: 4 / 3.4; border-radius: 999px 999px 18px 18px; background: var(--wine) url("../img/shoebox.jpg") 52% 55% / cover no-repeat; }

/* ---------- Bento services ---------- */
.services { padding-bottom: 130px; }
.services h2 { font: 400 clamp(34px, 3.6vw, 56px)/1 var(--sans); margin: 0 0 34px; letter-spacing: -.02em; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: minmax(260px, auto) minmax(220px, auto); gap: 14px; }
.cell { position: relative; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.cell h3 { font: 400 clamp(26px, 2.2vw, 36px)/1.05 var(--sans); margin: 0 0 10px; letter-spacing: -.02em; }
.cell p { margin: 0; font-size: 14.5px; max-width: 34ch; }
.cell .ph { font-size: 34px; margin-bottom: auto; }
.cell--img { grid-row: 1 / 3; background: #241612; color: var(--shea); padding: 0; }
.cell--img .img { flex: 1; min-height: 300px; background: url("../img/insole.jpg") 40% 40% / cover no-repeat; }
.cell--img .txt { padding: 26px 30px 30px; }
.cell--img p { color: rgba(242, 236, 228, .8); }
.cell--accent { background: var(--accent); color: #FFF6EE; }
.cell--sand { background: var(--sand); color: var(--wine-deep); }
.cell--wine { grid-column: 2 / 4; background: var(--wine); color: var(--shea); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; }
.cell--wine p { color: rgba(242, 236, 228, .82); }
.cell--wine .btn { flex: none; }
.cell .btn .ph, .store-panel .btn .ph { font-size: 18px; margin: 0; }

/* ---------- Instagram ---------- */
.insta { padding-bottom: 110px; }
.insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.insta-head h2 { font: 400 clamp(34px, 3.6vw, 56px)/1.05 var(--sans); margin: 0; letter-spacing: -.02em; }
.insta-head h2 a { color: var(--wine); }
.insta-sub { margin: 14px 0 30px; color: var(--ink-soft); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid a { position: relative; aspect-ratio: 1; background: var(--tile) center / cover no-repeat; overflow: hidden; }
.insta-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(74, 26, 32, .55); opacity: 0; transition: opacity .35s var(--ease); }
.insta-grid a .ph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); font-size: 30px; color: var(--shea); opacity: 0; z-index: 1; transition: opacity .35s, transform .35s var(--ease); }
.insta-grid a:hover::after, .insta-grid a:focus-visible::after { opacity: 1; }
.insta-grid a:hover .ph, .insta-grid a:focus-visible .ph { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .scene { height: 470vh; }
  .fly-card { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: var(--mw, calc(var(--w) * 2.3)); }
  .fly-card.hide-sm { display: none; }
  .fly-title h1 { font-size: clamp(48px, 14vw, 72px); }
  .values-track { top: 34%; }
  .values-copy { left: var(--gutter); right: var(--gutter); width: auto; bottom: 12vh; }
  .values-name { bottom: 5vh; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .spy { height: auto; }
  .spy-sticky { position: relative; height: auto; padding: 100px 0; }
  .spy-grid { grid-template-columns: 1fr; }
  .spy-list li p { max-height: none; opacity: 1; }
  .spy-list h3 { color: var(--ink); }
  .spy-media { order: -1; }
  .store-panel { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .cell--img { grid-row: auto; }
  .cell--wine { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .cat-foot { flex-direction: column; align-items: flex-start; }
  .peek { display: none; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .look { grid-template-columns: 1fr; }
  .look-left { min-height: 118vw; }
  .look-caption { top: 32px; max-width: 70%; }
  .look-product { left: 44%; top: 26%; width: 50%; }
  .look-card { left: var(--gutter); top: 52%; width: 50%; }
  .look-tall { height: 120vw; }
}

/* ---------- reduced motion: no pinning, everything visible ---------- */
.rm .scene { height: auto; }
.rm .scene-sticky { position: relative; height: auto; overflow: visible; }
.rm .fly { position: relative; height: 100dvh; }
.rm .fly-title { position: absolute; }
.rm .feature { position: relative; height: 100dvh; clip-path: none; opacity: 1; }
.rm .feature-scrim { opacity: 1; }
.rm .values { opacity: 1; top: 100dvh; bottom: auto; height: 100dvh; }
.rm .values-track { position: relative; top: 30%; flex-direction: column; gap: 6px; padding-left: var(--gutter); }
.rm .vword { opacity: 1; }
.rm .values-copy p { position: relative; opacity: 1; transform: none; margin-bottom: 12px; }
.rm .values-copy { height: auto; }
.rm .cover { margin-top: 0; }
.rm .spy { height: auto; }
.rm .spy-sticky { position: relative; height: auto; padding: 100px 0; }
.rm .statement .w { opacity: 1; }

/* category rows and spy thumbnails are phone-only */
.cat-thumb, .cat-arrow, .spy-thumb { display: none; }

/* =========================================================================
   Mobile home: fewer competing sizes, one spacing rhythm, lists instead of collages
   ========================================================================= */
@media (max-width: 760px) {
  .scene { height: 420vh; }
  .fly-title h1 { font-size: 15vw; line-height: .96; }
  .fly-title p { font-size: 15px; margin: 14px 0 22px; max-width: 30ch; }
  .vword { font-size: 15vw; }
  .values-track { top: 33%; }
  .values-line { top: calc(33% + 20vw); left: var(--gutter); right: var(--gutter); }
  .values-copy { bottom: 15vh; height: 6.6em; font-size: 15px; }
  .values-name { font-size: 13px; bottom: 7vh; letter-spacing: .02em; }

  .cover { display: flex; flex-direction: column; justify-content: center; padding: 72px 0 56px; box-shadow: 0 -18px 40px rgba(28, 10, 12, .16); }
  .cover-head { margin-bottom: 14px; font-size: 13px; }
  .cat-list { display: block; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
  .cat-list li { display: block; border-bottom: 1px solid rgba(106, 41, 48, .18); }
  .cat-list li:first-child { border-top: 1px solid rgba(106, 41, 48, .18); }
  .cat-list li + li::before { content: none; }
  .cat-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
  .cat-thumb { display: block; width: 52px; height: 52px; flex: none; background: #F0F0F0 center / cover no-repeat; }
  .cat-list a sup { top: 0; vertical-align: baseline; font-size: 13px; margin-left: auto; }
  .cat-arrow { display: block; font-size: 18px; margin-left: auto; }
  .cat-foot { margin-top: 26px; gap: 18px; }
  .cat-foot p { font-size: 14px; }
  .cat-foot .btn { width: 100%; }

  .shelf { padding-top: 56px; padding-bottom: 60px; }
  .shelf-head { margin-bottom: 18px; }
  .shelf-head h2 { font-size: 26px; }
  .grid-4 { gap: 26px 10px; }

  .look { display: block; min-height: 0; padding: 8px 0 60px; background: var(--paper); }
  .look-left { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 var(--gutter); }
  .look-caption { position: static; grid-column: 1 / -1; max-width: none; margin-bottom: 8px; }
  .look-caption h2 { font-size: 26px; margin-bottom: 8px; }
  .look-caption p { font-size: 14px; margin-bottom: 12px; }
  .look-product, .look-card { position: static; width: auto; aspect-ratio: 3 / 4; transform: none !important; }
  .look-card .logo-stack { width: 70%; }
  .look-tall { display: block; height: auto; aspect-ratio: 4 / 5; margin: 10px var(--gutter) 0; }
  .look-tall span { inset: 0; transform: none !important; }

  .spy-sticky { padding: 56px 0 48px; }
  .spy-head { text-align: left; margin-bottom: 20px; }
  .spy-head h2 { font-size: 28px; margin: 14px 0 0; max-width: 16ch; }
  .spy-media { display: none; }
  .spy-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-left: 0; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .spy-list::-webkit-scrollbar { display: none; }
  .spy-list li { flex: 0 0 80%; scroll-snap-align: start; padding: 0; background: var(--paper); cursor: default; }
  .spy-list li::before { content: none; }
  .spy-thumb { display: block; aspect-ratio: 16 / 11; background-size: cover; background-repeat: no-repeat; }
  .spy-list h3 { font-size: 19px; padding: 16px 18px 0; color: var(--ink); }
  .spy-list p { max-height: none; opacity: 1; padding: 6px 18px 18px; margin: 0; font-size: 14px; }

  .statement { padding-top: 64px; padding-bottom: 64px; }
  .statement p { font-size: 26px; line-height: 1.22; }
  .statement-foot { margin-top: 22px; font-size: 13px; }

  .store { padding: 0 10px 60px; }
  .store-panel { padding: 30px 22px 22px; border-radius: 18px; gap: 24px; }
  .store-panel h2 { font-size: 34px; }
  .store-panel p { font-size: 15px; margin: 12px 0 20px; }
  .store-meta { font-size: 13px; gap: 6px 18px; margin-bottom: 22px; }
  .store-panel .btn { width: 100%; }
  .store-img { aspect-ratio: 4 / 3; border-radius: 160px 160px 12px 12px; }

  .services { padding-bottom: 60px; }
  .services h2 { font-size: 26px; margin-bottom: 18px; }
  .bento { gap: 10px; }
  .cell { padding: 22px; }
  .cell h3 { font-size: 21px; }
  .cell p { font-size: 14px; }
  .cell .ph { font-size: 26px; margin-bottom: 22px; }
  .cell--img .img { min-height: 190px; }
  .cell--img .txt { padding: 20px 22px 22px; }
  .cell--wine { gap: 18px; }
  .cell--wine .btn { width: 100%; }

  .insta { padding-bottom: 60px; }
  .insta-head h2 { font-size: 24px; }
  .insta-head .btn { display: none; }
  .insta-sub { margin: 8px 0 18px; font-size: 14px; }
  .insta-grid { gap: 6px; }
}

/* category rows (phones): hover/press feedback */
@media (max-width: 760px) {
  .cat-list a { transition: opacity .3s var(--ease), color .3s, padding .4s var(--ease); }
  .cat-thumb { transition: transform .5s var(--ease); }
  .cat-arrow { transition: transform .4s var(--ease); }
  .cat-list a.is-hot .cat-thumb, .cat-list a:active .cat-thumb { transform: scale(1.08); }
  .cat-list a.is-hot .cat-arrow, .cat-list a:active .cat-arrow { transform: translateX(4px); }
  .cat-list a:active { opacity: .7; }
}
