/* Shared styles for IMMI sub-pages (about, contact, privacy, terms) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F4EBDC;
  color: #2B1D10;
  line-height: 1.65;
  font-size: 16px;
  background-image:
    radial-gradient(ellipse at top left, rgba(215,160,100,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(140,70,40,0.06) 0%, transparent 50%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0 0.05  0 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1D1107;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
em.italic, .page-content em {
  font-style: italic;
  color: #B85C2F;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.container-wide { max-width: 1160px; }

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(244,235,220,0.82);
  border-bottom: 1px solid rgba(43,29,16,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #1D1107;
  text-decoration: none;
}
.logo-mark { color: #B85C2F; font-style: italic; }
.nav-cta {
  display: inline-block;
  padding: 10px 22px;
  background: #1D1107;
  color: #F4EBDC;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-cta:hover { background: #B85C2F; }

/* ---------- PAGE CONTENT ---------- */
.page-content { padding: 80px 0 100px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8B5A3C;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.back-link:hover { color: #B85C2F; }

.page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8B5A3C;
  font-weight: 600;
  margin-bottom: 22px;
}

.page-content h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
  margin-bottom: 26px;
}
.page-content h2 {
  font-size: 24px;
  margin-top: 46px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.page-content h3 {
  font-size: 19px;
  margin-top: 26px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.page-content p {
  margin-bottom: 16px;
  font-size: 17px;
  color: #3D2817;
  line-height: 1.7;
}
.page-content p.lede {
  font-size: 20px;
  color: #2B1D10;
  max-width: 680px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.page-content ul {
  margin: 0 0 20px 22px;
  padding: 0;
}
.page-content li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #3D2817;
  line-height: 1.65;
}
.page-content strong { color: #1D1107; font-weight: 600; }
.page-content a {
  color: #B85C2F;
  text-decoration: none;
  border-bottom: 1px solid rgba(184,92,47,0.3);
  transition: border-color 0.2s;
}
.page-content a:hover { border-bottom-color: #B85C2F; }

.updated {
  font-size: 13px;
  color: #8B5A3C;
  font-style: italic;
  margin-bottom: 40px;
}

/* ---------- LEGAL SECTIONS (privacy / terms) ---------- */
.legal-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(43,29,16,0.15);
}
.legal-section:first-of-type { border-top: none; padding-top: 0; margin-top: 40px; }
.legal-section .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: #B85C2F;
  margin-bottom: 8px;
  display: block;
}
.legal-section h2 { margin-top: 0; margin-bottom: 16px; font-size: 26px; }

/* ---------- ABOUT value cards ---------- */
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin: 60px 0 40px;
}
.value-card {
  padding-top: 22px;
  border-top: 1.5px solid #B85C2F;
}
.value-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.value-card h3 em { color: #B85C2F; font-style: italic; }
.value-card p { font-size: 15px; color: #5A4430; line-height: 1.6; margin: 0; }

/* ---------- CONTACT email cards ---------- */
.contact-card {
  padding: 28px 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(43,29,16,0.1);
  margin-bottom: 16px;
}
.contact-card h3 {
  font-size: 22px;
  margin: 0 0 4px;
  font-weight: 500;
}
.contact-card a.email {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  color: #B85C2F;
  text-decoration: none;
  margin: 8px 0 12px;
  border-bottom: none;
}
.contact-card a.email:hover { color: #8B4E26; }
.contact-card p {
  font-size: 15px;
  color: #5A4430;
  margin: 0;
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
footer {
  background: #2B1D10;
  color: rgba(244,235,220,0.6);
  padding: 60px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
footer h4 {
  font-family: 'Inter', sans-serif;
  color: #F4EBDC;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a {
  color: rgba(244,235,220,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
footer a:hover { color: #E89C6A; }
footer a.foot-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: #F4EBDC;
  margin-bottom: 12px;
}
.footer-brand em { color: #E89C6A; font-style: italic; }
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(244,235,220,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(244,235,220,0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .value-row { grid-template-columns: 1fr; gap: 20px; }
  .page-content { padding: 50px 0 60px; }
  .page-content h1 { font-size: clamp(36px, 9vw, 56px); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 22px 24px; }
}
