/* ===== Via Porto — shared design tokens ===== */
:root {
  --ink: #101A27;
  --cream: #F6F4EF;
  --muted: #B9BDC2;
  --accent: #C6C0B5;
  --body-text: #40454C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body-text);
  font-family: 'Hanken Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--cream); }
a { text-decoration: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
a:focus-visible, [tabindex]:focus-visible, button:focus-visible, select:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.serif { font-family: 'Cormorant Garamond', serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ===== Site nav (light pages) ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(22px,3.4vw,40px) clamp(24px,6vw,108px);
  position: relative;
  z-index: 5;
}
.site-nav .logo {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav .links { display: flex; gap: clamp(20px,2.6vw,42px); align-items: center; }
.site-nav .links a {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--body-text);
  transition: color 0.3s;
}
.site-nav .links a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .site-nav { padding: 18px 20px; }
  .site-nav .links { gap: 14px; }
  .site-nav .links a:not(.cart-link) { display: none; }
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1;
}

/* ===== Site footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(72px,12vh,140px) clamp(24px,6vw,108px) clamp(40px,6vh,64px);
}
.site-footer .top {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 40px; margin-bottom: clamp(56px,9vh,110px);
}
.site-footer h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(40px,8vw,108px); line-height: 0.94; margin: 0; color: var(--cream);
}
.site-footer .tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(18px,2vw,26px); color: var(--accent); margin: 0; max-width: 300px;
}
.site-footer .cols {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 32px;
  border-top: 1px solid rgba(185,189,194,0.18); padding-top: clamp(34px,5vh,52px);
}
.site-footer .cols .label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.site-footer .cols .val {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 300;
  line-height: 1.9; color: var(--accent);
}
.site-footer .bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: clamp(48px,8vh,90px); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted);
}

/* ===== Buttons ===== */
.btn-line {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  border-bottom: 1px solid rgba(64,69,76,0.35);
  padding-bottom: 9px; transition: border-color 0.3s; cursor: pointer;
  background: none; border-top: none; border-left: none; border-right: none;
  color: var(--body-text); font-family: 'Hanken Grotesk', sans-serif;
}
.btn-line:hover { border-bottom-color: var(--ink); }
.btn-line.on-dark { color: var(--cream); border-bottom-color: rgba(246,244,239,0.4); }
.btn-line.on-dark:hover { border-bottom-color: rgba(246,244,239,0.95); }

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 18px 32px; border: none; cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
.btn-solid:hover { background: #1a2b40; }
.btn-solid:disabled { background: #777; cursor: not-allowed; }
