/* =================================================================
   Law Offices of Robert J. Menache — "Letterhead"
   Design system: warm ivory + deep pine + brass. Cinzel (Trajan-style caps) for
   the wordmark/labels, Fraunces (headings), Libre Franklin (body). The homepage
   masthead recreates the firm's torn-paper letterhead (real seam, recolored type).
   Hand-authored, no framework, no build step.
   ================================================================= */

/* ---------- Fonts (self-hosted woff2; keeps CSP font-src 'self') ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/librefranklin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/librefranklin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/librefranklin-600.woff2") format("woff2");
}
/* Cinzel — inscriptional Roman caps (Trajan-style) for the wordmark + labels */
@font-face {
  font-family: "Cinzel";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cinzel-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cinzel-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cinzel-700.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* palette */
  --ink:        #1b211d;
  --ink-soft:   #4a524b;
  --pine:       #1e3a32;
  --pine-deep:  #13241f;
  --pine-line:  #2c4f44;
  --brass:      #b0823f;   /* decorative / large */
  --brass-deep: #876026;   /* text accent on light (AA) */
  --brass-bright:#cda05b;  /* accent on dark */
  --cream:      #f4ecdd;   /* warm ivory "desk" */
  --cream-2:    #ece2cf;
  --cream-3:    #e3d7bf;
  --sage:       #7e9384;
  --white:      #fffdf8;
  --paper:      #fcfbfc;   /* the white letter sheet — matches the torn-seam artwork */
  --line:       rgba(27, 33, 29, .14);
  --line-2:     rgba(27, 33, 29, .28);
  --line-cream: rgba(246, 241, 231, .18);

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;   /* inscriptional caps */

  /* fluid type scale */
  --fs-eyebrow: .78rem;
  --fs-small:   .92rem;
  --fs-body:    1.05rem;
  --fs-lead:    clamp(1.18rem, 1.05rem + .6vw, 1.45rem);
  --fs-h3:      clamp(1.35rem, 1.15rem + 1vw, 1.7rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-h1:      clamp(2.7rem, 1.9rem + 4.2vw, 5rem);
  --fs-display: clamp(3.1rem, 2rem + 5.6vw, 6.2rem);

  /* layout */
  --maxw: 1180px;
  --maxw-prose: 64ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3.5rem, 7vw, 7rem);

  --radius: 3px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(19, 36, 31, .06), 0 12px 30px -12px rgba(19, 36, 31, .18);
  --shadow-lift: 0 2px 4px rgba(19, 36, 31, .08), 0 22px 48px -16px rgba(19, 36, 31, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}
/* subtle paper grain — atmosphere over flat color (data-uri => CSP img-src data:) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--pine); color: var(--cream); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--pine-deep); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; }
p { max-width: var(--maxw-prose); }
strong { font-weight: 600; }
em, .it { font-style: italic; }

.eyebrow {
  font-family: var(--display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 1.8rem; height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); font-weight: 400; }
.muted { color: var(--ink-soft); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* text links within prose */
.prose a, a.link {
  color: var(--pine);
  text-decoration: none;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 1.15em;
  transition: background-size .35s var(--ease), color .2s;
}
.prose a:hover, a.link:hover { color: var(--brass-deep); background-size: 100% 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1340px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bg-cream-2 { background: var(--cream-2); }
.bg-pine { background: var(--pine-deep); color: var(--cream); }
.bg-pine h1, .bg-pine h2, .bg-pine h3 { color: var(--cream); }
.bg-pine .muted { color: rgba(246,241,231,.72); }

.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.rule-brass { border: 0; height: 2px; width: 3rem; background: var(--brass); margin: 0; }

.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .7rem; }
.section-head p { margin-top: 1rem; max-width: 46ch; }
.section-head.is-centered p { margin-inline: auto; }

/* skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--pine-deep); color: var(--cream);
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  padding: .9em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--brass); color: #2a1d08; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brass-bright); transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-pine { background: var(--pine); color: var(--cream); }
.btn-pine:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-ghost { background: transparent; color: var(--pine); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--pine); background: rgba(30,58,50,.04); }

.bg-pine .btn-ghost { color: var(--cream); border-color: var(--line-cream); }
.bg-pine .btn-ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); background: rgba(246,241,231,.04); }

.btn-lg { padding: 1.05em 2em; font-size: 1rem; }

/* ---------- Preview ribbon (subtle demo indicator) ---------- */
.preview-bar {
  background: var(--pine-deep);
  color: rgba(246, 241, 231, .8);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: .4rem 1rem;
  border-bottom: 1px solid var(--pine-line);
}
.preview-bar b { color: var(--brass-bright); font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 231, .82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(19,36,31,.5); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.7rem;
}
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--pine-deep); }

