/*
Theme Name:  Hakim Rule
Theme URI:   https://thehakimrule.com
Author:      The Hakim Rule
Author URI:  https://thehakimrule.com
Description: Custom WordPress theme for The Hakim Rule — paralegal services and pro se litigant advocacy. Burnt orange, black, and white color scheme with full-page sections, client login modal, document upload, booking calendar, legal research portal, blog, and associate firm listings.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hakim-rule
Tags:        legal, paralegal, one-page, custom-colors, custom-logo, featured-images, blog
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink:        #15130F;
  --ink-soft:   #2A2620;
  --paper:      #FBF9F4;
  --rule:       #C1502E;
  --rule-deep:  #8A3A20;
  --rule-light: #E8825F;
  --stone:      #ECE6D9;
  --stone-line: #DCD3BF;
  --slate:      #6B655C;
  --slate-light:#9A9387;

  --serif: "Source Serif 4", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "Courier New", monospace;

  --max:         1180px;
  --radius:      2px;
  --shadow-card: 0 1px 2px rgba(21,19,15,.04), 0 8px 24px -8px rgba(21,19,15,.10);
  --shadow-lift: 0 24px 60px -20px rgba(21,19,15,.35);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--ink);
}
.accent { color: var(--rule); font-style: italic; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.12; max-width: 18ch; }
h3 { font-size: 1.3rem; line-height: 1.25; }
.light-h { color: var(--paper); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.section-lede       { font-size: 1.08rem; max-width: 62ch; color: var(--slate); }
.section-lede-light { color: #C9C3B6; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rule-deep);
  margin-bottom: .9em;
  display: block;
}
.section-eyebrow-light { color: var(--rule-light); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: .78em 1.5em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-solid   { background: var(--rule); color: var(--paper); border-color: var(--rule); }
.btn-solid:hover { background: var(--rule-deep); border-color: var(--rule-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost   { background: transparent; color: var(--ink); border-color: var(--stone-line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg      { padding: .95em 1.9em; font-size: 1rem; }
.btn-full    { width: 100%; }

/* ============================================================
   NEWS TICKER
   ============================================================ */
.news-ticker {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: .78rem;
  overflow: hidden;
  border-bottom: 1px solid #000;
}
.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .55em 1em;
  background: var(--rule);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .06em;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); display: inline-block; }
.ticker-track-wrap { flex: 1; overflow: hidden; position: relative; height: 2.2em; }
.ticker-track {
  position: absolute;
  display: flex;
  gap: 3.5em;
  white-space: nowrap;
  align-items: center;
  height: 100%;
  padding-left: 1em;
  animation: ticker 38s linear infinite;
}
.ticker-track li { flex: 0 0 auto; color: #D8D2C4; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,249,244,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  border-radius: var(--radius);
  flex: 0 0 auto;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-placeholder {
  font-family: var(--serif);
  color: var(--rule);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
}
.brand-tagline {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--slate);
}

/* WordPress nav menu override */
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav ul li { position: relative; }
.main-nav ul li ul {  /* dropdown */
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid var(--stone-line);
  min-width: 180px;
  box-shadow: var(--shadow-card);
  z-index: 60;
}
.main-nav ul li:hover > ul { display: block; }
.main-nav ul li ul li a { padding: 10px 16px; display: block; font-size: .88rem; }
.main-nav a, .main-nav ul li a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  display: inline-block;
}
.main-nav a:hover, .main-nav ul li a:hover { color: var(--rule-deep); }
.main-nav a::after, .main-nav ul li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rule);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav ul li > a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  flex: 0 0 auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 0 8px; }

@media (max-width: 980px) {
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--stone-line);
    gap: 16px;
    box-shadow: var(--shadow-card);
  }
  .main-nav.nav-open ul { flex-direction: column; gap: 16px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--rule-deep);
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.lede { font-size: 1.12rem; color: var(--slate); max-width: 46ch; margin-bottom: 1.6em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.2em; }
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: .85rem; color: var(--slate);
  border-top: 1px solid var(--stone-line);
  padding-top: 1.4em;
}
.hero-trust strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.2; }

