/* ============================================================
   DASHTI & ASSOCIATES — Visual System
   Palette: deep forest green / soft stone gray / matte black / pale sand
============================================================ */

:root {
  --forest:        #1f3a2e;
  --forest-deep:   #142219;
  --forest-soft:   #2c4d3e;
  --stone:         #c9c4b8;
  --stone-light:   #e8e3d8;
  --stone-pale:    #f3efe5;
  --black:         #0e0f0d;
  --black-soft:    #1a1c19;
  --sand:          #e7dcc6;
  --sand-warm:     #d9c9a6;
  --cream:         #f7f3ea;
  --line:          rgba(20,34,25,0.12);
  --line-light:    rgba(247,243,234,0.16);
  --serif:         'Fraunces', 'Times New Roman', serif;
  --sans:          'Inter', system-ui, -apple-system, sans-serif;
  --mono:          'JetBrains Mono', ui-monospace, monospace;
  --container:     1280px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: italic; font-family: var(--serif); font-weight: 400; }

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

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,243,234,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), background 0.3s;
}
.site-header.scrolled {
  background: rgba(247,243,234,0.92);
}
.site-header.hidden { transform: translateY(-110%); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.logo-divider { width: 1px; height: 18px; background: var(--line); }
.logo-name {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black-soft);
  font-weight: 500;
}

.primary-nav { display: flex; gap: 32px; align-items: center; }
.primary-nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--black-soft);
  position: relative;
  transition: color 0.25s;
}
.primary-nav a:hover { color: var(--forest); }
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--forest); transition: width 0.3s;
}
.primary-nav a:hover::after { width: 100%; }

.nav-privacy {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-privacy:hover { background: var(--forest); color: var(--cream) !important; border-color: var(--forest); }
.nav-privacy::after { display: none; }

.menu-btn {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  width: 22px; height: 1.5px; background: var(--black); transition: transform 0.3s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 20px 40px 30px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.mobile-drawer a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-family: var(--serif);
  color: var(--forest);
}
.mobile-drawer.open { display: flex; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--black);
}
.btn-ghost:hover {
  border-color: var(--forest);
  color: var(--forest);
}
.btn-full { width: 100%; justify-content: center; }
.arrow { transition: transform 0.3s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 36px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--forest);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--black);
  margin: 0 0 40px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: lineIn 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.05s; }
.hero-title .line:nth-child(2) { animation-delay: 0.2s; color: var(--forest); }
.hero-title .line:nth-child(3) { animation-delay: 0.35s; }
.hero-title .line:nth-child(4) { animation-delay: 0.5s; color: var(--forest); }
.hero-title .italic { font-style: italic; }
@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--black-soft);
  max-width: 520px;
  margin: 0 0 48px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.7s forwards;
}
.hero-cta {
  display: flex;
  gap: 14px;
  opacity: 0;
  animation: fadeIn 1.2s ease 0.9s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.hero-visual {
  position: relative;
  height: 70vh;
  min-height: 520px;
  max-height: 700px;
}

.hero-img-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 85%;
  height: 88%;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  animation: imgIn 1.4s cubic-bezier(.2,.7,.2,1) 0.3s forwards;
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.6s ease;
}
.hero-img-wrap:hover img { transform: scale(1.12); }

.hero-img-tag {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(14,15,13,0.6);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 2px;
  color: var(--cream);
}
.tag-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sand);
}
.tag-label {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 38%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(20,34,25,0.35);
  opacity: 0;
  animation: imgIn 1.4s cubic-bezier(.2,.7,.2,1) 0.6s forwards;
}
.hero-img-secondary img {
  width: 100%; height: 100%; object-fit: cover;
}
@keyframes imgIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--forest);
}
.marquee-track .sep {
  font-family: var(--sans);
  font-style: normal;
  color: var(--stone);
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SHARED SECTION HEADER
============================================================ */
section { padding: 140px 0; position: relative; }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 920px;
}
.section-index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--forest);
  text-transform: uppercase;
}
.section-header.light .section-index { color: var(--sand-warm); }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--black);
}
.section-header.light .section-title { color: var(--cream); }
.section-title em { color: var(--forest); }
.section-header.light .section-title em { color: var(--sand); font-style: italic; }
.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--sand); }
.section-intro {
  font-size: 17px;
  color: var(--black-soft);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}
.section-header.light .section-intro { color: var(--stone); }

/* ============================================================
   FIRM
============================================================ */
.firm { background: var(--cream); }

.firm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: auto auto;
  gap: 60px 80px;
  align-items: start;
}

.firm-image-main {
  margin: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.firm-image-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.firm-image-main:hover img { transform: scale(1.04); }

.firm-body { grid-column: 2; grid-row: 1; }
.firm-body .lead {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  color: var(--black);
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.firm-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black-soft);
  margin: 0 0 18px;
}

