:root {
  --ink: #141820;
  --muted: #687281;
  --paper: #f4f7fb;
  --panel: #ffffff;
  --pine: #172033;
  --pine-soft: #243451;
  --aqua: #dff6f1;
  --aqua-deep: #5ec6b5;
  --copper: #c48a45;
  --copper-soft: #f1d49a;
  --line: rgba(20, 24, 32, 0.12);
  --shadow: 0 26px 70px rgba(23, 32, 51, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(223, 246, 241, 0.86), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(241, 212, 154, 0.4), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--paper) 48%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-elevated {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: var(--pine);
  border-radius: var(--radius);
  color: white;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  letter-spacing: 0;
  width: 46px;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  color: var(--pine);
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  align-items: center;
  background: rgba(217, 238, 234, 0.65);
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 750;
  padding: 5px;
}

.nav a {
  border-radius: 999px;
  color: var(--pine);
  padding: 8px 14px;
}

.nav a:hover {
  background: white;
  color: var(--copper);
}

.header-action,
.button,
.facebook-link {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 820;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.header-action {
  background: var(--pine);
  color: white;
  font-size: 14px;
}

.hero {
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 72px) 116px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(18, 60, 53, 0.065) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 60, 53, 0.065) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  opacity: 0.7;
  position: absolute;
  z-index: 0;
}

.hero-image {
  border: 10px solid white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: calc(100% - 210px);
  max-height: 720px;
  object-fit: cover;
  object-position: 58% center;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 116px;
  width: min(55vw, 760px);
  z-index: 1;
}

.hero-overlay {
  background:
    radial-gradient(circle at 76% 25%, rgba(217, 238, 234, 0.6), transparent 30%),
    linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.96) 42%, rgba(247, 244, 236, 0.24) 72%, rgba(247, 244, 236, 0.08) 100%);
  inset: 0;
  position: absolute;
  z-index: 2;
}

.hero-rule {
  border: 1px solid rgba(18, 60, 53, 0.18);
  border-radius: var(--radius);
  bottom: 92px;
  left: clamp(18px, 5vw, 72px);
  pointer-events: none;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 96px;
  z-index: 3;
}

.hero-rule::before {
  background: var(--copper);
  content: "";
  height: 80px;
  left: -1px;
  position: absolute;
  top: 98px;
  width: 4px;
}

.hero-rule::after {
  background: rgba(18, 60, 53, 0.14);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 62%;
}

.hero-frame {
  align-items: center;
  color: var(--ink);
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.55fr);
  max-width: 1240px;
  position: relative;
  width: 100%;
  z-index: 4;
}

.hero-content {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(18, 60, 53, 0.08);
  max-width: 720px;
  padding: clamp(28px, 5vw, 52px);
}

