/* HAWU Films visual system 2026-09-18 — Pohjoinen tuotantostudio */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

:root {
  --vs-ink: #171a18;
  --vs-ink-soft: #222723;
  --vs-paper: #f2efe7;
  --vs-white: #faf9f5;
  --vs-moss: #39463d;
  --vs-brass: #be9c63;
  --vs-muted-dark: #b8bcb5;
  --vs-muted-light: #555e56;
  --vs-line-dark: rgba(250, 249, 245, 0.16);
  --vs-line-light: rgba(23, 26, 24, 0.16);
  --vs-max: 1360px;
  --vs-pad: clamp(20px, 4vw, 64px);
  --vs-section: clamp(72px, 9vw, 120px);
  --vs-sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --vs-serif: "Cormorant Garamond", Georgia, serif;
  --vs-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; overflow-x: clip; }
body {
  overflow-x: clip;
  background: var(--vs-ink);
  color: var(--vs-white);
  font-family: var(--vs-sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before { opacity: 0.018 !important; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--vs-brass);
  outline-offset: 4px;
}

.wrap,
.page-wrap,
.case-wrap {
  width: min(var(--vs-max), calc(100% - 2 * var(--vs-pad))) !important;
  max-width: var(--vs-max) !important;
}

/* Shared header */
.nav {
  width: 100%;
  right: auto !important;
  min-height: 80px;
  padding: 16px var(--vs-pad) !important;
  background: rgba(23, 26, 24, 0.88) !important;
  border-bottom: 1px solid var(--vs-line-dark) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
}
.nav .logo .lw { font-size: 31px !important; color: var(--vs-white); }
.nav .logo .lr { background: var(--vs-brass) !important; }
.nav .logo .ls { font-size: 6px !important; letter-spacing: 0.3em !important; }
.nav-links { gap: clamp(22px, 2.8vw, 44px) !important; }
.nav-links a {
  color: rgba(250, 249, 245, 0.74) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.nav-links a::after { background: var(--vs-brass) !important; height: 2px !important; bottom: -8px !important; }
.nav-cta,
.btn-pri,
.submit-btn {
  border: 1px solid var(--vs-brass) !important;
  border-radius: 3px !important;
  background: var(--vs-brass) !important;
  color: var(--vs-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: transform 180ms var(--vs-ease), background 180ms ease !important;
}
.nav-cta { padding: 11px 18px !important; }
.nav-cta:hover, .btn-pri:hover, .submit-btn:hover { transform: translateY(-2px); background: #caaa75 !important; }
.btn-sec {
  border: 1px solid rgba(250, 249, 245, 0.45) !important;
  border-radius: 3px !important;
  color: var(--vs-white) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.vs-menu-toggle {
  display: none;
  width: auto;
  min-width: 68px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vs-line-dark);
  border-radius: 3px;
  color: var(--vs-ink);
  background: var(--vs-brass);
  border-color: var(--vs-brass);
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
}
.vs-mobile-menu {
  width: 100%;
  right: auto;
  position: fixed;
  inset: 68px 0 auto;
  z-index: 69;
  display: grid;
  gap: 0;
  padding: 8px 20px 24px;
  background: var(--vs-ink);
  border-bottom: 1px solid var(--vs-line-dark);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 220ms var(--vs-ease), opacity 180ms ease, visibility 180ms;
}
.vs-mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.vs-mobile-menu a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--vs-line-dark);
  color: var(--vs-white);
  font-size: 17px;
  font-weight: 500;
}

/* Home hero */
.vs-home .sticky-cta, .vs-home .ticker { display: none !important; }
.vs-home .hero {
  min-height: 78svh !important;
  height: auto !important;
  display: grid;
  align-items: end;
  padding: 150px var(--vs-pad) 64px !important;
  background: var(--vs-ink);
}
.vs-home .hero-img { position: absolute !important; inset: 0 !important; opacity: 1 !important; }
.vs-home .hero-img::after {
  background: linear-gradient(90deg, rgba(10, 13, 11, 0.92) 0%, rgba(10, 13, 11, 0.62) 52%, rgba(10, 13, 11, 0.28) 100%),
              linear-gradient(0deg, rgba(10, 13, 11, 0.72), transparent 52%) !important;
}
.vs-home .hero-img img,
.vs-home .hero-img video { filter: saturate(0.82) contrast(1.05) !important; }
.vs-home .hero-bar { display: none !important; }
.vs-home .hero-body {
  position: relative !important;
  inset: auto !important;
  z-index: 4;
  width: min(var(--vs-max), 100%) !important;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr) !important;
  gap: clamp(40px, 7vw, 110px) !important;
  align-items: end !important;
}
.vs-home .hero-lockup .logo { display: none !important; }
.vs-eyebrow,
.vs-kicker {
  display: block;
  margin: 0 0 20px;
  color: var(--vs-brass);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vs-home .hero h1 {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  color: var(--vs-white);
  font-family: var(--vs-sans);
  font-size: clamp(42px, 5.8vw, 84px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.vs-mobile-break { display: none; }
.vs-home .hero-right { max-width: 440px !important; }
.vs-home .hero-lockup,
.vs-home .hero-right {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.vs-home .hero-right p {
  margin: 0 0 28px !important;
  color: rgba(250, 249, 245, 0.82) !important;
  font-size: clamp(16px, 1.3vw, 19px) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}
.vs-home .hero-ctas { gap: 12px !important; flex-wrap: wrap; }
.vs-home .hero-ctas a { min-height: 48px; display: inline-flex; align-items: center; padding: 12px 20px !important; }
.vs-video-toggle {
  position: absolute;
  right: var(--vs-pad);
  bottom: 22px;
  z-index: 5;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--vs-line-dark);
  border-radius: 3px;
  background: rgba(23, 26, 24, 0.66);
  color: var(--vs-white);
  font-size: 12px;
  font-weight: 500;
}

/* New editorial home sections */
.vs-section { padding: var(--vs-section) var(--vs-pad); }
.vs-section__inner { width: min(var(--vs-max), 100%); margin: 0 auto; }
.vs-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.vs-section h2 {
  margin: 0;
  font-family: var(--vs-sans);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.vs-section__intro { max-width: 58ch; margin: 0; font-size: 17px; line-height: 1.7; }
.vs-featured { background: var(--vs-paper); color: var(--vs-ink); }
.vs-featured .vs-section__intro { color: var(--vs-muted-light); }
.vs-work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) 24px;
}
.vs-work { grid-column: span 6; color: var(--vs-ink); }
.vs-work:nth-child(3) { grid-column: span 7; }
.vs-work:nth-child(4) { grid-column: span 5; }
.vs-work__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #d9d7d0; }
.vs-work:nth-child(4) .vs-work__media { aspect-ratio: 4 / 5; }
.vs-work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms var(--vs-ease); }
.vs-work:hover .vs-work__media img { transform: scale(1.025); }
.vs-work__meta { padding-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.vs-work h3 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
.vs-work p { margin: 0; color: var(--vs-muted-light); font-size: 14px; line-height: 1.55; }
.vs-work__arrow { font-size: 22px; line-height: 1; }
.vs-section__actions { display: flex; flex-wrap: wrap; gap: 18px 30px; margin-top: clamp(38px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--vs-line-light); }
.vs-text-link { color: var(--vs-ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--vs-brass); text-underline-offset: 6px; }
.vs-text-link--muted { color: var(--vs-muted-light); font-weight: 500; text-decoration-color: rgba(23,26,24,.25); }

.vs-services { background: var(--vs-ink); color: var(--vs-white); }
.vs-services .vs-section__intro { color: var(--vs-muted-dark); }
.vs-service-list { border-top: 1px solid var(--vs-line-dark); }
.vs-service-row {
  display: grid;
  grid-template-columns: 56px minmax(220px, 0.8fr) minmax(280px, 1.2fr) 28px;
  gap: 24px;
  align-items: center;
  min-height: 144px;
  padding: 26px 0;
  border-bottom: 1px solid var(--vs-line-dark);
  transition: padding 180ms var(--vs-ease), background 180ms ease;
}
.vs-service-row:hover { padding-left: 16px; padding-right: 16px; background: rgba(250, 249, 245, 0.035); }
.vs-service-row__no { color: var(--vs-brass); font-size: 12px; font-weight: 600; }
.vs-service-row h3 { margin: 0; font-size: clamp(24px, 2.7vw, 38px); font-weight: 500; letter-spacing: -0.035em; }
.vs-service-row p { max-width: 62ch; margin: 0; color: var(--vs-muted-dark); font-size: 15px; line-height: 1.65; }
.vs-service-row__arrow { font-size: 24px; }

.vs-usecases { background: var(--vs-moss); color: var(--vs-white); }
.vs-usecase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--vs-line-dark); }
.vs-usecase {
  min-height: 260px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--vs-line-dark);
  transition: background 180ms ease;
}
.vs-usecase:last-child { border-right: 0; }
.vs-usecase:hover { background: rgba(250, 249, 245, 0.055); }
.vs-usecase span { color: var(--vs-brass); font-size: 12px; font-weight: 600; }
.vs-usecase h3 { margin: 36px 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.vs-usecase p { margin: 0; color: rgba(250,249,245,.7); font-size: 14px; line-height: 1.6; }

/* Retained home modules in the new rhythm */
.vs-home .svc-sec, .vs-home .port-sec { display: none !important; }
.vs-home .sr-sec { padding: var(--vs-section) var(--vs-pad) !important; background: var(--vs-paper) !important; }
.vs-home .sr { border-radius: 0 !important; }
.vs-home .stmt { padding: var(--vs-section) var(--vs-pad) !important; background: var(--vs-ink) !important; }
.vs-home .stmt blockquote { max-width: 18ch; font-family: var(--vs-sans) !important; font-size: clamp(34px, 5vw, 68px) !important; font-weight: 500 !important; line-height: 1.08 !important; letter-spacing: -0.04em !important; }
.vs-home .cl-sec { padding: var(--vs-section) var(--vs-pad) !important; background: var(--vs-paper) !important; color: var(--vs-ink) !important; }
.vs-home .cl-proof { color: var(--vs-muted-light) !important; font-size: 16px !important; }
.vs-home .cl-sec .sl { color: var(--vs-muted-light) !important; }
.vs-home .cl-sec .sl::before { background: var(--vs-brass) !important; }
.vs-home .cl-proof a {
  color: var(--vs-ink) !important;
  font-weight: 600;
  border-bottom: 1px solid var(--vs-brass) !important;
  text-decoration: none;
}
.vs-home .cl-proof a:hover { color: var(--vs-moss) !important; border-color: var(--vs-moss) !important; }
.vs-home .px-sec { padding: var(--vs-section) var(--vs-pad) !important; background: var(--vs-moss) !important; }
.vs-home .px-card { border-color: var(--vs-line-dark) !important; border-radius: 0 !important; background: transparent !important; }
.vs-home .ctc-sec { padding: var(--vs-section) var(--vs-pad) !important; background: var(--vs-ink) !important; }

/* Inner pages: same system, without deleting their content engine */
body:not(.vs-home) .page-hero,
body:not(.vs-home) .hero { background-color: var(--vs-ink) !important; }
body:not(.vs-home) h1,
body:not(.vs-home) h2,
body:not(.vs-home) h3 {
  font-family: var(--vs-sans) !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
}
body:not(.vs-home) .hero h1 {
  font-family: var(--vs-sans) !important;
  font-size: clamp(48px, 6vw, 82px) !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
}
body:not(.vs-home) h2 { font-size: clamp(34px, 4vw, 52px) !important; line-height: 1.12 !important; }
body:not(.vs-home) h3 { font-size: clamp(22px, 2.3vw, 30px) !important; line-height: 1.2 !important; }
body:not(.vs-home) p { line-height: 1.7; }
.site-footer { background: #111311 !important; border-color: var(--vs-line-dark) !important; padding: 72px var(--vs-pad) 34px !important; }

@media (max-width: 900px) {
  .nav { min-height: 68px; padding: 10px 20px !important; }
  .nav-links, .nav > .nav-cta { display: none !important; }
  .vs-menu-toggle { display: inline-flex; position: relative; }
  .vs-home .hero { min-height: auto !important; padding: 132px 20px 74px !important; }
  .vs-home .hero-body { grid-template-columns: 1fr !important; gap: 28px !important; }
  .vs-home .hero-right { max-width: 620px !important; }
  .vs-video-toggle { right: 20px; bottom: 14px; }
  .vs-section { padding: 72px 20px; }
  .vs-section__head { grid-template-columns: 1fr; gap: 22px; }
  .vs-work, .vs-work:nth-child(3), .vs-work:nth-child(4) { grid-column: span 12; }
  .vs-work:nth-child(4) .vs-work__media { aspect-ratio: 16 / 10; }
  .vs-service-row { grid-template-columns: 42px 1fr 24px; gap: 14px; }
  .vs-service-row p { grid-column: 2 / -1; }
  .vs-usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-usecase:nth-child(2) { border-right: 0; }
  .vs-usecase:nth-child(-n + 2) { border-bottom: 1px solid var(--vs-line-dark); }
}

@media (max-width: 560px) {
  .vs-home .hero h1 { font-size: clamp(38px, 10.7vw, 44px); }
  .vs-home .vs-eyebrow { max-width: 31ch; font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; }
  .vs-mobile-break { display: inline; }
  .vs-home .vs-video-toggle { display: none; }
  body:not(.vs-home) .hero h1 {
    max-width: 100% !important;
    width: 100% !important;
    font-size: clamp(38px, 10vw, 43px) !important;
    line-height: 1 !important;
    overflow-wrap: normal;
  }
  body:not(.vs-home) .hero-content { min-width: 0; overflow: visible; }
  body:not(.vs-home) .lead { max-width: 100%; font-size: 16px !important; }
  .vs-home .hero-ctas { display: grid !important; grid-template-columns: 1fr; }
  .vs-home .hero-ctas a { justify-content: center; }
  .vs-work__meta { grid-template-columns: 1fr 24px; }
  .vs-service-row { min-height: 0; padding: 24px 0; }
  .vs-service-row h3 { font-size: 25px; }
  .vs-usecase-grid { grid-template-columns: 1fr; }
  .vs-usecase { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--vs-line-dark); }
  .vs-usecase:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
