/* KEKA theme. One family, Montserrat, served from the theme (SIL Open Font License, assets/fonts/OFL.txt). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* KEKA, brand site. Shared styles for every page.
   The house manner of a fashion label: the photograph leads, the type is small, wide-spaced and quiet,
   the logo sits in the middle, buttons are plain rectangles, motion is a slow fade.
   One family, Montserrat. White ground, black type, grey for secondary text and rules; colour only from
   photographs, and photographs always whole: every frame takes the picture's own proportions. */
:root {
  --paper: #ffffff; --ink: #111111; --soft: #3d3d3d; --grey: #6f6f6f; --rule: #e6e6e6; --wash: #f3f3f2;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --g: clamp(16px, 2.4vw, 36px);
  --gl: max(var(--g), env(safe-area-inset-left, 0px)); --gr: max(var(--g), env(safe-area-inset-right, 0px));
  --hh: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 13px/1.7 var(--font); letter-spacing: .01em; overflow-x: hidden; }
body.lock { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 90; left: 12px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }

/* type: four sizes, all quiet */
.t-xs { margin: 0; font: 500 10px/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.t-s { margin: 0; font: 500 11px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.t-m { margin: 0; font: 500 13px/1.4 var(--font); letter-spacing: .24em; text-transform: uppercase; }
.t-l { margin: 0; font: 400 clamp(20px, 2vw, 28px)/1.25 var(--font); letter-spacing: .3em; text-transform: uppercase; }
.grey { color: var(--grey); }
.link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; font: 500 11px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; transition: opacity .3s; }
.link:hover { opacity: .6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--paper); }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .35; cursor: default; }
.fade { transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.keka-js .fade:not(.in) { opacity: 0; transform: translateY(14px); }
.ph { display: block; background: var(--wash); }
.ph img { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- header: logo in the middle */
.top { position: fixed; z-index: 50; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: calc(var(--hh) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gr) 0 var(--gl); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); transition: background .5s, color .5s, border-color .5s; }
.top.over { background: transparent; color: #fff; border-bottom-color: transparent; }
.nav { display: flex; gap: 28px; }
.nav a { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.mark { display: block; line-height: 0; }
.mark-logo { display: block; width: auto; height: 48px; overflow: visible; }
.top-r { justify-self: end; display: flex; align-items: center; gap: 24px; }
.bag-btn, .menu-btn { min-height: 44px; padding: 0; border: 0; background: none; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.bag-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { opacity: .3; } }
.menu-btn { display: none; justify-self: start; }
@media (max-width: 899px) { .nav { display: none; } .menu-btn { display: block; } .mark-logo { height: 40px; } }
.menu { position: fixed; z-index: 45; inset: 0; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 80px var(--g); background: var(--paper); }
.menu a { font: 400 22px/1.2 var(--font); letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
html.no-shop .shop-only { display: none !important; }

/* ---------------------------------------------------------------- shared blocks */
main.page { padding-top: var(--hh); }
.sec { padding-top: clamp(88px, 10vw, 150px); }
.sec-head { display: grid; justify-items: center; gap: 10px; margin-bottom: 36px; padding: 0 var(--g); text-align: center; }
.cap { display: grid; justify-items: center; gap: 12px; padding: 30px var(--g) 0; text-align: center; }
.cap p { max-width: 54ch; margin: 0; color: var(--soft); text-wrap: balance; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; margin-top: 8px; }
.row { display: flex; gap: 2px; }
.row > * { flex: var(--ar) 1 0; min-width: 0; margin: 0; aspect-ratio: var(--ar); background: var(--wash); overflow: hidden; }
.row img { width: 100%; height: 100%; transition: opacity .6s; }
.row a:hover img { opacity: .92; }

/* product card */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 2px; }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; }
.pcard-ph { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--wash); overflow: hidden; }
.pcard-ph img { position: absolute; left: 14%; top: 9%; width: 72%; height: 82%; object-fit: contain; transition: opacity .8s var(--ease); }
.pcard-ph .alt { opacity: 0; }
@media (hover: hover) { .pcard:hover .pcard-ph .alt { opacity: 1; } .pcard:hover .pcard-ph .main { opacity: 0; } }
.pcard-info { display: grid; gap: 3px; padding: 14px 12px 0; }
.pcard-name { margin: 0; font: 500 11px/1.45 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.pcard-price { margin: 0; color: var(--grey); font-size: 12px; }
.pcard-add { position: absolute; right: 10px; z-index: 2; min-height: 34px; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper); font: 500 10px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; transition: opacity .4s, background .3s, color .3s; }
.pcard-add[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .pcard-add { opacity: 0; } .pcard:hover .pcard-add, .pcard-add:focus-visible, .pcard-add[aria-pressed="true"] { opacity: 1; } }
@media (hover: none) { .pcard-add { min-height: 30px; padding: 0 10px; } }

/* footer */
main { position: relative; z-index: 1; background: var(--paper); padding-bottom: clamp(100px, 12vw, 180px); }
.foot { position: relative; z-index: 0; padding: 64px var(--gr) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--paper); border-top: 1px solid var(--rule); }
.foot-grid { display: grid; gap: 40px 24px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
/* the page has just offered the sign-up: the links keep their places, the newsletter column stays empty */
@media (min-width: 900px) { .foot-grid.no-news > :first-child { grid-column: 2; } }
.foot ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--soft); font-size: 13px; transition: color .3s; }
.foot ul a:hover { color: var(--ink); }
.news-l p { margin: 14px 0 0; max-width: 40ch; color: var(--soft); }
.notify { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: end; max-width: 440px; margin-top: 22px; }
.notify input { min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 14px; }
.notify input:focus-visible { outline: none; border-bottom-width: 2px; }
.notify input::placeholder { color: #a8a8a8; }
.notify button { min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--ink); background: none; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.notify .status { grid-column: 1 / -1; margin: 6px 0 0; min-height: 1.5em; font-size: 12px; color: var(--soft); }
.notify .status[data-state="error"] { color: #b3261e; }
.foot-mark { display: flex; justify-content: center; margin: clamp(40px, min(8vw, 9svh), 120px) 0 28px; line-height: 0; --rev: 1; }
/* The footer is laid under the page and uncovered as the page lifts away, but only when it fits under the header:
   the script shrinks the mark to make it fit (--fh) and only then lets it stick (.stick). Taller than the screen,
   it simply scrolls with the page, so no part of it is ever out of reach. */
.foot.stick { position: sticky; bottom: 0; }
.foot-logo { width: auto; height: var(--fh, clamp(88px, min(17vw, 24svh), 250px)); overflow: visible; }
.foot-logo .lg-frame { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--rev)); }
.foot-logo .lg-letters { opacity: calc(.12 + .88 * var(--rev)); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--grey); }

