@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young_serif.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inclusive Sans";
  src: url("../fonts/inclusive_sans.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --font-primary: "Young Serif", serif;
  --font-secondary: "Inclusive Sans", sans-serif;
  --bg: #f7f5f1;
  --bg-accent: #efecea;
  --surface: #ffffff;
  --text: #2e2520;
  --text-soft: #524840;
  --muted: #8c7e74;
  --border: #e0dbd4;
  --accent: #8b2040;
  --accent-hover: #a83858;
  --accent-2: #4a7a6a;
  --accent-soft: #f0e6ea;
  --max: 1120px;
  --h2: clamp(2.4rem, 1.6rem + 2.5vw, 4rem);
  --h3: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  --h4: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --body: clamp(0.98rem, 0.93rem + 0.2vw, 1.06rem);
  --small: 0.96rem;
  --lh: 1.68;
  --lh-tight: 1.1;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100%; margin: 0;
  font-family: var(--font-secondary);
  font-size: var(--body); line-height: var(--lh);
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 220ms cubic-bezier(0.4,0,0.2,1); }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(139,32,64,0.3); outline-offset: 4px; border-radius: 2px; }
p, li { margin: 0; font-family: var(--font-secondary); line-height: var(--lh); color: var(--text-soft); }
ul, ol { margin: 0; padding-left: 1.2rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-primary); line-height: var(--lh-tight); color: var(--text); }

.site-header, main, .site-footer {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex; align-items: center;
  gap: 0.85rem; min-width: 0; justify-self: start;
}
.brand:hover { transform: translateY(-1px); }

.brand-logo {
  height: 52px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(46, 37, 32, 0.06));
}

.brand-text { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }

