/* ==========================================================================
   NIVEO — Digital & Creative Studio
   Stylesheet
   Structure:
   1. Tokens & Reset
   2. Base / Typography
   3. Layout helpers
   4. Header / Nav
   5. Hero
   6. Capabilities marquee
   7. Services
   8. Work
   10. CTA
   11. Footer
   12. Reveal / scroll animation
   13. Responsive
   14. Start a project modal
   15. Pricing (pricing.html)
   16. Founder
   17. Pricing preview (homepage)
   18. Behind Niveo (behind-niveo.html)
   19. Legal pages (privatlivspolitik.html, handelsbetingelser.html)
   20. Contact (contact.html)
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* 0. Local fonts (self-hosted, replaces Google Fonts)                    */
/* ---------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight-variable-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------- */
/* 1. Tokens & Reset                                                       */
/* ---------------------------------------------------------------------- */

:root {
  /* Core palette */
  --black: #0a0a0b;
  --near-black: #101012;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f3f3f4;
  --gray-200: #e4e4e6;
  --gray-400: #a1a1a8;
  --gray-500: #6f6f78; /* darkened from #7a7a82: 4.26:1 on white failed WCAG AA (4.5:1) for body/eyebrow text */
  --gray-700: #46464c;

  /* Accent — sophisticated indigo/violet */
  --accent: #5b4cff;
  --accent-2: #8f7cff;
  --accent-soft: #edeaff;

  /* Semantic */
  --bg: var(--white);
  --bg-inverse: var(--black);
  --text: var(--black);
  --text-muted: var(--gray-500);
  --text-inverse: var(--white);
  --border: rgba(10, 10, 11, 0.1);
  --border-inverse: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-w: 1280px;
  --container-pad: 32px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 0.9s;
  --dur-scroll: 9s;

  --header-h: 84px;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
picture { display: inline-flex; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
svg { display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ---------------------------------------------------------------------- */
/* 2. Base / Typography                                                    */
/* ---------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.muted { color: var(--text-muted); font-weight: 500; }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-note {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

section {
  position: relative;
  padding: 120px 0;
}

/* Buttons */
.btn {
  --btn-fg: var(--white);
  --btn-bg: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--btn-fg);
  background: var(--btn-bg);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
  will-change: transform;
}
.btn svg { transition: transform var(--dur-fast) var(--ease-soft); flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--black);
  --btn-fg: var(--white);
}
.btn--primary:hover {
  --btn-bg: var(--accent);
  box-shadow: 0 12px 28px -8px rgba(91, 76, 255, 0.55);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1.4px var(--border);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.4px var(--text);
}

.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------- */
/* 4. Header / Nav                                                         */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), height var(--dur-fast) var(--ease-soft);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

/* When the mobile menu is open, the header bar sits directly above the
   solid black mobile-nav panel — give it a matching solid background
   (instead of staying transparent) so the two read as one seamless
   overlay, and flip the logo/toggle to white so they stay legible. */
.site-header.is-menu-open {
  background: var(--black);
  border-bottom-color: transparent;
  color: var(--white);
}
.site-header.is-menu-open .brand-mark {
  filter: brightness(0) invert(1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; }
.brand-mark { height: 32px; width: auto; flex-shrink: 0; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.4px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-soft);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle-bar {
  width: 20px;
  height: 1.6px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease-soft), opacity var(--dur-fast) var(--ease-soft);
}
.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(3.8px) rotate(45deg);
}
.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
  transform: translateY(-3.8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px var(--container-pad) 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  z-index: 90;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-inverse);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mobile-nav a em {
  font-style: normal;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}
.mobile-nav-footer { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav-footer .btn--primary { --btn-bg: var(--white); --btn-fg: var(--black); }
.mobile-nav-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-400);
}

