/* solidlab-web UI kit — marketing site
   Dark-mode default (Sort base + Antikkhvit fg + Oslo accent)
*/
@import url('./colors_and_type.css');

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

html, body {
  background: var(--sort);
  color: var(--antikkhvit);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ---------- Header ---------- */
.sl-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,10,0.92);
  border-bottom: 1px solid var(--border-dark);
}
.sl-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;
}
/* =============================================================
   WORDMARK — solid (700) + lab (400) + .ai (Oslo blue)
   The weight contrast IS the brand mark.
   ============================================================= */
.sl-wm {
  font-family: var(--font-sans);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--antikkhvit);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: 100%;
}
.sl-wm__solid { font-weight: 700; }
.sl-wm__lab   { font-weight: 300; }
.sl-wm__ai    {
  font-weight: 300;
  margin-left: 0.5px;
  color: #6B8290;  /* Nordic Breeze — dark mode default */
}

/* Light mode: .ai uses Oslo blue (darker, better contrast on Antikkhvit) */
html[data-theme="light"] .sl-wm__ai {
  color: #4A5A62;
}

/* Footer variant — slightly larger than surrounding text for brand presence */
.sl-wm--footer {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  letter-spacing: -0.02em;
}
.sl-wm--footer .sl-wm__ai {
  opacity: 0.7;
}
.sl-nav { display: flex; gap: 32px; align-items: center; }
.sl-nav a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mist); text-decoration: none;
  transition: color 150ms ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.sl-nav a:hover, .sl-nav a.active { color: var(--antikkhvit); }
.sl-nav a.active { color: var(--oslo); }

/* ---------- Slash label ---------- */
.sl-slash {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mist); font-weight: 500;
}
.sl-slash--accent { color: var(--oslo); }

/* ---------- Hero ---------- */
.sl-hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border-dark);
}
.sl-hero__eyebrow { margin-bottom: 32px; }
.sl-hero__title {
  font-size: 88px; line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 400; color: var(--antikkhvit);
  max-width: 900px; text-wrap: balance;
}
.sl-hero__light { font-weight: 400; }
.sl-hero__bold  { font-weight: 700; }
.sl-hero__title em {
  font-style: normal; color: var(--oslo);
}
.sl-hero__title--stacked { display: flex; flex-direction: column; gap: 20px; }
.sl-hero__tagline {
  display: block;
  line-height: 1.1;
  margin-top: 20px;
  color: var(--oslo);
  font-weight: 500;
  font-style: normal;
}
.sl-hero__tagline em {
  font-style: normal;
  color: var(--oslo);
  font-weight: 500;
}
.sl-hero__tagline--32 { font-size: 32px; }
.sl-hero__tagline--40 { font-size: 40px; }
.sl-hero__title--compact { font-size: 64px !important; }

/* Side-by-side compare view */
.sl-hero-compare { display: flex; flex-direction: column; background: var(--sort); }
.sl-hero-compare__band { position: relative; border-top: 1px solid var(--border-dark); }
.sl-hero-compare__band:first-child { border-top: 0; }
.sl-hero-compare__tag {
  position: absolute; top: 24px; right: 32px; z-index: 2;
  color: var(--oslo);
}
.sl-hero-compare__gap { height: 1px; background: var(--oslo); opacity: 0.35; }
.sl-hero--compact { padding: 80px 0 64px !important; min-height: 0 !important; }
.sl-hero__sub {
  font-size: 18px; line-height: 1.6; color: var(--alvesolv);
  max-width: 560px; margin-top: 32px; text-wrap: pretty;
}
.sl-hero__cta { display: flex; gap: 12px; margin-top: 40px; }

/* ---------- Button ---------- */
.sl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  line-height: 1; padding: 14px 20px;
  border-radius: 0; border: 1px solid transparent; cursor: pointer;
  transition: all 150ms ease; text-decoration: none;
}
.sl-btn--primary { background: var(--oslo); color: var(--antikkhvit); }
.sl-btn--primary:hover { background: var(--nordic-breeze); }
.sl-btn--ghost {
  background: transparent; color: var(--antikkhvit);
  border-color: var(--border-dark);
}
.sl-btn--ghost:hover { border-color: var(--antikkhvit); }

/* ---------- Section ---------- */
.sl-section { padding: 120px 0; border-bottom: 1px solid var(--border-dark); }
.sl-section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; gap: 48px; flex-wrap: wrap; }
.sl-section__title { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; max-width: 700px; text-wrap: balance; }
.sl-section__intro { font-size: 16px; line-height: 1.6; color: var(--alvesolv); max-width: 380px; }

