/* =============================================================================
   Portfolio — 三套主题：editorial（默认）| swiss（浅色国际主义）| lab（暗色科技）
   修改变量或 [data-theme] 块即可微调气质
   ============================================================================= */

:root,
html[data-theme="editorial"] {
  --bg: #0c0c0d;
  --bg-alt: #121214;
  --surface: #18181b;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #d4a574;
  --accent-2: #8b6914;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 14px;
  --font-sans: "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
  --font-serif: "Instrument Serif", Georgia, serif;
  --max: 1120px;
  --hero-accent-glow: rgba(212, 165, 116, 0.14);
  --grain-opacity: 0.04;
}

html[data-theme="swiss"] {
  --bg: #f4f3ef;
  --bg-alt: #ebe8e1;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5c5c5c;
  --accent: #e30613;
  --accent-2: #9a0410;
  --border: rgba(0, 0, 0, 0.08);
  --hero-accent-glow: rgba(227, 6, 19, 0.08);
  --grain-opacity: 0;
}

html[data-theme="lab"] {
  --bg: #050508;
  --bg-alt: #0a0c12;
  --surface: #0f1118;
  --text: #eef3ff;
  --muted: #8b93a8;
  --accent: #3dffec;
  --accent-2: #1a9e8f;
  --border: rgba(61, 255, 236, 0.12);
  --hero-accent-glow: rgba(61, 255, 236, 0.1);
  --grain-opacity: 0.035;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.25s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* 正文窄栏：与全宽图区搭配（首页标题说明、案例文字等） */
.wrap.wrap--prose {
  width: min(100% - 40px, 42rem);
}

/* 突破版心、横向贴 viewport（图区左右留白，避免贴边） */
.case-bleed,
.section-work-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: clamp(24px, 5.5vw, 64px);
  box-sizing: border-box;
}

.case-bleed .case-cover {
  width: 100%;
  max-width: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
}

@media (min-width: 880px) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .header-tools {
    width: auto;
  }
  .logo {
    margin-right: 0;
  }
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.pill {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.pill[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
}

html[data-theme="swiss"] .pill[aria-pressed="true"] {
  color: #fff;
}

.theme-cycle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.theme-cycle:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.theme-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent);
}

.hero {
  position: relative;
  padding: clamp(48px, 10vw, 100px) 0 clamp(64px, 12vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse 70% 60% at 30% 0%, var(--hero-accent-glow), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px 48px;
  align-items: start;
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: auto 1fr;
  }
}

.hero-index {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--text) 6%, transparent);
  user-select: none;
}

.hero-tag {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-name {
  display: inline;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-desc {
  margin: 0 0 32px;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

html[data-theme="editorial"] .btn-primary:hover {
  filter: brightness(1.06);
}

html[data-theme="swiss"] .btn-primary:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--surface);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 14px;
}

.section {
  padding: clamp(56px, 10vw, 96px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .section-head {
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 32px 48px;
  }
}

.section-index {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--text) 8%, transparent);
}

