:root {
  --bg: #f7f8f6;
  --paper: #ffffff;
  --soft: #eef1ec;
  --ink: #17211f;
  --text: #34403d;
  --muted: #6e7773;
  --faint: #9aa19d;
  --line: #d9dfda;
  --hairline: #e8ece8;
  --accent: #2563eb;
  --accent-2: #10a37f;
  --warm: #c58b45;
  --dark: #101c19;
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 18px 60px rgba(22, 33, 31, 0.08);
  --shadow-hover: 0 22px 70px rgba(37, 99, 235, 0.14);
  --max: 1400px;
  --narrow: 1088px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-top: 176px;
  background: linear-gradient(180deg, #fbfcfb 0%, var(--bg) 48%, #f3f6f1 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0;
}

@media (min-width: 821px) {
  :root {
    --bg: #f8f5ef;
    --soft: #f0eee7;
    --ink: #18231f;
    --text: #3f4741;
    --muted: #74746b;
    --faint: #9e9a8f;
    --line: #e1d9ca;
    --hairline: #eee8dc;
    --accent: #2368d1;
    --accent-2: #1f9a7a;
    --warm: #d49a4a;
    --dark: #10211d;
    --glass: rgba(255, 252, 247, 0.8);
    --shadow: 0 18px 60px rgba(41, 35, 25, 0.08);
    --shadow-hover: 0 22px 70px rgba(31, 122, 103, 0.14);
  }

  body {
    background: linear-gradient(180deg, #fffdf8 0%, var(--bg) 48%, #f4efe5 100%);
  }
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

main > section {
  scroll-margin-top: 0;
}

.site-header,
.hero,
.asset-strip,
.section,
.method-section,
.fit-section,
.creator-section,
.about-section,
.resource-section,
.contact {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(420px, 1fr) minmax(180px, 0.72fr);
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 96px));
  min-height: 136px;
  margin: 0;
  padding: 24px 28px 22px;
  border: 1px solid rgba(225, 217, 202, 0.82);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: 0 18px 54px rgba(41, 35, 25, 0.08);
  transform: translateX(-50%);
  transition: top 260ms cubic-bezier(0.22, 1, 0.36, 1), min-height 260ms cubic-bezier(0.22, 1, 0.36, 1), padding 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background 220ms ease;
  backdrop-filter: blur(14px);
}

.site-header.is-compact {
  top: 0;
  min-height: 76px;
  padding: 10px 22px;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 252, 247, 0.9);
  box-shadow: 0 14px 44px rgba(41, 35, 25, 0.1);
}

