/* Design tokens and foundations. */
/* Self-hosted Google Fonts (SIL Open Font License; see assets/fonts/OFL-*.txt). */
@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Case Closed design tokens */
:root {
  --cc-red: #de203d;
  --cc-red-deep: #a8162d;
  --cc-red-on-light: #a8162d;
  --cc-red-on-dark: #f45a6e;
  --cc-red-faint: #f5d4d9;
  --cc-ink: #14110f;
  --cc-ink-2: #2a2522;
  --cc-ink-3: #4b4540;
  --cc-ink-4: #7a7068;
  --cc-paper: #f4ecdf;
  --cc-paper-2: #ebe1cf;
  --cc-manila: #d9c8a3;
  --cc-manila-2: #c5b283;
  --cc-white: #fdfbf6;
  --cc-fg-1: var(--cc-ink);
  --cc-fg-2: var(--cc-ink-3);
  --cc-fg-3: var(--cc-ink-4);
  --cc-fg-on-ink: var(--cc-paper);
  --cc-fg-on-red: var(--cc-paper);
  --cc-bg-1: var(--cc-paper);
  --cc-bg-2: var(--cc-paper-2);
  --cc-bg-ink: var(--cc-ink);
  --cc-bg-ink-2: var(--cc-ink-2);
  --cc-border: rgba(20, 17, 15, 0.85);
  --cc-border-soft: rgba(20, 17, 15, 0.18);
  --cc-divider: rgba(20, 17, 15, 0.12);
  --cc-status-unsolved: #de203d;
  --cc-status-closed: #1f6b3a;
  --cc-status-pending: #b8860b;
  --cc-status-evidence: #2a2522;
  --cc-font-display: "Big Shoulders Display", "Oswald", "Impact", sans-serif;
  --cc-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cc-font-mono: "Special Elite", "Courier Prime", "Courier New", monospace;
  --cc-font-hand: "Caveat", "Comic Sans MS", cursive;
  --cc-text-xs: 12px;
  --cc-text-sm: 14px;
  --cc-text-base: 16px;
  --cc-text-md: 18px;
  --cc-text-lg: 22px;
  --cc-text-xl: 28px;
  --cc-text-2xl: 36px;
  --cc-text-3xl: 48px;
  --cc-text-4xl: 64px;
  --cc-text-5xl: 84px;
  --cc-text-6xl: 112px;
  /* Keep headings proportional to the 16px body copy at every viewport. */
  --cc-heading-1: clamp(32px, 1.5rem + 1.67vw, 48px);
  --cc-heading-2: clamp(26px, 1.25rem + 1.12vw, 36px);
  --cc-heading-3: clamp(22px, 1.125rem + 0.7vw, 28px);
  --cc-heading-display: clamp(40px, 2rem + 3.34vw, 80px);
  --cc-space-1: 4px;
  --cc-space-2: 8px;
  --cc-space-3: 12px;
  --cc-space-4: 16px;
  --cc-space-5: 24px;
  --cc-space-6: 32px;
  --cc-space-7: 48px;
  --cc-space-8: 64px;
  --cc-space-9: 96px;
  --cc-space-10: 128px;
  --cc-radius-0: 0;
  --cc-radius-1: 2px;
  --cc-radius-2: 4px;
  --cc-shadow-1: 0 1px 2px rgba(20, 17, 15, 0.18);
  --cc-shadow-2: 0 2px 6px rgba(20, 17, 15, 0.18), 0 12px 28px rgba(20, 17, 15, 0.10);
  --cc-shadow-3: 0 4px 12px rgba(20, 17, 15, 0.22), 0 24px 48px rgba(20, 17, 15, 0.16);
  --cc-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --cc-dur-1: 120ms;
  --cc-dur-2: 200ms;
  --cc-dur-3: 320ms;
  --cc-dur-4: 520ms;
  --cc-grid-gutter: 24px;
  --cc-page-pad-d: 96px;
  --cc-page-pad-m: 24px;
  --cc-content-max: 1240px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--cc-paper);
  color: var(--cc-ink);
  font-family: var(--cc-font-body);
  font-size: var(--cc-text-base);
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(20, 17, 15, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(20, 17, 15, 0.02) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

body.admin-bar .cc-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .cc-nav {
    top: 46px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  background: var(--cc-red);
  color: var(--cc-paper);
  padding: 12px 16px;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.container,
.wp-site-blocks > .alignwide,
.wp-site-blocks > .alignfull > .container {
  max-width: var(--cc-content-max);
  margin-inline: auto;
  padding-inline: var(--cc-page-pad-d);
}

.container-wide {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--cc-page-pad-d);
}

@media (max-width: 900px) {
  .container,
  .container-wide,
  .wp-site-blocks > .alignwide,
  .wp-site-blocks > .alignfull > .container {
    padding-inline: var(--cc-page-pad-m);
  }
}

.cc-prose,
.cc-typography,
.entry-content {
  color: var(--cc-fg-1);
  font-family: var(--cc-font-body);
  font-size: var(--cc-text-base);
  line-height: 1.55;
}

h1,
.cc-h1 {
  font-size: var(--cc-heading-1);
}

h2,
.cc-h2 {
  font-size: var(--cc-heading-2);
}

h3,
.cc-h3 {
  font-size: var(--cc-heading-3);
}

.cc-prose h1,
.cc-h1 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cc-ink);
  margin: 0 0 var(--cc-space-5);
}

