:root {
  --ink-950: #061b1d;
  --ink-900: #0a2527;
  --ink-800: #123638;
  --mint: #74e1c5;
  --mint-pale: #b9f4e4;
  --paper: #f1f0e9;
  --white: #fffefa;
  --text: #203436;
  --muted: #6e7a78;
  --line: rgba(10, 37, 39, .16);
  --shell: min(1160px, calc(100vw - 48px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink-950);
  background: var(--mint);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  color: var(--white);
}
.header-inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark { width: 35px; height: 35px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 33px; }
.primary-nav a, .footer-nav a {
  color: rgb(255 255 255 / 66%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"], .footer-nav a:hover { color: var(--white); }
.primary-nav .nav-contact {
  padding: 9px 14px;
  border: 1px solid rgb(255 255 255 / 30%);
}
.primary-nav .nav-contact:hover, .primary-nav .nav-contact[aria-current="page"] {
  color: var(--ink-950);
  background: var(--mint);
  border-color: var(--mint);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 50%, rgb(116 225 197 / 8%) 0 20%, transparent 20.2%),
    linear-gradient(118deg, var(--ink-950), var(--ink-900) 66%, var(--ink-800));
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px);
  background-size: 82px 82px;
  content: "";
  mask-image: linear-gradient(to right, transparent 5%, black 55%, black 100%);
}
.hero-grid {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: 1.12fr .88fr;
  gap: 80px;
  align-items: center;
  padding-top: 94px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 70px; }
.eyebrow {
  margin: 0 0 27px;
  color: var(--mint-pale);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 6.1vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .98;
  text-wrap: balance;
}
.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 12px 21px;
  color: var(--ink-950);
  background: var(--mint);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease;
}
.button:hover { background: var(--mint-pale); transform: translateY(-2px); }
.hero-logo {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
}
.hero-logo::before, .hero-logo::after, .logo-frame {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 50%;
  content: "";
}
.hero-logo::before { inset: 8%; }
.hero-logo::after { inset: 22%; border-color: rgb(116 225 197 / 22%); }
.logo-frame { inset: 0; border-radius: 0; }
.hero-logo img { position: relative; z-index: 1; width: 43%; height: 43%; opacity: .94; }

