:root {
  color-scheme: dark;
  --bg: #0c0d15;
  --panel: #151726;
  --line: #303349;
  --text: #f5f4ff;
  --muted: #c3c5d7;
  --accent: #c1baff;
  --ink: #181331;
  --gutter: clamp(1.125rem, 4.7vw, 4.5rem);
  --header-height: 4.65rem;
  font-family: "Be Vietnam Pro", "Noto Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid #e0daff; outline-offset: 5px; }
img { display: block; max-inline-size: 100%; }
p, figure, h1, h2, h3 { margin: 0; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 76rem); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; translate: 0 -200%; padding: .65rem 1rem; background: var(--accent); color: var(--ink); }
.skip:focus { translate: 0; }

.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid #d9d3ff20; background: #0c0d16f4; backdrop-filter: blur(16px); }
.bar { min-height: var(--header-height); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.0625rem; white-space: nowrap; letter-spacing: -.03em; }
.wordmark-text > span { color: var(--muted); font-weight: 500; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.65rem); font-size: .9rem; font-weight: 600; }
nav > a { min-height: 44px; display: inline-grid; place-items: center; padding: .3rem .55rem; border-radius: .5rem; color: var(--muted); }
nav > a[aria-current], nav > a:hover { color: var(--text); background: #c1baff15; }
nav .nav-button { min-height: 44px; padding: .45rem 1rem; border-color: #c1baff55; color: var(--accent); }
.menu { display: none; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.2rem; text-align: center; border: 1px solid transparent; border-radius: .65rem; font-weight: 700; font-size: .925rem; line-height: 1.45; transition: background-color .18s, border-color .18s, color .18s; }
.primary { background: var(--accent); color: var(--ink); }
.primary:hover { background: #d9d4ff; }
.secondary { border-color: #d7d2ff5c; background: #14182caa; color: var(--text); }
.secondary:hover { border-color: var(--accent); background: #302a55; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #101526; border-bottom: 1px solid var(--line); }
.hero-media, .hero::before { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 61% 54%; }
.hero::before { z-index: 0; content: ""; pointer-events: none; background: linear-gradient(90deg,#0a0d18f5 3%,#0a0d18af 42%,#0a0d1812 78%),linear-gradient(0deg,#0c0d17df,transparent 34%); }
.hero-wrap { position: relative; display: grid; align-content: center; min-height: clamp(35rem, calc(82svh - var(--header-height)), 49rem); padding-block: clamp(4rem, 9vw, 8rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--accent); font-size: .8125rem; font-weight: 700; line-height: 1.5; letter-spacing: .084em; text-transform: uppercase; }
.line { width: 1.3rem; height: 2px; flex: none; background: currentColor; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.045em; }
h1 { margin-top: 1.25rem; font-size: clamp(2.8rem, 7.2vw, 6.65rem); line-height: 1.12; }
h1 span, h1 em { display: block; }
h1 em { font-style: normal; color: var(--accent); }
h2 { margin-top: .7rem; font-size: clamp(2.125rem, 4.7vw, 4.125rem); line-height: 1.17; text-wrap: balance; }
.intro { margin-top: 1.45rem; max-width: 36ch; color: #ececfa; font-size: clamp(1.02rem, 1.55vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }

.section { padding-block: clamp(4.2rem, 8vw, 7.25rem); }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.section-head > p { color: var(--muted); max-width: 40ch; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.card { padding: clamp(1.25rem, 3vw, 2rem); background: linear-gradient(150deg,#1c1d33,#131424 75%); border: 1px solid var(--line); border-radius: 1rem; }
.card h3 { margin-top: 1.25rem; font-size: clamp(1.2rem, 2vw, 1.48rem); line-height: 1.35; }
.card p { margin-top: .55rem; color: var(--muted); }
.icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #c1baff55; border-radius: .6rem; background: #c1baff16; color: var(--accent); font-size: 1.55rem; line-height: 1; }
.icon-bars { display: flex; align-items: end; justify-content: center; gap: 3px; padding-bottom: 11px; }
.icon-bars i { width: 3px; height: 8px; background: currentColor; border-radius: 2px; }
.icon-bars i:nth-child(2) { height: 12px; }
.icon-bars i:nth-child(3) { height: 17px; }
.icon-globe i { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.icon-globe i::before { content: ""; width: 9px; height: 17px; border: 1px solid currentColor; border-radius: 50%; }
.icon-globe i::after { content: ""; position: absolute; top: 8px; width: 17px; height: 1px; background: currentColor; }

.process { background: #121425; border-block: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.studio { display: grid; overflow: hidden; border: 1px solid #514c72; border-radius: 1rem; min-height: 24rem; align-self: stretch; }
.studio img { width: 100%; height: 100%; object-fit: cover; }
.steps { margin-top: 1.5rem; border-bottom: 1px solid var(--line); }
.steps details { border-top: 1px solid var(--line); }
.steps summary { display: grid; grid-template-columns: 1fr 1.5rem; align-items: center; gap: .75rem; cursor: pointer; min-height: 3.35rem; padding: .6rem .35rem; list-style: none; font-weight: 700; line-height: 1.45; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary::after { content: ""; width: .55rem; height: .55rem; justify-self: center; border: solid var(--accent); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .16s; }
.steps details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.steps summary:hover, .steps details[open] summary { color: var(--accent); }
.steps details p { padding: 0 .75rem .95rem .35rem; color: var(--muted); max-width: 46ch; }

.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); align-items: center; gap: 1.5rem 2rem; padding: clamp(1.5rem, 6vw, 4.5rem); border: 1px solid #645d93; border-radius: 1.125rem; background: radial-gradient(ellipse at 97% 110%,#473b79,transparent 66%),#19172b; }
.contact-copy > p:last-child { margin-top: .9rem; max-width: 48ch; color: #e0ddef; }
.contact-actions { display: grid; gap: .65rem; position: relative; }
.email-link { overflow-wrap: anywhere; }
.copy-status { color: #e6ddfc; font-size: .875rem; }
.copy-status:empty { margin-top: -.65rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; color: var(--muted); font-size: .875rem; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
.footer .wordmark { color: var(--text); }
.footer a:hover { color: var(--accent); }

@media (max-width: 850px) {
  .section-head { grid-template-columns: 1fr; }
  .process-grid { gap: 1.6rem; }
  .studio { min-height: 20rem; }
}
@media (max-width: 720px) {
  :root { --header-height: 4rem; }
  .bar { gap: 0 .75rem; }
  .menu { display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--panel); color: var(--text); font-weight: 600; font-size: .875rem; }
  .menu span { width: .9rem; height: .55rem; border-block: 1px solid currentColor; }
  .menu[aria-expanded="true"] span { border-bottom: 0; height: 1px; }
  nav { display: grid; gap: .15rem; width: 100%; padding-bottom: .7rem; }
  nav > a { justify-content: start; padding-inline: .75rem; }
  .menu:not([hidden])[aria-expanded="false"] + nav { display: none; }
  .service-grid, .process-grid, .contact-panel { grid-template-columns: 1fr; }
  .studio { grid-row: 2; aspect-ratio: 16 / 9; min-height: 0; }
  .contact-actions { width: min(100%, 19rem); }
}
@media (max-width: 640px) {
  .hero-wrap { min-height: unset; padding-block: clamp(2.85rem, 10vw, 4.75rem) clamp(12.5rem, 46vw, 17rem); align-content: start; }
  .hero-media { inset: auto 0 0; height: clamp(17rem, 72vw, 28rem); mask-image: linear-gradient(180deg, transparent, #000 28%); }
  .hero-media img { object-position: center 56%; }
  .hero::before { background: linear-gradient(180deg,#101526 30%,#101526dc 48%,#10152628 72%,#0c0d1580); }
  h1 { font-size: clamp(1.95rem, 9.1vw, 3.9rem); margin-top: .9rem; }
  .intro { margin-top: 1rem; }
  .actions { margin-top: 1.35rem; gap: .55rem; }
  .actions .button { padding-inline: .7rem; }
  .section { padding-block: 3.8rem; }
  .footer-inner { justify-content: space-between; }
}
@media (max-width: 350px) {
  .header .wordmark { font-size: .875rem; gap: .4rem; }
  .header .wordmark img { width: 32px; height: 32px; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .045em; gap: .5rem; }
  .hero .line { width: .8rem; }
  .actions { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