.cc-prose h2,
.cc-h2 {
  font-family: var(--cc-font-display);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cc-ink);
  margin: var(--cc-space-7) 0 var(--cc-space-4);
}

.cc-prose h3,
.cc-h3 {
  font-family: var(--cc-font-display);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cc-ink);
  margin: var(--cc-space-6) 0 var(--cc-space-3);
}

.cc-prose p,
.cc-p,
.entry-content p {
  font-family: var(--cc-font-body);
  font-size: var(--cc-text-base);
  line-height: 1.6;
  color: var(--cc-fg-1);
  text-wrap: pretty;
}

.cc-eyebrow {
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-fg-2);
}

.cc-eyebrow-red {
  color: var(--cc-red-on-light);
}

.cc-mono {
  font-family: var(--cc-font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.cc-hand {
  font-family: var(--cc-font-hand);
  font-weight: 600;
  color: var(--cc-red);
}

.cc-red {
  color: var(--cc-red);
}

.cc-focusable:focus-visible,
.cc-btn:focus-visible,
.cc-input:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cc-red);
  outline-offset: 3px;
}

.cc-section {
  padding-block: 96px;
}

.cc-section-sm {
  padding-block: 64px;
}

.cc-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}

.cc-section-head h2 {
  font-family: var(--cc-font-display);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 10px 0 0;
}

.cc-section-head .meta {
  font-family: var(--cc-font-mono);
  font-size: 13px;
  color: var(--cc-fg-2);
  max-width: 28ch;
  text-align: right;
}

@media (max-width: 720px) {
  .cc-section {
    padding-block: 64px;
  }

  .cc-section-head {
    grid-template-columns: 1fr;
  }

  .cc-section-head .meta {
    text-align: left;
  }
}

.is-style-caseclosed-paper {
  background: var(--cc-paper);
  border: 1.5px solid var(--cc-ink);
  box-shadow: var(--cc-shadow-2);
}

/* Shared components. */
/* Store-wide announcement banner */
.cc-banner {
  width: 100%;
  font-family: var(--cc-font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.cc-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  text-align: center;
}

.cc-banner a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 236, 223, 0.94);
  backdrop-filter: blur(10px) saturate(0.9);
  border-bottom: 1.5px solid var(--cc-ink);
}

.cc-nav.is-scrolled {
  box-shadow: var(--cc-shadow-1);
}

.cc-nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-block: 18px;
}

.cc-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cc-nav-logo img {
  width: auto;
  height: 38px;
}

.cc-nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  justify-self: center;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cc-nav-links a {
  position: relative;
  padding-block: 8px;
}

.cc-nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 2px;
  background: var(--cc-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--cc-dur-2) var(--cc-ease);
}

.cc-nav-links a:hover::after,
.cc-nav-links a.active::after,
.cc-nav-links .current-menu-item a::after {
  transform: scaleX(1);
}

.cc-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cc-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cc-lang,
.cc-nav-mobile-toggle,
.cc-nav-cart {
  color: inherit;
  background: transparent;
  border: 0;
}

.cc-nav-cart {
  position: relative;
  padding: 10px 14px;
  border: 1.5px solid var(--cc-ink);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--cc-dur-2) var(--cc-ease);
}

.cc-nav-cart:hover {
  background: var(--cc-ink);
  color: var(--cc-paper);
}

.cc-cart-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  object-fit: contain;
  transition: filter var(--cc-dur-2) var(--cc-ease);
}

.cc-nav-cart:hover .cc-cart-icon {
  filter: invert(1);
}

.cc-cart-count,
.cc-nav-cart .count {
  background: var(--cc-red);
  color: var(--cc-paper);
  font-family: var(--cc-font-body);
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
}

.cc-nav-mobile-toggle {
  display: none;
  padding: 10px;
  border: 1.5px solid var(--cc-ink);
  border-radius: 2px;
}

.cc-nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin-block: 4px;
}

@media (max-width: 900px) {
  .cc-nav-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 0;
    min-height: 72px;
    padding-block: 12px;
  }

  .cc-nav-logo {
    justify-self: start;
  }

  .cc-nav-logo img {
    flex: none;
    width: 56px;
    height: 40px;
    object-fit: contain;
  }

  .cc-nav-bar > nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .cc-nav.is-open .cc-nav-bar > nav {
    display: block;
    margin-top: 12px;
  }

  .cc-nav-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
  }

  .cc-nav-cart {
    min-height: 44px;
    padding: 8px;
    gap: 6px;
  }

  /* Retain the cart's accessible name when only its icon and count are visible. */
  .cc-nav-cart > span:not(.cc-cart-count):not(.count) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .cc-nav-cart .cc-cart-icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .cc-nav-mobile-toggle {
    display: inline-block;
    justify-self: end;
    width: 44px;
    height: 44px;
  }

  .cc-nav-links {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 12px 0 4px;
    border-top: 1px solid var(--cc-divider);
  }

  .cc-nav.is-open .cc-nav-links {
    display: grid;
    gap: 14px;
  }

  .cc-nav-actions .cc-lang {
    display: none;
  }
}

