/* EIK Consulting — design v3 (mars 2026), självhostade typsnitt */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/libre-baskerville-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/libre-baskerville-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/libre-baskerville-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/outfit-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/outfit-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/outfit-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/outfit-latin-600-normal.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #0F0F14;
  --ink-2:     #3D3C47;
  --ink-3:     #8E8D99;
  --bg:        #FFFFFF;
  --bg-warm:   #F9F8F5;
  --bg-warm2:  #F2F0EB;
  --accent:    #0A3BFF;
  --accent-lt: #EBF0FF;
  --gold:      #B9904A;
  --gold-lt:   #FBF5EC;
  --border:    rgba(15,15,20,0.08);
  --border2:   rgba(15,15,20,0.14);
  --r:         8px;
  --r-lg:      18px;
  --r-xl:      28px;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;
  --w:         1160px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.06); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.nav-logo img { height: 40px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--ink-2);
  text-decoration: none; letter-spacing: 0.01em;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-btn {
  background: var(--ink) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: var(--r) !important;
  font-weight: 500 !important; font-size: 14px !important;
  transition: background 0.2s !important;
}
.nav-btn:hover { background: var(--accent) !important; }

/* ── HERO ── */
.hero {
  padding-top: 66px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
}
.hero-l {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 60px 80px 48px;
  background: var(--bg);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 32px;
}
.hero-eyebrow-line { width: 28px; height: 1.5px; background: var(--accent); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.07;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-title .ital { font-style: italic; color: var(--gold); font-weight: 400; }

.hero-lead {
  font-size: 18px; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; max-width: 440px; margin-bottom: 44px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-solid {
  background: var(--ink); color: #fff;
  padding: 13px 26px; border-radius: var(--r);
  font-size: 15px; font-weight: 500; font-family: var(--font-sans);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.22s, transform 0.15s;
}
.btn-solid:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost-line {
  border: 1.5px solid var(--border2); color: var(--ink-2);
  padding: 12px 22px; border-radius: var(--r);
  font-size: 15px; font-weight: 400; font-family: var(--font-sans);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost-line:hover { border-color: var(--ink); color: var(--ink); }

.hero-r {
  position: relative; overflow: hidden;
  background: var(--bg-warm2);
}
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 8s var(--ease);
}
.hero-r:hover .hero-photo { transform: scale(1.03); }

.hero-photo-card {
  position: absolute; bottom: 36px; left: 36px;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  max-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}
.hpc-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.hpc-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.hpc-sub { font-size: 13px; color: var(--ink-3); }

/* ── TAGLINE STRIP ── */
.strip {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 48px;
  display: flex; align-items: center;
  overflow: hidden;
}
.strip-track {
  display: flex;
  animation: scroll-left 22s linear infinite;
  white-space: nowrap;
}
.strip-item {
  display: flex; align-items: center; gap: 28px; padding: 0 28px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--ink-3);
}
.strip-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border2); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ── SHARED ── */
.wrap { max-width: var(--w); margin: 0 auto; }
section { padding: 108px 48px; }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.label::before { content: ''; width: 22px; height: 1.5px; background: var(--accent); }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink);
}
.h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.h2.light { color: #fff; }

/* ── INTRO ── */
#intro { background: var(--bg); }
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: center;
}
.intro-img-col { position: relative; }
.intro-img-frame {
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/5; position: relative;
}
.intro-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-badge {
  position: absolute; top: 28px; right: 28px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 16px 20px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.ib-n { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }
.ib-l { font-size: 11px; color: var(--ink-3); margin-top: 4px; font-weight: 400; }

.intro-text-col .h2 { margin-bottom: 24px; }
.intro-body {
  font-size: 17px; font-weight: 300; color: var(--ink-2);
  line-height: 1.8; margin-bottom: 22px;
}
.intro-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 22px;
  background: var(--gold-lt);
  border-radius: 0 var(--r) var(--r) 0;
  margin: 32px 0 36px;
}
.intro-quote p {
  font-family: var(--font-serif);
  font-size: 19px; font-style: italic; font-weight: 400;
  color: var(--ink); line-height: 1.55;
}

/* ── SERVICES ── */
#services { background: var(--bg-warm); }
.svc-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 52px; gap: 48px;
}
.svc-head-note {
  max-width: 300px; font-size: 16px; font-weight: 300;
  color: var(--ink-3); line-height: 1.7; text-align: right;
}
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 44px 36px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-card:hover { box-shadow: 0 16px 56px rgba(0,0,0,0.08); transform: translateY(-5px); }
.svc-n {
  font-family: var(--font-serif);
  font-size: 56px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--bg-warm2); line-height: 1; margin-bottom: 28px;
  user-select: none;
}
.svc-icon-wrap {
  width: 50px; height: 50px; border-radius: var(--r);
  background: var(--accent-lt); display: flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.svc-title {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px;
}
.svc-desc {
  font-size: 15px; font-weight: 300; color: var(--ink-3);
  line-height: 1.7; flex: 1;
}
.svc-cta {
  display: flex; align-items: center; gap: 7px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--accent);
  text-decoration: none; letter-spacing: 0.02em;
}
.svc-cta svg { transition: transform 0.2s; }
.svc-card:hover .svc-cta svg { transform: translateX(4px); }