.services { padding-block: 110px 126px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgb(6 27 29 / 7%);
}
.service-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--ink-900);
}
.service-copy { padding: 30px 36px 36px; }
.service-index { color: #87918f; font-family: var(--display); font-size: 12px; }
.service-card h2 {
  margin: 35px 0 13px;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.service-card p { max-width: 490px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.contact-panel { padding-block: 76px; background: var(--white); }
.contact-panel-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: start; }
.contact-panel h2 {
  margin: 0;
  color: var(--ink-900);
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}
.contact-panel p { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-panel p > span { display: block; margin-bottom: 13px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel p > a { display: flex; align-items: center; justify-content: space-between; color: var(--ink-900); font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.8rem); line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.contact-panel b, .email-card span { color: #3cb898; font-family: var(--sans); font-size: 20px; }

.site-footer { color: rgb(255 255 255 / 54%); background: #041719; }
.footer-inner { display: grid; min-height: 170px; grid-template-columns: 1fr auto 1fr; gap: 45px; align-items: center; }
.site-footer .brand { color: var(--white); }
.footer-nav { display: flex; gap: 30px; }
.footer-inner > p { margin: 0; font-size: 9px; letter-spacing: .06em; text-align: right; text-transform: uppercase; }

.page-hero { color: var(--white); background: linear-gradient(118deg, var(--ink-950), var(--ink-800)); }
.page-hero-grid {
  display: grid;
  min-height: 510px;
  grid-template-columns: .35fr 1.65fr;
  gap: 45px;
  align-items: center;
  padding-top: 94px;
}
.page-hero .eyebrow { align-self: start; margin-top: 120px; }
.page-hero h1 { color: var(--mint-pale); }
.page-content { padding-block: 110px 125px; }
.content-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 75px; }
.intro-copy { padding-top: 13px; }
.intro-copy p { max-width: 430px; margin: 0; color: var(--ink-900); font-family: var(--display); font-size: 25px; line-height: 1.45; }
.content-card { padding: 50px 55px 54px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 25px 60px rgb(6 27 29 / 8%); }
.content-card h2 { margin: 0 0 30px; color: var(--ink-900); font-family: var(--display); font-size: clamp(2.5rem, 4.5vw, 4.2rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.content-card p { max-width: 700px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.content-card p:last-child { margin-bottom: 0; }
.content-card a { color: var(--ink-900); text-underline-offset: 3px; }
.contact-content { min-height: 460px; }
.contact-page .page-hero-grid { min-height: 420px; }
.contact-page .page-hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.content-label { margin: 17px 0 0; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.email-card { padding: 29px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.email-card a { display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--ink-900); font-family: var(--display); font-size: clamp(1.35rem, 2.7vw, 2.25rem); letter-spacing: -.03em; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }

.not-found { color: var(--white); background: var(--ink-950); }
.not-found-inner { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding-block: 38px 80px; }
.not-found-inner > div { max-width: 820px; }
.not-found h1 { margin: 0; font-family: var(--display); font-size: clamp(3.7rem, 7vw, 6.4rem); font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.not-found-inner > div > p:not(.eyebrow) { margin: 27px 0 34px; color: rgb(255 255 255 / 58%); }
.not-found .brand-mark { width: 35px; height: 35px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 820px) {
  .hero-grid { min-height: 700px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-logo { position: absolute; right: -90px; bottom: 50px; width: 48%; opacity: .34; }
  .services { padding-block: 85px 105px; }
  .contact-panel-grid, .content-grid { gap: 48px; }
}

@media (max-width: 650px) {
  :root { --shell: min(100% - 32px, 1160px); }
  .header-inner { min-height: 78px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; }
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: 9px; }
  .primary-nav a:first-child { display: none; }
  .primary-nav .nav-contact { padding: 7px 9px; }
  .hero-grid { min-height: 640px; padding-top: 78px; }
  .hero-copy { padding-block: 65px 50px; }
  .hero h1, .page-hero h1 { font-size: clamp(3.1rem, 14vw, 4.3rem); }
  .hero-logo { right: -120px; bottom: 35px; width: 75%; opacity: .21; }
  .service-grid { grid-template-columns: 1fr; }
  .service-copy { padding: 25px 27px 30px; }
  .service-card h2 { margin-top: 25px; }
  .contact-panel { padding-block: 80px; }
  .contact-panel-grid, .page-hero-grid, .content-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-panel p > a { font-size: 1.3rem; }
  .footer-inner { min-height: 210px; grid-template-columns: 1fr 1fr; gap: 25px; padding-block: 34px; }
  .footer-nav { justify-content: flex-end; gap: 18px; }
  .footer-nav a { font-size: 8px; }
  .footer-inner > p { grid-column: 1 / -1; text-align: left; }
  .page-hero-grid { min-height: 440px; align-content: center; padding-block: 115px 60px; }
  .page-hero .eyebrow { align-self: auto; margin: 0; }
  .page-content { padding-block: 78px 90px; }
  .intro-copy p { font-size: 21px; }
  .content-card { padding: 36px 27px 39px; }
  .content-card p { font-size: 14px; }
  .contact-content { min-height: 340px; }
  .contact-page .page-hero-grid { min-height: 380px; }
  .contact-page .page-hero h1 { font-size: 2.9rem; }
  .email-card a { font-size: 1.35rem; }
}

@media (max-width: 390px) {
  .primary-nav { gap: 10px; }
  .primary-nav .nav-contact { border: 0; padding-inline: 0; }
  .hero h1, .page-hero h1 { font-size: 2.85rem; }
}
