:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #f6f6f6;
  --muted: #646464;
  --line: #d8d8d8;
  --panel: #ffffff;
  --coral: #e84d2a;
  --teal: #087f72;
  --charcoal: #181818;
  --radius: 6px;
  --max: 1180px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 18px 4vw;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(17, 17, 17, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 242px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78vh;
  padding: 150px 4vw 64px;
  color: #ffffff;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.88), rgba(12, 12, 12, 0.56), rgba(12, 12, 12, 0.24));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.button-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #ffffff;
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.button-outline {
  color: var(--ink);
  background: #ffffff;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: #ffffff;
}

.intro-item {
  min-height: 210px;
  padding: 34px 34px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-item span {
  display: block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.intro-item strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
}

.intro-item p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.resource-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.resource-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
}

.resource-inner a {
  min-height: 112px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.resource-inner a:first-child {
  border-left: 1px solid var(--line);
}

.resource-inner span {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-inner strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.35;
}

.section {
  width: min(var(--max), calc(100% - 8vw));
  margin: 0 auto;
  padding: 92px 0;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 64vh;
  padding: 150px 4vw 72px;
  color: #ffffff;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.62), rgba(12, 12, 12, 0.28));
}

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

.page-hero-content {
  position: relative;
  width: min(800px, 100%);
}

.page-hero h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

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

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.22;
}

.section-heading p:not(.eyebrow),
.contact-section p {
  margin: 18px 0 0;
  color: var(--muted);
}

.intro-columns,
.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 70px;
  align-items: start;
}

.founder-layout {
  align-items: center;
}

.intro-columns h2,
.founder-layout h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.22;
}

.lead-copy {
  color: #303030;
  font-size: 17px;
}

.lead-copy p {
  margin: 0;
}

.lead-copy p + p {
  margin-top: 20px;
}

