:root {
  --ink: #12110f;
  --muted: #5f5b53;
  --paper: #f5f1ea;
  --paper-strong: #fffaf2;
  --line: rgba(18, 17, 15, 0.14);
  --charcoal: #1c2421;
  --clay: #9b3f2f;
  --moss: #3f5f4b;
  --steel: #344553;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(18, 17, 15, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(245, 241, 234, 0.96);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.brand-name {
  font-size: 16px;
}

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

.site-nav a {
  opacity: 0.78;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=80");
}

.hero-about {
  background-image: url("https://images.unsplash.com/photo-1559136555-9303baea8ebd?auto=format&fit=crop&w=2200&q=80");
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.78), rgba(18, 17, 15, 0.42) 48%, rgba(18, 17, 15, 0.1)),
    linear-gradient(0deg, rgba(18, 17, 15, 0.72), rgba(18, 17, 15, 0.06) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 12vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: #e7c4b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

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

h1 {
  max-width: 870px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover {
  background: #813224;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section,
.logo-band,
.client-roster,
.cta-section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.logo-band {
  background: var(--charcoal);
  color: var(--white);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-kicker span {
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
}

.section-kicker p {
  margin: 0;
}

.client-roster {
  background: var(--paper-strong);
  padding: clamp(52px, 6vw, 78px) 0;
}

.client-roster-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.client-tile {
  display: grid;
  min-height: 128px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px 14px;
  background: #fbf7ef;
  text-align: center;
}

.client-tile img {
  width: min(150px, 88%);
  height: 58px;
  object-fit: contain;
}

.client-tile span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.client-logo {
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.1;
  text-align: center;
}

.client-logo svg {
  width: 34px;
  height: 34px;
  color: #d7a58f;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.client-logo span {
  display: block;
}

.split-intro,
.thesis-layout,
.thesis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.split-intro > p,
.thesis-layout p,
.enterprise-copy p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(42px, 6vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 320px;
  padding: 30px;
  background: var(--paper-strong);
}

.service-number {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.service-card p,
.method-steps p,
.principles-grid p,
.person-card p,
.bio-content p,
.experience-list {
  color: var(--muted);
}

.section-heading-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}

.section-heading-row .eyebrow {
  padding-top: 12px;
}

.method {
  background: #202a31;
  color: var(--white);
}

.method .split-intro > p {
  color: rgba(255, 255, 255, 0.68);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.method-steps article {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.method-steps span {
  display: inline-block;
  margin-bottom: 44px;
  color: #d7a58f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.method-steps h3 {
  color: var(--white);
}

.method-steps p {
  color: rgba(255, 255, 255, 0.66);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.person-card {
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center top;
}

.person-card img.portrait-kevin-yu {
  transform: scale(1.08) translateY(-22px);
  transform-origin: center top;
}

.person-card div {
  padding: 24px;
}

.role {
  margin-bottom: 16px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta-section {
  background: var(--ink);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: end;
}

.cta-inner h2 {
  max-width: 760px;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div {
  display: flex;
  gap: 20px;
}

.thesis,
.team {
  background: var(--paper-strong);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principles-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
}

.full-people-list {
  display: grid;
  gap: 26px;
  margin-top: 46px;
}

.bio-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.bio-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.bio-content {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 48px);
}

.bio-content h3 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.experience-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 980px) {
  .logo-grid,
  .client-roster-grid,
  .service-grid,
  .method-steps,
  .people-grid,
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-intro,
  .thesis-layout,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bio-card {
    grid-template-columns: 1fr;
  }

  .bio-card img {
    height: 420px;
    min-height: auto;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
  }

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

  .site-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .brand-name {
    font-size: 15px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 10vh;
  }

  h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .button {
    width: 100%;
  }

  .logo-grid,
  .client-roster-grid,
  .service-grid,
  .method-steps,
  .people-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

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

  .service-number {
    margin-bottom: 44px;
  }

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