/* ============================================================
   HFT · High Function Train — stylesheet
   Light monochrome to match highfunction.store.
   White ground, near-black ink, rounded geometry, glass surfaces.
   One typeface: Inter Tight.
   ============================================================ */

/* ---------- 1. tokens ---------- */
:root {
  /* ground */
  --paper:       #ffffff;
  --paper-2:     #fafafa;
  --paper-3:     #f4f4f5;
  --paper-4:     #ececee;

  /* ink */
  --ink:         #111111;
  --ink-2:       #2e2e2e;
  --muted:       #6e6e6e;
  --faint:       #9a9a9a;
  --ghost:       #c2c2c2;

  /* lines */
  --line:        #e8e8ea;
  --line-2:      #d8d8dc;

  /* surfaces */
  --glass:       rgba(255, 255, 255, 0.72);
  --glass-2:     rgba(255, 255, 255, 0.55);
  --glass-line:  rgba(17, 17, 17, 0.07);
  --dark:        #111111;
  --dark-2:      #1c1c1e;

  /* accent — black by default; single lever to rebrand */
  --accent:      #111111;
  --accent-ink:  #ffffff;
  --accent-soft: #f0f0f2;

  /* radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(17,17,17,.04), 0 2px 8px rgba(17,17,17,.04);
  --sh-2: 0 2px 4px rgba(17,17,17,.04), 0 10px 30px rgba(17,17,17,.07);
  --sh-3: 0 4px 10px rgba(17,17,17,.06), 0 24px 60px rgba(17,17,17,.12);

  /* type */
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --text-xs:   0.7rem;
  --text-sm:   0.82rem;
  --text-base: 0.95rem;
  --text-lg:   1.1rem;
  --text-xl:   1.4rem;
  --text-2xl:  1.9rem;
  --text-3xl:  2.6rem;
  --text-4xl:  3.5rem;
  --text-display: clamp(2.5rem, 8vw, 6.5rem);

  /* space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 420ms;

  --maxw: 1220px;
  --hdr-h: 64px;
}

/* ---------- 2. reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.006em;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-5); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 3. typography ---------- */
.kicker {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
  font-weight: 600;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); font-weight: 750; }
p { color: var(--ink-2); }
.lead { font-size: var(--text-lg); color: var(--muted); max-width: 52ch; line-height: 1.5; }
.meta { color: var(--faint); font-size: var(--text-sm); }
.mini { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; }

/* ---------- 4. nav — glass pill bar ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--glass-line);
}
.hdr-in {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--s-5);
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.brand { font-weight: 800; letter-spacing: -0.04em; font-size: var(--text-lg); display: flex; align-items: center; gap: 0.55rem; flex: none; }
.brand b {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-xs);
  font-size: var(--text-sm); font-weight: 800; letter-spacing: -0.03em;
}
.brand span, .brand { color: var(--ink); }
.brand .brand-sub { color: var(--faint); font-weight: 500; letter-spacing: -0.01em; font-size: var(--text-sm); }

.nav { display: flex; align-items: center; gap: var(--s-1); margin-inline: auto; }
.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 550;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--paper-3); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-4); font-weight: 650; }

/* --- mobile menu button (hidden until the nav collapses) ---
   Bars are absolutely positioned at the button's exact centre and offset with
   translateY, so the open state is a true X — rotating two grid-flow bars
   produced a chevron instead. */
.nav-btn {
  display: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.nav-btn:hover { background: var(--paper-3); }
.nav-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.nav-btn i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 2px;
  margin: -1px 0 0 -8.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 140ms var(--ease);
}
.nav-btn i:nth-child(1) { transform: translateY(-5px); }
.nav-btn i:nth-child(2) { transform: translateY(0); }
.nav-btn i:nth-child(3) { transform: translateY(5px); }

