/* Winkel's coming-soon page. Calm style from docs/design/dashboard.md, colours and type from docs/brand.md.
   Desktop first (1440px), then tablet (1024px) and phone (390px). No scripts, no outside requests. */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/instrument-sans-latin.woff2') format('woff2');
}

:root {
  --marigold: #ffb800;
  --veld: #0e3b2e;
  --clay: #c9341a;
  --mint: #b8e0d2;
  --paper: #f7f4ec;
  --muted: #3d5a4f;
  --line: #e6e1d3;
  --soft-marigold: #fff4d1;
  --soft-mint: #e4f2ec;
  --heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--veld);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}

/* Header and footer --------------------------------------------------------- */
.top,
.foot {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 48px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

a.logo {
  color: inherit;
  text-decoration: none;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--marigold);
}

.foot {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* The main block: words beside a shop window on desktop ------------------- */
.hero {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft-marigold);
  border: 1px solid #f0dc9c;
  font-weight: 600;
  font-size: 0.9rem;
}

h1 {
  margin: 0 0 24px;
  font-family: var(--heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 1.2rem;
  color: var(--veld);
}

.points {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 34em;
}

.points li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marigold);
}

.note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 34em;
  color: var(--muted);
  font-size: 1rem;
}

/* The 404 page: words only */
.hero--single {
  grid-template-columns: minmax(0, 1fr);
}

.back {
  color: var(--veld);
  font-weight: 600;
}

a:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* The shop window (decoration only) ---------------------------------------- */
.window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 48px -28px rgba(14, 59, 46, 0.28);
  padding: 20px;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.window-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--veld);
}

.window-name {
  flex: 1;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.window-open {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft-mint);
  color: #15803d;
  font-weight: 600;
  font-size: 0.85rem;
}

.window-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.item {
  display: grid;
  gap: 2px;
}

.item-photo {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  margin-bottom: 8px;
  overflow: hidden;
}

.item-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Each tile's colour matches its photo's backdrop, so the tile looks right while the photo loads. */
.item-photo--mint {
  background: #d8e8e2;
}
.item-photo--marigold {
  background: #fcf0d4;
}
.item-photo--sand {
  background: #dbc8b2;
}
.item-photo--clay {
  background: #fcdad2;
}

.item-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.item-price {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Tablet ------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .top,
  .foot {
    padding: 24px 32px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 24px 32px 48px;
    gap: 40px;
  }
  .window {
    max-width: 520px;
  }
}

/* Phone -------------------------------------------------------------------- */
@media (max-width: 560px) {
  body {
    font-size: 17px;
  }
  .top,
  .foot {
    padding: 20px;
  }
  .hero {
    padding: 12px 20px 40px;
    gap: 32px;
  }
  .lead {
    font-size: 1.1rem;
  }
  .window {
    padding: 14px;
    border-radius: 20px;
  }
  .window-grid {
    gap: 12px;
  }
}
