@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b0d13;
  --panel: #141722;
  --ink: #f5f4fa;
  --muted: #b7bbcd;
  --border: #393d50;
  --accent: #c8baff;
  --accent-ink: #17122b;
  --type: 'Segoe UI', system-ui, sans-serif;
  --display: 'Space Grotesk', var(--type);
  --mono: 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse 58rem 35rem at 80% 4rem, #191924, var(--bg) 76%); color: var(--ink); font: 1rem/1.6 var(--type); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--accent-ink); background: var(--accent); }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1216px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; top: 12px; left: 12px; transform: translateY(-150%); z-index: 5; padding: 10px; color: var(--accent-ink); background: var(--accent); }
.skip:focus { transform: none; }
.site-top { border-bottom: 1px solid #2b2e40; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.masthead { min-height: 77px; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; font: 700 1.52rem/1 var(--display); letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 8px; background: #252137; border: 1px solid #746696; }
.brand-mark::after { content: ''; width: 10px; height: 12px; margin-left: 1px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.wordmark span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: clamp(3px, 2vw, 22px); }
nav a, .footer > a:last-child { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 5px; color: var(--muted); font-size: .94rem; }
nav a:hover, .footer a:hover { color: var(--ink); }
.header-contact { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
.hero { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(36px, 4.3vw, 61px); padding-block: clamp(43px, 5.4vw, 76px) 0; }
.eyebrow { margin-bottom: 13px; color: var(--accent); font: 500 .85rem/1.45 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 0 0 19px; font-size: clamp(2.9rem, 5.7vw, 5.3rem); font-weight: 700; line-height: 1.03; letter-spacing: -.068em; }
h1 em { color: var(--accent); font-style: normal; }
h2 { margin: 0; font-size: clamp(1.84rem, 3.3vw, 2.85rem); font-weight: 680; line-height: 1.1; letter-spacing: -.055em; text-wrap: balance; }
h3 { margin-bottom: 5px; font-size: clamp(1.02rem, 1.7vw, 1.32rem); font-weight: 650; line-height: 1.22; letter-spacing: -.035em; }
.hero-description { max-width: 50ch; margin-bottom: 23px; color: var(--muted); font-size: clamp(1.02rem, 1.65vw, 1.17rem); }
.hero-actions, .contact-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; padding: 8px 16px; font-weight: 650; transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s; text-align: center; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.primary:hover { background: #e3d9ff; border-color: #e3d9ff; }
.secondary { background: #161925; color: var(--ink); }
.secondary:hover { color: var(--accent); border-color: var(--accent); }
.hero-art { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-width: 0; aspect-ratio: 1.58; border: 1px solid #4a415d; border-radius: 16px; background: #0b0b15; box-shadow: 0 22px 54px -40px #825dde84, inset 0 0 60px #58438d29; }
.hero-art-grid { position: absolute; inset: 0; background-image: linear-gradient(#b498ff1d 1px, transparent 1px), linear-gradient(90deg, #b498ff1d 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse, transparent 35%, black 100%); }
.hero-art-halo { position: absolute; inset: 12% 10%; border: 1px solid #b69af32b; border-radius: 50%; box-shadow: 0 0 90px #8456e559; }
.hero-art-float { position: absolute; inset: -2%; mix-blend-mode: screen; }
.hero-art-float img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.74) brightness(.91); }
.hero-art-rail { position: absolute; inset: 12px; border: 1px solid #bda7f726; border-radius: 9px; pointer-events: none; }
.hero-art-caption { position: absolute; left: 22px; bottom: 21px; padding: 4px 9px; border-radius: 5px; background: #0c0917d9; color: var(--ink); font-size: .85rem; font-weight: 650; }
.hero-art:hover .hero-art-caption { color: var(--accent); text-decoration: underline; }
.section { padding-block: clamp(35px, 5vw, 66px); border-top: 1px solid var(--border); scroll-margin-top: 14px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 18px; margin-bottom: clamp(17px, 2.6vw, 29px); }
.snapshot { color: var(--muted); font-size: .9rem; margin: 0; }
.channel-grid, .service-grid { display: grid; gap: 14px; }
.channel { --card-wash: #8264e628; min-width: 0; position: relative; isolation: isolate; overflow: hidden; min-height: 213px; padding: clamp(14px, 2vw, 22px); border: 1px solid var(--border); border-radius: 13px; background: radial-gradient(ellipse at 96% -23%, var(--card-wash), transparent 67%), var(--panel); transition: border-color .22s, box-shadow .22s; }
.channel:nth-child(2) { --card-wash: #b761d127; }
.channel.tiktok { --card-wash: #4b8ecb2b; }
.channel:hover { border-color: #9b78e7; box-shadow: 0 6px 40px #7c50d42b; }
.channel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--shine, 0); background: radial-gradient(250px circle at var(--mx, 50%) var(--my, 50%), #996aff32, transparent 75%); transition: opacity .22s; }
.channel::after { content: ''; position: absolute; top: 0; right: 15%; width: 44%; height: 1px; background: linear-gradient(90deg, transparent, #c8a9f99e, transparent); }
.channel-identity { display: flex; align-items: center; gap: 12px; }
.channel-identity > div { min-width: 0; }
.channel-identity img { width: 59px; height: 59px; flex: none; object-fit: cover; border-radius: 50%; border: 1px solid #cfbff25e; background: #272136; }
.channel-identity h3 { margin: 0 0 4px; }
.channel-identity span { display: block; font: .83rem/1.4 var(--mono); overflow-wrap: anywhere; color: var(--muted); }
.channel-metric { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-block: 19px 14px; color: var(--muted); }
.metric-value { color: var(--ink); font: 700 clamp(2.35rem, 4vw, 3.25rem)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.065em; }
.channel-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; color: var(--muted); font-size: .9rem; }
.channel-meta > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.channel-meta > span:first-child::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff7188; }
.tiktok .channel-meta > span:first-child::before { background: #79dddf; }
.channel-link { color: var(--accent); }
.channel:hover .channel-link { text-decoration: underline; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(18px, 2.5vw, 29px); border: 1px solid var(--border); border-radius: 13px; background: var(--panel); }
.service-feature { isolation: isolate; position: relative; overflow: hidden; background: radial-gradient(ellipse at 88% 110%, #523b7659, transparent 73%), #181624; border-color: #51446a; }
.service-feature h3 { font-size: clamp(1.48rem, 3.2vw, 2.55rem); margin-top: 3px; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 10px; background: #282039; color: var(--accent); }
.service-icon svg { width: 22px; height: 22px; }
.service p { color: var(--muted); margin: 7px 0 0; max-width: 39ch; }
.service-action { min-height: 44px; margin-top: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--accent); font-weight: 650; text-align: left; }
.service-action:hover { text-decoration: underline; }
.edit-graphic { position: relative; align-self: stretch; overflow: hidden; min-height: 133px; margin-top: clamp(20px, 3vw, 36px); padding: 30px 12px 14px; border: 1px solid #7e639a92; border-radius: 11px; background: linear-gradient(0deg, #0b0715dd, #151022a8), repeating-linear-gradient(90deg, transparent 0 20px, #ad8bda68 20px 21px); }
.edit-graphic::before { content: ''; position: absolute; inset: 0 0 auto; height: 17px; border-bottom: 1px solid #7e639a92; background: repeating-linear-gradient(90deg, transparent 0 9px, #a88fbc50 9px 10px) left bottom / 100% 6px no-repeat; }
.edit-tracks { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(15px, 2.15vw, 26px); gap: 6px 4px; }
.edit-segment { grid-column: var(--column) / span var(--span); border: 1px solid #ba92f09c; border-radius: 4px; background: linear-gradient(100deg, #6b489b, #4a3274); }
.edit-segment:nth-child(n + 4) { border-color: #a394e369; background: linear-gradient(100deg, #51468d, #393265); }
.edit-tracks .edit-wave { border: 1px solid #85a7f273; background: repeating-linear-gradient(90deg, #9b86fb40 0 2px, transparent 2px 6px), #30224f; }
.edit-playhead { position: absolute; z-index: 1; top: 9px; bottom: 0; left: 59%; width: 1px; background: #ead5ff; box-shadow: 0 0 9px #e6b4ffb5; }
.edit-playhead::before { content: ''; position: absolute; width: 9px; height: 8px; left: -4px; border-radius: 2px 2px 0 0; background: #ead5ff; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.process-panel { display: grid; gap: 24px; padding: clamp(18px, 4vw, 44px); border: 1px solid var(--border); border-radius: 13px; background: radial-gradient(ellipse at 0% 5%, #28233892, transparent 72%), #12141e; }
.process-steps { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.process-steps::before { content: ''; position: absolute; inset: 8px auto 15px 3px; width: 1px; background: linear-gradient(var(--accent), #674a8c5c); transform: scaleY(var(--progress, 1)); transform-origin: top; }
.process-steps li { position: relative; }
.process-steps li + li { margin-top: 19px; }
.process-steps li::before { content: ''; position: absolute; top: 7px; left: -26px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #ae87f986; }
.process-steps p { color: var(--muted); margin: 4px 0 0; max-width: 50ch; }
.project-panel { border: 1px solid #534768; border-radius: 14px; background: radial-gradient(ellipse at 83% -10%, #292239, #171623 64%); }
.contact-content { display: grid; gap: 20px 25px; align-items: center; padding: clamp(18px, 4vw, 42px); }
.contact-description { margin: 9px 0 0; color: var(--muted); }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; }
.email-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.copy-email { margin: 0; font-size: .9rem; }
#email-status:empty { margin: 0; }
.contact-actions { align-content: center; }
.copy-note { margin: 0; flex-basis: 100%; color: var(--muted); font-size: .87rem; }
.copy-note span { color: var(--ink); }
.project-spotlight.spotlight-card { padding: 0; border-radius: 13px; background: transparent; box-shadow: none; }
#project-spotlight:empty { display: none; }
.footer { min-height: 70px; border-top: 1px solid var(--border); }
.footer .wordmark { font-size: 1.2rem; }
body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(35rem, calc(100% - 32px)); max-height: calc(100% - 32px); padding: clamp(17px, 4vw, 28px); background: var(--panel); color: var(--ink); border: 1px solid var(--border); border-radius: 13px; }
dialog::backdrop { background: #030308c9; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.dialog-top h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
dialog p { color: var(--muted); }
#brief-form { display: grid; gap: 8px; }
label { display: block; font-weight: 600; }
label span { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #77708c; border-radius: 6px; background: var(--bg); color: var(--ink); }
textarea { resize: vertical; }
::placeholder { color: var(--muted); }
#brief-form .button { justify-self: start; margin-top: 8px; }
#draft-result { margin-top: 20px; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#copy-status:empty { margin: 0; }
@media (min-width: 570px) {
  .header-contact { display: inline-flex !important; }
  .channel-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-feature { grid-column: 1 / -1; }
  .process-panel { grid-template-columns: .65fr 1.35fr; }
  .contact-content { grid-template-columns: 1.2fr 1fr; }
  .contact-actions { justify-content: end; text-align: right; }
}
@media (min-width: 850px) {
  .hero { grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 65px); }
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: 1.35fr 1fr; }
  .service-feature { grid-column: auto; grid-row: span 2; }
  .service-feature .edit-graphic { min-height: 0; margin-top: auto; }
  .service-feature .service-action { margin-bottom: 22px; }
}
@media (max-width: 395px) {
  .brand-mark { width: 23px; height: 23px; margin-right: 6px; }
  .wordmark { font-size: 1.4rem; }
  nav a { font-size: .875rem; padding-inline: 3px; }
  h1 { font-size: clamp(2.2rem, 11vw, 2.95rem); }
}
@media (prefers-reduced-motion: reduce) {
  /* ScrollTrigger can restore scroll behavior as an inline value. */
  html, body { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; }
}
