@font-face {
  font-family: Manrope;
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0a0e1b;
  --deep: #080b15;
  --surface: #11182c;
  --text: #f9faff;
  --muted: #bdc6dd;
  --rule: #2a334d;
  --blue: #264bf3;
  --blue-hover: #3153f3;
  --blue-text: #8ca4ff;
  --radius: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--navy); color: var(--text); font: 500 1rem/1.6 Manrope, system-ui, sans-serif; }
::selection { background: #b9c9ff; color: var(--deep); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #a7baff; outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.67rem); letter-spacing: -.03em; }
.shell { width: min(1180px, calc(100% - clamp(38px, 10vw, 144px))); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; transform: translateY(-180%); color: var(--deep); background: var(--text); padding: 10px 14px; }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--rule); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 79px; }
.wordmark { justify-self: start; font-size: 1.78rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.wordmark span { color: var(--blue-text); }
.nav-links, .footer-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 35px); color: var(--muted); font-size: .88rem; font-weight: 700; }
.nav-links a, .footer-links a { padding-block: 9px; }
.nav-links a:hover, .footer-links a:hover { color: var(--text); }
.nav-contact { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; font-size: .87rem; font-weight: 800; line-height: 1.2; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-hover); }
.button-outline { border-color: #495675; color: var(--text); }
.button-outline:hover { border-color: var(--blue-text); background: #161f38; }
.button-light { background: #fff; color: #111c4a; }
.button-light:hover { background: #e9eeff; }
.icon { flex: none; display: inline-block; position: relative; width: 14px; height: 14px; color: inherit; }
.icon-arrow::before, .icon-external::before, .icon-down::before { content: ""; position: absolute; width: 9px; height: 1.5px; top: 6px; left: 2px; background: currentColor; }
.icon-arrow::after, .icon-external::after, .icon-down::after { content: ""; position: absolute; width: 6px; height: 6px; top: 4px; right: 3px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.icon-external { transform: rotate(-45deg); }
.icon-down { transform: rotate(90deg); }
.icon-play { width: 0; height: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 6.5vw, 88px); padding-block: clamp(45px, 5.2vw, 76px); }
.hero h1 { font-size: clamp(3.35rem, 6.9vw, 6rem); line-height: .99; }
.hero h1 span { color: var(--blue-text); }
.intro { max-width: 41ch; margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.17rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.portrait { overflow: hidden; border-radius: var(--radius); background: #c4c4c8; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; object-position: 50% 36%; }

.work { border-top: 1px solid var(--rule); background: var(--deep); padding-block: clamp(42px, 5.5vw, 82px); }
.section-header { display: flex; gap: 18px 28px; justify-content: space-between; align-items: end; }
.section-header p { max-width: 38ch; color: var(--muted); padding-bottom: 3px; }
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(19px, 3vw, 36px); margin-top: 28px; }
.reel { min-width: 0; }
.reel-link { display: block; border-radius: var(--radius) var(--radius) 6px 6px; }
.reel-image { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.28; background: var(--surface); }
.reel-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.reel-image-community img { object-position: 50% 57%; }
.reel-image-city img { object-position: 50% 78%; }
.reel-link:hover img { transform: scale(1.035); }
.watch { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--text); color: var(--deep); font-size: .8rem; font-weight: 800; transition: color .18s ease, background .18s ease; }
.reel-link:hover .watch, .reel-link:focus-visible .watch { background: var(--blue); color: #fff; }
.reel-title { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 17px; }
.reel-title > .icon { color: var(--blue-text); }
.reel > p { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.reel-details { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 10px; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.reel-details strong { color: var(--text); }

.results { display: grid; grid-template-columns: minmax(135px, .5fr) 2fr; align-items: center; gap: 8px 24px; margin-top: 46px; padding: clamp(20px, 3.2vw, 36px); border-radius: var(--radius); background: var(--surface); }
.results h3 { font-size: 1.15rem; }
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 16px; }
.totals div { display: flex; flex-direction: column-reverse; gap: 4px; }
.totals dt { color: var(--muted); font-size: .78rem; }
.totals dd { color: var(--blue-text); font-weight: 800; font-size: clamp(1.3rem, 2.5vw, 2.22rem); line-height: 1.08; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.source { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: .8rem; }

.services { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px clamp(30px, 7vw, 96px); padding-block: clamp(42px, 6vw, 92px); }
.services h2 { max-width: 11ch; }
.service-list > div { padding: 16px 0; border-top: 1px solid var(--rule); }
.service-list > div:last-child { border-bottom: 1px solid var(--rule); }
.service-list h3 { font-size: 1.15rem; }
.service-list p { margin-top: 5px; color: var(--muted); font-size: .93rem; }
.contact-panel { display: flex; justify-content: space-between; gap: 18px 24px; align-items: center; background: var(--blue); border-radius: var(--radius); padding: clamp(21px, 4vw, 52px); }
.contact-panel h2 { font-size: clamp(1.86rem, 3.8vw, 3.4rem); }
.contact-panel p { margin: 8px 0 0; color: #fff; font-size: .92rem; }
.contact-panel a { flex: none; }
.contact-panel a:focus-visible { outline-color: #fff; }
.footer { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-block: 31px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 860px) {
  .hero { gap: 27px; }
  .hero h1 { font-size: clamp(3rem, 7.2vw, 4.2rem); }
  .results { grid-template-columns: 1fr; row-gap: 14px; }
  .source { grid-column: 1; margin: 0; }
}
@media (max-width: 620px) {
  .masthead { min-height: 68px; grid-template-columns: 1fr auto; gap: 16px; }
  .nav-contact { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 36px 38px; gap: 26px; }
  .hero h1 { font-size: clamp(3.05rem, 11vw, 4.15rem); }
  .intro { margin-top: 15px; }
  .actions { margin-top: 20px; }
  .portrait img { aspect-ratio: 1.17; }
  .section-header { flex-direction: column; align-items: start; gap: 7px; }
  .reels { grid-template-columns: 1fr; gap: 29px; margin-top: 19px; }
  .reel-title { margin-top: 12px; }
  .reel-details { margin-top: 7px; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 10px; }
  .results { margin-top: 32px; }
  .services { grid-template-columns: 1fr; }
  .services h2 { max-width: none; }
  .contact-panel { flex-direction: column; align-items: start; }
  .footer { align-items: start; }
  .footer-links { flex-wrap: wrap; gap: 0 13px; justify-content: end; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-image img, .button, .watch { transition: none; }
}