.brand-name {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
  letter-spacing: 0.01em; line-height: 1.05; white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-secondary);
  font-size: 0.82rem; color: var(--muted); line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.main-nav a {
  font-family: var(--font-secondary);
  font-size: 0.93rem;
  color: var(--text-soft);
  padding: 0.58rem 1.3rem;
  border-right: 1px solid var(--border);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: flex; align-items: center;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a:hover { background: rgba(139,32,64,0.04); color: var(--text); }
.main-nav a[aria-current="page"] { background: rgba(139,32,64,0.06); color: var(--accent); }

.nav-cta {
  font-family: var(--font-secondary);
  font-size: 0.93rem; font-weight: 600; line-height: 1;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.58rem 1.3rem;
  white-space: nowrap; letter-spacing: 0.01em;
  transition: background 160ms ease, border-color 160ms ease;
}
.nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  justify-self: end;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

main { padding: 0 0 6rem; position: relative; z-index: 1; }
section[id] { scroll-margin-top: 80px; }

.mission h3,
.promise h3,
.who-we-are h3,
.values h3,
.differentiators h3 {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mission h3::after,
.promise h3::after,
.who-we-are h3::after,
.values h3::after,
.differentiators h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.page-hero {
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::before {
  content: "About Us";
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.privacy-page .page-hero::before {
  content: "Privacy Policy";
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 0;
  align-items: center;
}

.page-hero h2 {
  font-size: var(--h2);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text);
  padding-right: 3rem;
  text-wrap: balance;
}

.page-hero h2 em { font-style: normal; color: var(--accent); }

.page-hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding-left: 3rem;
  border-left: 1px solid var(--border);
}

.page-hero-subtext {
  font-size: 1.02rem;
  color: var(--text-soft);
  max-width: 44ch;
  line-height: 1.7;
}

.trust-line {
  font-family: var(--font-primary);
  font-size: 1.12rem;
  color: var(--text);
  font-style: italic;
}

.mission,
.promise,
.who-we-are,
.values,
.differentiators {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.policy-content {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.policy-content h3 {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-content h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.policy-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.policy-inner article {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.policy-inner h4 {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  margin-bottom: 0.65rem;
}

.policy-inner p {
  font-size: 0.98rem;
  line-height: 1.7;
}

.policy-inner a {
  color: var(--accent);
  font-weight: 600;
}

.policy-inner a:hover { color: var(--accent-hover); }

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mission-statement {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 2rem);
  line-height: 1.2;
  color: var(--text);
}

.mission-sub {
  font-size: 1rem;
  line-height: 1.72;
}

.founder {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}

.founder h3 {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.founder-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.founder-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.founder-story {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  line-height: 1.08;
  color: var(--text);
}

.founder-photo {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.promise-block {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.promise-num {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.promise-block h4 {
  margin-bottom: 0.75rem;
}

.who-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}

.who-text {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.who-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.stat:last-child {
  border-bottom: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 1.25rem + 1vw, 2.5rem);
  color: var(--text);
  margin-bottom: 0.3rem;
}

.stat-label {
  color: var(--muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.value {
  padding: 2rem 1.35rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 180ms ease;
  min-height: 160px;
}
.value:hover { background: rgba(74,122,106,0.04); }
.value h4 { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.value p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

.differentiator-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: diff-counter;
}

.differentiator-list li {
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 3.5rem minmax(220px, 320px) 1fr;
  gap: 1rem 2rem;
  align-items: start;
  counter-increment: diff-counter;
  transition: background 180ms ease;
  font-size: 0.96rem;
  color: var(--muted);
}

.differentiator-list li:last-child { border-bottom: 1px solid var(--border); }
.differentiator-list li:hover { background: rgba(139,32,64,0.025); }

.differentiator-list li::before {
  content: counter(diff-counter, decimal-leading-zero);
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.04em; padding-top: 0.2rem;
}

.differentiator-list strong {
  display: block;
  font-family: var(--font-primary);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  color: var(--text);
  margin-bottom: 0.15rem;
  font-weight: 400;
}

.cta { padding: 5rem 0 0; text-align: center; }

.cta h3 {
  font-family: var(--font-primary);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.cta p { max-width: 50ch; margin: 0 auto 2rem; color: var(--text-soft); font-size: 1.02rem; }

.cta-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 0;
  font-family: var(--font-secondary);
  font-size: 0.93rem; font-weight: 600;
  line-height: 1; letter-spacing: 0.01em;
}
.primary-button { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.primary-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.secondary-button { background: transparent; border: 1.5px solid var(--border); color: var(--text-soft); }
.secondary-button:hover { border-color: var(--text-soft); color: var(--text); transform: translateY(-1px); }

.site-footer {
  padding: 2.5rem 0 3.5rem;
  color: var(--muted);
  font-size: var(--small);
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.site-footer p + p { margin-top: 0.35rem; }

.footer-contact {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.9rem;
  color: var(--text-soft);
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
}

.footer-contact a:hover { color: var(--accent-hover); }

.footer-contact span {
  color: var(--muted);
}

.footer-verse {
  font-family: var(--font-primary);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.site-footer p:first-child { font-family: var(--font-primary); color: var(--text-soft); }

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  .site-header { grid-template-columns: 1fr auto; padding: 1rem 0; gap: 1rem; }
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(247, 245, 241, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: none;
    z-index: 99;
  }

  .main-nav.is-open a {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    width: 100%;
    justify-content: flex-start;
  }

  .mission-inner,
  .founder-inner,
  .who-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root { --h2: clamp(2rem, 1.5rem + 2vw, 2.8rem); }

  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero h2 { padding-right: 0; padding-bottom: 2rem; }
  .page-hero-right { border-left: none; padding: 2rem 0 0; border-top: 1px solid var(--border); }

  .promise-grid { grid-template-columns: 1fr; border-left: none; }
  .promise-block { border-right: none; }
  .policy-inner { grid-template-columns: 1fr; border-left: none; }
  .policy-inner article { border-right: none; padding: 1.5rem 0; }

  .differentiator-list li { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.4rem 0; }
  .differentiator-list li::before { display: none; }

  .values-grid { grid-template-columns: 1fr; border-left: none; }
  .value { border-right: none; padding: 1.5rem 0; min-height: auto; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions a { width: 100%; }
}

@media (max-width: 420px) {
  .site-header, main, .site-footer { width: calc(100% - 1.25rem); }
  .brand { gap: 0.65rem; }
  .brand-logo { height: 38px; }
  .brand-name { font-size: 0.95rem; white-space: normal; }
  .brand-tagline { font-size: 0.78rem; }
}