/* ---------- Three-column (What we do) ---------- */
.sl-cols-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.sl-col {
  padding: 32px 28px; border: 1px solid var(--border-dark);
  display: flex; flex-direction: column; gap: 12px; min-height: 280px;
  transition: border-color 150ms ease;
}
.sl-col:hover { border-color: var(--oslo); }
.sl-col__num { color: var(--oslo); }
.sl-col__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--antikkhvit); margin-top: 4px; }
.sl-col__body { font-size: 15px; line-height: 1.6; color: var(--alvesolv); }

/* ---------- Work grid ---------- */
.sl-work { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border-dark); border: 1px solid var(--border-dark); }
.sl-work__item {
  background: var(--sort); padding: 48px;
  display: flex; flex-direction: column; gap: 16px; min-height: 360px;
  cursor: pointer; transition: background 200ms ease;
  text-decoration: none; color: inherit;
}
.sl-work__item:hover { background: #141414; }
.sl-work__item:hover .sl-work__arrow { color: var(--oslo); transform: translateX(4px); }
.sl-work__head { display: flex; justify-content: space-between; align-items: center; }
.sl-work__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.sl-work__arrow { font-family: var(--font-mono); color: var(--mist); transition: all 200ms ease; }
.sl-work__title { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--antikkhvit); margin-top: auto; }
.sl-work__kicker { font-size: 15px; color: var(--alvesolv); line-height: 1.6; max-width: 420px; }
.sl-work__thumb {
  width: 100%; aspect-ratio: 16/9; margin-top: 16px;
  background: var(--border-dark); position: relative; overflow: hidden;
}
.sl-work__thumb.a { background: linear-gradient(180deg, #1a2428 0%, #0f1518 100%); }
.sl-work__thumb.b { background: #141414; }
.sl-work__thumb.c { background: #1a1a1a; }
.sl-work__thumb.d { background: #0A0A0A; }
.sl-work__thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- About (warm) ---------- */
.sl-about { background: var(--sort); }
.sl-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sl-about__title { font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.sl-about__body { display: flex; flex-direction: column; gap: 24px; color: var(--alvesolv); font-size: 17px; line-height: 1.65; }
.sl-about__body strong { color: var(--antikkhvit); font-weight: 500; }
.sl-values { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border-dark); border: 1px solid var(--border-dark); margin-top: 64px; }
.sl-value { background: var(--sort); padding: 28px; }
.sl-value__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--oslo); text-transform: uppercase; }
.sl-value__title { font-size: 18px; font-weight: 600; color: var(--antikkhvit); margin-top: 12px; }
.sl-value__body { font-size: 14px; color: var(--alvesolv); margin-top: 8px; line-height: 1.55; }

/* ---------- Contact ---------- */
.sl-contact { padding: 120px 0; }
.sl-contact__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: start; }
.sl-contact__title { font-size: 64px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
.sl-contact__title em { font-style: normal; color: var(--oslo); }
.sl-contact__meta { display: flex; flex-direction: column; gap: 20px; font-family: var(--font-mono); font-size: 14px; color: var(--alvesolv); }
.sl-contact__meta a { color: var(--antikkhvit); text-decoration: none; border-bottom: 1px solid transparent; transition: border 150ms; }
.sl-contact__meta a:hover { border-bottom-color: var(--oslo); }
.sl-contact__label { font-size: 10px; color: var(--mist); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.sl-footer {
  border-top: 1px solid var(--border-dark);
  padding: 56px 0; font-family: var(--font-mono); font-size: 12px;
  color: var(--mist); letter-spacing: 0.04em;
}
.sl-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.sl-footer__inner > div:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sl-footer__right { display: flex; gap: 24px; align-items: center; }
.sl-footer__right a { color: var(--mist); text-decoration: none; transition: color 150ms; }
.sl-footer__right a:hover { color: var(--antikkhvit); }
.sl-footer__sep { color: var(--mist); opacity: 0.4; font-size: 0.85em; }
html[data-theme="light"] .sl-footer__sep { color: var(--fog); }

/* ---------- Detail page (product case study) ---------- */
.sl-detail { padding: 80px 0 120px; }
.sl-detail__back { font-family: var(--font-mono); font-size: 12px; color: var(--mist); text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; transition: color 150ms; display: inline-flex; gap: 8px; }
.sl-detail__back:hover { color: var(--antikkhvit); }
.sl-detail__title { font-size: 72px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin-top: 24px; text-wrap: balance; }
.sl-detail__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0; padding: 32px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.sl-detail__meta div span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.sl-detail__meta div strong { font-family: var(--font-sans); font-weight: 500; font-size: 16px; color: var(--antikkhvit); }
.sl-detail__body { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--alvesolv); display: flex; flex-direction: column; gap: 24px; }
.sl-detail__body strong { color: var(--antikkhvit); font-weight: 500; }

/* Clickable indicator */
.is-clickable { cursor: pointer; }

/* View toggle (for demo) */
.view { display: none; }
.view.active { display: block; }

/* =============================================================
   LIGHT MODE — Antikkgrå-based Nordic theme
   Activated by <html data-theme="light">
   Strategy: swap the dark-ground (#0A0A0A) to Antikkgrå (#D5CFC2),
   but ALSO give cards/buttons a SEPARATE surface-color so they
   remain visually distinct from the page background.
   ============================================================= */

html[data-theme="light"] {
  /* Flip the core tokens */
  --sort:          #D5CFC2;  /* Antikkgrå becomes the "ground" */
  --antikkhvit:    #0A0A0A;  /* Text becomes near-black */
  --border-dark:   rgba(10, 10, 10, 0.12);
  --fog:           #5A5A5A;
  --mist:          #8A8A8A;
  --alvesolv:      #5A5A5A;

  /* Semantic surface for cards/elevated elements — slightly lighter than bg */
  --surface-elev:  #E8E4DB;  /* Border-light shade, warmer than pure */
  --surface-hover: #DCD7CB;  /* Between bg and surface-elev */
}

/* Dark mode defaults for surface tokens (defined globally for consistency) */
:root {
  --surface-elev:  #141414;
  --surface-hover: #1a1a1a;
}

/* Smooth theme transitions */
html, body, .sl-header {
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}

/* ---------- LIGHT MODE OVERRIDES ---------- */

/* Cards and surfaces that use var(--sort) as background */
html[data-theme="light"] .sl-work__item,
html[data-theme="light"] .sl-about,
html[data-theme="light"] .sl-value,
html[data-theme="light"] .sl-value-card,
html[data-theme="light"] .sl-hero-compare {
  background: var(--surface-elev);
}

/* Hover states */
html[data-theme="light"] .sl-work__item:hover,
html[data-theme="light"] .sl-wwd__card:hover,
html[data-theme="light"] .sl-work__card:hover,
html[data-theme="light"] .sl-value-card:hover {
  background: var(--surface-hover);
}

/* Work thumbnails with hardcoded dark colors */
html[data-theme="light"] .sl-work__thumb,
html[data-theme="light"] .sl-work__thumb.b,
html[data-theme="light"] .sl-work__thumb.c,
html[data-theme="light"] .sl-work__thumb.d {
  background: var(--surface-elev);
}

/* Tweaks toolbar */
html[data-theme="light"] .sl-tweaks {
  background: var(--surface-elev);
}

/* Header becomes translucent Antikkgrå in light */
html[data-theme="light"] .sl-header {
  background: rgba(213, 207, 194, 0.92);
}

/* Footer text/dividers */
html[data-theme="light"] .sl-footer {
  color: var(--fog);
}

/* ---------- Theme toggle button ---------- */
.sl-theme-toggle {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  margin-left: 16px;
}
.sl-theme-toggle:hover {
  border-color: var(--antikkhvit);
  color: var(--antikkhvit);
}

/* =============================================================
   BUTTON FIX — Primary button always has light text
   regardless of theme, because Oslo background is dark in both modes.
   ============================================================= */
.sl-btn--primary {
  color: #F4F1EA !important;  /* Always Antikkhvit text on Oslo */
}
.sl-btn--primary:hover {
  color: #F4F1EA !important;
}

/* Ghost button in light mode gets proper border/text */
html[data-theme="light"] .sl-btn--ghost {
  border-color: var(--antikkhvit);  /* now #0A0A0A, which is correct */
  color: var(--antikkhvit);
}
html[data-theme="light"] .sl-btn--ghost:hover {
  background: var(--surface-elev);
  border-color: var(--antikkhvit);
}

/* =============================================================
   TYPEWRITER — cycles through words with a typing animation.
   Used in the hero title. Blinking cursor in Oslo blue matches
   the /-monospace vocabulary of the brand.
   ============================================================= */
.sl-typewriter {
  display: inline-flex;
  align-items: baseline;
  color: var(--antikkhvit);
  /* Keep min-width so layout doesn't jump between short/long words */
  min-width: 1ch;
}

.sl-typewriter__text {
  white-space: pre;
}

.sl-typewriter__cursor {
  display: inline-block;
  color: var(--oslo);
  font-weight: 400;
  margin-left: 4px;
  animation: sl-cursor-blink 1.1s step-end infinite;
}

@keyframes sl-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Reduced motion — no blinking, no typing (word is shown fully) */
@media (prefers-reduced-motion: reduce) {
  .sl-typewriter__cursor {
    animation: none;
    opacity: 0;
  }
}

/* =============================================================
   .sl-sect — generic section layout used by Investors page
   (separate from legacy .sl-section to avoid conflicts)
   ============================================================= */

.sl-sect {
  padding: 120px 0;
  border-bottom: 1px solid var(--border-dark);
}

.sl-sect__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 24px;
}

.sl-sect__title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--antikkhvit);
  margin-bottom: 24px;
  max-width: 800px;
  text-wrap: balance;
}

