/* ============================================================
   Smart Workspace Finds — design tokens
   Palette drawn from the Pinterest pins: warm cream paper,
   sand cards, near-black ink, plant green as single accent.
   ============================================================ */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f7f3ec;
  --card: #efe8dc;
  --card-deep: #e7ddcc;
  --ink: #16130f;
  --body: #524c42;
  --line: #ddd3c3;
  --green: #47593f;
  --green-soft: #e2e7da;
  --display: "Montserrat", "Arial Black", sans-serif;
  --text: "Schibsted Grotesk", system-ui, sans-serif;
  --measure: 42rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }

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

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem; gap: 1rem; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 0.95rem; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: 0.6rem;
}
.wordmark svg { display: block; }
.wordmark span b { color: var(--green); font-weight: 800; }
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  font-size: 0.9rem; font-weight: 500; color: var(--body); text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line); margin-top: 5rem;
  font-size: 0.875rem; color: var(--body);
}
.site-footer .wrap {
  padding-top: 1.6rem; padding-bottom: 2.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 1.2rem; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display); color: var(--ink); text-transform: uppercase;
  line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0.4rem 0 1rem; }
h2 { font-weight: 800; font-size: clamp(1.35rem, 3vw, 1.8rem); margin: 3rem 0 0.8rem; }
h3 { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; margin: 1.8rem 0 0.4rem; }

.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.78rem; color: var(--green); margin: 0;
}

.lede { font-size: 1.2rem; line-height: 1.6; max-width: var(--measure); }

article p, article ul, article ol { max-width: var(--measure); }
article li { margin-bottom: 0.35rem; }
article strong { color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */

.hero { padding: 4.5rem 0 3rem; }
.hero .wrap { max-width: 68rem; }

/* ---------- pin-style guide cards (signature element) ---------- */

.pin-shelf {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.4rem; margin: 2.5rem 0 0;
}
.pin-card {
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 3 / 3.6;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 0;
  text-decoration: none;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.pin-card:hover, .pin-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(22, 19, 15, 0.10);
}
.pin-card .pin-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.04;
}
.pin-card .pin-sub { font-size: 0.9rem; color: var(--body); margin-top: 0.6rem; }
.pin-card .pin-art { margin-top: auto; display: block; width: 100%; }
.pin-card .pin-art svg { display: block; width: 100%; height: auto; }

/* ---------- infographic-style tip list (mirrors the "5 tips" pins) ---------- */

.tips {
  list-style: none; margin: 1.4rem 0; padding: 0;
  display: grid; gap: 0.7rem; max-width: var(--measure);
  counter-reset: tip;
}
.tips li {
  counter-increment: tip;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1.1rem 0.85rem 3.4rem; position: relative;
}
.tips li::before {
  content: counter(tip);
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--green); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 0.85rem;
  display: grid; place-items: center;
}
.tips li b { color: var(--ink); }

/* ---------- spec table ---------- */

.spec {
  width: 100%; max-width: var(--measure); border-collapse: collapse;
  font-size: 0.95rem; margin: 1.2rem 0;
}
.spec th, .spec td {
  text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec th {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink);
}
.spec td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ---------- callout ---------- */

.callout {
  background: var(--green-soft); border: 1px solid #cdd6c2; border-radius: 12px;
  padding: 1rem 1.2rem; max-width: var(--measure); font-size: 0.95rem;
}
.callout b { color: var(--green); }

/* ---------- article page ---------- */

.article-head { padding: 3.5rem 0 0.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.article-head .lede { margin-bottom: 2.2rem; }

.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal .placeholder {
  background: #f3e2c9; border: 1px dashed #c9a86a; border-radius: 6px;
  padding: 0.05rem 0.4rem; font-weight: 500; color: #7a5b22;
}

/* ---------- about strip ---------- */

.about-strip {
  margin-top: 4rem; padding: 2rem; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px;
  display: grid; gap: 0.4rem;
}
.about-strip p { margin: 0.3rem 0 0; max-width: 52rem; }

@media (max-width: 40rem) {
  .hero { padding-top: 3rem; }
  .site-footer .wrap { flex-direction: column; }
}