/* ---------- 5. buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--r-pill);
  background: var(--paper-3);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--paper-4); transform: translateY(-1px); box-shadow: var(--sh-1); }
.btn:active { transform: translateY(0); }

.btn.cta, .btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--sh-1);
}
.btn.cta:hover, .btn-primary:hover { background: var(--ink-2); box-shadow: var(--sh-2); }

.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-3); border-color: var(--ghost); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: var(--text-base); font-weight: 700; }
.btn-block { width: 100%; }

.btn.arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn.arrow:hover::after { transform: translateX(3px); }

/* row inline CTA (tables/lists) */
.go a, .go { color: var(--ink); font-weight: 650; font-size: var(--text-sm); }
.go a { border-bottom: 1.5px solid var(--ghost); padding-bottom: 1px; transition: border-color var(--dur-fast) var(--ease); }
.go a:hover { border-color: var(--ink); }

/* ---------- 6. hero ---------- */
.hero { padding: var(--s-9) 0 var(--s-7); }
.hero-foot { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: var(--s-8); align-items: end; margin-top: var(--s-6); }
.hero-foot p { font-size: var(--text-lg); color: var(--muted); line-height: 1.5; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* dark hero panel — used on the home page */
.hero-panel {
  background: var(--dark);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-8);
  position: relative;
  overflow: hidden;
}
.hero-panel h1 { color: var(--paper); }
.hero-panel p { color: rgba(255,255,255,.72); }
.hero-panel .kicker { color: rgba(255,255,255,.5); }

/* ---------- 7. sections ---------- */
.sec { padding: var(--s-8) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.sec-head h2 { font-size: var(--text-3xl); }
.sec-head p { color: var(--muted); font-size: var(--text-base); max-width: 46ch; }
.sec-head-center { flex-direction: column; align-items: flex-start; }

/* ---------- 8. stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-4); }
.stats > div {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.stats b { display: block; font-size: var(--text-3xl); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.3rem; }
.stats span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.13em; color: var(--faint); font-weight: 600; }

#p-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ---------- 9. cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card-hover:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--line-2); }

/* feature grid on the home page */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s-5); }
.feat article {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.feat article:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.feat .num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--ink); color: var(--paper);
  font-size: var(--text-xs); font-weight: 700;
  margin-bottom: var(--s-5);
}
.feat h3 { margin-bottom: var(--s-3); }
.feat p { color: var(--muted); font-size: var(--text-sm); }

.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: var(--s-6); }
.cols-3 > div { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.cols-3 p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- 10. tags + chips ---------- */
.tag {
  display: inline-flex; align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: var(--paper-3);
  border-radius: var(--r-pill);
  padding: 0.24rem 0.65rem;
  white-space: nowrap;
}
.tag-accent { background: var(--ink); color: var(--paper); }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  padding: 0.42rem 0.85rem;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 550;
  text-transform: capitalize;
  transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--ghost); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- 11. filter bar ---------- */
