/* Alta - shop layer: notice bar, bag button, product cards, bag drawer, sections, footer. */
:root { --tile: #f7f5ef; --bar-h: 34px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* notice bar (replaces the popup: their own offers, one line) */
.notice { height: var(--bar-h); background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center;
  font: 400 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 21; overflow: hidden; }
.notice__msgs { position: relative; height: 1.4em; width: 100%; }
.notice__msgs p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 0 16px;
  animation: noticeSwap 12s var(--ease) infinite both; }
.notice__msgs p:nth-child(2) { animation-delay: -6s; }
.notice i { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }
.notice b { font-weight: 400; color: var(--yellow); }
@keyframes noticeSwap { 0% { transform: translateY(110%); opacity: 0; } 4%, 47% { transform: none; opacity: 1; } 51%, 100% { transform: translateY(-110%); opacity: 0; } }

/* bag button in the nav */
.bagbtn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 500 14px/1 "Haffer", var(--sans); transition: background .3s var(--ease), color .3s var(--ease); }
.bagbtn [data-bag-count] { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(245,243,237,.16); font: 400 12px/1 var(--mono); transition: background .3s var(--ease), color .3s var(--ease), transform .45s var(--ease); }
.bagbtn.has-items [data-bag-count] { background: var(--yellow); color: var(--ink); }
.bagbtn:hover { background: var(--yellow); color: var(--ink); }
.bagbtn:hover [data-bag-count] { background: var(--ink); color: var(--yellow); }
.bump [data-bag-count] { transform: scale(1.25); }

/* section frame */
.sec { padding: clamp(80px, 9vw, 150px) var(--gut); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(30px, 3.4vw, 52px); }
.kick { display: flex; align-items: center; gap: 10px; font: 400 11px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.kick i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(17,17,17,.25); flex: none; }
.h2 { font: 400 clamp(44px, 5.2vw, 96px)/.92 var(--display); letter-spacing: -.035em; }
.h2 em { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
.h2 em::after { content: ""; position: absolute; left: -.03em; right: -.05em; bottom: .08em; height: .24em; background: var(--yellow); z-index: -1; }
.more { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 "Haffer", var(--sans); padding: 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.more svg { width: 16px; height: 10px; transition: transform .45s var(--ease); }
.more:hover svg { transform: translateX(4px); }

/* filter pills (shared by home + shop) */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); font: 400 14px/1 var(--sans);
  display: inline-flex; align-items: center; gap: 8px; transition: box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease); white-space: nowrap; }
.pill small { font: 400 10.5px/1 var(--mono); color: var(--ink-2); letter-spacing: .04em; transition: color .3s var(--ease); }
.pill:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.pill[aria-pressed="true"] small { color: var(--yellow); }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 44px) clamp(12px, 1.2vw, 20px); }
.pc { min-width: 0; animation: pcIn .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes pcIn { from { opacity: 0; transform: translateY(16px); } }
.pc__tile { position: relative; aspect-ratio: 4 / 5; background: var(--tile); border-radius: 4px; overflow: hidden; isolation: isolate; }
.pc__img { position: absolute; inset: 0; display: block; }
.pc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply;
  transition: opacity .55s var(--ease), transform .9s var(--ease); }
.pc__b { opacity: 0; transform: scale(1.03); }
.pc__tile:hover .pc__b { opacity: 1; transform: none; }
.pc__tile:hover .pc__a:not(:only-child) { opacity: 0; }
.pc__tile:hover .pc__a:only-child { transform: scale(1.04); }
.pc__tag { position: absolute; left: 12px; top: 12px; z-index: 2; height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center;
  font: 400 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--paper); }
