@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --black: #000000;
  --carbon-fiber: #302e2e;
  --cherry-berry: #9e5565;
  --mummys-tomb: #84938a;
  --old-rose: #c47882;
  --rosetti: #d594a2;
  --jupiter: #e1e1e1;
  --kingly-cloud: #e2dede;
  --rose: var(--old-rose);
  --rose-deep: var(--cherry-berry);
  --sage: var(--mummys-tomb);
  --charcoal: var(--carbon-fiber);
  --charcoal-soft: #514e4e;
  --rose-bg: #faf1f3;
  --off-white: #fffdfc;
  --warm: #f8f5f5;
  --line: var(--kingly-cloud);
  --shadow: 0 22px 70px rgba(48, 46, 46, 0.12);
  --tab-lift: -2px -2px 0 rgba(48, 46, 46, 0.14);
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--charcoal);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 50;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 253, 252, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  height: 58px;
  object-fit: contain;
  width: 135px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--charcoal-soft);
  font-size: 0.95rem;
  font-weight: 640;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rose-deep);
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--rose-deep);
  color: var(--rose-deep);
  padding-bottom: 2px;
}

.site-nav a[href="/totika-she-prequal.html"][aria-current="page"] {
  border-bottom-color: var(--sage);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--charcoal);
  display: none;
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 8px 12px;
}