.nav-menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; padding: 0; }
.nav-menu a {
  text-decoration: none; color: var(--ink);
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
  padding: .4rem 0; position: relative;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--brass); transition: right .3s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.is-current::after { right: 0; }
.nav-menu a.is-current { color: var(--pine-deep); }
.nav-cta { display: none; } /* shown only inside the mobile drawer */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .tel { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--pine-deep); white-space: nowrap; }
.nav-actions .tel:hover { color: var(--brass-deep); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3.5rem, 8vw, 7.5rem) clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* hero portrait / monogram panel */
.hero-figure { position: relative; }
.portrait-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(176,130,63,.22), transparent 60%),
    linear-gradient(155deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: flex-end;
}
.portrait-panel::after { /* fine inner border */
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  border: 1px solid rgba(246,241,231,.16);
  pointer-events: none;
}
.portrait-panel .pp-caption {
  position: relative; padding: 1.6rem; width: 100%;
  background: linear-gradient(transparent, rgba(15,28,24,.55));
}
.portrait-panel .pp-caption .role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-bright); }
.portrait-panel .pp-caption .nm { font-family: var(--serif); font-size: 1.5rem; margin-top: .25rem; }
.hero-figure .tag-est {
  position: absolute; top: -1rem; left: -1rem;
  background: var(--cream); color: var(--pine-deep);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  padding: .55rem .9rem; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* ---------- Practice cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
/* Featured flagship tile (homepage practice grid): a larger pine 2x2 that anchors the
   grid and breaks the uniform 6-up. The other five remain standard paper cards. */
/* .card.card--featured so these out-specify the base .card rules defined below. */
.card--featured { grid-column: span 2; grid-row: span 2; }
.card.card--featured {
  padding: clamp(2rem, 3vw, 2.8rem);
  background: linear-gradient(155deg, var(--pine) 0%, var(--pine-deep) 100%);
  border-color: transparent; color: var(--cream);
}
.card.card--featured::before { width: 100%; background: var(--brass-bright); }
.card.card--featured .idx { color: var(--brass-bright); }
.card.card--featured .card-icon { color: var(--brass-bright); }
.card.card--featured .card-icon { border-color: rgba(205,160,91,.55); }
.card.card--featured h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); color: var(--cream); margin-top: .35rem; }
.card.card--featured p { color: rgba(246,241,231,.8); font-size: 1.05rem; max-width: 40ch; margin-top: .8rem; }
.card.card--featured .more { color: var(--brass-bright); }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before { /* brass top reveal */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--brass); transition: width .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .idx { font-family: var(--serif); font-size: .95rem; color: var(--brass-deep); letter-spacing: .05em; }
.card .card-icon {
  margin: 0 0 1.25rem; width: 3.3rem; height: 3.3rem;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--pine);
}
.card h3 { font-size: 1.28rem; }
.card p { font-size: .96rem; color: var(--ink-soft); margin-top: .6rem; }
.card .more { margin-top: auto; padding-top: 1.2rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--pine); display: inline-flex; align-items: center; gap: .5em; }
.card .more .arrow { transition: transform .3s var(--ease); }
.card:hover .more .arrow { transform: translateX(4px); }