.content-section,
.founder-section,
.timeline-section,
.team-section {
  border-top: 1px solid var(--line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.fact-grid article {
  min-height: 240px;
  padding: 30px;
  background: #ffffff;
}

.fact-grid span,
.timeline-list span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-grid h3,
.timeline-list h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.35;
}

.fact-grid p,
.timeline-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.founder-portrait {
  display: flex;
  justify-content: center;
}

.founder-portrait img {
  width: min(360px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: var(--image-focus, center center);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
}

.role-label {
  margin: 8px 0 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline-list article {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.team-member {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: var(--image-focus, center center);
  background: #e6e6e6;
}

.portrait-image {
  --image-focus: center center;
}

.portrait-james {
  --image-focus: center 44%;
}

.portrait-derek {
  --image-focus: 52% 45%;
}

.portrait-xavier {
  --image-focus: center 43%;
}

.portrait-nick {
  --image-focus: 56% 45%;
}

.portrait-samuel {
  --image-focus: center 46%;
}

.portrait-chris {
  --image-focus: 54% 45%;
}

.team-member div {
  min-height: 116px;
  padding: 18px;
}

.team-member h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.team-member p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-transform: uppercase;
}

.case-anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.case-anchor-grid a {
  min-height: 58px;
  padding: 16px 18px;
  background: #ffffff;
  color: #303030;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.case-anchor-grid a:hover,
.case-anchor-grid a:focus-visible {
  color: #ffffff;
  background: var(--teal);
}

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

.case-list {
  display: grid;
  gap: 22px;
}

.case-study {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.case-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: var(--image-focus, center center);
  background: #e4e4e4;
}

.case-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.case-body h3 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.18;
}

.case-role {
  margin: 12px 0 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-body p:not(.work-type):not(.case-role) {
  margin: 20px 0 0;
  color: var(--muted);
}

.text-link {
  align-self: flex-start;
  margin-top: 24px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

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

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.work-card.is-hidden {
  display: none;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: var(--image-focus, center center);
  background: #e4e4e4;
}

.work-card div {
  min-height: 174px;
  padding: 20px;
}

.work-card h3,
.service-list h3 {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.3;
}

.work-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.work-type {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-list article {
  min-height: 260px;
  padding: 34px;
  background: #ffffff;
}

.service-list span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-list p {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 70px;
  align-items: start;
}

.philosophy-copy {
  padding-top: 4px;
  font-size: 18px;
}

.philosophy-copy p {
  margin: 0;
  color: #303030;
}

.philosophy-copy p + p {
  margin-top: 22px;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 0;
  background: #111111;
}

.feature-strip img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: var(--image-focus, center center);
}

.section-clients {
  border-bottom: 1px solid var(--line);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.clients-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 24px;
  background: #ffffff;
}

.section-about {
  padding-top: 98px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: 70px;
  align-items: start;
}

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

.company-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 14px;
}

.company-list dd {
  margin: 0;
}

.company-list a {
  color: var(--teal);
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.team-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  padding: 86px 4vw 92px;
  color: #ffffff;
  background: var(--charcoal);
}

.contact-section > * {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-section .button {
  margin-top: 28px;
}

.contact-section > .button {
  width: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 4vw;
  color: rgba(255, 255, 255, 0.72);
  background: #0b0b0b;
  font-size: 13px;
}

.site-footer img {
  width: 210px;
}

.resume-modal {
  width: min(980px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

.resume-modal::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.resume-modal-inner {
  position: relative;
  max-height: calc(100dvh - 48px);
  overflow: auto;
}

.modal-close {
  position: sticky;
  top: 16px;
  z-index: 2;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 16px 16px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.resume-modal-header {
  padding: 42px 46px 28px;
  color: #ffffff;
  background: var(--charcoal);
}

.resume-modal-header h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
}

.resume-modal-header p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.resume-block {
  padding: 34px;
  background: #ffffff;
}

.resume-block-wide {
  grid-column: 1 / -1;
}

.resume-block h3 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.25;
}

.resume-timeline,
.resume-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.resume-timeline li,
.resume-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.resume-timeline span,
.resume-skill-groups span {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resume-timeline strong,
.resume-list strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.35;
}

.resume-list span {
  display: block;
}

.resume-timeline p,
.resume-list span,
.resume-skill-groups p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.resume-skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.resume-skill-groups div {
  padding: 22px;
  background: #ffffff;
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 34px 34px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .brand {
    width: 190px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(17, 17, 17, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .site-nav a {
    padding: 16px 4vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 74vh;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: 42px;
  }

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

  .intro-band,
  .resource-inner,
  .work-grid,
  .service-list,
  .philosophy-layout,
  .intro-columns,
  .founder-layout,
  .fact-grid,
  .timeline-list,
  .case-anchor-grid,
  .case-study,
  .about-layout,
  .resume-grid,
  .resume-skill-groups {
    grid-template-columns: 1fr;
  }

  .resume-modal-header h2 {
    font-size: 34px;
  }

  .intro-item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 70px 0;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip img {
    height: 260px;
  }

  .resource-inner a,
  .resource-inner a:first-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .page-hero h1 {
    font-size: 40px;
  }

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

  .case-media img {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .section-heading h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .page-hero {
    min-height: 58vh;
    padding-top: 126px;
  }

  .page-hero h1,
  .intro-columns h2,
  .founder-layout h2 {
    font-size: 32px;
  }

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

  .button {
    width: 100%;
  }

  .resume-modal {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }

  .resume-modal-inner {
    max-height: calc(100dvh - 24px);
  }

  .resume-modal-header,
  .resume-block {
    padding: 28px 22px;
  }

  .resume-actions {
    padding: 24px 22px 28px;
  }

  .contact-section > .button {
    width: 100%;
  }

  .work-card div,
  .service-list article,
  .fact-grid article,
  .timeline-list article,
  .intro-item {
    padding: 24px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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

  .clients-grid img {
    padding: 20px;
  }

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

  .case-body {
    padding: 24px;
  }

  .case-body h3 {
    font-size: 25px;
  }
}
