:root {
  --ink: #07111f;
  --ink-2: #10233d;
  --paper: #f7f8fb;
  --white: #ffffff;
  --blue: #1677ff;
  --red: #ff3d2e;
  --muted: #647084;
  --line: #d8dfe8;
  --max: 1240px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 1000; transform: translateY(-200%); background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(7,17,31,.1); }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.wordmark-mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--white); background: var(--ink); border-radius: 9px; font-size: .75rem; letter-spacing: -.04em; }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; }
.site-header nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-header nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: .65rem 1rem; background: var(--ink); color: var(--white); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 800; color: var(--ink); }

.hero { min-height: 760px; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(4rem, 8vw, 8rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--blue); font-size: .78rem; line-height: 1.2; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.3rem, 6.4vw, 6.8rem); line-height: .93; letter-spacing: -.065em; }
.hero h1 em { color: var(--blue); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-intro { max-width: 620px; margin: 2rem 0 0; color: var(--ink-2); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.25rem; border-radius: 999px; text-decoration: none; font-weight: 800; }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: #df281c; }
.button-secondary { border: 1px solid var(--line); background: var(--white); }
.button-secondary:hover { border-color: var(--ink); }
.hero-visual { position: relative; min-height: 620px; }
.hero-image { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 28px 70px rgba(7,17,31,.18); }
.hero-image-main { inset: 0 0 8% 8%; transform: rotate(2deg); }
.hero-image-inset { z-index: 2; width: 48%; height: 38%; left: -4%; bottom: 0; transform: rotate(-4deg); border: 8px solid var(--paper); }
.hero-note { position: absolute; z-index: 3; right: -2%; bottom: 4%; width: 215px; padding: 1.15rem; background: var(--ink); color: var(--white); border-radius: 18px; box-shadow: 0 16px 50px rgba(7,17,31,.28); }
.hero-note span, .hero-note small { display: block; color: #aab7c9; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-note strong { display: block; margin: .45rem 0 .7rem; font-size: 1.15rem; line-height: 1.2; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.proof-item { padding: 2.2rem 1.5rem; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--blue); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.05em; }
.proof-item span { display: block; margin-top: .7rem; color: var(--muted); font-size: .9rem; }

.work, .experience { padding-block: clamp(6rem, 10vw, 10rem); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; margin-bottom: 4rem; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.section-heading.compact { margin-bottom: 3rem; }
.case-study { border-radius: var(--radius); }
.case-study-featured { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; background: var(--white); box-shadow: 0 20px 60px rgba(7,17,31,.08); }
.case-image { min-height: 620px; }
.case-content { padding: clamp(2rem, 5vw, 4.5rem); }
.case-number { margin: 0 0 2rem; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.case-study h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; }
.case-study p { color: var(--muted); font-size: 1.05rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.case-tags li { padding: .5rem .75rem; background: #eef4ff; color: #0e5dc9; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.case-detail-grid span { font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.case-detail-grid p { margin-bottom: 0; font-size: .88rem; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.case-study-compact { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 4vw, 3.25rem); background: #dceaff; }
.case-study-compact h3 { max-width: 520px; }
.case-study-dark { background: var(--ink); color: var(--white); }
.case-study-dark .case-number { color: #65a7ff; }
.case-study-dark p { color: #b5c0cf; }
.case-study-dark .case-tags li { background: #172b47; color: #d8e7ff; }

.capabilities { padding: clamp(5rem, 8vw, 8rem) 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability-grid article { min-height: 310px; padding: 2rem; background: var(--paper); }
.capability-grid span { color: var(--red); font-size: .75rem; font-weight: 900; }
.capability-grid h3 { margin: 4rem 0 1rem; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.025em; }
.capability-grid p { color: var(--muted); font-size: .92rem; }

.experience { padding-bottom: 8rem; }
.timeline { border-top: 1px solid var(--ink); }
.timeline-item { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.timeline-meta { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); font-size: .85rem; }
.timeline-copy h3 { margin: 0; font-size: 1.6rem; letter-spacing: -.03em; }
.timeline-copy h4 { margin: .25rem 0 1rem; color: var(--blue); font-size: 1rem; }
.timeline-copy p { max-width: 760px; margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-block: clamp(6rem, 10vw, 10rem); border-top: 1px solid var(--line); }
.about-copy p { max-width: 850px; color: var(--muted); font-size: 1.12rem; }
.about-copy p:first-of-type { margin-top: 2.5rem; color: var(--ink-2); font-size: 1.35rem; }

.contact { margin-bottom: 3rem; padding: clamp(4rem, 8vw, 7rem); background: var(--blue); color: var(--white); border-radius: var(--radius); }
.contact .eyebrow { color: #dbeaff; }
.contact-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.contact-link { justify-self: end; padding-bottom: .35rem; border-bottom: 2px solid rgba(255,255,255,.5); text-decoration: none; font-weight: 800; overflow-wrap: anywhere; }
.contact-link:hover { border-color: var(--white); }

.site-footer { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 2rem 3rem; color: var(--muted); font-size: .82rem; }
.site-footer a { color: var(--ink); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 620px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-study-featured { grid-template-columns: 1fr; }
  .case-image { min-height: 500px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section-shell, .site-header { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  .site-header nav { position: absolute; inset: 68px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(7,17,31,.14); }
  .site-header nav.is-open { display: flex; }
  .site-header nav a { padding: .85rem; }
  .nav-cta { margin-top: .25rem; text-align: center; }
  .hero { padding-block: 3.5rem 6rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .hero-visual { min-height: 460px; }
  .hero-image-main { inset: 0 0 7% 2%; }
  .hero-image-inset { width: 50%; height: 34%; left: -1%; }
  .hero-note { right: 1%; width: 178px; }
  .section-heading, .about, .timeline-item { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading { margin-bottom: 2.5rem; }
  .proof-item { padding: 1.6rem 1rem; }
  .proof-item:first-child { padding-left: 1rem; }
  .case-grid { grid-template-columns: 1fr; }
  .case-study-compact { min-height: 380px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .case-image { min-height: 360px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: auto; }
  .capability-grid h3 { margin-top: 2.5rem; }
  .timeline-meta { flex-direction: row; justify-content: space-between; }
  .contact { width: calc(100% - 32px); padding: 2.2rem 1.5rem; }
  .contact-row { grid-template-columns: 1fr; gap: 2rem; }
  .contact-link { justify-self: start; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 430px) {
  .wordmark > span:last-child { display: none; }
  .proof { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .hero-visual { min-height: 390px; }
  .hero-note { bottom: -1rem; }
}

/* Completed portfolio work samples */
section[id] { scroll-margin-top: 100px; }
.case-outcome { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.case-outcome span { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.case-outcome p { font-size: .95rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.project-links a { color: #0e5dc9; font-weight: 800; font-size: .9rem; text-underline-offset: 4px; }
.campaigns { padding-bottom: 5rem; }
.campaign-intro { max-width: 800px; color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.video-project { min-width: 0; }
.video-project video { display: block; width: 100%; aspect-ratio: 9/16; max-height: 580px; object-fit: contain; background: var(--ink); border-radius: 18px; }
.video-project h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: .5rem; }
.video-project p { color: var(--muted); margin-top: 0; }
.case-image img { position: sticky; top: 80px; height: 620px; }
.reveal { opacity: 1; transform: none; }
a:focus-visible,button:focus-visible,video:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
@media(max-width:980px) { .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .case-image img { position: static; height: 500px; } }
@media(max-width:720px) { .video-grid { grid-template-columns: 1fr; } .video-project video { max-height: 620px; } .case-image img { height: 360px; } }

.hot-lap-project { padding-bottom: 7rem; }
.hot-lap-video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--ink); border-radius: 24px; }
.hot-lap-story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 2rem; }
.hot-lap-story h3 { font-size: 1.5rem; line-height: 1.2; }
.hot-lap-story p { color: var(--muted); }
.hot-lap-story a { color: #0e5dc9; font-weight: 800; text-underline-offset: 4px; }
@media(max-width:720px) { .hot-lap-story { grid-template-columns: 1fr; gap: 1rem; } .hot-lap-video { border-radius: 12px; } }

.ooh { padding-bottom: 7rem; }
.ooh-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; color: var(--muted); font-size: 1.1rem; }
.ooh-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; align-items: start; }
.ooh-gallery figure { margin: 0; min-width: 0; }
.ooh-gallery a { display: block; background: #e7ebf0; border-radius: 16px; overflow: hidden; }
.ooh-gallery img { height: auto; object-fit: contain; }
.ooh-gallery figcaption { margin-top: .85rem; font-weight: 700; font-size: .95rem; }
@media(max-width:980px) { .ooh-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .ooh-intro { grid-template-columns: 1fr; gap: 0; } .ooh-gallery { grid-template-columns: 1fr; } }

.campaign-creative { padding-bottom: 7rem; }
.creative-intro { max-width: 850px; margin-bottom: 2.5rem; color: var(--muted); font-size: 1.1rem; }
.creative-intro strong { color: var(--ink); }
.creative-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem 2rem; align-items: start; }
.creative-gallery figure { margin: 0; min-width: 0; }
.creative-gallery a { display: block; background: var(--ink); border-radius: 14px; overflow: hidden; }
.creative-gallery img { height: auto; object-fit: contain; }
.creative-gallery h3 { font-size: 1.15rem; line-height: 1.2; margin: 1rem 0 .5rem; }
.creative-gallery p { color: var(--muted); font-size: .95rem; margin-top: 0; }
@media(max-width:980px) { .creative-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:720px) { .creative-gallery { grid-template-columns: 1fr; } }

.hero-image-main img { object-position: 64% center; }

.case-study-featured .case-image { min-height: 0; background: var(--ink); display: flex; align-items: center; }
.launch-recap { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: var(--ink); }