.firm-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.firm-meta > div { display: flex; flex-direction: column; gap: 4px; }
.meta-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest);
}
.meta-v {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--black);
  line-height: 1.35;
}

.firm-image-aside {
  margin: 0;
  grid-column: 2;
  grid-row: 2;
  border-radius: 4px;
  overflow: hidden;
}
.firm-image-aside img {
  width: 100%; height: 320px; object-fit: cover;
  transition: transform 1s;
}
.firm-image-aside:hover img { transform: scale(1.04); }
.firm-image-aside figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--black-soft);
  margin-top: 12px;
  text-transform: uppercase;
}

/* ============================================================
   EXPERTISE  (dark section)
============================================================ */
.expertise {
  background: var(--forest-deep);
  color: var(--cream);
  position: relative;
}
.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(231,220,198,0.06), transparent 60%);
  pointer-events: none;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}

.exp-card {
  background: var(--black-soft);
  border-radius: 4px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  border: 1px solid rgba(231,220,198,0.08);
  transition: transform 0.5s, border-color 0.5s;
}
.exp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231,220,198,0.2);
}
.exp-img { overflow: hidden; height: 100%; min-height: 260px; }
.exp-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
  filter: saturate(0.85);
}
.exp-card:hover .exp-img img { transform: scale(1.06); filter: saturate(1); }

.exp-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.exp-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sand);
  margin-bottom: 16px;
}
.exp-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--cream);
}
.exp-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
  margin: 0 0 20px;
}
.exp-list {
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(231,220,198,0.1);
}
.exp-list li {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--stone);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.exp-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sand);
}

/* ============================================================
   PRACTICE AREAS  (light, irregular grid)
============================================================ */
.practice { background: var(--stone-pale); }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.prac {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.5s, box-shadow 0.5s;
}
.prac:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(20,34,25,0.3);
}

/* Irregular grid */
.prac-1 { grid-column: span 5; }
.prac-2 { grid-column: span 7; }
.prac-3 { grid-column: span 4; }
.prac-4 { grid-column: span 4; }
.prac-5 { grid-column: span 4; }
.prac-6 { grid-column: span 12; }

.prac-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.prac-6 .prac-img { height: 380px; }
.prac-1 .prac-img { height: 320px; }

.prac-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.prac:hover .prac-img img { transform: scale(1.06); }

.prac-text {
  padding: 32px 32px 36px;
}
.prac-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--forest);
}
.prac-text h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  color: var(--black);
}
.prac-text p {
  font-size: 15px;
  color: var(--black-soft);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PROCESS (dark stripe with horizontal flow)
============================================================ */
.process {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 130px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(231,220,198,0.18);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}
.step-img {
  height: 260px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(231,220,198,0.12);
}
.step-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1.2s, filter 0.6s;
}
.step:hover .step-img img { transform: scale(1.06); filter: saturate(1); }

.step-meta { padding: 0 4px; }
.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sand);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(231,220,198,0.15);
  margin-bottom: 16px;
  width: 100%;
}
.step-meta h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--cream);
}
.step-meta p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--stone);
  margin: 0 0 18px;
}
.step-time {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sand-warm);
  padding: 5px 12px;
  border: 1px solid rgba(231,220,198,0.2);
  border-radius: 999px;
  text-transform: uppercase;
}

/* ============================================================
   TRUST
============================================================ */
.trust { background: var(--cream); }

.trust-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.trust-stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 120px;
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.stat-figure {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--forest);
  display: block;
}
.stat-figure small {
  font-size: 36px;
  vertical-align: super;
  color: var(--forest-soft);
}
.stat-label {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--black-soft);
  display: block;
  margin-top: 10px;
  max-width: 240px;
  line-height: 1.5;
}

.trust-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.trust-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  background: var(--stone-pale);
  border-radius: 4px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
}
.trust-card:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
  direction: rtl;
}
.trust-card:nth-child(even) > * { direction: ltr; }
.trust-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.trust-card:hover img { transform: scale(1.04); }
.trust-card figcaption {
  padding: 32px;
}
.trust-card blockquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--black);
  position: relative;
}
.trust-card blockquote::before {
  content: '"';
  position: absolute;
  top: -30px; left: -10px;
  font-size: 80px;
  color: var(--sand-warm);
  font-family: var(--serif);
  line-height: 1;
}
.trust-card cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--forest);
  font-style: normal;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  background: var(--black);
  color: var(--cream);
  padding: 140px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-left {
  position: sticky;
  top: 120px;
}
.contact-left .section-index { color: var(--sand); }
.contact-blurb {
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
  margin: 24px 0 40px;
  max-width: 440px;
}
.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-info li {
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.contact-info li:last-child { border-bottom: 1px solid var(--line-light); }
.ci-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--sand);
  text-transform: uppercase;
  padding-top: 5px;
}
.ci-v {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cream);
  line-height: 1.3;
}
a.ci-v:hover { color: var(--sand); }