/* ---------------------------------------------------------------------- */
/* 5. Hero                                                                  */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-lines {
  width: 100%;
  height: 100%;
}
.hl { opacity: 0; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw-line 2.4s var(--ease) forwards; }
.hl-1 { animation-delay: 0.3s; }
.hl-2 { animation-delay: 0.55s; }
.hl-3 { animation-delay: 0.75s; }
@keyframes draw-line {
  0% { opacity: 0; stroke-dashoffset: 1600; }
  8% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
.hero-lines-group { animation: float-lines 14s ease-in-out infinite; transform-origin: center; }
@keyframes float-lines {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(6px); }
}
.hero-dots rect { animation: pulse-dot 3.6s ease-in-out infinite; transform-origin: center; }
.hd-2 { animation-delay: 0.4s; }
.hd-3 { animation-delay: 0.8s; }
@keyframes pulse-dot {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.hero-glow {
  position: absolute;
  top: 8%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(237, 234, 255, 0) 70%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 7.6vw, 104px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  max-width: 16ch;
}
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}
.reveal-line span {
  display: block;
  transform: translateY(110%);
  animation: line-up var(--dur-slow) var(--ease) forwards;
}
.reveal-line:nth-child(1) span { animation-delay: 0.15s; }
.reveal-line:nth-child(2) span { animation-delay: 0.28s; }
@keyframes line-up {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 44px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* 6. Capabilities marquee                                                 */
/* ---------------------------------------------------------------------- */

.capabilities {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.capabilities-track { width: 100%; }
.capabilities-row {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  animation: marquee 32.5s linear infinite;
}
.capabilities-row .dot {
  font-size: 8px;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------- */
/* 7. Services                                                             */
/* ---------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: background var(--dur-fast) var(--ease-soft);
}
.service-card:hover { background: var(--gray-50); }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.service-index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.service-icon {
  color: var(--text);
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast) var(--ease-soft);
}
.service-card:hover .service-icon {
  color: var(--accent);
  transform: translateY(-3px) rotate(-4deg);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.service-card p.service-quote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--text);
}

/* ---------------------------------------------------------------------- */
/* 8. Work                                                                 */
/* ---------------------------------------------------------------------- */

.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.work-card {
  width: 100%;
  max-width: 360px;
}

.work-card-browser {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.work-card-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.work-card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}
.work-card-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(10, 10, 11, 0.05);
  border-radius: 999px;
  padding: 5px 14px;
  transition: color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}
.work-card-browser:hover .work-card-url {
  color: var(--text);
  background: rgba(10, 10, 11, 0.08);
}

.work-card-frame {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.work-card-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: transform var(--dur-scroll) cubic-bezier(0.22, 0.61, 0.36, 1);
}
.work-card:hover .work-card-frame img {
  transform: translateY(calc(var(--scroll-distance, 0px) * -1));
}

.work-card-info {
  padding-top: 22px;
}
.work-card-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.work-card-info p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------------- */
/* 11. CTA                                                                  */
/* ---------------------------------------------------------------------- */

.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: 160px 0;
}
.cta-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(91, 76, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 85% 100%, rgba(143, 124, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-section .eyebrow { color: var(--gray-400); }
.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.cta-title .muted { color: var(--gray-400); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-actions .btn--primary { --btn-bg: var(--white); --btn-fg: var(--black); }
.cta-actions .btn--primary:hover { --btn-bg: var(--accent-2); --btn-fg: var(--black); }
/* ---------------------------------------------------------------------- */
/* 12. Footer                                                              */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-inverse);
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { height: 39px; width: auto; flex-shrink: 0; }
.footer-brand p { color: white; font-size: 14.5px; }

.footer-cols { display: flex; gap: 72px; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a, .footer-col span {
  font-size: 15px;
  color: var(--gray-200);
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer-col a:hover { color: var(--white); }
.footer-col span { color: var(--gray-500); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
}
.footer-bottom p { font-size: 13.5px; color: var(--gray-500); }
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 13.5px;
  color: var(--gray-500);
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer-legal a:hover { color: var(--white); }
.to-top {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.to-top:hover { background: var(--white); color: var(--black); transform: translateY(-3px); }

/* ---------------------------------------------------------------------- */
/* 13. Reveal / scroll animation                                           */
/* ---------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.18s; }

.pricing-grid .pricing-card:nth-child(1) { transition-delay: 0s; }
.pricing-grid .pricing-card:nth-child(2) { transition-delay: 0.06s; }
.pricing-grid .pricing-card:nth-child(3) { transition-delay: 0.12s; }


/* ---------------------------------------------------------------------- */
/* 14. Responsive                                                          */
/* ---------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --container-pad: 24px; --header-h: 72px; }

  section { padding: 88px 0; }

  .main-nav { display: none; }
  .header-actions .btn--sm { display: none; }
  .menu-toggle { display: flex; }

  .brand-mark { height: 33px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { justify-content: space-between; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }

  .hero-title { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .cta-section { padding: 110px 0; }

  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 18px; align-items: flex-start; }

  .mobile-nav a { font-size: 26px; }
}

@media (max-width: 420px) {
  .brand-mark { height: 27px; }
}

/* Dark-section logo swap (footer already uses white mark directly) */

/* ---------------------------------------------------------------------- */
/* 15. Start a project modal                                               */
/* ---------------------------------------------------------------------- */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.project-modal[hidden] { display: none; }

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-soft);
}

.project-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  box-shadow: 0 40px 80px -24px rgba(10, 10, 11, 0.35);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

.project-modal.is-open .project-modal__backdrop { opacity: 1; }
.project-modal.is-open .project-modal__dialog { opacity: 1; transform: translateY(0) scale(1); }

.project-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.project-modal__close:hover { background: var(--gray-100); color: var(--text); }

.modal-view { display: none; }
.modal-view.is-active { display: block; }

.modal-view__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.modal-view__lead {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
}

.modal-view__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.modal-view__back:hover { color: var(--text); }

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1.4px var(--border);
  transition: box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.modal-option:hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.4px var(--accent);
  transform: translateY(-1px);
}
.modal-option:hover .modal-option__icon { color: var(--accent); background: var(--white); }
.modal-option:hover .modal-option__arrow { transform: translate(2px, -2px); }

.modal-option__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--text);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}

.modal-option__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.modal-option__title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
}
.modal-option__desc { font-size: 13.5px; color: var(--text-muted); }

