/* ============================================
   OK LEGAL ABOGADOS — Design System
   Editorial · Refined · Confident
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --ink-mute: #4a4a4a;
  --ink-faint: #8a8a8a;
  --paper: #fafaf7;
  --paper-warm: #f3f1ea;
  --paper-cream: #ebe7dc;
  --line: #1a1a1a14;
  --line-strong: #0a0a0a;

  /* OK Legal green — used surgically as accent */
  --accent: #1eb854;
  --accent-deep: #0e8a3d;
  --accent-glow: #1eb85410;

  /* Editorial */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 6rem); font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); font-variation-settings: 'opsz' 144; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: 1.25rem; font-weight: 500; }

p { color: var(--ink-mute); font-size: 1.05rem; }

p.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
}

a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-deep); }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  width: 100%;
}

img, svg { max-width: 100%; height: auto; }

section { padding: var(--space-16) 0; }

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.7rem 1.25rem !important;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-deep);
  color: var(--paper) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  padding: 9rem 0 4rem;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--paper-warm);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { padding-right: var(--space-4); }
@media (max-width: 980px) { .hero-content { padding-right: 0; } }

.hero h1 {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 300;
}

.hero p.lead { margin-bottom: 2.5rem; max-width: 540px; }

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1.1rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 138, 61, 0.25);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.btn-ghost:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

.hero-meta {
  display: flex;
  gap: var(--space-6);
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .hero-meta { gap: 1.25rem 2rem; }
  .hero-meta-item { flex: 0 0 calc(50% - 1rem); }
}

.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-variation-settings: 'opsz' 144;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 0.4rem;
}

.hero-meta-item .num em { font-style: italic; color: var(--accent-deep); }

