/* =========================================================
   SN Solicitors — Stylesheet
   Aesthetic: Editorial sophistication, broadsheet sensibility
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colour */
  --ink: #0F1A2B;
  --ink-soft: #2A3548;
  --ink-muted: #5A6478;
  --bronze: #A0793F;
  --bronze-soft: #C09968;
  --paper: #F6F1E8;
  --paper-deep: #ECE5D6;
  --line: #D9D2C2;
  --white: #FCFAF5;

  /* Type */
  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 900px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5.25rem); font-weight: 350; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 380; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; }
h4 { font-size: 1.25rem; font-weight: 500; }

p { max-width: 65ch; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}

.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(4rem, 9vw, 7rem) 0; }
section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ---------- Top Banner ---------- */
.banner {
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem var(--gutter);
  font-size: 0.78rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.banner a { color: var(--bronze-soft); margin-left: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
}

.brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.brand-mark {
  font-weight: 500;
  color: var(--ink);
}

.brand-amp {
  color: var(--bronze);
  font-style: italic;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--ink); }

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

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

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  min-width: 480px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(15, 26, 43, 0.2);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-col h5 {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.dropdown a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.dropdown a:hover { color: var(--bronze); }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 8px;
  transition: all 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 22px; }

.menu-toggle.open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: all 0.25s var(--ease);
}

.text-link:hover { color: var(--bronze); border-color: var(--bronze); }
.text-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* Hero with animated ambient motion */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

/* Hero portrait image (right column accent) */
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 2rem;
  z-index: 1;
}

.hero-portrait img,
.hero-portrait video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  display: block;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 26, 43, 0.25) 100%);
  pointer-events: none;
}

/* Generic responsive image inside content */
.media {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

.media-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-card .media-wrap {
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
  border: none;
}

.service-content .media-wrap {
  aspect-ratio: 16 / 9;
  margin: 2rem 0 2.5rem;
}

/* Animated gradient backdrop — slow, ambient breathing */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 30%, rgba(160, 121, 63, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(15, 26, 43, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(192, 153, 104, 0.05) 0%, transparent 40%);
  animation: heroBreathe 24s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroBreathe {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 1; }
  33% { transform: scale(1.08) translate(2%, -1%); opacity: 0.85; }
  66% { transform: scale(1.04) translate(-1%, 2%); opacity: 0.95; }
}

.hero-decoration {
  position: absolute;
  top: -15%;
  right: -8%;
  width: min(1400px, 95vw);
  aspect-ratio: 1;
  border: 3px solid rgba(160, 121, 63, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: heroRotate 90s linear infinite;
  opacity: 0.95;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 3px solid rgba(160, 121, 63, 0.5);
  border-radius: 50%;
  animation: heroRotateReverse 60s linear infinite;
}

.hero-decoration::after {
  content: "";
  position: absolute;
  inset: 24%;
  border: 3px dashed rgba(192, 153, 104, 0.7);
  border-radius: 50%;
  animation: heroRotate 45s linear infinite;
}

@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroRotateReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Floating accent dot */
.hero-decoration-2 {
  position: absolute;
  top: 35%;
  left: 8%;
  width: 8px;
  height: 8px;
  background: var(--bronze);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: heroDrift 18s ease-in-out infinite;
  opacity: 0.5;
}

.hero-decoration-3 {
  position: absolute;
  bottom: 15%;
  left: 45%;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: heroDrift 22s ease-in-out infinite reverse;
  opacity: 0.3;
}

@keyframes heroDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -15px) scale(1.4); }
  50% { transform: translate(-10px, -30px) scale(0.8); }
  75% { transform: translate(-25px, 10px) scale(1.2); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  position: relative;
}

.hero-main {
  position: relative;
  z-index: 3;
}

.hero-meta {
  position: relative;
}

.hero-meta > .lead,
.hero-meta > .hero-cta {
  position: relative;
  z-index: 3;
}

.hero-eyebrow { margin-bottom: 1.5rem; }

.hero h1 {
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-meta {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-meta p { font-size: 1.05rem; color: var(--ink-soft); }

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Page hero (smaller for inner pages) */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.page-hero .lead { margin-top: 1.25rem; }

.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.breadcrumb a:hover { color: var(--bronze); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- Stat Strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 2rem clamp(1rem, 2vw, 1.5rem);
  text-align: left;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 350;
  font-style: italic;
  color: var(--bronze);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ---------- Approach Section ---------- */
.approach-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 5rem;
  align-items: start;
}

.approach-intro .eyebrow { margin-bottom: 1.5rem; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.approach-card {
  background: var(--paper);
  padding: 2.5rem 2rem;
  transition: background 0.3s var(--ease);
}

.approach-card:hover { background: var(--paper-deep); }

.approach-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--bronze);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.approach-card h3 { margin-bottom: 1rem; }
.approach-card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Services Grid ---------- */
.services-section { background: var(--paper-deep); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.section-head-meta { text-align: right; }
.section-head .eyebrow { margin-bottom: 1.25rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--paper);
  padding: 2rem;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 260px;
}

.service-card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
}

.service-card:hover .service-card-num,
.service-card:hover .service-card-link { color: var(--bronze-soft); }

.service-card:hover h3 { color: var(--paper); }
.service-card:hover p { color: var(--paper); opacity: 0.8; }

.service-card-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bronze);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex-grow: 1;
  line-height: 1.55;
}

.service-card-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* ---------- Two-column feature ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-block:last-child { margin-bottom: 0; }