.sl-sect__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--alvesolv);
  max-width: 720px;
  margin-bottom: 40px;
}

.sl-sect__sub:last-child {
  margin-bottom: 0;
}

/* ---------- Alt-variant section (warmer tone) ---------- */
.sl-sect--alt {
  background: rgba(255, 255, 255, 0.015);
}
html[data-theme="light"] .sl-sect--alt {
  background: var(--surface-elev);
}


/* =============================================================
   WEGLOT LANGUAGE SWITCHER — brand override
   Matches the slash/mono aesthetic of the rest of the site.
   ============================================================= */

/* Container positioned inline with nav (not floating) */
.weglot-container.wg-default {
  position: fixed !important;
  top: 24px !important;
  right: 180px !important;
  z-index: 15 !important;
}

/* Base switcher — remove borders, rounding, Weglot defaults */
.weglot_switcher.country-selector {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-mono) !important;
  min-width: 0 !important;
}

/* Current language display */
.weglot_switcher .wg-li.wgcurrent {
  background: transparent !important;
  border: 1px solid var(--border-dark) !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;
  transition: border-color 150ms ease, color 150ms ease;
}
.weglot_switcher .wg-li.wgcurrent:hover {
  border-color: var(--oslo) !important;
}

/* Links — slash prefix, uppercase, mono */
.weglot_switcher .wg-li a {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--mist) !important;
  text-decoration: none !important;
  padding: 0 !important;
  line-height: 1 !important;
  background: none !important;
}
.weglot_switcher .wg-li.wgcurrent a {
  color: var(--antikkhvit) !important;
}
html[data-theme="light"] .weglot_switcher .wg-li.wgcurrent a {
  color: var(--sort) !important;
}

