:root {
  --primary: #0c3c3c;
  --primary-soft: rgba(12, 60, 60, .72);
  --paper: #f4f1e8;
  --paper-deep: #e9e4d7;
  --white: #ffffff;
  --line: #d1cec4;
  --gold: #b89454;
  --max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--primary);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, ul { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  color: var(--white);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  /* background: var(--white);
  filter: brightness(0) invert(1); */
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.site-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .94;
  transition: opacity .2s ease;
}

.site-nav a:hover { opacity: .68; }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 28px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.nav-cta {
  min-height: 38px;
  padding: 12px 22px;
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  letter-spacing: .08em;
}

.button:hover,
.nav-cta:hover { opacity: .88; }

.button.ghost {
  background: transparent;
  color: var(--primary);
}

.button.light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.button.wide { width: 100%; margin-top: 28px; }

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: var(--white);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero {
  background: var(--paper);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max);
  min-height: 85vh;
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 56px;
  align-items: center;
}

.hero.compact .hero-inner {
  min-height: auto;
  grid-template-columns: 1fr;
  padding-top: 86px;
  padding-bottom: 76px;
}

.eyebrow {
  display: block;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .72;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 76px;
  font-weight: 800;
}

.hero p {
  max-width: 610px;
  margin-bottom: 38px;
  color: var(--primary-soft);
  font-size: 18px;
}

.hero-media {
  height: min(700px, calc(100vh - 122px));
  min-height: 540px;
  background: var(--paper-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
}

.service-bar {
  background: var(--primary);
  color: var(--white);
  padding: 24px var(--gutter);
}

.service-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 28px;
}

.service-bar span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section {
  padding: 120px var(--gutter);
}

.section.white { background: var(--white); }
.section.green { background: var(--primary); color: var(--white); }

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.section h2 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: 56px;
}

.lead {
  color: var(--primary-soft);
  font-size: 18px;
}

.section.green .lead { color: rgba(255,255,255,.76); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .62;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  min-height: 282px;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .2s ease;
}

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

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

.card-top .material-symbols-outlined:first-child {
  color: rgba(12,60,60,.4);
  font-size: 34px;
}

.card-top .arrow {
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.practice-card:hover .arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

.practice-card h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.practice-card p {
  color: var(--primary-soft);
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
}

.article {
  display: grid;
  gap: 24px;
  color: var(--primary-soft);
  font-size: 17px;
}

.article h2,
.article h3 {
  color: var(--primary);
  margin-top: 18px;
}

.article ul {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.article li {
  padding: 20px 22px;
  background: var(--white);
  border-left: 3px solid var(--primary);
}

.side-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 34px;
  background: var(--primary);
  color: var(--white);
}

.side-panel h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

.side-panel p {
  margin-bottom: 26px;
  color: rgba(255,255,255,.7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial {
  padding: 38px;
  background: var(--white);
  text-align: left;
}

.testimonial p:first-of-type {
  margin: 26px 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
}

.small-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cta {
  text-align: center;
}

.cta h2 {
  margin-left: auto;
  margin-right: auto;
  font-size: 68px;
}

.cta-actions {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,255,255,.3);
  font-size: 24px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.detail-list {
  display: grid;
  gap: 28px;
}

.detail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--primary);
  padding: 15px 16px;
  border-radius: 0;
  font: inherit;
}

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

.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px var(--gutter) 36px;
}

.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
}

.footer-brand {
  margin-bottom: 28px;
  font-size: 26px;
}

.site-footer h2 {
  margin-bottom: 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255,255,255,.65);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 14px;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

@media (max-width: 980px) {
  .nav-wrap { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 14px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .nav-cta { display: none; }
  .hero-inner,
  .split,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 460px; height: 520px; }
  .hero h1 { font-size: 56px; }
  .section h2 { font-size: 46px; }
  .cta h2 { font-size: 52px; }
  .practice-grid,
  .testimonial-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}

@media (max-width: 1120px) and (min-width: 981px) {
  .nav-wrap {
    gap: 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .nav-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    gap: 38px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .section h2 {
    font-size: 48px;
  }

  .cta h2 {
    font-size: 58px;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero-inner { padding-top: 42px; padding-bottom: 58px; }
  .hero h1 { font-size: 43px; }
  .section h2 { font-size: 38px; }
  .cta h2 { font-size: 42px; }
  .stats { grid-template-columns: 1fr; }
  .practice-card { padding: 30px; min-height: 0; }
  .hero-media { min-height: 380px; height: 420px; }
  .cta-actions,
  .footer-bottom { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .phone-link { justify-content: center; font-size: 20px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }

  .nav-wrap {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .brand,
  .footer-brand {
    font-size: 18px;
  }

  .brand img,
  .footer-brand img {
    width: 34px;
    height: 34px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 46px;
  }

  .hero.compact .hero-inner {
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .hero p,
  .lead,
  .article {
    font-size: 16px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .hero-media {
    min-height: 320px;
    height: 360px;
  }

  .service-bar-inner {
    justify-content: flex-start;
  }

  .service-bar span {
    font-size: 11px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section h2 {
    font-size: 32px;
  }

  .cta h2 {
    font-size: 34px;
  }

  .practice-card,
  .testimonial,
  .side-panel {
    padding: 24px;
  }

  .practice-card h3 {
    font-size: 24px;
  }

  .footer-grid {
    gap: 38px;
  }
}

@media (max-width: 360px) {
  .brand span {
    max-width: 92px;
    white-space: normal;
    line-height: 1;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section h2,
  .cta h2 {
    font-size: 30px;
  }
}
