/*
  /projects in the Swedish minimalism look (public/designs/swedish.css): warm paper white,
  Hanken Grotesk light headlines, soft greys, plain underlined links instead of buttons,
  and the three colour swatches. Loads after base.css + index.css; tokens first, the rest
  under .theme-swedish.
*/

:root[data-theme="swedish"] {
  color-scheme: light;

  --stage: #f7f6f2;
  --shot: #ebe8e0;
  --card: #efede7;
  --raise: #e8e5dd;
  --line: #dcd8cc;
  --fg: #2b2b28;
  --muted: #5f5f57;
  --sub: #4a4a44;
  --faint: #9a9a90;
  --accent: #2b2b28;
  --accent-text: #2b2b28;
  --on-accent: #f7f6f2;
  --accent-soft: rgba(43, 43, 40, 0.06);

  --swatch-1: #d8d2c4;
  --swatch-2: #9aa69a;
  --swatch-3: #2b2b28;

  --f-text: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "Hanken Grotesk", system-ui, sans-serif;

  --s-hero: clamp(36px, 5.2vw, 64px);
  --s-xl: clamp(26px, 3vw, 36px);
  --s-lg: 24px;

  --r-sm: 0;
  --r-md: 0;
  --r-pill: 0;

  --container: 1240px;
}

.theme-swedish {
  font-size: 16px;
  line-height: 1.6;
}

.theme-swedish a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.theme-swedish a:hover {
  color: inherit;
  opacity: 0.75;
}

.theme-swedish :focus-visible,
.theme-swedish a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0;
}

/* Header: no rule, just the name and the address, like the eyebrow line */
.theme-swedish .site-header {
  font-size: 15px;
  border-bottom: 0;
}

.theme-swedish .site-header__inner {
  min-height: 88px;
}

.theme-swedish .site-header__home {
  font-weight: 400;
}

.theme-swedish .site-header a {
  text-decoration: none;
}

.theme-swedish .site-header a:hover {
  color: var(--muted);
  opacity: 1;
}

/* Intro: light, large, generous space */
.theme-swedish .projects {
  padding-top: 48px;
}

.theme-swedish h1,
.theme-swedish h2,
.theme-swedish h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.theme-swedish .projects__intro h1 {
  line-height: 1.12;
}

.theme-swedish .projects__lede {
  margin-top: 28px;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* Featured: square cover, no frame */
.theme-swedish .featured__media,
.theme-swedish .entry__media {
  border: 0;
  border-radius: 0;
  background: var(--shot);
}

.theme-swedish .featured__body {
  gap: 24px;
}

.theme-swedish .featured__title {
  line-height: 1.15;
}

.theme-swedish .featured__title a,
.theme-swedish .entry__title a {
  text-decoration: none;
}

.theme-swedish .featured__title a:hover,
.theme-swedish .entry__title a:hover {
  color: var(--fg);
  opacity: 0.75;
}

.theme-swedish .featured__pitch,
.theme-swedish .entry__pitch {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.theme-swedish .entry__pitch {
  font-size: 16px;
}

/* Meta: quiet sentence case, swatch squares for status */
.theme-swedish .meta {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.theme-swedish .meta__status {
  color: var(--fg);
}

.theme-swedish .planet {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.theme-swedish .planet--coral {
  background: var(--swatch-2);
}

.theme-swedish .planet--neutral {
  background: var(--swatch-1);
}

.theme-swedish .planet--off {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--muted);
}

/* The CTA: a plain underlined link, like the landing page's links */
.theme-swedish .btn--ghost {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.theme-swedish .btn--ghost:hover {
  background: transparent;
  color: var(--fg);
  opacity: 0.75;
}

/* More projects */
.theme-swedish .more__title {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 16px;
}

.theme-swedish .entry {
  padding-block: 40px;
}

/* Contact: the three swatches on the line */
.theme-swedish .projects__contact {
  padding-top: 40px;
  color: var(--muted);
}

.theme-swedish .projects__contact .planet {
  top: -12px;
  width: 24px;
  height: 24px;
  background: var(--swatch-1);
  box-shadow: 32px 0 0 var(--swatch-2), 64px 0 0 var(--swatch-3);
}

.theme-swedish .projects__contact a {
  color: var(--fg);
}

/* A cover in the list keeps its own height when the text beside it runs taller */
.theme-swedish .entry__media {
  align-self: start;
}

/* Covers keep full strength on hover; only text links dim */
.theme-swedish .featured__media:hover,
.theme-swedish .entry__media:hover {
  opacity: 1;
}
