:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e8e4dc;
  --accent: #8a6d3b;
  --accent-soft: #c9a96a;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 8px 24px rgba(20, 20, 20, 0.06);
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.15; margin-bottom: 0.4em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
}
.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.brand-suffix { color: var(--muted); font-style: italic; }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--ink-soft);
  position: relative;
}
.site-nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: clamp(64px, 12vw, 140px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 169, 106, 0.12), transparent 60%),
    radial-gradient(800px 400px at 0% 30%, rgba(138, 109, 59, 0.06), transparent 60%);
}
.hero-inner { max-width: 820px; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin-top: 16px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Contact card */
.contact-section { padding: 0 0 clamp(48px, 8vw, 96px); }
.contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-block .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-block address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact-block p { margin: 0 0 14px; color: var(--ink-soft); }
.contact-cert { display: flex; flex-direction: column; align-items: flex-start; }
.rjc-mark {
  max-width: 160px;
  margin-top: 6px;
}

/* Section base */
section { scroll-margin-top: 80px; }
.policy-section, .supply-section { padding: clamp(48px, 8vw, 96px) 0; }
.policy-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 32px;
}

/* Commitments grid */
.commitments {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.commitments li {
  position: relative;
  padding: 18px 18px 18px 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.commitments li:hover {
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}
.commitments li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.callout {
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(201, 169, 106, 0.08), transparent 70%);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  margin: 24px 0;
}
.callout p { margin: 0; }

.signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  margin-top: 32px;
  text-align: center;
}

/* Policy list */
.policy-list {
  counter-reset: section;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  max-width: 78ch;
}
.policy-list > li {
  counter-increment: section;
  position: relative;
  padding: 20px 0 20px 56px;
  border-bottom: 1px solid var(--line);
}
.policy-list > li:last-child { border-bottom: 0; }
.policy-list > li::before {
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 500;
}
.policy-list ol[type="a"] {
  margin: 12px 0 0;
  padding-left: 20px;
}
.policy-list ol[type="a"] li {
  margin: 6px 0;
  padding-left: 6px;
}

.endorsement {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.endorsement p { margin: 4px 0; }
.endorsement .date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Documents */
.documents-section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.document-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.document-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  color: var(--ink);
  box-shadow: 0 2px 4px rgba(20, 20, 20, 0.05), 0 12px 32px rgba(20, 20, 20, 0.08);
}
.document-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 169, 106, 0.18), rgba(138, 109, 59, 0.08));
  color: var(--accent);
}
.document-icon svg { width: 22px; height: 22px; }
.document-meta {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.document-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.2;
}
.document-sub {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.document-action {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.document-action svg { width: 16px; height: 16px; }
.document-card:hover .document-action {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner p { margin: 0; }
.footer-inner .small { font-size: 0.8rem; }

/* Responsive */
@media (max-width: 800px) {
  .site-nav { display: none; }
  .contact-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .commitments { grid-template-columns: 1fr; }
  .policy-list > li { padding-left: 44px; }
}
