@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #171715;
  --paper: #f3f2ed;
  --red: #e43727;
  --muted: #686862;
  --line: #bdbdb5;
  --container: min(1440px, calc(100vw - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
.container { width: var(--container); margin-inline: auto; }
.site-shell { overflow: clip; }
.eyebrow, .intro-index, .proof-index, .case-card-top, .case-index, .back-link, .case-role strong { font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .015em; text-transform: uppercase; }
.eyebrow { margin: 0; }
.accent-period, .hero-period, .wordmark-dot { color: var(--red); }

/* Navigation is a compact index rather than a conventional portfolio masthead. */
.nav { min-height: 98px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--ink); }
.wordmark { display: inline-flex; width: max-content; align-items: flex-start; font-size: 37px; font-weight: 700; line-height: .8; letter-spacing: -.09em; }
.wordmark small { margin: 0 0 0 15px; font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 500; line-height: 1.23; letter-spacing: -.025em; }
.nav nav { display: flex; gap: clamp(20px, 3.2vw, 52px); }
.nav nav a, .nav-contact { font-size: 13px; font-weight: 600; transition: color .18s; }
.nav nav a:hover, .nav-contact:hover, .text-link:hover { color: var(--red); }
.nav nav span { margin-right: 5px; font-family: "IBM Plex Mono", monospace; font-size: 9px; color: var(--red); }
.nav-contact { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.nav-contact span { margin-left: 22px; font-size: 17px; }

/* Poster-like cover: the grid stays rational while the red glyph adds a wink. */
.hero { padding-top: 24px; }
.hero-topline { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.hero-topline .eyebrow:last-child { color: var(--muted); }
.hero-topline .eyebrow span { color: var(--red); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, .9fr); gap: 5%; align-items: end; padding: 45px 0 59px; }
.hero h1 { margin: 0; font-size: clamp(68px, 8.35vw, 148px); font-weight: 600; line-height: .87; letter-spacing: -.078em; }
.hero-last { display: inline-block; position: relative; padding-left: 10%; }
.hero-intro { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.hero-symbol { display: grid; width: clamp(132px, 15vw, 218px); aspect-ratio: 1; place-items: center; align-self: flex-end; margin: 5px 0 auto; border-radius: 50%; background: var(--red); color: var(--paper); transform: rotate(-8deg); }
.hero-symbol span { margin-top: -8%; font-size: clamp(110px, 13vw, 190px); font-weight: 400; line-height: 1; letter-spacing: -.1em; }
.intro-index { margin: 0 0 13px; color: var(--red); }
.hero-intro > p:not(.intro-index) { max-width: 300px; margin-bottom: 23px; font-size: 17px; line-height: 1.43; letter-spacing: -.018em; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 36px; padding: 10px 16px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; transition: background .18s, color .18s, transform .18s; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 21px; line-height: 1; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: transparent; }
.hero-rule { height: 2px; background: var(--ink); }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1px solid var(--ink); }
.proof-row > div { display: grid; grid-template-rows: auto 1fr auto; min-height: 160px; padding: 16px 20px 20px 0; border-right: 1px solid var(--ink); }
.proof-row > div:not(:first-child) { padding-left: 20px; }
.proof-row > div:last-child { border-right: 0; }
.proof-index { color: var(--red); }
.proof-row strong { align-self: end; margin-bottom: 5px; font-size: clamp(25px, 2.7vw, 40px); font-weight: 600; line-height: 1; letter-spacing: -.055em; }
.proof-row span:last-child { max-width: 205px; font-size: 12px; line-height: 1.3; }

.statement-section { margin-top: 105px; padding: 35px 0 115px; background: var(--ink); color: var(--paper); }
.statement-grid, .expertise-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 25px; }
.statement-section .eyebrow { color: var(--red); }
.statement-grid h2 { max-width: 1120px; margin: 61px 0 94px; font-size: clamp(42px, 5.55vw, 88px); font-weight: 500; line-height: 1.03; letter-spacing: -.055em; }
.statement-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; max-width: 790px; margin-left: auto; }
.statement-copy p { margin: 0; color: #c8c8c1; font-size: 15px; line-height: 1.6; }

.cases-section { padding-top: 116px; padding-bottom: 130px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.section-head h2 { margin: 16px 0 0; font-size: clamp(64px, 7vw, 108px); font-weight: 600; line-height: .9; letter-spacing: -.075em; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; transition: color .18s; }
.text-link span { margin-left: 26px; font-size: 18px; }
.featured-cases { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); grid-template-rows: repeat(2, minmax(270px, auto)); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.case-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 23px; transition: background .2s, color .2s; }
.case-card-1 { grid-row: span 2; min-height: 560px; background: var(--red); color: var(--paper); }
.case-card-2, .case-card-3 { border-left: 1px solid var(--ink); }
.case-card-2 { border-bottom: 1px solid var(--ink); }
.case-card-2:hover, .case-card-3:hover { background: var(--ink); color: var(--paper); }
.case-card-1:hover { background: #c9271c; }
.case-card-top { display: flex; justify-content: space-between; gap: 16px; }
.case-card-top span:last-child { text-align: right; }
.case-card-main { margin-top: auto; }
.case-index { display: block; margin-bottom: 13px; }
.case-card h3 { max-width: 670px; margin: 0 0 36px; font-size: clamp(32px, 3.4vw, 56px); font-weight: 500; line-height: 1.02; letter-spacing: -.055em; }
.case-card-2 h3, .case-card-3 h3 { max-width: 465px; margin-bottom: 20px; font-size: clamp(28px, 2.55vw, 39px); }
.case-metrics { display: flex; max-width: 73%; gap: 24px; padding-top: 14px; border-top: 1px solid currentColor; }
.case-metrics > div { flex: 1; min-width: 0; }
.case-metrics strong { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.case-metrics span { display: block; max-width: 130px; font-size: 10px; line-height: 1.25; }
.case-arrow { position: absolute; right: 22px; bottom: 18px; font-size: 27px; line-height: 1; }

.expertise-section { padding: 36px 0 129px; border-top: 1px solid var(--ink); }
.expertise-list { margin: 25px 0 0; padding: 0; list-style: none; }
.expertise-list li { display: grid; grid-template-columns: 75px 1fr; align-items: baseline; padding: 18px 0 20px; border-bottom: 1px solid var(--line); font-size: clamp(23px, 2.65vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; }
.expertise-list li:first-child { border-top: 1px solid var(--line); }
.expertise-list span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: 0; }

.contact-section { width: 100%; max-width: none; padding: 33px max(48px, calc((100vw - 1440px)/2)) 45px; background: var(--red); color: var(--paper); }
.contact-section h2 { margin: 70px 0 115px; font-size: clamp(60px, 8vw, 125px); font-weight: 500; line-height: .95; letter-spacing: -.072em; }
.contact-asterisk { display: inline-block; margin-left: .08em; font-size: .58em; vertical-align: top; }
.contact-bottom { display: flex; align-items: end; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--paper); }
.contact-phone { font-size: clamp(22px, 3vw, 44px); font-weight: 500; letter-spacing: -.045em; }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button-light:hover { background: transparent; color: var(--paper); }
.footer { display: flex; min-height: 150px; align-items: end; justify-content: space-between; padding-top: 25px; padding-bottom: 25px; }
.footer p { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 11px; }

/* The list and case detail use the same typographic system as the cover. */
.page-hero { display: grid; grid-template-columns: 1fr 3fr; gap: 25px; padding: 53px 0 64px; border-bottom: 2px solid var(--ink); }
.page-hero h1 { grid-column: 2; margin: 11px 0 5px; font-size: clamp(70px, 10vw, 154px); font-weight: 500; line-height: .88; letter-spacing: -.075em; }
.page-hero p:last-child { grid-column: 2; max-width: 550px; margin: 0; font-size: 17px; line-height: 1.45; }
.all-cases { border-bottom: 1px solid var(--ink); }
.all-case-card { display: grid; grid-template-columns: 1fr 3fr; gap: 25px; position: relative; min-height: 230px; padding: 22px 70px 28px 0; border-bottom: 1px solid var(--line); transition: color .18s, padding-left .18s; }
.all-case-card:last-child { border-bottom: 0; }
.all-case-card:hover { color: var(--red); padding-left: 12px; }
.all-case-card .case-card-top { display: block; grid-row: span 2; }
.all-case-card .case-card-top span { display: block; margin-bottom: 8px; text-align: left; }
.all-case-card h2 { align-self: end; max-width: 900px; margin: 0; font-size: clamp(31px, 4.3vw, 66px); font-weight: 500; line-height: 1.03; letter-spacing: -.055em; }
.all-case-card p { grid-column: 2; max-width: 580px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.all-case-card .case-arrow { right: 0; top: 20px; bottom: auto; }

.case-header { padding: 40px 0 0; background: var(--ink); color: var(--paper); }
.back-link { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: #c8c8c1; }
.back-link:hover { color: var(--red); }
.case-header .eyebrow { margin-top: 110px; color: var(--red); }
.case-header h1 { max-width: 1160px; margin: 30px 0 29px; font-size: clamp(51px, 7.2vw, 110px); font-weight: 500; line-height: .98; letter-spacing: -.068em; hyphens: auto; overflow-wrap: anywhere; }
.case-subtitle { max-width: 680px; margin: 0; color: #c8c8c1; font-size: 18px; line-height: 1.45; }
.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 100px; border-top: 1px solid #6d6d67; }
.metric-strip > div { min-height: 155px; padding: 20px; border-right: 1px solid #6d6d67; }
.metric-strip > div:first-child { padding-left: 0; }
.metric-strip > div:last-child { border-right: 0; }
.metric-strip strong { display: block; margin-bottom: 11px; color: var(--red); font-size: clamp(29px, 3.5vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.metric-strip span { color: #c8c8c1; font-size: 12px; }
.case-body { display: grid; grid-template-columns: 1fr 3fr; gap: 25px; padding: 60px 0 120px; }
.case-role { max-width: 200px; font-size: 14px; line-height: 1.5; }
.case-role strong { display: block; margin-bottom: 12px; color: var(--red); }
.case-body article { max-width: 910px; }
.case-body section { display: grid; grid-template-columns: minmax(130px,.6fr) minmax(0,2fr); gap: 26px; padding: 28px 0 52px; border-top: 1px solid var(--ink); }
.case-body h2 { margin: 0; font-size: 16px; font-weight: 600; }
.case-body p, .case-body li { margin: 0; font-size: clamp(17px, 1.75vw, 24px); line-height: 1.48; letter-spacing: -.025em; }
.case-body ul { margin: 0; padding: 0; list-style: none; }
.case-body li { position: relative; padding: 0 0 21px 25px; }
.case-body li::before { position: absolute; top: .55em; left: 0; width: 9px; height: 9px; background: var(--red); content: ""; }

@media (max-width: 900px) {
  :root { --container: calc(100vw - 48px); }
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 45px; }
  .hero h1 { font-size: clamp(60px, 10.1vw, 105px); }
  .hero-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .hero-symbol { grid-row: span 3; justify-self: start; align-self: center; margin: 0; }
  .statement-grid, .expertise-grid, .case-body { grid-template-columns: 1fr 2fr; }
  .statement-grid h2 { margin-top: 55px; }
  .contact-section { padding-inline: 24px; }
}

@media (max-width: 640px) {
  :root { --container: calc(100vw - 36px); }
  .nav { min-height: 76px; }
  .wordmark { font-size: 30px; }
  .wordmark small { font-size: 8px; margin-left: 10px; }
  .nav-contact { font-size: 11px; }
  .nav-contact span { margin-left: 7px; }
  .hero { padding-top: 19px; }
  .hero-topline { gap: 16px; }
  .hero-topline .eyebrow { font-size: 9px; }
  .hero-topline .eyebrow:last-child { text-align: right; }
  .hero-grid { padding: 42px 0 44px; gap: 42px; }
  .hero h1 { font-size: clamp(49px, 12.4vw, 78px); letter-spacing: -.075em; }
  .hero-last { padding-left: 0; }
  .hero-intro { grid-template-columns: 90px 1fr; column-gap: 20px; }
  .hero-symbol { width: 90px; grid-row: span 3; align-self: start; }
  .hero-symbol span { font-size: 80px; }
  .hero-intro > p:not(.intro-index) { font-size: 14px; }
  .button { min-height: 44px; padding: 9px 12px; gap: 18px; font-size: 11px; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row > div { min-height: 145px; padding: 13px 13px 15px 0; border-bottom: 1px solid var(--ink); }
  .proof-row > div:nth-child(even) { border-right: 0; padding-left: 13px; }
  .proof-row > div:nth-last-child(-n+2) { border-bottom: 0; }
  .proof-row strong { font-size: 26px; }
  .proof-row span:last-child { font-size: 10px; }
  .statement-section { margin-top: 65px; padding: 25px 0 75px; }
  .statement-grid, .expertise-grid, .case-body { grid-template-columns: 1fr; gap: 0; }
  .statement-grid h2 { margin: 59px 0 50px; font-size: clamp(36px, 10vw, 54px); }
  .statement-copy { grid-template-columns: 1fr; gap: 16px; }
  .statement-copy p { font-size: 14px; }
  .cases-section { padding: 78px 0 90px; }
  .section-head h2 { font-size: 66px; }
  .text-link { font-size: 11px; }
  .text-link span { margin-left: 7px; }
  .featured-cases { grid-template-columns: 1fr; grid-template-rows: auto; }
  .case-card { min-height: 330px; padding: 17px; border-left: 0; border-bottom: 1px solid var(--ink); }
  .case-card-1 { grid-row: auto; min-height: 470px; }
  .case-card-2, .case-card-3 { border-left: 0; }
  .case-card-3 { border-bottom: 0; }
  .case-card h3, .case-card-2 h3, .case-card-3 h3 { font-size: clamp(31px, 8vw, 42px); }
  .case-metrics { max-width: 85%; }
  .expertise-section { padding: 25px 0 80px; }
  .expertise-list { margin-top: 35px; }
  .expertise-list li { grid-template-columns: 42px 1fr; padding: 16px 0; font-size: 23px; }
  .contact-section { padding: 24px 18px 30px; }
  .contact-section h2 { margin: 70px 0 90px; font-size: clamp(48px, 11vw, 76px); }
  .contact-bottom { align-items: start; gap: 26px; flex-direction: column; }
  .contact-phone { font-size: 27px; }
  .footer { min-height: 125px; }
  .page-hero { display: block; padding: 40px 0 50px; }
  .page-hero h1 { margin: 55px 0 27px; font-size: clamp(66px, 18vw, 95px); }
  .page-hero p:last-child { font-size: 15px; }
  .all-case-card { display: block; min-height: 270px; padding: 18px 36px 26px 0; }
  .all-case-card .case-card-top { display: flex; margin-bottom: 45px; }
  .all-case-card h2 { margin-bottom: 18px; font-size: 35px; }
  .all-case-card p { font-size: 13px; }
  .case-header { padding-top: 30px; }
  .case-header .eyebrow { margin-top: 86px; }
  .case-header h1 { font-size: clamp(38px, 10.3vw, 64px); }
  .case-subtitle { font-size: 15px; }
  .metric-strip { grid-template-columns: 1fr; margin-top: 67px; }
  .metric-strip > div, .metric-strip > div:first-child { min-height: 92px; padding: 15px 0; border-right: 0; border-bottom: 1px solid #6d6d67; }
  .metric-strip > div:last-child { border-bottom: 0; }
  .metric-strip strong { font-size: 32px; }
  .case-body { padding: 33px 0 75px; }
  .case-role { margin-bottom: 55px; }
  .case-body section { grid-template-columns: 1fr; gap: 18px; padding: 24px 0 43px; }
  .case-body p, .case-body li { font-size: 18px; }
}

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