/* Slash prefix before language code */
.weglot_switcher .wg-li a::before {
  content: "/ ";
  color: var(--mist);
  margin-right: 2px;
}

/* Dropdown list */
.weglot_switcher ul[role="listbox"] {
  background: var(--sort) !important;
  border: 1px solid var(--border-dark) !important;
  border-top: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: -1px !important;
}
html[data-theme="light"] .weglot_switcher ul[role="listbox"] {
  background: var(--antikkhvit) !important;
  border-color: var(--border-light) !important;
}

.weglot_switcher ul[role="listbox"] li {
  padding: 6px 12px !important;
  background: transparent !important;
  transition: background 150ms ease;
}
.weglot_switcher ul[role="listbox"] li:hover {
  background: rgba(74, 90, 98, 0.15) !important;
}
.weglot_switcher ul[role="listbox"] li:hover a {
  color: var(--antikkhvit) !important;
}
html[data-theme="light"] .weglot_switcher ul[role="listbox"] li:hover a {
  color: var(--sort) !important;
}

/* Remove flag icons (not in brand system) */
.weglot_switcher .wg-li .wg-flag {
  display: none !important;
}

/* Remove dropdown arrow (minimalist) */
.weglot_switcher.wg-drop.closed:after,
.weglot_switcher.wg-drop:after {
  border-color: var(--mist) transparent transparent transparent !important;
  right: 8px !important;
}

/* Watermark — dim if visible (can be removed on paid plan) */
.wg-switcher-watermark {
  opacity: 0.3 !important;
  padding: 4px !important;
}

/* Hide watermark text, keep minimal link */
.wg-switcher-watermark a {
  font-size: 9px !important;
  color: var(--mist) !important;
}

/* Mobile — smaller, top-right tap target */
@media (max-width: 768px) {
  .weglot-container.wg-default {
    top: 16px !important;
    right: 16px !important;
  }
}

