:root {
  --bg: #0a0a0c;
  --panel: #121216;
  --panel-2: #19191f;
  --line: #292930;
  --text: #f5f3f2;
  --muted: #a09fa8;
  --red: #ff2d46;
  --red-soft: #ff8995;
  --max: 1180px;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 'DM Sans', sans-serif; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(700px 480px at 88% 4%, #4d101d55, transparent 70%),
              radial-gradient(650px 500px at -10% 52%, #27273735, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red-soft); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }
h1, h2, h3, .brand { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.045em; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1.02; margin: 14px 0 18px; }
.section { padding: 108px 0; border-top: 1px solid #ffffff0d; }
.section-intro { max-width: 660px; color: var(--muted); }
.accent { color: var(--red); }
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; background: #0a0a0cdb; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff12; }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.14rem; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand span { color: var(--red); }
.brand-logo { display: none; width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { display: inline-block; }
.brand-dot { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav-links a { color: #c2c0c7; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 17px; border: 1px solid #ff2d4670; border-radius: 999px; color: #fff !important; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: white; background: var(--panel); font-size: 1.25rem; }
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 74px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(36px, 6vw, 90px); }
.hero h1 { font-size: clamp(3.65rem, 8.7vw, 8.2rem); line-height: .88; margin: 24px 0 25px; font-weight: 700; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1px #aaa8b2; }
.hero-copy { max-width: 590px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 21px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); border-color: #666; }
.btn-primary { background: linear-gradient(110deg, var(--red), #ff7180); border: 0; color: #160b0d; }
.btn-primary:hover { background: linear-gradient(110deg, #ff5267, #ff9aa3); }
.hero-note { margin-top: 34px; color: #777680; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.portrait-wrap { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.portrait-frame { position: relative; overflow: hidden; border: 1px solid #ffffff20; border-radius: 28px; background: #17171c; aspect-ratio: 4 / 5; box-shadow: 0 35px 100px #0009; }
.portrait-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, #0a0a0c88); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.portrait-glow { position: absolute; width: 72%; height: 70%; right: -10%; top: 12%; background: #ff2d462c; filter: blur(75px); z-index: -1; }
.portrait-caption { position: absolute; z-index: 2; left: 24px; bottom: 22px; }
.portrait-caption strong { display: block; font: 700 1.18rem 'Space Grotesk', sans-serif; }
.portrait-caption span { color: #d0cdd2; font-size: .82rem; }
.float-tag { position: absolute; left: -42px; top: 18%; padding: 12px 16px; border: 1px solid #ffffff25; border-radius: 14px; background: #15151bdc; backdrop-filter: blur(12px); color: #e7e5e8; font-size: .8rem; box-shadow: 0 12px 35px #0005; }
.float-tag b { color: var(--red-soft); }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.about-aside { position: sticky; top: 115px; }
.about-aside .mini-card { margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #18181e, #101014); }
.mini-card strong { display: block; font: 700 1.9rem 'Space Grotesk', sans-serif; }
.mini-card span { color: var(--muted); font-size: .86rem; }
.about-copy p { color: #c2c0c7; font-size: 1.04rem; }
.about-copy p.lead { color: #fff; font-size: 1.22rem; line-height: 1.55; }
.about-block { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.about-block h3 { margin-bottom: 10px; font-size: 1.25rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #111115; }
.fact small { display: block; margin-bottom: 7px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.fact strong { font-size: .95rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.service-card { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #17171d, #101014); transition: transform .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: #ff2d4677; }
.service-no { color: var(--red-soft); font: 700 .78rem 'Space Grotesk', sans-serif; letter-spacing: .12em; }
.service-card h3 { margin: 27px 0 10px; font-size: 1.25rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.skill-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.skill-group { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #111115; }
.skill-group h3 { margin-bottom: 16px; font-size: 1.18rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 8px 12px; border: 1px solid #34343d; border-radius: 999px; color: #d2d0d5; font-size: .82rem; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 20px; }
.filter { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.filter.active, .filter:hover { border-color: var(--red); background: #ff2d4617; color: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #141419; }
.project-image { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #241c26, #15151b); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover .project-image img { transform: scale(1.045); }
.project-info { padding: 17px 18px 19px; }
.project-info small { color: var(--red-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.project-info h3 { margin: 6px 0 5px; font-size: 1.12rem; }
.project-info p { margin: 0; color: var(--muted); font-size: .84rem; }
.empty-state { grid-column: 1 / -1; padding: 50px 25px; border: 1px dashed #44434d; border-radius: 18px; text-align: center; color: var(--muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.process-step { padding: 22px; border-top: 2px solid var(--red); background: #121216; border-radius: 0 0 16px 16px; }
.process-step small { color: var(--red-soft); font: 700 .75rem 'Space Grotesk', sans-serif; }
.process-step h3 { margin: 16px 0 8px; font-size: 1.08rem; }
.process-step p { color: var(--muted); font-size: .84rem; margin: 0; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 42px; align-items: start; }
.contact-links { display: grid; gap: 10px; margin-top: 25px; }
.contact-link { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: #121216; }
.contact-link span { color: var(--muted); font-size: .83rem; }
.contact-link b { font-size: .9rem; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #121216; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #c7c5cc; font-size: .82rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 12px 14px; border: 1px solid #33333c; border-radius: 11px; outline: none; color: white; background: #0d0d11; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field select option { background: #111; }
.form-status { grid-column: 1 / -1; min-height: 22px; color: var(--red-soft); font-size: .86rem; }
.inquiry-form .btn { grid-column: 1 / -1; justify-self: start; }
footer { padding: 30px 0; border-top: 1px solid #ffffff12; color: var(--muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { color: white; font: 700 1.05rem 'Space Grotesk', sans-serif; }
.loading { color: var(--muted); }

.designer-background {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  opacity: .22;
}
main, footer { position: relative; z-index: 1; }
.designer-background svg { width: 100%; height: 100%; display: block; }
.designer-grid { opacity: .26; }
.designer-path {
  fill: none; stroke: url(#designerGradient); stroke-width: 2.2;
  stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: drawVector 18s ease-in-out infinite;
}
.designer-handle { fill: none; stroke: #ff8995; stroke-width: 1.4; stroke-dasharray: 4 8; opacity: .7; }
.designer-anchor { fill: #0a0a0c; stroke: #ff2d46; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: anchorPulse 7s ease-in-out infinite; }
.designer-control { fill: #ff8995; opacity: .8; }
.designer-selection { fill: none; stroke: #f5f3f2; stroke-width: 1.2; stroke-dasharray: 5 9; opacity: .65; transform-box: fill-box; transform-origin: center; animation: selectionDrift 22s ease-in-out infinite alternate; }
.designer-crosshair { fill: none; stroke: #ff8995; stroke-width: 1.3; opacity: .7; transform-box: fill-box; transform-origin: center; animation: slowSpin 36s linear infinite; }
.designer-swatch { stroke: #ffffff; stroke-width: 1; opacity: .88; transform-box: fill-box; transform-origin: center; animation: swatchFloat 8s ease-in-out infinite; }
.designer-swatch:nth-child(2) { animation-delay: -2s; }
.designer-swatch:nth-child(3) { animation-delay: -4s; }
.designer-swatch:nth-child(4) { animation-delay: -6s; }
@keyframes drawVector {
  0% { stroke-dashoffset: 1; }
  42%, 68% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}
@keyframes anchorPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }
@keyframes selectionDrift { to { transform: translate(18px, -14px) rotate(3deg); } }
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes swatchFloat { 50% { transform: translateY(-12px); } }

html.js-motion [data-reveal] {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity .78s cubic-bezier(.2,.7,.2,1), transform .88s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform;
}
html.js-motion [data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
html.js-motion [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
html.js-motion [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
@media (max-width: 680px) {
  .designer-background { opacity: .14; }
  .designer-grid { opacity: .2; }
  .designer-selection, .designer-crosshair { opacity: .42; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 28px; }
  .float-tag { left: -18px; }
  .about-grid { gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .nav { height: 66px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 18px 22px 22px; background: #0d0d11f5; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid #ffffff0b; }
  .nav-cta { text-align: center; margin-top: 12px; border: 1px solid #ff2d4670 !important; padding: 10px 15px !important; }
  .hero { min-height: auto; padding: 118px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { font-size: clamp(3.45rem, 17vw, 6rem); }
  .portrait-wrap { width: min(88%, 410px); justify-self: center; }
  .float-tag { left: -18px; top: 12%; }
  .section { padding: 78px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-aside { position: static; }
  .facts, .skill-groups { grid-template-columns: 1fr; }
  .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-form { grid-template-columns: 1fr; padding: 20px; }
  .field.full, .form-status, .inquiry-form .btn { grid-column: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.client-counter {
  margin-top: 26px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 18, 22, 0.78);
}
.client-counter strong {
  font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 'Space Grotesk', sans-serif;
  color: var(--text);
  letter-spacing: -0.04em;
}
.client-counter strong span {
  color: var(--red);
}
.client-counter small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}