.hero-kicker,
.eyebrow,
.mini-label {
  color: var(--copper);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-kicker {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-kicker::before {
  background: var(--pine);
  content: "";
  display: inline-block;
  height: 2px;
  width: 42px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.6vw, 84px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero-copy {
  border-left: 3px solid var(--copper);
  color: #43504d;
  font-size: clamp(17px, 1.8vw, 21px);
  max-width: 620px;
  padding-left: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.button.primary {
  background: var(--pine);
  box-shadow: 0 16px 34px rgba(18, 60, 53, 0.18);
  color: white;
}

.button.secondary {
  background: var(--aqua);
  border: 1px solid rgba(18, 60, 53, 0.12);
  color: var(--pine);
}

.hero-docket {
  align-self: end;
  background: var(--pine);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: white;
  margin-top: 250px;
  padding: 24px;
  position: relative;
}

.hero-docket::before {
  background: var(--copper-soft);
  border-radius: 999px;
  content: "";
  height: 12px;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 52px;
}

.hero-docket span {
  color: var(--copper-soft);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-docket strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.06;
  max-width: 260px;
}

.hero-docket dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.hero-docket dl div {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
}

.hero-docket dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-docket dd {
  color: white;
  font-weight: 850;
  margin: 0;
  text-align: right;
}

.hero-service-strip {
  background: white;
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: var(--radius);
  bottom: 28px;
  box-shadow: 0 24px 56px rgba(18, 60, 53, 0.12);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: clamp(18px, 5vw, 72px);
  overflow: hidden;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  z-index: 5;
}

.hero-service-strip span {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  color: var(--pine);
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
  justify-content: flex-start;
  min-height: 62px;
  padding: 14px 20px;
}

.hero-service-strip b {
  color: var(--copper);
  font-size: 12px;
  font-weight: 950;
}

.trust-band {
  background: var(--pine);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-band > div {
  background: rgba(255, 255, 255, 0.06);
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 48px);
}

.trust-band .mini-label {
  color: var(--copper-soft);
}

.trust-band strong {
  display: block;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.25;
}

.section,
.split-section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.services-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(217, 238, 234, 0.82), transparent 28%),
    linear-gradient(90deg, rgba(18, 60, 53, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 60, 53, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 54px 54px, 54px 54px, auto;
}

.section-head {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  margin: 0 auto 34px;
  max-width: 1180px;
}

.section-head h2,
.profile-panel h2,
.contact-panel h2 {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1.06;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(18, 60, 53, 0.08);
  min-height: 260px;
  overflow: hidden;
  padding: 26px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  background: linear-gradient(90deg, var(--pine), var(--aqua-deep), var(--copper));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.service-card:hover {
  border-color: rgba(18, 60, 53, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card.featured {
  background:
    linear-gradient(145deg, rgba(217, 238, 234, 0.18), transparent 42%),
    var(--pine);
  color: white;
}

.service-icon {
  color: var(--copper);
  display: block;
  font-weight: 900;
  margin-bottom: 48px;
}

.service-card h3 {
  font-size: 22px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 22%, rgba(217, 238, 234, 0.7), transparent 30%),
    linear-gradient(135deg, #f8f4eb 0%, #ffffff 54%, #eef8f5 100%);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
}

.profile-panel,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(18, 60, 53, 0.08);
  padding: clamp(28px, 5vw, 54px);
}

.profile-panel p {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.profile-list span {
  background: var(--aqua);
  border: 1px solid rgba(18, 60, 53, 0.12);
  border-radius: var(--radius);
  color: var(--pine);
  font-weight: 780;
  padding: 10px 12px;
}

.contact-panel {
  background:
    linear-gradient(145deg, rgba(217, 238, 234, 0.1), transparent 42%),
    var(--pine);
  color: white;
}

.contact-panel h2 {
  color: white;
}

.contact-panel address {
  display: grid;
  font-style: normal;
  gap: 14px;
  margin: 30px 0 24px;
}

.contact-panel address a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
  padding-bottom: 14px;
}

.facebook-link {
  background: white;
  color: var(--pine);
}

.footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .trust-band,
  .section-head,
  .service-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 164px;
  }

  .hero-frame {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 58%;
    max-height: none;
    object-position: 54% center;
    opacity: 0.42;
    width: min(82vw, 620px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 236, 0.98), rgba(247, 244, 236, 0.86)),
      radial-gradient(circle at 80% 18%, rgba(217, 238, 234, 0.82), transparent 32%);
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-docket {
    margin-top: 0;
    max-width: 520px;
  }

  .hero-rule {
    bottom: 148px;
  }

  .hero-service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 14px;
    padding: 12px 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-mark {
    height: 40px;
    width: 40px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding: 94px 18px 190px;
  }

  .hero-image {
    border-width: 6px;
    height: 360px;
    left: 18px;
    object-position: 56% center;
    opacity: 0.36;
    right: 18px;
    top: 96px;
    width: calc(100% - 36px);
  }

  .hero-rule {
    display: none;
  }

  .hero-content {
    padding: 24px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-copy {
    padding-left: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-docket {
    padding: 20px;
  }

  .hero-docket strong {
    font-size: 24px;
  }

  .hero-service-strip {
    bottom: 18px;
    grid-template-columns: 1fr;
    left: 18px;
    right: 18px;
  }

.hero-service-strip span {
  min-height: 44px;
}

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 28px;
  }
}

/* Profile-led redesign */
.hero-profile {
  background:
    linear-gradient(90deg, var(--pine) 0%, var(--pine) 49%, #eef8f6 49%, #eef8f6 100%);
  min-height: 100vh;
  padding-top: 118px;
}

.hero-profile::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 1;
}

.hero-profile > .hero-image {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: grayscale(0.2);
  height: 100%;
  left: auto;
  max-height: none;
  object-fit: cover;
  object-position: 56% center;
  opacity: 0.08;
  right: 0;
  top: 0;
  width: 50%;
  z-index: 1;
}

.hero-profile .hero-overlay {
  background:
    radial-gradient(circle at 74% 28%, rgba(94, 198, 181, 0.34), transparent 28%),
    radial-gradient(circle at 52% 84%, rgba(241, 212, 154, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(23, 32, 51, 0.96) 0%, rgba(23, 32, 51, 0.92) 49%, rgba(238, 248, 246, 0.2) 49%, rgba(238, 248, 246, 0.86) 100%);
}

.hero-profile .hero-rule {
  border-color: rgba(255, 255, 255, 0.16);
  bottom: 102px;
}

.hero-profile .hero-rule::before {
  background: var(--aqua-deep);
}

.hero-profile .hero-rule::after {
  background: rgba(255, 255, 255, 0.14);
}

.hero-profile .hero-frame {
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.74fr);
  margin: 0 auto;
  max-width: 1240px;
}

.hero-profile .hero-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: white;
  max-width: 700px;
  padding: 0;
}

.hero-profile .hero-kicker {
  color: var(--copper-soft);
}

.hero-profile .hero-kicker::before {
  background: var(--aqua-deep);
}

.hero-profile h1 {
  color: white;
  font-size: clamp(46px, 6.3vw, 88px);
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.hero-profile .hero-copy {
  border-left-color: var(--aqua-deep);
  color: rgba(255, 255, 255, 0.78);
}

.hero-profile .button.primary {
  background: var(--copper-soft);
  color: var(--pine);
}

.hero-profile .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.profile-visual {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  position: relative;
}

.profile-visual::before {
  background: var(--copper-soft);
  border-radius: var(--radius);
  content: "";
  height: 78%;
  position: absolute;
  right: 0;
  top: 28px;
  width: 72%;
  z-index: 0;
}

.profile-visual::after {
  border: 1px solid rgba(23, 32, 51, 0.14);
  border-radius: var(--radius);
  content: "";
  height: 82%;
  left: 0;
  position: absolute;
  top: 0;
  width: 78%;
  z-index: 0;
}

.profile-photo-card {
  background: white;
  border: 10px solid white;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(23, 32, 51, 0.24);
  height: min(68vh, 660px);
  max-width: 470px;
  overflow: hidden;
  position: relative;
  width: min(34vw, 470px);
  z-index: 2;
}

.profile-photo-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  width: 100%;
}

.hero-profile .hero-docket {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 32, 51, 0.12);
  box-shadow: 0 24px 54px rgba(23, 32, 51, 0.18);
  color: var(--pine);
  margin: -86px 0 0;
  max-width: 420px;
  width: calc(100% - 42px);
  z-index: 3;
}

.hero-profile .hero-docket::before {
  background: var(--aqua-deep);
}

.hero-profile .hero-docket span {
  color: var(--copper);
}

.hero-profile .hero-docket dt {
  color: var(--muted);
}

.hero-profile .hero-docket dd {
  color: var(--pine);
}

.hero-profile .hero-docket dl div {
  border-top-color: rgba(23, 32, 51, 0.12);
}

.hero-profile .hero-service-strip {
  background: var(--pine);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-profile .hero-service-strip span {
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.hero-profile .hero-service-strip b {
  color: var(--aqua-deep);
}

@media (max-width: 980px) {
  .hero-profile {
    background: var(--pine);
  }

  .hero-profile > .hero-image {
    display: none;
  }

  .hero-profile .hero-overlay {
    background:
      radial-gradient(circle at 78% 20%, rgba(94, 198, 181, 0.28), transparent 32%),
      linear-gradient(180deg, rgba(23, 32, 51, 0.98), rgba(23, 32, 51, 0.92));
  }

  .hero-profile .hero-frame {
    grid-template-columns: 1fr;
  }

  .profile-visual {
    justify-items: start;
  }

  .profile-photo-card {
    height: 560px;
    max-width: 430px;
    width: min(100%, 430px);
  }

  .hero-profile .hero-docket {
    margin-top: -78px;
    width: min(100%, 410px);
  }
}

@media (max-width: 620px) {
  .hero-profile {
    padding-bottom: 214px;
  }

  .hero-profile h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .profile-photo-card {
    border-width: 7px;
    height: 460px;
    width: 100%;
  }

  .profile-photo-card img {
    object-position: 50% 20%;
  }

  .profile-visual::before,
  .profile-visual::after {
    display: none;
  }

  .hero-profile .hero-docket {
    margin-top: -62px;
    width: calc(100% - 24px);
  }
}