.feature-content .eyebrow { margin-bottom: 1.25rem; }
.feature-content h2 { margin-bottom: 1.5rem; }
.feature-content > p { margin-bottom: 1.5rem; color: var(--ink-soft); }

.feature-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-weight: 500;
}

.feature-visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 26, 43, 0.55) 0%, rgba(15, 26, 43, 0.85) 100%),
    radial-gradient(circle at 30% 20%, rgba(160, 121, 63, 0.18) 0%, transparent 50%);
}

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(246, 241, 232, 0.2);
  pointer-events: none;
}

.feature-visual-quote {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 300;
}

.feature-visual-quote::before {
  content: "“";
  font-size: 4rem;
  display: block;
  color: var(--bronze-soft);
  line-height: 1;
  margin-bottom: -1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(246, 241, 232, 0.08);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(246, 241, 232, 0.06);
  border-radius: 50%;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.cta-section h2 em {
  color: var(--bronze-soft);
  font-style: italic;
  font-weight: 300;
}

.cta-section p { color: rgba(246, 241, 232, 0.75); margin-bottom: 2rem; }

.cta-section .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.cta-section .btn-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--paper);
}

.cta-section .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.cta-section .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s var(--ease);
}

.location-card:hover { border-color: var(--bronze); }

.location-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.location-card h3 { font-size: 1.4rem; }
.location-card address { font-style: normal; color: var(--ink-soft); line-height: 1.65; }

.location-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.location-meta a { color: var(--ink); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.location-meta a:hover { border-color: var(--bronze); color: var(--bronze); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-brand-amp { color: var(--bronze-soft); font-style: italic; font-weight: 300; }

.footer-tagline {
  color: rgba(246, 241, 232, 0.65);
  font-size: 0.92rem;
  max-width: 28ch;
  margin-bottom: 2rem;
}

.footer-sra {
  font-size: 0.8rem;
  color: rgba(246, 241, 232, 0.5);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.sra-badge {
  margin-top: 1.5rem;
  background: var(--paper);
  padding: 0.6rem;
  display: inline-block;
  border-radius: 4px;
  width: 287px;
  max-width: 100%;
}

/* Force the badge wrapper to a real size so the iframe can't collapse */
.sra-badge > div {
  width: 275px;
  height: 163px;
  max-width: 275px;
  max-height: 163px;
}

.sra-badge > div > div {
  width: 275px;
  height: 163px;
  padding-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

.sra-badge iframe {
  display: block;
  width: 275px !important;
  height: 163px !important;
  border: 0;
  background: transparent;
  position: static !important;
}

.footer-col h5 {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  color: rgba(246, 241, 232, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--bronze-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(246, 241, 232, 0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a:hover { color: var(--bronze-soft); }

/* ---------- Service detail layout ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.service-sidebar h5 {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.service-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.service-sidebar a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: block;
  padding: 0.25rem 0;
}

.service-sidebar a:hover,
.service-sidebar a.active { color: var(--bronze); }

.service-content > * + * { margin-top: 1.5rem; }
.service-content h2 { margin-top: 3rem; }
.service-content h3 { margin-top: 2rem; }
.service-content p { color: var(--ink-soft); }

.service-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-content ul li {
  padding-left: 2rem;
  position: relative;
  color: var(--ink-soft);
}

.service-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-weight: 500;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.process-step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--bronze);
  margin-bottom: 0.5rem;
  display: block;
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; }

.callout {
  background: var(--paper-deep);
  border-left: 3px solid var(--bronze);
  padding: 2rem;
  margin: 2.5rem 0;
}

.callout p {
  font-family: var(--display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- Fees Table ---------- */
.fees-table {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin: 2rem 0 1rem;
}

.fees-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.fees-row:last-child { border-bottom: none; }

.fees-head {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--ink);
}

.fees-row > div:last-child {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
  text-align: right;
  font-weight: 400;
}

.fees-head > div:last-child {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
}

.fees-note {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-top: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 560px) {
  .fees-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .fees-row > div:last-child { text-align: left; }
}

/* ---------- About page ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-content > * + * { margin-top: 1.5rem; }
.story-content p { font-size: 1.05rem; }
.story-content h2 { margin-bottom: 0.5rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}

.value {
  background: var(--paper);
  padding: 3rem 2rem;
}

.value-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  color: var(--bronze);
}

.value h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.value p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
}

.contact-info > * + * { margin-top: 2rem; }

.contact-info-block h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.contact-info-block p,
.contact-info-block address { font-style: normal; color: var(--ink-soft); line-height: 1.65; }

.contact-info-block a:hover { color: var(--bronze); border-bottom: 1px solid var(--bronze); }

.contact-form {
  background: var(--paper-deep);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; }

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bronze);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 1rem;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .approach-intro,
  .feature-block,
  .feature-block.reverse,
  .section-head,
  .cta-grid,
  .story,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse { direction: ltr; }
  .feature-block .feature-visual { aspect-ratio: 16 / 10; max-height: 360px; }

  .section-head-meta { text-align: left; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .values-grid { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand-block { grid-column: 1 / -1; }

  .service-sidebar { position: static; border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.5rem; }

  .hero-meta { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 2rem; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem var(--gutter);
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 30px 60px -20px rgba(15, 26, 43, 0.2);
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a { font-size: 1rem; padding: 0.5rem 0; }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0 0 1rem;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    display: none;
  }

  .has-dropdown.open .dropdown { display: grid; }

  .menu-toggle { display: block; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
