:root {
  --ink: #0b0b0c;
  --ink-2: #121214;
  --paper: #f3efe6;
  --muted: #9c9c9c;
  --teal: #159fa3;
  --yellow: #f3b61f;
  --coral: #f24843;
  --line: rgba(255, 255, 255, 0.1);
  --font-body: "Outfit", sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.hero__title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1,
.hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--teal);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 40rem;
  color: #ddd8ce;
}

.lede p:last-child {
  margin-bottom: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: visible;
  background: rgba(11, 11, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  text-decoration: none;
}

.logo {
  display: block;
  line-height: 0;
  overflow: visible;
}

.logo__wordmark {
  display: block;
  height: 40px;
  width: auto;
  aspect-ratio: 720 / 200;
  overflow: visible;
}

.logo__t {
  fill: #f3efe6;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav__list a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  margin-left: 0.6rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--teal);
  color: var(--ink);
}

.btn--primary:hover {
  background: #1bb4b8;
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  border-color: #fff;
}

.text-link {
  color: var(--teal);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 5rem 0 4.5rem;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.25) 0%, rgba(11, 11, 12, 0.88) 78%),
    var(--hero-image, linear-gradient(160deg, #123336 0%, #0b0b0c 42%, #2a1410 100%));
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--ink));
  z-index: -1;
}

.hero__inner {
  padding-bottom: 1rem;
}

.hero__title {
  max-width: 16ch;
}

.hero__highlight {
  color: var(--teal);
  display: inline-block;
}

.hero__sub {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 34rem;
  color: #e6e1d8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-hero {
  padding: 4.5rem 0 1.5rem;
}

.page-hero .eyebrow a {
  color: var(--teal);
  text-decoration: none;
}

.study-outcome {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Bands */

.band {
  padding: 4.5rem 0;
}

.band--tint {
  background: var(--ink-2);
}

.pricing-group__head {
  margin-bottom: 1.75rem;
}

.pricing-group__head .lede {
  margin-top: 0.35rem;
}

.band--cta {
  padding-top: 4.5rem;
}

.band__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-panel {
  border: 1px solid var(--line);
  padding: 2.5rem;
  background: linear-gradient(135deg, #122 0%, var(--ink-2) 60%);
}

.cta-panel h2 {
  max-width: 16ch;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service-grid--page {
  margin-top: 0;
}

.service-card {
  padding: 1.4rem 1.2rem 1.6rem;
  border-top: 3px solid var(--teal);
  background: #161618;
}

.service-card--yellow {
  border-top-color: var(--yellow);
}

.service-card--coral {
  border-top-color: var(--coral);
}

.service-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.1rem;
  color: var(--teal);
}

.service-card--yellow .service-card__icon,
.service-card--yellow .service-card__title {
  color: var(--yellow);
}

.service-card--coral .service-card__icon,
.service-card--coral .service-card__title {
  color: var(--coral);
}

.service-card--teal .service-card__title {
  color: var(--teal);
}

.service-card__summary {
  color: #cfcbc3;
  font-size: 0.98rem;
  margin: 0;
}

/* Work */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-card {
  display: block;
  padding: 1.5rem;
  background: #161618;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 100%;
}

.work-card:hover {
  border-color: var(--teal);
}

.work-card__meta {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.work-card p {
  color: #cfcbc3;
}

.work-card__url {
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.work-card__outcome {
  color: var(--yellow) !important;
  font-weight: 600;
  margin-bottom: 0;
}

.study-hero-image {
  margin: 0 auto 2rem;
}

.study-hero-image img,
.study-figure img {
  width: 100%;
}

.study-body {
  padding-bottom: 3rem;
  max-width: 720px;
}

.study-section {
  margin-bottom: 2rem;
}

.study-quote {
  margin: 2rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--teal);
  font-size: 1.25rem;
  color: #eeeae2;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  padding: 1.6rem;
  background: #161618;
  border-top: 3px solid var(--teal);
}

.price-card--yellow {
  border-top-color: var(--yellow);
}

.price-card--coral {
  border-top-color: var(--coral);
}

.price-card__name {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.price-card--yellow .price-card__name {
  color: var(--yellow);
}

.price-card--coral .price-card__name {
  color: var(--coral);
}

.price-card__price {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.price-card__features {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.price-card__features li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: #d5d1c8;
}

.footnote {
  margin-top: 2.5rem;
  color: var(--muted);
  max-width: 42rem;
}

/* Enquire */

.enquire__progress {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.enquire__progress li.is-active {
  color: var(--teal);
}

.enquire__step {
  border: 0;
  margin: 0 0 2rem;
  padding: 0;
}

.enquire--stepped .enquire__step {
  display: none;
}

.enquire--stepped .enquire__step.is-active {
  display: block;
}

.enquire__step legend,
.field-label,
.field label {
  display: block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.field-label {
  margin-top: 1.5rem;
}

.choice-grid {
  display: grid;
  gap: 0.6rem;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  background: #161618;
  border: 1px solid var(--line);
  cursor: pointer;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  border-color: var(--teal);
}

.choice-card input {
  accent-color: var(--teal);
}

.field {
  margin-bottom: 1rem;
}

.field .optional {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}

.field input,
.field textarea,
.search-form input {
  width: 100%;
  background: #161618;
  color: var(--paper);
  border: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.field input:focus,
.field textarea:focus,
.search-form input:focus,
.choice-card:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.errorlist {
  color: var(--coral);
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.enquire__nav {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.search-list {
  list-style: none;
  padding: 0;
}

.search-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.search-list a {
  color: var(--teal);
  font-weight: 600;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.site-footer .logo__wordmark {
  height: 48px;
}

.lockup-tagline {
  margin: 1rem 0 0.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #bdb9b1;
}

.dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  margin: 0 0.35rem;
  vertical-align: middle;
}

.dot--teal {
  background: var(--teal);
}

.dot--yellow {
  background: var(--yellow);
}

.swoosh {
  width: 180px;
  display: block;
  margin: 0.2rem 0 0.4rem;
}

.lockup-place {
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0;
}

.site-footer__email {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
}

.site-footer__email a {
  color: var(--paper);
  text-decoration: none;
}

.who-for {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 0;
  margin: 2rem 0 0;
}

.who-for h3 {
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.who-for p {
  color: #cfcbc3;
  margin: 0;
}

.faq {
  margin: 1.5rem 0 0;
}

.faq > div {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.faq dt {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.faq dd {
  margin: 0;
  color: #cfcbc3;
}

.site-footer__nav {
  display: flex;
  gap: 1.2rem;
}

.site-footer__nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__nav a:hover {
  color: var(--teal);
}

@media (max-width: 900px) {
  .service-grid,
  .work-grid,
  .pricing-grid,
  .who-for {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0f0f11;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav__list {
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .service-grid,
  .work-grid,
  .pricing-grid,
  .who-for,
  .site-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: 80vh;
    align-items: center;
    padding-top: 3rem;
  }

  .cta-panel {
    padding: 1.5rem;
  }
}