.filters { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: var(--s-5); }
.filter-bar { display: grid; grid-template-columns: minmax(0,1fr) 11rem 11rem; gap: var(--s-3); }
.search-field, .select-field {
  position: relative;
  display: flex; align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.search-field:focus-within, .select-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-field svg { position: absolute; left: 1rem; color: var(--faint); pointer-events: none; }
.search-field input { width: 100%; background: none; border: 0; outline: none; padding: 0.72rem 1rem 0.72rem 2.6rem; font-size: var(--text-base); }
.search-field input::placeholder { color: var(--faint); }
.select-field select {
  width: 100%; background: none; border: 0; outline: none; cursor: pointer;
  padding: 0.72rem 2.2rem 0.72rem 1.1rem;
  font-size: var(--text-base); font-weight: 550;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e6e' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 11px;
}
.result-line { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; margin-bottom: var(--s-5); }

/* ---------- 12. programme cards ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); }
.prog-card {
  display: flex; flex-direction: column; gap: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.prog-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line-2); }
.prog-card-top { display: flex; flex-direction: column; gap: var(--s-2); }
.prog-card h3 { font-size: var(--text-xl); line-height: 1.15; }
.prog-card-sub { color: var(--muted); font-size: var(--text-sm); }
.prog-card-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-3); margin-top: auto; }
.prog-card-meta div { background: var(--paper-2); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); }
.prog-card-meta b { display: block; font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.prog-card-meta span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); font-weight: 600; }
.prog-card-go { font-size: var(--text-sm); font-weight: 650; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; }
.prog-card-go::after { content: "→"; transition: transform var(--dur) var(--ease); }
.prog-card:hover .prog-card-go::after { transform: translateX(4px); }

/* ---------- 13. index list ---------- */
.index { display: flex; flex-direction: column; gap: var(--s-4); }
.row {
  display: grid; grid-template-columns: 3rem minmax(0,1fr) auto;
  gap: var(--s-5); align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.row:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.row .n { font-size: var(--text-xl); font-weight: 800; color: var(--ghost); letter-spacing: -0.04em; }
.row h3 { font-size: var(--text-lg); margin-bottom: 0.15rem; }
.row .meta { font-size: var(--text-sm); color: var(--muted); }

/* ---------- 14. exercise grid (library) ---------- */
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-5); }
.ex {
  display: flex; flex-direction: column; text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ex:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.ex-media { aspect-ratio: 3 / 2; background: var(--paper-3); overflow: hidden; }
.ex-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.ex:hover .ex-media img { transform: scale(1.04); }
.ex-body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.ex h3 { font-size: var(--text-base); font-weight: 650; letter-spacing: -0.02em; text-transform: capitalize; }
.ex .tags { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: auto; }

/* ---------- 15. muscle map ---------- */
.muscles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s-4); }
.muscles button {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-align: left;
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.muscles button:hover { background: var(--paper); box-shadow: var(--sh-2); transform: translateY(-2px); }
.muscles .bar { display: block; height: 4px; border-radius: var(--r-pill); background: var(--ink); width: var(--w, 20%); margin-bottom: var(--s-3); transition: width var(--dur-slow) var(--ease); }
.muscles b { font-size: var(--text-base); font-weight: 700; letter-spacing: -0.02em; text-transform: capitalize; }
.muscles span { font-size: var(--text-sm); color: var(--faint); }

/* ---------- 16. tools ---------- */
.tool {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: var(--s-8);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  align-items: start;
}
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 600; }
.field input, .field select {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem;
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.unit { font-size: var(--text-xs); color: var(--faint); }

.readout {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  text-align: center;
}
.readout b, .readout .value { display: block; font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.readout span { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,.55); margin-top: var(--s-3); font-weight: 600; }

/* ---------- 17. tables ---------- */
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; font-size: var(--text-xs); text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--faint); font-weight: 600;
  padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line);
}
td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- 18. modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal[open] { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(17,17,17,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade var(--dur) var(--ease); }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal-panel {
  position: relative; z-index: 1;
  max-width: 900px; width: calc(100% - 2rem);
  max-height: calc(100vh - 4rem);
  margin: 2rem auto;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  overflow: auto;
  animation: rise var(--dur) var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.modal-x {
  position: absolute; top: var(--s-4); right: var(--s-4); z-index: 2;
  width: 38px; height: 38px; border-radius: var(--r-pill);
  background: var(--paper-3); color: var(--ink);
  font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease);
}
.modal-x:hover { background: var(--paper-4); }
.modal-body { padding: var(--s-7); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-7); }
.modal-body h2 { font-size: var(--text-2xl); margin: var(--s-3) 0 var(--s-5); text-transform: capitalize; }
.modal-body h3 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 600; margin: var(--s-6) 0 var(--s-3); }
.modal-body ol { counter-reset: s; display: flex; flex-direction: column; gap: var(--s-3); }
.modal-body ol li { counter-increment: s; position: relative; padding-left: var(--s-6); color: var(--ink-2); font-size: var(--text-sm); }
.modal-body ol li::before {
  content: counter(s); position: absolute; left: 0; top: 0.1em;
  width: 20px; height: 20px; border-radius: var(--r-pill);
  background: var(--paper-3); color: var(--ink);
  font-size: 0.65rem; font-weight: 700;
  display: grid; place-items: center;
}
.modal-body .spec dl { display: flex; flex-direction: column; gap: var(--s-3); }
.modal-body .spec dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 600; }
.modal-body .spec dd { font-size: var(--text-sm); color: var(--ink); text-transform: capitalize; }
.modal-head, .modal-card { display: none; } /* legacy hooks */

