/* Veritas et Fructus – quiet, minimal, durable design language */

:root {
  --paper: #faf7ef;
  --paper-2: #fffdf8;
  --ink: #1f2723;
  --soft-ink: #5f6a64;
  --faint-ink: #879089;
  --line: #e6ded0;
  --line-strong: #d6c9b7;
  --gold: #b58a42;
  --gold-soft: #eadfc9;
  --green: #697a69;
  --blue: #536b78;
  --shadow: 0 28px 90px rgba(36, 42, 38, 0.09);
  --radius: 28px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(250,247,239,0.96)),
    radial-gradient(circle at top left, rgba(181,138,66,0.12), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(83,107,120,0.12), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(31,39,35,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,39,35,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-200%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.ambient-one {
  width: 24rem;
  height: 24rem;
  left: -10rem;
  top: 16rem;
  background: rgba(181, 138, 66, 0.11);
}

.ambient-two {
  width: 28rem;
  height: 28rem;
  right: -12rem;
  bottom: 6rem;
  background: rgba(105, 122, 105, 0.10);
}

.site-header {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.75);
  box-shadow: 0 12px 34px rgba(36, 42, 38, 0.05);
}

.mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark circle {
  stroke: var(--gold-soft);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
}

.top-nav a:hover,
.top-nav a:focus {
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 0 96px;
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h1 {
  max-width: 980px;
  font-size: clamp(4.2rem, 12vw, 10.8rem);
}

.lead {
  width: min(760px, 100%);
  margin: 32px auto 0;
  color: var(--soft-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.scripture-card {
  width: min(760px, 100%);
  margin: 48px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.scripture-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  line-height: 1.42;
}

.scripture-card cite {
  display: inline-block;
  margin-top: 14px;
  color: var(--faint-ink);
  font-style: normal;
  font-size: 0.95rem;
}

.quiet-section {
  display: grid;
  grid-template-columns: 0.72fr 1.8fr;
  gap: clamp(28px, 6vw, 90px);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.section-copy p {
  margin: 0;
}

.section-copy p + p {
  margin-top: 26px;
  color: var(--soft-ink);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0 90px;
}

.principles article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 18px 58px rgba(36, 42, 38, 0.05);
}

.number {
  margin-bottom: auto;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.principles h2 {
  margin-top: 52px;
  font-size: 2.2rem;
}

.principles p {
  margin: 14px 0 0;
  color: var(--soft-ink);
}

.manifesto-preview {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: 56px;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255,253,248,0.86), rgba(250,247,239,0.7)),
    radial-gradient(circle at top right, rgba(181,138,66,0.13), transparent 22rem);
  box-shadow: var(--shadow);
}

.manifesto-preview h2,
.connect h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.manifesto-preview p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.connect {
  text-align: center;
  padding: 110px 0 90px;
}

.connect p {
  width: min(660px, 100%);
  margin: 20px auto 0;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.link-row a {
  min-width: 108px;
  text-align: center;
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-row a:hover,
.link-row a:focus {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 66, 0.58);
  background: var(--paper-2);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--faint-ink);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 78px;
  }

  .quiet-section,
  .manifesto-preview {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: 250px;
  }

  .manifesto-preview {
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5.4rem);
  }

  .top-nav {
    gap: 0;
    font-size: 0.9rem;
  }

  .top-nav a {
    padding: 8px 9px;
  }

  .scripture-card {
    margin-top: 34px;
  }
}
