/* ==========================================================================
   loramora — shared stylesheet
   No third-party fonts, trackers, or embeds. System font stacks only.
   ========================================================================== */

:root {
  /* Brand palette: deep forest brown, white, warm pink, antique gold */
  --brown-950: #1c1611;
  --brown-900: #241c15;
  --brown-800: #382c21;
  --brown-700: #4f4032;
  --brown-500: #7a6752;
  --pink-600: #b97b78;
  --pink-500: #cd948f;
  --pink-100: #f7e9e6;
  --pink-50:  #fbf3f1;
  --gold-600: #93713f;
  --gold-500: #b08d57;
  --gold-300: #cdb27f;
  --ivory:    #fdfbf7;
  --white:    #ffffff;
  --ink:      #221b14;
  --ink-soft: #4a4038;
  --line:     #e5d9cc;
  --line-soft:#efe6db;

  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max-width: 1180px;
  --radius: 4px;
  --shadow-soft: 0 10px 30px -18px rgba(28, 22, 17, 0.35);
  --transition: 220ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding-left: 1.3em; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--brown-900);
  line-height: 1.22;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1.1em; }
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brown-900);
  color: var(--ivory);
  padding: 10px 18px;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--brown-900);
  color: var(--ivory);
  border-color: var(--brown-900);
}
.btn-primary:hover { background: var(--brown-800); }
.btn-outline {
  background: transparent;
  color: var(--brown-900);
  border-color: var(--brown-900);
}
.btn-outline:hover { background: var(--brown-900); color: var(--ivory); }
.btn-gold {
  background: var(--gold-500);
  color: var(--brown-950);
  border-color: var(--gold-500);
}
.btn-gold:hover { background: var(--gold-600); color: var(--ivory); }
.btn-on-dark.btn-outline {
  color: var(--ivory);
  border-color: var(--gold-300);
}
.btn-on-dark.btn-outline:hover { background: var(--ivory); color: var(--brown-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brown-900);
}
.brand__emblem { width: 40px; height: 46px; flex-shrink: 0; }
.brand__word {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
.brand__tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown-900);
  margin: 4px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav__list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__list a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] {
  color: var(--brown-900);
  border-bottom-color: var(--gold-500);
}
.header-cta { display: flex; align-items: center; gap: 18px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.is-open { display: flex; }
  .main-nav__list { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav__list a { display: block; padding: 10px 0; }
  .header-cta { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .header-cta .btn { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--brown-900) 0%, var(--brown-950) 100%);
  color: var(--ivory);
  padding: 96px 0 84px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold-500);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(205,148,143,0.14), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; max-width: 900px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(205,178,127,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 15ch;
  margin-bottom: 0.5em;
}
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(253,251,247,0.86);
  max-width: 60ch;
  margin-bottom: 2em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.4em; }
.hero__notice {
  border-top: 1px solid rgba(205,178,127,0.28);
  padding-top: 18px;
  font-size: 0.86rem;
  color: rgba(253,251,247,0.68);
  max-width: 70ch;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--pink-50); }
.section--dark {
  background: var(--brown-900);
  color: var(--ivory);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.notice-box {
  border: 1px solid var(--gold-300);
  background: var(--white);
  border-left: 4px solid var(--gold-500);
  padding: 18px 22px;
  border-radius: var(--radius);
  max-width: 820px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.notice-box strong { color: var(--brown-900); }

/* ---------- Practice area cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.practice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.practice-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.practice-card__tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--pink-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.practice-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.practice-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }
.divider-mark {
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  margin: 0 auto 14px;
}

/* ---------- Approach list ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px;
  margin-top: 10px;
}
.approach-item { padding-left: 0; }
.approach-item__num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold-500);
  margin-bottom: 10px;
  display: block;
}
.approach-item h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.approach-item p { color: rgba(253,251,247,0.78); font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-list li {
  position: relative;
  padding: 28px 22px 10px;
  border-top: 3px solid var(--gold-500);
}
.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-600);
  display: block;
  margin-bottom: 10px;
}
.process-list h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.process-list p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 20px 0; }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card h3 { margin-bottom: 0.4em; }
.contact-method {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.contact-method dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  width: 100%;
}
.contact-method dd {
  margin: 0;
  font-size: 1.02rem;
}
.contact-disclaimer {
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: var(--radius);
  padding: 26px 28px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.contact-disclaimer h3 { font-size: 1.05rem; }
.contact-disclaimer ul { margin: 0.6em 0 0; }
.contact-disclaimer li { margin-bottom: 0.5em; }

/* ---------- Placeholder styling ---------- */
.placeholder {
  background: var(--pink-100);
  border: 1px dashed var(--gold-500);
  border-radius: 3px;
  padding: 0 0.35em;
  font-style: italic;
  color: var(--brown-800);
  white-space: normal;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-950);
  color: rgba(253,251,247,0.72);
  padding: 72px 0 28px;
  border-top: 3px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253,251,247,0.14);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: var(--ivory); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: rgba(253,251,247,0.58); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  text-decoration: none;
  color: rgba(253,251,247,0.72);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(253,251,247,0.5);
}
.footer-bottom .placeholder {
  background: rgba(205,148,143,0.18);
  border-color: var(--gold-300);
  color: rgba(253,251,247,0.85);
}

/* ---------- Reveal-on-scroll (subtle motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Legal document pages
   ========================================================================== */
.legal-page main { background: var(--ivory); }
.legal-banner {
  background: var(--brown-900);
  color: var(--ivory);
  padding: 54px 0 40px;
  border-bottom: 3px solid var(--gold-500);
}
.legal-banner .container { max-width: 900px; }
.legal-banner__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: block;
  margin-bottom: 14px;
}
.legal-banner h1 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.4em; }
.legal-banner__meta {
  font-size: 0.88rem;
  color: rgba(253,251,247,0.7);
}
.legal-banner__meta .placeholder {
  background: rgba(205,148,143,0.2);
  color: var(--ivory);
}

.legal-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}
.legal-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 48px;
}
.legal-toc h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-sans);
  color: var(--brown-900);
  margin-bottom: 14px;
}
.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
}
@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
}
.legal-toc a { text-decoration: none; color: var(--ink-soft); }
.legal-toc a:hover { color: var(--brown-900); text-decoration: underline; }

.legal-body { font-size: 1.02rem; color: var(--ink); }
.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.4em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}
.legal-body section:first-of-type h2 { border-top: none; margin-top: 0; }
.legal-body h3 { font-size: 1.06rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ol.numbered, .legal-body ul { margin-bottom: 1.2em; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body a { color: var(--gold-600); }
.legal-body strong { color: var(--brown-900); }
.legal-body .defn-term { color: var(--brown-900); font-weight: 600; }
.legal-body blockquote {
  border-left: 3px solid var(--gold-500);
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  color: var(--ink-soft);
  font-style: italic;
}
.back-to-top {
  display: inline-block;
  margin-top: 40px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--gold-600);
  border-bottom: 1px solid var(--gold-300);
}

@media print {
  .site-header, .site-footer, .nav-toggle, .legal-toc a[href="#top"], .back-to-top { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-banner { background: #fff !important; color: #000 !important; border-bottom: 1px solid #000; }
  .legal-banner h1, .legal-banner__meta, .legal-banner__kicker { color: #000 !important; }
  .legal-layout { max-width: 100%; padding: 0; }
  a { color: #000; text-decoration: underline; }
  .placeholder { background: none; border: 1px dashed #000; }
}