/* ---------- 19. prose ---------- */
.prose p { color: var(--muted); max-width: 68ch; margin-bottom: var(--s-5); }
.prose h3 { margin-bottom: var(--s-3); }

/* ---------- 20. footer ---------- */
footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: var(--s-8) 0 var(--s-6); margin-top: var(--s-8); }
.foot-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: var(--s-8); padding-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
.foot-top .big { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.04em; max-width: 18ch; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
.foot-links h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: var(--s-4); font-weight: 600; }
.foot-links a { display: block; color: var(--muted); font-size: var(--text-sm); padding: 0.22rem 0; transition: color var(--dur-fast) var(--ease); }
.foot-links a:hover { color: var(--ink); }
.foot-bot { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; padding-top: var(--s-5); font-size: var(--text-xs); color: var(--faint); }
.foot-bot a { border-bottom: 1px solid var(--line-2); }

/* ---------- 21. programmes — split, phases, weeks ---------- */
.crumbs { display: flex; gap: 0.5rem; align-items: center; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: var(--s-4); font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.crumbs a { border-bottom: 1px solid var(--line-2); }

.split-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: var(--s-3); }
.split-chip {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5);
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: var(--text-base); font-weight: 650; text-transform: capitalize;
}
.split-chip b { font-size: var(--text-xs); color: var(--faint); letter-spacing: 0.12em; font-weight: 600; }

.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-4); }
.phase {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.phase b { font-size: var(--text-lg); font-weight: 750; letter-spacing: -0.02em; }
.phase span { font-size: var(--text-sm); color: var(--muted); text-transform: capitalize; }

.week { margin-top: var(--s-8); }
.week:first-of-type { margin-top: 0; }
.week-head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); }
.week-head h3 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.045em; }
.week-note { color: var(--muted); font-size: var(--text-sm); max-width: 70ch; margin-bottom: var(--s-5); background: var(--paper-2); border-left: 3px solid var(--line-2); padding: var(--s-4) var(--s-5); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--s-5); }
.day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.day-head { padding: var(--s-4) var(--s-5); background: var(--paper-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); border-bottom: 1px solid var(--line); }
.day-head b { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); font-weight: 600; }
.day-head h4 { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; flex: 1 1 100%; }
.day-meta { font-size: var(--text-xs); color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.day-desc { padding: var(--s-4) var(--s-5) 0; font-size: var(--text-sm); color: var(--muted); }
.day-rest { opacity: .6; }

.exlist { padding: var(--s-2) 0; }
.exrow { border-top: 1px solid var(--line); }
.exrow:first-child { border-top: 0; }
.exrow > summary { display: grid; grid-template-columns: 46px minmax(0,1fr) auto 1rem; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-5); cursor: pointer; list-style: none; transition: background var(--dur-fast) var(--ease); }
.exrow > summary::-webkit-details-marker { display: none; }
.exrow > summary:hover { background: var(--paper-2); }
.exrow-media { width: 46px; height: 34px; border-radius: var(--r-xs); overflow: hidden; background: var(--paper-3); display: grid; place-items: center; }
.exrow-media img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { color: var(--ghost); font-size: var(--text-xs); }
.exrow-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.exrow-name b { font-size: var(--text-base); font-weight: 650; letter-spacing: -0.01em; }
.exrow-name .meta { font-size: var(--text-xs); color: var(--faint); text-transform: capitalize; }
.exrow-presc { font-size: var(--text-sm); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 550; }
.exrow-caret { color: var(--ghost); transition: transform var(--dur) var(--ease); font-size: 0.7rem; }
.exrow[open] .exrow-caret { transform: rotate(180deg); }
.exrow-body { padding: 0 var(--s-5) var(--s-5); }
.set-table th { padding: var(--s-2) var(--s-3); }
.set-table td { padding: var(--s-2) var(--s-3); }
.note { font-size: var(--text-xs); color: var(--faint); margin-top: var(--s-3); }