/* ---------- Split / feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.is-narrow-left { grid-template-columns: .85fr 1.15fr; }
.feature-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.4rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature-list .fi { flex: none; color: var(--brass-deep); margin-top: .15rem; }
.feature-list h4 { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--pine-deep); }
.feature-list p { font-size: .95rem; color: var(--ink-soft); margin-top: .2rem; }

/* decorative pine media panel (reusable) */
.media-panel {
  position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(100% 80% at 80% 10%, rgba(176,130,63,.2), transparent 55%),
    linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 100%);
  box-shadow: var(--shadow-lift);
  display: grid; place-items: center;
}
/* Real attorney portrait — a circular medallion on the pine panels. The source headshot
   is low-res, so it's shown contained (not enlarged to fill) to stay crisp. */
.portrait-panel, .media-panel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: auto; gap: clamp(1rem, 2.4vw, 1.5rem); text-align: center;
  padding: clamp(2rem, 4vw, 3rem); min-height: clamp(17rem, 30vw, 22rem);
}
.portrait-photo {
  width: clamp(7.5rem, 16vw, 9.5rem); aspect-ratio: 1; object-fit: cover; object-position: center 22%;
  border-radius: 50%; border: 3px solid rgba(246,241,231,.92);
  box-shadow: 0 12px 30px -10px rgba(15,28,24,.55);
}
.portrait-panel .pp-caption, .media-panel .mp-caption { position: static; background: none; padding: 0; width: auto; }
.media-panel .mp-caption .role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-bright); }
.media-panel .mp-caption .nm { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); margin-top: .3rem; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-cream); border-radius: var(--radius-lg); overflow: hidden; }
.stats-strip .stat { background: var(--pine-deep); padding: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.stats-strip .stat .n { font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--brass-bright); line-height: 1; }
.stats-strip .stat .l { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,241,231,.72); margin-top: .6rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); align-items: start; }
/* editorial stagger: drop the middle quote so the row isn't a rigid even grid */
.quotes .quote:nth-child(2) { margin-top: clamp(1.2rem, 3vw, 2.6rem); }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.7rem, 3vw, 2.3rem); position: relative; }
.quote .mark { font-family: var(--serif); font-size: 3.4rem; line-height: .6; color: var(--cream-3); position: absolute; top: 1.2rem; right: 1.4rem; }
.quote blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--pine-deep); font-style: italic; }
.quote .cite { margin-top: 1.3rem; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); font-style: normal; }
.quote .cite span { display: block; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; margin-top: .15rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: 1.1rem auto 0; color: rgba(246,241,231,.78); }
.cta-band .hero-cta, .cta-band .actions { justify-content: center; margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* One asymmetric, on-theme moment: the ivory "paper" tears to reveal the pine "ink"
   at the top of the homepage CTA band — an irregular edge that breaks the page's symmetry. */
.cta-torn { position: relative; }
.cta-torn::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 34px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0H1440V18L1410,25L1386,13L1357,24L1330,16L1298,28L1268,14L1239,23L1208,17L1176,27L1147,12L1118,24L1086,18L1054,29L1023,15L992,25L961,13L930,26L898,17L867,28L836,14L805,23L773,18L742,29L711,13L680,24L648,16L617,27L586,12L555,25L523,19L492,28L461,14L430,24L398,17L367,27L336,13L305,25L273,18L242,28L211,15L180,24L148,17L117,27L86,13L55,24L24,19L0,26Z' fill='%23f4ecdd'/%3E%3C/svg%3E") top center / 100% 100% no-repeat;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.page-hero .breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--brass-deep); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 1.3rem; }

/* ---------- Practice detail rows ---------- */
.practice-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); align-items: start; }
.practice-row:last-child { border-bottom: 1px solid var(--line); }
.practice-row .pr-idx { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--cream-3); line-height: .9; }
.practice-row .pr-body { max-width: 60ch; }
.practice-row .pr-icon { color: var(--pine); margin-bottom: 1rem; }
.practice-row h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.practice-row p { margin-top: .8rem; color: var(--ink-soft); }
.practice-row .tags { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.practice-row .tags span { font-size: .78rem; color: var(--pine); background: var(--cream-2); border: 1px solid var(--line); border-radius: 100px; padding: .3rem .85rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.credentials { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.credentials li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.credentials li:last-child { border-bottom: 0; }
.credentials .ci { color: var(--brass-deep); margin-top: .15rem; }
.credentials dt { font-weight: 600; color: var(--pine-deep); }
.credentials dd { margin: .1rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.affil { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.affil span { font-size: .82rem; color: var(--pine); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .5rem .85rem; background: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.6rem; }
.contact-block { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.contact-block .ci { color: var(--brass-deep); margin-top: .2rem; }
.contact-block h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-block p, .contact-block a { font-size: 1.05rem; color: var(--pine-deep); text-decoration: none; margin-top: .25rem; }
.contact-block a:hover { color: var(--brass-deep); }

/* form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--pine-deep); margin-bottom: .45rem; }
.field label .req { color: var(--brass-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine); background: var(--white);
  box-shadow: 0 0 0 3px rgba(176,130,63,.18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #a23b2c; }
.field .err { display: none; color: #a23b2c; font-size: .82rem; margin-top: .4rem; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #a23b2c; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .4rem; }
.form-success {
  display: none; text-align: center; padding: 1.5rem .5rem;
}
.form-success.is-visible { display: block; animation: fade-up .5s var(--ease) both; }
.form-success .check {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--pine); color: var(--cream);
  display: grid; place-items: center; margin: 0 auto 1.1rem;
}
.form-success h3 { color: var(--pine-deep); }
.form-success p { margin: .6rem auto 0; }
form.is-submitted .form-body { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(246,241,231,.82); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.5rem; border-bottom: 1px solid var(--pine-line); }
.footer-brand p { font-size: .92rem; color: rgba(246,241,231,.66); margin-top: 1rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-bright); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col a { color: rgba(246,241,231,.82); text-decoration: none; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--brass-bright); }
.footer-col p { font-size: .94rem; color: rgba(246,241,231,.82); }
.footer-bottom { padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: baseline; }
.footer-bottom .copy { font-size: .82rem; color: rgba(246,241,231,.55); }
.disclaimer { font-size: .76rem; line-height: 1.6; color: rgba(246,241,231,.5); max-width: 70ch; margin-top: 1.4rem; }

/* ---------- Reveal animation ----------
   Progressive enhancement: only hide elements when scripting can reveal them,
   so JS-disabled browsers still see all content. */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (scripting: enabled) {
  [data-reveal] { opacity: 0; transform: translateY(20px); }
}
[data-reveal].in { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===================================================================
   Letterhead identity — recreated torn wordmark, paper sheet, hero
   =================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Recreated wordmark (large — hero). The center column is the firm's real
   torn-paper seam (assets/img/letterhead-tear.png); the type is set crisp. */
.wordmark { margin: 0; }
.wm {
  display: flex; align-items: center; justify-content: center;
  gap: .34em;
  /* One master size drives the whole lockup (names, labels, tear) so the proportions
     hold at any width; sized to the sheet via container units so it always fills the
     sheet without overflowing (Cinzel caps are wide). The vw line is a conservative
     fallback for browsers without container-query support. */
  font-size: clamp(1.4rem, 4.4vw, 3.6rem);
  font-size: clamp(1.2rem, 7.4cqi, 4.4rem);
}
.wm-col { display: flex; flex-direction: column; gap: .16em; }
.wm-l { align-items: flex-end; text-align: right; }
.wm-r { align-items: flex-start; text-align: left; }
.wm-name {
  font-family: var(--display); font-weight: 600; color: var(--pine-deep);
  font-size: 1em; line-height: .92; letter-spacing: .015em; white-space: nowrap;
}
.wm-eyebrow {
  font-family: var(--display); font-weight: 400; color: var(--brass-deep);
  font-size: .205em; letter-spacing: .26em; text-transform: uppercase;
}
.wm-tear { height: 1.55em; width: auto; flex: none; align-self: center; user-select: none; }

/* Paper sheet surface */
.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.8rem, 3.2vw, 2.9rem) clamp(1.5rem, 3.6vw, 2.7rem) clamp(1.5rem, 2.6vw, 2.1rem);
  position: relative;
}

/* Homepage hero — the letterhead resting on a warm "desk" */
.hero.is-letterhead { background: radial-gradient(135% 95% at 50% -25%, var(--cream-3), var(--cream) 60%); }
.hero-sheet { max-width: 980px; margin-inline: auto; text-align: center; container-type: inline-size; }
.hero-sheet .wordmark { margin: 0; }
.hero-sheet .wm-rule { width: 3rem; height: 2px; background: var(--brass); border: 0; margin: clamp(1.3rem,2.4vw,1.9rem) auto clamp(1rem,2vw,1.4rem); }
.hero-tagline { font-family: var(--serif); font-weight: 500; font-size: var(--fs-lead); line-height: 1.32; color: var(--pine-deep); max-width: 30ch; margin-inline: auto; }
.hero-sheet .hero-sub { max-width: 56ch; margin: 1rem auto 0; font-size: 1rem; color: var(--ink-soft); }
.hero-sheet .hero-cta { justify-content: center; margin-top: clamp(1.5rem,2.6vw,2rem); }
/* letterhead "foot" — balances the sheet top-to-bottom and reconciles it with the OG card */
.hero-foot { font-family: var(--display); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-deep); max-width: none; margin: clamp(1.6rem,3vw,2.3rem) auto 0; }

/* Compact wordmark — sticky header & footer */
.brand-wm { display: inline-flex; flex-direction: column; gap: .18rem; line-height: 1; }
.brand-wm-name {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-family: var(--display); font-weight: 600; color: var(--pine-deep);
  font-size: 1.1rem; letter-spacing: .03em;
}
.brand-wm-div { width: 1px; height: 1.05em; background: var(--brass); opacity: .8; flex: none; }
.brand-wm-sub {
  font-family: var(--display); font-weight: 400; color: var(--brass-deep);
  font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; text-align: center;
}
.site-footer .brand-wm-name { color: var(--cream); }
.site-footer .brand-wm-sub { color: var(--brass-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-figure { max-width: 26rem; margin-inline: auto; order: -1; }
  .split, .split.is-narrow-left, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .card--featured { grid-column: 1 / -1; grid-row: auto; }
  .quotes .quote:nth-child(2) { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-actions .tel, .nav-actions .btn-pine { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.8rem; height: 2.8rem; background: transparent; border: 1px solid var(--line-2);
    border-radius: var(--radius); color: var(--pine-deep);
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
  /* mobile drawer */
  .nav-menu.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem; box-shadow: var(--shadow);
  }
  .nav-menu.is-open li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu.is-open li:last-child { border-bottom: 0; }
  .nav-menu.is-open a { display: block; padding: 1rem 0; font-size: 1.05rem; }
  .nav-menu.is-open a::after { display: none; }
  /* CTA promoted into the drawer (header button is hidden on these widths) */
  .nav-menu.is-open .nav-cta { display: block; border-bottom: 0; margin-top: .9rem; }
  .nav-menu.is-open .nav-cta a {
    display: inline-flex; background: var(--brass); color: #2a1d08;
    padding: .85rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem;
  }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .practice-row { grid-template-columns: 1fr; gap: .8rem; }
  .practice-row .pr-idx { font-size: 2rem; }
  /* phone: stack the hero CTAs full-width (long button text otherwise forces overflow).
     The wordmark self-sizes to the sheet via container units (.wm font-size: …cqi). */
  .hero-sheet .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-sheet .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 1em 1.4rem; }
  .sheet { padding-left: clamp(1rem, 3.5vw, 1.6rem); padding-right: clamp(1rem, 3.5vw, 1.6rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .preview-bar, .site-header, .nav-toggle, .hero-cta, .cta-band, .form-card { display: none; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}