.hero-meta-item .label {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.hero-image {
  position: relative;
  height: 100%;
  width: 100%;
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 4px;
  overflow: hidden;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(30, 184, 84, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%);
}

.hero-image-text {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  color: var(--paper);
}

.hero-image-text .quote {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-image-text .quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  line-height: 0;
  position: relative;
  top: 0.4rem;
  margin-right: 0.4rem;
}

.hero-image-text .attribution {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(250, 250, 247, 0.6);
  text-transform: uppercase;
}

/* Decorative element on hero */
.hero-corner {
  position: absolute;
  top: 7rem;
  left: 2rem;
  font-family: var(--serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-visual { min-height: 360px; margin-top: 2rem; }
  .hero-corner { display: none; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  align-items: end;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.section-head .left { }
.section-head .right p { max-width: 520px; }

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-card {
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  background: var(--paper);
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card:nth-child(2n) { border-right: none; }

.service-card:hover { background: var(--paper-warm); }

.service-number {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent-deep);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-weight: 400;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: auto;
  padding-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 1rem;
}

.service-link svg { transition: transform 0.3s; }
.service-card:hover .service-link svg { transform: translateX(4px); }
.service-card:hover .service-link { color: var(--accent-deep); }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
}

/* ============================================
   FOUNDER / ABOUT
   ============================================ */

.founder {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.founder::before {
  content: 'M·F·V';
  position: absolute;
  top: -3rem;
  right: -1rem;
  font-family: var(--serif);
  font-size: 28rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: rgba(250, 250, 247, 0.02);
  line-height: 1;
  pointer-events: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.founder-portrait {
  aspect-ratio: 4/5;
  background: #2a2a2a;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.founder-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.5) 100%),
    radial-gradient(circle at 50% 30%, rgba(30, 184, 84, 0.04) 0%, transparent 60%);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}

.founder .eyebrow { color: var(--accent); }
.founder .eyebrow::before { background: var(--accent); }

.founder h2 {
  color: var(--paper);
  margin: 1.5rem 0 2rem;
  font-weight: 300;
}

.founder h2 em { color: var(--accent); font-style: italic; }

.founder p {
  color: rgba(250, 250, 247, 0.75);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  max-width: 560px;
}

.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.cred-pill {
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(250, 250, 247, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: rgba(250, 250, 247, 0.85);
}

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder::before { font-size: 14rem; }
}

/* ============================================
   PROCESS / METHOD
   ============================================ */

.method {
  background: var(--paper-cream);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-6);
}

.step {
  padding: var(--space-4) var(--space-3) var(--space-4) 0;
  border-top: 1px solid var(--ink);
  position: relative;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  font-size: 1rem;
  color: var(--accent-deep);
  margin-bottom: 2rem;
  display: block;
}

.step h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.92rem;
  color: var(--ink-mute);
}

@media (max-width: 860px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .method-steps { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIAL / QUOTE
   ============================================ */

.quote-block {
  padding: var(--space-12) 0;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 980px;
  margin: 0 auto var(--space-4);
  color: var(--ink);
}

.quote-block blockquote em {
  color: var(--accent-deep);
  font-style: italic;
}

.quote-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================
   CONTACT / FINAL CTA
   ============================================ */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-16) 0 var(--space-8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.contact h2 {
  color: var(--paper);
  font-weight: 300;
  margin: 1.5rem 0 2rem;
}

.contact h2 em { font-style: italic; color: var(--accent); }

.contact .eyebrow { color: var(--accent); }
.contact .eyebrow::before { background: var(--accent); }

.contact p { color: rgba(250, 250, 247, 0.7); margin-bottom: 2.5rem; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2rem;
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-info-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
}

.contact-info-item .value {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.contact-info-item a.value:hover { color: var(--accent); }

.contact-cta-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--accent);
  color: var(--ink);
  transition: all 0.3s;
}

.btn-contact:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.btn-contact.ghost {
  background: transparent;
  border: 1px solid rgba(250, 250, 247, 0.25);
  color: var(--paper);
}

.btn-contact.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.5);
  padding: var(--space-6) 0 var(--space-4);
  border-top: 1px solid rgba(250, 250, 247, 0.08);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a { color: rgba(250, 250, 247, 0.5); }
.footer-links a:hover { color: var(--accent); }

/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

.page-hero {
  padding: 11rem 0 var(--space-8);
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(30, 184, 84, 0.04) 100%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: end;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb .sep { margin: 0 0.6rem; color: var(--ink-faint); }

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.page-hero h1 em { color: var(--accent-deep); font-style: italic; font-weight: 300; }

.page-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.page-meta-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-meta-item:last-child { border-bottom: none; padding-bottom: 0; }

.page-meta-item .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  font-variation-settings: 'opsz' 144;
  color: var(--accent-deep);
  line-height: 1;
  min-width: 2.5rem;
}

.page-meta-item .text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.page-meta-item .text strong { display: block; color: var(--ink); margin-bottom: 0.25rem; }

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

/* Content section */
.content-section {
  padding: var(--space-12) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
}

.content-side {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.content-side .label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-side h2 {
  font-size: 2rem;
  font-weight: 400;
}

.content-main p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.content-main p:first-of-type {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
}

.content-main h3 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  font-weight: 400;
}

.content-main ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.content-main ul li {
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-soft);
  position: relative;
}

.content-main ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-weight: 500;
}

@media (max-width: 860px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-side { position: static; }
}

/* FAQ */
.faq {
  background: var(--paper-warm);
  padding: var(--space-12) 0;
}

.faq-list {
  margin-top: var(--space-6);
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
  padding: 1.75rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question h4 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  transition: all 0.3s;
}

.faq-item[open] .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
  padding-right: 4rem;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* Related services */
.related {
  padding: var(--space-12) 0;
  background: var(--paper);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.related-card {
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}

.related-card:last-child { border-right: none; }
.related-card:hover { background: var(--paper-warm); }

.related-card .label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.related-card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.related-card p {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 760px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { border-right: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll reveal — visible by default, animation only kicks in once JS marks .js-ready on <html> */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Cursor — subtle marker dot */
@media (pointer: fine) {
  .marker {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
  }
}
