/* Said Solutions, gemensam stil */
:root {
  --black: #000;
  --white: #fff;
  --grey-100: #d4d4d4;
  --grey-300: #a3a3a3;
  --grey-500: #525252;
  --grey-700: #333;
  --grey-800: #262626;
  --font: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--white); }
a:hover { color: #bdbdbd; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--black); padding: 10px 16px; z-index: 10; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.brand-s { font-family: "Rubik Bubbles", var(--font); font-size: 44px; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: 0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 8px; }
.nav a { padding: 12px 18px; text-decoration: none; font-size: 15px; font-weight: 400; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { font-weight: 500; border-bottom-color: var(--white); }

/* Typografi */
.eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey-300); }
.lead { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--grey-100); max-width: 52ch; }
h1, h2, h3 { margin: 0; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-family: inherit; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-solid { background: var(--white); color: var(--black); border: 1px solid var(--white); font-weight: 600; }
.btn-solid:hover { background: #e5e5e5; color: var(--black); }
.btn-line { background: transparent; color: var(--white); border: 1px solid var(--white); font-weight: 500; }
.btn-line:hover { background: var(--white); color: var(--black); }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; }
.hero .lead { font-size: 20px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
@media (max-width: 600px) { .hero { padding-top: 64px; padding-bottom: 80px; } }

/* Logoband */
.clients { border-top: 1px solid var(--grey-800); border-bottom: 1px solid var(--grey-800); }
.clients { padding-bottom: 96px; }
.clients .wrap { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 48px; }
.clients h2 { font-size: clamp(22px, 5.5vw, 36px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.clients-head { display: flex; flex-direction: column; gap: 12px; }
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { height: 96px; padding: 0 48px; display: flex; align-items: center; flex-shrink: 0; }
.marquee-track img { display: block; width: auto; height: var(--h); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* Kompetenser */
.skills { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.skill { display: flex; flex-direction: column; gap: 12px; }
.skill h3 { font-size: 22px; font-weight: 600; }
.skill p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--grey-100); }
.roles { padding-bottom: 96px; margin-bottom: 0; border-top: 1px solid var(--grey-800); border-bottom: 1px solid var(--grey-800); }
.roles-head { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.roles-head h2 { font-size: clamp(22px, 5.5vw, 36px); font-weight: 600; letter-spacing: -0.01em; }
.live-h { display: flex; align-items: center; gap: 16px; }
.live-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: live-pulse 2s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }
.marquee-reverse { animation-direction: reverse; animation-duration: 40s; }
.roles-track li { height: auto; padding: 0 28px; font-size: clamp(28px, 4vw, 48px); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.roles-track li::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--grey-500); margin-left: 56px; vertical-align: middle; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.section-head h2, .process h2, .about h2 { font-size: clamp(22px, 5.5vw, 36px); font-weight: 600; letter-spacing: -0.01em; }
.text-link { font-size: 15px; font-weight: 500; }

/* Senaste uppdrag */
.latest { padding-top: 96px; padding-bottom: 96px; }
.latest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--grey-700); }
.latest-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--grey-700); text-decoration: none; color: var(--white); }
.latest-card:hover { color: var(--white); }
.latest-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.latest-card .job-cat { font-size: 11px; }
.latest-card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.latest-card p { margin: 0; font-size: 14px; color: var(--grey-300); }

/* Process */
.process { border-top: 1px solid var(--grey-800); border-bottom: 1px solid var(--grey-800); }
.process .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; }
.process-list li { display: flex; flex-direction: column; gap: 12px; }
.step { width: 44px; height: 44px; border: 1px solid var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; }
.process-list h3 { font-size: 22px; font-weight: 600; }
.process-list p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--grey-100); max-width: 34ch; }

/* Om grundaren */
.about { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.about-text { flex: 1 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.about-text p { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--grey-100); }

/* Platshållare, ersätt innan publicering */
.placeholder { outline: 1px dashed #f59e0b; outline-offset: 6px; color: #fbbf24 !important; }

.motto { padding-top: 96px; border-top: 1px solid var(--grey-800); padding-bottom: 96px; }
.motto p { margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; max-width: 24ch; }

/* Sidhuvud undersidor */
.page-head { padding-top: 80px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

/* Uppdrag */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 20px; background: transparent; color: var(--white); border: 1px solid var(--grey-500); font-family: inherit; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 600; }
.toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.count { margin: 0; font-size: 14px; color: var(--grey-300); }
.chip-small { min-height: 44px; padding: 0 16px; font-size: 13px; color: var(--grey-100); }

.jobs { border-top: 1px solid var(--grey-700); margin-bottom: 96px; }
.job { border-bottom: 1px solid var(--grey-700); padding: 28px 0; display: flex; flex-direction: column; gap: 20px; }
.job.is-closed { opacity: 0.45; }
.job-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.job-info { display: flex; flex-direction: column; gap: 8px; flex: 999 1 480px; min-width: 0; }
.job-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.job-cat { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-300); }
.job h2 { font-size: 22px; font-weight: 600; }
.job-meta { margin: 0; font-size: 14px; color: var(--grey-300); }
.job-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.job-actions .btn { min-height: 48px; padding: 0 22px; font-size: 14px; }
.closed-note { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px dashed var(--grey-500); color: var(--grey-300); font-size: 14px; }
.badge { font-size: 12px; font-weight: 500; padding: 4px 10px; white-space: nowrap; }
.badge-rolling { color: var(--grey-300); border: 1px solid #404040; }
.badge-open { color: var(--white); border: 1px solid var(--white); }
.badge-soon { color: var(--black); background: var(--white); }
.badge-closed { color: var(--grey-300); border: 1px dashed var(--grey-500); text-decoration: line-through; }
.job-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding: 8px 0; }
.job-details[hidden] { display: none; }
.job-details h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-300); margin-bottom: 12px; }
.job-details h3 + p { margin: 0 0 12px; }
.job-details p, .job-details ul { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--grey-100); }
.job-details ul { margin: 0 0 12px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.job-details .merit-h { margin-top: 12px; }
.empty { padding: 48px 0; color: var(--grey-300); }

/* Kontakt */
.contact { padding-top: 80px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 80px; }
.contact-info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 40px; }
.contact-info h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.contact-list { display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--grey-700); padding-top: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-item .label { margin: 0; font-size: 14px; color: var(--grey-300); }
.contact-item .value { font-size: 20px; font-weight: 500; text-decoration: none; margin: 0; }
.founder { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.founder img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; display: block; }
.founder a { font-size: 15px; color: var(--grey-100); text-decoration: none; }

.form { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { position: absolute; left: -9999px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--grey-500); font-size: 14px; cursor: pointer; }
.toggle input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 600; }
.toggle input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--grey-300); }
.field input, .field textarea { min-height: 52px; padding: 0 16px; background: transparent; border: 1px solid var(--grey-500); color: var(--white); font-family: inherit; font-size: 16px; border-radius: 0; }
.field textarea { padding: 14px 16px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--white); outline: none; }
.consent { margin: 0; font-size: 13px; color: var(--grey-300); }
.hp { position: absolute; left: -9999px; }

.contact-card { border: 1px solid var(--grey-700); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-card h2 { font-size: 24px; font-weight: 600; }
.contact-card p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--grey-100); max-width: 48ch; }
.contact-card .btn { white-space: normal; text-align: center; }

/* Textsidor */
.prose { padding-top: 80px; padding-bottom: 120px; max-width: 760px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 32px; }
.prose h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--grey-100); }

/* Footer */
.site-footer { border-top: 1px solid var(--grey-800); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--grey-300); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-s { font-size: 28px; color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--grey-100); }
