/* =====================================================================
   XMK Finance - shared site styles
   Edit colors / typography in :root, then everything else cascades.
   ===================================================================== */

/* ---------- Self-hosted Inter ----------
   The matching .woff2 files live in /fonts/.
   Subsets: latin + latin-ext (covers Danish æ ø å). */
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 300; font-display: swap;
  src: url('/fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/inter-400-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/inter-500-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/inter-600-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/inter-700-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('/fonts/inter-800-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 800; font-display: swap;
  src: url('/fonts/inter-800-latin-ext.woff2') format('woff2');
}

/* ---------- Brand tokens ---------- */
:root {
  --ink-navy: #0E1E3A;
  --signal-orange: #E8743C;
  --ember: #C25525;
  --paper: #F5F1EA;
  --paper-warm: #FAF6EE;
  --bone: #E4DDCE;
  --slate: #6B6A66;
  --slate-soft: #8E8C87;
  --navy-soft: #1B2C4D;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1280px;
  --pad-x: 56px;
  --nav-h: 88px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background .25s ease, backdrop-filter .25s ease, box-shadow .25s ease, padding .25s ease;
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
}
/* Pages with a dark hero/page background get the chrome on always */
.nav.solid,
.nav.scrolled {
  background: rgba(14, 30, 58, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.4);
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav .logo { display: inline-flex; align-items: center; }
.nav .logo img { height: 32px; width: auto; display: block; }

.nav .menu {
  display: flex; align-items: center; gap: 40px;
  font-size: 17px; font-weight: 500;
  color: rgba(245, 241, 234, 0.9);
}
.nav .menu a {
  color: inherit; text-decoration: none;
  transition: color .15s ease;
}
.nav .menu a:hover,
.nav .menu a.active { color: var(--signal-orange); }
.nav .lang {
  display: flex; align-items: center; gap: 10px;
  padding-left: 28px; margin-left: 12px;
  border-left: 1px solid rgba(245, 241, 234, 0.18);
}
.nav .lang a {
  display: inline-flex; align-items: center;
  padding: 4px; border-radius: 4px; line-height: 0;
  opacity: 0.55;
  transition: opacity .15s ease, transform .15s ease;
}
.nav .lang a:hover { opacity: 1; transform: translateY(-1px); }
.nav .lang a.active { opacity: 1; outline: 2px solid rgba(232, 116, 60, 0.7); outline-offset: 1px; }
.nav .lang svg { width: 26px; height: 18px; display: block; border-radius: 2px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(245, 241, 234, 0.25);
  border-radius: 8px;
  color: var(--paper);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 49;
  background: rgba(14, 30, 58, 0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: calc(var(--nav-h) + 8px) 24px 32px;
  flex-direction: column; gap: 8px;
  transform: translateY(-100%);
  transition: transform .3s ease;
  border-bottom: 1px solid rgba(245, 241, 234, 0.12);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.08);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a:focus, .mobile-menu a.active { color: var(--signal-orange); }
.mobile-menu .mm-lang {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 234, 0.12);
}
.mobile-menu .mm-lang a { padding: 6px; border: none; opacity: 0.6; }
.mobile-menu .mm-lang a.active { opacity: 1; outline: 2px solid rgba(232,116,60,0.7); border-radius: 4px; }
.mobile-menu .mm-lang svg { width: 32px; height: 22px; display: block; border-radius: 2px; }

/* ---------- HERO ---------- */
.hero {
  position: relative; width: 100%;
  min-height: 100vh; overflow: hidden;
  background-color: var(--ink-navy);
  background-image:
    linear-gradient(90deg,
      rgba(14, 30, 58, 0.97) 0%,
      rgba(14, 30, 58, 0.92) 28%,
      rgba(14, 30, 58, 0.55) 48%,
      rgba(14, 30, 58, 0.05) 70%,
      rgba(14, 30, 58, 0.00) 85%),
    url('/img/cover.jpg');
  background-size: cover, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 120px;
  display: grid; grid-template-columns: minmax(0, 620px) 1fr;
}
.hero-content { color: var(--paper); padding-right: 24px; }

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s ease forwards; }
.fade-up.d1 { animation-delay: .10s; }
.fade-up.d2 { animation-delay: .25s; }
.fade-up.d3 { animation-delay: .40s; }
.fade-up.d4 { animation-delay: .55s; }
.fade-up.d5 { animation-delay: .70s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
}

