:root {
  --paper: #f7f7f2;
  --ink: #111111;
  --muted: #686861;
  --line: #d9d9d1;
  --cyan: #09c3eb;
  --pink: #fc00ad;
  --yellow: #f4d64b;
  --green: #88e6bd;
  --radius: 8px;
  --page: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: white; padding: 12px 16px;
}
.skip-link:focus { top: 16px; }

.site-header {
  width: var(--page); height: 84px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid var(--line); position: relative; z-index: 20;
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { width: 96px; height: 42px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; }
nav a, .footer-links a { position: relative; }
nav a::after, .footer-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s ease;
}
nav a:hover::after, .footer-links a:hover::after { right: 0; }
.header-cta { justify-self: end; border: 1px solid var(--ink); padding: 11px 14px; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.header-cta:hover { background: var(--ink); color: white; }

.hero {
  width: var(--page); min-height: calc(100svh - 84px); margin: 0 auto;
  display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: 72px;
  padding: 70px 0 84px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: 0; }
h1 { font-size: clamp(65px, 7.7vw, 116px); line-height: .88; letter-spacing: -.06em; margin: 0; font-weight: 800; }
h1 .accent { color: var(--pink); }
.hero-intro { max-width: 560px; margin: 38px 0 0; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.45; color: #4f4f4a; }
.studio-slogan { width: max-content; max-width: 100%; margin: 24px 0 0; padding: 8px 11px; border: 1px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font: 700 13px/1.2 "Manrope", sans-serif; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 0; padding: 0 19px; cursor: pointer; font-weight: 700; border-radius: 2px; }
.button-dark { color: white; background: var(--ink); box-shadow: 5px 5px 0 var(--pink); transition: transform .2s, box-shadow .2s; }
.button-dark:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--cyan); }
.text-link { font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.hero-stage { min-height: 630px; position: relative; border: 1px solid var(--ink); background: #eeeede; overflow: hidden; }
.hero-stage::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px); background-size: 36px 36px; }
.hero-stage::after { content: ""; position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); top: 12%; left: 16%; }
.hero-mark-wrap { position: absolute; z-index: 3; width: 66%; left: 18%; top: 15%; transform: rotate(-3deg); animation: hover 5s ease-in-out infinite; }
.hero-mark-wrap img { width: 100%; }
.orbit { position: absolute; z-index: 2; border: 2px solid var(--ink); border-radius: 50%; }
.orbit-one { width: 76%; height: 24%; left: 12%; top: 42%; transform: rotate(-14deg); }
.orbit-two { width: 58%; height: 18%; left: 20%; top: 46%; transform: rotate(25deg); border-style: dashed; }
.idea-note { position: absolute; z-index: 5; padding: 12px 16px; border: 1px solid var(--ink); font: 700 16px "Manrope", sans-serif; box-shadow: 4px 4px 0 var(--ink); }
.note-one { left: 5%; top: 7%; background: var(--yellow); transform: rotate(-5deg); }
.note-two { right: 5%; top: 31%; background: white; transform: rotate(6deg); }
.spark { position: absolute; z-index: 5; font-size: 40px; }
.spark-one { right: 8%; top: 7%; color: var(--pink); }
.spark-two { left: 9%; top: 67%; color: var(--ink); font-size: 26px; }
.stage-caption { position: absolute; z-index: 4; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--ink); padding-top: 14px; }
.stage-caption span { font: 700 12px "Manrope", sans-serif; }
.stage-caption p { margin: 0; text-align: right; font: 700 14px/1.35 "Manrope", sans-serif; }
@keyframes hover { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

.signal-strip { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 52px); padding: 16px 24px; background: var(--ink); color: white; text-transform: uppercase; font: 600 clamp(11px, 1vw, 14px) "Manrope", sans-serif; letter-spacing: .1em; white-space: nowrap; overflow: hidden; }
.signal-strip b { color: var(--pink); }

