/* ============================================================
   Inonom — Hållbara AI-tjänster / AI services built to last
   Design system: flagship-deck profile (Bevisa & bredda)
   Navy #0C2233 · Blue #1190CB · DM Serif Display + Inter
   ============================================================ */

/* Självhostade typsnitt (GDPR: inga anrop till Google) */
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display.woff2") format("woff2");
}
@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
}

:root {
  --blue: #1190CB;
  --blue-deep: #0d76a6;
  --ink: #0b0f14;
  --slate: #505050;
  --navy: #0C2233;
  --navy-2: #10293d;
  --navy-3: #16334a;
  --mist: #F5F8FA;
  --line: #D7D9E3;
  --white: #ffffff;
  --teal: #3CB39E;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(12, 34, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 34, 51, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.4rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--slate);
}

.on-dark .lead, .on-dark p { color: #c6d4de; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }

em.hl { font-style: italic; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 217, 227, 0.6);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand img { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.nav a:hover { color: var(--blue); }

.nav a.active { color: var(--blue); font-weight: 600; }

.nav .btn { color: var(--white); }

.lang-switch {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  transition: all 0.2s;
}

.lang-switch:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--blue-deep);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 144, 203, 0.35);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn.ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); box-shadow: none; }

.btn.ghost-dark {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn.ghost-dark:hover { border-color: var(--blue); color: var(--blue); background: none; box-shadow: none; }

/* Sekundär CTA: textlänk, tydligt underordnad knappen */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #a9bfce;
  padding: 0.85rem 0.4rem;
}

.btn-text::after { content: "→"; transition: transform 0.2s; }
.btn-text:hover { color: var(--white); }
.btn-text:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(17, 144, 203, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(60, 179, 158, 0.12), transparent 55%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::after {
  /* faint sprout-line motif */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cpath d='M130 220 C130 160 130 140 130 120 C130 80 100 70 80 74 C84 104 104 118 128 122 M130 140 C132 104 160 92 184 96 C180 126 158 138 132 142' fill='none' stroke='rgba(255,255,255,0.045)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6.5rem;
  padding-bottom: 6rem;
}

.hero h1 { margin-bottom: 1.6rem; }
.hero h1 em { white-space: nowrap; } /* håll ihop "AI-tjänster" — bryt hellre raden före än vid bindestrecket */

.hero .lead { color: #b9cbd8; max-width: 34em; margin-bottom: 2.4rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
}

.hero-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid rgba(17, 144, 203, 0.45);
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}

.hero-caption {
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: #8ba4b5;
}

.hero-caption strong { color: #d7e3ec; font-weight: 600; }

.hero-target {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #7f9aac;
  margin: -1.2rem 0 2.4rem;
}

/* Hero visualization — abstract AI system (nodes & flows) */
.hero-viz {
  justify-self: end;
  width: min(100%, 480px);
  position: relative;
}

.hero-viz svg { width: 100%; height: auto; display: block; }

.flow-line {
  fill: none;
  stroke: rgba(17, 144, 203, 0.35);
  stroke-width: 1.5;
}

.flow-dash {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 3 14;
  animation: flow 3.2s linear infinite;
  opacity: 0.9;
}

.flow-dash.slow { animation-duration: 4.6s; opacity: 0.6; }
.flow-dash.teal { stroke: var(--teal); }

@keyframes flow {
  to { stroke-dashoffset: -102; }
}

.node { fill: var(--navy-3); stroke: rgba(17, 144, 203, 0.5); stroke-width: 1.4; }
.node.out { stroke: rgba(60, 179, 158, 0.55); }
.node-core { fill: var(--blue); }

.halo {
  fill: none;
  stroke: var(--blue);
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 3.2s ease-out infinite;
}

@keyframes halo {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-dasharray: 2 6;
  transform-box: fill-box;
  transform-origin: center;
  animation: orbit 28s linear infinite;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-dash, .halo, .orbit { animation: none; }
  .halo { opacity: 0; }
}

/* ---------- Hero lead magnet slot (SV) ---------- */

.hero-magnet {
  justify-self: end;
  width: min(100%, 440px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem 2rem 2rem;
  position: relative;
}

.hero-magnet .eyebrow { margin-bottom: 0.9rem; font-size: 0.7rem; }
.hero-magnet h3 { color: var(--ink); margin-bottom: 1.2rem; }

.hero-magnet .chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.3rem; }

.hero-magnet .chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}

.hero-magnet .chip.on {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(17, 144, 203, 0.07);
}

.hero-magnet .fake-input { display: flex; gap: 0.7rem; }

.hero-magnet .fake-input span {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #9aa3ad;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
}

.hero-magnet .fake-input .btn { pointer-events: none; }

.hero-magnet .soon { position: absolute; top: -14px; right: 18px; background: var(--white); }

.hero-magnet .desc { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.4rem; }

.hero-magnet .note { margin-top: 1.1rem; font-size: 0.8rem; color: var(--slate); }