.cc-btn,
.wp-block-button__link,
.button,
button.single_add_to_cart_button {
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  border: 2px solid transparent;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all var(--cc-dur-2) var(--cc-ease);
  text-decoration: none;
  cursor: pointer;
}

.cc-btn-primary,
.wp-block-button:not(.is-style-caseclosed-ghost) .wp-block-button__link,
.button,
button.single_add_to_cart_button {
  background: var(--cc-red-on-light);
  color: var(--cc-paper);
}

.cc-btn-primary:hover,
.wp-block-button__link:hover,
.button:hover,
button.single_add_to_cart_button:hover {
  background: var(--cc-red-deep);
  transform: translateY(-1px);
}

.cc-btn-ghost,
.is-style-caseclosed-ghost .wp-block-button__link {
  border-color: var(--cc-ink);
  color: var(--cc-ink);
  background: transparent;
}

.cc-btn-ghost:hover,
.is-style-caseclosed-ghost .wp-block-button__link:hover {
  background: var(--cc-ink);
  color: var(--cc-paper);
}

.cc-btn-on-dark:not(.wp-block-button) {
  color: var(--cc-paper);
  border: 2px solid var(--cc-paper);
}

.cc-btn-on-dark:not(.wp-block-button):hover {
  background: var(--cc-paper);
  color: var(--cc-ink);
}

.cc-btn-lg {
  padding: 18px 28px;
  font-size: 18px;
}

.wp-block-button.cc-btn-lg .wp-block-button__link {
  padding: 18px 28px;
  font-size: 18px;
}

.wp-block-button.cc-btn-on-dark .wp-block-button__link {
  color: var(--cc-paper);
  border: 2px solid var(--cc-paper);
  background: transparent;
}

.wp-block-button.cc-btn-on-dark .wp-block-button__link:hover {
  background: var(--cc-paper);
  color: var(--cc-ink);
}

.cc-trust {
  background: var(--cc-ink);
  color: var(--cc-paper);
  border-bottom: 1.5px solid var(--cc-paper);
  padding-block: 14px;
  overflow: hidden;
}

/* The track holds the editable set plus the clones trust-strip.js appends to
   fill the screen. It animates by --cc-marquee-shift (one base-group width),
   set in JS so the loop is seamless for any number of items. */
.cc-trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
}

.cc-trust-track.is-marquee {
  animation: cc-marquee var(--cc-marquee-duration, 40s) linear infinite;
}

.cc-trust-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex: none;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: max-content;
}

.cc-trust-inner p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  margin: 0;
}

.cc-trust-inner p::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cc-red);
  border-radius: 99px;
}

@keyframes cc-marquee {
  to {
    transform: translateX(calc(-1 * var(--cc-marquee-shift, 50%)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-trust-track.is-marquee {
    animation: none;
  }
}

.cc-stamp {
  font-family: var(--cc-font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--cc-red-on-light);
  border: 4px solid var(--cc-red-on-light);
  padding: 8px 18px;
  display: inline-block;
  letter-spacing: 0.04em;
  opacity: 0.88;
  filter: contrast(0.95) saturate(0.9);
}

.cc-stamp-sm {
  border-width: 3px;
  padding: 4px 10px;
  font-size: 14px;
}

.cc-paperclip {
  position: absolute;
  width: 28px;
  height: 64px;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(20, 17, 15, 0.25));
}

.cc-tape {
  position: absolute;
  background: rgba(217, 200, 163, 0.65);
  border-left: 1px solid rgba(20, 17, 15, 0.08);
  border-right: 1px solid rgba(20, 17, 15, 0.08);
  width: 110px;
  height: 26px;
  box-shadow: 0 1px 3px rgba(20, 17, 15, 0.15);
  pointer-events: none;
}

.cc-polaroid {
  background: var(--cc-white);
  padding: 16px 16px 56px;
  box-shadow: var(--cc-shadow-2);
  position: relative;
}

.cc-polaroid .frame {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(160deg, #4a5560, #1f262d);
  filter: grayscale(0.55) contrast(1.1);
  overflow: hidden;
}

.cc-polaroid .frame .wp-block-image,
.cc-polaroid .frame img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.cc-polaroid .frame img {
  object-fit: cover;
}

.cc-polaroid .cap {
  position: absolute;
  inset-inline: 0;
  bottom: 12px;
  text-align: center;
  font-family: var(--cc-font-hand);
  font-size: 22px;
  font-weight: 600;
  color: var(--cc-ink);
}

.cc-accordion-item {
  border-bottom: 1.5px solid var(--cc-ink);
}

.cc-accordion-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  text-transform: uppercase;
  line-height: 1.1;
  transition: color var(--cc-dur-2) var(--cc-ease);
}

.cc-accordion-q:hover {
  color: var(--cc-red);
}

.cc-accordion-q .pm {
  font-family: var(--cc-font-display);
  font-weight: 800;
  color: var(--cc-red);
  font-size: 32px;
  line-height: 1;
  transition: transform var(--cc-dur-3) var(--cc-ease);
}

.cc-accordion-item.open .cc-accordion-q .pm {
  transform: rotate(45deg);
}

.cc-accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--cc-dur-4) var(--cc-ease), padding var(--cc-dur-3) var(--cc-ease);
}

