/* Hweb, agence web à Tours */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ice: #f3f6fc;
  --line: #dde3ef;
  --ink: #0e1630;
  --ink-soft: #4a5472;
  --blue: #2b4bff;
  --blue-deep: #1b34c7;
  --cyan: #19c3e6;
  --radius: 14px;
  --maxw: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- typography ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw + 0.4rem, 4.1rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.6vw + 0.6rem, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 54ch; }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ice); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}
.brand-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--ice); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--ice); }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(25, 195, 230, 0.16), transparent 70%),
    radial-gradient(50% 50% at 100% 40%, rgba(43, 75, 255, 0.10), transparent 70%),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(14, 22, 48, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 22, 48, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 70% 30%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 30%, #000, transparent 85%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts li { display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; color: var(--ink-soft); }
.facts strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .device { max-width: 560px; }
}

/* the browser that assembles itself */

.device {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(27, 52, 199, 0.35), 0 8px 24px -12px rgba(14, 22, 48, 0.18);
  overflow: hidden;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--ice);
  border-bottom: 1px solid var(--line);
}
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd7e8; }
.device-url {
  margin-left: 12px;
  flex: 1;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.device-page { padding: 20px 22px 26px; display: grid; gap: 12px; }

.sk { background: #e8edf7; border-radius: 8px; height: 12px; transform-origin: left center; animation: build 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 250ms); }
.sk-row { display: flex; align-items: center; gap: 10px; }
.sk-logo { width: 54px; height: 20px; background: var(--ink); flex: none; }
.sk-link { width: 34px; height: 8px; }
.sk-push { margin-left: auto; display: flex; gap: 10px; }
.sk-h { height: 26px; background: var(--ink); width: 78%; }
.sk-h.b { width: 52%; }
.sk-p { width: 90%; }
.sk-p.short { width: 62%; }
.sk-btn {
  width: 148px;
  height: 38px;
  border-radius: 999px;
  background: var(--blue);
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.sk-btn span { opacity: 0; animation: show 0.4s ease both; animation-delay: calc(var(--i, 0) * 120ms + 900ms); }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.sk-card { height: 84px; border-radius: 10px; background: linear-gradient(160deg, #eaf0ff, #dfeaf6); }

.device-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  animation: show 0.5s ease both, ring 2.4s ease-in-out 3s 2;
  animation-delay: 2.1s, 3s;
}
.device-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

@keyframes build { from { opacity: 0; transform: scaleX(0.15); } to { opacity: 1; transform: none; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
@keyframes ring { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }

/* ---------- sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tint { background: var(--ice); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { margin-bottom: 0; color: var(--ink-soft); }

/* services: ruled rows, not cards */

.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 64px);
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.row h3 { font-size: clamp(1.25rem, 1.6vw + 0.7rem, 1.8rem); margin-bottom: 12px; }
.row .price { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--blue); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg) scale(0.9);
}
.row .actions { margin-top: 24px; }

@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; }
}

/* work */

.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.work-item { text-decoration: none; display: block; }
.work-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work-item:hover .work-frame { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(27, 52, 199, 0.4); }
.work-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ice); border-bottom: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-soft); }
.work-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfd7e8; }
.work-bar span { margin-left: 10px; }
.work-body { padding: 22px; min-height: 190px; display: grid; align-content: space-between; gap: 18px; }
.work-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.work-lines { display: grid; gap: 8px; }
.work-lines b { display: block; height: 9px; border-radius: 6px; background: #e8edf7; }
.work-lines b:nth-child(1) { width: 88%; }
.work-lines b:nth-child(2) { width: 64%; }
.work-lines b:nth-child(3) { width: 38%; background: var(--blue); }
.work-item h3 { margin: 18px 0 4px; }
.work-item p { margin: 0; color: var(--ink-soft); }
.work-item .go { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--blue); }

@media (max-width: 760px) { .work { grid-template-columns: 1fr; } }

/* method: a true sequence */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 36px 24px 0 0; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 600 0.85rem/1 var(--display);
  z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 16px; left: 34px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; padding-top: 14px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 54px; }
  .steps li::after { top: 36px; bottom: -28px; left: 16px; right: auto; width: 2px; height: auto; }
  .steps h3 { padding-top: 4px; }
}

