@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@300;400;500&display=swap');

:root {
  --stone: #EAE3D6;
  --panel: #F6F1E8;
  --ink: #2B2622;
  --ink-soft: #55504A;
  --clay: #A6572E;
  --clay-deep: #7C3D1F;
  --sage: #6E7A5F;
  --dusk-blue: #A9C1C4;
  --pale-yellow: #E8DBA0;
  --line: rgba(43, 38, 34, 0.14);
  --max: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

a {
  color: var(--clay-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--clay); }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}
.nav .wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1.2;
}
.nav .wordmark-name {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--clay-deep);
}
.nav .wordmark-tagline {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.15rem;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.nav a:hover, .nav a.active {
  color: var(--ink);
  border-bottom-color: var(--clay);
}
@media (max-width: 560px) {
  .nav { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav ul { gap: 1.25rem; flex-wrap: wrap; }
}

/* Hero */
.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
}
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.9rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.1;
}
.hero h1 em { color: var(--clay); font-style: normal; }
.hero p.lede {
  margin-top: 1.25rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* Ripple signature */
.ripple-wrap {
  display: flex;
  justify-content: center;
}
.ripple {
  width: min(100%, 340px);
  height: auto;
  transition: transform 0.4s ease-out;
}
.ripple circle {
  fill: none;
  stroke: var(--clay-deep);
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .ripple .r1 { animation: pulse 7s ease-in-out infinite; }
  .ripple .r2 { animation: pulse 7s ease-in-out infinite 1.2s; }
  .ripple .r3 { animation: pulse 7s ease-in-out infinite 2.4s; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.6; }
}

/* Sections */
section.block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}
section.block.wide { max-width: 1040px; }
.rule {
  max-width: 1040px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--line);
}
h2.section-title {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.section-title .num {
  color: var(--clay);
  font-size: 0.85em;
  margin-right: 0.4em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--dusk-blue);
  border-radius: 2px;
  padding: 1.6rem 1.6rem 1.8rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-top-color 0.5s ease;
}
.card:nth-child(2n) { border-top-color: var(--pale-yellow); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(74, 70, 54, 0.10);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card .meta {
  font-size: 0.85rem;
  color: var(--sage);
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
  display: block;
}
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.cta {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--clay-deep);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 1px;
  text-decoration: none;
}
.cta:hover { color: var(--clay); }

/* Footer */
footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer a { color: var(--ink-soft); }

/* Contact page specifics */
.contact-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: left;
}
.contact-email {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  display: inline-block;
  margin: 1.2rem 0 1.6rem;
}
.contact-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

/* Contact form */
.hp-field { position: absolute; left: -9999px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.8rem;
  max-width: 480px;
}
.contact-form label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.9rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.radio-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.4rem;
}
.radio-row label {
  font-size: 0.92rem;
  color: var(--ink);
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.submit-btn {
  align-self: flex-start;
  margin-top: 1.3rem;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  font-size: 1rem;
}
.email-fallback {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