.split-cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: var(--s-8); }
.facts { display: flex; flex-direction: column; gap: var(--s-3); }
.facts > div { display: flex; justify-content: space-between; gap: var(--s-4); background: var(--paper-2); border-radius: var(--r-sm); padding: var(--s-4); }
.facts dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 600; }
.facts dd { font-size: var(--text-sm); color: var(--ink); text-align: right; font-weight: 550; }

/* ---------- 22. exercise setup ---------- */
.el-grid { display: flex; flex-direction: column; gap: var(--s-8); }
.el-block { }
.el-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-5); }
.el-head h2 { font-size: var(--text-2xl); }
.el-head p { color: var(--muted); font-size: var(--text-sm); max-width: 56ch; margin-top: var(--s-2); }
.el-count-badge { font-size: var(--text-sm); font-weight: 700; background: var(--ink); color: var(--paper); border-radius: var(--r-pill); padding: 0.3rem 0.75rem; min-width: 2.5rem; text-align: center; flex: none; }

.el-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--s-4); }
.el-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease); }
.el-item[open] { box-shadow: var(--sh-1); }
.el-item > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none; transition: background var(--dur-fast) var(--ease); }
.el-item > summary::-webkit-details-marker { display: none; }
.el-item > summary:hover { background: var(--paper-2); }
.el-item > summary b { font-size: var(--text-base); font-weight: 700; letter-spacing: -0.02em; }
.el-caret { color: var(--ghost); font-size: 0.7rem; transition: transform var(--dur) var(--ease); }
.el-item[open] .el-caret { transform: rotate(180deg); }
.el-item-body { padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--line); background: var(--paper-2); }
.el-item-body p { color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--s-5); }
.el-list { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
.el-list li { position: relative; padding-left: var(--s-5); font-size: var(--text-sm); color: var(--ink-2); }
.el-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: var(--r-pill); background: var(--ghost); }
.el-list-tips li::before { background: var(--ink); }

/* ---------- 23. misc ---------- */
.empty { padding: var(--s-9) var(--s-5); text-align: center; color: var(--faint); background: var(--paper-2); border-radius: var(--r-lg); }
.tool + .tool { margin-top: var(--s-6); }
.prog { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: var(--s-4); overflow: hidden; }
.prog > summary { padding: var(--s-5); cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-5); align-items: center; list-style: none; }
.prog > summary::-webkit-details-marker { display: none; }
.prog .body { padding: 0 var(--s-5) var(--s-5); }
.prog .sub { color: var(--muted); font-size: var(--text-sm); }
.tool .readout { border-radius: var(--r-lg); }

/* ---------- 24. responsive ---------- */
@media (max-width: 1000px) {
  .hero-foot, .tool, .split-cols, .modal-body, .foot-top { grid-template-columns: minmax(0,1fr); }
  .tool { padding: var(--s-6); gap: var(--s-6); }
  .foot-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .filter-bar { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .day-grid { grid-template-columns: minmax(0,1fr); }
  .hero-panel { padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); }
}
@media (max-width: 760px) {
  :root { --hdr-h: 58px; }
  .hdr-in { gap: var(--s-3); }
  .brand .brand-sub { display: none; }
  .nav-btn { display: block; margin-left: auto; }

  /* The nav becomes a sheet under the header, opened by .nav-btn.
     Previously this was `display: none`, which left phones with no
     navigation at all on every page. Background is near-solid: a lighter
     frosted tint let the headline show through the links. */
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: var(--s-3);
    background: var(--paper);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }
  .hdr.is-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 0.7rem 0.9rem; font-size: var(--text-base); border-radius: var(--r-sm); }

  /* hamburger morphs to a cross */
  .hdr.is-open .nav-btn i:nth-child(1) { transform: rotate(45deg); }
  .hdr.is-open .nav-btn i:nth-child(2) { opacity: 0; }
  .hdr.is-open .nav-btn i:nth-child(3) { transform: rotate(-45deg); }

  .sec { padding: var(--s-7) 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .sec-head h2 { font-size: var(--text-2xl); }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .prog-grid, .ex-grid, .feat, .cols-3 { grid-template-columns: minmax(0,1fr); }
  .modal-body { padding: var(--s-6); }
  .modal-panel { width: calc(100% - 1rem); margin: 0.5rem auto; max-height: calc(100vh - 1rem); border-radius: var(--r-lg); }
}
@media (max-width: 560px) {
  .wrap { padding-inline: var(--s-4); }
  .exrow > summary { grid-template-columns: 40px minmax(0,1fr) auto; gap: var(--s-3); padding-inline: var(--s-4); }
  .exrow-caret { display: none; }
  .foot-links { grid-template-columns: minmax(0,1fr); }
  .prog-card-meta { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-2); }
  .prog-card-meta div { padding: var(--s-3); }
  .prog-card-meta b { font-size: var(--text-lg); }
  .prog-card { padding: var(--s-5); }
}