.modal-option__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--dur-fast) var(--ease-soft);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-form[hidden] { display: none; }
.modal-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-form__row[hidden] { display: none; }
.modal-form__row label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}
.modal-form__row label span[aria-hidden] { color: var(--accent); }
.modal-form__optional {
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--gray-50);
  border: 1.4px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}
.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.modal-form input:invalid:not(:placeholder-shown) { border-color: var(--border); }
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237a7a82' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.modal-form button[type="submit"] { margin-top: 6px; }

/* Callback topic chips ("What's it about?") */
.cb-topic-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cb-topic-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.4px var(--border);
  color: var(--text);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.cb-topic-chip:hover { box-shadow: inset 0 0 0 1.4px var(--accent); }
.cb-topic-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.cb-topic-chip input:checked ~ span {
  color: inherit;
}
.cb-topic-chip:has(input:checked),
.cb-topic-chip.is-checked {
  background: var(--accent);
  color: var(--white);
  box-shadow: inset 0 0 0 1.4px var(--accent);
}
.cb-topic-chip input:focus-visible ~ span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Callback date/time calendar picker */
.cb-calendar {
  background: var(--gray-50);
  border: 1.4px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px 16px;
}
.cb-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cb-calendar__month {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}
.cb-calendar__nav {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.cb-calendar__nav:hover:not(:disabled) { background: var(--gray-200); color: var(--text); }
.cb-calendar__nav:disabled { opacity: 0.3; cursor: default; }

.cb-calendar__weekdays,
.cb-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cb-calendar__weekdays {
  margin-bottom: 4px;
}
.cb-calendar__weekdays span {
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 4px;
}
.cb-calendar__grid { gap: 3px; }

.cb-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.cb-day:hover:not(.is-disabled):not(.is-selected) { background: var(--gray-200); }
.cb-day.is-today { box-shadow: inset 0 0 0 1.4px var(--border); }
.cb-day.is-selected { background: var(--accent); color: var(--white); }
.cb-day.is-disabled { color: var(--gray-400); cursor: default; opacity: 0.55; }
.cb-day.is-empty { visibility: hidden; }

.cb-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.cb-time-chip {
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.4px var(--border);
  color: var(--text);
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.cb-time-chip:hover { box-shadow: inset 0 0 0 1.4px var(--accent); }
.cb-time-chip.is-selected {
  background: var(--accent);
  color: var(--white);
  box-shadow: inset 0 0 0 1.4px var(--accent);
}
.cb-times__empty {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.cb-times__empty[hidden] { display: none; }

.modal-form__error {
  margin: -6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #c0392b;
}
.modal-form__error[hidden] { display: none; }

.modal-form__privacy {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}
.modal-form__privacy a {
  color: var(--text-muted);
  text-decoration: underline;
}
.modal-form__privacy a:hover { color: var(--text); }

.modal-form button[type="submit"][disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
}

.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 4px 8px;
}
.modal-success[hidden] { display: none; }
.modal-success svg { color: var(--accent); }
.modal-success p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.modal-success p strong { color: var(--text); }

@media (max-width: 640px) {
  .project-modal { padding: 0; align-items: flex-end; }
  .project-modal__dialog {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 36px 24px 32px;
  }
  .project-modal.is-open .project-modal__dialog { transform: translateY(0); }
  .project-modal__dialog { transform: translateY(24px); }
}

/* ---------------------------------------------------------------------- */
/* 16. Pricing (pricing.html)                                              */
/* ---------------------------------------------------------------------- */

.page-hero {
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: 56px;
}
.page-hero-inner { max-width: 640px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 48ch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.pricing-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 10, 11, 0.22);
}

.pricing-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pricing-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-bottom: 4px;
}
.pricing-card-price-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.pricing-card-price-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-card-price-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}
.pricing-card-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
.pricing-card-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.pricing-card-cta { margin-top: auto; }