.contact-right { display: flex; flex-direction: column; gap: 40px; }
.contact-image {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  height: 280px;
}
.contact-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.9);
  transition: transform 1s, filter 0.5s;
}
.contact-image:hover img { transform: scale(1.04); filter: brightness(1); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--black-soft);
  padding: 36px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sand);
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(231,220,198,0.2);
  padding: 10px 0;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--sand); }

.form-ok {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sand);
  margin: 8px 0 0;
  text-align: center;
}
.form-ok.show { display: block; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: var(--stone);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(231,220,198,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(231,220,198,0.1);
}
.footer-brand .logo-mark {
  font-size: 36px;
  color: var(--sand);
}
.footer-brand p {
  margin: 18px 0 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-col p {
  margin: 0;
  font-size: 14.5px;
  color: var(--stone);
  line-height: 1.7;
}
.footer-col a {
  color: var(--stone);
  transition: color 0.3s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--sand); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--stone);
  text-transform: uppercase;
}
.footer-disclaimer { max-width: 460px; text-align: right; opacity: 0.7; }

/* ============================================================
   REVEAL ANIMATION
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRIVACY POLICY PAGE
============================================================ */
.privacy-hero {
  padding: 200px 0 80px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.privacy-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 18px 0 24px;
  color: var(--black);
}
.privacy-hero p { color: var(--black-soft); font-size: 17px; max-width: 700px; }
.privacy-hero .meta-row {
  margin-top: 30px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.privacy-hero .meta-row > div { display: flex; flex-direction: column; gap: 4px; }

.privacy-body {
  padding: 100px 0 140px;
  background: var(--cream);
}
.privacy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.privacy-toc {
  position: sticky;
  top: 120px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.privacy-toc h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 18px;
}
.privacy-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: toc;
}
.privacy-toc ol li { counter-increment: toc; }
.privacy-toc a {
  font-size: 14px;
  color: var(--black-soft);
  display: flex;
  gap: 10px;
  transition: color 0.3s;
}
.privacy-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--forest);
}
.privacy-toc a:hover { color: var(--forest); }

.privacy-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin: 56px 0 18px;
  scroll-margin-top: 120px;
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--black);
  margin: 30px 0 10px;
}
.privacy-content p, .privacy-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--black);
}
.privacy-content ul {
  padding-left: 22px;
  margin: 14px 0 18px;
}
.privacy-content li { margin-bottom: 8px; }
.privacy-content a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .header-inner { padding: 16px 24px; }
  .primary-nav { display: none; }
  .menu-btn { display: flex; }
  .container { padding: 0 24px; }

  .hero { padding: 130px 0 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 50px;
    min-height: auto;
  }
  .hero-visual { height: 60vh; min-height: 380px; }
  .hero-img-secondary { width: 45%; height: 32%; }

  section { padding: 90px 0; }
  .section-header { margin-bottom: 50px; }

  .firm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .firm-image-main { grid-column: 1; grid-row: 1; aspect-ratio: 4/5; }
  .firm-body { grid-column: 1; grid-row: 2; }
  .firm-image-aside { grid-column: 1; grid-row: 3; }
  .firm-meta { grid-template-columns: 1fr; gap: 18px; }

  .expertise-grid { grid-template-columns: 1fr; }
  .exp-card { grid-template-columns: 1fr; }
  .exp-img { min-height: 220px; }

  .practice-grid { grid-template-columns: 1fr; }
  .prac-1, .prac-2, .prac-3, .prac-4, .prac-5, .prac-6 { grid-column: 1 / -1; }

  .process-track { grid-template-columns: 1fr; gap: 50px; }
  .process-track::before { display: none; }

  .trust-layout { grid-template-columns: 1fr; gap: 50px; }
  .trust-stats { position: static; flex-direction: row; gap: 24px; flex-wrap: wrap; }
  .stat { flex: 1; min-width: 200px; }
  .stat-figure { font-size: 64px; }
  .trust-card,
  .trust-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .trust-card img { height: 240px; }

  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-left { position: static; }
  .contact-form { padding: 24px; }
  .contact-form .row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-disclaimer { text-align: center; }

  .privacy-layout { grid-template-columns: 1fr; gap: 40px; }
  .privacy-toc { position: static; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
}

@media (max-width: 560px) {
  .header-inner { padding: 14px 18px; }
  .logo-name { display: none; }
  .container { padding: 0 18px; }
  .hero-grid { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; padding: 14px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-figure { font-size: 56px; }
}