.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: start;
  padding: 8px;
  border: 1px solid rgba(225, 217, 202, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

.social-links a,
.search-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible,
.search-link:hover,
.search-link:focus-visible {
  background: rgba(35, 104, 209, 0.1);
  color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.brand-block {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  transition: gap 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact .brand-block {
  gap: 6px;
}

.brand {
  display: grid;
  justify-items: center;
  min-width: 0;
  color: var(--ink);
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 13px;
  min-width: 0;
}

.brand strong {
  font-size: 36px;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  transition: font-size 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-mark em {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 13px;
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-4px);
  transition: font-size 240ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease;
}

.brand-mark em::before {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.brand-tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact .brand strong {
  font-size: 26px;
}

.site-header.is-compact .brand-mark em {
  font-size: 11px;
  transform: translateY(-3px);
}

.site-header.is-compact .brand-tagline {
  margin-top: 6px;
  opacity: 0.78;
  font-size: 10px;
  transform: translateY(-1px);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
  transition: gap 240ms cubic-bezier(0.22, 1, 0.36, 1), font-size 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a {
  padding: 6px 0;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.search-link {
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(225, 217, 202, 0.76);
  background: rgba(255, 255, 255, 0.56);
  font-size: 30px;
}

.site-header.is-compact .social-links {
  padding: 5px;
}

.site-header.is-compact .social-links a {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.site-header.is-compact .site-nav {
  gap: 18px;
  font-size: 15px;
}

.site-header.is-compact .search-link {
  width: 38px;
  height: 38px;
  font-size: 26px;
}

.mobile-menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.46fr) minmax(560px, 0.54fr);
  gap: 64px;
  align-items: center;
  min-height: 760px;
  padding: 36px 0 74px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
}

.intro {
  max-width: 610px;
  margin-top: 32px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(16, 28, 25, 0.86);
  background: linear-gradient(135deg, var(--dark), #203c35);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(16, 28, 25, 0.16);
  font-size: 17px;
  font-weight: 780;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button.light {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: none;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(320px, 1.14fr);
  grid-template-rows: 260px 220px 170px;
  gap: 28px;
}

.hero-media > * {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(217, 223, 218, 0.88);
  background: var(--soft);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-card {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 4;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-carousel-fade 15s ease-in-out infinite;
}

.hero-carousel-slide:nth-of-type(1) {
  opacity: 1;
  animation-delay: var(--hero-carousel-offset, 0s);
}

.hero-carousel-slide:nth-of-type(2) {
  animation-delay: calc(var(--hero-carousel-offset, 0s) + 5s);
}

.hero-carousel-slide:nth-of-type(3) {
  animation-delay: calc(var(--hero-carousel-offset, 0s) + 10s);
}

@keyframes hero-carousel-fade {
  0%,
  30% {
    opacity: 1;
  }

  36%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(16, 28, 25, 0.7));
}

.portrait-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 30px;
  color: #fff;
}

.portrait-card span,
.now-card span,
.metric-card span,
.asset-strip span,
.problem-grid span,
.service-list span,
.work-card span,
.article-list span,
.method-steps span,
.about-list span,
.resource-grid span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.portrait-card span {
  color: rgba(255, 255, 255, 0.78);
}

.portrait-card strong {
  display: block;
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.08;
}

.portrait-card em {
  display: block;
  max-width: 380px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.55;
}

.now-card,
.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.now-card {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), #eef4f1);
}

.now-card strong {
  margin-top: 34px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
}

.mini-photo {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  --hero-carousel-offset: 2.5s;
}

.metric-card {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-start;
  min-width: 0;
  padding: 24px;
  background: linear-gradient(145deg, var(--dark), #14342d);
  color: #fff;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.68);
}

.metric-card strong {
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.16;
}

.metric-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.48;
}

.asset-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 10px 0 86px;
}

.asset-strip a {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 31, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.asset-strip a::before,
.asset-strip a::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.asset-strip a::before {
  background-image: var(--capability-image);
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  transform: scale(1);
  transition: opacity 280ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.asset-strip a::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 46%, rgba(16, 28, 25, 0.26) 100%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 163, 127, 0.08));
}

.asset-strip a > * {
  position: relative;
  z-index: 1;
}

.capability-tech {
  --capability-image: url("static/images/capability-tech.png");
}

.capability-store {
  --capability-image: url("static/images/capability-store.png");
}

.capability-content {
  --capability-image: url("static/images/capability-content.png");
}

.capability-ai {
  --capability-image: url("static/images/capability-ai.png");
}

.asset-strip a:hover,
.asset-strip a:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.asset-strip a:hover::before,
.asset-strip a:focus-visible::before {
  opacity: 0.42;
  transform: scale(1.06);
}

.asset-strip strong {
  display: block;
  margin-top: 54px;
  font-size: 22px;
  line-height: 1.35;
}

.section,
.method-section,
.fit-section,
.about-section,
.resource-section {
  padding: 92px 0;
}

.section-head {
  max-width: var(--narrow);
  margin: 0 auto 54px;
  text-align: center;
}

.section-kicker,
.method-copy,
.resource-section > div:first-child {
  max-width: 560px;
}

.section-kicker {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.section-kicker h2,
.section-head h2,
.method-copy h2,
.fit-card h2,
.about-copy h2,
.resource-section h2,
.contact h2 {
  color: var(--ink);
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.method-copy p,
.about-copy > p,
.contact-copy p:not(.eyebrow) {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.9;
}

.methodology-note {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 28px;
  width: min(100%, 500px);
  margin-top: auto;
  padding: 24px 0 2px;
  border-top: 1px solid var(--line);
}

.methodology-note::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 76px;
  height: 2px;
  background: var(--warm);
  content: "";
}

.methodology-note span {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.methodology-note strong {
  display: block;
  color: var(--ink);
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 930;
  line-height: 1.2;
}

.split-section,
.method-section,
.resource-section {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 64px;
  align-items: start;
}

#problems.split-section {
  align-items: stretch;
}

.problem-grid,
.service-list,
.method-steps,
.resource-grid {
  display: grid;
  gap: 28px;
}

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

.problem-grid article,
.service-list article,
.method-steps article,
.resource-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(23, 33, 31, 0.045);
}

.problem-grid article {
  min-height: 286px;
  padding: 30px;
}

.problem-grid h3 {
  margin-top: 58px;
  font-size: 27px;
  font-weight: 930;
  line-height: 1.22;
}

.problem-grid p,
.service-list p,
.method-steps p,
.resource-grid p {
  margin-top: 16px;
  color: var(--muted);
}

.feature-case {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 0.52fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.feature-case figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.feature-case img,
.case-copy {
  min-height: 620px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-copy h3 {
  max-width: 660px;
  font-size: clamp(34px, 3.7vw, 56px);
  font-weight: 950;
  line-height: 1.1;
}

.case-copy p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.9;
}

.case-matrix {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.case-matrix div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.case-matrix span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 850;
}

.case-matrix strong {
  font-size: 16px;
  font-weight: 720;
  line-height: 1.55;
}

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

.work-card,
.work-card.wide {
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(23, 33, 31, 0.05);
}

.work-card.wide {
  grid-column: auto;
}

.work-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
}

.work-card div {
  padding: 28px;
}

.work-card h3 {
  margin-top: 18px;
  font-size: 26px;
  font-weight: 930;
  line-height: 1.25;
}

.work-card p {
  margin-top: 18px;
  color: var(--text);
}

.service-section .section-head {
  margin-bottom: 38px;
}

.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-list article {
  min-height: 440px;
  padding: 30px;
}

.service-list h3 {
  margin-top: 72px;
  font-size: 27px;
  font-weight: 930;
  line-height: 1.18;
}

.service-list ul,
.fit-card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.service-list li,
.fit-card li {
  padding-top: 11px;
  border-top: 1px solid var(--hairline);
}

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

.method-steps article {
  min-height: 222px;
  padding: 28px;
}

.method-steps article:last-child {
  grid-column: 1 / 3;
  min-height: 196px;
  border-color: rgba(16, 28, 25, 0.9);
  background: linear-gradient(145deg, var(--dark), #14342d);
  color: #fff;
}

.method-steps article:last-child span {
  color: rgba(255, 255, 255, 0.68);
}

.method-steps article:last-child p {
  color: rgba(255, 255, 255, 0.72);
}

.method-steps strong {
  display: block;
  margin-top: 54px;
  font-size: 25px;
  font-weight: 930;
  line-height: 1.25;
}

.fit-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.fit-card {
  padding: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(23, 33, 31, 0.05);
}

.fit-card.muted-card {
  background: linear-gradient(145deg, #f4f7f3, #eef3ef);
}

.fit-card h2 {
  font-size: clamp(32px, 3vw, 46px);
}

.creator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.49fr) minmax(0, 0.51fr);
  gap: 28px;
  align-items: stretch;
  padding: 92px 0;
}

.creator-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.creator-photo-main {
  min-height: 620px;
}

.creator-copy {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 92px;
  align-content: stretch;
}

.creator-copy > div {
  padding: 4px 0 0;
}

.creator-copy h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: 0;
}

.creator-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 22px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.95;
}

.creator-photo-wide {
  min-height: 300px;
}

.writing-section {
  display: block;
  padding-top: 72px;
}

.writing-section .section-head {
  max-width: 900px;
  margin-bottom: 48px;
  text-align: center;
}

.writing-section .section-head .eyebrow,
.writing-section .section-head p:not(.eyebrow) {
  display: none;
}

.writing-section .section-head h2 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.12;
}