.pc__tag--sale { background: var(--ink); color: var(--yellow); }
.pc__tag--alta { background: var(--yellow); }
.pc__quick { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3; padding: 11px 12px 12px; border-radius: 4px;
  background: rgba(245,243,237,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(calc(100% + 10px)); transition: transform .5s var(--ease); }
.pc__tile:hover .pc__quick, .pc__tile:focus-within .pc__quick { transform: none; }
.pc__quick p { font: 400 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 9px; }
.pc__quick.is-gone p { margin: 0; }
.pc__sizes { display: flex; flex-wrap: wrap; gap: 5px; }
.pc__sizes > * { min-width: 38px; height: 32px; padding: 0 9px; border-radius: 999px; display: inline-grid; place-items: center; font: 400 12.5px/1 var(--sans);
  box-shadow: inset 0 0 0 1px var(--rule); }
.pc__sizes button { transition: background .25s ease, box-shadow .25s ease; }
.pc__sizes button:hover { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.pc__sizes .is-out { color: #a5a29a; text-decoration: line-through; text-decoration-color: rgba(17,17,17,.3); }
.pc__one { width: 100%; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--paper);
  font: 500 14px/1 "Haffer", var(--sans); transition: background .3s ease, color .3s ease; }
.pc__one:hover { background: var(--yellow); color: var(--ink); }
.pc__meta { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; padding-top: 14px; }
.pc__vendor { font: 400 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.pc__price { font: 400 14.5px/1.45 var(--sans); text-align: right; grid-row: span 2; }
.pc__price s { color: #9c998f; margin-right: 4px; }
.pc__name { font: 400 16px/1.3 var(--sans); margin-top: 3px; transition: color .25s ease; }
.pc__colour { font: 300 14px/1.35 var(--sans); color: var(--ink-2); grid-column: 1; }
.pc__meta:hover .pc__name { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- bag drawer ---------- */
.bag { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.bag__scrim { position: absolute; inset: 0; background: rgba(17,17,17,.38); opacity: 0; transition: opacity .45s var(--ease); }
.bag__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(calc(100% + 80px)); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -40px rgba(0,0,0,.5); }
.bag.is-open { pointer-events: auto; }
.bag.is-open .bag__scrim { opacity: 1; }
.bag.is-open .bag__panel { transform: none; }
.bag-open, .bag-open body { overflow: hidden; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--rule); }
.bag__head h2 { font: 400 30px/1 var(--display); letter-spacing: -.03em; }
.bag__n { font: 400 13px/1 var(--mono); letter-spacing: .06em; color: var(--ink-2); vertical-align: middle; }
.bag__x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule); transition: background .3s ease, box-shadow .3s ease; }
.bag__x:focus { outline: none; }
.bag__x:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.bag__x:hover { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.bag__x svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.5; }
.bag__ship { padding: 0 26px; }
.bag__ship p { font: 400 13.5px/1.4 var(--sans); padding: 16px 0 10px; }
.bag__ship i { display: block; height: 4px; border-radius: 4px; background: var(--tile); position: relative; overflow: hidden; margin-bottom: 16px; }
.bag__ship i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p)); transition: transform .7s var(--ease); }
.bag__list { list-style: none; flex: 1; overflow-y: auto; padding: 0 26px; border-top: 1px solid var(--rule); }
.bag__item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.bag__item.is-new { animation: bagNew 1.2s var(--ease); }
@keyframes bagNew { 0% { background: rgba(252,255,0,.0); } 20% { background: rgba(252,255,0,.45); } 100% { background: rgba(252,255,0,0); } }
.bag__item img { width: 84px; aspect-ratio: 4/5; object-fit: cover; background: var(--tile); border-radius: 3px; mix-blend-mode: multiply; }
.bag__vendor { font: 400 10px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.bag__name { font: 400 15px/1.3 var(--sans); }
.bag__meta { font: 300 13.5px/1.4 var(--sans); color: var(--ink-2); margin: 2px 0 10px; }
.bag__qty { display: inline-flex; align-items: center; height: 32px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); }
.bag__qty button { width: 32px; height: 32px; border-radius: 50%; font-size: 16px; transition: background .25s ease; }
.bag__qty button:hover { background: var(--yellow); }
.bag__qty span { min-width: 18px; text-align: center; font: 400 13px/1 var(--mono); }
.bag__price { font: 400 14.5px/1.5 var(--sans); }
.bag__empty { padding: 40px 0; font: 300 16px/1.6 var(--sans); color: var(--ink-2); }
.bag__empty a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.bag__foot { padding: 20px 26px 26px; border-top: 1px solid var(--rule); }
.bag__sub { display: flex; justify-content: space-between; font: 400 17px/1 var(--sans); margin-bottom: 10px; }
.bag__sub b { font-weight: 400; }
.bag__note { font: 300 13px/1.5 var(--sans); color: var(--ink-2); margin-bottom: 16px; }
.bag__note b { font: 400 12px/1 var(--mono); color: var(--ink); background: var(--yellow); padding: 2px 4px; letter-spacing: .06em; }
.bag__go { width: 100%; justify-content: center; }
.bag__go.is-off { opacity: .35; pointer-events: none; }
.bag__keep { width: 100%; height: 44px; margin-top: 6px; font: 400 14px/1 var(--sans); color: var(--ink-2); }
.bag__keep:hover { color: var(--ink); text-decoration: underline; }

