/* Foote Legal — public site. Modern, warm, plain-spoken. */
:root {
  --ink: #1d2b2a;          /* deep green-charcoal */
  --ink-soft: #3c4c4a;
  --muted: #66716f;
  --paper: #fbf8f3;        /* warm off-white */
  --sand: #f2ece2;
  --line: #e4ddd1;
  --accent: #b5562f;       /* terracotta */
  --accent-dark: #8f4122;
  --pine: #2f5d54;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29,43,42,.06), 0 8px 24px rgba(29,43,42,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8em; }
.lede { font-size: 1.18rem; color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(251,248,243,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.35rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--pine); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav .btn { padding: .6em 1.2em; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .85em 1.7em; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--sand); }
.dark { background: var(--ink); color: #e9efed; }
.dark h2, .dark h3 { color: #fff; }
.dark a { color: #f3c3ab; }
.section-head { max-width: 680px; margin-bottom: 44px; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { max-width: 560px; margin-bottom: 1.8em; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.hero-card h3 { margin-bottom: .8em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: #e7f0ed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks strong { display: block; }

/* Practice cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; stroke: var(--pine); }
.card p { color: var(--ink-soft); flex: 1; }
.card .more { font-weight: 600; color: var(--accent-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.2rem; margin-bottom: 16px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-soft); }
.portrait { aspect-ratio: 4 / 5; border-radius: 22px; background: linear-gradient(160deg, var(--pine), var(--ink)); color: #fff; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-size: 5rem; }

/* Practice detail pages */
.page-head { padding: 64px 0 40px; }
.practice { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.practice-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; }
.practice ul { margin: 0 0 1em; padding-left: 1.2em; }
.practice li { margin-bottom: .35em; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.toc a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; font-weight: 500; font-size: .93rem; color: var(--ink); }
.toc a:hover { border-color: var(--accent); color: var(--accent-dark); }
.callout { background: var(--sand); border-radius: var(--radius); padding: 18px 22px; font-size: .95rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lede { color: #cbd7d3; max-width: 600px; margin: 0 auto 1.6em; }
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }
.cta-band .actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.form .req { color: var(--accent); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: .7em .85em; border: 1px solid #d6cfc2; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--pine); outline-offset: 1px; border-color: var(--pine); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; min-height: 1.4em; font-size: .95rem; }
.status.ok { color: var(--pine); font-weight: 600; }
.status.err { color: var(--accent-dark); font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; }
.contact-list span { font-weight: 600; min-width: 64px; }

/* Legal text */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose { color: var(--ink-soft); }

/* Footer */
.foot { background: #17221f; color: #b7c3bf; padding: 56px 0 36px; font-size: .93rem; }
.foot a { color: #e5ece9; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .fine { border-top: 1px solid #2c3a36; padding-top: 22px; color: #8c9a96; font-size: .84rem; }
.foot .fine p { margin: .3em 0; }


/* Photo hero slideshow */
.hero-show { position: relative; min-height: min(88vh, 760px); padding: 0; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #17221f; }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 9s ease-out; }
.slide.is-on img { transform: scale(1); }
.slide img[src*="split-rock"] { object-position: 22% 50%; }
.slide figcaption { position: absolute; right: 22px; bottom: 26px; font-size: .82rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,20,.78) 0%, rgba(14,22,20,.45) 50%, rgba(14,22,20,.1) 100%), linear-gradient(0deg, rgba(14,22,20,.55) 0%, rgba(14,22,20,0) 40%); }
.hero-copy { position: relative; padding-top: 120px; padding-bottom: 40px; width: 100%; }
.hero-copy h1 { color: #fff; max-width: 760px; font-size: clamp(2.4rem, 5.4vw, 4.1rem); text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-copy h1 span { color: #f3b494; }
.hero-copy .eyebrow { color: #f3b494; }
.hero-copy .lede { color: #e8eeec; max-width: 560px; margin-bottom: 1.8em; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.btn-light:hover { background: #fff; color: var(--ink); }
.slide-ctrl { position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 26px; width: 100%; }
.dots { display: flex; gap: 8px; }
.dot { width: 28px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.4); cursor: pointer; }
.dot.is-on { background: #fff; }
.pause { background: none; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: 4px 6px; }
.pause:hover { color: #fff; text-decoration: underline; }

/* Inner page photo banner */
.photo-head { position: relative; padding: 120px 0 72px; color: #fff; overflow: hidden; background: #17221f; }
.photo-head-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,20,.82), rgba(14,22,20,.35)); }
.photo-head .wrap { position: relative; z-index: 1; }
.photo-head h1 { color: #fff; max-width: 720px; }
.photo-head .eyebrow { color: #f3b494; }
.photo-head .lede { color: #e8eeec; max-width: 640px; margin: 0; }
.toc-bar { padding: 22px 0; border-bottom: 1px solid var(--line); }
.toc-bar .toc { margin: 0; }

/* Photo sections */
.nice-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.nice-photo img, .split-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.nice-photo { aspect-ratio: 4 / 5; }
.split-photo { aspect-ratio: 4 / 3; }
.split-photo.tall { aspect-ratio: 4 / 5; }
.photo-split .split { align-items: center; }
.steps-list { margin: 1em 0 0; padding-left: 1.3em; display: grid; gap: 14px; color: var(--ink-soft); }
.steps-list strong { color: var(--ink); }
.credits { padding-left: 1.2em; font-size: .93rem; }
.credits li { margin-bottom: .4em; }
.call-note { background: #eef5f3; }

/* Quick help */
.quick-band { padding: 56px 0; background: var(--sand); }
.quick-band .section-head { margin-bottom: 28px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.quick-card p { color: var(--ink-soft); flex: 1; }
.quick-card .quick-price { flex: none; font-family: "Fraunces", Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--accent); margin: 0 0 .2em; line-height: 1; }
.topic-hint { margin: -4px 0 0; padding: 12px 14px; background: #eef5f3; border-radius: 10px; font-size: .9rem; color: var(--pine); font-weight: 500; }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } }

/* Checklist page */
.ck-intro { padding: 40px 0 8px; }
.ck-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.ck-progress { margin: 0; font-weight: 600; color: var(--pine); }
.ck-ask { margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: #eef5f3; }
.ck-ask p { margin: 0 0 12px; }
.ck-sec { padding: 52px 0; }
.ck-sec + .ck-sec { border-top: 1px solid var(--line); }
.cklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ck label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.ck label:hover { border-color: #cfc6b6; }
.ck input { position: absolute; opacity: 0; }
.ck .box { flex: none; width: 24px; height: 24px; margin-top: 2px; border: 2px solid #b9b0a1; border-radius: 7px; background: #fff; display: grid; place-items: center; }
.ck input:checked + .box { background: var(--pine); border-color: var(--pine); }
.ck input:checked + .box::after { content: ""; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ck input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.ck input:checked ~ .ck-body strong { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(47,93,84,.5); }
.ck:has(input:checked) label { background: #f6faf8; }
.ck-body { display: grid; gap: 4px; }
.ck-body > span { color: var(--ink-soft); font-size: .96rem; }
.ck-body a { font-weight: 600; white-space: nowrap; }
.cite { font-size: .8rem; font-weight: 600; color: var(--accent-dark); letter-spacing: .02em; }
.links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.links li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 2px; }
.links a { font-weight: 600; font-size: 1.05rem; }
.links .src { font-size: .82rem; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; }
.links span:last-child { color: var(--ink-soft); font-size: .95rem; }
.ck-fine { margin-top: 22px; }
.cta-alt { margin: 18px 0 0; font-size: .95rem; color: #cbd7d3; }
@media print {
  .top, .foot, .cta-band, .quick-band .quick, .ck-tools .btn, .toc, .ck-ask, .photo-head-img, .photo-head::after { display: none !important; }
  .photo-head { padding: 0; color: #000; background: none; } .photo-head h1, .photo-head .lede, .photo-head .eyebrow { color: #000; }
  .ck-sec { padding: 14px 0; } .ck label { border: 0; padding: 6px 0; } .ck .box { border-color: #000; }
  .ck-body a::after { content: " (" attr(href) ")"; font-weight: 400; font-size: .8em; white-space: normal; }
  body { background: #fff; font-size: 12pt; }
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid, .practice-grid, .nice-grid { grid-template-columns: 1fr; gap: 36px; }
  .nice-photo, .split-photo.tall { aspect-ratio: 16 / 10; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 22px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; border: 0; }
  .cards { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 96px; }
  .slide figcaption { display: none; }
  .photo-head { padding: 88px 0 52px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .slide img { transform: none; } }

/* We'll draft it for you */
.quick-card .quick-price small { font-size: .45em; font-weight: 500; color: var(--muted); margin: 0 .15em; }
.draft-band { padding: 64px 0; }
.draft-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.draft-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; scroll-margin-top: 90px; }
.draft-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.draft-card p { margin: 0 0 .6em; color: var(--ink-soft); font-size: .96rem; }
.draft-card > p:nth-of-type(2) { flex: 1; }
.draft-price { font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; font-weight: 600; color: var(--accent) !important; line-height: 1; margin-bottom: .35em !important; }
.draft-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.draft-fee { font-size: .8rem; color: var(--muted); }
.draft-card .btn { margin-top: 6px; padding: .6em 1.2em; font-size: .95rem; }
.draft-fine { margin-top: 22px; max-width: 80ch; }
.draft-row { margin-top: 16px; padding: 16px 20px; border-radius: var(--radius); background: #eef5f3; }
.draft-row p { margin: 0 0 6px; }
.draft-row ul { margin: 0; padding-left: 1.1em; }
.draft-row a { font-weight: 600; }
.draft-btn { display: inline-block; font-size: .88rem; font-weight: 600; color: var(--accent-dark); background: #fff3ec; border: 1px solid #f0cdb9; border-radius: 999px; padding: .35em .95em; text-decoration: none; white-space: nowrap; }
.draft-btn:hover { background: #ffe8dc; border-color: var(--accent); }
.ck:has(.ck-draft) label { border-bottom: 0; border-radius: 14px 14px 0 0; padding-bottom: 8px; }
.ck-draft { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; padding: 0 18px 14px 56px; }
.ck:has(input:checked) .ck-draft { background: #f6faf8; }
@media (max-width: 960px) { .draft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .draft-grid { grid-template-columns: 1fr; } }

/* Document Vault */
.vault-grid { align-items: start; }
.vault-steps li span { display: block; color: var(--ink-soft); }
.vault-price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.vault-price .quick-price { font-family: "Fraunces", Georgia, serif; font-size: 2.6rem; font-weight: 600; color: var(--accent); margin: 0; line-height: 1; }
.vault-price .quick-price small { font-size: .4em; color: var(--muted); font-weight: 500; }
.vault-billed { color: var(--muted); margin: .3em 0 1em; }
.vault-price .btn { margin: 6px 0 12px; }
@media print { .ck-draft { display: none !important; } }