.cc-accordion-item.open .cc-accordion-a {
  max-height: 700px;
  padding-bottom: 24px;
}

.cc-accordion-a p {
  color: var(--cc-fg-2);
  max-width: 70ch;
  margin: 0;
}

/* The custom AJAX cart drawer/toast was removed; the cart icon links to the standard
   WooCommerce cart page. Header cart badge styles live above (.cc-nav-cart / .cc-cart-count). */

.cc-foot {
  background: var(--cc-ink);
  color: var(--cc-paper);
  padding: 96px 0 32px;
  margin-top: 96px;
}

.cc-foot-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(244, 236, 223, 0.18);
}

.cc-foot .cc-foot-heading {
  font-family: var(--cc-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-paper);
  opacity: 0.6;
  margin: 0 0 18px;
}

.cc-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.cc-foot a:hover {
  color: var(--cc-red);
}

.cc-foot-signup p {
  font-size: 15px;
  color: var(--cc-paper);
  opacity: 0.85;
  margin: 0 0 16px;
  max-width: 32ch;
}

.cc-foot-form {
  max-width: 360px;
  margin-top: 4px;
}

form.cc-foot-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cc-foot-signup input[type="email"],
.cc-foot-signup input[type="text"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1.5px solid var(--cc-paper);
  color: var(--cc-paper);
  padding: 12px 14px;
  font-family: var(--cc-font-mono);
  font-size: 14px;
  border-radius: 2px;
}

.cc-foot-signup input::placeholder {
  color: rgba(244, 236, 223, 0.55);
}

.cc-foot-signup button,
.cc-foot-form button,
.cc-foot-form input[type="submit"] {
  flex: 0 0 auto;
  background: var(--cc-red-on-light);
  color: var(--cc-paper);
  border: 1.5px solid var(--cc-red-on-light);
  border-radius: 2px;
  padding: 12px 22px;
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cc-foot-signup button:hover,
.cc-foot-form button:hover,
.cc-foot-form input[type="submit"]:hover {
  background: var(--cc-red-deep);
  border-color: var(--cc-red-deep);
}

.cc-payments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cc-payments span {
  border: 1px solid rgba(244, 236, 223, 0.4);
  padding: 4px 8px;
  font-family: var(--cc-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.cc-foot-legal {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--cc-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cc-paper);
  opacity: 0.6;
}

@media (max-width: 800px) {
  .cc-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .cc-foot-grid {
    grid-template-columns: 1fr;
  }

  form.cc-foot-form {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Page and section layouts. */
.home-hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.home-hero-eyebrow .badge {
  background: var(--cc-red);
  color: var(--cc-paper);
  padding: 4px 10px;
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.home-hero h1 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: var(--cc-heading-display);
  line-height: 0.84;
  text-transform: uppercase;
  margin: 0 0 36px;
}

.home-hero h1 em {
  color: var(--cc-red);
  position: relative;
  display: inline-block;
  font-style: normal;
}

.home-hero h1 em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 8%;
  height: 8px;
  background: var(--cc-red);
  opacity: 0.18;
  transform: skewY(-1.5deg);
}

.home-hero-lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--cc-fg-2);
  margin: 0 0 36px;
  max-width: 48ch;
}

.home-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.home-hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
  font-family: var(--cc-font-mono);
  font-size: 12px;
  color: var(--cc-fg-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-trust strong {
  display: block;
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--cc-ink);
  margin-bottom: 4px;
}

.home-hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.8;
  min-height: 500px;
}

.hv-cover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82%, 430px);
  filter: drop-shadow(0 24px 30px rgba(20, 17, 15, 0.28));
  transform: translate(-50%, -50%);
  transition: transform var(--cc-dur-4) var(--cc-ease);
}

.hv-cover:hover {
  transform: translate(-50%, calc(-50% - 4px)) rotate(-1deg);
}

.hv-cover .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
}

.hv-cover-stamp {
  position: absolute;
  top: -20px;
  right: -8px;
  z-index: 3;
  transform: rotate(8deg);
}

.hv-meta-stamp {
  position: absolute;
  left: -4%;
  bottom: 14%;
  transform: rotate(-7deg);
  z-index: 2;
}

.hv-side-polaroid {
  position: absolute;
  right: -6%;
  bottom: 6%;
  width: 36%;
  transform: rotate(8deg);
  z-index: 2;
}

.home-featured {
  background: var(--cc-ink);
  color: var(--cc-paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}

.home-featured-eye {
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-red);
  margin-bottom: 24px;
}

.home-featured h2 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--cc-paper);
  margin: 0 0 24px;
}

.home-featured h2 em {
  color: var(--cc-red);
  font-style: normal;
}

.home-featured p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(244, 236, 223, 0.8);
  max-width: 52ch;
  margin: 0 0 36px;
}

.home-featured-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.home-featured-list li {
  font-family: var(--cc-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.6);
}

.home-featured-list li strong {
  display: block;
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--cc-paper);
  margin-bottom: 4px;
}

.home-featured-visual {
  position: relative;
  aspect-ratio: 2749 / 2008;
  min-height: 0;
}

.home-featured-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--cc-shadow-3);
}

.home-featured-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-featured-photo .wp-block-image,
.home-featured-photo .wp-block-image img {
  width: 100%;
  height: 100%;
}

