:root {
  --ink: #111615;
  --ink-soft: #2e3835;
  --muted: #64726d;
  --paper: #f7f8f4;
  --paper-strong: #ffffff;
  --line: #d9ddd5;
  --teal: #0d766e;
  --teal-dark: #084c48;
  --coral: #c9573b;
  --ochre: #b78422;
  --shadow: 0 24px 70px rgba(17, 22, 21, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(13, 118, 110, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(13, 118, 110, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(116deg, transparent 0 54%, rgba(183, 132, 34, 0.045) 54% 55%, transparent 55% 100%),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 48px;
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 15px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(10, 18, 17, 0.28);
  backdrop-filter: blur(16px);
}

.nav-links a {
  min-width: 72px;
  padding: 9px 13px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 680;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  background: #111615;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.92) 0%, rgba(7, 16, 15, 0.75) 38%, rgba(7, 16, 15, 0.26) 72%, rgba(7, 16, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 16, 15, 0.42) 0%, rgba(7, 16, 15, 0) 42%, rgba(7, 16, 15, 0.48) 100%);
  pointer-events: none;
}

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

.hero-picture {
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(100%, 760px);
  padding: 142px 48px 68px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6b38e;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
}

.name-part {
  display: inline;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
  line-height: 1.38;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(201, 87, 59, 0.26);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.14);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 740px;
  margin-top: 38px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 680;
  backdrop-filter: blur(12px);
}

.credibility-band {
  background: var(--ink);
  color: #ffffff;
}

.band-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

.band-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.section {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading h2,
.split-heading h2,
.product-copy h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1.04;
  font-weight: 810;
  letter-spacing: 0;
}

.section-heading p,
.split-heading p,
.product-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
}

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

.intro::before,
.skills-section::before,
.product-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.intro::before {
  top: 70px;
  right: -160px;
  width: 520px;
  height: 310px;
  opacity: 0.2;
  background:
    url("data:image/svg+xml,%3Csvg width='520' height='310' viewBox='0 0 520 310' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230d766e' stroke-width='2'%3E%3Cpath d='M30 54h120l46 42h96l56 64h126'/%3E%3Cpath d='M86 232h86l42-44h118l42-42h88'/%3E%3Cpath d='M156 96v92M292 96v92M374 160v-72h100'/%3E%3C/g%3E%3Cg fill='%23b78422'%3E%3Crect x='22' y='46' width='16' height='16' rx='3'/%3E%3Crect x='148' y='88' width='16' height='16' rx='3'/%3E%3Crect x='284' y='88' width='16' height='16' rx='3'/%3E%3Crect x='366' y='152' width='16' height='16' rx='3'/%3E%3Crect x='466' y='80' width='16' height='16' rx='3'/%3E%3Crect x='462' y='224' width='16' height='16' rx='3'/%3E%3C/g%3E%3C/svg%3E")
    center / contain no-repeat;
}

.service-card {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 46px rgba(17, 22, 21, 0.06);
}

.service-index {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 820;
}

.service-card h3,
.work-detail h3,
.skill-panel h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-card p,
.work-detail p,
.skill-panel li,
.credentials p {
  color: var(--muted);
  font-size: 15px;
}

.work-section {
  border-top: 1px solid var(--line);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 56px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.work-meta {
  display: grid;
  gap: 6px;
  align-content: start;
}

.work-meta span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 820;
}

.work-meta strong {
  color: var(--ink-soft);
  font-size: 15px;
}

.work-detail p {
  max-width: 720px;
  margin-bottom: 0;
}

.skills-section {
  border-top: 1px solid var(--line);
}

.skills-section::before {
  left: -150px;
  bottom: 70px;
  width: 520px;
  height: 170px;
  border: 1px solid rgba(13, 118, 110, 0.11);
  background:
    repeating-linear-gradient(90deg, rgba(13, 118, 110, 0.1) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(180deg, rgba(13, 118, 110, 0.07) 0 1px, transparent 1px 34px);
  opacity: 0.45;
  transform: rotate(-2deg);
}

.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.skill-panel,
.credentials {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.skill-panel {
  padding: 28px;
}

.accent-panel {
  background: #eaf4ef;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.skill-tags li {
  padding: 9px 11px;
  border: 1px solid #cbd9d2;
  border-radius: 5px;
  background: #fbfcf8;
  color: var(--ink-soft);
  font-weight: 720;
}

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

.tool-columns ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.tool-columns li {
  position: relative;
  padding-left: 18px;
}

.tool-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal);
}

.credentials {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  box-shadow: none;
}

.credentials p {
  margin-bottom: 6px;
}

.credential-label {
  color: var(--coral) !important;
  font-size: 13px !important;
  font-weight: 820;
  text-transform: uppercase;
}

.product-section {
  border-top: 1px solid var(--line);
}

.product-section::before {
  top: 54px;
  right: -110px;
  width: 360px;
  height: 180px;
  background:
    linear-gradient(135deg, rgba(201, 87, 59, 0.08), transparent 44%),
    repeating-linear-gradient(0deg, rgba(17, 22, 21, 0.06) 0 1px, transparent 1px 22px);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  opacity: 0.75;
}

.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 40px;
  align-items: end;
}

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