/* Niveo Complete — the featured bundle */
.pricing-complete {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  overflow: hidden;
}
.pricing-complete-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 65% at 15% 0%, rgba(91, 76, 255, 0.32), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(143, 124, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.pricing-complete-main,
.pricing-complete-panel { position: relative; }

.pricing-complete-eyebrow { color: var(--gray-400); margin-bottom: 16px; }
.pricing-complete-main h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pricing-complete-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 44ch;
  margin-bottom: 32px;
}
.pricing-complete-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}
.pricing-complete-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--white);
}
.pricing-complete-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-2);
}

.pricing-complete-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-inverse);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.pricing-complete-value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.pricing-complete-value li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray-400);
}
.pricing-complete-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--border-inverse);
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 22px;
}
.pricing-complete-total-value { text-decoration: line-through; }

.pricing-complete-package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}
.pricing-complete-package-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
}
.pricing-complete-package-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pricing-complete-package-value .unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-400);
}
.pricing-complete-panel .btn--primary { --btn-bg: var(--white); --btn-fg: var(--black); margin-top: auto; }
.pricing-complete-panel .btn--primary:hover { --btn-bg: var(--accent-2); --btn-fg: var(--black); }

/* Custom projects strip */
.custom-projects {
  background: var(--gray-50);
  text-align: center;
}
.custom-projects-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.custom-projects h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 20px;
}
.custom-projects p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-complete { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
  .pricing-complete-features { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pricing-card { padding: 32px 24px; }
  .pricing-complete-panel { padding: 24px; }
  .pricing-complete-package-price { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---------------------------------------------------------------------- */
/* 17. Founder                                                             */
/* ---------------------------------------------------------------------- */

.founder-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.founder-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-content h2 {
  font-size: clamp(40px, 6vw, 76px);
  margin-bottom: 6px;
}
.founder-role {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.founder-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 24px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  width: fit-content;
}
.founder-link svg { transition: transform var(--dur-fast) var(--ease-soft); }
.founder-link:hover { color: var(--accent); }
.founder-link:hover svg { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .founder-inner { grid-template-columns: 1fr; gap: 32px; }
  .founder-media { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------------- */
/* 17. Pricing preview (homepage)                                          */
/* ---------------------------------------------------------------------- */

.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.pricing-preview-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.pricing-preview-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 10, 11, 0.22);
}
.pricing-preview-card-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pricing-preview-card-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-preview-card-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.pricing-preview-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}
.pricing-preview-card-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* Niveo Complete — the featured bundle */
.pricing-preview-complete {
  position: relative;
  display: block;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  overflow: hidden;
  margin-bottom: 48px;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.pricing-preview-complete:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 10, 11, 0.4);
}
.pricing-preview-complete-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 65% at 15% 0%, rgba(91, 76, 255, 0.32), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(143, 124, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.pricing-preview-complete-eyebrow { position: relative; color: var(--gray-400); margin-bottom: 16px; }
.pricing-preview-complete h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pricing-preview-complete-desc {
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 48ch;
  margin-bottom: 32px;
}
.pricing-preview-complete-features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
}
.pricing-preview-complete-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--white);
}
.pricing-preview-complete-features svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-2);
}