/* pricing */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.plan.featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -36px rgba(43, 75, 255, 0.5); position: relative; }
.plan .flag {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.plan h3 { margin-bottom: 6px; }
.plan .sub { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 20px; }
.plan .amount { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 3vw + 0.8rem, 3rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 4px; }
.plan .amount small { font-size: 0.9rem; letter-spacing: 0; font-weight: 500; color: var(--ink-soft); font-family: var(--text); }
.plan .delay { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 24px; }
.plan .checks { margin-bottom: 28px; gap: 10px; font-size: 0.98rem; }
.plan .btn { margin-top: auto; }

@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

.plans-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .plans-2 { grid-template-columns: 1fr; } }

.sub-block { margin-top: clamp(56px, 7vw, 88px); }
.sub-block h2 { margin-bottom: 12px; }
.sub-block > p { color: var(--ink-soft); margin-bottom: 32px; }

/* faq */

.faq { max-width: 820px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 24px; margin: 0; }

/* closing band */

.band { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.band::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(43, 75, 255, 0.55), transparent);
  pointer-events: none;
}
.band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.band h2 { margin-bottom: 16px; }
.band p { color: rgba(255, 255, 255, 0.78); margin: 0; }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) {
  .band .wrap { grid-template-columns: 1fr; }
  .band .actions { justify-content: flex-start; }
}

/* page headers */

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(24px, 4vw, 40px); background: radial-gradient(50% 80% at 95% 0%, rgba(25, 195, 230, 0.14), transparent 70%), var(--paper); }
.page-head h1 { font-size: clamp(2rem, 4vw + 0.4rem, 3.2rem); margin-bottom: 20px; }
.page-head .lead { margin-bottom: 0; }

/* about */

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about .quote {
  position: sticky;
  top: 112px;
  padding: clamp(24px, 3vw, 36px);
  border-left: 3px solid var(--blue);
  background: var(--ice);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about .quote { position: static; }
}

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--ink); }
.values h3 { margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* contact */

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 4px; }
.contact-list a { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue); }

form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }
label { display: grid; gap: 8px; font-weight: 600; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #b9c3dc; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 75, 255, 0.16); }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* legal */

.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }

/* footer */

.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: var(--paper); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot h3 { font-size: 0.95rem; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--ink-soft); }
.foot a:hover { color: var(--blue); }
.foot p { color: var(--ink-soft); font-size: 0.98rem; }
.legal-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 0.9rem; }
.legal-line a { color: inherit; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* services page */

.row h2 { font-size: clamp(1.25rem, 1.6vw + 0.7rem, 1.8rem); margin-bottom: 12px; }
.row .desc { color: var(--ink-soft); margin: 16px 0 0; }
.row .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row[id] { scroll-margin-top: 96px; }

/* client colours on project previews */

.theme-homeclean .work-body { background: #eef3ea; }
.theme-homeclean .work-title { color: #2f4a3a; }
.theme-homeclean .work-lines b { background: #d6e1ce; }
.theme-homeclean .work-lines b:nth-child(3) { background: #7f9c76; }
.theme-tyron .work-body { background: #0a0a0a; }
.theme-tyron .work-title { color: #d4af37; text-transform: uppercase; letter-spacing: 0.04em; }
.theme-tyron .work-lines b { background: #222222; }
.theme-tyron .work-lines b:nth-child(3) { background: #d4af37; }

/* realisations page */

.cases { display: grid; gap: clamp(48px, 7vw, 88px); }
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.case > .work-frame { display: block; text-decoration: none; }
.case > .work-frame:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(27, 52, 199, 0.4); }
.case .work-body { min-height: clamp(200px, 26vw, 320px); }
.case .work-title { font-size: clamp(1.6rem, 2.4vw + 0.6rem, 2.4rem); }
.case h2 { margin-bottom: 10px; }
.case .case-meta { color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.case p { color: var(--ink-soft); }
.case .btn { margin-top: 8px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* motion preferences */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sk-btn span, .device-note { opacity: 1; }
}
