:root {
  --black: #080808;
  --ink: #111;
  --paper: #fff;
  --soft: #f1f1f1;
  --line: #d5d5d5;
  --accent: #e53935;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Roboto, Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
h1, h2, h3 { font-family: "Roboto Slab", Georgia, serif; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); max-width: 1060px; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 5vw, 4.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.eyebrow { margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.center { text-align: center; margin-top: 48px; }

.site-header { height: 86px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand img { width: 210px; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
nav a:hover { color: #ddd; }
.menu-toggle { display: none; color: #fff; border: 1px solid rgba(255,255,255,.5); background: transparent; padding: 9px 13px; }

.hero { min-height: 820px; position: relative; display: grid; align-items: center; color: #fff; background: url("assets/hero.jpg") center 42% / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero .lead { max-width: 720px; font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 28px 0 36px; }
.button { display: inline-block; padding: 15px 24px; border: 2px solid #fff; background: #fff; color: #000; text-decoration: none; font-weight: 700; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: transparent; color: #fff; }
.button.outline { color: #000; border-color: #000; }
.button.outline:hover { color: #fff; background: #000; }
.founder-card { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--max)) / 2)); bottom: 26px; display: flex; align-items: center; gap: 14px; }
.founder-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid white; }
.founder-card span { display: block; color: #ddd; font-size: .85rem; }

.trust { padding-block: 58px; text-align: center; }
.kicker { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.logo-row { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.logo-row img { width: 138px; height: 100px; object-fit: contain; margin: auto; filter: grayscale(1); opacity: .8; }

.manifesto { color: #fff; background: #0b0b0b; }
.split { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.split p { color: #c9c9c9; font-size: 1.15rem; }

.work h2, .services h2, .process > h2 { margin-bottom: 44px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project { height: 340px; position: relative; overflow: hidden; color: #fff; background: #111; }
.project.wide { grid-column: 1 / -1; height: 500px; }
.project img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s ease, opacity .5s ease; }
.project span { position: absolute; left: 24px; bottom: 20px; font-family: "Roboto Slab"; font-size: 1.4rem; font-weight: 700; text-shadow: 0 2px 15px #000; }
.project:hover img { transform: scale(1.035); opacity: 1; }
.instagram-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.social-card { min-height: 180px; padding: 25px; display: flex; align-items: center; gap: 25px; text-decoration: none; border: 1px solid var(--line); font-weight: 700; }
.social-card img { width: 110px; height: 110px; object-fit: contain; }

.services { color: #fff; background: #0b0b0b; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #444; border-left: 1px solid #444; }
.service-grid article { min-height: 235px; padding: 28px 24px; border-right: 1px solid #444; border-bottom: 1px solid #444; }
.service-grid span { color: #888; font-size: .8rem; }
.service-grid h3 { margin: 48px 0 12px; }
.service-grid p { color: #aaa; font-size: .92rem; }

.process-list { border-top: 1px solid #bbb; }
.process-list article { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid #bbb; }
.process-list b { font-family: "Roboto Slab"; font-size: 2rem; color: #aaa; }
.process-list h3 { margin-bottom: 8px; font-size: 1.6rem; }
.process-list p { max-width: 720px; color: #555; }
.process .button { background: #000; color: #fff; border-color: #000; }
.process .button:hover { color: #000; background: transparent; }

.story { position: relative; padding: 0; background: #000; color: #fff; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); height: 700px; opacity: .48; }
.story-grid img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.story-copy h2 { max-width: 900px; }
.story-copy p { max-width: 680px; margin: 25px auto 32px; font-size: 1.1rem; }

.contact { background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.contact-layout > div > p:last-child { margin-top: 20px; max-width: 420px; color: #555; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-size: .83rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #bbb; border-radius: 0; padding: 14px 13px; background: #fff; color: #111; font: inherit; }
input:focus, textarea:focus { outline: 2px solid #111; outline-offset: 2px; }
form .button { justify-self: start; background: #000; color: #fff; border-color: #000; }
.form-status { min-height: 1.5em; color: #555; font-size: .9rem; }

footer { padding: 32px 0; background: #050505; color: #aaa; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 180px; }

@media (max-width: 850px) {
  .site-header { height: 76px; }
  .brand img { width: 175px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 76px; inset-inline: 0; padding: 22px; flex-direction: column; align-items: stretch; background: #050505; }
  nav.open { display: flex; }
  .hero { min-height: 760px; }
  .founder-card { left: 20px; right: auto; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .logo-row, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .instagram-grid { grid-template-columns: 1fr; }
  .project.wide { grid-column: auto; height: 340px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid img:nth-child(n+3) { display: none; }
}

@media (max-width: 520px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .section { padding-block: 68px; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 2.65rem); }
  .hero-content { min-width: 0; overflow: hidden; }
  .hero .lead { font-size: 1rem; }
  .menu-toggle { position: absolute; right: 14px; }
  .logo-row { gap: 10px; }
  .logo-row img { width: 100px; height: 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-list article { grid-template-columns: 55px 1fr; }
  .social-card { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 850px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery img { height: 240px; } }

/* ---- Polish layer ---- */
:root { --ease: cubic-bezier(.22,.61,.36,1); }
::selection { background: var(--accent); color: #fff; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { text-wrap: balance; }

.site-header { position: fixed; transition: background .35s var(--ease), height .35s var(--ease), backdrop-filter .35s; border-bottom-color: transparent; }
.site-header.scrolled { height: 68px; background: rgba(8,8,8,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.12); }
nav a { position: relative; padding-block: 6px; }
nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
nav a:hover::after { transform: scaleX(1); }

.hero { background-attachment: scroll; }
.hero::before { content: ""; position: absolute; inset: 0; background: inherit; transform: scale(1.08); animation: heroZoom 18s var(--ease) forwards; }
.hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.2) 100%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%); z-index: 1; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .26s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.eyebrow { color: var(--accent); }
.hero .eyebrow, .services .eyebrow, .manifesto .eyebrow { color: #ff6a66; }

.button { border-radius: 999px; padding: 15px 30px; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.hero .button { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .button:hover { background: #fff; color: #000; border-color: #fff; }
.button:hover { box-shadow: 0 14px 34px rgba(0,0,0,.28); }

.founder-card { padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }

.logo-row img { transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo-row img:hover { filter: none; opacity: 1; transform: scale(1.06); }

.project, .gallery img { border-radius: 14px; }
.project { box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 55%); transition: opacity .4s; }
.project span { z-index: 2; }
.project span::after { content: " \2197"; opacity: 0; display: inline-block; transform: translateX(-6px); transition: .35s var(--ease); }
.project:hover span::after { opacity: 1; transform: none; }
.project img, .gallery img { transition: transform .8s var(--ease), opacity .5s; }
.gallery { overflow: hidden; }
.gallery img:hover { transform: scale(1.03); }

.service-grid article { transition: background .35s, transform .35s var(--ease); }
.service-grid article:hover { background: #151515; }
.service-grid article:hover span { color: var(--accent); }
.process-list article { transition: padding-left .35s var(--ease); }
.process-list article:hover { padding-left: 14px; }
.process-list article:hover b { color: var(--accent); }
.process-list b { transition: color .3s; }

.story-grid { opacity: .5; }
.story-grid img { transition: transform 1.2s var(--ease); }
.story:hover .story-grid img { transform: scale(1.04); }
.story-grid { overflow: hidden; }
.story-copy .button { background: var(--accent); border-color: var(--accent); color: #fff; }
.story-copy .button:hover { background: #fff; color: #000; border-color: #fff; }

input, textarea { border-radius: 10px; transition: border-color .25s, box-shadow .25s; }
input:focus, textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 4px rgba(229,57,53,.18); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-content > * { opacity: 1; transform: none; animation: none; transition: none; }
  .hero::before { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}
.logo-row { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-inline: auto; }
@media (max-width: 850px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
form .button:hover { background: transparent; color: #000; border-color: #000; }
.founder-card { right: auto; left: max(20px, calc((100vw - var(--max)) / 2)); }