/* ---------- Type ---------- */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
p,
li,
.button,
.pill,
.trust-chips span {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 720;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  line-height: 1.02;
  margin-bottom: 24px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 18px;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 640;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lede {
  color: var(--charcoal-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 680px;
}

.eyebrow {
  color: var(--rose-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

/* ---------- Layout primitives ---------- */

.section,
.hero,
.page-hero {
  padding: clamp(56px, 7.5vw, 100px) clamp(18px, 5vw, 72px);
}

.section-heading,
.narrow {
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid > *,
.split > * {
  min-width: 0;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.warm {
  background: var(--warm);
}

.soft {
  background: var(--rose-bg);
}

.band-oldrose {
  background: var(--old-rose);
}

.band-oldrose > .section-heading h2 {
  color: #fff;
}

.band-oldrose > .section-heading .eyebrow {
  color: #fff;
}

.dark {
  background: var(--charcoal);
  color: #fff;
}

.dark .eyebrow {
  color: var(--rosetti);
}

.dark p,
.dark li,
.dark .split p,
.dark .footer-meta {
  color: #f2dbe1;
}

/* ---------- Buttons, chips, cards ---------- */

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}

.button.primary:hover {
  background: #8a4757;
}

.button.secondary {
  background: #fff;
  border: 1px solid var(--charcoal-soft);
  color: var(--charcoal);
}

.button:hover {
  transform: translateY(-1px);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-chips span,
.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal-soft);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 620;
  padding: 8px 12px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  padding: 24px;
}

.card h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.14;
  margin-bottom: 12px;
}

.card p,
.section-heading p,
.page-hero p,
.split p,
.faq p,
.footer-meta {
  color: var(--charcoal-soft);
}

/* ---------- Imagery ---------- */

.visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-strip {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: clamp(32px, 5vw, 56px);
  overflow: hidden;
}

.photo-strip img {
  aspect-ratio: 16 / 5;
  object-fit: cover;
  width: 100%;
}

/* ---------- Tab (folder) primitive ----------
   Rules: max one tab per band. Static tabs have no hover state.
   Labels are mono, uppercase. Shadow uses drop-shadow so it survives clip-path. */

.tab {
  background: var(--old-rose);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(var(--tab-lift));
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 10px 26px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tab.sage {
  background: var(--sage);
}

.tab.tint {
  background: var(--kingly-cloud);
  color: var(--charcoal);
}

/* ---------- Divider hero (inner pages) ----------
   The band reserves the tab's 10px break as top padding inside its own box,
   so tabs never slide under the sticky header. */

.divider-hero {
  background: var(--old-rose);
  padding: 0 clamp(18px, 5vw, 72px) clamp(40px, 5vw, 64px);
}

.divider-hero.sage-band {
  background: var(--sage);
}

.divider-hero.tint-band {
  background: var(--kingly-cloud);
}

.divider-hero .tab-row {
  display: flex;
  padding-top: 10px;
}

.divider-hero.tab-center .tab-row {
  justify-content: center;
}

.divider-hero.tab-right .tab-row {
  justify-content: flex-end;
}

.divider-hero .tab {
  background: var(--off-white);
  color: var(--charcoal);
  transform: translateY(0);
}

.divider-hero h1 {
  color: #fff;
  margin: clamp(28px, 4vw, 48px) auto 0;
  max-width: 1080px;
}

.divider-hero.tint-band h1 {
  color: var(--charcoal);
}

.divider-hero .divider-hero-inner {
  margin: 0 auto;
  max-width: 1080px;
}

.divider-hero .lede {
  color: #fff;
  font-weight: 500;
  margin-top: 18px;
  opacity: 0.94;
}

.divider-hero.tint-band .lede {
  color: var(--charcoal-soft);
}

/* Body-size support text on colour bands sits in a tint panel, never raw on Old Rose. */
.divider-hero .band-panel {
  background: var(--rose-bg);
  border-radius: 12px;
  color: var(--charcoal);
  margin-top: 26px;
  max-width: 760px;
  padding: 18px 22px;
}

.divider-hero .band-panel p {
  color: var(--charcoal);
  margin: 0;
}

.divider-hero .button-row {
  margin-top: 26px;
}

.divider-hero .button.secondary {
  background: var(--off-white);
  border-color: transparent;
}

/* ---------- Folder object (one parameterised component) ---------- */

.hero-photo {
  border-radius: 16px;
  display: block;
  filter: drop-shadow(0 18px 38px rgba(48, 46, 46, 0.18));
  height: auto;
  margin: 0 auto;
  max-width: 440px;
  width: 100%;
}

.folder {
  aspect-ratio: 5 / 4;
  filter: drop-shadow(0 18px 38px rgba(48, 46, 46, 0.18));
  margin: 0 auto;
  max-width: 440px;
  position: relative;
  width: 100%;
}

.folder-back {
  background: var(--rosetti);
  border-radius: 10px 14px 12px 12px;
  inset: 12% 0 0 0;
  position: absolute;
}

.folder-tab {
  align-items: center;
  background: var(--rosetti);
  clip-path: polygon(8px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  color: #6d3644;
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 640;
  height: 13%;
  left: 6%;
  letter-spacing: 0.1em;
  max-width: 72%;
  overflow: hidden;
  padding: 0 20px;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  white-space: nowrap;
  width: max-content;
}

.folder-doc {
  background: #fff;
  border: 1px solid var(--jupiter);
  border-radius: 4px 4px 0 0;
  height: 46%;
  position: absolute;
  top: 9%;
}

.folder-doc::before,
.folder-doc::after {
  background: var(--jupiter);
  border-radius: 2px;
  content: "";
  height: 5px;
  left: 12%;
  position: absolute;
  right: 18%;
}

.folder-doc::before {
  top: 16%;
}

.folder-doc::after {
  background: var(--kingly-cloud);
  right: 34%;
  top: 34%;
}

.folder-doc.doc-a {
  left: 10%;
  transform: rotate(-1.6deg);
  width: 44%;
}

.folder-doc.doc-b {
  right: 12%;
  transform: rotate(1.2deg);
  width: 40%;
}

.folder-doc.doc-b::after {
  background: var(--sage);
}

.folder-front {
  background: var(--old-rose);
  border-radius: 8px 12px 12px 12px;
  bottom: 0;
  height: 62%;
  left: 0;
  position: absolute;
  right: 0;
}

.folder-front::before {
  background: var(--cherry-berry);
  border-radius: 8px 0 0 12px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 14px;
}

.folder-label {
  background: var(--off-white);
  border-radius: 4px;
  bottom: 14%;
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 620;
  left: 12%;
  letter-spacing: 0.09em;
  padding: 9px 14px;
  position: absolute;
  text-transform: uppercase;
}

.folder-caption {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  margin: 18px auto 0;
  max-width: 440px;
  text-align: center;
}

/* ---------- Hero (homepage) ---------- */

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
}

.hero-copy {
  max-width: 720px;
}

/* ---------- Contents list (services as a folder contents page) ---------- */

.contents-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  max-width: 900px;
}

.contents-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px 22px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 22px 4px;
}

.contents-row:first-child {
  border-top: 1px solid var(--line);
}

.contents-num {
  color: var(--rose-deep);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 640;
  grid-column: 1;
  letter-spacing: 0.06em;
  margin: 0;
  padding-top: 5px;
}

.contents-name {
  align-items: baseline;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(40px, 1fr) auto;
}

.contents-name h3 {
  margin: 0;
  order: 1;
  overflow-wrap: normal;
}

.contents-name::after {
  border-bottom: 2px dotted var(--kingly-cloud);
  content: "";
  order: 2;
  transform: translateY(-5px);
}

.contents-name .contents-ref {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  order: 3;
  text-transform: uppercase;
  white-space: nowrap;
}

.contents-row div > p {
  color: var(--charcoal-soft);
  margin: 0;
  max-width: 640px;
}

.contents-row.lead .contents-name h3 {
  font-size: 1.4rem;
}

.contents-row.lead .contents-num {
  font-size: 1rem;
}

/* ---------- Divider stack (the 4-step prequal process) ----------
   Stacked like real dividers in a folder: each panel overlaps the one above,
   sage tabs stagger left to right. Built to accept the v1.1 self-check. */

.divider-stack {
  display: grid;
  gap: 0;
  margin-top: 34px;
  max-width: 860px;
  padding: 0;
}

.divider-step {
  list-style: none;
  position: relative;
}

.divider-step + .divider-step {
  margin-top: -12px;
}

.divider-step .tab {
  background: var(--sage);
  min-height: 38px;
  padding: 8px 20px;
  position: relative;
  z-index: 10;
}

.divider-step:nth-child(2) .tab {
  margin-left: 22%;
}

.divider-step:nth-child(3) .tab {
  margin-left: 44%;
}

.divider-step:nth-child(4) .tab {
  margin-left: 66%;
}

.divider-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(48, 46, 46, 0.07);
  padding: 22px 26px 24px;
  position: relative;
}

.divider-step:nth-child(1) .divider-panel { z-index: 1; }
.divider-step:nth-child(2) .divider-panel { z-index: 2; }
.divider-step:nth-child(3) .divider-panel { z-index: 3; }
.divider-step:nth-child(4) .divider-panel { z-index: 4; }

.divider-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 640;
  margin-bottom: 6px;
}

