/* ============================================
   THE GREY LEDGER — Apple-Inspired Design
   Clarity. Space. Intentional restraint.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --white:          #FFFFFF;
  --bg:             #F5F5F7;
  --charcoal:       #1D1D1F;
  --mid:            #424245;
  --grey:           #555558;
  --light:          #8E8E93;
  --rule:           #D2D2D7;
  --brass:          #A07840;
  --brass-light:    #C49A5A;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --max:     1120px;
  --narrow:  720px;
  --pad-x:   clamp(1.5rem, 5vw, 5rem);
  --sec-y:   clamp(5rem, 10vw, 9rem);

  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    20px;
  --r-pill:  100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── Grain ── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 999; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 52px;
  display: flex; align-items: center;
  padding: 0 var(--pad-x);
  background: rgba(255,255,255,0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
}
.nav-inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.wordmark {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.03em; color: var(--charcoal); transition: opacity 0.2s;
}
.wordmark:hover { opacity: 0.6; }
.wordmark--sm { font-size: 1rem; }
.nav-contact {
  font-size: 0.75rem; color: var(--grey); transition: color 0.2s;
}
.nav-contact:hover { color: var(--brass); }

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad-x) 6rem;
  background: var(--white);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 65vw; height: 65vw;
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(160,120,64,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  max-width: var(--max); margin: 0 auto; width: 100%;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem;
}
.hero-eyebrow-line { width: 2rem; height: 0.5px; background: var(--brass); }
.hero-eyebrow-text {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.01em; color: var(--charcoal);
  margin-bottom: 2.5rem; max-width: 14ch;
}
.hero-h1 em { font-style: italic; color: var(--mid); }
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 400; line-height: 1.8; color: var(--mid);
  max-width: 48ch; margin-bottom: 3rem;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--charcoal); color: var(--white);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  border-radius: var(--r-pill); transition: opacity 0.2s, transform 0.2s;
}
.hero-btn:hover { opacity: 0.8; transform: translateY(-1px); }
.hero-btn-arrow { transition: transform 0.2s; }
.hero-btn:hover .hero-btn-arrow { transform: translateX(3px); }

/* ── Section Base ── */
.section { padding: var(--sec-y) var(--pad-x); }
.section--alt { background: var(--bg); }
.section--dark { background: var(--charcoal); }
.container { max-width: var(--max); margin: 0 auto; width: 100%; }
.container--narrow { max-width: var(--narrow); }

/* ── Section Label ── */
.sec-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 1.25rem;
}
.sec-label::before {
  content: ''; width: 1.5rem; height: 0.5px;
  background: var(--brass); display: block;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--charcoal);
}
.sec-title em { font-style: italic; color: var(--mid); }
.sec-header { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* ── About ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem); align-items: start;
}
.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300; line-height: 1.5; color: var(--charcoal);
  margin-bottom: 2rem;
}
.about-lead em { font-style: italic; color: var(--grey); }
.body-p {
  font-size: 0.96rem; font-weight: 400;
  line-height: 1.85; color: var(--charcoal); margin-bottom: 1.25rem;
}
.body-p--accent {
  font-family: var(--serif); font-size: 1.1rem;
  font-style: italic; color: var(--brass);
  padding-left: 1.25rem; margin-top: 1.75rem;
  border-left: 1.5px solid var(--brass);
}
.about-callout { position: sticky; top: 5rem; }
.callout-card {
  background: var(--bg); border-radius: var(--r-lg);
  padding: 2.25rem; border: 0.5px solid var(--rule);
}
.callout-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.25rem;
}
.callout-stat {
  font-family: var(--serif); font-size: 2.75rem;
  font-weight: 300; color: var(--charcoal);
  line-height: 1; margin-bottom: 0.5rem;
}
.callout-desc {
  font-size: 0.875rem; font-weight: 400;
  color: var(--mid); line-height: 1.75;
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 0.5px solid var(--rule);
}
.callout-items { list-style: none; }
.callout-items li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 400; color: var(--mid);
  padding: 0.7rem 0; line-height: 1.55;
  border-bottom: 0.5px solid var(--rule);
}
.callout-items li:last-child { border-bottom: none; padding-bottom: 0; }
.dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); flex-shrink: 0; margin-top: 0.42rem;
}

