/* Dee West Dye Notary
   Plain CSS, no build step. Colors and type are set in :root below. */

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --navy: #1b2a41;
  --navy-deep: #121d2f;
  --ivory: #f7f3e9;
  --paper: #fffdf8;
  --gold: #b0904f;
  --gold-text: #7d6230;
  --ink: #1f2633;
  --muted: #555d6b;
  --rule: #d8ceb9;
  --rule-soft: #e8e1d1;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.15rem, 4vw, 2.25rem);
  --section: clamp(3rem, 7vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--navy); color: var(--paper); padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Small caps label above headings */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem;
}
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-text); margin-top: 0.25rem;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }

.nav .btn-primary, .nav .btn-primary:hover { color: var(--paper); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule); color: var(--navy);
  font: 600 0.85rem var(--sans); padding: 0.5rem 0.8rem; border-radius: 2px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--rule-soft); }
  .nav .btn { margin-top: 1rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--navy);
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--paper); }
.btn-small { padding: 0.55rem 0.95rem; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.hero-note { font-size: 0.92rem; color: var(--muted); margin-top: 1.25rem; }

.ledger {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  background: var(--ivory);
  padding: 1.5rem 1.6rem;
}
.ledger h2 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.ledger dl { margin: 0; }
.ledger div { padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.ledger dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.ledger dd { margin: 0.15rem 0 0; }

@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; border-bottom: 1px solid var(--rule); }
.section-alt { background: var(--paper); }
.section-head { max-width: 42rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }
.section-head .eyebrow { color: var(--gold-text); }

.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .portrait { max-width: 18rem; } }

/* About */
.portrait { margin: 0; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 0.6rem;
}
.portrait-frame img, .portrait-placeholder { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--navy); color: var(--ivory);
  font-family: var(--serif);
}
.portrait-placeholder span { font-size: 3.2rem; letter-spacing: 0.06em; color: var(--gold); }
.portrait-placeholder small { font-family: var(--sans); font-size: 0.8rem; opacity: 0.8; margin-top: 0.5rem; }
.portrait figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.75rem; }

.credentials { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--rule); }
.credentials li { padding: 0.65rem 0 0.65rem 1.4rem; border-bottom: 1px solid var(--rule); position: relative; }
.credentials li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: 0.55rem; height: 1px; background: var(--gold); }

/* Services list (ruled, two columns) */
.ruled-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 3rem; }
.ruled-list li { break-inside: avoid; padding: 1rem 0; border-top: 1px solid var(--rule); }
.ruled-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.ruled-list span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 760px) { .ruled-list { columns: 1; } }

.aside-note { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 3px solid var(--gold); background: var(--paper); font-size: 0.95rem; color: var(--muted); }
.section-alt .aside-note { background: var(--ivory); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold-text);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin: 0; color: var(--muted); }

/* Service area */
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.area-cols h3 { font-size: 1.2rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--rule); }
.area-cols ul { list-style: none; padding: 0; margin: 0; }
.area-cols li { padding: 0.3rem 0; }
@media (max-width: 600px) { .area-cols { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--rule); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.15rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table thead th { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); background: var(--ivory); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--navy); }
.price-table small { display: block; color: var(--muted); font-weight: 400; font-size: 0.88rem; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1rem; font-family: var(--sans); color: var(--gold-text); font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.25rem; color: var(--ink); max-width: 46rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--navy); }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid #bfb39b; border-radius: 2px; padding: 0.7rem 0.8rem;
}
input, select { min-height: 3.1rem; }
textarea { min-height: 7.5rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.field-help { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; }
.form-warning { border: 1px solid var(--rule); border-left: 3px solid var(--navy); background: var(--paper); padding: 0.9rem 1.1rem; font-size: 0.93rem; margin-bottom: 1.5rem; }
.hidden-field { display: none; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: #2f5d3a; }
.form-status.err { color: #8a2b2b; }

.contact-direct { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-direct li { padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.contact-direct li:last-child { border-bottom: 1px solid var(--rule); }
.contact-direct span { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

/* Services page layout */
.page-head { background: var(--paper); border-bottom: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.page-head .lead { color: var(--muted); font-size: 1.12rem; max-width: 42rem; }
.doc-layout { display: grid; grid-template-columns: 14rem 1fr; gap: clamp(2rem, 5vw, 4rem); padding-top: var(--section); padding-bottom: var(--section); }
.toc { position: sticky; top: 6rem; align-self: start; font-size: 0.93rem; }
.toc p { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 0.5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 0.5rem 0; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
.doc { max-width: 46rem; }
.doc section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
.doc section:last-child { border-bottom: 0; }
.doc ul, .doc ol { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.45rem; }
.doc li::marker { color: var(--gold-text); }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

.cta-band { background: var(--navy); color: var(--ivory); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #d9d3c4; max-width: 38rem; }
.cta-band .btn-primary { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.cta-band .btn-primary:hover { background: var(--ivory); }
.cta-band .btn-secondary { color: var(--paper); border-color: #8d97a8; }
.cta-band .btn-secondary:hover { background: var(--navy-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfd3da; font-size: 0.93rem; padding: 3.25rem 0 2rem; }
.site-footer a { color: var(--paper); text-decoration-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: 0.75rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--paper); margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.disclosure { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #34425a; font-size: 0.86rem; color: #aeb5c0; }
.disclosure p { max-width: 60rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 3.75rem; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    border-top: 1px solid var(--rule); background: var(--paper);
  }
  .call-bar a { text-align: center; padding: 1rem 0.5rem; font-weight: 600; text-decoration: none; color: var(--navy); }
  .call-bar a + a { background: var(--navy); color: var(--paper); }
}