/* ---------- visit (the finale) + footer ---------- */
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: stretch; border-top: 1px solid var(--rule); }
.visit__pic { position: relative; min-height: 720px; overflow: hidden; }
.visit__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.visit__pic figcaption { position: absolute; left: var(--gut); bottom: 22px; color: #fff; font: 400 10.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.visit__copy { padding: clamp(70px, 8vw, 140px) var(--gut) clamp(70px, 8vw, 140px) clamp(48px, 7vw, 140px); display: flex; flex-direction: column; justify-content: center; }
.visit__h { font: 400 clamp(52px, 6.4vw, 120px)/.9 var(--display); letter-spacing: -.04em; margin-bottom: 28px; }
.visit__lede { font: 300 clamp(16.5px, 1.25vw, 19.5px)/1.5 var(--sans); color: #2b2a27; max-width: 30em; margin-bottom: 34px; }
.visit__facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; column-gap: clamp(36px, 4vw, 70px); padding-top: 18px; border-top: 1px solid var(--rule); max-width: 560px; margin-bottom: 36px; }
.visit__facts dt { font: 400 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.visit__facts dd { font: 400 15px/1.5 var(--sans); }
.visit__facts a { border-bottom: 1px solid var(--rule); }
.visit__facts a:hover { border-color: var(--ink); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.foot { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1.3fr; gap: 40px; padding: 56px var(--gut) 28px; border-top: 1px solid var(--rule); }
.foot__brand img { width: 70px; margin-bottom: 16px; }
.foot__brand p, .foot__mail > p { font: 300 14.5px/1.55 var(--sans); color: var(--ink-2); }
.foot h3 { font: 400 10.5px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.foot nav { display: flex; flex-direction: column; gap: 9px; font: 400 15px/1.3 var(--sans); }
.foot nav a { width: max-content; background: linear-gradient(var(--yellow), var(--yellow)) 0 85% / 0 .32em no-repeat; transition: background-size .4s var(--ease); }
.foot nav a:hover { background-size: 100% .32em; }
.foot__mail label { display: flex; margin-top: 16px; border-bottom: 1px solid var(--ink); }
.foot__mail input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; font: 400 16px/1 var(--sans); color: var(--ink); outline: none; }
.foot__mail button { width: 46px; font-size: 20px; transition: transform .4s var(--ease); }
.foot__mail button:hover { transform: translateX(4px); }
.foot__ok { display: none; margin-top: 12px; font: 400 14px/1.4 var(--sans) !important; color: var(--ink) !important; }
.foot__mail.is-done label { display: none; }
.foot__mail.is-done .foot__ok { display: block; }
.foot__fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 30px; padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--rule);
  font: 400 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.foot__fine a:hover { color: var(--ink); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --bar-h: 30px; }
  .notice { font-size: 9.5px; letter-spacing: .1em; }
  .bagbtn { height: 42px; padding: 0 6px 0 14px; font-size: 13px; }
}
@media (max-width: 520px) {
  .nav .brand__sub { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
  .pc__quick { display: none; }
  .pc__name { font-size: 14.5px; }
  .pc__colour { font-size: 13px; }
  .pc__price { font-size: 13.5px; grid-row: auto; grid-column: 1; text-align: left; order: 9; margin-top: 4px; }
  .pc__meta { grid-template-columns: 1fr; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .visit { grid-template-columns: 1fr; }
  .visit__pic { min-height: 0; aspect-ratio: 4 / 5; }
  .visit__copy { padding: 54px 20px 60px; }
  .foot { grid-template-columns: 1fr; gap: 34px; padding-bottom: 110px; }
  .bag__head, .bag__ship, .bag__list, .bag__foot { padding-left: 20px; padding-right: 20px; }
}