.hero-eyebrow,
.section-eyebrow,
.contact-side-title {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--signal-orange);
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow { margin-bottom: 32px; }
.section-eyebrow { margin-bottom: 22px; }
.hero-eyebrow::before,
.section-eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: var(--signal-orange);
}

.hero-slogan {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 32px;
  color: var(--paper);
}
.hero-slogan .line { display: block; }
.hero-slogan .accent { color: var(--signal-orange); }
.hero-subline {
  font-size: 18px; line-height: 1.6;
  color: rgba(245, 241, 234, 0.85);
  max-width: 540px; margin: 0 0 44px;
}
.hero-cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--signal-orange);
  color: var(--ink-navy);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  min-height: 48px;
  box-shadow: 0 6px 20px -8px rgba(232,116,60,0.5);
  transition: background .15s ease, transform .15s ease, box-shadow .2s ease, color .15s ease;
}
.btn-primary:hover { background: var(--ember); color: var(--paper); }
.btn-primary .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(245, 241, 234, 0.92);
  text-decoration: none;
  font-weight: 500; font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.3);
  min-height: 44px;
  transition: border-color .15s ease, color .15s ease;
}
.btn-secondary:hover {
  color: var(--signal-orange);
  border-color: var(--signal-orange);
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 36px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(245, 241, 234, 0.55);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp 1.2s ease .9s forwards;
  transition: color .2s ease;
}
.scroll-cue:hover { color: var(--signal-orange); }
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(245,241,234,0.4), rgba(245,241,234,0));
  overflow: hidden; position: relative;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--signal-orange));
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0% { top: -36px; }
  60% { top: 36px; }
  100% { top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line::after { animation: none; top: 0; }
  .scroll-cue { animation: none; opacity: 1; }
}

/* ---------- Sections ---------- */
section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0;
}
.container {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--pad-x);
}
.section-title {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08; letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink-navy);
}
.section-intro {
  font-size: 18px; color: var(--slate);
  max-width: 640px; margin: 0 0 56px;
}

/* ---------- Services ---------- */
#ydelser, #services { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper-warm);
  border: 1px solid var(--bone);
  border-radius: 18px;
  padding: 40px 32px 36px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(14, 30, 58, 0.25);
  border-color: var(--signal-orange);
}
.service-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink-navy);
  position: relative; padding-top: 14px;
}
.service-title::before {
  content: ""; position: absolute;
  top: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--signal-orange);
}
.service-promise {
  font-size: 16px; color: var(--slate);
  margin: 0 0 24px; line-height: 1.5;
}
.service-bullets { list-style: none; padding: 0; margin: 0; }
.service-bullets li {
  position: relative; padding-left: 22px;
  margin-bottom: 12px; font-size: 15px;
  color: var(--ink-navy); line-height: 1.5;
}
.service-bullets li:last-child { margin-bottom: 0; }
.service-bullets li::before {
  content: ""; position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--signal-orange);
}

/* ---------- Examples / Cases ---------- */
#eksempler, #examples {
  background: var(--paper-warm);
  border-top: 1px solid var(--bone);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.case-card {
  background: var(--paper);
  border: 1px solid var(--bone);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -24px rgba(14, 30, 58, 0.28);
  border-color: var(--signal-orange);
}
.case-img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--bone);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1200 / 740;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.case-card:hover .case-img img { transform: scale(1.015); }
.case-zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 30, 58, 0.78);
  color: var(--paper);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.case-zoom svg { width: 16px; height: 16px; }
.case-card:hover .case-zoom,
.case-img:focus-visible .case-zoom {
  opacity: 1;
  transform: translateY(0);
}
.case-img:focus-visible {
  outline: 2px solid var(--signal-orange);
  outline-offset: 2px;
}
.case-body {
  padding: 28px 32px 32px;
  display: flex; flex-direction: column;
  flex: 1;
}
.case-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--signal-orange);
  margin-bottom: 12px;
}
.case-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink-navy);
}
.case-value {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
.cases-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 40px;
  font-size: 13.5px;
  color: var(--slate-soft);
  line-height: 1.5;
}
.cases-note-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal-orange);
  flex-shrink: 0;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 30, 58, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity .2s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-img {
  max-width: min(1400px, 96vw);
  max-height: 92vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245, 241, 234, 0.12);
  color: var(--paper);
  border: 1px solid rgba(245, 241, 234, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.lightbox-close:hover {
  background: var(--signal-orange);
  border-color: var(--signal-orange);
  color: var(--ink-navy);
  transform: scale(1.05);
}
.lightbox-close svg { width: 20px; height: 20px; }
body.lightbox-open { overflow: hidden; }

/* ---------- About ---------- */
#om, #about { background: var(--paper-warm); border-top: 1px solid var(--bone); }
.about-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 72px; align-items: center;
  width: 100%;
}
.about-photo {
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--bone);
  box-shadow: 0 24px 50px -28px rgba(14, 30, 58, 0.35);
  max-width: 360px;
  justify-self: start;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