.section-index--center {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.work-jump {
  position: sticky;
  top: 56px;
  z-index: 40;
  margin-top: 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

/* 首页精选案例：每项目一行，全宽大图 + 窄栏文案 */
.home-case {
  scroll-margin-top: 96px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.home-case:last-of-type {
  margin-bottom: 0;
}

.home-case-rowlink {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-case-rowlink:hover {
  text-decoration: none;
}

.home-case-rowlink:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.home-case .section-work-bleed.home-case-bleed {
  padding-inline: clamp(28px, 6vw, 72px);
}

.home-case-figure {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.home-case-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.home-case-rowlink:hover .home-case-figure img {
  transform: scale(1.04);
}

.home-case-copy {
  padding-block: 22px 6px;
}

.home-case-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.home-case-rowlink:hover .home-case-title {
  color: var(--accent);
}

.home-case-meta {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

html[data-theme="lab"] .home-case-meta {
  color: var(--muted);
}

.home-case-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.home-case-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-case-rowlink:hover .home-case-cta {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

html[data-theme="swiss"] .card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-hit:hover {
  text-decoration: none;
}

.card-visual {
  aspect-ratio: 16 / 11;
  background: linear-gradient(145deg, #2a2218, #12100c 55%, #1a1510);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-visual--photo {
  display: block;
  padding: 0;
}

.card-visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--bg) 70%, transparent));
  pointer-events: none;
}

.card-visual-b {
  background: linear-gradient(145deg, #1a2230, #0c0e14 55%, #121820);
}

.card-visual-c {
  background: linear-gradient(145deg, #281a22, #100a0e 55%, #1a1016);
}

.card-visual-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 75%, #fff);
}

.card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-meta {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

html[data-theme="lab"] .card-meta {
  color: var(--muted);
}

.card-text {
  margin: 0 0 18px;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.card-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about {
  display: grid;
  gap: 40px;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}

.section-head--about {
  margin-bottom: 0;
}

.about-text p {
  color: var(--muted);
  margin: 0 0 16px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

.skills-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.skills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills li {
  padding: 9px 16px;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.section-contact {
  text-align: center;
}

.contact {
  max-width: 520px;
  margin-inline: auto;
}

.contact .section-title {
  text-align: center;
}

.contact-lead {
  margin: 0 0 24px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-name {
  color: var(--text);
  font-weight: 500;
}

.case-main {
  padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 12vw, 120px);
}

.case-article {
  max-width: none;
  width: 100%;
}

.case-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-back:hover {
  color: var(--accent);
}

.case-kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.case-h1--tight {
  margin-bottom: 16px;
}

.case-page-lead--muted {
  margin-top: -12px;
  font-size: 14px;
  color: var(--muted);
}

.case-gallery--single {
  grid-template-columns: 1fr;
}

.case-gallery--pairs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-page-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.case-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 40px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  font-size: 13px;
}

.case-jump-label {
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.case-jump a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-jump a:hover {
  text-decoration: underline;
}

.case-block {
  scroll-margin-top: 96px;
  margin-bottom: clamp(48px, 8vw, 72px);
  padding-bottom: clamp(40px, 6vw, 56px);
  border-bottom: 1px solid var(--border);
}

.case-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-block-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.case-block-lead {
  margin: 0 0 22px;
  max-width: 40rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.case-gallery {
  display: grid;
  gap: clamp(12px, 2.5vw, 18px);
  margin-bottom: 28px;
  align-items: start;
  /* 手机：单列，每张图尽量用满内容区宽度（与 .wrap 左右留白一致） */
  grid-template-columns: 1fr;
}

/* 平板及以上：最多两列，避免一排三张小图显得挤 */
@media (min-width: 640px) {
  .case-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-gallery-item--wide {
    grid-column: 1 / -1;
  }
}

.case-gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.case-gallery-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(85vh, 1100px);
  vertical-align: middle;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: top center;
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
}

.case-gallery-item--captioned figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.case-gallery--captioned .case-gallery-item img {
  border-bottom: none;
}

.case-gallery-item--stacked {
  overflow: visible;
  border: none;
  background: transparent;
}

.case-gallery-item--stacked img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
}

.case-gallery-item--stacked figcaption {
  margin: 0;
  padding: 10px 2px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  border: none;
  background: transparent;
}

.case-gallery--events {
  margin-bottom: 12px;
}

/* Events case: full-bleed editorial spreads */
.case-main--events {
  padding-bottom: 0;
}

.case-event-spread {
  margin: 0 0 clamp(36px, 6vw, 56px);
}

.case-event-spread--alt .case-event-bleed {
  padding-inline: clamp(20px, 4vw, 48px);
}

.case-event-bleed {
  margin-bottom: 14px;
}

.case-event-bleed img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(88vh, 1200px);
  margin-inline: auto;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, var(--bg));
  box-shadow:
    0 24px 48px color-mix(in srgb, var(--bg) 55%, transparent),
    0 2px 0 color-mix(in srgb, var(--border) 80%, transparent);
}

.case-event-meta {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-block--events-foot {
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--border);
}

html[data-theme="lab"] .case-event-bleed img {
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.case-dl--compact {
  margin-top: 0;
}

.case-dl--compact > div {
  padding-bottom: 18px;
}

html[data-theme="swiss"] .case-gallery-item,
html[data-theme="swiss"] .case-jump {
  border-radius: 4px;
}

.case-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--accent) 12%, var(--surface)));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 36px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: color-mix(in srgb, var(--accent) 85%, var(--text));
}

.case-cover--photo {
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.case-cover--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-cover--ui {
  background: linear-gradient(135deg, #0f141f, color-mix(in srgb, var(--accent) 15%, #0a0c10));
}

.case-cover--pkg {
  background: linear-gradient(135deg, #1f1218, color-mix(in srgb, var(--accent) 12%, #120a0e));
}

.case-dl {
  margin: 0;
  display: grid;
  gap: 28px;
}

.case-dl > div {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.case-dl > div:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.case-dl dt {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-dl dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.case-note {
  margin: 36px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

html[data-theme="swiss"] .card,
html[data-theme="swiss"] .case-cover {
  border-radius: 4px;
}

html[data-theme="swiss"] .btn,
html[data-theme="swiss"] .lang-switch,
html[data-theme="swiss"] .theme-cycle {
  border-radius: 4px;
}

html[data-theme="swiss"] .pill {
  border-radius: 2px;
}

html[data-theme="lab"] body {
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

html[data-theme="lab"] .hero::before {
  opacity: 0.85;
}
