/* ARIS — stark monochrome storefront */

:root {
  --ink: #000;
  --paper: #fff;
  --tile: #f4f4f2;
  --muted: #666;
  --line: #000;
  --hair: #d9d9d6;
  --footer: #ababab;
  --alert: #b00020;
  --gutter: 16px;
  --header-h: 64px;
  --font: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 13px/1.5 var(--font);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header */
.announce {
  background: var(--ink); color: var(--paper);
  text-align: center; font-size: 12px; padding: 9px var(--gutter);
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding: 0 var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-header nav { display: flex; gap: 20px; align-items: center; }
.site-header nav a, .menu-toggle { text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.nav-utility { justify-content: flex-end; }
.nav-mobile-only { display: none; }
.logo { display: block; padding: 6px 0; }
.logo img { height: 34px; width: auto; }
.wa-mini { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.wa-icon { width: 16px; height: 16px; flex: none; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; justify-self: start;
  min-height: 44px; min-width: 44px; padding: 0 12px 0 0; text-align: left;
}
.nav-primary [aria-current="page"], .crumbs [aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { text-decoration: none; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px;
  border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; text-decoration: none !important; border-radius: 0;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: rgba(0,0,0,.15); color: var(--paper); border-color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- hero */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero-media {
  display: grid; grid-template-columns: 1fr 1fr;
  height: min(88vh, 900px); height: min(88svh, 900px);
  background: var(--tile);
}
/* Photos are pinned inside their frame so they can never spill out, whatever the screen size */
.hero, .hero-media { overflow: hidden; }
.hero-media { grid-template-rows: 100%; }
.hero-media picture { position: relative; min-height: 0; overflow: hidden; }
.hero-media picture + picture { border-left: 1px solid var(--line); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media picture:first-child img { object-position: 50% 45%; }
.hero-media picture:last-child img { object-position: 50% 30%; }
.hero-actions {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter);
}
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); min-width: 150px; }
.btn-solid:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }

/* ---------- shop grid */
.shop-bar, .related h2, .how h2 {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  padding: 18px var(--gutter); border-bottom: 1px solid var(--line);
}
.shop-bar h2, .related h2, .how h2 { font-size: 13px; }
.bar-note { margin: 0; color: var(--muted); }
.count { font-weight: 400; color: var(--muted); margin-left: 8px; text-transform: none; letter-spacing: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button {
  background: none; border: 1px solid var(--hair); min-height: 36px; padding: 0 14px; cursor: pointer;
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--paper); border-bottom: 1px solid var(--line);
}
/* Hairlines drawn by each card, so an empty slot in the last row stays white */
.card { background: var(--paper); box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.card[hidden] { display: none; }
.card a { display: block; text-decoration: none; }
.card a:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.card-media { position: relative; aspect-ratio: 2 / 3; background: var(--tile); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.card-media .alt { opacity: 0; }
@media (hover: hover) { .card a:hover .card-media .alt { opacity: 1; } }
.is-sold-out .card-media img { opacity: .55; }
.tag {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--paper);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 7px;
}
.card-info { display: flex; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) 18px; }
.card-info .name { text-transform: uppercase; letter-spacing: 0.04em; }
.card-info .name .muted { text-transform: none; letter-spacing: 0; }
.price { white-space: nowrap; }
.price s, .pd-price s { color: var(--muted); margin-right: 6px; }

/* Typographic tile — used where an item has no photo */
.type-tile {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(16px, 2.5vw, 28px); background: var(--ink); color: var(--paper);
}
.type-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: .75; }
.type-title { font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 4vw, 54px); line-height: .95; letter-spacing: 0.01em; }
.type-date { font-size: clamp(36px, 6vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -0.02em; }
.card a:hover .type-tile { background: #111; }

/* ---------- experiences (full-width rows) */
.experiences .grid { grid-template-columns: 1fr; }
.card-experience a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.card-experience .card-media { aspect-ratio: 1 / 1; }
.exp-info {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: 32px clamp(20px, 4vw, 64px); border-left: 1px solid var(--line);
}
.exp-info h3 { font-size: clamp(24px, 3vw, 40px); line-height: 1; }
.exp-info p { margin: 0; }
.exp-desc { font-size: 14px; max-width: 46ch; }
.exp-price { font-size: 15px; }
.card-experience a:hover .btn { background: var(--ink); color: var(--paper); }
.card-experience a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- editorial */
.editorial { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.editorial-media { position: relative; margin: 0; background: var(--tile); aspect-ratio: 2 / 3; overflow: hidden; }
.editorial-media picture { position: absolute; inset: 0; }
.editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
  padding: 40px clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.editorial-copy h2 { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; }
.editorial-copy p { margin: 0; font-size: 14px; max-width: 36ch; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; width: 100%; border-top: 1px solid var(--hair); padding-top: 14px; }
.specs dt { text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.specs dd { margin: 0; }

/* ---------- how to order */
.how ol { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.how li { padding: 28px var(--gutter) 34px; font-size: 15px; border-right: 1px solid var(--line); }
.how li:last-child { border-right: 0; }
.how li span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.08em; }

/* ---------- product page */
.crumbs { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.crumbs a { color: var(--ink); }
.pd { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr); border-bottom: 1px solid var(--line); }
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-right: 1px solid var(--line); }
.pd-gallery:focus-visible { outline-offset: -2px; }
.pd-gallery li { background: var(--tile); }
.pd-gallery li:first-child { grid-column: 1 / -1; }
.pd-gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pd-gallery li:first-child img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.pd-hero {
  position: relative; aspect-ratio: 1 / 1; max-height: calc(100vh - var(--header-h) - 44px);
  width: 100%; border-right: 1px solid var(--line); background: var(--ink);
}
.pd-hero img { width: 100%; height: 100%; object-fit: cover; }
.pd-panel { position: relative; }
.pd-sticky { position: sticky; top: var(--header-h); padding: 32px clamp(20px, 3vw, 48px) 40px; display: flex; flex-direction: column; gap: 14px; }
.pd-cat { margin: 0; color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.pd h1 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.pd-price { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-price .tag { position: static; }
.pd-colour { margin: 0; color: var(--muted); }
.order { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.sizes { border: 0; margin: 0; padding: 0; min-width: 0; }
.sizes legend { padding: 0; margin-bottom: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.size-hint { color: var(--alert); text-transform: none; letter-spacing: 0; margin-left: 6px; }
.sizes > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes label span { display: grid; place-items: center; height: 44px; border: 1px solid var(--hair); font-size: 13px; }
.sizes label input:hover + span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-wa { width: 100%; min-height: 52px; background: var(--ink); color: var(--paper); font-size: 13px; }
.btn-wa:hover { background: #222; color: var(--paper); }
.btn-wa .wa-icon { width: 18px; height: 18px; }
.order-note { margin: 0; font-size: 11px; color: var(--muted); }
.sold-out-note { margin: 6px 0 0; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; }
details { border-top: 1px solid var(--hair); padding: 0 0 4px; }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  min-height: 44px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 14px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p, details ul { margin: 2px 0 12px; }
details ul li::before { content: "— "; }
details a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- legal + 404 */
.legal { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 72px; font-size: 14px; }
.legal h1 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.legal h2 { font-size: 12px; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--hair); }
.legal li { margin: 0 0 8px; }
.legal a, .lang-switch a { text-decoration: underline; text-underline-offset: 3px; }
.lang-switch { margin: 0 0 24px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.notfound { min-height: 50vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 64px var(--gutter); }
.notfound p { margin: 0; }

/* ---------- footer */
.site-footer { background: var(--footer); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.footer-grid section { padding: 22px var(--gutter) 40px; border-right: 1px solid var(--line); min-height: 220px; }
.footer-grid section:last-child { border-right: 0; }
.footer-grid h2 { font-size: 12px; font-weight: 500; margin-bottom: 14px; }
.footer-grid p { margin: 0 0 6px; max-width: 32ch; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid .label { margin-top: 14px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.footer-grid .label:first-of-type { margin-top: 0; }
.footer-grid a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 2px 0; }
.copyright { margin: 0; text-align: center; padding: 12px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav-primary {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch !important; gap: 0 !important;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none !important; box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav-primary.open { display: flex !important; }
  .nav-primary a { padding: 14px var(--gutter); border-top: 1px solid var(--hair); font-size: 13px; }
  .nav-mobile-only { display: block; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial-copy { grid-column: 1 / -1; grid-row: 1; border: 0; border-bottom: 1px solid var(--line); }
  .editorial-media + .editorial-copy + .editorial-media { border-left: 1px solid var(--line); }
  .pd { grid-template-columns: 1fr; }
  .pd-gallery, .pd-hero { border-right: 0; border-bottom: 1px solid var(--line); }
  .pd-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid section:nth-child(2) { border-right: 0; }
  .footer-grid section:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid section { min-height: 0; }
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }
  .nav-shipping { display: none; }
  .wa-mini { min-width: 44px; justify-content: flex-end; }
  .wa-mini span { display: none; }
  .wa-icon { width: 22px; height: 22px; }
  .logo img { height: 28px; }
  .hero-media { height: 78vh; height: 78svh; grid-template-columns: 1fr; }
  .hero-media picture:last-child { display: none; }
  .card-info { flex-direction: column; gap: 2px; padding: 10px 12px 16px; }
  .type-tile { padding: 14px; }
  .card-experience a { grid-template-columns: 1fr; }
  .card-experience .card-media { aspect-ratio: 4 / 3; }
  .exp-info { border-left: 0; border-top: 1px solid var(--line); padding: 20px var(--gutter) 28px; }
  .type-title { font-size: 22px; }
  .type-date { font-size: 34px; }
  .how ol { grid-template-columns: 1fr; }
  .how li { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px var(--gutter); }
  .how li:last-child { border-bottom: 0; }
  .pd-gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pd-gallery::-webkit-scrollbar { display: none; }
  .pd-gallery li { flex: 0 0 88%; scroll-snap-align: start; }
  .pd-gallery li:first-child img { aspect-ratio: 2 / 3; }
  .pd-hero { aspect-ratio: 1 / 1; }
  .type-tile-lg .type-title { font-size: 40px; }
  .type-tile-lg .type-date { font-size: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid section { border-right: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .footer-grid section:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