/* =============================================================
   SERVICES GRID — 2 columns on desktop, stacked on mobile
   5 services displayed with slash-number, title, body
   ============================================================= */
.sl-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  margin-top: 48px;
}
html[data-theme="light"] .sl-services {
  background: var(--border-light);
  border-color: var(--border-light);
}

.sl-service {
  background: var(--bg);
  padding: 40px 32px;
  transition: background 200ms ease;
}
.sl-service:hover {
  background: var(--bg-warm);
}
html[data-theme="light"] .sl-service {
  background: var(--antikkhvit);
}
html[data-theme="light"] .sl-service:hover {
  background: var(--antikkgra);
}

/* Last item (odd count) spans full width */
.sl-service:last-child:nth-child(odd) {
  grid-column: span 2;
}

.sl-service__num {
  display: block;
  color: var(--mist);
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.sl-service__title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.sl-service__body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
  max-width: 52ch;
}

@media (max-width: 768px) {
  .sl-services {
    grid-template-columns: 1fr;
  }
  .sl-service {
    padding: 32px 24px;
  }
  .sl-service:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}

/* =============================================================
   ADVISORY — standalone strategic services block
   Distinct from /services grid. Warmer tone, larger type.
   ============================================================= */
.sl-advisory {
  padding: 120px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}
html[data-theme="light"] .sl-advisory {
  background: var(--antikkgra);
  border-color: var(--border-light);
}

.sl-advisory__eyebrow {
  margin-bottom: 48px;
}

.sl-advisory__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sl-advisory__left {
  position: sticky;
  top: 120px;
}

.sl-advisory__title {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.sl-advisory__title em {
  font-weight: 400;
  font-style: normal;
  color: var(--fg-secondary);
}

.sl-advisory__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sl-advisory__body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0;
  max-width: 52ch;
}

.sl-advisory__body strong {
  color: var(--fg);
  font-weight: 500;
}

.sl-advisory__cta {
  align-self: flex-start;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .sl-advisory {
    padding: 80px 0;
  }
  .sl-advisory__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sl-advisory__left {
    position: static;
  }
  .sl-advisory__title {
    font-size: 36px;
  }
  .sl-advisory__body {
    font-size: 16px;
  }
}

/* =============================================================
   TECHNOLOGY — teaser section (homepage)
   5 bento-style cards linking to /technology and /ai
   ============================================================= */
.sl-tech {
  padding: 120px 0;
}

.sl-tech__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  margin-top: 48px;
}
html[data-theme="light"] .sl-tech__grid {
  background: var(--border-light);
  border-color: var(--border-light);
}

.sl-tech__card {
  background: var(--bg);
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease;
  min-height: 220px;
}
html[data-theme="light"] .sl-tech__card {
  background: var(--antikkhvit);
}
.sl-tech__card:hover {
  background: var(--bg-warm);
}
html[data-theme="light"] .sl-tech__card:hover {
  background: var(--antikkgra);
}

/* Highlighted card — AI gets a subtle accent */
.sl-tech__card--highlight {
  background: var(--bg-warm);
}
html[data-theme="light"] .sl-tech__card--highlight {
  background: var(--antikkgra);
}
.sl-tech__card--highlight:hover {
  background: var(--bg-soft);
}
html[data-theme="light"] .sl-tech__card--highlight:hover {
  background: var(--linbla);
}

.sl-tech__num {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sl-tech__card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
  line-height: 1.2;
}

.sl-tech__card-body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
  flex-grow: 1;
}

.sl-tech__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-tertiary);
  align-self: flex-end;
  transition: color 200ms ease, transform 200ms ease;
}
.sl-tech__card:hover .sl-tech__arrow {
  color: var(--oslo);
  transform: translateX(3px);
}

.sl-tech__ctas {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .sl-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl-tech__card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .sl-tech__grid {
    grid-template-columns: 1fr;
  }
  .sl-tech__card:last-child:nth-child(odd) {
    grid-column: span 1;
  }
}

/* =============================================================
   TECHNOLOGY PAGE — full detail groups
   Used on /technology and /ai pages
   ============================================================= */
.sl-tech-group {
  padding: 80px 0;
  border-top: 1px solid var(--border-dark);
}
html[data-theme="light"] .sl-tech-group {
  border-top-color: var(--border-light);
}

.sl-tech-group__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.sl-tech-group__head {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sl-tech-group__num {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.sl-tech-group__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
  margin: 0;
}

.sl-tech-group__intro {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
  max-width: 40ch;
}

.sl-tech-group__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-dark);
}
html[data-theme="light"] .sl-tech-group__list {
  border-top-color: var(--border-light);
}

