﻿:root {
  color-scheme: light;
  --ink: #252039;
  --muted: #5a5469;
  --paper: #f8f7fb;
  --white: #fff;
  --blue: #503191;
  --blue-dark: #392173;
  --line: #d9d3e2;
  font: 1rem/1.55 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #e67432; outline-offset: 4px; }
.wrap { width: min(1232px, calc(100% - 3rem)); margin-inline: auto; }
.top, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.5rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; font-size: .925rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, .site-preview:hover span { text-decoration: underline; text-underline-offset: .22em; }
section { scroll-margin-top: 1.25rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 4.5rem) 0; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(.25rem, 2vw, 1.5rem) 0; }
.label { margin: 0; color: var(--blue-dark); font-size: .88rem; font-weight: 750; }
.hero h1, .section-title, .work h2, .contact h2 { margin: .35em 0; font-weight: 800; line-height: 1.03; letter-spacing: -.058em; }
.hero h1 { font-size: clamp(2.45rem, 5.1vw, 5rem); max-width: 14ch; }
.hero-copy > p:not(.label) { max-width: 53ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .65rem 1rem; border: 1px solid var(--blue); border-radius: .22rem; background: var(--blue); color: var(--white); font-weight: 750; text-decoration: none; }
.button:hover { background: var(--blue-dark); }
.button.secondary { background: transparent; color: var(--blue-dark); }
.button.secondary:hover { background: #e4e8ff; }
.hero-preview {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 12 / 10;
  overflow: hidden;
  border: 1px solid #dbd0f3;
  border-radius: 20px;
  background: radial-gradient(ellipse at 14% 12%, #fff1dc, transparent 45%), linear-gradient(145deg, #eee7ff, #d6c4fb);
  color: #301c59;
  text-decoration: none;
}
.hero-preview::before {
  content: "";
  position: absolute;
  inset: 5% 5% 15%;
  z-index: -1;
  background: repeating-radial-gradient(ellipse at 51% 57%, transparent 0 19px, #6a4ba92b 20px 21px);
  mask-image: linear-gradient(135deg, #000, transparent 93%);
}
.preview-window {
  position: absolute;
  top: 19%;
  right: 8%;
  width: 76%;
  overflow: hidden;
  border: 1px solid #b8abcf;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 30px #38236433;
  transform: rotate(5deg);
}
.window-bar { display: flex; align-items: center; gap: 4px; height: clamp(13px, 1.7vw, 21px); padding-left: 8px; background: #f5f1fa; }
.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #77639d; }
.preview-window img, .preview-film img { width: 100%; height: auto; }
.preview-film {
  position: absolute;
  bottom: 16%;
  left: 11%;
  width: 27%;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: clamp(8px, 1.2vw, 15px);
  box-shadow: 0 10px 26px #2d21484f;
  transform: rotate(-8deg);
}
.play-mark { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: clamp(28px, 4vw, 51px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; }
.play-mark::after { content: ""; border-block: 6px solid transparent; border-left: 10px solid #392173; margin-left: 3px; }
.preview-caption { position: absolute; inset: auto 6% 4%; display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid #7a62a476; padding-top: .35rem; font-size: clamp(.75rem, 1.4vw, .95rem); font-weight: 750; }
.hero-preview:hover .preview-caption { text-decoration: underline; text-underline-offset: .2em; }
.work { background: #20192e; color: var(--white); padding: clamp(1.15rem, 4vw, 3.15rem); border-radius: 18px; }
.work .label { color: #e0ceff; }
.work h2, .contact h2 { font-size: clamp(2.1rem, 5vw, 4.2rem); }
.work-copy p:not(.label) { max-width: 59ch; color: #dee2ee; }
.work-media { display: grid; grid-template-columns: minmax(0, 265px) minmax(0, 1fr); align-items: stretch; gap: clamp(.9rem, 2.6vw, 2rem); margin-top: 1.5rem; }
.work-media figure { margin: 0; }
.work-media video { width: 100%; max-width: 265px; max-height: 420px; height: auto; background: #252b3b; border: 1px solid #3a4259; }
.work-media figcaption, .site-preview span { display: block; margin-top: .6rem; font-size: .92rem; font-weight: 700; }
.site-preview { text-decoration: none; }
.site-preview img { width: 100%; height: auto; border: 1px solid #3a4259; }
.services, .process, .faq { margin: clamp(3rem, 7vw, 6rem) 0; }
.section-title { font-size: clamp(2rem, 4.9vw, 4.4rem); margin: 0 0 .55em; }
.options { border-top: 1px solid var(--line); }
.options article { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: .45rem 1.5rem; border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.options h3, .options p { margin: 0; }
.options h3 { font-size: clamp(1.16rem, 2.55vw, 1.65rem); line-height: 1.25; }
.options p, .process li span { color: var(--muted); }
.process ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.process li { background: var(--white); border-top: 3px solid var(--blue); padding: 1rem; }
.process li strong, .process li span { display: block; }
.process li span { margin-top: .35rem; }
.faq details { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { max-width: 65ch; margin: .6rem 0 .2rem; color: var(--muted); }
.contact { background: var(--blue); color: var(--white); padding: clamp(1.2rem, 4vw, 3.15rem); margin-bottom: 2.5rem; }
.contact p { max-width: 56ch; }
.contact .button { color: var(--blue-dark); background: var(--white); }
.contact .button:hover { background: #e4e8ff; }
.footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero-preview { width: min(100%, 535px); }
  .work-media { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
  .process ol { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .work-media, .options article { grid-template-columns: 1fr; }
  .work-media video { width: min(190px, 100%); }
}