.divider-panel p {
  color: var(--charcoal-soft);
  margin: 0;
}

/* ---------- Straight answer note ---------- */

.straight-note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose-deep);
  border-radius: 0 12px 12px 0;
  max-width: 760px;
  padding: 22px 26px;
  position: relative;
}

.straight-note::after {
  border-left: 16px solid var(--kingly-cloud);
  border-top: 16px solid var(--off-white);
  content: "";
  position: absolute;
  right: 0;
  top: 0;
}

.straight-label {
  color: var(--rose-deep);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 640;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.straight-note p {
  color: var(--charcoal);
  margin: 0;
}

.straight-note p + p {
  margin-top: 10px;
}

/* ---------- Store ---------- */

.store-band {
  background: var(--old-rose);
}

.store-band .section-heading .eyebrow {
  color: #fff;
}

.store-band .section-heading h2 {
  color: #fff;
}

.store-panels {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.product-card .folder {
  margin: 8px 0 22px;
  max-width: 320px;
}

.product-badge {
  background: var(--rose-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose-deep);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 640;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.product-card ul {
  color: var(--charcoal-soft);
  margin: 0 0 24px;
  padding-left: 20px;
}

.product-card li + li {
  margin-top: 8px;
}

.product-card .button {
  min-width: 180px;
}

.price-note {
  color: var(--charcoal);
  font-weight: 640;
  margin-bottom: 16px;
}

.status-line {
  color: var(--charcoal-soft);
  font-weight: 620;
  margin: 22px 0 0;
  min-height: 28px;
}

.status-line[data-error] {
  color: #8e2138;
}

.store-band .status-line {
  color: #fff;
}

.store-band .status-line[data-error] {
  background: var(--rose-bg);
  border-radius: 8px;
  color: #8e2138;
  display: inline-block;
  padding: 8px 14px;
}

/* ---------- Page hero (utility, kept for download.html runtime panel) ---------- */

.page-hero {
  background: var(--rose-bg);
}

.page-hero-copy {
  max-width: 820px;
}

/* ---------- FAQ ---------- */

.faq {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq:first-child {
  border-top: 1px solid var(--line);
}

.faq h3 {
  margin-bottom: 8px;
}

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

.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.contact-primary .button {
  margin-top: 10px;
}

.contact-email {
  font-size: 1.05rem;
  font-weight: 640;
}

.form-shell {
  display: grid;
  gap: 14px;
}

.form-shell label {
  color: var(--charcoal);
  font-weight: 640;
}

.form-shell input,
.form-shell textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--charcoal);
  font: inherit;
  margin-top: 7px;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

.form-shell textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

noscript p {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

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

.site-footer {
  background: var(--charcoal);
  color: #fff;
  padding: 44px clamp(18px, 5vw, 72px) 28px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(160px, 0.5fr));
}

.footer-logo {
  background: transparent;
  border-radius: 6px;
  height: auto;
  margin-bottom: 14px;
  object-fit: contain;
  width: 260px;
}

.site-footer .footer-meta {
  color: #f7eef1;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links strong {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 20px;
}

.footer-bottom p,
.footer-bottom a {
  color: #f7eef1;
  margin: 0;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .hero,
  .split,
  .grid.two,
  .grid.three,
  .store-panels,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .brand img {
    height: 50px;
    width: 116px;
  }

  .footer-logo {
    height: auto;
    max-width: 100%;
    width: 244px;
  }

  h1 {
    font-size: clamp(2rem, 7.6vw, 2.45rem);
  }

  h2 {
    font-size: clamp(1.7rem, 6.6vw, 2.2rem);
  }

  .section,
  .hero,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .divider-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Stagger is desktop-only: tabs collapse flush-left, keep the 10px edge break. */
  .divider-hero.tab-center .tab-row,
  .divider-hero.tab-right .tab-row {
    justify-content: flex-start;
  }

  .divider-hero .tab {
    max-width: 100%;
    white-space: normal;
  }

  .divider-step:nth-child(2) .tab,
  .divider-step:nth-child(3) .tab,
  .divider-step:nth-child(4) .tab {
    margin-left: 0;
  }

  .divider-step + .divider-step {
    margin-top: -6px;
  }

  .contents-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .contents-name {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contents-name h3 {
    overflow-wrap: anywhere;
  }

  .contents-name::after {
    display: none;
  }

  .folder {
    max-width: 340px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .button-row .button,
  .product-card .button {
    width: min(100%, 340px);
  }
}
