@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #101b2d;
  --muted: #667080;
  --paper: #f5f1ea;
  --white: #fffdf9;
  --line: #dcd8d0;
  --blue: #1f4cff;
  --orange: #f26b38;
  --lime: #c9e86a;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { align-items: center; display: flex; justify-content: space-between; padding: 25px 5.5vw; position: absolute; top: 0; width: 100%; z-index: 20; }
.logo { align-items: center; display: inline-flex; font-size: 24px; font-weight: 900; letter-spacing: -.08em; line-height: .8; }
.logo-mark { background: var(--orange); display: inline-block; height: 18px; margin-right: 7px; transform: rotate(45deg); width: 18px; }
.logo small { font-size: 10px; font-weight: 600; letter-spacing: .12em; margin-left: 8px; opacity: .55; }
.nav { align-items: center; display: flex; gap: 30px; }
.nav a { font-size: 11px; font-weight: 800; letter-spacing: .13em; position: relative; text-transform: uppercase; }
.nav a::after { background: var(--orange); bottom: -8px; content: ''; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s; width: 100%; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.menu-toggle { background: none; border: 0; display: none; padding: 8px; }
.menu-toggle span { background: var(--ink); display: block; height: 2px; margin: 5px 0; width: 24px; }

.hero { align-items: flex-end; display: flex; min-height: 690px; overflow: hidden; padding: 150px 5.5vw 82px; position: relative; }
.hero::before { background: var(--lime); border-radius: 50%; content: ''; height: 50vw; left: 42%; max-height: 700px; max-width: 700px; position: absolute; top: -14%; width: 50vw; }
.hero-image { height: 70%; left: 48%; position: absolute; top: 19%; width: 42%; z-index: 1; }
.hero-image img { height: 100%; filter: saturate(.85); }
.hero-copy { max-width: 650px; position: relative; z-index: 2; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .18em; margin: 0 0 23px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.075em; line-height: .9; }
h1 { font-size: clamp(64px, 10vw, 150px); margin-bottom: 30px; max-width: 760px; }
h2 { font-size: clamp(42px, 6vw, 88px); margin-bottom: 25px; }
h3 { font-size: 26px; }
.hero-copy > p { color: var(--muted); max-width: 420px; }
.hero-meta { bottom: 76px; display: flex; font-size: 10px; font-weight: 800; gap: 18px; letter-spacing: .13em; position: absolute; right: 5.5vw; text-transform: uppercase; transform: rotate(-90deg); transform-origin: right; }
.scroll-cue { align-items: center; bottom: 38px; display: flex; font-size: 10px; font-weight: 800; gap: 9px; letter-spacing: .12em; position: absolute; text-transform: uppercase; }
.scroll-cue::before { background: var(--ink); content: ''; height: 1px; width: 38px; }

.section { padding: 130px 5.5vw; }
.section-dark { background: var(--ink); color: var(--white); }
.section-blue { background: var(--blue); color: white; position: relative; }
.section-blue::after { border: 1px solid rgba(255,255,255,.3); border-radius: 50%; content: ''; height: 420px; pointer-events: none; position: absolute; right: -180px; top: -150px; width: 420px; }
.section-heading { display: flex; justify-content: space-between; margin-bottom: 65px; }
.section-heading > p { color: var(--muted); max-width: 290px; }
.section-dark .section-heading > p { color: #b5bdcc; }
.index-number { font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.button { align-items: center; border: 1px solid var(--ink); display: inline-flex; font-size: 11px; font-weight: 800; gap: 18px; letter-spacing: .12em; padding: 15px 18px; text-transform: uppercase; transition: background .25s, color .25s; }
.button:hover { background: var(--ink); color: var(--white); }
.button-light { border-color: white; color: white; }
.button-light:hover { background: white; color: var(--ink); }

.services-grid { display: grid; gap: 1px; grid-template-columns: repeat(5, 1fr); }
.service-card { border-top: 1px solid currentColor; padding: 24px 18px 10px 0; }
.service-card strong { color: var(--orange); display: block; font-size: 11px; letter-spacing: .14em; margin-bottom: 55px; }
.service-card h3 { max-width: 160px; }
.service-card p { color: var(--muted); font-size: 14px; max-width: 180px; }
.section-dark .service-card p { color: #aab3c2; }

.work-grid { display: grid; gap: 54px 26px; grid-template-columns: repeat(12, 1fr); }
.work-card { grid-column: span 4; }
.work-card:nth-child(2) { margin-top: 90px; }
.work-card:nth-child(5) { margin-top: 70px; }
.work-card-image { aspect-ratio: 1 / 1.1; background: #ddd; overflow: hidden; }
.work-card-image img { height: 100%; transition: transform .6s; }
.work-card:hover img { transform: scale(1.05); }
.work-card figcaption { padding-top: 18px; }
.work-card h3 { font-size: 24px; margin-bottom: 6px; }
.work-card p { color: var(--muted); font-size: 12px; margin-bottom: 0; text-transform: uppercase; }

.about-split { align-items: center; display: grid; gap: 10%; grid-template-columns: 1fr 1fr; }
.about-split img { aspect-ratio: 4 / 5; }
.about-split p { color: var(--muted); font-size: 17px; max-width: 470px; }
.stats { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 70px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat strong { display: block; font-family: var(--display); font-size: 58px; letter-spacing: -.08em; line-height: .9; }
.stat span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { min-height: 480px; overflow: hidden; padding: 190px 5.5vw 80px; position: relative; }
.page-hero .hero-shape { background: var(--orange); height: 230px; position: absolute; right: 10%; top: 150px; transform: rotate(45deg); width: 230px; }
.page-hero h1 { font-size: clamp(65px, 11vw, 145px); max-width: 880px; position: relative; }
.page-hero p { color: var(--muted); max-width: 390px; position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 55px; }
.filter { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 10px 14px; text-transform: uppercase; }
.filter.active, .filter:hover { background: var(--ink); border-color: var(--ink); color: white; }
.work-card.is-hidden { display: none; }

.project-hero { display: grid; grid-template-columns: 42% 58%; min-height: 650px; }
.project-hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 10% 80px 13%; }
.project-hero h1 { font-size: clamp(60px, 8vw, 125px); }
.project-hero-copy p { color: var(--muted); max-width: 300px; }
.project-image { min-height: 650px; }
.project-image img { height: 100%; }
.project-info { display: grid; gap: 50px; grid-template-columns: 1fr 2fr; }
.project-data { border-top: 1px solid var(--line); padding-top: 15px; }
.project-data span { color: var(--muted); display: block; font-size: 10px; font-weight: 800; letter-spacing: .13em; margin-bottom: 10px; text-transform: uppercase; }
.project-data strong { font-size: 18px; }
.project-intro { font-size: 24px; letter-spacing: -.03em; max-width: 620px; }
.project-gallery { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr; }
.project-gallery img { height: 100%; min-height: 300px; }

.contact-grid { display: grid; gap: 12%; grid-template-columns: 1fr 1.2fr; }
.contact-list { display: grid; gap: 30px; margin-top: 45px; }
.contact-list span { color: var(--orange); display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 7px; text-transform: uppercase; }
.contact-list a, .contact-list p { font-size: 18px; margin-bottom: 0; }
.contact-form { display: grid; gap: 23px; }
.field { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.field label { color: var(--muted); display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 7px; text-transform: uppercase; }
.field input, .field textarea { background: transparent; border: 0; color: var(--ink); outline: 0; padding: 4px 0; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--orange); font-size: 13px; margin: 0; }

.site-footer { background: var(--ink); color: white; overflow: hidden; padding: 95px 5.5vw 25px; position: relative; }
.site-footer::before { border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ''; height: 560px; position: absolute; right: -260px; top: 40px; width: 560px; }
.footer-top { display: flex; justify-content: space-between; padding-bottom: 80px; }
.footer-top h2 { font-size: clamp(50px, 8vw, 110px); max-width: 730px; }
.footer-meta { display: flex; gap: 65px; }
.footer-meta span { color: #8994a7; display: block; font-size: 10px; font-weight: 800; letter-spacing: .13em; margin-bottom: 12px; text-transform: uppercase; }
.footer-meta p { font-size: 14px; margin: 0; }
.footer-bottom { border-top: 1px solid #334052; color: #9aa4b6; display: flex; font-size: 10px; justify-content: space-between; letter-spacing: .12em; padding-top: 20px; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { padding: 20px 6vw; }
  .menu-toggle { display: block; position: relative; z-index: 22; }
  .nav { align-items: flex-start; background: var(--paper); flex-direction: column; gap: 25px; height: 100vh; justify-content: center; left: 0; opacity: 0; padding: 40px 9vw; pointer-events: none; position: fixed; top: 0; transform: translateX(100%); transition: transform .3s, opacity .3s; width: 100%; }
  .menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { font-size: 25px; }
  .hero { display: block; min-height: 0; padding: 120px 6vw 74px; }
  .hero::before { height: 85vw; left: 22%; top: 8%; width: 85vw; }
  .hero-image { height: auto; left: auto; margin: 35px 0 34px 10%; position: relative; top: auto; width: 82%; }
  .hero-image img { aspect-ratio: 4 / 5; }
  .hero-copy { margin-top: 0; }
  .hero-copy h1 { margin-bottom: 22px; }
  h1 { font-size: clamp(60px, 18vw, 105px); }
  .hero-copy > p { max-width: 300px; }
  .hero-meta { display: none; }
  .section { padding: 88px 6vw; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-heading > p { margin-top: 25px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 200px; }
  .work-grid { display: block; }
  .work-card, .work-card:nth-child(2), .work-card:nth-child(5) { margin: 0 0 43px; }
  .about-split, .contact-grid, .project-info { display: block; }
  .about-split img { margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 48px; }
  .page-hero { min-height: 430px; padding: 150px 6vw 60px; }
  .page-hero .hero-shape { height: 110px; right: 12%; top: 150px; width: 110px; }
  .project-hero { display: flex; flex-direction: column; }
  .project-hero-copy { min-height: 480px; padding: 150px 6vw 60px; }
  .project-image { min-height: 430px; }
  .project-data { margin-bottom: 25px; }
  .project-gallery { display: block; }
  .project-gallery img { margin-bottom: 18px; }
  .footer-top { display: block; padding-bottom: 55px; }
  .footer-meta { flex-wrap: wrap; gap: 35px; }
  .footer-bottom { gap: 20px; }
}
