@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=DM+Serif+Display:ital@0;1&display=swap');

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

:root {
  --bg: #f0ede8;
  --surface: #f5f3ef;
  --text: #111;
  --secondary: #888;
  --muted: #aaa;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --radius-pill: 20px;
  --max-w: 900px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
}

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

/* ─── Layout ─────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Nav ────────────────────────────────────────────── */

nav {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--secondary);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 680px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* ─── Sections ───────────────────────────────────────── */

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  color: var(--secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* ─── Product cards ──────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card-title {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--secondary);
  line-height: 1.6;
  flex: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--secondary);
  width: fit-content;
  margin-top: 4px;
}

/* ─── Page header (inner pages) ──────────────────────── */

.page-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
}

.page-header p {
  font-size: 1rem;
  color: var(--secondary);
  max-width: 480px;
  line-height: 1.7;
}

/* ─── Content blocks ─────────────────────────────────── */

.content-block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.content-block:last-of-type {
  border-bottom: none;
}

.content-block h2 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.content-block p {
  color: var(--secondary);
  max-width: 580px;
  margin-bottom: 14px;
  line-height: 1.75;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ─── Team cards ─────────────────────────────────────── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.team-name {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.team-role {
  font-size: 0.825rem;
  color: var(--secondary);
}

/* ─── Contact ────────────────────────────────────────── */

.contact-email {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  margin-bottom: 12px;
}

.contact-email a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s;
}

.contact-email a:hover {
  border-color: var(--text);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* ─── Prose (privacy page) ───────────────────────────── */

.prose {
  max-width: 640px;
  padding: 56px 0;
}

.prose h2 {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 48px 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--secondary);
  margin-bottom: 14px;
  line-height: 1.75;
}

.prose ul {
  color: var(--secondary);
  padding-left: 20px;
  margin-bottom: 14px;
  line-height: 1.75;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.prose a:hover {
  border-color: var(--text);
}

.prose .notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--secondary);
}

/* ─── Footer ─────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.825rem;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--secondary);
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 560px) {
  .nav-logo {
    font-size: 1rem;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.775rem;
  }

  .hero {
    padding: 64px 0 56px;
  }

  section {
    padding: 56px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