.product-copy h2 {
  max-width: 720px;
}

.product-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.45;
}

.product-points li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 0.23em;
  border: 2px solid var(--teal);
  border-radius: 3px;
  background: var(--paper);
  box-sizing: border-box;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 40px;
  align-items: end;
  width: min(1120px, calc(100% - 48px));
  margin-bottom: 48px;
  padding: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  overflow: hidden;
}

.contact-section::before {
  inset: 0 0 0 auto;
  width: min(48%, 520px);
  opacity: 0.2;
  background:
    url("data:image/svg+xml,%3Csvg width='520' height='260' viewBox='0 0 520 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M40 68h110l44 42h76l54 58h156'/%3E%3Cpath d='M78 188h90l34-36h112l40-42h98'/%3E%3Cpath d='M150 68v84M270 110v78M354 168V88h92'/%3E%3C/g%3E%3Cg fill='%23f6b38e'%3E%3Crect x='32' y='60' width='15' height='15' rx='3'/%3E%3Crect x='142' y='60' width='15' height='15' rx='3'/%3E%3Crect x='262' y='102' width='15' height='15' rx='3'/%3E%3Crect x='346' y='160' width='15' height='15' rx='3'/%3E%3Crect x='438' y='80' width='15' height='15' rx='3'/%3E%3Crect x='472' y='160' width='15' height='15' rx='3'/%3E%3C/g%3E%3C/svg%3E")
    center right / contain no-repeat;
}

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

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .section-kicker {
  color: #f6b38e;
}

@media (max-width: 980px) {
  .site-header {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 132px 24px 56px;
  }

  h1 {
    font-size: 56px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .service-grid,
  .split-heading,
  .skills-layout,
  .product-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 12px;
  }

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

  .service-index {
    margin-bottom: 28px;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-panel,
  .contact-section {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 16px;
  }

  .brand {
    font-size: 14px;
  }

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

  .hero {
    min-height: 88svh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 15, 0.9) 0%, rgba(7, 16, 15, 0.77) 62%, rgba(7, 16, 15, 0.4) 100%),
      linear-gradient(180deg, rgba(7, 16, 15, 0.34) 0%, rgba(7, 16, 15, 0.04) 40%, rgba(7, 16, 15, 0.56) 100%);
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    width: min(100%, 390px);
    padding: 112px 18px 38px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 28px;
  }

  .hero-facts span {
    width: 100%;
  }

  .band-inner,
  .section,
  .contact-section {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2,
  .split-heading h2,
  .product-copy h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .section-heading p,
  .split-heading p,
  .product-copy p,
  .contact-copy p {
    font-size: 16px;
  }

  .product-panel {
    gap: 24px;
  }

  .tool-columns,
  .credentials {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 28px 20px;
    margin-bottom: 24px;
  }

  .intro::before,
  .skills-section::before,
  .product-section::before,
  .contact-section::before {
    opacity: 0.12;
  }
}
