@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --background: #0b0910;
  --text: #faf7ff;
  --muted: #c4bacf;
  --accent: #d0bcff;
  --line: #352943;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 16px; padding: 12px; color: #16082b; background: var(--accent); transform: translateY(-120%); z-index: 2; }
.skip:focus { transform: translateY(0); }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; min-height: 86px; gap: 16px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 24px; letter-spacing: -.055em; }
.brand span { color: var(--accent); }
nav { display: flex; gap: clamp(16px, 4vw, 48px); color: var(--muted); }
nav a:hover, .site-footer a:hover { color: var(--accent); }
.button { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 20px; border-radius: 100px; font-weight: 700; color: #16082b; background: var(--accent); transition: background .2s; }
.button:hover { background: #e8dcff; }
.button.small { min-height: 42px; padding-inline: 15px; }
.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; min-height: 560px; padding-block: 56px; isolation: isolate; }
.hero-copy { z-index: 1; }
h1 { font-size: clamp(44px, 7.65vw, 112px); line-height: .88; letter-spacing: -.085em; text-transform: uppercase; }
h1 span { display: block; }
h1 span:last-child { color: var(--accent); }
.hero-copy p { margin: 25px 0; color: var(--muted); font-size: clamp(17px, 2vw, 22px); }
.hero-media { position: relative; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #200f32; }
.hero-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 55%, #190b29a0); }
section[id] { scroll-margin-top: 24px; }
.portfolio, .services { padding-block: 38px 60px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
h2 { font-size: clamp(32px, 5vw, 60px); line-height: .99; letter-spacing: -.065em; }
.section-head p { color: var(--muted); font-size: .9rem; }
.reels, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #200f32; aspect-ratio: 4 / 5; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel h3 { position: absolute; inset: auto 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, #090710ed); font-size: clamp(17px, 2vw, 23px); }
.service { display: grid; align-content: start; gap: 14px; padding: 24px; min-height: 190px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(ellipse at top right, #2a1540, transparent 75%), #110e17; transition: border-color .25s, box-shadow .25s; }
.service:hover { border-color: #8c70bb; box-shadow: inset 0 0 24px #a669e523; }
.service span { color: var(--accent); font-size: 24px; }
.service p { color: var(--muted); line-height: 1.5; }
.contact { padding-block: 26px 42px; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 26px; border: 1px solid #765296; background: linear-gradient(110deg, #34174c, #201031); padding: clamp(24px, 5vw, 62px); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 22px; padding-block: 47px 20px; }
  h1 { font-size: clamp(40px, 12vw, 82px); }
  .hero-copy p { margin-block: 20px; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(74%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .reel { scroll-snap-align: start; aspect-ratio: 9 / 13; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .portfolio, .services { padding-block: 30px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .site-header, .site-footer { min-height: 66px; }
  nav { gap: 12px; font-size: 13px; }
  .site-header .brand { font-size: 19px; }
  .button.small { font-size: 13px; padding: 8px 10px; gap: 5px; }
  .site-footer a:last-child { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