.home-featured-photo .wp-block-image,
.hv-cover .wp-block-image {
  margin: 0;
}

.home-featured-photo .wp-block-image img {
  object-fit: cover;
}

.home-featured-pinstamp {
  position: absolute;
  top: -22px;
  right: -14px;
  transform: rotate(8deg);
  z-index: 2;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}

.home-step {
  border-top: 2px solid var(--cc-ink);
  padding-top: 24px;
  position: relative;
  margin-block-start: 0;
}

.home-step .n {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: clamp(48px, 2rem + 2.23vw, 64px);
  line-height: 0.9;
  color: var(--cc-red);
  margin-bottom: 8px;
}

.home-step h3 {
  font-family: var(--cc-font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 12px;
}

.home-step p {
  line-height: 1.6;
  color: var(--cc-fg-2);
  margin: 0;
  max-width: 36ch;
}

.home-contents {
  background: var(--cc-paper-2);
  padding: 118px 0;
  position: relative;
  overflow: hidden;
}

.home-contents-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
}

.home-contents .cc-eyebrow-red {
  margin-bottom: 14px;
}

.home-contents h2.cc-h2 {
  margin: 0 0 22px;
}

.home-contents-lead {
  max-width: 56ch;
  margin: 0 0 34px;
  color: var(--cc-fg-2);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.home-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
}

.home-evidence-grid > *,
.home-evidence-card > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.home-evidence-card {
  height: 100%;
  min-height: 184px;
  padding: 20px 20px 18px;
  background: rgba(244, 236, 223, 0.74);
  border: 1.5px solid var(--cc-border);
  box-shadow: 0 8px 22px rgba(20, 17, 15, 0.08);
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  min-height: 100%;
}

.home-evidence-card .tag {
  margin: 0;
  width: fit-content;
  padding: 5px 8px 4px;
  background: var(--cc-ink);
  color: var(--cc-paper);
  font-family: var(--cc-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.home-evidence-card h3 {
  min-height: 1.9em;
  margin: 18px 0 10px !important;
  font-family: var(--cc-font-display);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-evidence-card p:not(.tag) {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cc-fg-2);
}

.home-contents-visual {
  position: relative;
  min-height: 640px;
}

.home-evidence-spread {
  position: relative;
  min-height: inherit;
  isolation: isolate;
}

.home-evidence-shot {
  position: absolute;
  padding: 12px 12px 38px;
  background: var(--cc-white);
  border: 2px solid var(--cc-ink);
  box-shadow: var(--cc-shadow-3);
  transition: transform var(--cc-dur-3) var(--cc-ease);
}

.home-evidence-shot:hover {
  transform: translateY(-4px) rotate(var(--shot-rotate, 0deg));
}

.home-evidence-shot .wp-block-image {
  margin: 0;
  overflow: hidden;
  background: var(--cc-ink);
}

.home-evidence-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-evidence-shot .label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  margin: 0;
  font-family: var(--cc-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cc-fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-evidence-shot .wp-block-image,
.home-evidence-shot .wp-block-image img {
  width: 100%;
  height: 100%;
}

.home-evidence-shot::after {
  content: "";
  position: absolute;
  inset: 12px 12px 38px;
  border: 1px solid rgba(20, 17, 15, 0.16);
  pointer-events: none;
}

.shot-main {
  --shot-rotate: 1.5deg;
  z-index: 2;
  right: 2%;
  top: 0;
  width: min(76%, 520px);
  transform: rotate(var(--shot-rotate));
}

.shot-main .wp-block-image {
  aspect-ratio: 4 / 3;
}

.shot-support {
  padding: 10px 10px 34px;
}

.shot-support .wp-block-image {
  aspect-ratio: 4 / 3;
}

.shot-a {
  --shot-rotate: -5deg;
  z-index: 1;
  left: 2%;
  top: 48px;
  width: min(44%, 300px);
  transform: rotate(var(--shot-rotate));
}

.shot-b {
  --shot-rotate: -2deg;
  z-index: 4;
  left: 0;
  bottom: 72px;
  width: min(48%, 330px);
  transform: rotate(var(--shot-rotate));
}

.shot-c {
  --shot-rotate: 4deg;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: min(50%, 350px);
  transform: rotate(var(--shot-rotate));
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.home-review {
  background: var(--cc-paper);
  border: 1.5px solid var(--cc-ink);
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--cc-shadow-2);
}

.home-review .stars {
  color: var(--cc-red);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.home-review blockquote {
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.home-review .by {
  font-family: var(--cc-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cc-fg-2);
}

.home-witness {
  padding: 140px 0;
  text-align: center;
}

.home-witness blockquote {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 92px);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 22ch;
  margin: 0 auto;
}

.home-witness blockquote::before,
.home-witness blockquote::after {
  color: var(--cc-red);
}

.home-witness blockquote::before {
  content: "\201C";
}

.home-witness blockquote::after {
  content: "\201D";
}

.home-witness .by {
  display: block;
  margin-top: 32px;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cc-fg-2);
}

.how-hero,
.faq-hero {
  padding: 80px 0 64px;
}

/* Match the reading width on editorial pages, including saved how-to blocks. */
.how-hero > .container-wide,
.container-wide:has(> .how-step-row) {
  max-width: 808px;
  padding-inline: var(--cc-page-pad-m);
}

.faq-hero {
  padding: 72px 0 48px;
}

.how-hero h1,
.faq-hero h1 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  margin: 0 0 24px;
  max-width: 14ch;
}

.how-hero h1 em {
  font-style: normal;
  color: var(--cc-red);
}

.how-hero p,
.faq-hero p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--cc-fg-2);
  max-width: 56ch;
  margin: 0;
}

