:root {
  --ink: #121416;
  --muted: #5a636b;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --line: #d9ddd6;
  --green: #214c43;
  --wash: #eceeeb;
  --gold: #f1d199;
  --dark: #0f1412;
  --dark-muted: #a9b4ae;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 20, 18, 0.12);
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

strong {
  font-weight: 800;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 28px;
  background: rgba(247, 248, 246, 0.88);
  border-bottom: 1px solid rgba(18, 20, 22, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  font-family: "Sofia Sans Condensed", Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 0.86;
  text-transform: uppercase;
}

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

.site-nav a,
.button,
.menu-button {
  border-radius: var(--radius);
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(33, 76, 67, 0.08);
  color: var(--ink);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--surface);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--green);
  color: var(--surface);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.menu-button__mark {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-button__mark::before,
.menu-button__mark::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease, top 160ms ease;
}

.menu-button__mark::before {
  top: 1px;
}

.menu-button__mark::after {
  top: 9px;
}

.menu-button[aria-expanded="true"] .menu-button__mark::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__mark::after {
  top: 5px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  background: var(--dark);
  color: var(--surface);
}

.subpage-hero {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.subpage-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: 76px;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 21px;
}

.subpage-hero .button--primary {
  background: var(--ink);
  color: var(--surface);
}

.hero__inner {
  width: min(var(--max), calc(100% - 56px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: 96px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 56px;
  align-items: center;
}

.hero__content {
  max-width: 720px;
}

.eyebrow,
.section__label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1 {
  width: 100%;
  max-width: 760px;
  font-family: "Sofia Sans Condensed", Inter, sans-serif;
  font-size: 104px;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
}

h1 span {
  display: inline;
}

.hero__lead {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.45;
}

.hero__note {
  max-width: 520px;
  margin-top: 18px;
  color: var(--dark-muted);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__portrait {
  margin: 0;
  align-self: center;
  justify-self: end;
  width: min(390px, 100%);
}

.hero__portrait img {
  width: 100%;
  height: auto;
  max-height: min(620px, calc(100svh - 190px));
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  filter: grayscale(100%) contrast(1.02);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--gold);
  color: var(--dark);
}

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

.button--secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--surface);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(var(--max), calc(100% - 56px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: 92px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--tint {
  width: 100%;
  max-width: none;
  padding: 92px max(28px, calc((100% - var(--max)) / 2));
  background: var(--wash);
}

.section--tint .section__label {
  color: var(--muted);
}

.section--dark {
  width: 100%;
  max-width: none;
  padding: 92px max(28px, calc((100% - var(--max)) / 2));
  background: var(--dark);
  color: var(--surface);
}

.section__label {
  color: var(--green);
}

.section__label--dark {
  color: var(--gold);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

h2 {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

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

.section-heading p,
.contact__inner p {
  color: var(--muted);
  font-size: 18px;
}

.section--dark .section-heading p {
  color: var(--dark-muted);
}

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

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(18, 20, 22, 0.08);
  border-radius: var(--radius);
}

.service-card span {
  color: var(--muted);
  font-weight: 800;
}

.service-card h3 {
  margin-top: 42px;
  font-size: 23px;
  line-height: 1.1;
}

.service-card p {
  margin-top: 18px;
  color: var(--muted);
}

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

.package-grid article {
  min-height: 240px;
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.package-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.package-grid article {
  display: grid;
  align-content: start;
  gap: 18px;
}

.package-grid h3 {
  font-size: 28px;
  line-height: 1.08;
}

.package-grid p {
  color: var(--muted);
}

.contact {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  background: var(--green);
  color: var(--surface);
  padding: 92px 28px;
}

.contact__inner {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  color: var(--gold);
}

.contact h2 {
  margin: 0 auto;
  font-size: 52px;
}

.contact__inner p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px auto 30px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
  font: inherit;
  padding: 12px 14px;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__message,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.form-status[data-state="success"] {
  color: var(--gold);
}

.form-status[data-state="error"] {
  color: #ffd2c9;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.contact__email {
  display: inline-flex;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 28px;
  background: var(--dark);
  color: var(--dark-muted);
}

.site-footer span {
  color: var(--surface);
  font-weight: 800;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav--static {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .hero__inner {
    width: min(var(--max), calc(100% - 40px));
    min-height: calc(100svh - 68px);
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 72px 0 54px;
  }

  .hero__portrait {
    width: min(320px, 100%);
    justify-self: start;
  }

  h1 {
    font-size: 78px;
  }

  .subpage-hero {
    width: calc(100% - 40px);
    padding: 88px 0 52px;
  }

  .subpage-hero h1 {
    font-size: 54px;
  }

  h2,
  .contact h2 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section,
  .section--tint,
  .section--dark {
    width: 100%;
    min-height: calc(100svh - 68px);
    padding: 72px 20px;
  }

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

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

@media (max-width: 640px) {
  .brand {
    font-size: 20px;
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    width: calc(100% - 32px);
    display: block;
    padding: 42px 0 44px;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero__portrait {
    display: none;
  }

  h1 {
    max-width: 11ch;
    font-size: 42px;
    line-height: 1;
  }

  .subpage-hero h1 {
    font-size: 42px;
  }

  .subpage-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  h2,
  .contact h2 {
    font-size: 32px;
  }

  .hero__lead,
  .section-heading p,
  .contact__inner p {
    font-size: 17px;
  }

  .hero__lead {
    max-width: 20rem;
    margin-top: 24px;
  }

  .hero__note {
    max-width: 20rem;
    margin-top: 16px;
    font-size: 16px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .button--secondary {
    display: none;
  }

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

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

  .contact {
    min-height: calc(100svh - 68px);
    padding: 78px 16px;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: 38px;
  }
}

@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;
  }
}