.about-lead {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600; line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink-navy);
  margin: 0 0 28px;
}
.about-body p {
  font-size: 17px; color: var(--ink-navy);
  line-height: 1.65; margin: 0 0 18px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body .engagement-lead {
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 12px;
}
.about-bullets {
  list-style: none; padding: 0;
  margin: 0 0 18px;
}
.about-bullets li {
  position: relative; padding-left: 22px;
  margin-bottom: 10px; font-size: 17px;
  color: var(--ink-navy); line-height: 1.6;
}
.about-bullets li:last-child { margin-bottom: 0; }
.about-bullets li::before {
  content: ""; position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 2px;
  background: var(--signal-orange);
}

/* ---------- Contact ---------- */
#kontakt, #contact, .contact-page {
  background: var(--ink-navy);
  color: var(--paper);
  position: relative; overflow: hidden;
}
#kontakt::before, #contact::before, .contact-page::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(232, 116, 60, 0.16), transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(232, 116, 60, 0.08), transparent 45%);
  pointer-events: none;
}
#kontakt .container, #contact .container, .contact-page .container { position: relative; z-index: 1; }
#kontakt .section-title, #contact .section-title, .contact-page .section-title { color: var(--paper); }
#kontakt .section-intro, #contact .section-intro, .contact-page .section-intro { color: rgba(245, 241, 234, 0.7); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-side-title {
  color: rgba(245, 241, 234, 0.6);
  margin: 0 0 8px;
}
.contact-direct {
  display: flex; flex-direction: column; gap: 4px;
}
.contact-direct a {
  color: rgba(245, 241, 234, 0.9);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 16px;
  min-height: 36px;
  transition: color .15s ease;
}
.contact-direct a:hover { color: var(--signal-orange); }
.contact-direct svg {
  width: 18px; height: 18px;
  flex-shrink: 0; opacity: 0.7;
}

/* Contact form */
.contact-form {
  background: rgba(245, 241, 234, 0.04);
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 18px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: rgba(245, 241, 234, 0.75);
}
.form-field label .req { color: var(--signal-orange); margin-left: 2px; }
.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--paper);
  background: rgba(7, 17, 42, 0.5);
  border: 1px solid rgba(245, 241, 234, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.5;
  min-height: 44px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--signal-orange);
  background: rgba(7, 17, 42, 0.7);
  box-shadow: 0 0 0 3px rgba(232,116,60,0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245, 241, 234, 0.35); }
