/* WattKeeper site — hand-written, no build step. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #12263f;
  --ink-soft: #3f526b;
  --blue: #0a6eb4;
  --blue-deep: #07508a;
  --green: #5db236;
  --sun: #ffb627;
  --snow: #f5f9fc;
  --white: #ffffff;
  --line: #d6e2ec;

  /* theme slots, overridden per section */
  --band-bg: #e0edfa;
  --band-ink: #07508a;
  --band-accent: #0a6eb4;

  --radius: 18px;
  --radius-small: 10px;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

.theme-heat {
  --band-bg: #ffe7d6;
  --band-ink: #86360d;
  --band-accent: #d9602a;
}
.theme-price {
  --band-bg: #e0edfa;
  --band-ink: #07508a;
  --band-accent: #0a6eb4;
}
.theme-car {
  --band-bg: #fde6ea;
  --band-ink: #7a1f33;
  --band-accent: #d6354f;
}
.theme-community {
  --band-bg: #e3f3d7;
  --band-ink: #28621b;
  --band-accent: #3f9a22;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue-deep);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
}

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

.site-header {
  padding: 1.1rem 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand img {
  height: 34px;
  width: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--blue);
  color: var(--ink);
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 12px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  border: 2px solid var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
  transition: background-color 0.15s, color 0.15s;
}
.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.button.quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.quiet:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Home hero ---------- */

.hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 14ch;
}
.hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-top: 1.4rem;
}

.scene-frame {
  margin-top: clamp(1.8rem, 4vw, 3rem);
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(18, 38, 63, 0.45);
}
.scene {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 520;
  background: #5aa7e6;
}
.scene text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 650;
  fill: #fff;
  stroke: #12263f;
  stroke-width: 4px;
  paint-order: stroke;
  stroke-linejoin: round;
}
.scene .flow {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 0.1 13;
  opacity: 0;
}
.scene .flow-sun {
  stroke: #ffc94d;
}
.scene .flow-grid {
  stroke: #8fc7f5;
}
.scene .fan {
  transform-box: fill-box;
  transform-origin: center;
}
.scene.fan-on .fan {
  animation: spin 1.6s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -26;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.scene .flow.moving {
  animation: flow 0.9s linear infinite;
}

.day-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.day-controls label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 650;
  margin-bottom: 0.5rem;
}
.day-controls output {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.day-controls .band-name {
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 0.6rem;
  font-size: 1rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1c2e52, #f4b98f 27%, #8ec9ee 45%, #8ec9ee 62%, #f3a779 80%, #1c2e52);
}
input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1c2e52, #f4b98f 27%, #8ec9ee 45%, #8ec9ee 62%, #f3a779 80%, #1c2e52);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(18, 38, 63, 0.35);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(18, 38, 63, 0.35);
}

.day-caption {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.5;
  min-height: 3.5em;
  max-width: 48ch;
}
.illustration-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.8rem 0 0;
}

.status-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.status-list div {
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.status-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.status-list dt {
  grid-column: 2;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.3;
}
.status-list dd {
  grid-column: 2;
  margin: 0;
  font-weight: 650;
  font-size: 1.1rem;
  line-height: 1.35;
}
.status-list .dot {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 0.3rem;
  background: var(--line);
  transition: background-color 0.3s;
}

/* ---------- Intro ---------- */

.intro {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.intro h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 20ch;
}
.intro p {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  max-width: 56ch;
  color: var(--ink-soft);
}

/* ---------- Colour bands ---------- */

.band {
  background: var(--band-bg);
  color: var(--ink);
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.band.flip .band-copy {
  order: 2;
}
.band h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  color: var(--band-ink);
}
.band p {
  margin-top: 1.2rem;
  font-size: 1.12rem;
}
.band .link-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.band .link-list a {
  display: block;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
}
.band .link-list a span {
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.band .link-list a:hover {
  border-color: var(--band-accent);
  background: var(--white);
}

.motif {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 2rem);
}
.motif svg {
  width: 100%;
  height: auto;
}
.motif figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}
.motif svg text {
  font-family: var(--font-body);
  font-size: 13px;
  fill: var(--ink-soft);
}

.price-bars {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: end;
  gap: 4px;
  height: 220px;
  padding-bottom: 0;
  border-bottom: 2px solid var(--ink);
}
.price-bars span {
  display: block;
  height: calc(var(--h) * 100%);
  background: var(--blue);
  border-radius: 5px 5px 0 0;
}
.price-bars span.cheap {
  background: var(--green);
}
.price-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}
.legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  font-size: 0.92rem;
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 0.4rem;
  vertical-align: -1px;
}

/* ---------- Steps ---------- */

.start {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.start h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 18ch;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.steps li {
  counter-increment: step;
  border-top: 3px solid var(--ink);
  padding-top: 1rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.steps h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.steps p {
  margin: 0;
  font-size: 1rem;
}

/* ---------- Open source ---------- */

.open {
  background: var(--ink);
  color: #e9f1f8;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.open h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  color: var(--white);
  max-width: 20ch;
}
.open p {
  margin-top: 1rem;
  color: #c3d3e3;
}
.open a {
  color: #bfe0ff;
}
.repo-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 2rem;
}
.repo-list a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-weight: 650;
  color: var(--white);
}
.repo-list a span {
  display: block;
  font-weight: 400;
  font-size: 0.93rem;
  color: #c3d3e3;
}
.repo-list a:hover {
  border-bottom-color: var(--sun);
}

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

