:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #111216;
  --surface-2: #17181d;
  --text: #f4f4f1;
  --muted: #a5a7ae;
  --soft: #767982;
  --line: rgba(255,255,255,.12);
  --accent: #8aa0ff;
  --accent-2: #c3ccff;
  --ember: #dd7747;
  --max: 1480px;
  --pad: clamp(20px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; width: 100%; }
.grid { display: none; }

.topbar { position: absolute; z-index: 30; top: 18px; left: 50%; width: min(calc(100% - 36px), var(--max)); min-height: 68px; padding: 0 10px 0 18px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(8,9,11,.64); box-shadow: 0 18px 55px rgba(0,0,0,.25); backdrop-filter: blur(22px) saturate(1.2); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; }
.brand-symbol { position: relative; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; overflow: hidden; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: #0a0b0f; box-shadow: 0 8px 26px rgba(138,160,255,.24); }
.brand-symbol::before, .brand-symbol::after, .brand-symbol i { display: none; }
.brand-symbol b { position: relative; z-index: 2; font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.brand-wordmark { font-size: 16px; font-weight: 820; letter-spacing: .09em; }
.brand-wordmark span { color: var(--accent-2); }
nav { display: flex; align-items: center; gap: 8px; }
nav a, .contact { padding: 10px 13px; border-radius: 8px; color: #d5d6da; font-size: 12px; font-weight: 650; letter-spacing: .02em; text-decoration: none; transition: color .2s ease, background .2s ease; }
nav a:hover, nav a[aria-current="page"] { color: white; background: rgba(255,255,255,.08); }
.contact { justify-self: end; border: 1px solid rgba(255,255,255,.18); }
.contact:hover { color: white; background: rgba(255,255,255,.08); }
.contact span { color: var(--accent-2); margin-left: 9px; }

.hero { position: relative; min-height: min(1020px, 100svh); overflow: hidden; display: flex; align-items: center; padding: 150px max(var(--pad), calc((100vw - var(--max)) / 2)) 125px; }
.hero-media { position: absolute; inset: 0; animation: heroIn 1.5s cubic-bezier(.2,.8,.2,1) both; }
.hero-media img { height: 100%; object-fit: cover; object-position: 68% 50%; transform: translate(var(--px, 0), var(--py, 0)) scale(1.025); transition: transform 450ms cubic-bezier(.2,.8,.2,1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.98) 0%, rgba(8,9,11,.86) 31%, rgba(8,9,11,.19) 67%, rgba(8,9,11,.28)), linear-gradient(0deg, rgba(8,9,11,.94) 0%, transparent 38%); }
.hero-wash { position: absolute; inset: 0; background: radial-gradient(circle at 74% 38%, rgba(138,160,255,.14), transparent 26%), linear-gradient(115deg, transparent 42%, rgba(221,119,71,.08)); mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,9,11,.22), transparent 32%); }
.hero-interface { position: absolute; z-index: 4; right: max(var(--pad), calc((100vw - var(--max)) / 2)); top: 118px; display: flex; gap: 7px; width: max-content; }
.hero-interface span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; color: rgba(255,255,255,.72); background: rgba(8,9,11,.38); font-size: 10px; font-weight: 650; letter-spacing: .04em; backdrop-filter: blur(12px); }
.hero-copy { position: relative; z-index: 4; width: min(720px, 58vw); animation: copyIn .9s .12s cubic-bezier(.2,.8,.2,1) both; }
.kicker { margin: 0 0 24px; color: #c6c8cd; font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 11px 4px 0; border-radius: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin: 0; font-weight: 760; letter-spacing: -.065em; line-height: .88; text-wrap: balance; }
h1 { margin-bottom: 34px; font-size: clamp(5.2rem, 9.4vw, 9.6rem); }
h1 em, h2 em { color: var(--accent-2); font-style: normal; }
.intro { max-width: 610px; color: #c7c8cd; font-size: clamp(1.04rem, 1.4vw, 1.26rem); line-height: 1.68; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: var(--text); background: rgba(11,12,15,.36); text-decoration: none; font-size: 12px; font-weight: 720; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; backdrop-filter: blur(12px); }
.button.primary { color: #0b0c10; background: linear-gradient(135deg, #d4daff, #8ea4ff); border-color: transparent; box-shadow: 0 13px 34px rgba(138,160,255,.22); }
.button.primary span { margin-left: 20px; }
.button:hover { transform: translateY(-2px); background-color: rgba(255,255,255,.1); }
.button.primary:hover { box-shadow: 0 18px 44px rgba(138,160,255,.3); }
.hero-foot { position: absolute; z-index: 5; left: max(var(--pad), calc((100vw - var(--max)) / 2)); right: max(var(--pad), calc((100vw - var(--max)) / 2)); bottom: 32px; display: grid; grid-template-columns: 230px 280px 1fr; align-items: end; gap: 30px; }
.hero-foot div { padding-left: 13px; border-left: 2px solid rgba(221,119,71,.78); }
.hero-foot small { display: block; margin-bottom: 4px; color: #82858d; font-size: 10px; }
.hero-foot strong { color: #d8d9dd; font-size: 12px; font-weight: 650; }
.hero-foot p { justify-self: end; margin: 0; color: #8c8e95; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero-foot p span { margin-left: 10px; color: var(--accent-2); }

.studio { max-width: var(--max); margin: 0 auto; padding: 150px var(--pad); display: grid; grid-template-columns: 100px .9fr 1fr; gap: 64px; border-bottom: 1px solid var(--line); }
.section-code { color: #70737c; font-size: 11px; font-weight: 650; letter-spacing: .08em; white-space: nowrap; }
.studio h2 { font-size: clamp(4rem, 6.4vw, 7rem); }
.studio-copy .lead { max-width: 650px; color: #d0d1d5; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.45; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 58px; }
.profile-grid article { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.profile-grid article > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #0b0c10; background: var(--accent-2); font-size: 10px; font-weight: 800; }
.profile-grid h3 { margin: 58px 0 13px; font-size: 1rem; letter-spacing: .05em; }
.profile-grid p { color: var(--muted); }
.project { max-width: var(--max); min-height: 680px; margin: 0 auto 120px; display: grid; grid-template-columns: 1.35fr .65fr; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.project-image { position: relative; overflow: hidden; }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 64%, var(--surface)); }
.project-image img { height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); }
.project-copy { padding: 54px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.status { margin: 60px 0 26px; color: #c1c3c9; font-size: 11px; font-weight: 650; }
.status span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #87d99a; box-shadow: 0 0 0 5px rgba(135,217,154,.1); }
.project h2 { margin: 0 0 28px; font-size: clamp(3.8rem, 5.8vw, 6.6rem); }
.project-copy > p:not(.status) { color: #aeb0b7; font-size: 1.05rem; line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0 42px; }
.project-tags span { padding: 7px 10px; border-radius: 99px; color: #b7bac1; background: rgba(255,255,255,.06); font-size: 10px; font-weight: 650; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid var(--accent-2); color: var(--text); font-size: 11px; font-weight: 720; letter-spacing: .04em; text-decoration: none; }
.text-link span { color: var(--accent-2); margin-left: 20px; }
footer { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: #777a82; font-size: 10px; font-weight: 600; letter-spacing: .05em; }
footer a { color: #b9bbc1; text-decoration: none; }

@keyframes heroIn { from { transform: scale(1.04); filter: brightness(.55); } to { transform: scale(1); filter: brightness(1); } }
@keyframes copyIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .topbar { width: min(calc(100% - 28px), var(--max)); }
  nav { display: none; }
  .topbar { grid-template-columns: 1fr 1fr; }
  .hero-interface { display: none; }
  .hero-copy { width: min(720px, 72vw); }
  .studio { grid-template-columns: 80px 1fr; padding-inline: 24px; }
  .studio-copy { grid-column: 2; }
  .project { margin-inline: 24px; grid-template-columns: 1fr; }
  .project-image { min-height: 500px; }
  .project-image::after { background: linear-gradient(0deg, var(--surface), transparent 34%); }
}
@media (max-width: 680px) {
  .topbar { top: 12px; width: calc(100% - 24px); min-height: 60px; padding-left: 12px; border-radius: 12px; }
  .contact { border: 0; padding: 8px 2px; }
  .brand-wordmark { font-size: 14px; }
  .hero { min-height: 820px; padding: 110px 16px 78px; align-items: flex-end; }
  .hero-media img { object-position: 59% 50%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8,9,11,.99) 8%, rgba(8,9,11,.72) 62%, rgba(8,9,11,.18)), linear-gradient(90deg, rgba(8,9,11,.58), transparent); }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.4rem, 15vw, 4.7rem); line-height: .89; letter-spacing: -.055em; }
  h1 em { display: block; font-size: .78em; line-height: 1.05; }
  .intro { font-size: 1rem; max-width: 96%; }
  .actions { display: grid; }
  .button { width: 100%; }
  .hero-foot { display: none; }
  .studio { padding: 88px 16px; display: block; }
  .studio .section-code { margin-bottom: 42px; }
  .studio h2 { font-size: 3.45rem; }
  .studio-copy { margin-top: 48px; }
  .studio-copy .lead { font-size: 1.22rem; }
  .profile-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .profile-grid article { min-height: auto; }
  .profile-grid h3 { margin-top: 34px; }
  .project { min-height: auto; margin: 0 16px 80px; border-radius: 16px; }
  .project-image { min-height: 340px; }
  .project-copy { padding: 36px 24px 48px; }
  .status { margin: 44px 0 22px; }
  .project h2 { font-size: 3.5rem; }
  footer { margin: 0; padding-inline: 16px; flex-direction: column; align-items: flex-start; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