.pricing-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  width: fit-content;
}
.pricing-preview-link svg { transition: transform var(--dur-fast) var(--ease-soft); }
.pricing-preview-link:hover { color: var(--accent); }
.pricing-preview-link:hover svg { transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .pricing-preview-grid { grid-template-columns: 1fr; }
  .pricing-preview-complete { padding: 40px 28px; }
  .pricing-preview-complete-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-preview-card { padding: 32px 24px; }
}

/* ---------------------------------------------------------------------- */
/* 18. Behind Niveo (behind-niveo.html)                                    */
/* ---------------------------------------------------------------------- */

/* --- Hero --- */
.bz-hero {
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 64px;
}
.bz-hero-inner { max-width: 920px; }
.bz-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 4px 0 32px;
}
.bz-hero-sub {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
}

/* --- More than a website --- */
.bz-intro-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.bz-intro-text h2 { margin-bottom: 24px; }
.bz-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.45;
  margin-bottom: 20px;
}
.bz-intro-text p:not(.bz-lead) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: 18px;
}
.bz-intro-text p:last-child { margin-bottom: 0; }

.bz-discipline-list {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.bz-discipline-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease-soft), padding-left var(--dur-fast) var(--ease-soft);
}
.bz-discipline-list li:hover {
  color: var(--accent);
  padding-left: 6px;
}

/* --- The story --- */
.bz-story-inner { max-width: 740px; margin: 0 auto; text-align: center; }
.bz-story-inner .eyebrow { display: flex; justify-content: center; }
.bz-story-inner h2 { margin-bottom: 32px; }
.bz-story-inner p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 18px;
}
.bz-story-inner p:last-child { margin-bottom: 0; }

/* --- The person behind Niveo --- */
.bz-person { background: var(--gray-50); }
.bz-person-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.bz-person-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.bz-person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease);
}
.bz-person-media.is-visible .bz-person-photo { transform: scale(1); }

.bz-person-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.bz-person-content p:not(.bz-person-role) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 18px;
}
.bz-person-content p:last-child { margin-bottom: 0; }

/* --- The way we think --- */
.bz-way { background: var(--black); color: var(--white); }
.bz-way-eyebrow { color: var(--gray-400); }
.bz-way h2 {
  font-size: clamp(34px, 5.4vw, 68px);
  max-width: 15ch;
  margin-bottom: 44px;
}
.bz-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-inverse);
}
.bz-principles li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-inverse);
  transition: padding-left var(--dur-fast) var(--ease-soft);
}
.bz-principles li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--border-inverse); }
.bz-principles li:nth-child(even) { padding-left: 24px; }
.bz-principles li:hover { padding-left: 10px; }
.bz-principles li:nth-child(even):hover { padding-left: 34px; }
.bz-principles__index {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--dur-fast) var(--ease-soft);
}
.bz-principles__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 27px);
  letter-spacing: -0.01em;
  color: var(--gray-400);
  transition: color var(--dur-fast) var(--ease-soft);
}
.bz-principles li:hover .bz-principles__index { color: var(--accent-2); }
.bz-principles li:hover .bz-principles__name { color: var(--white); }
.bz-way-close {
  margin-top: 44px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-400);
  max-width: 62ch;
}

