@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --ink: #080b0d;
  --ink-soft: #11171b;
  --paper: #f8f7f2;
  --lime: #d2f8b2;
  --aqua: #89cfdb;
  --taupe: #6f634f;
  --line: rgba(137, 207, 219, 0.12);
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans-light: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Playfair Display", SpeziaSerif, Georgia, Cambria, Palatino, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans-light);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .65rem .9rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(137, 207, 219, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--ink-soft), var(--ink));
}

.wrapper {
  position: relative;
  z-index: 1;
  width: min(100% - 8rem, 116rem);
  margin-inline: auto;
}

.signal-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--line);
  opacity: .78;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,.92) 22%,
    rgba(0,0,0,.52) 48%,
    rgba(0,0,0,.22) 74%,
    rgba(0,0,0,.1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,.92) 22%,
    rgba(0,0,0,.52) 48%,
    rgba(0,0,0,.22) 74%,
    rgba(0,0,0,.1) 100%
  );
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.4rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wordmark { font-weight: 700; letter-spacing: -.04em; }
.wordmark span { margin-left: .22rem; color: var(--lime); }

nav { display: flex; gap: 1.7rem; }
nav a { color: rgba(248, 247, 242, .72); transition: color .2s ease; }
nav a:hover { color: var(--lime); }
.outbound { display: inline-block; margin-left: 0; color: var(--aqua); font-size: .95em; }

.hero {
  min-height: calc(100vh - 8.2rem);
  padding-top: clamp(5.5rem, 12vh, 10rem);
  padding-bottom: 7rem;
}

.eyebrow {
  margin: 0 0 2.2rem;
  color: var(--aqua);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 18.5rem);
  font-weight: 500;
  letter-spacing: -.085em;
  line-height: .76;
}

h1 span { display: block; margin-left: 0; }

.lime-rule {
  width: 10rem;
  height: .22rem;
  margin-top: clamp(4.5rem, 8vw, 7rem);
  background: var(--lime);
}

.intro {
  max-width: 43rem;
  margin: 4rem 0 0;
  color: rgba(248, 247, 242, .86);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.42;
  letter-spacing: -.02em;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 3.7rem;
  color: rgba(248, 247, 242, .62);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-row a { display: inline-flex; align-items: center; gap: .55rem; }
.contact-symbol {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ink);
  background: rgba(248, 247, 242, .72);
  font-size: .72rem;
  letter-spacing: 0;
  text-transform: none;
}
.dot { color: var(--taupe); }

.case-studies {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(7rem, 13vw, 13rem);
}

.section-heading {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(248, 247, 242, .14);
}

.case-studies-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .9rem;
}

.case-availability {
  color: var(--aqua);
  font-family: var(--sans);
  font-size: clamp(.78rem, 1.25vw, 1.05rem);
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1;
}

h2 {
  margin: 0;
  color: rgba(248, 247, 242, .92);
  font-family: var(--sans);
  font-size: clamp(2.8rem, 7vw, 7.3rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .9;
}

.case-list { border-bottom: 1px solid rgba(248, 247, 242, .14); }

.case-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(20rem, 1.05fr) minmax(18rem, .95fr) 2rem;
  align-items: start;
  gap: 1.5rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(248, 247, 242, .14);
}

.case-row:last-child { border-bottom: 0; }

.case-index {
  color: var(--aqua);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.case-row h3 {
  margin: 0;
  color: rgba(248, 247, 242, .94);
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .95;
}

.case-row h3 a { display: block; }
.case-row h3 a:hover { color: var(--lime); }

.case-row:first-child h3 a { color: var(--lime); }

.case-row p {
  max-width: 29rem;
  margin: 0;
  color: rgba(248, 247, 242, .64);
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.35;
}

.case-row::after {
  content: '→';
  color: rgba(248, 247, 242, .65);
  font-family: var(--sans);
  font-size: 1.7rem;
  justify-self: end;
  transition: color .2s ease, transform .2s ease;
}

.case-row:hover::after { color: var(--lime); transform: translateX(.25rem); }

@media (max-width: 760px) {
  .wrapper { width: min(100% - 3rem, 42rem); }
  .site-header { padding-top: 1.5rem; }
  .hero { min-height: calc(100vh - 5rem); padding-top: 5.5rem; }
  h1 { font-size: clamp(5.7rem, 24vw, 10rem); }
  .intro { max-width: 32rem; margin-top: 3.25rem; font-size: 1.18rem; }
  .lime-rule { margin-top: 4.4rem; }
  .case-row { grid-template-columns: 2.5rem minmax(0, 1fr) 1.5rem; gap: .2rem .7rem; padding: 1.65rem 0; }
  .case-row p { grid-column: 2 / 4; max-width: 31rem; margin-top: 0; }
  .case-row::after { grid-column: 3; grid-row: 1; }
  .case-row h3 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}

@media (max-width: 450px) {
  .wrapper { width: min(100% - 2.25rem, 30rem); }
  .site-header { font-size: .68rem; }
  nav { gap: .75rem; }
  nav a:first-child { display: none; }
  .hero { padding-top: 4.8rem; }
  .eyebrow { max-width: 18rem; line-height: 1.5; }
  h1 { font-size: clamp(4.9rem, 24vw, 7rem); }
  .intro { font-size: 1.1rem; }
  .contact-row { gap: .65rem; margin-top: 3rem; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