.section { padding: 130px max(24px, calc((100vw - min(1240px, calc(100vw - 48px))) / 2)); }
.section-heading { display: grid; grid-template-columns: 1fr 1.2fr .8fr; gap: 42px; align-items: end; margin-bottom: 74px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .expertise-intro h2, .contact-copy h2 { font-size: clamp(48px, 5vw, 76px); line-height: .97; letter-spacing: -.055em; margin: 0; }
.section-heading > p:last-child { margin: 0; line-height: 1.6; color: var(--muted); }
.project-list { border-top: 1px solid var(--ink); }
.project { --project-wash: #fff; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 48px 112px 1fr 54px; gap: 28px; align-items: center; padding: 28px 16px; border-bottom: 1px solid var(--ink); }
.project::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--project-wash); transform: scaleX(0); transform-origin: right center; transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.project:hover::before, .project:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.project-lsd { --project-wash: #ffe5f7; }
.project-tripper { --project-wash: #dff8ff; }
.project-twogeta { --project-wash: #e9f4ef; }
.project-typoer { --project-wash: #f3ede1; }
.project-index { align-self: start; font: 700 11px "Manrope", sans-serif; }
.project img { width: 112px; height: 112px; border-radius: 22px; object-fit: cover; box-shadow: 0 8px 22px rgba(0,0,0,.09); transition: transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s ease; }
.project-meta { display: flex; gap: 10px; margin-bottom: 8px; text-transform: uppercase; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.project-meta span + span::before { content: "·"; margin-right: 10px; }
.project h3 { font-size: clamp(30px, 3vw, 48px); line-height: 1; margin: 0; }
.project p { margin: 9px 0 0; color: var(--muted); max-width: 560px; }
.project-arrow { width: 48px; height: 48px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 20px; transition: background .35s, color .35s, transform .55s cubic-bezier(.22, 1, .36, 1); }
.project:hover img, .project:focus-visible img { transform: translateY(-4px) rotate(-2deg) scale(1.04); box-shadow: 0 15px 30px rgba(0,0,0,.14); }
.project:hover .project-arrow, .project:focus-visible .project-arrow { background: var(--ink); color: white; transform: translate(4px, -4px); }

.expertise-section { background: var(--ink); color: white; }
.expertise-intro { display: grid; grid-template-columns: .75fr 1.2fr .75fr; gap: 50px; align-items: end; margin-bottom: 72px; }
.expertise-intro > p:last-child { color: #b4b4ac; line-height: 1.65; margin: 0; }
.accent-cyan { color: var(--cyan); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #494944; }
.capability { min-height: 480px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid #494944; }
.capability:last-child { border: 0; }
.capability > span { color: #92928c; font-size: 11px; }
.capability-icon { margin: 54px 0 38px; font: 400 74px/1 Georgia, serif; color: var(--pink); }
.capability:nth-child(2) .capability-icon { color: var(--yellow); }
.capability:nth-child(3) .capability-icon { color: var(--cyan); }
.capability h3 { font-size: 27px; margin: 0 0 14px; }
.capability p { color: #b4b4ac; line-height: 1.55; margin: 0; }
.capability ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.capability li { border: 1px solid #5b5b55; padding: 7px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }

.process-section { background: var(--yellow); }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.process-list li { padding: 24px 28px 40px; border-right: 1px solid var(--ink); min-height: 260px; }
.process-list li:last-child { border: 0; }
.process-list span { font-size: 11px; font-weight: 700; }
.process-list h3 { font-size: 38px; margin: 54px 0 13px; }
.process-list p { line-height: 1.5; margin: 0; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.contact-copy > p:nth-of-type(2) { max-width: 520px; margin: 30px 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-weight: 700; }
.contact-details a { border-bottom: 1px solid var(--ink); }
.inquiry-form { border: 1px solid var(--ink); padding: 32px; background: white; box-shadow: 10px 10px 0 var(--cyan); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-form label { display: grid; gap: 8px; margin-bottom: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: #f7f7f2; color: var(--ink); padding: 14px 12px; outline: none; text-transform: none; letter-spacing: 0; }
.inquiry-form textarea { resize: vertical; min-height: 130px; }
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus { box-shadow: inset 0 -3px var(--pink); }
.inquiry-form .button { width: 100%; }
.form-note { color: var(--muted); font-size: 11px; margin: 14px 0 0; text-align: center; }

footer { width: var(--page); margin: 0 auto; min-height: 130px; padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 82px; height: 36px; }
.footer-links { display: flex; gap: 22px; }

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

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding: 64px 0 48px; }
  h1 { font-size: clamp(62px, 17vw, 100px); }
  .hero-stage { min-height: min(126vw, 620px); }
  .section { padding: 92px 24px; }
  .section-heading, .expertise-intro { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading > p:last-child { max-width: 520px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 380px; border-right: 0; border-bottom: 1px solid #494944; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .contact-section { grid-template-columns: 1fr; gap: 54px; }
  footer { grid-template-columns: auto 1fr; }
  footer > span:last-child { justify-self: end; }
  .footer-links { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .site-header { height: 66px; }
  .brand img { width: 82px; height: 36px; }
  .header-cta { padding: 10px 11px; }
  .hero { padding-top: 48px; }
  .hero-intro { margin-top: 28px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 32px; }
  .button { width: 100%; }
  .hero-stage { min-height: 118vw; }
  .idea-note { font-size: 13px; }
  .signal-strip { justify-content: flex-start; }
  .section { padding: 76px 20px; }
  .section-heading h2, .expertise-intro h2, .contact-copy h2 { font-size: 45px; }
  .project { grid-template-columns: 30px 76px 1fr; gap: 14px; padding: 22px 2px; }
  .project img { width: 76px; height: 76px; border-radius: 17px; }
  .project h3 { font-size: 27px; }
  .project p { font-size: 13px; line-height: 1.4; }
  .project-meta span:last-child { display: none; }
  .project-arrow { display: none; }
  .capability { padding: 24px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--ink) !important; }
  .process-list li:last-child { border-bottom: 0 !important; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 23px; box-shadow: 7px 7px 0 var(--cyan); }
  footer { grid-template-columns: 1fr; align-items: start; padding: 34px 0; }
  footer > span:last-child { justify-self: start; }
  .footer-links { grid-row: auto; grid-column: auto; flex-wrap: wrap; }
}