/* --- Visual identity --- */
.bz-identity-stage {
  margin-top: 8px;
  background: var(--near-black);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.bz-identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bz-id-card {
  grid-column: span 1;
  background: var(--black);
  border: 1px solid var(--border-inverse);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}
.bz-id-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }
.bz-id-card--wide { grid-column: span 2; }
.bz-id-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.bz-id-wordmark { margin: auto 0 0; width: 100%; max-width: 148px; height: auto; }
.bz-id-mark { margin: auto; width: 68px; height: 68px; aspect-ratio: 1 / 1; object-fit: contain; }

.bz-id-tiles { margin: auto 0 0; display: flex; align-items: flex-end; gap: 12px; }
.bz-id-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--near-black);
  border: 1px solid var(--border-inverse);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.bz-id-tile--lg { width: 56px; height: 56px; }
.bz-id-tile--sm { width: 34px; height: 34px; }
.bz-id-tile img { width: 62%; height: 62%; aspect-ratio: 1 / 1; object-fit: contain; }

.bz-id-appicon {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-inverse);
  background: var(--white);
}
.bz-id-appicon--lg { width: 56px; height: 56px; }
.bz-id-appicon--sm { width: 34px; height: 34px; }
.bz-id-appicon img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

.bz-id-swatches { margin: auto 0 0; display: flex; gap: 10px; }
.bz-id-swatch { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.bz-id-swatch--accent { background: var(--accent); }
.bz-id-swatch--white { background: var(--white); }
.bz-id-swatch--black { background: var(--near-black); border: 1px solid var(--border-inverse); }

.bz-id-type { margin: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.bz-id-type-glyph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: var(--white);
}
.bz-id-type-meta {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  text-align: right;
  line-height: 1.7;
}

.bz-identity-meta {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* --- Final statement --- */
.bz-statement {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  text-align: center;
}
.bz-statement-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 820px;
  height: 820px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(237, 234, 255, 0) 70%);
  pointer-events: none;
}
.bz-statement-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.bz-statement h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6.6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* --- Final CTA --- */
.bz-cta-sub {
  font-size: 16px;
  color: var(--gray-400);
  margin: -32px 0 40px;
}

@media (max-width: 900px) {
  .bz-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .bz-person-inner { grid-template-columns: 1fr; gap: 32px; }
  .bz-person-media { aspect-ratio: 4 / 5; max-width: 380px; margin: 0 auto; }
  .bz-person-content { max-width: 480px; margin: 0 auto; text-align: center; }
  .bz-person-content .eyebrow { display: flex; justify-content: center; }
  .bz-person-content p:not(.bz-person-role) { margin-left: auto; margin-right: auto; }
  .bz-statement { padding: 120px 0; }

  .bz-identity-stage { padding: 28px; }
  .bz-identity-grid { grid-template-columns: repeat(2, 1fr); }
  .bz-id-card--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .bz-hero { padding-top: calc(var(--header-h) + 56px); }
  .bz-person-media { max-width: none; margin: 0; }
  .bz-way h2 { max-width: 100%; }
  .bz-principles { grid-template-columns: 1fr; }
  .bz-principles li:nth-child(odd) { padding-right: 0; border-right: none; }
  .bz-principles li:nth-child(even) { padding-left: 0; }
  .bz-principles li:nth-child(even):hover { padding-left: 10px; }

  .bz-identity-stage { padding: 18px; border-radius: var(--radius-md); }
  .bz-identity-grid { grid-template-columns: 1fr; gap: 10px; }
  .bz-id-card--wide { grid-column: span 1; }
  .bz-id-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    min-height: 0;
  }
  .bz-id-label { margin-bottom: 0; flex-shrink: 0; }
  .bz-id-wordmark { margin: 0; max-width: 110px; }
  .bz-id-mark { margin: 0; width: 44px; height: 44px; }
  .bz-id-tiles { margin: 0; }
  .bz-id-swatches { margin: 0; }
  .bz-id-swatch { width: 32px; height: 32px; }
  .bz-id-type { margin: 0; flex: 1; justify-content: flex-end; }
  .bz-id-type-glyph { font-size: 34px; }
  .bz-identity-meta { font-size: 11px; letter-spacing: 0.1em; }
}