.sl-tech-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: baseline;
}
html[data-theme="light"] .sl-tech-item {
  border-bottom-color: var(--border-light);
}

.sl-tech-item__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}

.sl-tech-item__note {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .sl-tech-group__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sl-tech-group__head {
    position: static;
  }
  .sl-tech-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Closing CTA section (tech / ai pages) */
.sl-tech-closing {
  padding: 120px 0;
  border-top: 1px solid var(--border-dark);
}
html[data-theme="light"] .sl-tech-closing {
  border-top-color: var(--border-light);
}
.sl-tech-closing__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  max-width: 800px;
}

/* Muted "+ more" row in tech lists — signals breadth without listing everything */
.sl-tech-item--more {
  opacity: 0.65;
  border-bottom: none !important;
  padding-top: 16px !important;
}
.sl-tech-item__name--muted {
  color: var(--fg-tertiary) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* =============================================================
   MOBILE RESPONSIVENESS — comprehensive overrides
   Mobile-first reset for all major components.
   Breakpoints:
   - 768px: tablet/large-phone (most fixes)
   - 480px: small phone (extra tightening)
   ============================================================= */

@media (max-width: 768px) {
  /* Shell — tighter gutter */
  .shell { padding: 0 20px; }

  /* Header — compact, readable */
  .sl-header__inner { height: 64px; }
  .sl-wm { font-size: 22px; }
  .sl-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .sl-nav a {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .sl-theme-toggle {
    padding: 6px 10px !important;
    font-size: 10px !important;
  }

  /* Hero — scaled down, left-aligned */
  .sl-hero { padding: 48px 0 64px; }
  .sl-hero__title {
    font-size: 48px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em;
  }
  .sl-hero__title--stacked { gap: 12px; }
  .sl-hero__eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .sl-hero__sub {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 24px;
    max-width: 100%;
  }
  .sl-hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }
  .sl-hero__cta .sl-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Buttons — full width on mobile */
  .sl-btn { padding: 14px 20px; font-size: 14px; }

  /* Section titles */
  .sl-section { padding: 64px 0; }
  .sl-section__title {
    font-size: 30px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }
  .sl-section__intro {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 16px;
  }
  .sl-section__head {
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
  }

  /* Services grid — stack to 1 column */
  .sl-services { grid-template-columns: 1fr !important; margin-top: 32px; }
  .sl-service { padding: 28px 20px; }
  .sl-service:last-child:nth-child(odd) { grid-column: span 1 !important; }
  .sl-service__title { font-size: 20px; }
  .sl-service__body { font-size: 14px; }

  /* Advisory — stack, tighten type */
  .sl-advisory { padding: 72px 0; }
  .sl-advisory__eyebrow { margin-bottom: 32px; }
  .sl-advisory__grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .sl-advisory__left { position: static !important; }
  .sl-advisory__title {
    font-size: 32px !important;
    line-height: 1.15 !important;
  }
  .sl-advisory__body { font-size: 15px !important; }
  .sl-advisory__cta { width: 100%; text-align: center; justify-content: center; }

  /* Technology teaser — stack bento to 1 col */
  .sl-tech { padding: 72px 0; }
  .sl-tech__grid {
    grid-template-columns: 1fr !important;
    margin-top: 32px;
  }
  .sl-tech__card {
    padding: 24px 20px;
    min-height: 160px;
  }
  .sl-tech__card-title { font-size: 18px; }
  .sl-tech__card-body { font-size: 13px; }
  .sl-tech__ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
  }
  .sl-tech__ctas .sl-btn { width: 100%; justify-content: center; }

  /* Technology page — full stacking */
  .sl-tech-group { padding: 48px 0; }
  .sl-tech-group__grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .sl-tech-group__head {
    position: static !important;
    top: auto !important;
  }
  .sl-tech-group__title { font-size: 28px !important; }
  .sl-tech-group__intro { font-size: 14px !important; }
  .sl-tech-item {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 18px 0 !important;
  }
  .sl-tech-item__name { font-size: 15px; }
  .sl-tech-item__note { font-size: 14px; line-height: 1.5; }

  /* Technology page closing */
  .sl-tech-closing { padding: 72px 0; }
  .sl-tech-closing__inner .sl-btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero h1 on internal pages (about, tech, ai, investors) */
  .sl-section h1.sl-section__title {
    font-size: 40px !important;
  }

  /* About section */
  .sl-about { padding: 64px 0; }
  .sl-about__title { font-size: 30px !important; }
  .sl-about__body p { font-size: 15px; line-height: 1.6; }
  .sl-about__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .sl-values {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .sl-value { padding: 20px 0; border-bottom: 1px solid var(--border-dark); }
  .sl-value:last-child { border-bottom: none; }
  html[data-theme="light"] .sl-value { border-bottom-color: var(--border-light); }

  /* Contact */
  .sl-contact { padding: 64px 0; }
  .sl-contact__title { font-size: 36px !important; line-height: 1.1 !important; }
  .sl-contact__grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .sl-contact__meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }

  /* Footer — stack cleanly */
  .sl-footer { padding: 32px 0; }
  .sl-footer__inner {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .sl-footer__right { gap: 16px; flex-wrap: wrap; }
  .sl-wm--footer { font-size: 18px; }

  /* Weglot switcher — smaller on mobile */
  .weglot-container .weglot_switcher .wg-li.wgcurrent {
    padding: 5px 8px !important;
  }
  .weglot-container .weglot_switcher .wg-li a {
    font-size: 10px !important;
  }

  /* Detail page (case study) — if ever shown */
  .sl-detail__title { font-size: 40px !important; line-height: 1.1 !important; }
  .sl-detail__meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  /* About page — founder section stacking */
  .sl-about-page [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Sticky headers become static on mobile */
  [style*="position: sticky"],
  [style*="position:sticky"] {
    position: static !important;
  }
}

@media (max-width: 480px) {
  /* Extra tight gutter */
  .shell { padding: 0 16px; }

  /* Extra compact header */
  .sl-header__inner { height: 56px; }
  .sl-wm { font-size: 20px; }
  .sl-nav { gap: 8px; }
  .sl-nav a { font-size: 9px; }

  /* Hero even smaller */
  .sl-hero__title { font-size: 40px !important; }
  .sl-hero__sub { font-size: 15px; }

  /* Section titles */
  .sl-section__title { font-size: 26px !important; }
  .sl-section h1.sl-section__title { font-size: 34px !important; }

  /* Advisory on tiny screens */
  .sl-advisory__title { font-size: 26px !important; }

  /* Technology page group title */
  .sl-tech-group__title { font-size: 24px !important; }

  /* Contact — stack meta grid too */
  .sl-contact__meta {
    grid-template-columns: 1fr !important;
  }

  /* Weglot — give extra room */
  .weglot-container { margin-left: 0 !important; }
}

/* =============================================================
   MOBILE SIDE MENU — slide-in from right
   Nordic minimal — no burger icon, just elegant trigger + panel
   ============================================================= */

/* Trigger button — hidden on desktop */
.sl-menu-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-dark);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--antikkhvit);
  transition: border-color 150ms ease;
}
html[data-theme="light"] .sl-menu-trigger {
  border-color: var(--border-light);
  color: var(--sort);
}
.sl-menu-trigger:hover {
  border-color: var(--oslo);
}
.sl-menu-trigger__line {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.sl-menu-trigger__line:nth-child(2) {
  width: 10px;
}
.sl-menu-trigger__label {
  margin-left: 2px;
}

/* Sidemenu container — fixed overlay */
.sl-sidemenu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}
.sl-sidemenu--open {
  pointer-events: auto;
  opacity: 1;
}

