:root {
  --surface: #f7f9fb;
  --surface-lowest: #ffffff;
  --surface-low: #f2f4f6;
  --surface-mid: #eceef0;
  --surface-high: #e0e3e5;
  --ink: #191c1e;
  --muted: #45464d;
  --line: rgba(81, 95, 116, 0.18);
  --line-strong: rgba(81, 95, 116, 0.28);
  --teal: #0d9488;
  --teal-dark: #005049;
  --color-cta: #08776f;
  --color-cta-hover: #005f58;
  --slate: #131b2e;
  --white: #ffffff;
  --max: 1280px;
  --gutter: 24px;
  --radius: 4px;
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: #89f5e7;
  color: #00201d;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  vertical-align: middle;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 249, 251, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link,
.language-link,
.footer-link,
.eyebrow,
.button,
label,
.tag,
.meta {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-link,
.language-link,
.footer-link {
  color: var(--muted);
  transition: color 160ms ease;
}

.nav-link:hover,
.language-link:hover,
.footer-link:hover {
  color: var(--teal);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
}

.language-link[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  color: var(--ink);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:active {
  transform: scale(0.99);
}

.button:focus-visible {
  outline: 3px solid rgba(8, 119, 111, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: var(--color-cta);
  border: 0;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(8, 119, 111, 0.22);
}

.button-primary:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 10px 24px rgba(8, 119, 111, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: var(--surface-lowest);
  border-color: var(--teal);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 112px var(--gutter) 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(247, 249, 251, 0.94) 0%, rgba(247, 249, 251, 0.72) 45%, rgba(247, 249, 251, 0.08) 100%),
    url("/assets/img/hero-workspace.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.78);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 var(--space-4);
  padding: 7px 9px;
  background: rgba(242, 244, 246, 0.68);
  color: #57657b;
  border: 1px solid rgba(81, 95, 116, 0.12);
  backdrop-filter: blur(8px);
}

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

h1,
h2,
h3,
h4 {
  font-family: "Hanken Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: var(--space-8);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
}

h1 span {
  color: #7c839b;
}

h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  margin-bottom: var(--space-2);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  max-width: 660px;
  margin-bottom: var(--space-8);
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.section {
  padding: var(--space-16) var(--gutter);
}

.section-band {
  background: var(--surface-low);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--surface-high);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-16);
  align-items: start;
}

.muted {
  color: var(--muted);
}

.section-heading {
  margin-bottom: var(--space-16);
}

.examples-heading {
  max-width: 860px;
}

.examples-intro {
  display: grid;
  gap: var(--space-2);
  max-width: 780px;
}

.examples-intro p {
  margin-bottom: 0;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.example-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: var(--space-8);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.example-card:hover {
  border-color: rgba(13, 148, 136, 0.7);
  box-shadow: 0 10px 24px rgba(19, 27, 46, 0.08);
  transform: translateY(-2px);
}

.example-icon {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--teal);
  font-size: 32px;
}

.example-card h3 {
  margin-bottom: var(--space-4);
  font-size: 22px;
}

.example-details {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.example-details div {
  display: grid;
  gap: var(--space-1);
}

.example-details dt {
  color: var(--teal-dark);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.example-details dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.examples-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding: var(--space-8);
  border: 1px solid var(--line);
  background: var(--surface-lowest);
}

.examples-cta h3 {
  max-width: 680px;
}

.examples-cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.steps-heading {
  margin-bottom: var(--space-4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-lowest);
  transition: border-color 160ms ease, background 160ms ease;
}

.card:hover {
  border-color: rgba(13, 148, 136, 0.7);
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: var(--space-8);
}

.service-card.large {
  grid-column: span 8;
}

.service-card.small {
  grid-column: span 4;
}

.service-card.medium {
  grid-column: span 5;
}

.service-card.wide {
  grid-column: span 7;
}

.service-card .material-symbols-outlined,
.feature-icon,
.contact-line .material-symbols-outlined {
  color: var(--teal);
}

.service-card .material-symbols-outlined {
  margin-bottom: var(--space-8);
  font-size: 44px;
}

.tag {
  display: block;
  margin-top: var(--space-8);
  color: var(--teal);
}

.edge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: var(--space-16);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-2);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.image-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-mid);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.16) opacity(0.62);
  transition: filter 500ms ease;
}

.image-panel:hover img {
  filter: grayscale(0) contrast(1) opacity(0.84);
}

.quote-card {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-8);
  left: var(--space-8);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.quote-card p {
  margin-bottom: 0;
  font-weight: 700;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.step {
  position: relative;
  padding-top: var(--space-8);
}

@media (min-width: 961px) {
  .step {
    padding-top: var(--space-12);
  }
}

.step-number {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--surface-high);
  font-family: "Hanken Grotesk", Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.fit-experience {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-16);
}

.fit-card {
  padding: var(--space-8);
  background: var(--surface-low);
}

.fit-list {
  display: grid;
  gap: 0;
  margin: var(--space-8) 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.fit-list li:last-child {
  border-bottom: 0;
}

.profile {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: var(--space-8);
  align-items: center;
}

.profile-image {
  width: 128px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-mid);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
}

.meta {
  margin-bottom: var(--space-4);
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: var(--space-16);
}

.contact-lines {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.form-card {
  padding: var(--space-8);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: var(--space-1);
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  border: 1px solid #c6c6cd;
  border-radius: var(--radius);
  background: var(--surface);
  padding: 11px 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.submit-button {
  width: 100%;
  margin-top: var(--space-4);
}

.site-footer {
  padding: var(--space-16) var(--gutter);
  background: var(--surface-low);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: var(--space-2);
}

.footer-brand p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: var(--space-8);
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: var(--space-16) var(--gutter);
}

.thanks-card {
  max-width: 680px;
  padding: var(--space-16);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-lowest);
}

@media (max-width: 980px) {
  :root {
    --gutter: 16px;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--space-4);
    background: rgba(247, 249, 251, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .nav-link,
  .language-switch,
  .nav-links .button {
    justify-content: flex-start;
    padding: var(--space-4);
    border-bottom: 1px solid var(--line);
  }

  .nav-links .button {
    margin-top: var(--space-2);
    border-bottom: 0;
    justify-content: center;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 84vh;
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(247, 249, 251, 0.96) 0%, rgba(247, 249, 251, 0.84) 58%, rgba(247, 249, 251, 0.35) 100%),
      url("/assets/img/hero-workspace-mobile.jpg");
  }

  .split,
  .edge-grid,
  .fit-experience,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

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

  .service-card.large,
  .service-card.small,
  .service-card.medium,
  .service-card.wide {
    grid-column: auto;
  }

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

  .steps::before {
    display: none;
  }
}

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

  .brand-logo {
    height: 28px;
  }

  .hero-actions,
  .cta-row,
  .examples-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .section-heading {
    margin-bottom: var(--space-8);
  }

  .service-card,
  .example-card,
  .fit-card,
  .form-card {
    padding: var(--space-4);
  }

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

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

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .quote-card {
    right: var(--space-4);
    bottom: var(--space-4);
    left: var(--space-4);
  }

  .steps,
  .profile,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .profile-image {
    width: 112px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-4);
  }
}
