/* shared.css — Landing-style design tokens for all pages */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #EDEDE7;
  --bg-card: #F5F5F0;
  --white: #FFFFFF;
  --orange: #D85A30;
  --orange-h: #BF4E28;
  --orange-lt: #FBF0EB;
  --orange-bd: #F0C4AD;
  --orange-tx: #7D2E12;
  --ink: #0F0F0E;
  --g2: #2A2A28;
  --g3: #525250;
  --g4: #888884;
  --g5: #C4C4BE;
  --g6: #DEDED8;
  --r: 8px;
  --rl: 14px;
  --rxl: 20px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.page-sub {
  font-size: 15px;
  color: var(--g3);
  line-height: 1.7;
  max-width: 500px;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--g4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--g6);
  border-radius: var(--r);
  padding: 1.25rem;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), border-color 0.2s, box-shadow 0.25s;
  cursor: default;
  text-decoration: none;
  display: block;
  color: var(--ink);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-bd);
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 99px;
  display: inline-block;
}

.card-tag.orange { background: var(--orange-lt); color: var(--orange-tx); border: 1px solid var(--orange-bd); }
.card-tag.blue { background: #E4F0FC; color: #0A3868; border: 1px solid #90C0F0; }
.card-tag.green { background: #EBF5DC; color: #2A5C0A; border: 1px solid #B5D98A; }
.card-tag.purple { background: #F3EAFA; color: #5B21B6; border: 1px solid #C4B5FD; }

.card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin: 10px 0 4px;
}

.card-desc {
  font-size: 12px;
  color: var(--g3);
  line-height: 1.5;
}

.card-link {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  margin-top: 8px;
  display: inline-block;
}

/* ── Pills / Filters ── */
.pill-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--g5);
  background: transparent;
  color: var(--g3);
  cursor: pointer;
  transition: all 0.15s;
}

.pill-btn:hover {
  border-color: var(--g4);
  color: var(--ink);
}

.pill-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 760px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ── Page container ── */
.page-section {
  padding: 3rem 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

/* ── CTA Strip ── */
.cta-strip {
  background: var(--ink);
  border-radius: var(--rxl);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-strip p {
  font-size: 14px;
  color: var(--g4);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
}

.btn-primary:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--g6);
  padding: 2rem 2.5rem;
  max-width: 1040px;
  margin: 0 auto;
}

.site-footer .footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer .footer-tagline {
  font-size: 12px;
  color: var(--g3);
  line-height: 1.6;
  margin-top: 6px;
  max-width: 260px;
}

.site-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer .footer-links a,
.site-footer .footer-links button {
  font-size: 13px;
  color: var(--g4);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links button:hover {
  color: var(--ink);
}

.site-footer .footer-legal {
  border-top: 1px solid var(--g6);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--g5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Inputs (shared) ── */
.input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--g6);
  border-radius: var(--r);
  padding: 9px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.input:focus {
  outline: none;
  border-color: var(--orange);
}

select.input {
  appearance: none;
  cursor: pointer;
}
