/* Cubistand: restrained palette, gallery-wall warmth, generous space */

/* Inter (variable, wght 100-900), self-hosted from @fontsource-variable/inter 5.2.5.
   Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter).
   SIL Open Font License 1.1, https://openfontlicense.org */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/inter-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --bg:        oklch(0.985 0.003 85);
  --bg-soft:   oklch(0.965 0.005 85);
  --ink:       oklch(0.18 0.005 280);
  --ink-soft:  oklch(0.42 0.005 280);
  --ink-faint: oklch(0.52 0.004 280);   /* >= 4.5:1 on --bg (5.3) and --bg-soft (5.0) */
  --rule:      oklch(0.86 0.004 85);
  --accent:    oklch(0.32 0.012 250);

  --max:       1280px;
  --pad:       clamp(20px, 5vw, 96px);

  --display:   "Inter", system-ui, sans-serif;
  --body:      "Inter", system-ui, sans-serif;

  --t-display: clamp(2.6rem, 6.4vw, 5.4rem);
  --t-h2:      clamp(2.0rem, 4.4vw, 3.6rem);
  --t-lede:    clamp(1.05rem, 1.4vw, 1.25rem);
  --t-body:    1.0625rem;
  --t-small:   0.78rem;
}


* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled { border-bottom-color: var(--rule); }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .mark { width: 22px; height: 22px; flex-shrink: 0; }

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.95rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 220ms ease;
}
.site-nav a:hover { color: var(--ink); }

@media (max-width: 540px) {
  .site-nav a:not([href="#order"]) { display: none; }
}

/* ----- Hero ----- */

.hero {
  margin: 0;
  padding: 0 var(--pad) 0;
  background: var(--bg);
}
.hero img {
  width: 100%;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  display: block;
  border-radius: 2px;
}

/* ----- Eyebrow / shared ----- */

.eyebrow {
  font-size: var(--t-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin: 0 0 1.4em;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }

h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 0.5em; }

/* ----- Sections layout ----- */

main > section {
  padding: clamp(80px, 12vw, 160px) var(--pad);
}

.lead {
  max-width: var(--max);
  margin: 0 auto;
}
.lead h1 { margin-bottom: clamp(28px, 3vw, 48px); }
.lead .lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.5;
}

.text-block {
  max-width: var(--max);
  margin: 0 auto;
}
.text-block h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.text-block p {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: var(--t-lede);
  line-height: 1.55;
  margin: 0 0 1em;
}

/* ----- Photo blocks ----- */

.photo-pair {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.photo-pair figure { margin: 0; }
.photo-pair img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.photo-pair figure:last-child img { aspect-ratio: 9 / 16; }

@media (max-width: 720px) {
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img,
  .photo-pair figure:last-child img { aspect-ratio: 3 / 4; }
}

.photo-full { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.photo-full img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 2px;
}
.photo-full.tall img { max-width: 1100px; }
.photo-full.muted { background: var(--bg-soft); }
.photo-full .caption {
  max-width: 56ch;
  margin: 24px auto 0;
  font-size: 0.92rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ----- Colors ----- */

.colors {
  max-width: var(--max);
  margin: 0 auto;
}
.colors h2 { margin-bottom: clamp(40px, 5vw, 64px); max-width: 24ch; }

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
}
.color-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.color-grid.one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.color-note { margin: 0; max-width: 38ch; color: var(--ink-soft); }
.colors > .color-note { max-width: 880px; margin: clamp(24px, 3vw, 40px) auto 0; }
.color-grid .concept figcaption { color: var(--ink-soft); font-weight: 400; }
.color-grid .concept { position: relative; }

/* Identification picture on /safety */
.id-figure { max-width: 520px; margin: 0 0 1.4em; }
.id-figure img { width: 100%; height: auto; border-radius: 2px; }
.id-figure figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--ink-soft); }

.concept-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: var(--t-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  pointer-events: none;
}
.color-grid figure { margin: 0; }
.color-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  background: var(--bg-soft);
  border-radius: 2px;
}
.color-grid figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .color-grid, .color-grid.one, .color-grid.two { grid-template-columns: 1fr; gap: 32px; }
}

/* ----- Specs ----- */

.specs {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.specs h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.specs dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.specs dt {
  font-size: var(--t-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  align-self: center;
}
.specs dd {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink);
  align-self: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .specs dl { grid-template-columns: 1fr; }
}

/* ----- Order (pre-launch: notify by email, no payment yet) ----- */

.order {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.order h2 { margin-bottom: clamp(16px, 2vw, 24px); }
.order-lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  margin: 0 0 clamp(40px, 5vw, 64px);
  max-width: 56ch;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.order-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.order-grid h3 { margin-bottom: 4px; max-width: 22ch; }
.order-grid p { color: var(--ink-soft); margin: 0 0 12px; max-width: 38ch; }

.button {
  display: inline-block;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.button:hover { background: transparent; color: var(--ink); }
.button:focus-visible, .text-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.text-link {
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.text-link:hover { text-decoration-color: var(--ink); }

@media (max-width: 720px) {
  .order-grid { grid-template-columns: 1fr; }
}

/* ----- Safety (fi/sv/en, GPSR 19 d) ----- */

.safety {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.safety h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.safety-grid h3 { font-size: 1.05rem; margin-bottom: 0.6em; }
.safety-grid p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }
.safety-more { margin: clamp(28px, 3vw, 40px) 0 0; color: var(--ink-soft); max-width: 72ch; }

@media (max-width: 900px) {
  .safety-grid { grid-template-columns: 1fr; }
}

.order-option .text-link { margin-top: 8px; }
.safety-lang { border-top: 1px solid var(--rule); }
.safety-list { max-width: 72ch; margin: 0 0 1.2em; padding-left: 1.2em; color: var(--ink-soft); line-height: 1.55; }
.safety-list li { margin-bottom: 0.6em; }
.safety-lang p { max-width: 72ch; }
.pose-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); max-width: 760px; margin: 8px 0 1.6em; }
.pose-pair.small { max-width: 520px; margin-top: clamp(28px, 3vw, 40px); }
.pose-pair figure { margin: 0; }
.pose-pair img { width: 100%; height: auto; border-radius: 2px; }
.pose-pair figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.footer-meta .footer-links a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.footer-meta .footer-links a.withdraw-link { color: var(--ink); font-weight: 500; text-decoration-color: var(--ink); }

/* ----- Footer ----- */

.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 56px var(--pad);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-size: 1rem;
}
.footer-mark .mark { width: 18px; height: 18px; }
.footer-meta { margin: 0; max-width: 72ch; }
.footer-meta p { margin: 0 0 0.5em; }
.footer-meta p:last-child { margin-bottom: 0; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--ink); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { text-decoration: none; transition: color 200ms ease; }
.footer-nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ----- Utility ----- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