.how-hero p.cc-eyebrow-red {
  margin-bottom: 18px;
}

.faq-hero p.cc-eyebrow-red {
  margin-bottom: 16px;
}

.how-step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 80px 0;
  border-top: 1.5px solid var(--cc-ink);
}

.how-step-row.flip .how-step-copy {
  order: 2;
}

.how-step-num {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.86;
  color: var(--cc-red);
  margin: 0 0 16px;
}

.how-step-row h2 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 20px;
}

.how-step-row p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--cc-fg-2);
  max-width: 46ch;
}

.how-step-visual {
  position: relative;
  min-height: 420px;
}

.how-prop-folder,
.how-prop-notes,
.how-prop-verdict {
  position: absolute;
  background: var(--cc-paper);
  border: 1.5px solid var(--cc-ink);
  box-shadow: var(--cc-shadow-3);
}

.how-prop-folder {
  left: 10%;
  top: 5%;
  width: 75%;
  min-height: 270px;
  background: var(--cc-manila);
  padding: 24px;
  transform: rotate(-3deg);
}

.how-prop-folder-top {
  margin-bottom: 14px;
}

.how-prop-folder-top p:first-child {
  font-family: var(--cc-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cc-ink-3);
  margin: 0;
}

.how-prop-folder h3,
.how-prop-verdict h3 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 0.95;
  color: var(--cc-ink);
  margin: 0;
}

.how-prop-lines {
  margin-top: 18px;
  height: 2px;
  background: var(--cc-ink-3);
  box-shadow: 0 8px 0 var(--cc-ink-4), 0 16px 0 var(--cc-ink-4);
}

.how-prop-notes {
  left: 8%;
  top: 10%;
  width: 62%;
  min-height: 300px;
  padding: 20px;
  transform: rotate(-2deg);
  font-family: var(--cc-font-hand);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
}

.how-prop-notes p {
  margin: 0 0 10px;
}

.how-prop-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 22px;
}

.how-prop-notes li::before {
  content: "· ";
}

.how-prop-notes li:nth-child(2) {
  text-decoration: line-through;
  opacity: 0.55;
}

.how-prop-notes li:nth-child(3) {
  color: var(--cc-red);
}

.how-prop-hand {
  position: absolute;
  right: 12%;
  top: 8%;
  font-family: var(--cc-font-hand);
  font-size: 38px;
  color: var(--cc-red);
  font-weight: 700;
  transform: rotate(8deg);
  margin: 0;
}

.how-prop-verdict {
  left: 12%;
  top: 10%;
  width: 70%;
  min-height: 310px;
  padding: 24px;
  transform: rotate(2deg);
  text-align: center;
}

.how-prop-verdict .cc-mono {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cc-ink-3);
  margin-bottom: 14px;
}

.how-prop-verdict .cc-stamp {
  display: inline-block;
  margin-top: 32px;
  color: var(--cc-status-closed);
  border-color: var(--cc-status-closed);
  transform: rotate(-6deg);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.faq-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1.5px solid var(--cc-ink);
}

.faq-tabs button {
  padding: 14px 18px;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
}

.faq-tabs button.active {
  border-bottom-color: var(--cc-red);
}