/* dialogs and the bag */
dialog { padding: 0; border: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(0,0,0,.28); }
dialog[open] { animation: d-in .6s var(--ease); }
dialog.is-closing { animation: d-out .3s var(--ease) forwards; }
@keyframes d-in { from { opacity: 0; } }
@keyframes d-out { to { opacity: 0; } }
#bag { margin-left: auto; width: min(100%, 460px); border-left: 1px solid var(--rule); }
#bag[open] { animation-name: b-in; } #bag.is-closing { animation-name: b-out; }
@keyframes b-in { from { transform: translateX(32px); opacity: 0; } }
@keyframes b-out { to { transform: translateX(32px); opacity: 0; } }
.dlg-close { position: absolute; z-index: 5; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gr); min-height: 44px; padding: 0; border: 0; background: none; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.dlg-body { height: 100%; overflow: auto; overscroll-behavior: contain; }
.bag-body { display: grid; align-content: start; gap: 20px; padding: calc(30px + env(safe-area-inset-top, 0px)) 28px calc(32px + env(safe-area-inset-bottom, 0px)); }
.bag-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.bag-list li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.bag-list .ph { height: 90px; display: grid; place-items: center; padding: 6px; }
.bag-list .ph img { max-height: 78px; width: auto; height: auto; }
.bag-list b { display: block; font: 500 11px/1.45 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.bag-list span { color: var(--grey); font-size: 12px; }
.bag-list .rm { min-height: 44px; padding: 0; border: 0; background: none; color: var(--grey); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.bag-empty { margin: 0; color: var(--grey); }
.bag-sum { display: flex; justify-content: space-between; margin: 0; }
.bag-note { margin: 0; color: var(--soft); font-size: 12px; }

/* ================================================================= HOME: the film, then the line-up */
.walk { position: relative; height: 720svh; }
/* The hall is a photographer's cove: the back wall bends into the floor with no line between them, the far end
   sits in a little shade, the front model stands in light. The runway is a lit strip that dissolves into the
   distance, polished enough to hold a reflection. Only greys: the colour is the clothes'. */
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
  --hz: 52%; --vx: 86%; --fx: 47%; --fy: 95%;
  background:
    radial-gradient(34% 11% at var(--fx) var(--fy), rgba(255,255,255,.95), rgba(255,255,255,0)),
    radial-gradient(30% 26% at var(--vx) var(--hz), rgba(0,0,0,.05), rgba(0,0,0,0) 72%),
    linear-gradient(180deg, #fff 0%, #f6f6f6 calc(var(--hz) * .55), #ececec var(--hz), #f3f3f3 calc(var(--hz) + (100% - var(--hz)) * .4), #fafafa 100%); }
.stage.dragging { cursor: grabbing; }
.runway { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rw-edge { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.backdrop { position: absolute; z-index: 1; left: 0; top: 0; width: 0; color: var(--ink); opacity: 0; pointer-events: none; }
.bd-logo { display: block; width: 100%; height: auto; opacity: .075; }
/* Under the film lies its own first frame (--still), there from the first paint; the film fades in over it once
   a frame is really drawn (.live). No foreign picture, no blank, no jump. */
.film { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #0b0b0b var(--still, none) center / cover no-repeat; will-change: transform; z-index: 2; }
@media (max-aspect-ratio: 20/21) { .film { background-image: var(--still-m, var(--still, none)); } }
.film video { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .6s var(--ease); }
.keka-js .film:not(.live) video { opacity: 0; }
.film-btn { position: absolute; right: 10px; bottom: 10px; min-height: 32px; padding: 0 10px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: 500 9px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.intro { position: absolute; z-index: 3; inset: 0; display: grid; align-content: end; justify-items: center; gap: 12px; padding: 0 var(--g) calc(52px + env(safe-area-inset-bottom, 0px)); color: #fff; text-align: center; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 22%), linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0) 42%); }
.intro .t-l { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .5em; margin-right: -.5em; }
.intro .link { pointer-events: auto; margin-top: 10px; }
.line { position: absolute; inset: 0; z-index: 4; }
.fig { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform, opacity; }
.fig img { width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.fig-im { position: relative; }
/* the floor is polished: each model stands on a faint reflection of themselves, fading within a step */
.fig .refl { position: absolute; left: 0; top: 100%; width: 100%; height: 100%; transform: scaleY(-1); opacity: .17;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.3) 10%, rgba(0,0,0,0) 26%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.3) 10%, rgba(0,0,0,0) 26%); }
.fig .shadow { position: absolute; left: 14%; right: 14%; bottom: -1.4%; height: 3%; background: radial-gradient(closest-side, rgba(0,0,0,.22), rgba(0,0,0,.07) 55%, rgba(0,0,0,0)); }
.look { position: absolute; z-index: 6; left: var(--gl); top: calc(var(--hh) + 44px); width: clamp(250px, 20vw, 300px); display: grid; transition: opacity .5s; cursor: auto; }
.look.off { opacity: 0; pointer-events: none; }
.look-no { margin-top: 8px; }
.look-name { margin: 14px 0 22px; font: 300 20px/1.3 var(--font); letter-spacing: .01em; text-wrap: balance; min-height: 2.6em; }
.pieces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.piece { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.piece-img { height: 80px; display: grid; place-items: center; padding: 5px; background: var(--wash); }
.piece-img img { width: auto; height: auto; max-width: 100%; max-height: 70px; }
.piece-info { display: grid; gap: 4px; min-width: 0; }
.piece-name { font: 500 10px/1.45 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.piece-price { color: var(--grey); font-size: 12px; }
.piece-add { justify-self: start; margin-top: 4px; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; font: 500 10px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.add-look { margin-top: 18px; }
.look-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.look-nav button { min-height: 40px; padding: 0; border: 0; background: none; font: 500 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.look-nav button:disabled { opacity: .3; cursor: default; }
.look.swap .look-name, .look.swap .piece { animation: rise .8s var(--ease) both; }
.look.swap .piece:nth-child(2) { animation-delay: .07s; }
@keyframes rise { from { opacity: 0; } }
.index { position: absolute; z-index: 6; right: var(--gr); bottom: 26px; display: flex; align-items: flex-end; gap: 6px; list-style: none; margin: 0; padding: 0; transition: opacity .5s; }
.index.off { opacity: 0; pointer-events: none; }
.index button { display: block; padding: 4px 3px 8px; border: 0; border-bottom: 1px solid transparent; background: none; opacity: .35; transition: opacity .4s, border-color .4s; }
.index button:hover { opacity: .8; }
.index button[aria-current="true"] { opacity: 1; border-bottom-color: var(--ink); }
.index img { height: 50px; width: auto; }
.walk-hint { position: absolute; z-index: 6; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--grey); transition: opacity .5s; }
.walk-hint.off { opacity: 0; }
@media (max-width: 819px) {
  .look { left: 0; right: 0; top: auto; bottom: 0; width: auto; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: end;
    padding: 14px var(--gr) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gl); background: var(--paper); border-top: 1px solid var(--rule); }
  .look-head { grid-column: 1; }
  .look-name { grid-column: 1; margin: 6px 0 0; min-height: 0; font-size: 16px; }
  .look-nav { grid-column: 2; grid-row: 1 / 3; margin: 0; gap: 18px; align-self: center; }
  .pieces { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; border-top: 0; }
  .piece { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 0; border-bottom: 0; }
  .piece-img { height: 66px; padding: 3px; }
  .piece-img img { max-height: 58px; }
  .piece-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .add-look { grid-column: 1 / -1; margin-top: 12px; min-height: 44px; }
  .index, .walk-hint { display: none; }
}

.duo { display: flex; gap: 2px; }
.duo > * { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); background: var(--wash); }
.duo img { width: 100%; height: 100%; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 2px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: grid; gap: 14px; justify-items: center; }
.tile .ph { position: relative; width: 100%; aspect-ratio: 3 / 4; }
.tile .ph img { position: absolute; left: 16%; top: 10%; width: 68%; height: 80%; object-fit: contain; transition: transform 1.4s var(--ease); }
.tile:hover .ph img { transform: scale(1.03); }
.ngrid { display: grid; gap: 48px 2px; }
@media (min-width: 760px) { .ngrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ncard { display: grid; gap: 14px; align-content: start; }
.ncard .ph { aspect-ratio: var(--ar, .6667); overflow: hidden; }
.ncard .txt { display: grid; gap: 6px; padding: 0 12px; }
.ncard h3 { margin: 0; font: 400 15px/1.45 var(--font); letter-spacing: .01em; max-width: 34ch; }
.ncard:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ================================================================= SHOP */
.shop-head { display: grid; justify-items: center; gap: 22px; padding: calc(var(--hh) + 56px) var(--g) 0; text-align: center; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.filters button { min-height: 36px; padding: 0 0 2px; border: 0; border-bottom: 1px solid transparent; background: none; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); transition: color .3s, border-color .3s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.shop-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 40px; padding: 12px var(--gr) 12px var(--gl); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.shop-bar .filters { gap: 6px 20px; }
.shop-grid { padding-top: 2px; }
.interlude { grid-column: 1 / -1; padding: 40px 0 44px; }
.closed { display: grid; justify-items: center; gap: 16px; padding: 30vh var(--g); text-align: center; }

/* ================================================================= PRODUCT */
.pdp { display: grid; padding-top: var(--hh); }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.gal figure { margin: 0; }
.gal .pack { position: relative; aspect-ratio: 4 / 5; background: var(--wash); }
.gal .pack img { position: absolute; left: 14%; top: 9%; width: 72%; height: 82%; object-fit: contain; }
.gal .shot { aspect-ratio: var(--ar); background: var(--wash); }
.gal .shot img { width: 100%; height: 100%; }
@media (max-width: 959px) {
  .gal { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal figure { scroll-snap-align: start; }
  .gal .shot, .gal .pack { aspect-ratio: auto; height: 64svh; }
  .gal .shot img { width: auto; height: 100%; margin: 0 auto; }
}
.panel { padding: 32px var(--gr) 0 var(--gl); }
.panel-in { display: grid; gap: 0; max-width: 420px; }
@media (min-width: 960px) { .panel { padding: 0 var(--gr) 0 var(--g); } .panel-in { position: sticky; top: calc(var(--hh) + 64px); margin: 64px auto 0; } }
.crumbs { display: flex; gap: 8px; color: var(--grey); }
.crumbs a:hover { color: var(--ink); }
.panel h1 { margin: 22px 0 8px; font: 500 15px/1.45 var(--font); letter-spacing: .2em; text-transform: uppercase; }
.panel .price { margin: 0; font-size: 14px; }
.panel .note { margin: 4px 0 0; color: var(--grey); font-size: 11px; }
.opt { margin-top: 30px; }
.opt-h { display: flex; justify-content: space-between; margin-bottom: 12px; }
.colour { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.colour i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--rule); background: var(--sw, #ccc); }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.size { min-height: 44px; border: 1px solid var(--rule); background: var(--paper); font: 500 11px/1 var(--font); letter-spacing: .1em; transition: border-color .3s, background .3s, color .3s; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.add-row { display: grid; gap: 12px; margin-top: 22px; }
.save { justify-self: center; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; font: 500 10px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.add-msg { min-height: 1.6em; margin: 10px 0 0; color: var(--soft); font-size: 12px; text-align: center; }
.desc { margin: 26px 0 0; color: var(--soft); }
.acc { margin-top: 26px; border-top: 1px solid var(--rule); }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 50px; cursor: pointer; list-style: none; font: 500 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font: 300 16px/1 var(--font); transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { margin: 0 0 18px; color: var(--soft); }
.acc details a { text-decoration: underline; text-underline-offset: 3px; }
.mate { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 30px; }
.mate .ph { height: 80px; display: grid; place-items: center; padding: 5px; }
.mate .ph img { max-height: 70px; width: auto; height: auto; }
.mate b { display: block; margin-top: 4px; font: 500 11px/1.45 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.mate span { color: var(--grey); font-size: 12px; }

/* ================================================================= COLLECTIONS, LOOKBOOK */
.coll-head { display: grid; justify-items: center; gap: 12px; padding: calc(var(--hh) + 56px) var(--g) 48px; text-align: center; }
.coll + .coll { margin-top: clamp(80px, 9vw, 140px); }
.coll-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 18px var(--gr) 0 var(--gl); }
.coll-cap .t-m { margin-right: 14px; }
.lb-head { display: grid; justify-items: center; gap: 14px; padding: calc(var(--hh) + 72px) var(--g) 64px; text-align: center; }
.lb-head h1 { margin: 0; font: 400 clamp(26px, 3vw, 44px)/1.2 var(--font); letter-spacing: .42em; margin-right: -.42em; text-transform: uppercase; }
.lb-head p.txt { max-width: 58ch; margin: 10px 0 0; color: var(--soft); }
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 2px; }
@media (min-width: 900px) { .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.looks.justified { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 2px; }
.looks.justified figure { flex: none; }
.looks figure { margin: 0; cursor: zoom-in; }
.looks .ph { aspect-ratio: var(--ar); }
.looks figcaption { padding: 12px 12px 0; }
.lb-next { display: grid; justify-items: center; gap: 12px; margin-top: clamp(90px, 10vw, 150px); text-align: center; }
.lb-next .t-l { transition: opacity .3s; }
.lb-next:hover .t-l { opacity: .6; }

/* ================================================================= ABOUT */
.about-hero { display: flex; justify-content: center; padding-top: var(--hh); }
.about-hero img { height: calc(100svh - var(--hh)); width: auto; max-width: 100%; object-fit: contain; }
.about-text { display: grid; justify-items: center; gap: 24px; max-width: 700px; margin: 0 auto; padding: clamp(88px, 10vw, 140px) var(--g) 0; text-align: center; }
.about-text .state { margin: 0; font: 300 clamp(24px, 2.8vw, 38px)/1.3 var(--font); letter-spacing: .01em; }
.about-text p.body { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.85; }
.about-text blockquote { margin: 18px 0 0; font: italic 300 clamp(18px, 1.7vw, 23px)/1.55 var(--font); }
.about-text cite { display: block; margin-top: 12px; font-style: normal; }
.facts { display: grid; gap: 0; max-width: 1100px; margin: clamp(80px, 9vw, 130px) auto 0; padding: 0 var(--gr) 0 var(--gl); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 24px; } }
.facts div { padding: 16px 0; border-top: 1px solid var(--rule); }
.facts dd { margin: 10px 0 0; color: var(--soft); }
.runs { list-style: none; max-width: 1100px; margin: 0 auto; padding: 0; border-top: 1px solid var(--rule); }
.runs-wrap { padding: 0 var(--gr) 0 var(--gl); }
.runs li { border-bottom: 1px solid var(--rule); }
.runs a, .runs .run { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 2fr); gap: 6px 24px; align-items: baseline; padding: 20px 0; }
.runs a:hover .t-s { text-decoration: underline; text-underline-offset: 4px; }
.runs .r { color: var(--grey); text-align: right; }
@media (max-width: 699px) { .runs a, .runs .run { grid-template-columns: 1fr; } .runs .r { text-align: left; } }

/* ================================================================= NEWS */
.news-grid { display: grid; gap: 56px 2px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.news-grid .ncard h3 { font-size: clamp(16px, 1.4vw, 19px); }
.news-grid .ncard p { margin: 0; padding: 0 12px; max-width: 52ch; color: var(--soft); }
.art { display: grid; justify-items: center; gap: 18px; padding: calc(var(--hh) + 72px) var(--g) 0; text-align: center; }
.art h1 { margin: 0; max-width: 26ch; font: 300 clamp(24px, 2.6vw, 38px)/1.3 var(--font); }
.art figure { margin: 36px 0 0; width: min(100%, 560px); }
.art figure img { width: 100%; }
.art figcaption { margin-top: 10px; }
.art-text { max-width: 640px; margin: 48px auto 0; padding: 0 var(--g); }
.art-text p { margin: 0 0 20px; color: var(--soft); font-size: 15px; line-height: 1.9; }
.art-text p:first-child { color: var(--ink); font-size: 17px; line-height: 1.75; }
.art-src a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fade { opacity: 1 !important; transform: none !important; }
}
.pcard-media { position: relative; }
.pcard-add { bottom: 10px; }
.looks button.ph { width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.coll-cap p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; }
.film.small .film-btn { right: 4px; bottom: 4px; min-height: 22px; padding: 0 6px; font-size: 8px; }

/* ================================================================= SCENES
   The moments that move, drawn in the house manner: large type is light and wide-spaced, never heavy and tight;
   photographs stay whole; buttons stay rectangles. */
.t-xl { margin: 0; font: 300 clamp(40px, 7vw, 120px)/1 var(--font); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; }
.top.dark { background: var(--night, #0d0d0d); color: #fff; border-bottom-color: #222; }
:root { --night: #0d0d0d; --night-rule: #262626; --night-grey: #9a9a9a; }

/* campaign: the collection name over the photographs */
.camp-ph { position: relative; }
.camp-t { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #fff; pointer-events: none; text-shadow: 0 0 70px rgba(0,0,0,.22);
  font: 300 clamp(44px, 11vw, 200px)/1 var(--font); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; }
@media (max-width: 699px) { .camp-ph .row > :nth-child(3) { display: none; } .camp-t { font-size: 13vw; } }

/* new in: a rail you can drag */
.sec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 0 var(--gr) 30px var(--gl); }
.sec-row .ctrl { display: flex; gap: 22px; }
.sec-row button { min-height: 36px; padding: 0; border: 0; background: none; font: 500 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.sec-row button:disabled { opacity: .3; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 24vw, 380px); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gr) 0 var(--gl); scroll-padding-left: var(--gl); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.grabbing { scroll-snap-type: none; cursor: grabbing; }
@media (hover: hover) { .rail { cursor: grab; } }
@media (max-width: 699px) { .rail { grid-auto-columns: 64%; } }
.rail-bar { position: relative; height: 1px; margin: 30px var(--gr) 0 var(--gl); background: var(--rule); overflow: hidden; }
.rail-bar span { position: absolute; top: 0; left: 0; height: 1px; width: 100%; background: var(--ink); transform-origin: left; }

/* shop by category: words, a photograph follows the cursor */
.cats { list-style: none; margin: 0; padding: 0 var(--gr) 0 var(--gl); }
.cats li { border-top: 1px solid var(--rule); }
.cats li:last-child { border-bottom: 1px solid var(--rule); }
.cats a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 30px) 0; }
.cats .ct { display: inline-block; font: 300 clamp(26px, 4.2vw, 70px)/1 var(--font); letter-spacing: .24em; text-transform: uppercase; transition: transform .9s var(--ease); }
.cats a:hover .ct, .cats a:focus-visible .ct { transform: translateX(18px); }
.cats .cr { display: flex; align-items: center; gap: 18px; }
.cats .cthumb { display: none; width: 52px; height: 66px; padding: 4px; background: var(--wash); }
.cats .cthumb img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: none), (max-width: 699px) { .cats .cthumb { display: block; } }
.peek { position: fixed; z-index: 30; left: 0; top: 0; width: 250px; aspect-ratio: 3 / 4; padding: 18px; pointer-events: none; opacity: 0; background: var(--wash); transition: opacity .35s; }
.peek.on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: contain; }

/* the editorial pair, set off-beat */
.duo.stagger { align-items: flex-start; padding: 0 var(--gr) 0 var(--gl); gap: clamp(12px, 3vw, 48px); }
.duo.stagger > :nth-child(1) { flex: none; width: 46%; }
.duo.stagger > :nth-child(2) { flex: none; width: 36%; margin-top: 18vw; margin-left: auto; margin-right: 6%; }
@media (max-width: 699px) { .duo.stagger > :nth-child(1) { width: 54%; } .duo.stagger > :nth-child(2) { width: 42%; margin-top: 34vw; margin-right: 0; } }
.duo .drift { will-change: transform; }

/* sign-up band: black, a line that runs with the scroll */
.band { margin-top: clamp(100px, 12vw, 170px); padding: clamp(80px, 9vw, 130px) 0; background: var(--night); color: #fff; overflow: hidden; }
.marq { padding: 22px 0; border-top: 1px solid var(--night-rule); border-bottom: 1px solid var(--night-rule); white-space: nowrap; overflow: hidden; }
.marq-in { display: inline-flex; gap: .8em; padding-right: .8em; font: 300 clamp(30px, 4.4vw, 72px)/1.1 var(--font); letter-spacing: .3em; text-transform: uppercase; animation: marq 40s linear infinite; will-change: transform; }
.marq-in i { font-style: normal; color: #5a5a5a; }
@keyframes marq { to { transform: translateX(-50%); } }
.band-in { display: grid; justify-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 80px); padding: 0 var(--g); text-align: center; }
.band-in p { max-width: 46ch; margin: 0; color: #bdbdbd; }
.band .notify { width: min(100%, 460px); }
.band .notify input { color: #fff; border-bottom-color: #fff; }
.band .notify input::placeholder { color: #6b6b6b; }
.band .notify button { color: #fff; border-bottom-color: #fff; }
.band .notify .status { color: #bdbdbd; }

/* collections: the flight through the archive */
.arch { position: relative; height: 900svh; }
.arch-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 900px; perspective-origin: 50% 50%; background: var(--paper); }
.arch-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.a-item { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; visibility: hidden; }
.a-ph { display: block; width: var(--w); aspect-ratio: var(--ar); background: var(--wash); translate: -50% -50%; }
.a-ph img { width: 100%; height: 100%; }
.a-title { margin: 0; translate: -50% -50%; text-align: center; white-space: nowrap; font: 200 100px/1 var(--font); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; pointer-events: none; }
.a-title small { display: block; margin-top: .5em; font-size: max(10px, .08em); font-weight: 500; letter-spacing: .3em; }
.arch-hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.arch-hud > * { pointer-events: auto; }
.arch-head { position: absolute; left: 0; right: 0; top: calc(var(--hh) + 34px); display: grid; justify-items: center; gap: 8px; text-align: center; }
.arch-now { position: absolute; left: var(--gl); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; justify-items: start; }
.arch-n { font: 200 clamp(44px, 4.4vw, 68px)/.9 var(--font); letter-spacing: .04em; }
.arch-list { position: absolute; right: var(--gr); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; text-align: right; }
.arch-list a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--grey); font: 500 10px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; transition: color .4s; }
.arch-list a::after { content: ''; width: 24px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.arch-list a[aria-current="true"] { color: var(--ink); }
.arch-list a[aria-current="true"]::after { transform: scaleX(1); }
.arch-bar { position: absolute; left: var(--gl); right: var(--gr); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); height: 1px; background: var(--rule); }
.arch-bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
@media (max-width: 819px) { .arch-list { display: none; } }

/* about: the statement inks itself in; then leave only what matters */
.mani { max-width: 1180px; margin: 0 auto; padding: clamp(88px, 10vw, 150px) var(--gr) 0 var(--gl); }
.mani-text { margin: 0; font: 300 clamp(26px, 3.7vw, 58px)/1.28 var(--font); letter-spacing: -.005em; }
.mani-text .w { color: #d2d2d2; transition: color .9s var(--ease); }
.mani-text .w.on { color: var(--ink); }
.mani-text b { font-weight: 500; }
.mani-text i { font-style: italic; }
.zoom { position: relative; height: 320svh; margin-top: clamp(60px, 8vw, 120px); }
.zoom-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.z-fig { position: absolute; left: 50%; top: 50%; aspect-ratio: var(--ar, .6667); margin: 0; transform: translate(-50%, -50%) scale(.3); will-change: transform; }
.z-fig img { width: 100%; height: 100%; }
.z-word { position: absolute; left: 0; top: 0; z-index: 2; margin: 0; font: 300 clamp(30px, 4.6vw, 80px)/1 var(--font); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; will-change: transform; }
.z-quote { position: absolute; z-index: 3; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); width: min(46ch, calc(100% - 2 * var(--g))); margin: 0; transform: translateX(-50%); text-align: center; color: var(--soft); opacity: 0; }

/* news: full-screen cards stacked on black */
.news-page { background: var(--night); color: #fff; }
.news-page .coll-head .grey { color: var(--night-grey); }
.stack { list-style: none; margin: 0; padding: 0; }
.card { position: sticky; top: 0; height: 100svh; }
.card-in { position: relative; height: 100%; display: grid; gap: 28px; background: var(--night); border-top: 1px solid var(--night-rule); transform-origin: 50% 0; will-change: transform;
  padding: calc(var(--hh) + 40px) var(--gr) calc(36px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.card-in::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.card-text { display: grid; align-content: start; gap: 30px; min-height: 0; }
.card-no { color: var(--night-grey); }
.card-date { margin: 0; font: 100 clamp(64px, 9vw, 160px)/.86 var(--font); letter-spacing: -.02em; }
.card-t { margin: 0; max-width: 22ch; font: 300 clamp(24px, 2.6vw, 44px)/1.2 var(--font); text-wrap: balance; }
.card-x { margin: 0; max-width: 50ch; color: #bdbdbd; }
.card .btn { justify-self: start; background: transparent; color: #fff; border-color: #fff; }
.card .btn:hover { background: #fff; color: var(--ink); }
.card-ph { margin: 0; min-height: 0; display: grid; place-items: center end; }
.card-ph img { height: 100%; width: auto; max-width: 100%; max-height: calc(100svh - var(--hh) - 76px); aspect-ratio: var(--ar, .6667); object-fit: contain; }
@media (min-width: 900px) { .card-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (max-width: 899px) {
  .card-in { grid-template-rows: auto auto; align-content: start; gap: 18px; padding-top: calc(var(--hh) + 20px); }
  .card-ph { order: -1; place-items: center start; }
  .card-ph img { height: 42svh; max-height: none; }
  .card-date { font-size: clamp(48px, 15vw, 80px); }
  .card-t { font-size: clamp(20px, 5.6vw, 26px); }
  .card-x { display: none; }
  .card-text { gap: 14px; }
}
.news-page + .foot, .news-page ~ .foot { border-top-color: var(--rule); }

/* ================================================================= POLISH: one system for headings, captions, buttons */
.sec-row { align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.sec-row.inv { border-bottom-color: var(--night-rule); }
.sec-row .ctrl { align-items: center; }
.cats li:first-child { border-top: 0; }
.cats .cr .t-xs { white-space: nowrap; }
.cap { gap: 14px; padding-top: 34px; }
.cap .links { margin-top: 6px; }
@media (max-width: 699px) { .sec-row .ctrl .js-rprev, .sec-row .ctrl .js-rnext { display: none; } }
/* buttons fill from below; links lose their line and draw it again */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ink); }
.btn:hover::before { transform: none; }
.btn.outline::before { background: var(--ink); }
.btn.outline:hover { background: transparent; color: var(--paper); }
.card .btn::before { background: #fff; }
.card .btn:hover { background: transparent; color: var(--ink); }
.btn:disabled::before { display: none; }
.link { padding-bottom: 4px; border-bottom: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .55s var(--ease); }
.link:hover { opacity: 1; background-size: 0 1px; background-position: 100% 100%; }
/* the header: dark over dark sections, and a hairline that measures the page */
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; opacity: .5; transform: scaleX(var(--prog, 0)); transform-origin: left; }
.top.over::after { opacity: 0; }

/* home news: the same stacked cards as the news page */
.news-home { margin-top: clamp(100px, 12vw, 170px); padding-top: clamp(64px, 8vw, 110px); background: var(--night); color: #fff; }
.news-home .sec-row { margin-bottom: 0; }
.news-home + .band { margin-top: 0; padding-top: clamp(64px, 8vw, 110px); }

/* ================================================================= MOTION */
@view-transition { navigation: auto; }
.top { view-transition-name: top; }
::view-transition-old(root) { animation: vt-out .4s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .9s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(22px); } }

/* opening curtain, once per visit */
/* The curtain is in the page from the first paint and lifts by itself at the latest after 3.6 s, script or not;
   the script lifts it earlier, as soon as the film runs underneath. Seen once a visit (html.keka-seen). */
.curtain { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 26px; background: var(--paper); color: var(--ink);
  animation: c-auto 1.05s cubic-bezier(.76, 0, .24, 1) 3.6s forwards; }
.keka-seen .curtain { display: none; }
.curtain .cm { line-height: 0; }
.curtain-logo { width: auto; height: clamp(96px, 12vw, 150px); overflow: visible; }
.curtain-logo .lg-frame { stroke-dasharray: 1; stroke-dashoffset: 1; animation: c-draw 1.1s var(--ease) .1s forwards; }
.curtain-logo .lg-letters { opacity: 0; transform: translateY(6%); transform-box: fill-box; animation: c-letter .9s var(--ease) .55s forwards; }
@keyframes c-draw { to { stroke-dashoffset: 0; } }
.curtain .cl { width: min(220px, 40vw); height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; animation: c-line 1s var(--ease) .45s forwards; }
.curtain .cs { opacity: 0; animation: c-fade .8s var(--ease) .7s forwards; }
.curtain.out { animation: c-out 1.05s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes c-letter { to { opacity: 1; transform: none; } }
@keyframes c-line { to { transform: scaleX(1); } }
@keyframes c-fade { to { opacity: 1; } }
@keyframes c-out { to { transform: translateY(-100%); } }
@keyframes c-auto { to { transform: translateY(-100%); visibility: hidden; } }

/* reveals: text rises out of a mask, photographs are unveiled from below, groups follow one another.
   The hidden state needs the theme script (html.keka-js): without it everything is simply there. */
.rv { transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.keka-js .rv:not(.in) { opacity: 0; transform: translateY(18px); }
.rv-line { transition: clip-path .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.keka-js .rv-line:not(.in) { clip-path: inset(0 0 100% 0); transform: translateY(45%); }
.rv-up { transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); transition-delay: var(--d, 0s); }
.keka-js .rv-up:not(.in) { clip-path: inset(100% 0 0 0); }
.camp-t span.ch { display: inline-block; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--i) * 110ms + .35s); }
.keka-js .camp-ph:not(.in) .camp-t span.ch { opacity: 0; transform: translateY(40%); }
.card .card-text > * { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.card .card-text > :nth-child(2) { transition-delay: .08s; } .card .card-text > :nth-child(3) { transition-delay: .16s; } .card .card-text > :nth-child(4) { transition-delay: .24s; } .card .card-text > :nth-child(5) { transition-delay: .32s; }
.card .card-ph { transition: clip-path 1s cubic-bezier(.77, 0, .18, 1) .05s; }
.keka-js .card:not(.in) .card-text > * { opacity: 0; transform: translateY(20px); }
.keka-js .card:not(.in) .card-ph { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-line, .rv-up, .camp-t span.ch, .card .card-text > *, .card .card-ph { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .curtain { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.runs { max-width: none; border-top: 0; }
.facts { max-width: none; padding: 0 var(--gr) 0 var(--gl); }

/* ================================================================= WORDPRESS
   What the theme adds to the approved design: WordPress menus, the shop switch, quick sizes on cards,
   the product form, ordinary text pages, pagination and WooCommerce notices. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav .current-menu-item > a, .nav .current_page_parent > a, .nav .current-menu-ancestor > a { border-bottom-color: currentColor; }
.menu-list { display: grid; justify-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.foot-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
body.keka-shop-off .shop-only { display: none !important; }
body.keka-dark-page { background: var(--night); }
.walk.film-only { height: 100svh !important; }

/* filters are links */
.filters a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0 2px; border-bottom: 1px solid transparent; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); transition: color .3s, border-color .3s; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* product card: Add opens the sizes; a size goes straight to the bag */
.pcard-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pcard-quick .pcard-add { position: static; }
.pcard-sizes { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.pcard-sizes button { min-width: 38px; min-height: 34px; padding: 0 8px; border: 1px solid var(--ink); background: var(--paper); font: 500 10px/1 var(--font); letter-spacing: .1em; transition: background .3s, color .3s; }
.pcard-sizes button:hover, .pcard-sizes button:focus-visible { background: var(--ink); color: var(--paper); }
.pcard-sizes button:disabled { opacity: .3; cursor: default; text-decoration: line-through; }
.pcard-sizes button:disabled:hover { background: var(--paper); color: var(--ink); }
@media (hover: hover) { .pcard-quick .pcard-add { opacity: 0; } .pcard:hover .pcard-quick .pcard-add, .pcard-quick .pcard-add:focus-visible, .pcard-quick .pcard-add[aria-expanded="true"] { opacity: 1; } }
.pcard-price .woocommerce-Price-amount, .price .woocommerce-Price-amount { font-weight: inherit; }
.pcard-price del, .price del { color: var(--grey); margin-right: 6px; }
.pcard-price ins, .price ins { text-decoration: none; }

/* product form */
.keka-cart fieldset { margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.keka-cart legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 12px; padding: 0; }
.size { position: relative; display: grid; place-items: center; cursor: pointer; }
.size input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.size:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size:has(input:focus-visible) { outline: 1px solid var(--ink); outline-offset: 3px; }
.size:has(input:disabled) { opacity: .3; cursor: default; text-decoration: line-through; }
.panel .price { margin: 0; font-size: 14px; }
.desc.entry > :first-child { margin-top: 0; }

/* walk pieces: Add to bag opens the sizes */
.piece-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.piece-sizes[hidden] { display: none; }
.piece-sizes button { min-width: 32px; min-height: 30px; padding: 0 6px; border: 1px solid var(--ink); background: var(--paper); font: 500 9px/1 var(--font); letter-spacing: .08em; }
.piece-sizes button:hover { background: var(--ink); color: var(--paper); }
.piece-sizes button:disabled { opacity: .3; text-decoration: line-through; }

/* ordinary pages and story text */
.text-page { padding-bottom: clamp(80px, 10vw, 140px); }
.prose .entry { max-width: 720px; margin: 0 auto; padding: 0 var(--g); }
.entry > * { margin: 0 0 20px; }
.entry h2 { margin-top: 44px; font: 500 13px/1.4 var(--font); letter-spacing: .24em; text-transform: uppercase; }
.entry h3 { margin-top: 32px; font: 500 15px/1.4 var(--font); letter-spacing: .02em; }
.entry p, .entry li { color: var(--soft); font-size: 15px; line-height: 1.85; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry img { height: auto; }
.entry figure { margin: 32px 0; }
.entry figcaption { margin-top: 8px; color: var(--grey); font-size: 12px; }
.entry blockquote { margin: 32px 0; padding: 0; font: italic 300 20px/1.55 var(--font); }
.entry .alignwide, .entry .alignfull { margin-left: auto; margin-right: auto; }
.lb-head .txt { max-width: 58ch; margin: 10px 0 0; }
.lb-head .txt p { color: var(--soft); margin: 0 0 12px; }
.art-text.entry p:first-child { color: var(--ink); font-size: 17px; line-height: 1.75; }

/* pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 56px; padding: 0 var(--g); }
.pager a, .pager span { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; color: var(--grey); }
.pager .current { color: var(--ink); border-bottom: 1px solid currentColor; }
.news-page .pager a, .news-page .pager span { color: var(--night-grey); }
.news-page .pager .current { color: #fff; }

/* WooCommerce notices, in the house manner */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 18px 0; padding: 14px 16px; border: 1px solid var(--rule); background: var(--paper); font-size: 13px; }
.woocommerce-error { border-color: #b3261e; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 12px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; font: inherit; }
.shop-head + .shop-bar + .woocommerce-notices-wrapper, main > .woocommerce-notices-wrapper { padding: 0 var(--gr) 0 var(--gl); }

/* the newsletter field from a plugin form */
.notify-plugin input[type="email"], .notify-plugin input[type="text"] { min-height: 44px; width: 100%; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font: 400 14px/1.4 var(--font); }
.notify-plugin input[type="submit"], .notify-plugin button { min-height: 44px; margin-top: 10px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

/* the admin bar of signed-in editors sits above the header */
body.admin-bar .top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .top { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } body.admin-bar .top { top: 46px; } }

/* ================================================================= PAGES BUILT IN THE EDITOR
   Every page is made of KEKA blocks and ordinary blocks; these keep them in the house manner. */
.page-head { padding-bottom: clamp(48px, 6vw, 80px); }
.block-page > .page-head:not(:first-child) { padding-top: clamp(88px, 10vw, 150px); }
.page-head .txt p, .sec-txt p { margin: 0 0 12px; color: var(--soft); font-size: 14px; line-height: 1.85; }
.sec-txt { max-width: 58ch; margin: -6px var(--gr) 48px var(--gl); }
.block-page > :is(p, h2, h3, h4, ul, ol, blockquote, .wp-block-quote, .wp-block-buttons, .wp-block-separator, .wp-block-table, .wp-block-embed, .wp-block-video, .wp-block-columns, .wp-block-pullquote) { max-width: 720px; margin-left: auto; margin-right: auto; padding-left: var(--g); padding-right: var(--g); }
.block-page > p, .block-page > ul li, .block-page > ol li { color: var(--soft); font-size: 15px; line-height: 1.85; }
.block-page > p { margin-top: 0; margin-bottom: 20px; }
.block-page > :is(h2, h3, h4) { margin-top: clamp(64px, 8vw, 110px); margin-bottom: 22px; text-align: center; font: 500 13px/1.4 var(--font); letter-spacing: .24em; text-transform: uppercase; }
.block-page > :is(.wp-block-image, .wp-block-gallery, .keka-gallery) { max-width: 1180px; margin: clamp(48px, 6vw, 90px) auto; padding: 0 var(--g); }
.block-page > .wp-block-image img { margin: 0 auto; width: auto; max-height: 90svh; }
.block-page > .wp-block-image.alignfull { max-width: none; padding: 0; }
.block-page > .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin-top: 48px; margin-bottom: 48px; }
.block-page > .wp-block-buttons { display: flex; justify-content: center; gap: 14px; }
.wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }
.block-page > blockquote, .block-page > .wp-block-quote { margin-top: 48px; margin-bottom: 48px; border: 0; text-align: center; font: italic 300 clamp(18px, 1.8vw, 24px)/1.55 var(--font); }
.block-page:has(> :is(.statement, .soon, .band):last-child) { padding-bottom: 0; }

/* photographs from galleries: rows of whole photographs, never cropped */
.keka-gallery { display: grid; gap: 2px; margin: 36px 0; }
.keka-gallery .row > * { position: relative; }
.keka-gallery figcaption { position: absolute; left: 10px; bottom: 8px; color: #fff; font-size: 11px; text-shadow: 0 0 12px rgba(0,0,0,.4); }
.entry .keka-gallery img { height: 100%; }
@media (max-width: 599px) { .keka-gallery .row { flex-wrap: wrap; } .keka-gallery .row > * { flex-basis: 100%; } }
.wp-block-gallery.is-cropped img, .wp-block-gallery figure img { object-fit: contain !important; }

/* designer */
.designer-in { display: grid; gap: 40px; align-items: center; padding: 0 var(--gr) 0 var(--gl); }
@media (min-width: 900px) { .designer-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); } }
.designer-ph, .soon-ph { margin: 0; justify-self: center; aspect-ratio: var(--ar); width: min(100%, calc(84svh * var(--ar))); background: var(--wash); }
.designer-ph img, .soon-ph img { width: 100%; height: 100%; }
.designer-txt { display: grid; gap: 22px; align-content: start; max-width: 520px; }
.designer-txt .body p, .designer .more p { margin: 0 0 14px; color: var(--soft); font-size: 14px; line-height: 1.85; }
.designer .more { padding-top: 20px; border-top: 1px solid var(--rule); }
.designer .more .t-xs { margin-bottom: 12px; }
.designer-q { display: grid; justify-items: center; gap: 26px; max-width: 980px; margin: clamp(90px, 10vw, 150px) auto 0; padding: 0 var(--g); text-align: center; }
.designer-q blockquote { margin: 0; font: 300 clamp(20px, 2.4vw, 34px)/1.45 var(--font); }
.designer-q blockquote::before { content: '\201C'; display: block; margin-bottom: 14px; color: var(--grey); font: 200 clamp(60px, 7vw, 110px)/.6 var(--font); }
.designer-q blockquote p { margin: 0 0 .7em; }
.designer-q blockquote p:last-child { margin: 0; }

/* numbered points, each under its own photograph: one height for the row, each as wide as its photograph */
.pillars-list { display: grid; gap: 48px; list-style: none; margin: 0; padding: 0 var(--gr) 0 var(--gl); }
.pillars-list li { display: grid; gap: 22px; align-content: start; min-width: 0; }
.pillars-ph { margin: 0; width: min(100%, calc(70svh * var(--ar))); aspect-ratio: var(--ar); background: var(--wash); }
.pillars-ph img { width: 100%; height: 100%; }
@media (min-width: 900px) {
  .pillars-list { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 32px); }
  .pillars-list li { flex: var(--ar, .8) 1 0; }
  .pillars-ph { width: 100%; }
}
.pillars-txt { display: grid; gap: 12px; padding-right: clamp(0px, 2vw, 32px); }
.pillars-txt h3 { margin: 0; font: 300 clamp(20px, 2vw, 30px)/1.1 var(--font); letter-spacing: .26em; text-transform: uppercase; }
.pillars-txt p { margin: 0; max-width: 40ch; color: var(--soft); }

/* a statement on black */
.statement { margin-top: clamp(100px, 12vw, 170px); padding: clamp(90px, 11vw, 170px) var(--g); background: var(--night); color: #fff; text-align: center; }
.statement-in { display: grid; justify-items: center; gap: 26px; max-width: 1100px; margin: 0 auto; }
.statement .t-xs { color: var(--night-grey); }
.statement-t { margin: 0; font: 200 clamp(38px, 7vw, 112px)/1.05 var(--font); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; text-wrap: balance; }
.statement-x { max-width: 52ch; margin: 0; color: #bdbdbd; }
.statement .links { margin-top: 10px; }
.statement-n { max-width: 60ch; margin-top: clamp(40px, 5vw, 70px); line-height: 1.9; }

/* a form beside its words */
.formsec-in { display: grid; gap: 48px; padding: 0 var(--gr) 0 var(--gl); }
@media (min-width: 900px) { .formsec-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 130px); } }
.formsec-txt { display: grid; gap: 22px; align-content: start; max-width: 460px; }
.formsec-txt .body p { margin: 0 0 12px; color: var(--soft); }
.formsec .note { margin: 0; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--grey); font-size: 12px; }

/* Contact Form 7 (and other form plugins) in the house manner */
.wpcf7 form, .keka-contact-form { display: grid; gap: 28px; }
.wpcf7 form > p { margin: 0; }
.keka-contact-form__row { display: grid; gap: 28px; }
@media (min-width: 700px) { .keka-contact-form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wpcf7 label, .keka-contact-form label { display: block; margin-bottom: 8px; color: var(--grey); font: 500 10px/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea) { width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-appearance: none; appearance: none; }
.wpcf7 select { padding-right: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111'/%3E%3C/svg%3E") no-repeat right 4px center; cursor: pointer; }
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 :is(input, select, textarea):focus-visible { outline: none; border-bottom-width: 2px; }
.wpcf7 ::placeholder { color: #a8a8a8; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label, .wpcf7-checkbox label, .wpcf7-radio label { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--soft); font: 400 12px/1.65 var(--font); letter-spacing: .01em; text-transform: none; }
.wpcf7-acceptance input, .wpcf7-checkbox input, .wpcf7-radio input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.wpcf7 a { text-decoration: underline; text-underline-offset: 3px; }
.wpcf7 .wpcf7-submit, .wpcf7 button[type="submit"] { min-height: 48px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .4s, color .4s; }
.wpcf7 .wpcf7-submit:hover, .wpcf7 button[type="submit"]:hover { background: transparent; color: var(--ink); }
.keka-contact-form__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #b3261e; font-size: 12px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 14px; border: 1px solid var(--rule); font-size: 13px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; }

/* coming soon */
.soon { display: grid; align-items: center; gap: 40px; min-height: 100svh; padding: calc(var(--hh) + 40px) var(--gr) 64px var(--gl); }
@media (min-width: 900px) { .soon { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); } }
.soon-ph { width: min(100%, calc((100svh - var(--hh) - 110px) * var(--ar))); }
@media (max-width: 899px) { .soon-ph { width: min(100%, calc(52svh * var(--ar))); } }
.soon-txt { display: grid; justify-items: start; gap: 22px; max-width: 480px; }
.soon.no-ph { justify-items: center; text-align: center; }
.soon.no-ph .soon-txt { justify-items: center; }
.soon-t { margin: 0; font: 300 clamp(28px, 3.6vw, 56px)/1.15 var(--font); letter-spacing: .2em; text-transform: uppercase; text-wrap: balance; }
.soon-txt .body p { margin: 0 0 12px; color: var(--soft); }
.soon .notify { width: min(100%, 440px); margin-top: 4px; }

/* header: the account link sits by the bag (in the menu on phones) */
.acc-link { font: 500 11px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; }
@media (max-width: 899px) { .acc-link { display: none; } }
.menu .menu-acc { font-size: 14px; letter-spacing: .24em; color: var(--grey); }
.bag-more { margin: 0; text-align: center; }
.pcard-soon { font: 500 9px/1.6 var(--font) !important; letter-spacing: .16em; text-transform: uppercase; }
.pcard-price .sold, .panel .note { color: var(--grey); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ================================================================= WOOCOMMERCE PAGES
   The bag, checkout, account and order pages, in the house manner: square fields with thin rules,
   black rectangular buttons, small wide-spaced labels. WooCommerce draws them; the theme dresses them. */
.wc-page .wc-head { padding-bottom: clamp(36px, 5vw, 64px); }
.wc-body { max-width: 1180px; margin: 0 auto; padding: 0 var(--gr) 0 var(--gl); }
.wc-body, .wc-body .wp-block-woocommerce-cart, .wc-body .wp-block-woocommerce-checkout { font-family: var(--font); color: var(--ink); }
.wc-body :is(.wc-block-components-title, .wc-block-components-checkout-step__title, .wc-block-cart__totals-title, .wc-block-components-order-summary .wc-block-components-panel__button, .wc-block-cart-items__header) { font: 500 11px/1.5 var(--font) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--ink) !important; }
.wc-body .wc-block-components-checkout-step__description, .wc-body .wc-block-components-product-metadata, .wc-body .wc-block-components-product-details { color: var(--grey); font-size: 12px; }
.wc-body .wc-block-components-product-name { font: 500 11px/1.45 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.wc-body :is(.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-block-components-textarea, .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control__input, .wc-block-components-form .wc-block-components-text-input input) { border: 1px solid var(--rule) !important; border-radius: 0 !important; box-shadow: none !important; background: var(--paper) !important; color: var(--ink) !important; font-family: var(--font) !important; }
.wc-body :is(.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-textarea):focus { border-color: var(--ink) !important; outline: none !important; }
.wc-body .wc-blocks-components-select .wc-blocks-components-select__container { border-radius: 0 !important; }
.wc-body :is(.wc-block-components-text-input label, .wc-blocks-components-select__label) { color: var(--grey) !important; font-family: var(--font) !important; }
.wc-body :is(.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) { min-height: 52px; border: 1px solid var(--ink) !important; border-radius: 0 !important; background: var(--ink) !important; color: var(--paper) !important; box-shadow: none !important; font: 500 11px/1 var(--font) !important; letter-spacing: .16em !important; text-transform: uppercase !important; }
.wc-body :is(.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button):hover { background: var(--paper) !important; color: var(--ink) !important; }
.wc-body .wc-block-components-button.is-link, .wc-body .wc-block-components-panel__button, .wc-body a { color: var(--ink); }
.wc-body :is(.wc-block-components-checkbox__input, .wc-block-components-radio-control__input) { border-color: var(--ink) !important; border-radius: 0 !important; accent-color: var(--ink); }
.wc-body .wc-block-components-checkbox__input:checked { background: var(--ink) !important; }
.wc-body .wc-block-components-checkbox__mark { fill: var(--paper) !important; }
.wc-body .wc-block-components-radio-control__input { border-radius: 50% !important; }
.wc-body .wc-block-components-radio-control__input:checked::before { background: var(--ink) !important; }
.wc-body :is(.wc-block-components-sidebar-layout .wc-block-components-sidebar, .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted) { border-radius: 0 !important; border-color: var(--rule) !important; box-shadow: none !important; }
.wc-body .wc-block-components-totals-item { font-size: 13px; }
.wc-body .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-body .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 500 12px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.wc-body .wc-block-components-product-badge { border-radius: 0; font-size: 10px; letter-spacing: .1em; }
.wc-body .wc-block-cart-item__image img, .wc-body .wc-block-components-order-summary-item__image img { object-fit: contain; background: var(--wash); }
.wc-body .wc-block-components-quantity-selector { border-radius: 0 !important; border-color: var(--rule) !important; }
.wc-body .wc-block-components-quantity-selector::after { border-radius: 0 !important; border-color: var(--rule) !important; }
.wc-body .wc-block-components-notice-banner { border-radius: 0 !important; border: 1px solid var(--rule) !important; background: var(--paper) !important; color: var(--ink) !important; font-size: 13px; }
.wc-body .wc-block-components-notice-banner.is-error { border-color: #b3261e !important; }
.wc-body .wc-block-components-notice-banner > svg { border-radius: 0 !important; background: var(--ink) !important; fill: var(--paper) !important; }
.wc-body .wc-block-components-notice-banner.is-error > svg { background: #b3261e !important; }
.wc-body .wp-block-woocommerce-empty-cart-block :is(h2, .wc-block-cart__empty-cart__title) { font: 500 13px/1.4 var(--font); letter-spacing: .24em; text-transform: uppercase; }
.wc-body .wp-block-woocommerce-empty-cart-block .wp-block-separator { border: 0; border-top: 1px solid var(--rule); width: 80px; margin: 40px auto; }

/* account: the list on the left, the page on the right */
.woocommerce-account .wc-body .woocommerce { display: grid; gap: 40px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .wc-body .woocommerce { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--rule); }
.woocommerce-MyAccount-navigation a { text-decoration: none !important; display: block; padding: 15px 0; color: var(--grey) !important; font: 500 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { color: var(--ink) !important; }
.woocommerce-MyAccount-content > p, .wc-body .woocommerce > p, .woocommerce-order > p { color: var(--soft); font-size: 14px; line-height: 1.85; }
.wc-body .woocommerce a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.wc-body .u-columns { display: grid; gap: 56px; }
@media (min-width: 900px) { .wc-body .u-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); } }
.wc-body :is(h2, h3, legend) { margin: 0 0 22px; font: 500 12px/1.5 var(--font); letter-spacing: .18em; text-transform: uppercase; }

/* WooCommerce's own forms: sign in, register, addresses, account details, lost password, the piece form */
.wc-body form .form-row, .wc-body .woocommerce-form-row { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; }
.wc-body form .form-row label, .wc-body .woocommerce-form-row label, .wc-form table.variations th, .wc-form label { color: var(--grey); font: 500 10px/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.wc-body form .form-row .required { color: var(--grey); text-decoration: none; }
.wc-body div.woocommerce :is(.input-text, select, textarea), .wc-form :is(select, .qty), .wc-body .select2-container .select2-selection { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule) !important; border-radius: 0 !important; background: var(--paper); color: var(--ink); font: 400 14px/1.5 var(--font); box-shadow: none; }
.wc-body div.woocommerce :is(.input-text, select, textarea):focus, .wc-form :is(select, .qty):focus { border-color: var(--ink) !important; outline: none; }
.wc-body .select2-container .select2-selection__rendered { line-height: 26px; padding: 0; color: var(--ink); }
.wc-body .select2-container .select2-selection__arrow { height: 46px; }
.wc-body .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 10px; color: var(--soft); font: 400 13px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.wc-body input[type="checkbox"], .wc-body input[type="radio"] { accent-color: var(--ink); width: 16px; height: 16px; }
.wc-body :is(button.button, a.button, input.button, .woocommerce-Button), .wc-form .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper) !important; font: 500 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background .4s, color .4s; }
.wc-body :is(button.button, a.button, input.button, .woocommerce-Button):hover, .wc-form .single_add_to_cart_button:hover { background: var(--paper); color: var(--ink) !important; }
.wc-body .lost_password, .wc-body .woocommerce-LostPassword { font-size: 12px; }
.wc-body fieldset { margin: 32px 0 0; padding: 0; border: 0; }
.wc-body .woocommerce-privacy-policy-text p { color: var(--grey); font-size: 12px; }

/* order tables and addresses */
.wc-body table.shop_table, .wc-body .woocommerce-table, .wc-body .woocommerce-orders-table { width: 100%; margin: 0 0 32px; border: 0; border-top: 1px solid var(--ink); border-collapse: collapse; font-size: 13px; }
.wc-body table.shop_table :is(th, td) { padding: 14px 10px 14px 0; border: 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.wc-body table.shop_table th { color: var(--grey); font: 500 10px/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.wc-body table.shop_table td { color: var(--soft); }
.wc-body table.shop_table tfoot :is(th, td) { color: var(--ink); }
.wc-body address { font-style: normal; color: var(--soft); line-height: 1.8; padding: 18px 20px; border: 1px solid var(--rule); }
.wc-body .woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--rule); }
.wc-body .woocommerce-order-overview li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--grey); font: 500 10px/1.6 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.wc-body .woocommerce-order-overview li strong { display: block; margin-top: 6px; color: var(--ink); font: 400 14px/1.5 var(--font); letter-spacing: 0; text-transform: none; }
.wc-body .woocommerce-thankyou-order-received { font: 300 clamp(20px, 2vw, 28px)/1.4 var(--font); color: var(--ink); margin-bottom: 36px; }
.wc-body .woocommerce-pagination { display: flex; gap: 18px; }

/* the piece form WooCommerce draws for pieces with several choices */
.wc-form { margin-top: 26px; }
.wc-form table.variations { width: 100%; border-collapse: collapse; }
.wc-form table.variations :is(th, td) { display: block; padding: 0; text-align: left; }
.wc-form table.variations td { margin: 8px 0 18px; }
.wc-form .reset_variations { display: inline-block; margin-top: 8px; color: var(--grey); font-size: 11px; text-decoration: underline; }
.wc-form .woocommerce-variation-price { margin: 0 0 14px; font-size: 14px; }
.wc-form .woocommerce-variation-availability, .wc-form .stock { color: var(--grey); font-size: 12px; }
.wc-form .woocommerce-variation-add-to-cart, .wc-form form.cart:not(.variations_form) { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; }
.wc-form .quantity .qty { text-align: center; }
.wc-form .single_add_to_cart_button.disabled { opacity: .35; cursor: default; }
.wc-form .group_table { width: 100%; margin-bottom: 18px; border-collapse: collapse; }
.wc-form .group_table td { padding: 10px 6px 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.wc-body .password-input { position: relative; display: block; }
.wc-body .show-password-input { position: absolute; top: 50%; right: 12px; width: 24px; height: 24px; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.3'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center; transform: translateY(-50%); cursor: pointer; }
.wc-body .show-password-input.display-password { opacity: .45; }

/* stories: photographs and galleries wider than the text, always whole */
.art figure { width: min(100%, 820px); }
.art figure img { width: auto; max-width: 100%; max-height: 82svh; margin: 0 auto; }
.art-text > :is(.keka-gallery, .wp-block-image, .wp-block-gallery, .wp-block-embed, .wp-block-video) { width: min(1100px, calc(100vw - 2 * var(--g))); max-width: none; margin: 44px 0 44px calc(50% - min(550px, 50vw - var(--g))); }
.art-text > .wp-block-image img { display: block; width: auto; max-width: 100%; max-height: 88svh; margin: 0 auto; }
.art-text > .wp-block-image figcaption { text-align: center; }
.art-text .keka-gallery { gap: 4px; }
.art-text .keka-gallery .row { gap: 4px; }
.art-text > :is(h2, h3) { margin-top: 48px; color: var(--ink); font: 500 13px/1.5 var(--font); letter-spacing: .2em; text-transform: uppercase; }
.art-text .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.art-text .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
/* long category names wrap instead of pushing the count off the screen */
.cats .ct { flex: 1 1 auto; min-width: 0; text-wrap: balance; line-height: 1.12; }
.cats .cr { flex: none; }
@media (max-width: 599px) { .cats .ct { font-size: 22px; letter-spacing: .2em; } }

/* reached by a fast scroll, or already gone by: shown at once */
.now, .now * { transition: none !important; }

/* Image plugins (EWWW, WebP) wrap photographs in <picture>: the wrapper takes no part in the layout,
   and a photograph in a frame is always fitted whole, never stretched, whatever the frame's proportions. */
picture { display: contents; }
:is(.row, .duo, .ph, .card-ph, .a-ph, .z-fig, .looks, .keka-gallery, .designer-ph, .pillars-ph, .soon-ph, .gal .shot, .about-hero) img { object-fit: contain; }

/* the lightbox: a photograph whole on white, the counter and the arrows below it */
.lightbox { padding: 0; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lbx-stage { display: grid; place-items: center; min-height: 0; padding: calc(64px + env(safe-area-inset-top, 0px)) var(--gr) 8px var(--gl); cursor: zoom-out; }
.lbx-img { display: block; width: auto; height: auto; max-width: calc(100vw - var(--gl) - var(--gr)); max-height: calc(100svh - 64px - 76px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); object-fit: contain; cursor: default; transition: opacity .3s; user-select: none; -webkit-user-drag: none; }
.lbx-img.loading { opacity: .25; }
.lbx-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px var(--gr) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gl); }
.lbx-bar button { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font: 500 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.lbx-bar button:last-child { justify-self: end; }
.lbx-bar .lbx-at { margin: 0; color: var(--grey); }
.lightbox .dlg-close { top: calc(18px + env(safe-area-inset-top, 0px)); }
img.zoomable { cursor: zoom-in; }
