@import url("https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600&family=Oswald:wght@400;500;600&display=swap");

:root {
  --ink: #1470af;
  --ink-dark: #000;
  --white: #fff;
  --btn: #1470af;
  --btn-ink: #fff;
  --btn-soft: #8eb6dc;
  --btn-soft-ink: #000;
  --line: #e4e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: Epilogue, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--ink-dark); text-decoration: none; }
p a, .copy-page a { color: var(--ink-dark); text-decoration: underline; text-underline-offset: 3px; }
p a.btn, .copy-page a.btn { text-decoration: none; }

.wrap { width: min(1600px, calc(100% - 48px)); margin: 0 auto; }
.wrap.narrow { width: min(820px, calc(100% - 48px)); }

h1, h2, h3, h4 {
  font-family: Oswald, sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.6vw, 87px); margin-bottom: 16px; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 12px; line-height: 1.15; }
h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
h4 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 8px; color: var(--ink-dark); }

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 36px;
  color: #fff;
  opacity: 0;
}
.site-header.is-ready {
  opacity: 1;
  transition: opacity 0.8s ease, background 0.35s ease;
}
.site-header.overlay {
  position: fixed;
  width: 100%;
  background: transparent;
}
.site-header.overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 #eee;
}
.site-header.overlay.is-scrolled .nav a { color: var(--ink-dark); }
.site-header.overlay.is-scrolled .menu-btn { color: #111; }
.site-header.bar {
  position: sticky;
  top: 0;
  background: #fff;
  color: var(--ink-dark);
  border-bottom: 1px solid #f0f0f0;
}
.brand {
  font-family: Oswald, sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav { display: flex; gap: 28px; font-size: 16px; }
.site-header.overlay .nav a { color: #fff; }
.site-header.bar .nav a { color: var(--ink-dark); }
.nav a:hover { opacity: 0.7; }
.nav a.is-on { text-decoration: underline; text-underline-offset: 6px; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 50;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.site-header.overlay .menu-btn { color: #fff; }
.site-header.bar .menu-btn { color: #111; }
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

.hero {
  min-height: 100vh;
  background: #111 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 0 80px;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
}
.hero p { color: #fff; font-size: 16px; }
.hero p + p { margin-top: 16px; }
.hero .quote {
  color: #fff;
  margin: 36px auto 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn);
  color: var(--btn-ink);
  border-radius: 999px;
  padding: 18px 32px;
  min-height: 56px;
  font-size: 16px;
  font-family: Epilogue, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s linear;
}
.btn:hover { opacity: 0.82; }
.btn-soft {
  background: var(--btn-soft);
  color: var(--btn-soft-ink);
}
.btn-wide { width: 100%; }

.section { padding: 72px 0 88px; }
.section.gray { background: #fff; }
.center { text-align: center; }
.lede { max-width: 760px; margin: 0 auto; }
.sub { font-size: 16px; margin-bottom: 36px; color: var(--ink); }
.quote {
  max-width: 1100px;
  margin: 28px auto;
  font-family: Oswald, sans-serif;
  font-size: clamp(28px, 3.8vw, 59px);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.card {
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 18px;
}
.card h4 {
  font-family: Oswald, sans-serif;
  font-size: clamp(26px, 2vw, 34px);
  color: var(--ink-dark);
  margin-bottom: 10px;
}
.card p { color: var(--ink); margin: 0 0 22px; flex: 1; }
.card .btn { width: 100%; min-height: 72px; }

.cta-band {
  min-height: 100vh;
  background: #111 center/cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding: 100px 20px;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.cta-band .inner { position: relative; z-index: 1; max-width: 920px; }
.cta-band h1 { color: #fff; margin-bottom: 6px; }
.cta-band .note { margin: 22px auto 32px; color: #fff; font-size: 16px; }

.footer {
  background: #fff;
  padding: 72px 0 28px;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h4 { font-family: Oswald, sans-serif; color: var(--ink-dark); font-size: 30px; font-weight: 400; margin-bottom: 12px; }
.footer h3 { font-family: Oswald, sans-serif; color: var(--ink-dark); font-size: clamp(32px, 3vw, 44px); font-weight: 400; }
.footer a { color: var(--ink-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.copy { text-align: center; color: var(--ink); font-size: 14px; }

.page-hero {
  min-height: 72vh;
  background: #111 center/cover no-repeat;
  color: #fff;
  display: grid;
  align-items: end;
  padding: 160px 0 48px;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero.hero-blue::after { background: rgba(255, 255, 255, 0.08); }
.page-hero.hero-blue h1 { color: var(--ink); }

.copy-page { max-width: 820px; }
.copy-page p + p, .copy-page h2 { margin-top: 18px; }
.stats { margin: 18px 0 18px 22px; }
.contact-list { list-style: none; margin: 24px 0; }
.contact-list li { margin: 10px 0; }

.gallery {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 48px;
  width: min(1600px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.gallery .tile img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #111;
}
.gallery figcaption {
  font-size: 16px;
  color: var(--ink-dark);
  margin-top: 12px;
  text-align: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 36px;
}
.filters button {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--ink-dark);
  transition: opacity 0.2s ease;
}
.filters button:hover { opacity: 0.55; }
.filters button.is-on {
  background: none;
  color: var(--ink-dark);
  text-decoration: underline;
  text-underline-offset: 7px;
}

.vgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.vcard { display: flex; flex-direction: column; }
.vcard img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 14px;
  background: #111;
}
.vcard h4 {
  font-family: Oswald, sans-serif;
  font-size: clamp(22px, 1.8vw, 30px);
  color: var(--ink-dark);
}
.vcard p { color: var(--ink-dark); font-size: 16px; margin-top: 6px; }

.player { background: #000; }
.player video, .player img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  background: #000;
  object-fit: contain;
  display: block;
}

.gd-hero { min-height: 88vh; }
.gd-intro { max-width: none; text-align: center; }
.gd-intro h2 { font-size: clamp(22px, 2.4vw, 36px); margin-bottom: 14px; }
.gd-intro p { color: var(--ink); }
.gd-intro p + p { margin-top: 10px; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin: 56px 0 64px;
  text-align: center;
}
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.logo-item img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.logo-item span {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dark);
  font-family: Epilogue, sans-serif;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 auto 24px;
}
.mosaic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f7f7;
  margin: 0;
}

.project-page { padding-top: 32px; }
.project-page h1 { text-align: center; margin-bottom: 28px; color: var(--ink-dark); }
.back { margin-bottom: 16px; }
.back a { color: var(--ink-dark); text-decoration: none; }
.project-shots img { width: 100%; display: block; margin: 0 0 12px; background: #f4f4f4; }

body[data-root] h1 { color: var(--ink-dark); }
body[data-root] .wrap > p { color: var(--ink-dark); }
body[data-root] .wrap > p a { color: var(--ink-dark); text-decoration: none; }

.cov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 28px;
  margin: 36px 0;
  max-width: none;
}
.cov-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 14px; }
.cov-grid h3 { color: var(--ink-dark); font-size: clamp(22px, 2vw, 30px); }
.cov-grid p { color: var(--ink); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.about-grid img { width: 100%; height: auto; object-fit: cover; }

.site-header.bar ~ .section { padding-top: 48px; }

@media (max-width: 900px) {
  .site-header { padding: 18px 18px; }
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-size: 22px;
    z-index: 45;
  }
  .nav.is-open { display: flex; }
  .nav a, .site-header.bar .nav a, .site-header.overlay .nav a,
  .site-header.overlay.is-scrolled .nav.is-open a { color: #fff; }
  .services, .footer-grid, .vgrid, .cov-grid, .about-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .hero, .cta-band, .page-hero, .gd-hero { min-height: 100svh; }
  .card .btn { min-height: 64px; }
  .wrap { width: calc(100% - 32px); }
  .player {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

.reveal {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.reveal.is-in { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .card img, .vcard img, .logo-item img, .gallery .tile img, .cov-grid img, .mosaic img {
    transition: opacity 0.45s ease;
  }
  .card:hover img, .vcard:hover img, .logo-item:hover img, .tile:hover img, .cov-grid article:hover img, .mosaic img:hover {
    opacity: 0.82;
  }
  .nav a { transition: opacity 0.2s ease; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .site-header { opacity: 1 !important; transition: none !important; }
  .card img, .vcard img, .logo-item img, .gallery .tile img { transition: none !important; }
}