.cc-help-tabs {
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.cc-tab-panel {
  padding-top: 4px;
}

.cc-tab-title {
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.cc-help-tabs .faq-tabs + .cc-tab-panel .cc-tab-title,
.cc-help-tabs .faq-tabs ~ .cc-tab-panel .cc-tab-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cc-help-tabs details,
.wp-block-details {
  border-bottom: 1.5px solid var(--cc-ink);
  padding: 0;
}

.cc-help-tabs details summary,
.wp-block-details summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  text-transform: uppercase;
}

.cc-help-tabs details summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker {
  display: none;
}

.cc-help-tabs details summary::after,
.wp-block-details summary::after {
  content: "+";
  color: var(--cc-red);
  font-size: 32px;
  line-height: 0.8;
}

.cc-help-tabs details[open] summary::after,
.wp-block-details[open] summary::after {
  transform: rotate(45deg);
}

.cc-help-tabs details > :not(summary),
.wp-block-details > :not(summary) {
  max-width: 70ch;
  color: var(--cc-fg-2);
  margin-bottom: 24px;
}

.cc-help-contact {
  margin-top: 64px;
  padding: 40px;
  background: var(--cc-paper-2);
  border: 1.5px solid var(--cc-ink);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cc-help-tabs-editor {
  border: 1.5px solid var(--cc-ink);
  padding: 24px;
  background: var(--cc-paper-2);
}

.cc-help-tabs-editor-head,
.cc-help-tabs-editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cc-help-tabs-editor-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.cc-help-tabs-editor-tabs button {
  cursor: pointer;
}

.cc-help-tabs-editor-panel {
  display: grid;
  gap: 18px;
}

.cc-help-tabs-editor-item {
  border: 1px solid var(--cc-ink-4);
  padding: 16px;
  background: var(--cc-paper);
}

.cc-help-tabs-editor-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.cc-help-tabs-editor-answer {
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--cc-ink-4);
  background: var(--cc-white);
}

.cc-help-contact h2,
.cc-help-contact h3 {
  font-family: var(--cc-font-display);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.cc-help-contact p {
  margin: 8px 0 0;
  font-family: var(--cc-font-mono);
  font-size: 14px;
  color: var(--cc-fg-2);
}

.how-final {
  max-width: 808px;
  margin-inline: auto;
  padding: 96px 0;
  padding-inline: var(--cc-page-pad-m);
  text-align: center;
  border-top: 1.5px solid var(--cc-ink);
}

.how-final .cc-h2 {
  max-width: 12ch;
  margin: 0 auto 28px;
}

.cc-page-shell {
  padding: 72px 0 24px;
}

.cc-page-shell h1 {
  font-family: var(--cc-font-display);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* Standard editorial pages, including existing saved page templates.
   Commerce pages retain their own layout, even when using the page template. */
body:not(.woocommerce-page) .cc-page-shell:has(> .wp-block-post-content) {
  max-width: 808px;
  margin-inline: auto;
  padding-inline: var(--cc-page-pad-m);
}

.cc-single-post .cc-post-meta {
  margin: -16px 0 32px;
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cc-fg-3);
}

.cc-single-post .wp-block-post-featured-image {
  margin: 0 0 40px;
}

.cc-single-post .wp-block-post-featured-image img {
  border: 1.5px solid var(--cc-ink);
  box-shadow: var(--cc-shadow-2);
}

.cc-single-post .wp-block-post-content {
  font-size: var(--cc-text-md);
}

@media (max-width: 1000px) {
  .home-hero-grid,
  .home-featured-grid,
  .home-contents-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-hero {
    padding-bottom: 88px;
  }

  .home-hero-visual {
    width: min(520px, 100%);
    min-height: 0;
    margin: 0 auto;
  }

  .home-featured-visual {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .home-contents-visual {
    width: min(760px, 100%);
    min-height: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .home-reviews-grid,
  .how-step-row,
  .cc-help-contact {
    grid-template-columns: 1fr;
  }

  .how-step-row.flip .how-step-copy {
    order: initial;
  }
}

@media (max-width: 800px) {
  .home-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 28px 0 40px;
  }

  .home-hero-grid {
    gap: 24px;
  }

  .home-hero h1 {
    font-size: clamp(36px, 9vw, 44px);
    line-height: 0.98;
    margin-bottom: 16px;
  }

  .home-hero-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .home-hero-ctas {
    align-items: stretch;
    gap: 10px;
  }

  .home-hero-ctas .wp-block-button,
  .home-hero-ctas .wp-block-button__link {
    width: 100%;
  }

  .home-hero-ctas .wp-block-button {
    padding: 0;
    margin: 0;
  }

  .home-hero-ctas .wp-block-button .wp-block-button__link {
    min-height: 48px;
    padding: 12px 16px;
  }

  .home-hero-trust {
    gap: 12px;
    margin-top: 24px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .home-hero-trust p {
    flex: 1 1 0;
    margin: 0;
  }

  .home-hero-trust strong {
    font-size: 26px;
  }

  .faq-hero {
    padding: 48px 0 32px;
  }

  .cc-help-tabs {
    padding-bottom: 64px;
  }

  .faq-tabs {
    margin-bottom: 20px;
  }

  .cc-help-tabs details summary,
  .wp-block-details summary {
    padding: 18px 0;
  }

  .cc-help-contact {
    margin-top: 48px;
    padding: 24px;
  }

  .home-hero-visual {
    width: 100%;
    height: 260px;
    aspect-ratio: auto;
  }

  .home-hero-visual .hv-cover {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .home-hero-visual .wp-block-image {
    height: 100%;
    margin: 0;
  }

  .home-hero-visual .wp-block-image img {
    height: 100%;
    object-fit: contain;
  }

  .home-featured {
    padding: 72px 0;
  }

  .home-featured p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .home-featured-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-bottom: 28px;
  }

  .home-featured-visual {
    aspect-ratio: 4 / 3;
  }

  .home-contents {
    padding: 72px 0;
  }

  .home-contents-lead {
    margin-bottom: 26px;
    font-size: 16px;
  }

  .home-evidence-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .home-evidence-card {
    min-height: 0;
    padding: 18px;
  }

  .home-evidence-card h3 {
    min-height: 0;
    margin-top: 16px !important;
  }

  .home-contents-visual {
    min-height: 450px;
  }

  .home-evidence-shot {
    padding: 8px 8px 30px;
  }

  .home-evidence-shot::after {
    inset: 8px 8px 30px;
  }

  .home-evidence-shot .label {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  .shot-main {
    right: 0;
    top: 0;
    width: 84%;
  }

  .shot-a {
    left: 0;
    top: 28px;
    width: 46%;
  }

  .shot-b {
    left: 0;
    bottom: 72px;
    width: 56%;
  }

  .shot-c {
    right: 0;
    bottom: 0;
    width: 58%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Home — Cases Carousel (dark desk)
   (patterns/home-cases-carousel.php + assets/js/cases-carousel.js)
   ═══════════════════════════════════════════════════════════════ */

.home-carousel {
  background: var(--cc-ink);
  color: var(--cc-paper);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.home-carousel::before {
  /* faint desk grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 236, 223, 0.04) 1px, transparent 1px);
  background-size: 5px 5px;
  pointer-events: none;
}

/* ── Header row ─────────────────────────────────────────────── */

.hc-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  position: relative;
}

.hc-head .eye {
  font-family: var(--cc-font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cc-red-on-dark);
  margin-bottom: 14px;
}

.hc-head h2 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--cc-paper);
}

.hc-nav {
  display: flex;
  gap: 10px;
}

.hc-arrow {
  width: 56px;
  height: 56px;
  border-radius: 99px;
  border: 1.5px solid var(--cc-paper);
  background: transparent;
  color: var(--cc-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all var(--cc-dur-2) var(--cc-ease);
}

.hc-arrow:hover {
  background: var(--cc-red);
  border-color: var(--cc-red);
  transform: translateY(-2px);
}

.hc-arrow:active {
  transform: translateY(0);
}

/* ── Stage (the 3-card coverflow area) ─────────────────────── */

.hc-stage {
  position: relative;
  height: clamp(200px, 26vw, 340px);
  margin: 32px 0 4px;
}

.hc-item {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform var(--cc-dur-4) var(--cc-ease),
    opacity var(--cc-dur-4) var(--cc-ease);
  will-change: transform, opacity;
}

.hc-item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.6));
}

.hc-item img.is-deferred {
  visibility: hidden;
}

.hc-item.is-side img {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5)) grayscale(0.4) brightness(0.62);
}

.hc-item.is-poster img {
  height: 92%;
  border: 1px solid rgba(20, 17, 15, 0.5);
}

.hc-item.is-active {
  z-index: 30;
}

.hc-item.is-side {
  z-index: 20;
}

.hc-item.is-hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Badge stamp on the active image */
.hc-item-stamp {
  position: absolute;
  top: 4%;
  right: 6%;
  z-index: 5;
  pointer-events: none;
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cc-paper);
  background: var(--cc-red-on-light);
  padding: 6px 14px;
  transform: rotate(8deg);
}

/* ── Info panel ─────────────────────────────────────────────── */

.hc-info-wrap {
  position: relative;
}

.hc-info {
  max-width: 700px;
  margin: 28px auto 0;
  text-align: center;
}

.hc-badge-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  min-height: 30px;
}