/* ---------------------------------------------------------------------- */
/* 19. Legal pages (privatlivspolitik.html, handelsbetingelser.html)       */
/* ---------------------------------------------------------------------- */

.legal-hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 24px;
}
.legal-hero-inner { max-width: 900px; margin: 0 auto; }
.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.legal-updated { font-size: 14px; color: var(--text-muted); }

.legal-body { padding-top: 24px; padding-bottom: 120px; }
.legal-inner { max-width: 900px; margin: 0 auto; }
.legal-inner > p.legal-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.legal-inner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -0.01em;
  margin: 52px 0 16px;
}
.legal-inner h2:first-of-type { margin-top: 48px; }
.legal-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.legal-inner ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}
.legal-inner li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
.legal-inner address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.legal-inner strong { color: var(--text); font-weight: 600; }
.legal-inner a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.legal-inner a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .legal-hero { padding-top: calc(var(--header-h) + 40px); }
}

/* ---------------------------------------------------------------------- */
/* 20. Contact (contact.html)                                              */
/* ---------------------------------------------------------------------- */

.contact-hero {
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 48px;
}
.contact-hero-inner { max-width: 820px; }
.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 4px 0 28px;
}
.contact-hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 54ch;
}

/* --- Start a project (primary) --- */
.contact-primary { padding-top: 0; padding-bottom: 56px; }
.contact-primary-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  text-align: left;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.contact-primary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -24px rgba(10, 10, 11, 0.35);
}
.contact-primary-card:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}
.contact-primary-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(91, 76, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(143, 124, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.contact-primary-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.contact-primary-eyebrow { color: var(--gray-400); margin-bottom: 0; }
.contact-primary-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-primary-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 48ch;
}
.contact-primary-arrow {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-primary-arrow svg { transition: transform var(--dur-fast) var(--ease-soft); }
.contact-primary-card:hover .contact-primary-arrow svg { transform: translate(4px, -4px); }

/* --- Email / Call / Social --- */
.contact-grid-section { padding-top: 0; padding-bottom: 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft);
}
.contact-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 10, 11, 0.18);
}
.contact-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}
.contact-card:hover .contact-card-icon { background: var(--accent); color: var(--white); }
.contact-card-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.contact-card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 6px;
}
.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}
.contact-social-links a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease-soft);
}
.contact-social-links a:hover { color: var(--accent); }

/* --- What happens next --- */
.contact-process { background: var(--gray-50); padding: 64px 0; }
.contact-process-list { border-top: 1px solid var(--border); margin-top: 36px; }
.contact-process-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--dur-fast) var(--ease-soft);
}
.contact-process-item:hover { padding-left: 6px; }
.contact-process-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.contact-process-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.contact-process-item:hover .contact-process-body h3 { color: var(--accent); }
.contact-process-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
}

/* --- Location --- */
.contact-location { padding-top: 64px; padding-bottom: 120px; text-align: center; }
.contact-location-inner p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-primary-card { flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px 28px; }
  .contact-primary-arrow { align-self: flex-end; }
}

@media (max-width: 640px) {
  .contact-hero { padding-top: calc(var(--header-h) + 56px); }
  .contact-process-item { grid-template-columns: 1fr; gap: 8px; }
  .contact-process-item:hover { padding-left: 0; }
  .contact-location { padding-bottom: 88px; }
}