/* Backdrop — semi-transparent */
.sl-sidemenu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Panel — slides in from right */
.sl-sidemenu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border-dark);
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 32px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
html[data-theme="light"] .sl-sidemenu__panel {
  background: var(--antikkhvit);
  border-left-color: var(--border-light);
}
.sl-sidemenu--open .sl-sidemenu__panel {
  transform: translateX(0);
}

/* Head — eyebrow + close */
.sl-sidemenu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-top: 8px;
}
.sl-sidemenu__eyebrow {
  color: var(--mist);
  font-size: 11px;
}
.sl-sidemenu__close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 4px;
  transition: color 150ms ease;
}
.sl-sidemenu__close:hover {
  color: var(--antikkhvit);
}
html[data-theme="light"] .sl-sidemenu__close:hover {
  color: var(--sort);
}
.sl-sidemenu__close-x {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}
.sl-sidemenu__close-label {
  margin-top: 2px;
}

/* Primary nav — big touch targets */
.sl-sidemenu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sl-sidemenu__link {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 150ms ease, padding-left 200ms ease;
  display: flex;
  align-items: center;
}
html[data-theme="light"] .sl-sidemenu__link {
  border-bottom-color: var(--border-light);
}
.sl-sidemenu__link:hover,
.sl-sidemenu__link:active {
  color: var(--oslo);
  padding-left: 4px;
}
.sl-sidemenu__link.active {
  color: var(--oslo);
}
.sl-sidemenu__link:first-child {
  border-top: 1px solid var(--border-dark);
}
html[data-theme="light"] .sl-sidemenu__link:first-child {
  border-top-color: var(--border-light);
}