.hc-num {
  font-family: var(--cc-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.55);
}

.hc-tag {
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.hc-tag.nyhet {
  background: var(--cc-red-on-light);
  color: var(--cc-paper);
}

.hc-tag.outline {
  border: 1.5px solid rgba(244, 236, 223, 0.5);
  color: var(--cc-paper);
}

.hc-info h3 {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--cc-paper);
}

.hc-blurb {
  font-family: var(--cc-font-body);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 236, 223, 0.82);
  margin: 0 auto 22px;
  max-width: 62ch;
}

.hc-meta {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-family: var(--cc-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.7);
}

.hc-meta .cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hc-meta .pips {
  display: inline-flex;
  gap: 4px;
}

.hc-meta .pip {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(244, 236, 223, 0.3);
}

.hc-meta .pip.on {
  background: var(--cc-red);
}

.hc-buy {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hc-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.hc-price .from {
  font-family: var(--cc-font-mono);
  font-size: 16px;
  color: rgba(244, 236, 223, 0.5);
  text-decoration: line-through;
}

.hc-price .now {
  font-family: var(--cc-font-display);
  font-weight: 900;
  font-size: 34px;
  color: var(--cc-paper);
  letter-spacing: -0.01em;
}

.hc-price .off {
  font-family: var(--cc-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--cc-red-on-light);
  color: var(--cc-paper);
  padding: 4px 9px;
  border-radius: 2px;
  align-self: center;
}

/* ── Dots ───────────────────────────────────────────────────── */

.hc-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.hc-dot {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  border: 1.5px solid rgba(244, 236, 223, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background-color var(--cc-dur-2) var(--cc-ease),
    border-color var(--cc-dur-2) var(--cc-ease);
}

.hc-dot:hover {
  border-color: var(--cc-paper);
}

.hc-dot.on {
  background: var(--cc-red);
  border-color: var(--cc-red);
  width: 28px;
}

/* Mobile-only arrow row (sits between stage and info panel) */
.hc-mob-nav {
  display: none;
}

/* ── Responsive ─────────────────────────────────────────────── */

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

@media (max-width: 640px) {
  /* Side cards hidden — swipe and the mobile arrow row handle navigation. */
  .hc-item.is-side {
    opacity: 0 !important;
    pointer-events: none;
  }

  /* Hide desktop arrows from the head; show the dedicated mobile arrow row instead. */
  .hc-head .hc-nav {
    display: none;
  }

  .hc-mob-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 16px 0 0;
  }

  .hc-stage {
    height: clamp(160px, 56vw, 240px);
  }

  .hc-info h3 {
    font-size: clamp(24px, 6vw, 38px);
  }

  .hc-blurb {
    font-size: 15px;
  }

  .hc-price .now {
    font-size: 26px;
  }
}
