:root {
  --ink: #3f342d;
  --ink-soft: #75685f;
  --paper: #f6f0e7;
  --paper-2: #eee4d6;
  --cream: #fffaf3;
  --accent: #9a6a4e;
  --accent-soft: #caa88f;
  --sage: #788579;
  --line: rgba(84, 64, 52, .14);
  --shadow: 0 24px 70px rgba(70, 51, 39, .12);
  --radius: 30px;
  --container: min(1160px, calc(100vw - 40px));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
a { color: inherit; }
.container { width: var(--container); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media {
  background: url('/assets/img/hero-family.png') center center / cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(28,22,18,.05) 0%, rgba(28,22,18,.08) 55%, rgba(28,22,18,.58) 100%),
    linear-gradient(90deg, rgba(28,22,18,.18) 0%, rgba(28,22,18,.02) 52%, rgba(28,22,18,.02) 100%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(36px, 7vh, 76px);
  transform: translateX(-50%);
  width: var(--container);
  max-width: none;
  color: #fffaf4;
  text-shadow: 0 2px 20px rgba(0,0,0,.28);
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  opacity: .78;
}
.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.04em;
}
.hero-text {
  margin: 18px 0 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.18;
  font-style: italic;
}
.hero-names {
  margin: 18px 0 0;
  font-size: .98rem;
  letter-spacing: .08em;
  opacity: .9;
}
.hero-link {
  display: inline-flex;
  margin-top: 24px;
  padding: .84rem 1.18rem;
  border-radius: 999px;
  background: rgba(255,250,244,.14);
  border: 1px solid rgba(255,250,244,.32);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: .2s ease;
}
.hero-link:hover { background: rgba(255,250,244,.22); transform: translateY(-1px); }

.contact-section {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 20% 20%, rgba(202,168,143,.20), transparent 32%),
    linear-gradient(180deg, var(--paper) 0%, #f3eadf 100%);
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 34px 0 auto;
  width: 78px;
  height: 1px;
  margin: auto;
  background: var(--accent-soft);
}
.contact-shell {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid rgba(84,64,52,.11);
  border-radius: 38px;
  background: rgba(255,250,243,.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.home-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e7d6c7;
  color: var(--accent);
  font-size: 1.25rem;
}
.eyebrow-accent { color: var(--accent); opacity: 1; }
.contact-copy h2,
.legal h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.03em;
}
.contact-copy p { margin: 0; max-width: 40ch; color: var(--ink-soft); }
.contact-copy a,
.legal a,
.site-footer a { color: var(--accent); }

.contact-form {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 1px solid rgba(84,64,52,.10);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(79,57,43,.08);
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(154,106,78,.22);
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 17px; }
.field label,
.checkline { font-size: .93rem; color: #67594f; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d9cabd;
  background: #fffdf9;
  color: var(--ink);
  border-radius: 14px;
  padding: .95rem 1rem;
  font: inherit;
  outline: none;
  transition: .2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: #b78869;
  box-shadow: 0 0 0 4px rgba(183,136,105,.12);
}
textarea { resize: vertical; min-height: 180px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.checkline { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 22px; }
.checkline input { margin-top: .28rem; }
button {
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  background: var(--accent);
  color: #fffaf5;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(154,106,78,.22);
  transition: .2s ease;
}
button:hover { transform: translateY(-1px); background: #865a43; }
.status-box {
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 14px;
  background: #efe4da;
  color: var(--ink);
}
.status-box.is-success { background: #e4eee5; }
.status-box.is-error { background: #f4e3df; }

.site-footer {
  background: #e9dfd2;
  border-top: 1px solid rgba(84,64,52,.1);
  padding: 24px 0 30px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner p { margin: 0; color: #71645b; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner a { text-decoration: none; }

/* Legal pages — warm, calm and intentionally more "home" than business */
.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(221, 190, 164, .34), transparent 30rem),
    radial-gradient(circle at 92% 38%, rgba(205, 177, 151, .18), transparent 34rem),
    linear-gradient(180deg, #f7f0e7 0%, #efe3d6 100%);
}
.legal-header {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #5a4639;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.08rem;
}
.legal-brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 252, 247, .75);
  border: 1px solid rgba(111, 82, 64, .13);
  color: var(--accent);
  box-shadow: 0 7px 24px rgba(88, 61, 43, .06);
}
.legal-home-link {
  color: #7d6759;
  text-decoration: none;
  font-size: .9rem;
  border-bottom: 1px solid rgba(125, 103, 89, .32);
}
.legal-stage {
  width: min(1180px, calc(100vw - 40px));
  margin: 28px auto 72px;
  display: grid;
  grid-template-columns: minmax(190px, .46fr) minmax(0, 1.54fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}
.legal-intro {
  position: sticky;
  top: 38px;
  padding: 28px 0;
  color: #766054;
}
.legal-kicker {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 700;
}
.legal-thread {
  width: 1px;
  height: 88px;
  margin: 22px 0;
  background: linear-gradient(180deg, rgba(154,106,78,.55), rgba(154,106,78,.08));
}
.legal-intro p {
  margin: 0;
  max-width: 14rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  font-style: italic;
}
.legal-card {
  padding: clamp(30px, 5vw, 68px);
  background: rgba(255, 252, 247, .9);
  border: 1px solid rgba(90, 67, 52, .1);
  border-radius: 38px;
  box-shadow: 0 34px 85px rgba(91, 66, 49, .10);
  backdrop-filter: blur(8px);
}
.legal-card h1 {
  margin: 0 0 2.4rem;
  color: #4f3e33;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.035em;
}
.legal-card h2 {
  margin: 2.8rem 0 .85rem;
  padding-top: .4rem;
  color: #5d493c;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}
.legal-card h3 {
  margin: 2rem 0 .6rem;
  color: #705847;
  font-family: var(--serif);
  font-size: 1.17rem;
  font-weight: 600;
}
.legal-card h4 {
  margin: 1.45rem 0 .45rem;
  color: #6d5c50;
  font-size: .96rem;
  font-weight: 700;
}
.legal-card p,
.legal-card li {
  color: #6d6057;
  line-height: 1.78;
}
.legal-card p { margin: .55rem 0 1rem; }
.legal-card ul { padding-left: 1.25rem; }
.legal-card a { color: var(--accent); text-underline-offset: 3px; }
.legal-card strong { color: #57483f; }
.legal-source {
  margin-top: 3rem !important;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(93, 73, 60, .12);
  font-size: .82rem;
  color: #8a7a70 !important;
}
.legal-footer {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 0 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #867266;
  font-size: .86rem;
}
.legal-footer nav { display: flex; gap: 18px; }
.legal-footer a { color: inherit; text-decoration: none; }

@media (max-width: 900px) {
  .contact-shell { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .hero-content { bottom: 34px; }
}

@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero-media { background-position: 67% center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(28,22,18,.08) 0%, rgba(28,22,18,.18) 45%, rgba(28,22,18,.72) 100%);
  }
  .hero h1 { max-width: 7.5ch; }
  .hero-text { max-width: 15ch; }
  .hero-names { max-width: 18ch; line-height: 1.7; }
  .contact-section { padding: 80px 0 90px; }
  .contact-shell { border-radius: 28px; padding: 22px; }
  .contact-form { border-radius: 22px; padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .legal { border-radius: 24px; }
}

@media (max-width: 820px) {
  .legal-header { min-height: 78px; }
  .legal-stage { grid-template-columns: 1fr; margin-top: 8px; gap: 10px; }
  .legal-intro { position: static; padding: 10px 4px 18px; }
  .legal-thread { width: 56px; height: 1px; margin: 14px 0; }
  .legal-intro p { font-size: 1rem; max-width: none; }
  .legal-card { border-radius: 28px; }
}
@media (max-width: 560px) {
  .legal-header, .legal-stage, .legal-footer { width: min(100% - 28px, 1180px); }
  .legal-home-link { display: none; }
  .legal-card { padding: 25px 21px 30px; border-radius: 24px; }
  .legal-card h1 { font-size: clamp(2.5rem, 14vw, 3.6rem); }
  .legal-card h2 { margin-top: 2.3rem; }
  .legal-footer { flex-direction: column; }
}
