/* ==========================================================================
   Kensoku — Boxe française Suresnes
   Mobile-first stylesheet. Breakpoints: 40em (tablet), 60em (desktop).
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Only the two kanji of the club's name, 拳 (ken) and 足 (soku), from Noto Sans JP Bold.
   unicode-range means the file is only downloaded where these characters appear. */
@font-face {
  font-family: "Kensoku JP";
  src: url("../fonts/noto-sans-jp-kensoku-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+62F3, U+8DB3;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand (from the logo's CMYK values) */
  --red: #ED1C24;          /* brand red: accents, large type */
  --red-strong: #D3131B;   /* buttons & links on light backgrounds (5.4:1 on white) */
  --red-on-dark: #FF5A5F;  /* small red text on dark backgrounds (5.3:1 on ink) */
  --ink: #231F20;          /* brand black */
  --ink-deep: #1A1718;
  --ink-raised: #2D292A;
  --paper: #FFFFFF;
  --paper-alt: #F5F3F2;

  /* Text */
  --text: var(--ink);
  --text-muted: #5E5758;
  --text-on-dark: #FFFFFF;
  --muted-on-dark: #B5AEAF;
  --line: #E4DFDE;
  --line-dark: #3D3839;

  /* Type */
  --font-body: "Barlow", "Kensoku JP", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Kensoku JP", "Arial Narrow", system-ui, sans-serif;
  --font-kanji: "Kensoku JP", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;

  /* Layout */
  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-space: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 0.5rem;
  --header-h: 4rem;
  --slant: -14deg;         /* the logo's lean, reused for accents */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
address { font-style: normal; }
sup { line-height: 0; }

a { color: var(--red-strong); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

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

.nowrap { white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--red-strong); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: currentColor; color: var(--text-on-dark); }
.btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: "→";
  transition: transform 0.15s;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand-logo { width: auto; height: 2.5rem; }
.brand-sub {
  padding-left: 0.75rem;
  border-left: 2px solid var(--red);
  color: var(--muted-on-dark);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 22.5em) {
  .brand-sub { display: none; }
}

/* Navigation: without JS the links simply wrap under the logo. */
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-nav a:hover { color: var(--red-on-dark); }

.nav-toggle { display: none; }

html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.75rem; }

/* Mobile menu (JS enabled) */
@media (max-width: 59.99em) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-on-dark);
    font: 600 1rem/1 var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--ink);
    border-bottom: 3px solid var(--red);
    box-shadow: 0 1.5rem 2rem rgb(0 0 0 / 0.35);
  }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
  }
  .js .site-nav li + li { border-top: 1px solid var(--line-dark); }
  .js .site-nav a { padding: 0.9rem 0; font-size: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-space); }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: var(--text-on-dark); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--red-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 0.3rem;
  background: var(--red);
  transform: skewX(var(--slant));
}
.section-dark .eyebrow { color: var(--red-on-dark); }

.section-title {
  max-width: 22ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
}
.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}
.section-dark .section-intro { color: var(--muted-on-dark); }