.hero-panel { position: relative; height: 380px; }
.docket-card {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--paper);
  border: 1px solid var(--stone-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 28px;
  width: 100%; max-width: 380px;
}
.docket-card-back {
  z-index: -1; top: 24px; left: 24px;
  background: var(--stone);
  height: 340px;
  box-shadow: none;
}
.docket-card-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--stone-line);
  font-size: .85rem;
}
.docket-card-row span {
  font-family: var(--mono); color: var(--slate-light);
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase;
  flex: 0 0 auto; padding-top: 2px;
}
.docket-card-row strong { text-align: right; font-weight: 600; }
.docket-stamp {
  margin-top: 18px; text-align: center;
  font-family: var(--mono); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; color: var(--rule);
  border: 2px solid var(--rule);
  border-radius: var(--radius); padding: 10px;
  transform: rotate(-2deg);
}
.hero-rule {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .15em;
  color: var(--paper); background: var(--ink);
  padding: 10px 0; white-space: nowrap; overflow: hidden;
}

/* ============================================================
   DISCLAIMER STRIP
   ============================================================ */
.disclaimer-strip {
  background: var(--stone);
  border-top: 1px solid var(--stone-line);
  border-bottom: 1px solid var(--stone-line);
  padding: 14px 0;
}
.disclaimer-strip p { margin: 0; font-size: .84rem; color: var(--slate); text-align: center; }
.disclaimer-strip a { color: var(--rule-deep); font-weight: 600; text-decoration: underline; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section       { padding: 88px 0; }
.section-dark  { background: var(--ink); color: var(--paper); }
.section-stone { background: var(--stone); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.card-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 48px;
  background: var(--stone-line);
  border: 1px solid var(--stone-line);
}
.service-card { background: var(--paper); padding: 34px 28px; transition: background .2s ease; }
.service-card:hover { background: #FFF8EF; }
.service-num { font-family: var(--mono); font-size: .85rem; color: var(--rule); font-weight: 700; margin-bottom: 1em; }
.service-card h3 { margin-bottom: .5em; }
.service-card p  { font-size: .94rem; color: var(--slate); margin: 0; }

/* ============================================================
   PRO SE SECTION
   ============================================================ */
.prose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.prose-block h3 { color: var(--paper); margin-bottom: 1em; }
.check-list li, .x-list li {
  padding: 10px 0 10px 30px; position: relative;
  font-size: .95rem; color: #D8D2C4;
  border-bottom: 1px solid #2E2A23;
}
.check-list li::before { content:"✓"; position: absolute; left: 0; top: 10px; color: var(--rule-light); font-weight: 700; }
.x-list li::before    { content:"×"; position: absolute; left: 0; top: 8px; color: var(--slate-light); font-weight: 700; font-size: 1.1em; }
.stat-row { display: flex; gap: 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid #2E2A23; flex-wrap: wrap; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--rule-light); line-height: 1; }
.stat-label { font-size: .85rem; color: #A39C8E; }

/* ============================================================
   UPLOAD
   ============================================================ */
.upload-panel { margin-top: 48px; max-width: 760px; }
.dropzone {
  border: 2px dashed var(--stone-line);
  border-radius: var(--radius); padding: 48px 24px;
  text-align: center; background: var(--stone); cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.drag-over { border-color: var(--rule); background: #FBF1E8; }
.dropzone-icon { font-size: 2rem; color: var(--rule); margin-bottom: .4em; }
.dropzone p { margin: .2em 0; }
.dropzone-hint { font-size: .82rem; color: var(--slate); }
.file-list { margin: 18px 0 0; }
.file-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--paper); border: 1px solid var(--stone-line);
  border-radius: var(--radius); margin-bottom: 8px; font-size: .88rem;
}
.file-remove { color: var(--rule-deep); font-weight: 700; background: none; border: none; font-size: 1rem; padding: 0 4px; }

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4em; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .7em .85em;
  border: 1.5px solid var(--stone-line); border-radius: var(--radius);
  font-family: var(--sans); font-size: .95rem;
  background: var(--paper); color: var(--ink);
  transition: border-color .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--rule); outline: none; }
/* WordPress generated class compatibility */
.wpcf7-form .form-field input,
.wpcf7-form .form-field textarea { width: 100%; }
.form-note { font-size: .78rem; color: var(--slate-light); margin-top: 12px; font-style: italic; }
.form-note-light { color: #85806F; }

/* ============================================================
   MODAL (Client Login)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(21,19,15,.6);
  display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative; background: var(--paper);
  border-radius: var(--radius); padding: 40px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-lift);
}
.modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--slate); }
.modal-sub { color: var(--slate); font-size: .92rem; margin-bottom: 1.6em; }
.login-forgot { display: block; text-align: center; font-size: .85rem; color: var(--rule-deep); margin-top: 14px; text-decoration: underline; }
.modal-footer { text-align: center; font-size: .85rem; color: var(--slate); margin-top: 18px; }
.modal-footer a { color: var(--rule-deep); font-weight: 600; }

/* ============================================================
   RESEARCH LINK GRID
   ============================================================ */
.link-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.link-card {
  background: var(--paper); border: 1px solid var(--stone-line);
  border-radius: var(--radius); padding: 22px; position: relative;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
  display: block;
}
.link-card:hover { border-color: var(--rule); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.link-card h4 { margin: .6em 0 .3em; font-size: 1.05rem; }
.link-card p  { font-size: .85rem; color: var(--slate); margin: 0; }
.link-tag { font-family: var(--mono); font-size: .65rem; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; font-weight: 700; }
.link-tag.free { background: #E3EEE2; color: #2F6B3A; }
.link-tag.paid { background: #F3E6DD; color: var(--rule-deep); }

/* ============================================================
   BOOKING CALENDAR
   ============================================================ */
.booking-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; margin-top: 48px; align-items: start; }
.calendar-card { background: var(--paper); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-head h3 { margin: 0; font-size: 1.1rem; }
.cal-arrow { background: none; border: 1px solid var(--stone-line); width: 32px; height: 32px; border-radius: var(--radius); font-size: 1.1rem; color: var(--ink); }
.cal-arrow:hover { border-color: var(--rule); color: var(--rule); }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; text-align: center; }
.cal-dow { font-family: var(--mono); font-size: .65rem; color: var(--slate-light); padding-bottom: 6px; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; border-radius: var(--radius); border: 1px solid transparent;
  background: none; color: var(--ink-soft); position: relative;
}
.cal-day.empty    { visibility: hidden; }
.cal-day.past     { color: var(--slate-light); cursor: not-allowed; }
.cal-day.open     { cursor: pointer; border-color: var(--stone-line); }
.cal-day.open:hover { border-color: var(--rule); color: var(--rule-deep); }
.cal-day.open::after { content:""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: #5C9C66; }
.cal-day.full     { cursor: not-allowed; color: var(--slate-light); text-decoration: line-through; }
.cal-day.selected { background: var(--rule); color: var(--paper) !important; border-color: var(--rule); }
.calendar-legend  { display: flex; gap: 16px; margin-top: 18px; font-size: .75rem; color: var(--slate); flex-wrap: wrap; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.legend-open { background: #5C9C66; }
.legend-full { background: var(--slate-light); }
.legend-selected { background: var(--rule); }

.booking-form-card { background: var(--paper); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.booking-form-card h3 { font-size: 1.1rem; margin-bottom: 1em; }
.time-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4em; }
.time-slot { font-family: var(--mono); font-size: .8rem; padding: 8px 14px; border: 1.5px solid var(--stone-line); border-radius: 20px; background: none; color: var(--ink-soft); cursor: pointer; }
.time-slot:hover { border-color: var(--rule); }
.time-slot.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.time-slot-empty { font-size: .85rem; color: var(--slate-light); font-style: italic; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px; margin-top: 48px; margin-bottom: 32px;
}
.blog-card { background: var(--paper); border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 26px; }
.blog-card-feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.blog-tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--rule-deep); background: #F3E6DD;
  padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 1em; width: fit-content;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: .5em; }
.blog-card-feature h3 { font-size: 1.5rem; }
.blog-read { color: var(--rule-deep); font-weight: 600; font-size: .9rem; }
.blog-meta { display: block; font-size: .78rem; color: var(--slate-light); margin-top: 14px; }

/* WordPress post loop */
.wp-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.wp-blog-card { background: var(--paper); border: 1px solid var(--stone-line); padding: 28px; border-radius: var(--radius); }
.wp-blog-card h3 { font-size: 1.1rem; margin-bottom: .5em; }
.wp-blog-card .entry-meta { font-family: var(--mono); font-size: .7rem; color: var(--slate-light); margin-bottom: 1em; text-transform: uppercase; letter-spacing: .04em; }
.wp-blog-card .entry-excerpt { font-size: .92rem; color: var(--slate); }
.wp-blog-card .read-more { color: var(--rule-deep); font-weight: 600; font-size: .88rem; margin-top: 1em; display: inline-block; }

/* Single post */
.entry-content { max-width: 72ch; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); }
.entry-content p { color: var(--ink-soft); }
.entry-header { padding: 64px 0 40px; border-bottom: 1px solid var(--stone-line); margin-bottom: 48px; }
.entry-header .entry-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-bottom: 1em; }
.entry-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--stone-line); font-size: .88rem; color: var(--slate); }

/* ============================================================
   ASSOCIATE FIRMS
   ============================================================ */
.firm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; margin-bottom: 20px; }
.firm-card { border: 1px solid var(--stone-line); border-radius: var(--radius); padding: 28px 20px; text-align: center; background: var(--paper); }
.firm-logo-placeholder {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: var(--stone); border: 1.5px dashed var(--stone-line);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--mono); font-size: .65rem; color: var(--slate-light); letter-spacing: .05em;
}
.firm-card img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; margin: 0 auto 16px; }
.firm-card h4 { font-size: .98rem; margin-bottom: .3em; }
.firm-card p  { font-size: .82rem; color: var(--slate); margin: 0; }

