/* Respect the Locals — static shop styles */

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #777777;
  --line: #e6e6e6;
  --dark: #0f0f0f;
  --dark-ink: #f5f2ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* ── Header ───────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 32px;
  mix-blend-mode: difference;
  color: #fff;
}
.site-header a { color: #fff; text-decoration: none; }
.logo {
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .95rem;
}
.site-nav a {
  margin-left: 28px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.site-nav a:hover { opacity: .6; }

/* ── Fullscreen hero ──────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* Size the hero to the cover's own ratio so the WHOLE landscape image
     (incl. the road + signs at the bottom) shows — no cover-crop. */
  aspect-ratio: 1672 / 941;
  height: auto;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  color: var(--dark-ink);
  padding: 0 24px;
}
/* Parallax layer — sized to the hero (which matches the image ratio) so the
   full image is visible; a small scale in the JS gives the parallax headroom. */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/img/cover1.webp?v=19') center / cover no-repeat;
  will-change: transform, opacity;
  z-index: 0;
}
.hero .kicker {
  font-size: .78rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #b9b2a6;
}
/* Title is baked into the cover artwork — keep the text for SEO / screen
   readers but hide it visually. */
.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid currentColor;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  transition: background .25s, color .25s;
}
.hero .btn:hover { background: var(--dark-ink); color: var(--dark); }
/* Phones get the portrait cover; tablet/desktop keep the landscape one. */
@media (max-width: 600px) {
  /* Match the hero box to the portrait artwork's own ratio so the WHOLE image
     (incl. the bottom of the road) shows — no cover-crop, no letterbox bars. */
  .hero { height: auto; min-height: 0; aspect-ratio: 941 / 1672; }
  .hero-bg {
    background-image: url('/assets/img/cover-mobile.webp?v=17');
    height: 100%;
    background-position: center;
  }
}
/* Scroll reveal — only active when JS is on, so no-JS users see everything. */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { transition: none; }
}

/* ── Shop grid ────────────────────────── */
.shop {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 110px;
  border-top: 1px solid var(--line);
}
.section-title {
  text-align: center;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin-bottom: 56px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }

.product { text-align: center; }
.product .photo {
  aspect-ratio: 3 / 4;
  background: #f2f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8c2b8;
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  overflow: hidden;
}
.product .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product .cat {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.product h3 {
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .06em;
  margin: 6px 0 4px;
}
.product .price { font-weight: 700; font-size: .9rem; }
.product .order {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 26px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.product .order:hover { background: var(--ink); color: #fff; }

/* ── Product card link ────────────────── */
.product a.card-link { color: inherit; text-decoration: none; display: block; }
.product a.card-link:hover h3 { text-decoration: underline; }

/* ── Featured collection (1–2 up, centered) ── */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 56px 48px;
  justify-content: center;
}
/* Phones: stack the products under each other. */
@media (max-width: 700px) {
  .collection-grid { grid-template-columns: minmax(0, 360px); }
}
.collection-feature {
  text-align: center;
}
.collection-feature .feature-link { display: block; }
.collection-feature .feature-photo {
  aspect-ratio: 3 / 4;
  background: #f2f0ec;
  overflow: hidden;
  margin-bottom: 22px;
}
.collection-feature .feature-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.collection-feature .feature-name {
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.collection-feature .feature-meta {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.collection-feature .feature-price {
  font-size: .9rem;
  letter-spacing: .04em;
  margin-bottom: 22px;
  line-height: 1.7;
}
.collection-feature .feature-price .eur { font-weight: 700; }
.collection-feature .feature-price .dot { color: var(--muted); margin: 0 6px; }
.collection-feature .feature-price .btc { font-weight: 400; }
.collection-feature .feature-price .rate-note {
  display: block;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.collection-feature .feature-btn {
  display: inline-block;
  padding: 11px 34px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.collection-feature .feature-btn:hover { background: var(--ink); color: #fff; }

/* ── Product page ─────────────────────── */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) { .product-page { grid-template-columns: 1fr; padding-top: 100px; } }
.product-page .photo {
  aspect-ratio: 3 / 4;
  background: #f2f0ec;
  overflow: hidden;
}
.product-page .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-page .info .cat {
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-page h1 {
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 10px 0 14px;
}
.product-page .price { font-weight: 700; font-size: 1.25rem; margin-bottom: 22px; }
.product-page .desc {
  font-weight: 300;
  color: #444;
  margin-bottom: 30px;
  max-width: 42ch;
}
.product-page .order {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.product-page .order:hover { background: var(--ink); color: #fff; }
.product-page .back {
  display: block;
  margin-top: 36px;
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.product-page .back:hover { color: var(--ink); }

/* dark header needs real color on white pages (blend trick is for the hero) */
.site-header.on-light { mix-blend-mode: normal; color: var(--ink); }
.site-header.on-light a { color: var(--ink); }

/* ── How to order ─────────────────────── */
.how {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 90px 24px;
  text-align: center;
}
.how .section-title { margin-bottom: 32px; }
.how p {
  max-width: 560px;
  margin: 0 auto 14px;
  font-weight: 300;
  font-size: .95rem;
  color: #cfc9bf;
}
.how strong { color: var(--dark-ink); font-weight: 700; }

/* ── Welcome section ──────────────────── */
.welcome {
  text-align: center;
  padding: 110px 24px 90px;
  max-width: 640px;
  margin: 0 auto;
}
.welcome .brand-logo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 22px;
}
.welcome h2 {
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.welcome p {
  font-weight: 300;
  color: #555;
  margin-bottom: 26px;
}
.welcome .btn { color: var(--ink); }
.welcome .btn:hover { background: var(--ink); color: #fff; }
.welcome .btn + .btn { margin-left: 14px; }

/* ── Page band (product pages) ────────── */
.page-band {
  background: #1c1b19 url('../img/band.png');
  background-size: 300px;
  color: #fff;
  text-align: center;
  padding: 110px 24px 46px;
}
.page-band h1 {
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.page-band .crumbs {
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.page-band .crumbs a { color: rgba(255,255,255,.55); text-decoration: none; }
.page-band .crumbs a:hover { color: #fff; }

/* ── Description + related ────────────── */
.desc-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 70px;
  border-top: 1px solid var(--line);
}
.desc-section h2 {
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 26px 0 14px;
}
.desc-section p { font-weight: 300; color: #555; max-width: 70ch; }

.related {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 90px;
}
.related h2 {
  font-weight: 400;
  font-size: .9rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.related .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .related .grid { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 0 24px;
}
.site-footer .copy {
  text-align: center;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 18px 0;
  margin: 0;
  color: #6f6b64;
}

.site-footer .copy a { color: inherit; text-decoration: none; border-bottom: 1px solid #3a3733; }
.site-footer .copy a:hover { color: #fff; }
