/* palette: bg=#000000 fg=#FFFFFF accent=#5DE0C7 */
/* fonts: display="Poppins" body="Inter" mono="Space Mono" */

:root {
  --bg: #000000;
  --bg-alt: #0A0E0D;
  --bg-panel: #0E1413;
  --fg: #FFFFFF;
  --fg-soft: #D6DEDC;
  --muted: #8C9694;
  --accent: #5DE0C7;
  --accent-deep: #2FB8A8;
  --green: #3FE07D;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --serif: 'Poppins', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --script: 'Pacifico', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin: 0 0 18px;
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.03em; }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #000;
  background: var(--accent);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  clip-path: polygon(25% 0, 100% 0, 100% 75%, 75% 100%, 0 100%, 0 25%);
}
.nav { display: none; align-items: center; gap: 40px; }
.nav a {
  font-size: 14px;
  color: var(--fg-soft);
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }
.header__cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn--primary { background: var(--accent); color: #04110E; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 15px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent);
  transition: gap 0.25s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 120;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: #000;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 28px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.03em; color: var(--fg-soft); padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { align-self: flex-start; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px 0 90px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; animation: heroZoom 9s var(--ease) forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0.35), #000 78%);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 12px 0 0;
}
.hero h1 em {
  font-style: normal;
  font-family: var(--script);
  font-weight: 400;
  color: var(--accent);
  font-size: 0.92em;
}
.hero__sub {
  max-width: 620px; margin: 30px auto 0;
  color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.18rem);
}
.hero__cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  margin-top: 64px; display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__mouse { width: 22px; height: 34px; border: 1px solid var(--muted); border-radius: 12px; position: relative; }
.hero__mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px; border-radius: 2px;
  background: var(--accent); transform: translateX(-50%); animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 10px); } 100% { opacity: 0; } }

/* Award badge rail */
.award-badge {
  position: fixed; right: 0; top: 42%; z-index: 90;
  writing-mode: vertical-rl;
  background: var(--accent); color: #04110E;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 20px 8px; display: none;
}
.award-badge strong { font-family: var(--serif); font-weight: 700; }
@media (min-width: 1024px) { .award-badge { display: inline-flex; } }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.02em; font-weight: 600;
}
.section-head p { margin-top: 22px; color: var(--muted); font-size: 1.06rem; }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.16; letter-spacing: -0.02em;
  max-width: 960px; margin: 0 auto;
  color: var(--muted);
}
.manifesto p em { font-style: normal; color: var(--fg); }
.manifesto p .tealword { color: var(--accent); font-family: var(--script); font-weight: 400; }

.pullquote { background: var(--fg); color: #000; }
.pullquote .container { text-align: center; position: relative; }
.pullquote__mark {
  font-family: var(--serif); font-weight: 700; font-size: 8rem; line-height: 0.6;
  color: var(--accent-deep); display: block; height: 60px;
}
.pullquote blockquote {
  margin: 0 auto; max-width: 900px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -0.02em;
}
.pullquote cite { display: block; margin-top: 34px; font-style: normal; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #444; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); border-color: rgba(93,224,199,0.45); box-shadow: 0 24px 60px -30px rgba(93,224,199,0.35); }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.card h3 { font-size: 1.4rem; margin: 18px 0 12px; line-height: 1.15; }
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.card__tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-soft); border: 1px solid var(--border-soft); border-radius: 999px; padding: 5px 11px;
}

/* Work / case card with image */
.work-card { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-panel); }
.work-card__img { aspect-ratio: 16 / 11; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: transform 0.6s var(--ease), opacity 0.4s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.06); opacity: 0.85; }
.work-card__body { padding: 26px 28px 30px; }
.work-card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.work-card__body p { color: var(--muted); font-size: 0.96rem; }
.work-card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Process list ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 34px 0; border-top: 1px solid var(--border-soft); }
@media (min-width: 768px) { .step { grid-template-columns: 90px 260px 1fr; gap: 32px; align-items: baseline; } }
.step:last-child { border-bottom: 1px solid var(--border-soft); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border-soft); }
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 2.5vw, 1.35rem); letter-spacing: -0.01em;
}
.faq__q span.ico { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.3s var(--ease); }
.faq__q span.ico::before, .faq__q span.ico::after { content: ""; position: absolute; background: var(--accent); left: 50%; top: 50%; }
.faq__q span.ico::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__q span.ico::after { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: opacity 0.3s var(--ease); }
.faq__item[data-open="true"] .faq__q span.ico::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { color: var(--muted); font-size: 1rem; line-height: 1.75; padding: 0 44px 28px 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.cta-band h2 em { font-style: normal; font-family: var(--script); font-weight: 400; color: var(--accent); }
.cta-band p { max-width: 560px; margin: 24px auto 0; color: var(--muted); }
.cta-band .hero__cta { margin-top: 38px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.info-block { margin-bottom: 30px; }
.info-block h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 10px; }
.info-block p { color: var(--fg-soft); font-size: 1.02rem; }
.info-block a:hover { color: var(--accent); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 14px 16px; transition: border-color 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 0.82rem; color: var(--muted); }
.form__note a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: 80px 0 40px; }
.footer__top { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { color: var(--muted); font-size: 0.96rem; max-width: 340px; margin-top: 20px; }
.footer h5 { font-family: var(--mono); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin: 0 0 18px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: var(--fg-soft); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 12px; justify-content: space-between; align-items: flex-start;
  font-size: 0.84rem; color: var(--muted);
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; align-items: center; } }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(60px, 10vw, 120px) 0; }
.legal__wrap { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; margin-bottom: 16px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 48px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 1rem; line-height: 1.8; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }

/* thank you */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; }
.thanks h1 em { font-style: normal; font-family: var(--script); font-weight: 400; color: var(--accent); }
.thanks p { color: var(--muted); margin: 24px 0 34px; }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-panel); border: 1px solid var(--border-soft); padding: 32px 34px; max-width: 480px; border-radius: 14px; }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.cookie-popup__card p a { color: var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #04110E; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

@media (min-width: 768px) { .cookie-popup { align-items: flex-end; justify-content: flex-start; } }

/* utilities */
.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--fg-soft); line-height: 1.6; max-width: 720px; }
.mt-0 { margin-top: 0; }
.text-accent { color: var(--accent); }