.site-footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  justify-content: space-between;
}
.site-footer p {
  max-width: 62ch;
  margin: 0;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ---------- Project pages ---------- */

.project-hero {
  background: var(--band-bg);
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.back-link {
  display: inline-block;
  margin-bottom: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--band-ink);
}
.back-link:hover {
  text-decoration: underline;
}
.project-hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 18ch;
  color: var(--band-ink);
}
.project-hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  margin-top: 1.3rem;
  max-width: 54ch;
}
.status-note {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--band-ink);
}

.project-body {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.project-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
}
.tick-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.tick-list li {
  position: relative;
  padding-left: 2rem;
  max-width: 60ch;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1.05rem;
  height: 0.55rem;
  border-left: 3px solid var(--band-accent);
  border-bottom: 3px solid var(--band-accent);
  transform: rotate(-45deg) scale(0.9);
}
.side-box {
  background: var(--white);
  border: 2px solid var(--band-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.side-box h2 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}
.side-box ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}
.side-box li {
  margin-bottom: 0.5rem;
}
.side-box .button {
  width: 100%;
  justify-content: center;
}
.side-box .button + .button {
  margin-top: 0.6rem;
}
.good-to-know {
  border-left: 5px solid var(--band-accent);
  background: var(--white);
  padding: 1.3rem 1.5rem;
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  margin: 0 0 2.5rem;
}
.good-to-know h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.good-to-know ul {
  margin: 0;
  padding-left: 1.2rem;
}
.good-to-know li {
  margin-bottom: 0.55rem;
  max-width: 60ch;
}
.good-to-know li:last-child {
  margin-bottom: 0;
}

.shots {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 0 2.5rem;
}
.shots figure {
  margin: 0;
  flex: 1 1 260px;
  max-width: 420px;
}
.shots img {
  border-radius: var(--radius-small);
  border: 1px solid var(--line);
  background: var(--white);
  width: 100%;
  height: auto;
}
.shots figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.how-steps {
  list-style: none;
  counter-reset: how;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 1.2rem;
}
.how-steps li {
  counter-increment: how;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.8rem;
  max-width: 60ch;
}
.how-steps li::before {
  content: counter(how);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--band-bg);
  color: var(--band-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}
.how-steps strong {
  display: block;
}

.more {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.more h2 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.more ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
}
.more a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  padding: 0.7rem 0;
  border-bottom: 2px solid var(--line);
}
.more a span {
  display: block;
  font-weight: 400;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.more a:hover {
  border-bottom-color: var(--blue);
}

.notfound {
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.notfound h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .day-panel,
  .band-inner,
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .band.flip .band-copy {
    order: 0;
  }
  .steps,
  .more ul,
  .repo-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .scene text {
    font-size: 22px;
    stroke-width: 5px;
  }
  .scene .lbl-pump {
    display: none;
  }
}

@media (max-width: 520px) {
  .scene text {
    font-size: 30px;
    stroke-width: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scene .flow.moving,
  .scene.fan-on .fan {
    animation: none;
  }
}

/* ---------- Language switch ---------- */

.site-nav li.lang {
  padding-left: 1.1rem;
  border-left: 2px solid var(--line);
}
.site-nav li.lang a {
  color: var(--ink-soft);
}
@media (max-width: 520px) {
  .site-nav li.lang {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Scenarios ---------- */

.scenarios {
  padding: clamp(3.5rem, 7vw, 6rem) 0 0;
}
.scenarios h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  max-width: 20ch;
}
.sc-lead {
  margin-top: 1.2rem;
  max-width: 60ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.sc-grid {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.sc {
  --sc: var(--blue);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: inset 0 6px 0 var(--sc);
  border-radius: var(--radius);
  padding: 2rem 1.5rem 1.8rem;
}
.sc-comfort {
  --sc: #d9602a;
}
.sc-eco {
  --sc: #3f9a22;
}
.sc-holiday {
  --sc: #0a6eb4;
}
.sc svg {
  color: var(--sc);
  margin-bottom: 0.8rem;
}
.sc h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.sc p {
  margin: 0;
  font-size: 1rem;
}
.sc-note {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .sc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Contact ---------- */

.contact {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}
.contact h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 20ch;
}
.contact p {
  margin-top: 1rem;
  max-width: 60ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.nb {
  white-space: nowrap;
}

/* ---------- Examples page ---------- */

.examples {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.examples .back-link {
  color: var(--blue-deep);
}
.examples h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.ex-lead {
  margin-top: 1rem;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.ex-list {
  margin-top: 2.6rem;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  justify-items: start;
}
.ex-fig {
  margin: 0;
  max-width: 100%;
  width: fit-content;
}
.ex-fig img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.ex-fig figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