/* Divider — visual separation before secondary */
.sl-sidemenu__divider {
  height: 32px;
}

/* Secondary nav — smaller, muted */
.sl-sidemenu__secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sl-sidemenu__link-small {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  transition: color 150ms ease;
}
.sl-sidemenu__link-small:hover,
.sl-sidemenu__link-small:active {
  color: var(--fg);
}

/* Social sub-nav in side menu — LinkedIn, Facebook, etc. */
.sl-sidemenu__social {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: auto; /* push footer to bottom */
}
.sl-sidemenu__social-label {
  color: var(--mist);
  opacity: 0.7;
  margin-bottom: 2px;
}

/* Footer inside sidemenu — theme toggle + meta */
.sl-sidemenu__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
html[data-theme="light"] .sl-sidemenu__footer {
  border-top-color: var(--border-light);
}
.sl-sidemenu__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* Hide Weglot inside sidemenu if it appears there — it's fine in header */
.sl-sidemenu__panel .weglot-container {
  display: none !important;
}

/* =============================================================
   Mobile breakpoint — show sidemenu, hide desktop nav
   ============================================================= */
@media (max-width: 768px) {
  .sl-nav--desktop {
    display: none !important;
  }
  .sl-menu-trigger {
    display: inline-flex;
  }

  /* Weglot switcher stays in header nav (Weglot injects it there) */
  /* But we need to make sure it fits — see existing media query */
}

/* On very small screens, tighten the panel padding */
@media (max-width: 480px) {
  .sl-sidemenu__panel {
    padding: 20px 24px 24px;
  }
  .sl-sidemenu__link {
    font-size: 26px;
    padding: 14px 0;
  }
  .sl-sidemenu__head {
    margin-bottom: 36px;
  }
}

/* =============================================================
   FILE UPLOAD — brand-matched drop zone + file list
   Used in contact form. Follows slash/Jotun aesthetic.
   ============================================================= */
.sl-upload {
  position: relative;
  margin-top: 8px;
}

/* Hide native input, use label as drop zone */
.sl-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.sl-upload__dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px dashed var(--border-dark);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
html[data-theme="light"] .sl-upload__dropzone {
  background: var(--antikkhvit);
  border-color: var(--border-light);
}
.sl-upload__dropzone:hover,
.sl-upload--dragging .sl-upload__dropzone {
  border-color: var(--oslo);
  background: var(--bg-warm);
}
html[data-theme="light"] .sl-upload__dropzone:hover,
html[data-theme="light"] .sl-upload--dragging .sl-upload__dropzone {
  background: var(--antikkgra);
}

.sl-upload__icon {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--fg-tertiary);
  line-height: 1;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  flex-shrink: 0;
  transition: border-color 200ms ease, color 200ms ease;
}
html[data-theme="light"] .sl-upload__icon {
  border-color: var(--border-light);
}
.sl-upload__dropzone:hover .sl-upload__icon,
.sl-upload--dragging .sl-upload__icon {
  border-color: var(--oslo);
  color: var(--oslo);
}

.sl-upload__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sl-upload__primary {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.sl-upload__secondary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
}

/* Error message */
.sl-upload__error {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #C95A4B; /* warm error tone, not harsh red */
  text-transform: lowercase;
}

/* File list */
.sl-upload__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sl-upload__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-dark);
}
html[data-theme="light"] .sl-upload__file {
  background: var(--antikkgra);
  border-bottom-color: var(--border-light);
}
.sl-upload__file:last-child { border-bottom: none; }

.sl-upload__file-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.sl-upload__file-name {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.sl-upload__file-size {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-tertiary);
  flex-shrink: 0;
}

.sl-upload__remove {
  background: transparent;
  border: none;
  color: var(--fg-tertiary);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 150ms ease;
  flex-shrink: 0;
}
.sl-upload__remove:hover {
  color: var(--fg);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .sl-upload__dropzone { padding: 16px 18px; gap: 12px; }
  .sl-upload__icon { width: 28px; height: 28px; font-size: 20px; }
  .sl-upload__primary { font-size: 13px; }
  .sl-upload__secondary { font-size: 10px; }
  .sl-upload__file { padding: 10px 12px; }
  .sl-upload__file-name { font-size: 12px; }
}