/* ---------- 25. print ---------- */
@media print {
  .hdr, footer, .modal { display: none; }
  body { background: #fff; }
  .card, .day, .prog-card { box-shadow: none; border-color: #ccc; }
}

/* ---------- 26. refinements ---------- */
/* stat meta shouldn't wrap ("PER WEEK" was breaking to two lines) */
.prog-card-meta div { padding: var(--s-3) var(--s-3); }
.prog-card-meta span { font-size: 0.66rem; letter-spacing: 0.06em; white-space: nowrap; }
.prog-card-meta b { font-size: var(--text-xl); margin-bottom: 0.15rem; }

/* tighten the gap between a stat strip and whatever follows */
.stats + .sec, .wrap + .sec { padding-top: var(--s-7); }
.sec > .wrap > .filters:first-child { margin-top: calc(var(--s-4) * -1); }

/* hero on inner pages shouldn't be as tall */
.hero { padding: var(--s-8) 0 var(--s-6); }
.hero h1 { margin-bottom: var(--s-5); }

/* tag rows in cards sit tighter */
.prog-card .tag-row { margin-top: var(--s-1); }

/* the results count line hugs the grid */
.result-line { margin-bottom: var(--s-4); }

/* filter bar adapts to however many controls it holds (2 on exercises, 3 on programmes) */
.filter-bar { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.filter-bar .search-field { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .filter-bar { grid-template-columns: minmax(0,1fr) auto auto; }
  .filter-bar .search-field { grid-column: auto; }
  .filter-bar .btn { align-self: center; }
}

/* ---------- 27. dark readout panel — fix inner contrast ----------
   The readout is the one dark "highlight" surface on a light page.
   Its inner table inherits the light-page table colours, which are
   invisible on the dark ground. Override everything inside it. */
.readout, .readout * { color: #fff; }
.readout b, .readout .big, .readout .value { color: #fff; font-size: var(--text-4xl); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.readout > span, .readout .unit {
  color: rgba(255,255,255,.62) !important;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.readout table { margin-top: var(--s-5); }
.readout th {
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: none;
}
.readout td {
  color: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.readout tbody tr:last-child td { border-bottom: 0; }
.readout tbody tr:hover td { background: rgba(255,255,255,.05); }
.readout a { color: #fff; }

/* ============================================================
   28. GATEWAY HERO — two photographic doors
   The homepage opens as a full-height gateway: a short headline and
   two full-bleed photographs that ARE the navigation. Each photo
   carries a frosted-glass label. Clicking one glides to its section.
   ============================================================ */

.gateway {
  min-height: calc(100svh - 68px);
  display: flex;
  padding: var(--s-6) 0;
}
.gateway .wrap {
  width: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: var(--s-6);
  align-content: center;
}

/* NOTE: max-width in px, NOT ch — `ch` resolves against THIS element's
   font-size (0.95rem), not the h1's, which squeezed the headline to ~430px
   and forced it onto three lines. The h1 caps itself in em instead. */
.gw-head { max-width: 940px; }
.gw-head h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 750;
  margin: var(--s-3) 0 var(--s-4);
  max-width: 15.5em;   /* em = the h1's own size, so it scales with the clamp */
}
.gw-sub { font-size: var(--text-lg); color: var(--muted); max-width: 38ch; }

/* --- the two doors — they fill the remaining viewport height --- */
.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  min-height: 0;
}

.door {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--paper-3);
  height: 100%;
  min-height: 320px;
  max-height: 620px;
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 45%);
  display: block;
  transition: transform 900ms var(--ease);
}
/* the narrow door is a near-square crop, so nudge each photo's focal point */
.door--prog { --focus: 62% 44%; }
.door--lib  { --focus: 52% 40%; }
/* scrim so the glass label always sits on a dark ground */
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,10,.62) 0%, rgba(10,10,10,.18) 46%, rgba(10,10,10,0) 74%);
}
.door:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.door:hover img { transform: scale(1.055); }
.door:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* --- frosted-glass label (the "transparent" layer) --- */
.door-glass {
  position: absolute;
  z-index: 2;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  color: #fff;
  background: rgba(14,14,14,.42);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.door:hover .door-glass { background: rgba(14,14,14,.56); border-color: rgba(255,255,255,.34); }

.door-txt b {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.door-txt em {
  display: block;
  font-style: normal;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.78);
  margin-top: 3px;
  letter-spacing: 0.005em;
}
.door-go {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: #111;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.door:hover .door-go { transform: translateY(3px); background: #fff; }

/* --- scroll cue --- */
.gw-cue { display: grid; place-items: center; margin-top: var(--s-6); }
.gw-cue span {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-2);
  border-radius: var(--r-pill);
  position: relative;
}
.gw-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: var(--r-pill);
  background: var(--faint);
  animation: gw-cue 1.9s var(--ease) infinite;
}
@keyframes gw-cue {
  0%   { transform: translateY(0);    opacity: 0; }
  22%  { opacity: 1; }
  70%  { transform: translateY(15px); opacity: 0; }
  100% { transform: translateY(15px); opacity: 0; }
}

