/* ==========================================================
   TANDEM GROVE SOLUTIONS LTD — Business Productivity Consulting
   Visual direction: cool evergreen canopy / mist / seed-gold
   ========================================================== */

:root {
  --grove: #1a4d3e;
  --grove-deep: #0f2e24;
  --grove-mid: #2f6b55;
  --leaf: #5b9a7d;
  --mist: #e8f0ec;
  --mist-deep: #d5e4dc;
  --paper: #f5f8f6;
  --ink: #1a2b26;
  --muted: #5a6e66;
  --line: #c5d6cc;
  --seed: #c8a45a;
  --seed-soft: #f3ead4;
  --white: #ffffff;
  --header-h: 76px;
  --max: 1140px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(91, 154, 125, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(200, 164, 90, 0.08), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--grove-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--grove); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--grove-deep);
  line-height: 1.12;
  margin: 0 0 0.55em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.55rem, 5.4vw, 4.15rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 {
  font-size: 1.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(720px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--grove-deep); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--seed);
  outline-offset: 3px;
}

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  font: 700 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: var(--grove);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(15, 46, 36, 0.55);
}
.btn-primary:hover { background: var(--grove-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--grove-deep);
  border-color: color-mix(in srgb, var(--grove) 35%, transparent);
}
.btn-outline:hover { border-color: var(--grove); background: var(--white); }
.btn-light { background: var(--white); color: var(--grove-deep); }
.btn-light:hover { background: var(--seed); color: var(--grove-deep); transform: translateY(-2px); }
.btn-light:hover .icon { transform: none; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grove-mid); margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--seed);
}
.eyebrow-light { color: #b8d4c6; }
.eyebrow-light::before { background: var(--seed); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
  background: rgba(245, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
/* Light-on-dark nav only over the homepage hero */
body:has(.hero) .site-header:not(.scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
body:has(.hero) .site-header:not(.scrolled) .nav-toggle span { background: #fff; }

@media (min-width: 761px) {
  body:has(.hero) .site-header:not(.scrolled) .site-nav a:not(.btn) { color: rgba(255, 255, 255, 0.92); }
  body:has(.hero) .site-header:not(.scrolled) .site-nav a:not(.btn):hover { color: #fff; }
}

/* Legal / inner pages: keep a solid light header from the start */
body:not(:has(.hero)) .site-header {
  background: rgba(245, 248, 246, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex: none; text-decoration: none; }
.brand img { width: 210px; height: 50px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--grove-deep); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  display: flex; align-items: center; gap: 6px 28px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.site-nav a:not(.btn):hover { color: var(--grove); }
.site-nav .btn { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 46, 36, 0.35) 0%, rgba(15, 46, 36, 0.55) 45%, rgba(10, 28, 22, 0.88) 100%),
    url("tandem-hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
.hero-inner {
  position: relative; z-index: 1;
  padding: calc(var(--header-h) + 56px) 0 72px;
  max-width: 720px;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
  color: #fff;
}
.hero-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--seed);
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  max-width: 16ch;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 38ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Overview ---------- */
.overview {
  padding: 100px 0 88px;
  position: relative;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.overview-copy .lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  color: var(--grove-deep);
  margin-bottom: 22px;
}
.overview-visual {
  position: relative;
}
.overview-visual img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 2px 48px 2px 2px;
}
.overview-visual::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 42%; height: 42%;
  border: 2px solid var(--leaf);
  border-radius: 2px 36px 2px 2px;
  z-index: -1;
  animation: frame-in 1.2s var(--ease) both;
}
@keyframes frame-in {
  from { opacity: 0; transform: translate(12px, 12px); }
  to { opacity: 1; transform: none; }
}
.overview-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--seed);
  background: linear-gradient(90deg, var(--seed-soft), transparent);
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Areas (numbered rails) ---------- */
.areas {
  padding: 88px 0;
  background:
    linear-gradient(180deg, var(--mist) 0%, #f0f6f2 100%);
}
.area-rails { display: grid; gap: 0; }
.area-rail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.area-rail:last-child { border-bottom: 1px solid var(--line); }
.area-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--leaf);
  line-height: 1;
  letter-spacing: -0.02em;
}
.area-rail h3 { margin-bottom: 8px; color: var(--grove-deep); }
.area-rail p { color: var(--muted); max-width: 62ch; }
.area-rail:nth-child(even) {
  grid-template-columns: 1fr 88px;
}
.area-rail:nth-child(even) .area-num { order: 2; text-align: right; }
.area-rail:hover .area-num { color: var(--seed); transition: color 0.3s; }

/* ---------- Challenges — friction board ---------- */
.challenges {
  padding: 96px 0;
  background: var(--grove-deep);
  color: #e8f0ec;
  position: relative;
  overflow: hidden;
}
.challenges::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(168, 212, 190, 0.12);
  top: -120px; right: -80px;
}
.challenges .section-head h2 { color: #fff; }
.challenges .section-head p { color: rgba(232, 240, 236, 0.72); }
.friction-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(168, 212, 190, 0.18);
  border: 1px solid rgba(168, 212, 190, 0.18);
}
.friction-item {
  background: rgba(15, 46, 36, 0.92);
  padding: 28px 22px 32px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.3s;
}
.friction-item:hover { background: rgba(47, 107, 85, 0.45); }
.friction-item .idx {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--seed);
  line-height: 1;
}
.friction-item p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* ---------- Method band ---------- */
.method-band {
  padding: 72px 0 28px;
  background: var(--paper);
}
.method-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 40px;
  align-items: end;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.method-chapter {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 0.85;
  color: var(--leaf);
  letter-spacing: -0.03em;
}
.method-intro .brand-line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--grove-deep);
  margin: 0 0 6px;
}
.method-intro .service-line {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--seed);
  margin-bottom: 12px;
}
.method-intro .tagline {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

.method {
  padding: 0 0 96px;
}
.method-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.method-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 48px 2px 2px 2px;
}
.method-steps {
  display: grid;
  gap: 0;
  position: relative;
}
.method-steps::before {
  content: "";
  position: absolute;
  left: 15px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--leaf), var(--seed));
  opacity: 0.45;
}
.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grove);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700;
  z-index: 1;
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Outcomes ---------- */
.outcomes {
  padding: 88px 0;
  background: var(--mist);
}
.outcome-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.outcome-list {
  display: grid;
  gap: 14px;
}
.outcome-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--white);
  border-left: 3px solid var(--leaf);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.outcome-item:hover {
  transform: translateX(4px);
  border-color: var(--seed);
}
.outcome-item .icon {
  width: 22px; height: 22px;
  color: var(--grove-mid);
  margin-top: 2px;
}
.outcome-item p {
  margin: 0;
  font-weight: 600;
  color: var(--grove-deep);
  line-height: 1.4;
}