.article-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 14px;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto 58px;
}

.article-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 780;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.article-filter button.active,
.article-filter button:hover,
.article-filter button:focus-visible {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  outline: none;
}

.article-filter button:hover,
.article-filter button:focus-visible {
  transform: translateY(-1px);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 518px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(23, 33, 31, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card[hidden] {
  display: none;
}

.article-card:hover,
.article-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.article-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
}

.article-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 28px 32px;
}

.article-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}

.article-card h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(22px, 1.9vw, 27px);
  font-weight: 930;
  line-height: 1.24;
}

.article-card p {
  margin-top: 18px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.72;
}

.about-section {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 28px;
}

.about-photo {
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-copy {
  padding: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-list {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.about-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about-list strong {
  font-size: 16px;
  line-height: 1.6;
}

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

.resource-grid article {
  min-height: 260px;
  padding: 28px;
}

.resource-grid strong {
  display: block;
  margin-top: 58px;
  font-size: 24px;
  font-weight: 930;
  line-height: 1.25;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 0;
  align-items: stretch;
  margin-top: 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 62px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 780px;
  margin-left: 0;
  color: var(--text);
}

.contact .eyebrow {
  color: #6f7b80;
}

.contact h2 {
  max-width: 860px;
  color: var(--ink);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.contact-primary,
.contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 850;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.contact-primary {
  border-color: rgba(16, 28, 25, 0.88);
  background: linear-gradient(135deg, var(--dark), #14342d);
  color: #fff;
}

.contact-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.contact-primary:hover,
.contact-primary:focus-visible,
.contact-secondary:hover,
.contact-secondary:focus-visible {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.14), transparent 42%),
    linear-gradient(145deg, var(--dark), #14342d);
  color: #fff;
}

.contact-panel-head span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.contact-panel-head strong {
  display: block;
  max-width: 280px;
  margin-top: 12px;
  font-size: 28px;
  font-weight: 930;
  line-height: 1.12;
}

.qr-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin: 42px 0 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.72;
}

.footer {
  width: 100%;
  margin-top: 0;
  padding: 44px 48px 42px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.12), transparent 46%),
    var(--dark);
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.footer strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.footer span {
  display: block;
  margin-top: 6px;
}

.footer p {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .asset-strip,
  .section,
  .method-section,
  .fit-section,
  .creator-section,
  .about-section,
  .resource-section,
  .contact {
    width: min(var(--max), calc(100% - 48px));
  }

  .site-header {
    grid-template-columns: minmax(116px, 0.58fr) minmax(300px, 1fr) minmax(116px, 0.58fr);
    gap: 16px;
    width: min(var(--max), calc(100% - 48px));
    padding-right: 20px;
    padding-left: 20px;
  }

  .social-links {
    gap: 6px;
    padding: 6px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .brand strong {
    font-size: 32px;
  }

  .site-nav {
    gap: 18px;
    font-size: 16px;
  }

  .site-header.is-compact .brand-block {
    gap: 6px;
  }

  .site-header.is-compact .site-nav {
    gap: 14px;
    font-size: 14px;
  }

  .hero,
  .split-section,
  .method-section,
  .creator-section,
  .resource-section,
  .about-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    min-height: 0;
  }

  .methodology-note {
    margin-top: 34px;
  }

  .hero {
    min-height: 0;
    gap: 42px;
  }

  .contact-copy,
  .contact-panel {
    min-height: 0;
    padding: 48px;
  }

  .qr-frame {
    max-width: 360px;
  }

  .service-list,
  .asset-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  @keyframes mobile-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  html {
    scroll-padding-top: 92px;
  }

  body {
    padding-top: 86px;
  }

  main > section {
    scroll-margin-top: 0;
  }

  .site-header {
    top: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 10px 12px;
    border: 1px solid rgba(217, 223, 218, 0.82);
    border-radius: 999px;
    box-shadow: 0 14px 42px rgba(16, 28, 25, 0.12);
  }

  .social-links,
  .search-link {
    display: none;
  }

  .brand-block {
    display: block;
    min-width: 0;
  }

  .brand {
    justify-items: start;
    min-width: 0;
  }

  .brand strong {
    font-size: 30px;
    line-height: 1;
  }

  .brand-mark {
    justify-content: flex-start;
    gap: 10px;
  }

  .brand-mark em {
    padding-left: 10px;
    font-size: 11px;
    transform: translateY(-3px);
  }

  .brand-tagline {
    max-width: min(58vw, 360px);
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(217, 223, 218, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(16, 28, 25, 0.16);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 240ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 240ms ease;
    visibility: hidden;
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    background: rgba(247, 248, 246, 0.82);
    color: var(--ink);
    transition: background 200ms ease, color 200ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 163, 127, 0.12));
    color: var(--accent);
    transform: translateX(2px);
  }

  .mobile-menu-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(217, 223, 218, 0.94);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 26px rgba(16, 28, 25, 0.1);
    cursor: pointer;
    transition: background 200ms ease, transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 200ms ease;
  }

  .mobile-menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .mobile-menu-toggle span:last-child {
    transform: translateY(4px);
  }

  .site-header.nav-open .mobile-menu-toggle {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: scale(0.98);
  }

  .site-header.nav-open .mobile-menu-toggle span {
    background: #fff;
  }

  .site-header.nav-open .mobile-menu-toggle span:first-child {
    transform: rotate(45deg);
  }

  .site-header.nav-open .mobile-menu-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .hero-copy,
  .hero-media > *,
  .asset-strip a {
    animation: mobile-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-media > *:nth-child(2),
  .asset-strip a:nth-child(2) {
    animation-delay: 60ms;
  }

  .hero-media > *:nth-child(3),
  .asset-strip a:nth-child(3) {
    animation-delay: 110ms;
  }

  .hero-media > *:nth-child(4),
  .asset-strip a:nth-child(4) {
    animation-delay: 160ms;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 280px 220px;
  }

  .portrait-card {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .now-card {
    grid-column: 1 / 3;
  }

  .mini-photo {
    grid-column: 1;
    grid-row: 3;
  }

  .metric-card {
    grid-column: 2;
    grid-row: 3;
  }

  .feature-case,
  .problem-grid,
  .service-list,
  .method-steps,
  .fit-section,
  .creator-section,
  .work-grid,
  .resource-grid,
  .article-grid,
  .asset-strip {
    grid-template-columns: 1fr;
  }

  .writing-section {
    padding-top: 56px;
  }

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

  .method-steps article:last-child {
    grid-column: auto;
  }

  .feature-case img,
  .case-copy,
  .creator-photo-main,
  .about-photo {
    min-height: 0;
  }

  .feature-case figure,
  .creator-photo-main,
  .about-photo {
    aspect-ratio: 16 / 10;
  }

  .creator-copy {
    gap: 28px;
  }

  .creator-photo-wide {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .case-matrix div,
  .about-list div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header,
  .hero,
  .asset-strip,
  .section,
  .method-section,
  .fit-section,
  .creator-section,
  .about-section,
  .resource-section,
  .contact {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand strong {
    font-size: 28px;
  }

  .brand-mark em {
    font-size: 10px;
  }

  .brand-tagline {
    font-size: 10px;
  }

  h1 {
    font-size: 38px;
  }

  .methodology-note {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: none;
    padding-left: 16px;
  }

  .methodology-note::before {
    left: 16px;
    width: 58px;
  }

  .methodology-note strong {
    font-size: 24px;
  }

  .intro,
  .section-head p:not(.eyebrow),
  .method-copy p,
  .case-copy p:not(.eyebrow),
  .about-copy > p,
  .contact-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero {
    padding-top: 24px;
  }

  .article-filter {
    justify-content: flex-start;
    margin-bottom: 34px;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .article-filter button {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-snap-align: start;
  }

  .writing-section .section-head {
    margin-bottom: 34px;
  }

  .writing-section .section-head h2 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-media > * {
    grid-column: auto;
    grid-row: auto;
  }

  .portrait-card {
    min-height: 430px;
  }

  .mini-photo {
    aspect-ratio: 16 / 10;
  }

  .section,
  .method-section,
  .fit-section,
  .creator-section,
  .about-section,
  .resource-section {
    padding: 62px 0;
  }

  .case-copy,
  .service-list article,
  .work-card div,
  .article-card div,
  .problem-grid article,
  .method-steps article,
  .fit-card,
  .about-copy,
  .resource-grid article,
  .asset-strip a {
    padding: 22px;
  }

  .contact-copy,
  .contact-panel {
    padding: 26px;
  }

  .contact-actions {
    display: grid;
  }

  .contact-primary,
  .contact-secondary {
    width: 100%;
  }

  .qr-frame {
    max-width: none;
    margin: 30px 0 22px;
  }

  .footer {
    padding: 38px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .social-links a,
  .search-link,
  .site-header,
  .brand-block,
  .brand strong,
  .brand-mark em,
  .brand-tagline,
  .site-nav a,
  .site-nav,
  .mobile-menu-toggle,
  .mobile-menu-toggle span,
  .button,
  .nav-cta,
  .contact-primary,
  .contact-secondary,
  .asset-strip a {
    transition: none;
  }

  .hero-copy,
  .hero-media > *,
  .hero-carousel-slide,
  .asset-strip a {
    animation: none;
  }

  .asset-strip a::before {
    transition: none;
  }
}