/* anchor targets clear the sticky header */
#programmes, #library { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }

/* ============================================================
   29. PHOTOGRAPHIC BAND — the library in motion
   One marquee only (design rule). Two identical halves, translated
   -50%, so the loop is seamless. Pauses on hover.
   ============================================================ */

.band-sec { padding-bottom: 0; }
.band {
  margin-top: var(--s-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.band-track {
  display: flex;
  gap: var(--s-3);
  width: max-content;
  animation: band-scroll 64s linear infinite;
}
.band-track img {
  flex: none;
  width: 232px;
  height: 232px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  background: var(--paper-3);
}
.band:hover .band-track { animation-play-state: paused; }
@keyframes band-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   30. RESPONSIVE — gateway + band
   Verified at 320 / 375 / 414 / 768 / 1024 / 1440.
   ============================================================ */

@media (max-width: 900px) {
  .band-track img { width: 186px; height: 186px; }
}

@media (max-width: 760px) {
  .gateway { min-height: auto; padding: var(--s-6) 0 var(--s-7); }
  .gateway .wrap { display: block; }
  .gw-head { margin-bottom: var(--s-5); }
  .gw-sub { font-size: var(--text-base); }
  .gw-cue { margin-top: var(--s-5); }
  .doors { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .door { height: auto; aspect-ratio: 4 / 3; min-height: 0; max-height: none; }
  .band-track img { width: 156px; height: 156px; border-radius: var(--r-md); }
}

@media (max-width: 420px) {
  .door-glass { left: var(--s-2); right: var(--s-2); bottom: var(--s-2); padding: var(--s-3) var(--s-4); }
  .door-txt b { font-size: var(--text-lg); }
  .door-go { width: 34px; height: 34px; }
  .band-track img { width: 138px; height: 138px; }
}

/* respect the user's motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; }
  .gw-cue span::after { animation: none; }
  .door, .door img, .door-glass, .door-go { transition: none; }
  .door:hover { transform: none; }
  .door:hover img { transform: none; }
}
