:root {
  --ink: #173f3b;
  --ink-deep: #0f2f2c;
  --paper: #f5f0e7;
  --paper-light: #fbf8f2;
  --sage: #9bb0a1;
  --sage-light: #dfe6de;
  --terracotta: #c76d51;
  --gold: #d5a74b;
  --line: rgba(23, 63, 59, 0.16);
  --shadow: 0 24px 70px rgba(15, 47, 44, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink-deep);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.9rem;
}

.brand-name span {
  color: var(--terracotta);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-cta {
  padding: 9px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: white;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  padding: 88px 0 104px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 470px;
  left: -280px;
  top: 35px;
  border: 1px solid rgba(199, 109, 81, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(199, 109, 81, 0.035), 0 0 0 112px rgba(199, 109, 81, 0.025);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 7vw, 6.7rem);
}

h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-intro {
  max-width: 675px;
  margin-bottom: 34px;
  color: rgba(23, 63, 59, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 63, 59, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terracotta);
}

.text-link {
  padding: 8px 0;
  text-decoration: none;
  font-weight: 750;
  border-bottom: 1px solid var(--line);
}

.trust-list {
  margin: 46px 0 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 30px;
  border-top: 1px solid var(--line);
  list-style: none;
  color: rgba(23, 63, 59, 0.72);
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin: 0 10px 1px 0;
  background: var(--gold);
  border-radius: 50%;
}

.hero-panel {
  position: relative;
  padding: clamp(34px, 4vw, 54px);
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 170px 170px 14px 14px;
}

.panel-accent {
  width: 70px;
  height: 70px;
  margin: 0 auto 68px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 0 13px var(--ink), inset 0 0 0 14px rgba(255, 255, 255, 0.22);
}

.panel-kicker {
  color: var(--sage-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-panel li span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
}

.panel-note {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.83rem;
}

.services {
  padding: 118px max(24px, calc((100vw - 1180px) / 2));
  background: var(--paper-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

.section-heading > p:last-child {
  max-width: 600px;
  color: rgba(23, 63, 59, 0.7);
  font-size: 1.08rem;
}

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

.service-card {
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.service-card.featured {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-14px);
}

.card-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  color: var(--terracotta);
  background: rgba(199, 109, 81, 0.09);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.featured .card-number {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.service-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.service-card p {
  color: rgba(23, 63, 59, 0.7);
}

.featured p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card ul {
  margin: auto 0 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card li {
  margin: 9px 0;
}

.service-card li::before {
  content: "—";
  margin-right: 9px;
  color: var(--terracotta);
}

.featured li::before {
  color: var(--gold);
}

.belief {
  max-width: 900px;
  margin: 105px auto 10px;
  text-align: center;
}

.belief p {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3.8vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.belief footer {
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 8vw, 115px);
  align-items: center;
  padding: 122px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--terracotta);
}

.contact .eyebrow {
  color: #ffe1c9;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

.contact-copy .fit-note {
  margin-top: 32px;
  padding: 22px 0 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-left: 3px solid #ffd9a0;
  font-size: 0.9rem;
}

.contact-card {
  padding: 42px;
  color: var(--ink);
  background: var(--paper-light);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-monogram {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--paper-light);
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.contact-name {
  margin-bottom: 1px;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.contact-card > div p:last-child {
  color: rgba(23, 63, 59, 0.65);
  font-size: 0.87rem;
}

.email-address {
  display: inline-block;
  margin-top: 13px;
  color: var(--terracotta);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-links {
  margin-top: 24px;
}

.button-light {
  width: 100%;
  color: white;
  background: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--terracotta);
}

.linkedin-link {
  display: block;
  width: fit-content;
  margin: 17px auto 0;
  color: rgba(23, 63, 59, 0.72);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-small {
  margin: 18px 0 0;
  text-align: center;
  color: rgba(23, 63, 59, 0.6);
  font-size: 0.76rem;
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink-deep);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-panel {
    max-width: 580px;
    border-radius: 120px 120px 12px 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .service-card.featured {
    transform: none;
  }

  .service-card ul {
    margin-top: 30px;
  }

  .card-number {
    margin-bottom: 35px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand-name,
  .site-header nav > a:first-child {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 58px 0 76px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel {
    padding: 34px 25px;
    border-radius: 100px 100px 10px 10px;
  }

  .panel-accent {
    margin-bottom: 44px;
  }

  .services,
  .contact {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .belief {
    margin-top: 78px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