/* ── Offer Cards ── */
.offer-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
  margin-bottom: 2rem;
}
.offer-card {
  background: var(--white); border: 0.5px solid var(--rule);
  border-radius: var(--r-lg); padding: 2.25rem 1.875rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.offer-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.offer-num {
  font-family: var(--serif); font-size: 2.25rem;
  font-weight: 300; color: var(--rule); line-height: 1; margin-bottom: 1.5rem;
}
.offer-title {
  font-family: var(--serif); font-size: 1.2rem;
  font-weight: 400; color: var(--charcoal);
  margin-bottom: 0.875rem; line-height: 1.3;
}
.offer-body {
  font-size: 0.9rem; font-weight: 400;
  line-height: 1.8; color: var(--mid);
}
.offer-notice {
  padding: 1.25rem 1.75rem; background: var(--bg);
  border-radius: var(--r-md); border: 0.5px solid var(--rule);
  font-size: 0.82rem; font-weight: 400; color: var(--mid);
  line-height: 1.75; text-align: center;
}

/* ── Capture ── */
.capture-wrap { text-align: center; max-width: var(--narrow); margin: 0 auto; }
.capture-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1; color: var(--white);
  margin-bottom: 1.5rem;
}
.capture-h2 em { font-style: italic; opacity: 0.6; }
.capture-p {
  font-size: 0.93rem; font-weight: 300;
  line-height: 1.85; color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem; max-width: 50ch;
  margin-left: auto; margin-right: auto;
}
.capture-form {
  display: flex; margin: 2.5rem auto 1rem;
  max-width: 400px; border-radius: var(--r-pill); overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.capture-input {
  flex: 1; padding: 0.9rem 1.4rem;
  background: transparent; border: none; outline: none;
  color: var(--white); font-family: var(--sans);
  font-size: 0.875rem; font-weight: 300;
}
.capture-input::placeholder { color: rgba(255,255,255,0.42); }
.capture-btn {
  padding: 0.9rem 1.4rem; background: var(--brass); border: none;
  color: var(--white); font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
  border-radius: 0 var(--r-pill) var(--r-pill) 0; white-space: nowrap;
}
.capture-btn:hover { background: var(--brass-light); }
.capture-note { font-size: 0.77rem; color: rgba(255,255,255,0.52); }

/* ── Capture success state ── */
.capture-success {
  padding: 2rem 0 1rem;
}
.success-mark {
  font-size: 1.5rem;
  color: var(--brass);
  margin-bottom: 1rem;
  animation: pulse 2s ease infinite;
}
.success-headline {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Contact ── */
.contact-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 4rem; flex-wrap: wrap;
}
.contact-h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--charcoal); margin-bottom: 0.75rem;
}
.contact-sub { font-size: 0.95rem; font-weight: 400; color: var(--mid); line-height: 1.7; }
.contact-btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 2rem; border: 0.5px solid var(--rule);
  border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 400;
  color: var(--charcoal); transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.contact-btn:hover {
  background: var(--bg); border-color: var(--brass); color: var(--brass);
}
.stmt-note {
  margin-top: 3.5rem; padding-top: 2rem; border-top: 0.5px solid var(--rule);
  font-size: 0.82rem; font-weight: 400; color: var(--mid); line-height: 1.8;
}

/* ── Footer ── */
.footer { background: var(--charcoal); padding: 4rem var(--pad-x) 3rem; }
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 3rem; flex-wrap: wrap;
  padding-bottom: 2.5rem; margin-bottom: 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.footer .wordmark { color: var(--white); }
.footer-tagline {
  font-family: var(--serif); font-size: 0.875rem;
  font-style: italic; color: rgba(255,255,255,0.55); margin-top: 0.35rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a {
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.62); transition: color 0.2s;
}
.footer-links a:hover { color: var(--brass-light); }
.footer-copy {
  max-width: var(--max); margin: 0 auto;
  font-size: 0.7rem; font-weight: 300;
  color: rgba(255,255,255,0.55); line-height: 1.85; max-width: 70ch;
}

/* ── Policy Pages ── */
.policy-hero {
  padding: 7rem var(--pad-x) 4rem;
  border-bottom: 0.5px solid var(--rule);
}
.policy-hero-inner { max-width: var(--max); margin: 0 auto; }
.policy-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.25rem;
}
.policy-eyebrow::before {
  content: ''; width: 1.5rem; height: 0.5px; background: var(--brass); display: block;
}
.policy-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 300; color: var(--charcoal); line-height: 1.1; margin-bottom: 0.75rem;
}
.policy-meta { font-size: 0.78rem; color: var(--grey); letter-spacing: 0.04em; }
.policy-body { padding: 4rem var(--pad-x); }
.policy-body-inner { max-width: 680px; margin: 0 auto; }
.policy-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 3rem;
  transition: color 0.2s;
}
.policy-back:hover { color: var(--brass); }
.policy-back::before { content: '←'; }
.policy-section { margin-bottom: 3rem; }
.policy-section h2 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 1rem;
  padding-bottom: 0.75rem; border-bottom: 0.5px solid var(--rule);
}
.policy-section p {
  font-size: 0.93rem; font-weight: 400; color: var(--mid);
  line-height: 1.85; margin-bottom: 1rem;
}
.policy-section ul, .policy-section ol { margin-left: 1.25rem; margin-bottom: 1rem; }
.policy-section li {
  font-size: 0.93rem; font-weight: 400; color: var(--mid);
  line-height: 1.85; margin-bottom: 0.4rem;
}
.policy-section a { color: var(--brass); }
.policy-section a:hover { text-decoration: underline; }

/* ── Divider ── */
.rule { width: 100%; height: 0.5px; background: var(--rule); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-callout { position: static; }
  .offer-grid { grid-template-columns: 1fr; }
  .contact-row { flex-direction: column; gap: 2rem; align-items: flex-start; }
}
@media (max-width: 640px) {
  .capture-form { flex-direction: column; border-radius: var(--r-lg); }
  .capture-btn { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .footer-top { flex-direction: column; gap: 2rem; }
}
