:root {
  --ink: #151515;
  --ink-soft: #252525;
  --paper: #f5f2ec;
  --white: #ffffff;
  --muted: #6e6b66;
  --line: rgba(21, 21, 21, 0.14);
  --red: #c62828;
  --red-bright: #e03a3e;
  --gold: #d5aa54;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
  --radius: 24px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 236, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(21, 21, 21, 0.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 14px; letter-spacing: .05em; }
.brand-name { font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--red); transition: right .2s; }
.site-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 16px; border-radius: 100px; background: var(--ink); color: var(--white); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 86px 0 74px; }
.hero-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: clamp(48px, 7vw, 100px); align-items: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 20px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 830px; margin: 0; font-size: clamp(50px, 6.6vw, 92px); line-height: .95; letter-spacing: -.062em; }
.hero-lede { max-width: 720px; margin: 32px 0 0; color: #494641; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 20px; border: 1px solid var(--ink); border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--white); }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 25px; color: var(--muted); font-size: 13px; }
.hero-links a { text-underline-offset: 4px; }
.portrait-frame { position: relative; overflow: hidden; border-radius: 190px 190px 24px 24px; background: #d62e4b; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: center top; }
.portrait-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 15px 17px; border-radius: 16px; color: var(--white); background: rgba(18, 18, 18, .82); backdrop-filter: blur(10px); }
.portrait-caption span, .portrait-caption strong { display: block; }
.portrait-caption span { color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.portrait-caption strong { margin-top: 3px; font-size: 14px; }
.hero-accent { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .9; }
.hero-accent-one { width: 380px; height: 380px; right: -130px; top: 26px; background: rgba(198, 40, 40, .12); }
.hero-accent-two { width: 260px; height: 260px; left: -140px; bottom: -100px; border: 65px solid rgba(213, 170, 84, .15); }

.proof-strip { padding: 6px 0 88px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.proof-card { min-height: 166px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.48); display: flex; flex-direction: column; justify-content: space-between; }
.proof-value { font-size: clamp(26px, 3vw, 41px); line-height: 1; font-weight: 900; letter-spacing: -.045em; }
.proof-label { margin-top: 26px; color: #595650; font-size: 13px; line-height: 1.45; }

.section { padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2, .about-copy h2, .contact-section h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.052em; }
.section-heading > p:last-child, .contact-section p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.case-study { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 84px); align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.case-study:nth-of-type(odd):not(.case-study-featured):not(.case-study-wide) .case-copy { order: 2; }
.case-study:nth-of-type(odd):not(.case-study-featured):not(.case-study-wide) .case-media { order: 1; }
.case-study-featured, .case-study-wide { grid-template-columns: 1.08fr .92fr; }
.case-number { margin-bottom: 22px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .16em; }
.case-kicker { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-copy h3 { margin: 0; font-size: clamp(30px, 4vw, 49px); line-height: 1.05; letter-spacing: -.045em; }
.case-facts { margin: 32px 0 0; }
.case-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.case-facts dt { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.case-facts dd { margin: 0; color: #4f4c47; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.case-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; font-size: 11px; font-weight: 800; }
.case-media { min-width: 0; }
.case-media-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: end; }
.case-media-collage img { width: 100%; border-radius: 18px; box-shadow: 0 18px 45px rgba(0,0,0,.11); }
.case-media-collage img:first-child { grid-row: span 2; }
.single-phone { display: grid; place-items: center; }
.single-phone img { width: min(360px, 90%); border-radius: 22px; box-shadow: var(--shadow); transform: rotate(2deg); }
.project-board img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.big-ten-stack { position: relative; min-height: 480px; }
.big-ten-stack img { position: absolute; border-radius: 18px; box-shadow: var(--shadow); }
.big-ten-stack img:first-child { width: 78%; left: 0; top: 0; transform: rotate(-3deg); }
.big-ten-stack img:last-child { width: 78%; right: 0; bottom: 0; transform: rotate(3deg); }
.text-link { display: inline-flex; gap: 6px; margin-top: 25px; font-weight: 900; text-underline-offset: 5px; }

.section-dark { color: var(--white); background: var(--ink); }
.section-dark .eyebrow { color: #ff5a5f; }
.section-dark .section-heading > p:last-child { color: rgba(255,255,255,.62); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-card { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 18px; color: var(--white); background: #282828; cursor: zoom-in; text-align: left; }
.gallery-card img { width: 100%; aspect-ratio: .74; object-fit: cover; object-position: top; transition: transform .35s, opacity .35s; }
.gallery-card > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 42px 17px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.gallery-card strong, .gallery-card small { display: block; }
.gallery-card strong { font-size: 14px; }
.gallery-card small { margin-top: 2px; color: rgba(255,255,255,.68); }
.gallery-card:hover img { transform: scale(1.035); opacity: .82; }

.experience-grid { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.sticky-heading { position: sticky; top: 118px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 138px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.timeline-item h3 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.timeline-item .role { margin: 2px 0 10px; font-weight: 800; }
.timeline-item p:last-child { margin: 0; color: var(--muted); }

.about-section { background: #e9e2d7; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(52px, 9vw, 130px); align-items: start; }
.about-copy p:not(.eyebrow) { max-width: 760px; color: #504c46; font-size: 18px; }
.about-panel { padding: 12px 0; border-top: 1px solid rgba(21,21,21,.18); }
.about-stat { padding: 20px 0; border-bottom: 1px solid rgba(21,21,21,.18); }
.about-stat span, .about-stat strong, .about-stat small { display: block; }
.about-stat span { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.about-stat strong { margin-top: 6px; font-size: 23px; letter-spacing: -.025em; }
.about-stat small { margin-top: 3px; color: var(--muted); }

.capabilities-section { background: var(--white); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability { min-height: 255px; padding: 30px; background: var(--white); }
.capability > span { color: var(--red); font-size: 12px; font-weight: 900; }
.capability h3 { margin: 36px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.capability p { margin: 0; color: var(--muted); }

.contact-section { padding: 112px 0; color: var(--white); background: var(--red); }
.contact-section .eyebrow { color: rgba(255,255,255,.75); }
.contact-section p { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.contact-actions { display: grid; border-top: 1px solid rgba(255,255,255,.28); }
.contact-card { display: grid; grid-template-columns: 82px 1fr; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.28); color: var(--white); text-decoration: none; transition: padding-left .2s; }
.contact-card:hover { padding-left: 8px; }
.contact-card span { color: rgba(255,255,255,.68); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong { font-size: 17px; word-break: break-word; }
.contact-card small { grid-column: 2; color: rgba(255,255,255,.65); }

.site-footer { padding: 26px 0; color: rgba(255,255,255,.66); background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.footer-inner a { color: var(--white); text-underline-offset: 4px; }

.lightbox { width: min(760px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; color: var(--white); background: #111; box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; max-height: 75vh; object-fit: contain; background: #000; }
.lightbox p { margin: 0; padding: 18px 22px 22px; color: rgba(255,255,255,.78); }
.lightbox-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--white); background: rgba(0,0,0,.68); font-size: 27px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { max-width: 430px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study, .case-study-featured, .case-study-wide { grid-template-columns: 1fr; }
  .case-study:nth-of-type(odd):not(.case-study-featured):not(.case-study-wide) .case-copy,
  .case-study:nth-of-type(odd):not(.case-study-featured):not(.case-study-wide) .case-media { order: initial; }
  .case-media { max-width: 740px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .experience-grid { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: 70px; display: none; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(245,242,236,.98); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; gap: 15px; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 62px; }
  .hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-lede { font-size: 18px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 138px; }
  .section { padding: 82px 0; }
  .case-study { padding: 54px 0; gap: 34px; }
  .case-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .case-media-collage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .case-media-collage img:first-child { grid-row: auto; }
  .big-ten-stack { min-height: 380px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .capability-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 68px 1fr; }
}

@media (max-width: 470px) {
  .brand-name { display: none; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery-card > span { padding: 34px 10px 10px; }
  .gallery-card strong { font-size: 12px; }
  .gallery-card small { font-size: 10px; }
  .contact-card { grid-template-columns: 1fr; gap: 4px; }
  .contact-card small { grid-column: 1; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