.subsection-title {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 1.25rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.375rem);
  line-height: 1.45;
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--text-on-dark);
  isolation: isolate;
}
/* Slanted "speed lines" echoing the logo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  bottom: -10%;
  background: var(--red);
  transform: skewX(var(--slant));
}
.hero::before { right: -6rem; width: 9rem; opacity: 0.9; }
.hero::after  { right: 5.5rem; width: 1.25rem; opacity: 0.55; }
/* Phones: stripes only behind the lower part (buttons + card), never behind text */
@media (max-width: 39.99em) {
  .hero::before,
  .hero::after { top: auto; height: 45%; }
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 9vw, 7rem);
}
.hero-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 1.6rem + 6vw, 5.75rem);
  line-height: 0.95;
}
.hero-title span { display: block; color: var(--red); }
.hero-lead {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: #DCD7D8;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  align-self: center;
  padding: 1.5rem;
  background: var(--ink-raised);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.3);
}
.hero-card-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.facts { margin: 0 0 1.25rem; }
.fact {
  display: grid;
  gap: 0.15rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line-dark);
}
.fact dt {
  color: var(--red-on-dark);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fact dd { margin: 0; font-size: 1.125rem; }
.hero-card .link-arrow { color: var(--text-on-dark); }

/* ---------- Club ---------- */
.split {
  display: grid;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.split-main p:not(.eyebrow) { max-width: 40rem; }

/* "拳 + 足 = Kensoku" panel */
.name-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  padding: 2rem 2.5rem 2.25rem 1.5rem;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  isolation: isolate;
}
.name-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2.5rem;
  top: -10%;
  bottom: -10%;
  width: 4rem;
  background: var(--red);
  transform: skewX(var(--slant));
}
.name-parts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
}
.name-part {
  display: grid;
  justify-items: center;
  text-align: center;
}
.kanji {
  color: var(--red);
  font-family: var(--font-kanji);
  font-size: clamp(3.5rem, 2.75rem + 3vw, 4.75rem);
  font-weight: 700;
  line-height: 1.1;
}
.romaji {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.meaning { color: var(--muted-on-dark); }
.name-plus {
  margin-bottom: 3.25rem; /* align with the kanji, not with the captions */
  color: var(--muted-on-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.name-logo { width: min(100%, 15rem); }

/* Coach: archive photo + story */
.coach {
  display: grid;
  gap: 2.25rem;
}
.coach-photo {
  position: relative;
  margin: 0 0.75rem 0.75rem 0; /* room for the offset red block */
  isolation: isolate;
}
.coach-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  background: var(--red);
  border-radius: var(--radius);
}
.coach-photo img {
  width: 100%;
  border-radius: var(--radius);
}
.coach-name {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem);
}
.coach-role {
  margin: 0.25rem 0 1rem;
  color: var(--text-muted);
  font-weight: 600;
}
.coach-text > p:not(.eyebrow):not(.coach-role) { max-width: 38rem; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
}
.card {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-alt .card { border-color: transparent; }
.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

/* .card.pillar outranks ".section-alt .card", which would otherwise make the red top transparent */
.card.pillar { border-top: 4px solid var(--red); }
.pillar p { color: var(--text-muted); }

/* Discipline */
.prose { max-width: 44rem; margin-bottom: 2rem; }
.techniques { margin-bottom: 1rem; } /* same gap as between cards in a row */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  padding: 0.3rem 0.8rem;
  background: var(--paper-alt);
  border-radius: 999px;
  font-weight: 600;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.step h4 { margin-bottom: 0.25rem; font-size: 1.25rem; }
.step p { color: var(--text-muted); }

.callout {
  max-width: 44rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Schedules */
.schedule { display: flex; flex-direction: column; }
.schedule-tag {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.slots { margin-bottom: 1.5rem; }
.slot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.slot:first-child { border-top: 1px solid var(--line); }
.slot-day {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.slot-time {
  color: var(--red-strong);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.place-name { margin-bottom: 0.15rem; font-weight: 600; }
.place address { margin-bottom: 0.75rem; color: var(--text-muted); }

/* Prices */
.prices { margin-bottom: 1.75rem; }
.price {
  position: relative;
  overflow: hidden;
  background: var(--ink-raised);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}
.price::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: -10%;
  bottom: -10%;
  width: 2.25rem;
  background: var(--red);
  transform: skewX(var(--slant));
}
.price h3 { color: var(--muted-on-dark); font-size: 1.375rem; }
.price-amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.price-value { font-size: clamp(4rem, 3rem + 4vw, 5.5rem); }
.price-period { color: var(--muted-on-dark); }

/* Lists */
.checklist { display: grid; gap: 0.75rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.35em;
  width: 0.5rem;
  height: 0.9rem;
  border: solid var(--red);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}
.checklist-dark { font-size: 1.125rem; }

.numbered {
  display: grid;
  gap: 0.85rem;
  counter-reset: doc;
}
.numbered li {
  position: relative;
  padding-left: 2.25rem;
  counter-increment: doc;
}
.numbered li::before {
  content: counter(doc);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--red-strong);
  color: var(--paper);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  font-size: 1.1875rem;
  font-weight: 600;
}

/* Contact */
.contact { display: flex; flex-direction: column; gap: 0.25rem; }
.contact h3 { margin-bottom: 0.25rem; }
.contact-role {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-link {
  align-self: flex-start;
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2.5rem;
  background: var(--ink-deep);
  color: var(--muted-on-dark);
  font-size: 0.9375rem;
}
.footer-inner {
  display: grid;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-brand img { width: auto; height: 2.25rem; }
.footer-brand p {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links a { color: var(--paper); }
.footer-links a:hover { color: var(--red-on-dark); }
.footer-copy { margin: 0; }

/* ==========================================================================
   Tablet — 40em (640px)
   ========================================================================== */
@media (min-width: 40em) {
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer-copy { grid-column: 1 / -1; }
}

/* Three pillars are too narrow side by side on small tablets */
@media (min-width: 40em) and (max-width: 51.99em) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Desktop — 60em (960px)
   ========================================================================== */
@media (min-width: 60em) {
  :root { --header-h: 4.5rem; }

  .brand-logo { height: 2.75rem; }
  .site-nav ul { gap: 0 1.75rem; align-items: center; }
  .site-nav a { padding-block: 0.25rem; }
  .site-nav .nav-cta {
    padding: 0.5rem 1rem;
    background: var(--red-strong);
    border-radius: var(--radius);
  }
  .site-nav .nav-cta:hover { background: var(--paper); color: var(--ink); }

  .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
  .hero::before { right: -3rem; width: 14rem; }
  .hero::after  { right: 13rem; width: 1.75rem; }

  .split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }

  .coach {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 4rem;
  }

  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding: 4rem 1.25rem 1.5rem; }
  .step::before { top: 1.25rem; }

}

/* Large screens: keep the hero from feeling empty */
@media (min-width: 90em) {
  .hero::before { right: 0; width: 18rem; }
  .hero::after  { right: 20rem; }
}