/* ── WHY EIK ── */
#why { background: var(--bg); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-top: 52px;
}
.why-img-col { position: relative; }
.why-img-frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3/4; }
.why-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-float-card {
  position: absolute; bottom: 32px; right: 32px;
  background: var(--ink); border-radius: var(--r-lg);
  padding: 20px 24px; max-width: 210px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.wfc-head { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.wfc-body { font-family: var(--font-serif); font-size: 20px; font-style: italic; font-weight: 400; color: #fff; line-height: 1.25; }

.why-items { display: flex; flex-direction: column; }
.why-row {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 18px; padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.why-row:first-child { padding-top: 0; }
.why-row:last-child { border-bottom: none; padding-bottom: 0; }
.why-n {
  font-family: var(--font-serif);
  font-size: 17px; font-style: italic; font-weight: 400;
  color: var(--ink-3); padding-top: 2px; line-height: 1.3;
}
.why-t {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 7px; line-height: 1.2;
}
.why-d { font-size: 15px; font-weight: 300; color: var(--ink-3); line-height: 1.7; }

/* ── CONTACT ── */
#contact { background: var(--bg-warm); }
.contact-grid {
  display: grid; grid-template-columns: 2fr 3fr;
  gap: 72px; align-items: start;
}
.contact-l .h2 { margin-bottom: 18px; }
.contact-l .blurb {
  font-size: 17px; font-weight: 300; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 40px;
}
.contact-deets { display: flex; flex-direction: column; gap: 18px; }
.cdeet { display: flex; align-items: flex-start; gap: 14px; }
.cdeet-icon {
  width: 38px; height: 38px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.cdeet-text { font-size: 14px; color: var(--ink-2); line-height: 1.55; padding-top: 9px; font-style: normal; }
.cdeet-text a { color: var(--ink-2); }

.form-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 48px;
}
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fl {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 7px;
}
.fi {
  width: 100%; background: var(--bg-warm);
  border: 1px solid var(--border2); border-radius: var(--r);
  padding: 13px 15px; font-family: var(--font-sans);
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.fi:focus { border-color: var(--accent); background: var(--bg); }
textarea.fi { resize: vertical; min-height: 112px; }
.fc {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-3); margin: 18px 0 24px;
  line-height: 1.5;
}
.fc input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.fc a { color: var(--accent); text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fsub {
  width: 100%; background: var(--ink); color: #fff;
  border: none; border-radius: var(--r); padding: 15px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  transition: background 0.22s, transform 0.15s;
}
.fsub:hover { background: var(--accent); transform: translateY(-1px); }

/* ── CTA BAND ── */
#cta {
  background: var(--ink);
  padding: 96px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,59,255,0.18) 0%, transparent 68%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 580px; margin: 0 auto; }
.cta-inner .h2 { margin-bottom: 16px; }
.cta-sub { font-size: 18px; font-weight: 300; color: rgba(255,255,255,0.48); margin-bottom: 40px; line-height: 1.65; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg); color: var(--ink);
  padding: 16px 34px; border-radius: var(--r);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, transform 0.15s;
}
.btn-cta-white:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 60px 48px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px; gap: 48px; flex-wrap: wrap;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 10px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.3); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.18s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 10px; }

/* ── SCROLL REVEAL (bara när JS körs) ── */
.js .sr { opacity: 0; transform: translateY(30px); transition: opacity 0.72s var(--ease), transform 0.72s var(--ease); }
.js .sr.d1 { transition-delay: 0.08s; }
.js .sr.d2 { transition-delay: 0.16s; }
.js .sr.visible { opacity: 1; transform: translateY(0); }

/* ── UNDERSIDOR (integritetspolicy, tack) ── */
.page { max-width: 46rem; margin: 0 auto; padding: 120px 24px 80px; }
.page h1 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; line-height: 1.15; }
.page h2 { font-family: var(--font-serif); font-size: 20px; margin: 32px 0 8px; }
.page p { color: var(--ink-2); font-weight: 300; margin-bottom: 12px; }
.page a { color: var(--accent); }
.page.center { text-align: center; }
.page .btn-solid { color: #fff; margin-top: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav { padding: 0 24px; }
  .nav-links a:not(.nav-btn) { display: none; }
  section { padding: 72px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-l { padding: 60px 24px 52px; }
  .hero-r { height: 65vw; }
  .strip { padding: 18px 24px; }
  .intro-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-head { flex-direction: column; align-items: flex-start; }
  .svc-head-note { text-align: left; }
  .form-2col { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  #cta { padding: 72px 24px; }
  footer { padding: 48px 24px 28px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
