:root {
  --ink: #142033;
  --ink-soft: #415168;
  --paper: #f6f7f4;
  --surface: #ffffff;
  --surface-strong: #edf3ef;
  --line: #d9e0e7;
  --blue: #174f84;
  --blue-dark: #10243e;
  --green: #1f6f63;
  --rust: #b45b32;
  --gold: #c38b2a;
  --shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
  --radius: 8px;
  --max-width: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(246, 247, 244, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.25;
}

.brand-name {
  font-weight: 700;
}

.brand-sub {
  margin-top: 2px;
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 6px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 36, 62, 0.92), rgba(16, 36, 62, 0.74) 48%, rgba(31, 111, 99, 0.38)),
    var(--blue-dark);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(246, 247, 244, 0.08));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(28px, 6vw, 76px);
  width: min(100% - 36px, var(--max-width));
  min-height: 88vh;
  margin-inline: auto;
  padding: clamp(98px, 11vw, 136px) 0 clamp(34px, 6vw, 70px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow {
  color: #e7ae69;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.28;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 5.1vw, 4rem);
  font-weight: 800;
}

.hero-copy h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(31, 111, 99, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #175b50;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.panel-label {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hero-panel div {
  padding-left: 14px;
  border-left: 2px solid #e7ae69;
}

.hero-panel dt {
  font-weight: 800;
}

.hero-panel dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-inner {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
}

.section-muted {
  background: var(--surface-strong);
}

.section-dark {
  color: #fff;
  background: var(--blue-dark);
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p {
  color: var(--ink-soft);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.intro {
  padding-top: clamp(58px, 7vw, 90px);
}

.intro-grid,
.two-column,
.profile-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

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

.service-card,
.pricing-card,
.example-card {
  border-radius: var(--radius);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-card:nth-child(1) {
  border-top: 4px solid var(--blue);
}

.service-card:nth-child(2) {
  border-top: 4px solid var(--green);
}

.service-card:nth-child(3) {
  border-top: 4px solid var(--rust);
}

.service-card:nth-child(4) {
  border-top: 4px solid var(--gold);
}

.service-card-wide {
  grid-column: span 2;
  min-height: auto;
  border-top: 4px solid var(--blue-dark);
}

.service-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card p,
.pricing-card p,
.example-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.sticky-copy {
  align-self: start;
  position: sticky;
  top: 110px;
}

.sticky-copy p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list div {
  position: relative;
  padding: 18px 20px 18px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.04);
}

.check-list div::before {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  content: "";
}

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

.example-card {
  min-height: 240px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

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

.example-card h3 {
  color: #fff;
}

.example-tag {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #e7ae69;
  font-size: 0.76rem;
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  border-top: 1px solid var(--line);
}

.process-list span {
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

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

.pricing-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.pricing-card.featured {
  border-color: rgba(31, 111, 99, 0.34);
  box-shadow: var(--shadow);
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.price {
  margin: 16px 0 14px;
  color: var(--blue-dark);
  font-size: 1.45rem;
  font-weight: 900;
}

.profile {
  background: var(--surface);
}

.profile-grid {
  align-items: center;
}

.profile-card {
  display: grid;
  min-height: 320px;
  align-items: end;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 79, 132, 0.86), rgba(31, 111, 99, 0.86)),
    var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.profile-initials {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 800;
}

.profile-lines {
  display: grid;
  gap: 12px;
  margin-top: 70px;
}

.profile-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.profile-lines span:nth-child(1) {
  width: 86%;
}

.profile-lines span:nth-child(2) {
  width: 62%;
}

.profile-lines span:nth-child(3) {
  width: 74%;
}

.profile p {
  color: var(--ink-soft);
}

.contact {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(16, 36, 62, 0.96), rgba(23, 79, 132, 0.9)),
    var(--blue-dark);
}

.contact h2 {
  max-width: 580px;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.2);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.contact-form input,
.contact-form select {
  min-height: 46px;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
  padding: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(231, 174, 105, 0.42);
  outline-offset: 1px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.83rem;
}

.site-footer {
  background: #0b1728;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 36px, var(--max-width));
  min-height: 88px;
  margin-inline: auto;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-inner,
  .intro-grid,
  .two-column,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: center;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .sticky-copy {
    position: static;
  }

  .profile-card {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

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

  .nav-toggle {
    position: relative;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: inherit;
    background: transparent;
  }

  .nav-toggle-line {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto;
    z-index: 110;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-inner {
    width: min(100% - 28px, var(--max-width));
    padding-top: 108px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(1.95rem, 9.6vw, 2.75rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-panel {
    display: none;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .service-grid,
  .example-grid,
  .pricing-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card-wide,
  .contact-form .full {
    grid-column: auto;
  }

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

  .process-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