/* ---------- Clients — flowing roster ---------- */
.clients {
  padding: 96px 0;
}
.client-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.55;
  color: var(--grove-deep);
  max-width: 920px;
}
.client-roster .sep {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--seed);
  margin: 0 16px 4px;
  vertical-align: middle;
  flex: none;
}
.client-roster em {
  font-style: italic;
  color: var(--grove-mid);
  font-weight: 500;
}

/* ---------- Closing CTA ---------- */
.closing {
  padding: 0 0 96px;
}
.closing-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  background:
    linear-gradient(135deg, rgba(26, 77, 62, 0.92), rgba(15, 46, 36, 0.88)),
    url("tandem-closing.jpg") center / cover no-repeat;
  color: #fff;
  border-radius: 2px 56px 2px 2px;
}
.closing-panel h2 { color: #fff; max-width: 16ch; margin-bottom: 16px; }
.closing-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-bottom: 28px;
}
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Contact ---------- */
.contact {
  padding: 0 0 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.contact-aside {
  padding: 28px 28px 30px;
  background: var(--grove-deep);
  color: #e8f0ec;
  border-radius: 2px 2px 28px 2px;
}
.contact-aside .eyebrow { margin-bottom: 12px; }
.contact-aside h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 10px;
}
.contact-aside p {
  color: rgba(232, 240, 236, 0.75);
  font-size: 0.98rem;
  margin: 0;
}
.contact-details {
  padding: 28px 28px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.contact-meta {
  display: grid;
  gap: 22px;
  width: 100%;
}
.contact-meta .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grove-mid);
  margin-bottom: 8px;
  font-weight: 700;
}
.contact-meta a,
.contact-meta p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--grove-deep);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.45;
}
.contact-meta a:hover { color: var(--leaf); }
.contact-meta .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--grove-mid);
  flex: none;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: calc(var(--header-h) + 48px) 0 36px;
  background: linear-gradient(180deg, var(--mist), var(--paper));
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { margin-bottom: 8px; }
.legal-hero p { color: var(--muted); margin: 0; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--grove-mid); text-decoration: none; font-weight: 700;
  font-size: 0.9rem; margin-bottom: 18px;
}
.back:hover { color: var(--grove); }
.legal-wrap { padding: 48px 0 80px; }
.legal { max-width: 760px; }
.legal h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-top: 2em;
  margin-bottom: 0.7em;
}
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.45em; }
.company-box {
  background: var(--mist);
  border-left: 3px solid var(--grove);
  padding: 18px 22px;
  margin: 16px 0 24px;
}
.company-box ul { list-style: none; padding: 0; margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal th { background: var(--mist); color: var(--grove-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grove-deep);
  color: rgba(232, 240, 236, 0.72);
  padding: 28px 0;
  border-top: 1px solid rgba(168, 212, 190, 0.12);
}
.footer-inner { text-align: center; }
.footer-copy, .footer-reg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-reg { margin-top: 6px; opacity: 0.85; }

.sub-footer {
  background: #0a1f18;
  padding: 40px 0;
}
.sub-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px 40px;
  align-items: center;
}
.sub-brand { display: flex; text-decoration: none; }
.sub-brand img { width: 210px; height: 50px; }
.sub-text {
  margin: 0;
  color: rgba(232, 240, 236, 0.7);
  font-size: 0.95rem;
  max-width: 46ch;
}
.sub-links {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: flex-end;
}
.sub-links a {
  color: #cfe3d8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.sub-links a:hover { color: var(--seed); }

/* ---------- Motion / reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .overview-grid,
  .method-grid,
  .outcome-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .friction-board { grid-template-columns: repeat(2, 1fr); }
  .friction-item:last-child { grid-column: 1 / -1; }
  .area-rail,
  .area-rail:nth-child(even) {
    grid-template-columns: 64px 1fr;
  }
  .area-rail:nth-child(even) .area-num { order: 0; text-align: left; }
  .sub-footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .sub-links { justify-content: flex-start; }
  .method-intro { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: rgba(245, 248, 246, 0.98);
    padding: 28px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .site-nav.open { transform: none; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-nav a:not(.btn) {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { justify-content: center; margin-top: 12px; }

  .hero-inner { padding-bottom: 96px; }
  .overview, .areas, .challenges, .method, .outcomes, .clients { padding-top: 72px; padding-bottom: 72px; }
  .closing-panel { padding: 40px 24px; border-radius: 2px 36px 2px 2px; }
  .contact-aside, .contact-details { padding: 24px 20px; }
  .friction-board { grid-template-columns: 1fr; }
  .friction-item:last-child { grid-column: auto; }
  .friction-item { min-height: 0; }
}
