:root {
  --ink: #15202b;
  --muted: #5e6975;
  --line: #d9e5e4;
  --paper: #fff8ee;
  --mint: #e8f6ef;
  --sky: #e9f6f8;
  --white: #ffffff;
  --teal: #12807f;
  --teal-dark: #0d5b5d;
  --gold: #d7962d;
  --coral: #e76652;
  --rose: #a14661;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fffaf2 0%, #f4fbf8 55%, #fff8ee 100%);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: 0 10px 28px rgba(18, 128, 127, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
}

.brand,
.nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(13, 91, 93, 0.18);
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.97) 0%, rgba(255, 248, 238, 0.8) 39%, rgba(255, 248, 238, 0.06) 76%),
    linear-gradient(180deg, rgba(232, 246, 239, 0.12), rgba(255, 248, 238, 0.72));
}

.hero-content {
  position: relative;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  font-size: clamp(48px, 9vw, 112px);
}

h2 {
  font-size: clamp(30px, 5vw, 58px);
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: #354854;
  font-size: clamp(19px, 2vw, 24px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(18, 128, 127, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 33, 43, 0.14);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  background: var(--white);
}

.intro {
  border-top: 6px solid var(--gold);
}

.contact {
  align-items: start;
}

.intro p:last-child,
.contact-link {
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

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

.services {
  background:
    linear-gradient(135deg, rgba(232, 246, 239, 0.96), rgba(233, 246, 248, 0.94));
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(18, 128, 127, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(21, 32, 43, 0.06);
}

.service-number {
  color: var(--coral);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 42px;
}

.service-card p,
.article-list p,
.site-footer,
.disclaimer {
  color: var(--muted);
}

.insights {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.article-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.article-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(21, 32, 43, 0.05);
}

.article-list h3 a {
  text-decoration: none;
}

.article-list h3 a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.article-date {
  margin: 0;
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 246, 239, 0.72));
}

.contact-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.consultation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  max-width: 1120px;
  margin: clamp(48px, 7vw, 84px) auto 0;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(18, 128, 127, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 238, 0.96), rgba(233, 246, 248, 0.88));
  box-shadow: 0 20px 52px rgba(21, 32, 43, 0.08);
}

.consultation-section h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.consultation-section.standalone {
  margin-top: 32px;
}

.contact-cta {
  max-width: 820px;
  margin: clamp(44px, 7vw, 72px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(18, 128, 127, 0.18);
  border-left: 6px solid var(--coral);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--paper), var(--mint));
}

.contact-cta h2 {
  margin-top: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.contact-cta p {
  color: #3d4954;
  font-size: 18px;
}

.consultation-form {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.consultation-form label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.consultation-form label span {
  display: block;
}

.consultation-form input[type="text"],
.consultation-form input[type="email"],
.consultation-form input[type="tel"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.consultation-form input:focus {
  outline: 3px solid rgba(29, 111, 115, 0.18);
  border-color: var(--teal);
}

.checkbox-label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-status {
  min-height: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.disclaimer {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
}

.article-page {
  width: 100%;
  overflow-x: hidden;
  padding: clamp(38px, 6vw, 72px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.article-shell {
  width: min(100%, 820px);
  max-width: 820px;
  margin: 0 auto;
}

.article-shell h1 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  text-wrap: balance;
}

.article-shell h2 {
  margin-top: 42px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.14;
}

.article-shell p,
.article-shell li {
  color: #3d4954;
  font-size: clamp(17px, 1.5vw, 19px);
}

.article-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
}

.article-disclaimer {
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--coral);
  background: linear-gradient(135deg, var(--paper), #ffffff);
}

.article-shell ul {
  padding-left: 24px;
}

.article-shell li + li {
  margin-top: 8px;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-header.compact {
    position: sticky;
    align-items: center;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(246, 243, 238, 0.98) 0%, rgba(246, 243, 238, 0.88) 54%, rgba(246, 243, 238, 0.42) 100%);
  }

  .intro,
  .contact,
  .consultation-section,
  .service-grid,
  .article-list article {
    grid-template-columns: 1fr;
  }

  .article-shell h1 {
    max-width: none;
    font-size: clamp(32px, 10vw, 44px);
  }

  .service-card {
    min-height: 220px;
  }

  .site-footer {
    flex-direction: column;
  }
}