/* ============================================================
   SOCIAL SECTION
   ============================================================ */
.social-section { text-align: center; }
.social-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 40px 0 18px; }
.social-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1.5px solid #3A352C;
  border-radius: 30px; font-weight: 600; font-size: .9rem; color: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}
.social-pill:hover { border-color: var(--rule-light); background: #241F18; }
.social-ico {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--rule); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { margin: 0; padding: 30px; background: var(--paper); border-left: 3px solid var(--rule); box-shadow: var(--shadow-card); }
.testimonial-card blockquote { margin: 0 0 1em; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.testimonial-card figcaption { font-size: .82rem; color: var(--slate); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 2em; }
.contact-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--stone-line); font-size: .95rem; }
.contact-list strong { color: var(--ink); }
.contact-list span   { color: var(--slate); }
.contact-form { background: var(--paper); border: 1px solid var(--stone-line); padding: 30px; border-radius: var(--radius); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #A39C8E; padding-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #2E2A23; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-name  { color: var(--paper); margin: 0; font-size: 1.1rem; }
.footer-tag   { font-size: .78rem; color: var(--slate-light); margin: 0; }
.footer-nav   { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-nav h5 { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rule-light); margin-bottom: 1em; }
.footer-nav a  { display: block; font-size: .88rem; color: #A39C8E; margin-bottom: .7em; }
.footer-nav a:hover { color: var(--paper); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 32px; font-size: .76rem; color: #6B655C; flex-wrap: wrap; }
.footer-bottom p { margin: 0; max-width: 60ch; }

/* ============================================================
   WORDPRESS-SPECIFIC UTILITIES
   ============================================================ */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--slate); margin-top: .4em; }
.alignleft   { float: left; margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.sticky      { /* WordPress sticky post */ }
.bypostauthor { /* WordPress by post author */ }

/* Skip link */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--rule); color: var(--paper); padding: 8px 16px; z-index: 999; font-size: .85rem; }
.skip-link:focus { top: 0; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--stone-line); border-radius: var(--radius);
  font-size: .88rem; color: var(--ink);
}
.pagination .current { background: var(--rule); color: var(--paper); border-color: var(--rule); }
.pagination a:hover  { border-color: var(--rule); color: var(--rule-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; flex-wrap: nowrap; }
  .brand-tagline { display: none; }
  .header-actions .btn-solid { padding: .65em 1em; font-size: .85rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { height: 320px; max-width: 420px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .prose-grid { grid-template-columns: 1fr; gap: 32px; }
  .link-grid { grid-template-columns: repeat(2,1fr); }
  .booking-panel { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .blog-card-feature { grid-column: span 2; grid-row: auto; }
  .wp-blog-grid { grid-template-columns: 1fr 1fr; }
  .firm-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header-inner { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-solid { padding: .55em .8em; font-size: .78rem; }
  .nav-toggle { width: 34px; height: 34px; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; }
  .firm-grid { grid-template-columns: 1fr; }
  .wp-blog-grid { grid-template-columns: 1fr; }
  .header-actions .btn-ghost { display: none; }
  .hero-trust { flex-direction: column; gap: 14px; }
}
