:root {
  --ink: #141514;
  --ink-soft: #272927;
  --paper: #ffffff;
  --paper-soft: #f5f5f2;
  --line: #dedfd9;
  --muted: #656861;
  --yellow: #feca05;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 999; padding: 10px 14px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20,21,20,.08);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover { opacity: .65; }
.nav-cta { background: var(--ink); color: white; padding: 10px 16px; border-radius: 999px; }
.nav .nav-cta:hover { opacity: 1; background: var(--ink-soft); }

.hero { padding: 92px 0 86px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(340px,.65fr); gap: 76px; align-items: center; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 820px; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero-lead { margin: 30px 0 0; max-width: 760px; font-size: 20px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--ink-soft); }
.button-secondary { border: 1px solid var(--line); background: white; }
.button-secondary:hover { background: var(--paper-soft); }

.hero-panel { background: var(--ink); color: white; border-radius: 28px; padding: 32px; min-height: 460px; position: relative; overflow: hidden; box-shadow: 0 28px 80px rgba(20,21,20,.14); display: flex; align-items: center; justify-content: center; }
.hero-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); right: -150px; bottom: -150px; opacity: .95; }
.hero-mark { width: 140px; position: relative; z-index: 1; }
.hero-mark img { width: 100%; }

.section { padding: 104px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .about-grid h2, .contact-copy h2 { margin: 0; font-size: clamp(36px,4.5vw,60px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.cards { display: grid; gap: 18px; }
.three-col { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 30px; min-height: 240px; display: flex; flex-direction: column; }
.card h3 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--muted); }
.card:hover { border-color: #b5b8b0; transform: translateY(-2px); transition: .2s ease; }

.section-dark { background: var(--ink); color: white; }
.section-heading.light > p:last-child { color: #b8bbb4; }
.work-list { border-top: 1px solid rgba(255,255,255,.18); }
.work-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 34px; align-items: start; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.work-item h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.025em; }
.work-item p { margin: 0; max-width: 700px; color: #b8bbb4; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 220px; }
.tags span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 10px; font-size: 11px; color: #dfe1dc; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-copy { max-width: 700px; font-size: 20px; color: var(--muted); }
.about-copy p { margin-top: 0; margin-bottom: 24px; }
.about-copy .signature { color: var(--ink); font-weight: 700; }

.contact-section { background: var(--ink); color: white; padding: 96px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: center; }
.contact-brand img { width: min(100%, 430px); }
.contact-copy p:not(.eyebrow) { color: #b8bbb4; font-size: 18px; max-width: 660px; }
.email-link { display: inline-block; margin-top: 14px; color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; font-size: clamp(20px,3vw,30px); font-weight: 700; }

.footer { background: var(--ink); color: #b8bbb4; border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer a { color: white; text-decoration: none; }

@media (max-width: 920px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { min-height: 0; }
  .three-col { grid-template-columns: 1fr; }
  .card { min-height: 230px; }
  .work-item { grid-template-columns: 1fr; }
  .tags { grid-column: 1; justify-content: flex-start; max-width: none; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 205px; }
  .nav-cta { padding: 9px 14px; }
  .hero { padding: 54px 0 64px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 62px); }
  .hero-lead { font-size: 18px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .hero-panel { padding: 26px; border-radius: 22px; }
  .work-item { gap: 18px; }
  .contact-section { padding: 74px 0; }
  .footer-inner { min-height: 82px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 6px; padding-block: 18px; }
}