.form-consent {
  margin: 0;
  font-size: 13px;
  color: rgba(245, 241, 234, 0.75);
  line-height: 1.5;
}
.form-consent a {
  color: var(--signal-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-consent a:hover { color: var(--paper); }
.form-submit { margin-top: 8px; align-self: flex-start; }
.honeypot {
  position: absolute;
  left: -10000px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink-navy);
  color: rgba(245, 241, 234, 0.6);
  padding: 32px 0;
  border-top: 1px solid rgba(245, 241, 234, 0.08);
  font-size: 13px;
  min-height: auto;
  display: block;
}
footer.site-footer .container {
  display: flex;
  align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
footer.site-footer .footer-left {
  display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
footer.site-footer a {
  color: rgba(245, 241, 234, 0.75);
  text-decoration: none;
  transition: color .15s ease;
}
footer.site-footer a:hover { color: var(--signal-orange); }
footer.site-footer .dot { color: var(--signal-orange); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 30;
  text-align: center;
  background: var(--signal-orange);
  color: var(--ink-navy);
  padding: 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 10px 30px -8px rgba(14, 30, 58, 0.5);
}

/* ---------- Standalone simple pages (privacy, 404, thanks) ---------- */
.simple-page {
  background: var(--paper);
}
.simple-page .topbar {
  background: var(--ink-navy);
  padding: 24px 56px;
}
.simple-page .topbar a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.simple-page .topbar a:hover { color: var(--signal-orange); }
.simple-page .content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.simple-page .content a { color: var(--signal-orange); }
.simple-page .content a:hover { color: var(--ink-navy); }
.simple-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 700;
}
.simple-page .updated {
  color: var(--slate);
  font-size: 14px;
  margin: 0 0 48px;
}
.simple-page h2 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  color: var(--ink-navy);
}
.simple-page p {
  font-size: 16px;
  color: var(--ink-navy);
  line-height: 1.65;
  margin: 0 0 16px;
}
.simple-page .footer {
  background: var(--ink-navy);
  color: rgba(245,241,234,0.6);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
}
.simple-page .footer a { color: rgba(245,241,234,0.85); text-decoration: none; }
.simple-page .footer a:hover { color: var(--signal-orange); }
.simple-page .footer .dot { color: var(--signal-orange); margin: 0 10px; }

/* ---------- Centered "tak" / 404 card ---------- */
.center-page {
  background: var(--ink-navy);
  color: var(--paper);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.center-page .wrap {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.center-page .card { max-width: 560px; text-align: center; }
.center-page .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--signal-orange);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 0 32px;
}
.center-page h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
.center-page p {
  font-size: 17px;
  color: rgba(245, 241, 234, 0.85);
  margin: 0 0 32px;
}
.center-page .btn {
  display: inline-block;
  background: var(--signal-orange);
  color: var(--paper);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.center-page .btn:hover {
  background: var(--ember);
  transform: translateY(-1px);
}
.center-page .footer {
  color: rgba(245, 241, 234, 0.5);
  padding: 24px;
  text-align: center;
  font-size: 13px;
}
.center-page .footer a { color: rgba(245, 241, 234, 0.8); text-decoration: none; }
.center-page .footer a:hover { color: var(--signal-orange); }
.center-page .footer .dot { color: var(--signal-orange); margin: 0 10px; }

/* ---------- Standalone contact page main ---------- */
main.contact-page {
  flex: 1;
  padding: calc(var(--nav-h) + 80px) 0 100px;
}
.contact-page-body {
  background: var(--ink-navy);
  color: var(--paper);
  min-height: 100vh;
  display: flex; flex-direction: column;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { gap: 28px; }
  .case-body { padding: 24px 26px 28px; }
  .case-title { font-size: 19px; }
  .about-grid { display: block; }
  .about-photo { max-width: 360px; margin: 0 auto 40px; aspect-ratio: 2/3; justify-self: center; }
  .about-photo img { width: 100%; height: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; --nav-h: 64px; }
  .nav { padding: 14px 0; }
  .nav .menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }

  .hero {
    min-height: 100vh;
    display: flex; align-items: flex-end;
    background-image:
      linear-gradient(180deg,
        rgba(14,30,58,0.15) 0%,
        rgba(14,30,58,0.40) 28%,
        rgba(14,30,58,0.78) 55%,
        rgba(14,30,58,0.96) 80%,
        rgba(14,30,58,1) 100%),
      url('/img/cover-mobile.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 24px) var(--pad-x) 80px;
  }
  .hero-content { padding-right: 0; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-slogan { font-size: 30px; margin-bottom: 22px; }
  .hero-subline { font-size: 16px; margin-bottom: 32px; }
  .hero-cta-row .btn-primary { display: none; }
  .hero-cta-row { gap: 0; }
  .scroll-cue { display: none; }

  section { min-height: auto; padding: 72px 0 96px; }
  .section-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 32px 24px 28px; }

  .cases-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-body { padding: 22px 22px 26px; }
  .case-title { font-size: 19px; }
  .case-zoom { opacity: 1; transform: none; top: 10px; right: 10px; width: 34px; height: 34px; }
  .cases-note { margin-top: 28px; font-size: 13px; align-items: flex-start; }
  .cases-note-dot { margin-top: 6px; }

  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }

  .contact-form { padding: 24px; }
  .contact-side { order: 2; }
  .contact-form { order: 1; }

  .mobile-cta { display: block; }
  body.has-sticky-cta { padding-bottom: 80px; }
  body.has-sticky-cta footer.site-footer { padding-bottom: 80px; }
  footer.site-footer .container { flex-direction: column; align-items: flex-start; }

  main.contact-page { padding: calc(var(--nav-h) + 48px) 0 64px; }
  .simple-page .topbar { padding: 18px 24px; }
}
