:root {
  --ink: #151710;
  --paper: #f3f0e8;
  --paper-deep: #e7e1d4;
  --acid: #c9f04a;
  --orange: #f2703b;
  --muted: #676a5f;
  --line: rgba(21, 23, 16, 0.18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; padding: 24px 0; color: var(--paper); }
.nav-wrap, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: block; width: 154px; height: 82px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), 0 10px 24px rgba(0,0,0,.18); text-decoration: none; }
.wordmark img { width: 100%; height: 100%; display: block; object-fit: contain; }
nav { display: flex; align-items: center; gap: 28px; font-size: 0.86rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--acid); }
.nav-contact { padding: 9px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }

.hero { min-height: 780px; padding: 170px 0 100px; display: grid; align-items: center; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; }
.eyebrow, .section-number { margin: 0 0 28px; color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 750; letter-spacing: -.055em; line-height: .98; }
h1 { max-width: 800px; margin-bottom: 28px; font-size: clamp(4rem, 8vw, 7.5rem); }
h2 { margin-bottom: 30px; font-size: clamp(2.65rem, 5vw, 5.2rem); }
.tagline { max-width: 650px; margin-bottom: 20px; color: var(--acid); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 650; }
.intro { max-width: 650px; margin-bottom: 36px; color: #bebfb7; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button { display: inline-block; padding: 14px 20px; color: var(--ink); background: var(--acid); border-radius: 2px; font-weight: 750; text-decoration: none; }
.button:hover, .button:focus-visible { background: white; }
.text-link { text-underline-offset: 5px; }

.hero-brand { position: relative; padding: 38px 34px 30px; border: 1px solid rgba(214,218,208,.38); border-radius: 28px; background: radial-gradient(circle at 50% 42%, rgba(242,112,59,.18), rgba(255,255,255,.035) 58%, rgba(0,0,0,.14)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.55), 0 28px 70px rgba(0,0,0,.28); }
.hero-brand::before { content: ""; position: absolute; inset: 9px; pointer-events: none; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; }
.hero-brand img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.hero-brand p { margin: 18px 0 0; position: relative; text-align: center; color: #aeb0a8; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-brand p span { padding-inline: .5em; color: var(--orange); }

.section { padding: 120px 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.split h2 { max-width: 540px; }
.prose { padding-top: 45px; color: #4b4e45; font-size: 1.18rem; }
.prose p { max-width: 590px; margin-bottom: 24px; }
.section-dark { color: var(--paper); background: #20231c; }
.section-dark h2 { max-width: 900px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.22); }
.service-grid article { min-height: 270px; padding: 25px 24px 10px 0; border-right: 1px solid rgba(255,255,255,.22); }
.service-grid article:not(:first-child) { padding-left: 24px; }
.service-grid article:last-child { border-right: 0; }
.service-index { color: var(--acid); font-size: .72rem; font-weight: 800; }
.service-grid h3 { margin: 75px 0 14px; font-size: 1.25rem; }
.service-grid p { color: #adafa5; font-size: .94rem; }

.section-heading-row { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; }
.section-heading-row > p { max-width: 430px; margin-bottom: 38px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 58px 28px; }
.project-card-wide { grid-column: 1 / -1; width: calc(50% - 14px); }
.project-images { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 22px; background: var(--ink); }
.project-images figure { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #d8d5cd; }
.project-images img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.project-images figure:hover img { transform: scale(1.025); }
.project-images figcaption { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; color: white; background: rgba(21,23,16,.84); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.project-card p { color: var(--muted); font-size: .95rem; }

.contact { padding: 120px 0; color: var(--paper); background: var(--orange); }
.contact .section-number { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.contact h2 { max-width: 680px; margin-bottom: 0; }
.contact-details { font-size: 1.05rem; }
.email-link { display: inline-block; margin: 14px 0 24px; font-size: clamp(1.35rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.035em; text-underline-offset: 7px; }
.location, .social-link { color: #402114; }
.social-link { display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 800; text-underline-offset: 5px; text-transform: uppercase; letter-spacing: .07em; }
.social-link:hover, .social-link:focus-visible { color: var(--paper); }
footer { padding: 28px 0; color: #a7a99f; background: var(--ink); font-size: .8rem; }

@media (max-width: 850px) {
  nav a:not(.nav-contact) { display: none; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-grid, .split, .section-heading-row, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-brand { width: min(100%, 500px); margin: 0 auto; padding: 30px 26px 24px; }
  .hero-brand p { margin-top: 14px; }
  .section { padding: 85px 0; }
  .prose { padding-top: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(3), .service-grid article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.22); }
  .service-grid article:nth-child(3) { padding-left: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-card { max-width: 600px; }
  .project-card-wide { grid-column: auto; width: auto; }
}

@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .site-header { padding-top: 16px; }
  .wordmark { width: 116px; height: 66px; padding: 5px 7px; border-radius: 11px; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero { padding-top: 130px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:not(:first-child) { min-height: 210px; padding: 24px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .service-grid article:first-child { border-top: 0; }
  .service-grid h3 { margin-top: 48px; }
  .project-images { grid-template-columns: 1fr; }
  .project-images figure { aspect-ratio: 4 / 3; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 6px; }
}

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