/* ---------- Lead magnet placeholder ---------- */

.magnet-card {
  border: 1.5px solid rgba(17, 144, 203, 0.35);
  border-radius: var(--radius);
  background: rgba(17, 144, 203, 0.04);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.magnet-card h3 { margin-bottom: 0.6rem; }
.magnet-card p { color: var(--slate); max-width: 44em; }

.badge-soon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(17, 144, 203, 0.4);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
}

/* ---------- Sections ---------- */

.section { padding: 6rem 0; }
.section.tight { padding: 4.5rem 0; }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); }

.section-head { max-width: 46em; margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head .lead { max-width: 40em; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Cards & grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.grid-4 .card { padding: 1.9rem 1.6rem; }

.card-icon {
  width: 46px;
  height: 46px;
  color: var(--blue);
  margin-bottom: 1.3rem;
}

.card-icon svg { width: 100%; height: 100%; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 0.8rem; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card p + p { margin-top: 0.7rem; }

.num-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.pillar-mark {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 1.1rem;
}

/* italic pull-quote band (deck motif) */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  max-width: 34em;
}

.pull.center { margin: 0 auto; text-align: center; }

.on-dark .pull { color: #dfe9f0; }

/* ---------- Stats (navy cards w/ blue left bar) ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.stat {
  background: var(--navy-2);
  border-left: 4px solid var(--blue);
  padding: 1.8rem 1.6rem;
  border-radius: 4px;
}

.stat .n {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat .l { font-size: 0.9rem; color: #b9cbd8; }

.stat .why {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8ba4b5;
}

/* ---------- Logo band ---------- */

.logo-band { text-align: center; }

.logo-band .eyebrow { margin-bottom: 2.4rem; }

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 3.6rem;
}

.logo-grid img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.25s, opacity 0.25s;
}

.logo-grid img:hover { filter: none; opacity: 1; }

/* ---------- Steps (method) ---------- */

.steps { counter-reset: step; }

/* ---------- Ladder (services) ---------- */

.ladder { display: grid; gap: 1.4rem; }

.rung {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1.8rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
}

.rung .num-circle { margin-bottom: 0; }

.rung h3 { margin-bottom: 0.5rem; }
.rung p { color: var(--slate); font-size: 0.98rem; max-width: 52em; }

.rung-meta {
  margin-top: 1.2rem;
  border-top: 1px solid var(--mist);
  padding-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.rung-meta > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
}

.rung-meta .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 0.2rem;
}

.rung-meta .v { color: var(--ink); }
.rung .tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  padding-top: 0.4rem;
}

/* ---------- Portfolio ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.work {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.work-shot {
  margin: -2.2rem -2.2rem 1.6rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--navy);
}

.work-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.work-shot.light { background: var(--mist); }

.work .idx {
  font-family: var(--serif);
  color: var(--blue);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.work h3 { margin-bottom: 0.7rem; }
.work p { color: var(--slate); font-size: 0.97rem; flex: 1; }

.work .value {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.work .value::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.work .link {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.work .link::after { content: " →"; }

/* case blocks */
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.case-head {
  padding: 1.8rem 2.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.case-head h3 { font-size: 1.25rem; }

.case-head .client-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-head .client-logo {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.case-head .client {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.case-rows { display: grid; }

.case-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.3rem 2.2rem;
}

.case-row + .case-row { border-top: 1px solid var(--mist); }

.case-row .k {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 0.2rem;
}

.case-row .v { color: var(--ink); font-size: 0.97rem; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-photo .second {
  margin-top: 1.6rem;
}

.prose p { margin-bottom: 1.2rem; color: #2a2f36; }
.prose p strong { color: var(--ink); }

.cert-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.cert-list li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.97rem;
  color: var(--slate);
}

.cert-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(900px 500px at 110% 120%, rgba(17, 144, 203, 0.25), transparent 60%),
    var(--navy);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p { color: #b9cbd8; max-width: 36em; margin: 0 auto 2.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #8ba4b5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.site-footer img { height: 30px; filter: brightness(0) invert(1); opacity: 0.9; }

.site-footer a { color: #c6d4de; }
.site-footer a:hover { color: var(--white); }

.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 4.5rem; gap: 3rem; }
  .hero-photo { justify-self: start; }
  .hero-viz { justify-self: center; }
  .hero-magnet { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .magnet-card { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .rung { grid-template-columns: 64px 1fr; }
  .rung .tag { position: absolute; top: 2.1rem; right: 2.2rem; padding-top: 0; }
}

@media (max-width: 760px) {
  .grid-4 { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 1fr; gap: 1rem; padding: 1.8rem 1.4rem; }
  .rung .num-circle { width: 42px; height: 42px; font-size: 1.2rem; }
  .rung .tag { top: 1.9rem; right: 1.4rem; }
  .rung-meta > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem 28px 2rem;
    gap: 1.3rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; }
  .nav-toggle { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .section { padding: 4rem 0; }
}
