/*
Theme Name: Blocksy — Cremista
Theme URI: https://cremista.de
Template: blocksy
Description: Cremista Child-Theme V4 — Specialty Coffee Editorial.
  Brand-Book-Palette (Espresso #1C1612, Crema #C6A27A, Sand #EDE7DE,
  Stein #BFB8AE, Grau #6D685F, White #F8F5F1). Editorial Composition Pass:
  Hero 40/60, Journal 70/30, Mythos pure Typo, Grundlagen Library-Feel,
  PUF/Routine entkartet. Self-hosted Fonts.
Version: 4.0.0
Requires at least: 6.4
Requires PHP: 8.0
Author: cremista
License: GPL v2 or later
Text Domain: blocksy-cremista
*/

/* ========================================================================
   1. Self-hosted Fonts (DSGVO)
   ======================================================================== */

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

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

/* ========================================================================
   2. Tokens
   ======================================================================== */

:root, :root.ct-page, :root[data-link] {
  /* V4 Brand Book palette */
  --c-espresso:    #1C1612;
  --c-crema:       #C6A27A;
  --c-crema-dark:  #A78361;
  --c-sand:        #EDE7DE;
  --c-stein:       #BFB8AE;
  --c-grau:        #6D685F;
  --c-white:       #F8F5F1;

  /* Aliases — alte Namen bleiben kompatibel, zeigen auf Brand-Book-Werte */
  --c-papier:      var(--c-sand);
  --c-porzellan:   var(--c-white);
  --c-asche:       var(--c-grau);
  --c-eukalyptus:  var(--c-grau);
  --c-linie:       var(--c-stein);
  --c-hairline:    rgba(191, 184, 174, 0.55);
  --c-auf-dunkel:  var(--c-sand);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --s-11: 160px;

  --container-max: 1240px;
  --container-pad: clamp(20px, 4vw, 40px);
  --content-width: 760px;
  --hero-image-bleed: 160px; /* V3: deutlich mutigerer Bleed */
  --article-hero-max: 1100px;
  --pullquote-width: 840px;

  --section-py: clamp(80px, 10vw, 144px);
  --section-py-mobile: clamp(56px, 12vw, 72px);

  --t-eyebrow: 0.875rem;
  --t-meta:    0.875rem;
  --t-body:    1.1875rem;       /* 19px — V2.1 lesbarer */
  --t-lead:    clamp(1.5rem, 2.2vw, 1.75rem);    /* V4: 24–28px */
  --t-cta:     1rem;
  --t-h3:      1.625rem;
  --t-h2:      clamp(2rem, 4vw, 2.875rem);     /* 32-46 */
  --t-h2-section: clamp(2.5rem, 4.8vw, 3.5rem); /* V4.2: 40-56 (+10%) */
  --t-h1:      clamp(4.25rem, 7.5vw, 5.625rem);  /* V5: 68-90 (+8%) */
  --t-quote:   clamp(1.875rem, 3.4vw, 2.875rem);
  --t-nav:     0.9375rem;

  --theme-palette-color-1: #C6A27A !important;
  --theme-palette-color-2: #A78361 !important;
  --theme-palette-color-3: #1C1612 !important;
  --theme-palette-color-4: #6D685F !important;
  --theme-palette-color-5: #EDE7DE !important;
  --theme-palette-color-6: #F8F5F1 !important;
  --theme-palette-color-7: #BFB8AE !important;
  --theme-palette-color-8: #6D685F !important;
}

/* ========================================================================
   3. Body / Base
   ======================================================================== */

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body, .ct-page-wrapper {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--c-espresso) !important;
  background: var(--c-papier) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, li { font-family: var(--font-body); }

/* ========================================================================
   4. Typografie — Hierarchie & Scale
   ======================================================================== */

h1, h2, h3, h4, h5, h6,
.entry-title, .ct-entry-title, .wp-block-heading {
  font-family: var(--font-display) !important;
  font-weight: 500;
  color: var(--c-espresso);
  letter-spacing: -0.005em;
  line-height: 1.15;
}

h1, .entry-title {
  font-size: var(--t-h1);
  letter-spacing: -0.022em;
  line-height: 1.02;
  text-wrap: balance;
  max-width: 14em;
}

h2 { font-size: var(--t-h2); line-height: 1.18; text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: 1.25; }

h4 {
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--c-espresso);
}

.entry-meta, .post-meta, .ct-meta-element {
  font-size: var(--t-meta);
  font-family: var(--font-body);
  color: var(--c-asche);
  letter-spacing: 0.04em;
}

.entry-meta a, .post-meta a, .ct-meta-element a { color: var(--c-asche); }

figcaption {
  font-size: 0.8125rem;
  color: var(--c-asche);
  margin-top: var(--s-2);
}

/* ========================================================================
   5. Eyebrow — wiederkehrender Editorial-Marker
   ======================================================================== */

.eyebrow {
  font-family: var(--font-body) !important;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-eukalyptus);
  margin: 0 0 var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-hairline);
  flex: 0 0 24px;
}

.eyebrow + .section-heading,
.eyebrow + h2.wp-block-heading,
.eyebrow + .home-hero-title {
  margin-top: var(--s-3);
}

/* ========================================================================
   6. Links / CTAs
   ======================================================================== */

a:not(.wp-block-button__link):not(.ct-button):not(.ct-header-mobile-trigger):not([class*="ct-image"]):not(figure a) {
  color: var(--c-espresso);
  text-decoration: underline;
  text-decoration-color: var(--c-crema);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:not(.wp-block-button__link):not(.ct-button):hover {
  color: var(--c-crema-dark);
  text-decoration-color: var(--c-crema-dark);
}

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

/* Editorial CTA */
.home-hero-cta a,
.mythos-attribution a,
.featured-story-cta a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--t-cta);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-espresso);
}

.home-hero-cta a:hover,
.mythos-attribution a:hover,
.featured-story-cta a:hover {
  color: var(--c-crema-dark);
  border-color: var(--c-crema-dark);
}

.home-hero-cta a span,
.mythos-attribution a span,
.featured-story-cta a span { margin-left: var(--s-2); }

.wp-block-button__link, .ct-button, button[type="submit"] {
  background: var(--c-espresso);
  color: var(--c-papier);
  font-family: var(--font-body);
  font-weight: 500;
  padding: var(--s-3) var(--s-5);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 180ms ease;
}

.wp-block-button__link:hover, .ct-button:hover, button[type="submit"]:hover {
  background: var(--c-crema-dark);
}

/* ========================================================================
   7. Container + Section-System
   ======================================================================== */

.wp-block-group.is-layout-constrained,
.ct-container {
  max-width: var(--container-max);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}

.section-papier    { background: var(--c-papier); }
.section-porzellan { background: var(--c-porzellan); }
.section-espresso  { background: var(--c-espresso); color: var(--c-auf-dunkel); }

section.section-papier,
section.section-porzellan,
section.section-espresso {
  padding-block: var(--section-py);
}

/* Trenner zwischen Sektionen */
section[class*="section-"] + section[class*="section-"]::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--c-hairline);
  margin: 0 auto var(--s-9);
}

/* ========================================================================
   8. Image System
   ======================================================================== */

.wp-block-image figure, figure.wp-block-image { margin: 0; }
.wp-block-image img { display: block; height: auto; border-radius: 2px; }

.image-placeholder {
  background: var(--c-porzellan);
  border: 1px solid var(--c-hairline);
  border-radius: 2px;
  position: relative;
  width: 100%;
}
.image-placeholder--portrait { aspect-ratio: 4 / 5; }
.image-placeholder--wide     { aspect-ratio: 3 / 2; }
.image-placeholder--square   { aspect-ratio: 1 / 1; }

/* Wenn ein echtes Bild im Placeholder steckt: vollflächig + cover */
.image-placeholder { position: relative; overflow: hidden; }
.image-placeholder .wp-block-image,
.image-placeholder figure {
  position: absolute; inset: 0; margin: 0;
  width: 100%; height: 100%;
}
.image-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  /* Konsistentes Editorial-Grading über alle Pexels-Platzhalter:
     leicht entsättigt, etwas wärmer, weniger Kontrast — wirkt wie
     gemeinsamer Style statt zufälliger Stock-Mix. */
  filter: saturate(0.92) contrast(0.96) brightness(1.01) sepia(0.04);
}

/* Article Hero Breakout — über die Body-Spalte hinaus */
.single .wp-block-image.hero-image,
.single .hero-image {
  max-width: var(--article-hero-max);
  margin-inline: auto;
  margin-block: var(--s-9) var(--s-9);  /* mehr Bühne: 96px oben+unten */
}
.single .wp-block-image.hero-image img,
.single .hero-image img { width: 100%; height: auto; }

/* ========================================================================
   9. HEADER V4.1 — Editorial Masthead, Sand + Stein, leiser
   ======================================================================== */

.ct-header, header[data-id="header"] {
  background: var(--c-sand) !important;
  padding-block: clamp(24px, 3vw, 36px);     /* Gesamthöhe Ziel 96–112px */
  border-top: 1px solid rgba(191, 184, 174, 0.5);   /* Stein, sehr leise */
  border-bottom: 1px solid rgba(28, 22, 18, 0.20);  /* V5.1: Espresso 20%, sichtbarer */
}

/* Blocksy malt den Header-Inhalt über [data-row="middle"] aus mit
   --theme-palette-color-8 (= Grau). Das wirkt dunkel-taupe. Explizit
   auf Sand zwingen, sonst kippt der Hub in falschen Ton. */
.ct-header [data-row*="middle"],
header[data-id="header"] [data-row*="middle"] {
  background-color: var(--c-sand) !important;
  background-image: none !important;
}

/* V5: Header-Layout — Logo + Nav linksbündig nahe beieinander, Search auf
   die rechte Kante. Blocksy hatte space-between (logo links, nav rechts) =
   riesige tote Mitte. Jetzt: editorial-Masthead-Cluster. */
.ct-header [data-row*="middle"] > .ct-container,
.ct-header [data-row*="middle"] .ct-container {
  display: flex !important;
  align-items: center !important;
  gap: clamp(40px, 6vw, 80px) !important;
  justify-content: flex-start !important;
}
.ct-header [data-column="start"] { flex: 0 0 auto !important; }
.ct-header [data-column="end"]   { flex: 1 1 auto !important; }
.ct-header [data-column="end"] [data-items="primary"] {
  display: flex !important;
  align-items: center !important;
  gap: clamp(20px, 3vw, 40px) !important;
}
.ct-header [data-column="end"] .ct-header-search,
.ct-header [data-column="end"] [data-id="search"] {
  margin-left: auto !important;            /* an die rechte Kante */
}

/* V5.1 Surgical Pass — optische Balance */

/* (1) Nav 5px tiefer — Baseline-Align zum gewachsenen Logo */
.ct-header [data-column="end"] nav,
.ct-header [data-column="end"] [data-id="menu"] {
  transform: translateY(5px);
}

/* (5) Nav max-width — bleibt dicht am Logo, breitet sich nicht aus */
.ct-header [data-column="end"] nav .menu,
.ct-header [data-column="end"] ul.menu {
  max-width: 480px;
  flex-wrap: nowrap;
}


/* Logo-System: Wordmark + Subtitle — V5: +25%, Editorial-Dominanz
   V5.1: optical weight +5% (550 statt 500), spacing leicht enger */
.site-title, .ct-site-title, [data-id="logo"] a {
  font-family: var(--font-display) !important;
  font-weight: 550;
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);    /* V5: 40-56px (+25%) */
  letter-spacing: -0.024em;                   /* V5.1: enger fuer mehr Dichte */
  line-height: 1;
  color: var(--c-espresso) !important;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

/* Subtitle unter dem Wordmark — Editorial Masthead */
.site-title::after,
.ct-site-title a::after,
[data-id="logo"] a::after {
  content: "espresso zuhause verstehen";
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--c-asche);
  opacity: 0.65;
  margin-top: 6px;
}

/* Navigation — Editorial-leise, mit Luft */
.ct-header .menu-item,
[data-id="menu"] ul li {
  margin-inline: 22px;                       /* V3: ~44px Gap zwischen Items */
}
.ct-header .menu-item:first-child,
[data-id="menu"] ul li:first-child { margin-left: 0; }
.ct-header .menu-item:last-child,
[data-id="menu"] ul li:last-child { margin-right: 0; }

.ct-header .menu-item > a,
.ct-header ul.menu a,
[data-id="menu"] ul li a {
  font-family: var(--font-body) !important;
  font-size: var(--t-nav) !important;        /* 15px */
  font-weight: 400 !important;               /* V4: leichter */
  text-transform: uppercase;
  letter-spacing: 0.11em;                    /* V5.1: -8% von 0.12 */
  color: var(--c-grau) !important;           /* V4: Grau statt Espresso */
  text-decoration: none !important;
  padding: var(--s-2) 0 !important;
  transition: color 180ms ease;
}

.ct-header .menu-item > a:hover,
.ct-header ul.menu a:hover { color: var(--c-espresso) !important; }

.ct-header .current-menu-item > a,
.ct-header [class*="current-"] > a {
  color: var(--c-espresso) !important;
  position: relative;
  font-weight: 500 !important;
}

.ct-header .current-menu-item > a::after,
.ct-header [class*="current-"] > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-crema);
}

/* Search icon kleiner / leiser — V4: noch leiser */
.ct-header [class*="search"] svg,
.ct-toggle-search svg,
.ct-header .ct-icon-container svg {
  width: 15px !important;
  height: 15px !important;
  opacity: 0.35;
  color: var(--c-grau) !important;
  transition: opacity 180ms ease;
}

.ct-header [class*="search"]:hover svg,
.ct-toggle-search:hover svg { opacity: 0.75; }

/* V5.2: Homepage-Pagetitle entfernen — Lösung liegt NICHT in CSS, sondern
   in Blocksy-Meta `has_hero_section=disabled` auf Page 12 (per wp-cli gesetzt).
   Damit wird der H1 serverseitig gar nicht erst gerendert; keine zweite H1
   im DOM, sauber für Google. Hero rutscht natürlich nach oben. */

/* ========================================================================
   10. HOMEPAGE V2.1
   ======================================================================== */

/* --- HERO V3 — 38/62 Split, Big-Bleed, Editorial Cover --- */

.home-hero {
  padding-block: clamp(96px, 12vw, 160px) clamp(80px, 10vw, 128px); /* V3: 160/128 */
  overflow: visible;
}

.home-hero .home-hero-grid {
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.home-hero-text {
  padding-block: var(--s-4);
}

.home-hero-text .eyebrow {
  margin-bottom: var(--s-5); /* 24px → H1 */
}

.home-hero-title {
  font-size: clamp(3.5rem, 7vw, 5.25rem); /* V3: 56-84 */
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 0 0 var(--s-7); /* 48px → Lead */
  max-width: 580px;
  text-wrap: balance;
}

.home-hero-lead {
  font-size: clamp(1.375rem, 1.9vw, 1.5rem); /* V3: 22-24 */
  line-height: 1.55;
  color: var(--c-espresso);
  margin: 0 0 var(--s-7); /* 48px → Statement */
  max-width: 560px;
}

.home-hero-statement {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-asche);
  margin: 0 0 var(--s-7); /* 48px → CTA */
  max-width: 520px;
}

/* V3: Bild bricht 160px nach rechts aus dem Container */
@media (min-width: 1024px) {
  .home-hero-image { margin-right: calc(var(--hero-image-bleed) * -1); }
}

.home-hero-image .image-placeholder { width: 100%; }

/* --- FEATURED PROBLEMS — Feature Story + 2 Secondary --- */

.home-featured .eyebrow { margin-bottom: var(--s-4); }

.home-featured .section-heading {
  margin-bottom: var(--s-9);
}

/* Feature Story (1 prominent) */
.featured-story {
  margin-bottom: var(--s-10);
}

.featured-story-grid {
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.featured-story-image .image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.featured-story-text .eyebrow {
  margin-bottom: var(--s-4);
}

.featured-story-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem); /* V3: 36-52 — Story-Anker */
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 var(--s-5);
}

.featured-story-title a {
  text-decoration: none;
  border-bottom: none !important;
  color: var(--c-espresso);
  background-image: linear-gradient(var(--c-crema), var(--c-crema));
  background-size: 0 1px;
  background-position: 0 calc(100% - 2px);
  background-repeat: no-repeat;
  transition: background-size 260ms ease, color 180ms ease;
}

.featured-story-title a:hover {
  color: var(--c-crema-dark);
  background-size: 100% 1px;
}

.featured-story-dek {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--c-asche);
  margin: 0 0 var(--s-5);
  max-width: 32em;
}

/* Featured Secondary — 2 entkartete kleinere Cards */
.featured-secondary-grid {
  gap: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--c-hairline);
  padding-top: var(--s-7);
}

.editorial-card,
.editorial-card--small {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.editorial-card .image-placeholder,
.editorial-card--small .image-placeholder {
  margin: 0 0 var(--s-5);
}

.editorial-card .eyebrow,
.editorial-card--small .eyebrow { margin: 0 0 var(--s-2); }

.editorial-card .card-title,
.editorial-card--small .card-title {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.2;
  margin: 0 0 var(--s-3);
}

.editorial-card .card-title a,
.editorial-card--small .card-title a {
  text-decoration: none;
  border-bottom: none !important;
  color: var(--c-espresso);
  background-image: linear-gradient(var(--c-hairline), var(--c-hairline));
  background-size: 0 1px;
  background-position: 0 calc(100% - 2px);
  background-repeat: no-repeat;
  transition: background-size 240ms ease, color 180ms ease;
}

.editorial-card .card-title a:hover,
.editorial-card--small .card-title a:hover {
  color: var(--c-crema-dark);
  background-size: 100% 1px;
}

.editorial-card .card-dek,
.editorial-card--small .card-dek {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-asche);
  margin: 0;
}

/* --- GRUNDLAGEN 2×2 --- */

.home-grundlagen .eyebrow { margin-bottom: var(--s-4); }
.home-grundlagen .section-heading { margin-bottom: var(--s-9); }

.home-grundlagen .cornerstones-grid {
  gap: clamp(40px, 5vw, 72px);
}

.home-grundlagen .cornerstones-grid + .cornerstones-grid {
  margin-top: clamp(40px, 5vw, 72px);
}

.cornerstone-card {
  position: relative;
  padding-top: var(--s-6) !important;
  border-top: 1px solid var(--c-hairline);
  background: transparent !important;
  box-shadow: none !important;
}

/* V4: Kapitelnummern gross, Library-Feel */
.cornerstone-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);    /* V4: 32–44px Fraunces */
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-crema);                     /* Akzent */
  margin: 0 0 var(--s-5);
}

.cornerstone-title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.2;
  margin: 0 0 var(--s-4);
}

.cornerstone-title a {
  text-decoration: none;
  border-bottom: none !important;
  color: var(--c-espresso);
}

.cornerstone-title a:hover { color: var(--c-grau); }

/* V4: weniger Erklärtext, kürzer */
.cornerstone-dek {
  font-size: 0.9375rem;       /* 15px */
  line-height: 1.55;
  color: var(--c-grau);
  margin: 0;
  max-width: 26em;
}

/* --- MYTHOS — Quote-led --- */

/* V4: extrem reduziert — pure Typografie, viel Negativraum, keine Linie */
.home-mythos { padding-block: clamp(128px, 18vw, 224px); }

.home-mythos .eyebrow { margin-bottom: var(--s-9); }

.mythos-quote, blockquote.mythos-quote {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 var(--s-8) !important;
  max-width: 960px;
  position: relative;
}

/* V4: Crema-Linie ist raus */

.mythos-quote p {
  font-family: var(--font-display) !important;
  font-weight: 400;                          /* V4: leichter, ruhiger */
  font-style: italic;                        /* V4: editorial-Pull */
  font-size: var(--t-quote);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--c-espresso);
  margin: 0;
  padding-left: 0;                           /* V4: keine Einrückung mehr */
  text-wrap: balance;
}

.mythos-attribution {
  margin: 0;
  padding-left: 0;
  color: var(--c-grau);
}

/* --- JOURNAL V4 — Asymmetrie 70/30, weniger Grid-Feeling --- */

.home-journal .eyebrow { margin-bottom: var(--s-4); }
.home-journal .section-heading { margin-bottom: var(--s-9); }

.home-journal .journal-grid {
  gap: clamp(56px, 7vw, 96px);              /* V4: mehr Spalt, weniger Grid */
  align-items: start;
}

/* V4: Sekundäre Spalte oben rangerückt, wirkt wie Sidebar nicht wie 2. Element */
.journal-secondary { padding-top: var(--s-3); }

.journal-primary .image-placeholder {
  aspect-ratio: 3 / 2;
  margin: 0 0 var(--s-6);
}

.journal-secondary .image-placeholder {
  aspect-ratio: 4 / 5;
  margin: 0 0 var(--s-5);
}

.journal-primary .eyebrow { margin-bottom: var(--s-3); }

.journal-primary .journal-title {
  font-size: clamp(2rem, 3.6vw, 2.625rem);
  line-height: 1.15;
  margin: 0 0 var(--s-4);
}

.journal-secondary .journal-title,
.journal-secondary .journal-title--small {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin: 0 0 var(--s-3);
}

.journal-title a {
  text-decoration: none;
  border-bottom: none !important;
  color: var(--c-espresso);
}

.journal-title a:hover { color: var(--c-grau); }

.journal-dek {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-asche);
  margin: 0;
}

.journal-primary .journal-dek {
  font-size: 1.0625rem;
  max-width: 28em;
}

/* --- NEWSLETTER — Editorial Invitation, weniger Formular --- */

.home-newsletter {
  text-align: center;
  padding-block: clamp(80px, 11vw, 144px);
}

.home-newsletter > * {
  max-width: 680px;
  margin-inline: auto;
}

.home-newsletter .eyebrow {
  justify-content: center;
  margin-bottom: var(--s-6);
}

.newsletter-headline {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 var(--s-5);
}

.newsletter-intro {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-asche);
  margin: 0 0 var(--s-8);
}

.newsletter-form {
  display: flex;
  gap: var(--s-4);
  max-width: 520px;
  margin: 0 auto var(--s-4);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--c-hairline);
  padding-bottom: var(--s-2);
}

.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  padding: var(--s-3) 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  border: none;
  background: transparent;
  color: var(--c-espresso);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--c-asche);
}

.newsletter-form input[type="email"]:focus-visible {
  outline: none;
}

.newsletter-form button[type="submit"] {
  background: transparent;
  color: var(--c-espresso);
  font-family: var(--font-body);
  font-size: var(--t-cta);
  font-weight: 500;
  padding: var(--s-3) 0;
  border: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 180ms ease;
}

.newsletter-form button[type="submit"]:hover {
  background: transparent;
  color: var(--c-crema-dark);
}

.newsletter-form button[type="submit"] span { margin-left: var(--s-2); }

.newsletter-foot {
  font-size: 0.875rem;
  color: var(--c-asche);
  margin: 0;
}

/* ========================================================================
   11. SECTION-HEADINGS (Homepage)
   ======================================================================== */

.section-heading {
  font-size: var(--t-h2-section);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  max-width: 20em;
  text-wrap: balance;
}

/* ========================================================================
   12. ARTICLE TEMPLATE V2.1 — luxuriös lesbar
   ======================================================================== */

.single article {
  padding-block: clamp(56px, 7vw, 96px);
}

/* Article Header — Titel, Meta */
.single header.entry-header,
.single .entry-header {
  max-width: var(--content-width);
  margin: 0 auto var(--s-9);
}

.single .entry-title {
  font-size: clamp(3.5rem, 5.5vw, 4.75rem); /* V3: 56-76 */
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0 0 var(--s-7); /* 48px → Lead */
  text-wrap: balance;
  max-width: 14em;
}

.single .entry-meta,
.single .ct-meta-element {
  font-size: var(--t-meta);
  letter-spacing: 0.06em;
  margin-bottom: var(--s-9); /* 96px → Hero (V3) */
  color: var(--c-asche);
}

/* Article Body */
.single .entry-content {
  max-width: var(--content-width);
  margin-inline: auto;
}

.single .entry-content > * {
  max-width: var(--content-width);
  margin-inline: auto;
}

.single .entry-content p,
.single .entry-content li {
  font-size: var(--t-body);     /* 19px */
  line-height: 1.78;            /* mehr Atem */
  color: var(--c-espresso);
}

.single .entry-content p { margin-block: var(--s-5); }

.single .entry-content h2 {
  font-size: clamp(2.25rem, 3.5vw, 3rem); /* V3: 36-48 */
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin-block: 144px var(--s-5);  /* V3: 144px vor H2 — Kapitelgefühl */
}

.single .entry-content h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-block: var(--s-8) var(--s-4);
}

/* Lead direkt nach H1 */
.single .entry-content > .lead,
.single .entry-content > p:first-of-type {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  margin-bottom: var(--s-7);
  color: var(--c-espresso);
}

/* Hero Image — V3 mehr Bühne */
.single .entry-content > .hero-image:first-child,
.single .entry-content > .wp-block-image:first-child {
  margin-top: 0;
  margin-bottom: var(--s-10); /* 128px nach Hero, vor Body */
}

/* V3: vor dem Article-Header Top-Whitespace */
.single article {
  padding-block: 120px clamp(72px, 9vw, 96px) !important;
}

/* --- PULL-QUOTE — breite Bühne --- */
blockquote, .wp-block-quote {
  border: none !important;
  border-left: 3px solid var(--c-crema) !important;
  background: transparent !important;
  padding: 0 0 0 var(--s-6) !important;
  margin: var(--s-9) auto !important;
  max-width: var(--pullquote-width);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--c-espresso);
}

blockquote p, .wp-block-quote p {
  font-family: var(--font-display);
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* ========================================================================
   13. PUF vs ROUTINE — V4 entkartet: kein BG, kein Border, pure Typo
   ======================================================================== */

.cremista-pufix, .cremista-routine {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  border-radius: 0;
  padding: 0;
  margin: var(--s-8) auto !important;
  max-width: var(--content-width);
  box-shadow: none !important;
  position: relative;
}

/* V4: kleines Eyebrow-Label statt Box-Header */
.cremista-pufix h3, .cremista-pufix h4,
.cremista-routine h3, .cremista-routine h4 {
  font-family: var(--font-body) !important;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-stein);
}

.cremista-pufix h3, .cremista-pufix h4 { color: var(--c-crema-dark); }
.cremista-routine h3, .cremista-routine h4 { color: var(--c-grau); }

.cremista-routine ol { padding-left: var(--s-5); margin: 0; }
.cremista-routine ol li { margin-bottom: var(--s-3); }
.cremista-routine ol li::marker {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-grau);
}

.cremista-pufix > div + div { margin-top: var(--s-4); }

/* ========================================================================
   14. DIAGNOSE-TABELLE
   ======================================================================== */

.diagnose-tabelle, .wp-block-table.diagnose-tabelle {
  max-width: 840px;                              /* V4: breiter als Body */
  margin: var(--s-8) auto !important;
}

/* V4: Alle Artikel-Tabellen breiter als Fließtext */
.single .wp-block-table:not(.diagnose-tabelle) { max-width: 840px; margin-inline: auto; }

.diagnose-tabelle table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}

.diagnose-tabelle th,
.diagnose-tabelle td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--c-hairline);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.diagnose-tabelle th {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--t-eyebrow);
  letter-spacing: 0.06em;
  color: var(--c-eukalyptus);
}

/* ========================================================================
   15. FOOTER
   ======================================================================== */

.ct-footer, footer[data-id="footer"] {
  background: var(--c-espresso) !important;
  color: var(--c-auf-dunkel);
}

.ct-footer * { color: var(--c-auf-dunkel) !important; }

.ct-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(198, 162, 122, 0.5);
}

/* ========================================================================
   16. VERBOTS-ENFORCEMENT
   ======================================================================== */

.editorial-card, .cornerstone-card, .cremista-pufix, .cremista-routine,
.image-placeholder, .wp-block-image, .wp-block-image figure,
.wp-block-group, .ct-section, [class*="ct-card"] {
  box-shadow: none !important;
}

.wp-block-button__link, .ct-button, input,
.editorial-card, .cornerstone-card, .cremista-pufix, .cremista-routine,
.wp-block-image img, .image-placeholder {
  border-radius: 2px !important;
}

[class*="ct-fade-in"], [class*="ct-animate"],
.has-animation, [data-animation] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

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

/* ========================================================================
   17. MOBILE PASS
   ======================================================================== */

@media (max-width: 1023px) {
  /* HERO — Text first */
  .home-hero-grid { flex-direction: column; }
  .home-hero-text, .home-hero-image {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100%;
  }
  .home-hero-image { margin-right: 0 !important; margin-top: var(--s-7); }

  /* Featured Story stack: Text first */
  .featured-story-grid { flex-direction: column; }
  .featured-story-image, .featured-story-text {
    flex-basis: 100% !important;
  }
  .featured-story-image { order: 2; margin-top: var(--s-5); }
  .featured-story-text { order: 1; }

  /* Secondary cards stack */
  .featured-secondary-grid { gap: var(--s-7); }

  /* Cornerstones stack */
  .home-grundlagen .cornerstones-grid { gap: var(--s-6); }

  /* Journal — Primary first, both stacked */
  .home-journal .journal-grid {
    flex-direction: column;
    gap: var(--s-7);
  }
  .journal-primary, .journal-secondary { flex-basis: 100% !important; }

  /* Section spacing kleiner */
  section.section-papier,
  section.section-porzellan,
  section.section-espresso {
    padding-block: var(--section-py-mobile);
  }
}

@media (max-width: 768px) {
  .home-hero { padding-block: 56px 48px; }
  .home-mythos { padding-block: 64px; }
}

/* ========================================================================
   18. LOVABLE SHOWCASE TEMPLATE — WordPress adaptation
   ======================================================================== */

.cr-showcase {
  --cr-bg: #f5f1e8;
  --cr-bg-soft: #efe8d8;
  --cr-ink: #1a1612;
  --cr-muted: rgba(26, 22, 18, 0.68);
  --cr-line: rgba(26, 22, 18, 0.12);
  --cr-card: #e8dccb;
  --cr-accent: #c89464;
  --cr-emerald: #1f5b56;
  --cr-olive: #5a6b2a;
  --cr-orange: #e8722e;
  --cr-max: 1800px;
  --cr-pad: clamp(24px, 4vw, 40px);
  --bs-cream: #f1e7d6;
  --bs-cream-soft: #e9dcc9;
  --bs-latte: #d8c3a8;
  --bs-caramel: #b07a48;
  --bs-crema: #e2b07a;
  --bs-espresso: #3c2a1e;
  --bs-espresso-deep: #1f1610;
  --bs-ink: #201712;
  --bs-muted: rgba(32, 23, 18, 0.62);
  --bs-border: rgba(60, 42, 30, 0.14);
  --bs-bg-warm: radial-gradient(ellipse at top, #ead2ac 0%, #f1e7d6 48%, #d8c3a8 100%);
  --bs-cream-fade: linear-gradient(180deg, #fcfaf5 0%, #e9dcc9 100%);
  --bs-shadow-soft: 0 20px 60px -22px rgba(31, 22, 16, 0.22);
  --bs-shadow-deep: 0 34px 90px -34px rgba(31, 22, 16, 0.48);
  background: var(--cr-bg);
  color: var(--cr-ink);
  font-family: var(--font-body);
}

.cr-showcase *,
.cr-showcase *::before,
.cr-showcase *::after {
  box-sizing: border-box;
}

.cr-showcase a {
  color: inherit !important;
  text-decoration: none !important;
}

.cr-main {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--cr-bg);
}

.cr-showcase h1,
.cr-showcase h2,
.cr-showcase h3,
.cr-showcase .cr-footer-brand,
.cr-header-brand a {
  font-family: var(--font-display) !important;
  font-weight: 300;
  letter-spacing: 0;
}

.cr-showcase img {
  display: block;
  max-width: 100%;
}

.cr-showcase span,
.cr-showcase small,
.cr-showcase time,
.cr-showcase p,
.cr-showcase em {
  font-family: var(--font-body);
}

.cr-showcase [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s cubic-bezier(.22,1,.36,1), transform 1.1s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--delay, 0ms);
}

.cr-showcase [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

.cr-underline-link {
  position: relative;
  display: inline-block;
}

.cr-underline-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.cr-underline-link:hover::after,
.cr-underline-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cr-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-arrow-link i {
  display: block;
  width: 80px;
  height: 1px;
  background: currentColor;
}

.cr-arrow-link b {
  font-weight: 400;
  transition: transform .35s ease;
}

.cr-arrow-link:hover b {
  transform: translateX(6px);
}

.cr-showcase-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--cr-bg);
  transition: border-color .35s ease, background .35s ease, backdrop-filter .35s ease;
}

.cr-showcase-header.is-scrolled {
  background: rgba(245, 241, 232, 0.94);
  border-bottom: 1px solid var(--cr-line);
  backdrop-filter: blur(16px);
}

.cr-header-brand {
  max-width: var(--cr-max);
  margin-inline: auto;
  padding: 20px var(--cr-pad) 12px;
  text-align: center;
  line-height: 1;
  transition: padding .35s ease;
}

.cr-showcase-header.is-scrolled .cr-header-brand {
  padding-top: 12px;
  padding-bottom: 8px;
}

.cr-header-brand a {
  font-size: clamp(28px, 3vw, 38px);
}

.cr-header-brand span,
.cr-showcase h1 span,
.cr-showcase h2 span,
.cr-menu-pair a > span > span,
.cr-footer-brand span {
  color: var(--cr-accent);
}

.cr-header-nav {
  border-top: 1px solid rgba(26, 22, 18, 0.15);
  overflow-x: auto;
  scrollbar-width: none;
}

.cr-header-nav::-webkit-scrollbar {
  display: none;
}

.cr-header-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  padding: 12px var(--cr-pad);
  list-style: none;
  white-space: nowrap;
  font-size: clamp(12px, 1.1vw, 13px);
  line-height: 1;
}

.cr-feature-grid,
.cr-mood-row,
.cr-tagline,
.cr-journal,
.cr-origin,
.cr-rituals,
.cr-guide,
.cr-menu-pair,
.cr-playlists,
.cr-footer-grid,
.cr-footer-bottom,
.cr-category-grid {
  max-width: var(--cr-max);
  margin-inline: auto;
  padding-inline: var(--cr-pad);
}

.cr-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  gap: clamp(28px, 3vw, 40px);
  padding-top: clamp(150px, 13vw, 170px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.cr-feature-left,
.cr-mood-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.cr-feature-card {
  display: block;
}

.cr-feature-card figure {
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
  background: var(--cr-card);
}

.cr-feature-card-large figure {
  aspect-ratio: 4 / 5;
}

.cr-feature-card-wide figure {
  aspect-ratio: 16 / 10;
}

.cr-feature-card img,
.cr-story-card img,
.cr-category-card img,
.cr-menu-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22,1,.36,1);
}

.cr-feature-card:hover img,
.cr-story-card:hover img,
.cr-category-card:hover img,
.cr-menu-pair a:hover img {
  transform: scale(1.04);
}

.cr-feature-card figure span,
.cr-latest-list small,
.cr-category-card small {
  display: inline-block;
  border-radius: 999px;
  background: var(--pill-bg, var(--cr-emerald));
  color: var(--cr-bg);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-feature-card figure span {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 16px;
}

.cr-feature-card p,
.cr-story-card p,
.cr-origin p:first-child,
.cr-rituals > div > p,
.cr-guide > div > p,
.cr-playlists > div > p,
.cr-newsletter p,
.cr-category-hero p {
  margin: 0 0 14px;
  color: var(--cr-muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cr-feature-card h2,
.cr-feature-card h3 {
  max-width: 15em;
  margin: 0;
  color: var(--cr-ink);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
}

.cr-feature-card-wide h3 {
  font-size: clamp(22px, 2vw, 26px);
}

.cr-latest-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cr-section-line-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26, 22, 18, 0.15);
}

.cr-section-line-title h3 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 30px);
}

.cr-section-line-title a {
  font-size: 12px;
  letter-spacing: .12em;
}

.cr-latest-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cr-latest-list a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.cr-latest-list img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background: var(--cr-card);
}

.cr-latest-list span {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.3;
}

.cr-latest-list small {
  width: max-content;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 9px;
}

.cr-week-card {
  position: relative;
  border: 1px solid rgba(31, 91, 86, 0.3);
  padding: 40px 24px 24px;
}

.cr-week-card > b {
  position: absolute;
  top: -16px;
  left: 50%;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--cr-emerald);
  color: var(--cr-bg);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.cr-week-card div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.cr-week-card img {
  width: 100px;
  height: 120px;
  object-fit: cover;
}

.cr-week-card p {
  display: grid;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
}

.cr-week-card small,
.cr-week-card span {
  color: var(--cr-muted);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cr-mood-row {
  padding-bottom: clamp(80px, 8vw, 112px);
}

.cr-tagline {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: clamp(80px, 10vw, 136px);
}

.cr-tagline p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
}

.cr-tagline h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

.cr-journal {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(88px, 10vw, 140px);
}

.cr-journal::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: var(--cr-line);
}

.cr-sticky-copy {
  position: sticky;
  top: 128px;
  align-self: start;
  padding-top: 40px;
}

.cr-sticky-copy h2,
.cr-origin h2,
.cr-rituals h2,
.cr-guide h2,
.cr-playlists h2,
.cr-newsletter h2,
.cr-category-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
}

.cr-sticky-copy em,
.cr-origin > div:nth-child(2) p,
.cr-rituals > div > span,
.cr-guide > div > span,
.cr-playlists > div > span,
.cr-story-card span {
  display: block;
  max-width: 460px;
  color: var(--cr-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.cr-sticky-copy .cr-arrow-link,
.cr-guide .cr-arrow-link {
  margin-top: 32px;
}

.cr-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-top: 40px;
}

.cr-story-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 24px;
  background: var(--cr-card);
}

.cr-story-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.8vw, 22px);
  line-height: 1.2;
}

.cr-story-card strong {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-origin {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.cr-origin > div:first-child {
  grid-column: span 6;
}

.cr-origin > div:nth-child(2) {
  grid-column: 8 / span 5;
  align-self: end;
}

.cr-origin figure {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #000;
}

.cr-origin figure::after,
.cr-menu-pair a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,0));
  pointer-events: none;
}

.cr-origin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-origin figcaption {
  position: absolute;
  bottom: clamp(28px, 4vw, 48px);
  left: clamp(28px, 4vw, 48px);
  z-index: 2;
  max-width: 420px;
  color: var(--cr-bg);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
}

.cr-rituals,
.cr-guide {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(40px, 5vw, 72px);
  padding-top: clamp(72px, 8vw, 128px);
  padding-bottom: clamp(72px, 8vw, 128px);
  background: var(--cr-bg-soft);
}

.cr-rituals {
  max-width: none;
  padding-inline: max(var(--cr-pad), calc((100vw - var(--cr-max)) / 2 + var(--cr-pad)));
}

.cr-rituals ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cr-line);
  border-bottom: 1px solid var(--cr-line);
  list-style: none;
}

.cr-rituals li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--cr-line);
}

.cr-rituals li:last-child {
  border-bottom: 0;
}

.cr-rituals time {
  color: var(--cr-muted);
  font-size: 11px;
  letter-spacing: .14em;
}

.cr-rituals h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
}

.cr-rituals li p {
  max-width: 620px;
  margin: 0;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.7;
}

.cr-guide {
  max-width: none;
  padding-inline: max(var(--cr-pad), calc((100vw - 1500px) / 2 + var(--cr-pad)));
  background: #f0e9da;
}

.cr-guide article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.cr-guide article img {
  width: 180px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--cr-card);
}

.cr-guide article p {
  margin: 0 0 10px;
  color: var(--cr-muted);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cr-guide article h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
}

.cr-guide article span {
  display: block;
  max-width: 460px;
  margin-bottom: 18px;
  color: var(--cr-muted);
  font-size: 13px;
  line-height: 1.7;
}

.cr-menu-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding-top: clamp(72px, 8vw, 104px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.cr-menu-pair a {
  position: relative;
  display: block;
  overflow: hidden;
  background: #2a1e16;
  aspect-ratio: 5 / 6;
}

.cr-menu-pair a > span {
  position: absolute;
  top: clamp(28px, 4vw, 40px);
  left: clamp(28px, 4vw, 40px);
  z-index: 2;
  display: grid;
  gap: 12px;
  color: var(--cr-bg);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}

.cr-menu-pair small {
  font-size: 11px;
  letter-spacing: .16em;
}

.cr-playlists {
  padding-bottom: clamp(72px, 9vw, 124px);
}

.cr-playlists > div {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.cr-playlists ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--cr-line);
  list-style: none;
}

.cr-playlists li a {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto 140px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--cr-line);
}

.cr-playlists small,
.cr-playlists span {
  color: var(--cr-muted);
  font-size: 11px;
  letter-spacing: .12em;
}

.cr-playlists strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 300;
}

.cr-playlists em {
  justify-self: end;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-newsletter {
  padding: clamp(72px, 9vw, 132px) var(--cr-pad);
  background: var(--cr-ink);
  color: var(--cr-bg);
  text-align: center;
}

.cr-newsletter > div {
  max-width: 600px;
  margin-inline: auto;
}

.cr-newsletter h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.cr-newsletter form,
.cr-category-letter form {
  display: flex;
  gap: 1px;
  background: rgba(255,255,255,.12);
}

.cr-newsletter input,
.cr-category-letter input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0 !important;
  padding: 16px 20px;
  background: var(--cr-ink);
  color: var(--cr-bg);
  font-size: 13px;
}

.cr-category-letter input {
  border: 1px solid rgba(26, 22, 18, 0.15);
  background: var(--cr-bg);
  color: var(--cr-ink);
}

.cr-newsletter button,
.cr-category-letter button {
  border: 0;
  border-radius: 0 !important;
  padding: 16px 28px;
  background: var(--cr-bg);
  color: var(--cr-ink);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-category-letter button {
  background: var(--cr-ink);
  color: var(--cr-bg);
}

.cr-newsletter > div > span,
.cr-category-letter p {
  display: block;
  margin-top: 24px;
  color: rgba(245, 241, 232, 0.55);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cr-category-letter p {
  color: var(--cr-muted);
  text-align: center;
}

.cr-footer {
  border-top: 1px solid var(--cr-line);
  background: var(--cr-bg);
  color: var(--cr-ink);
}

.cr-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.cr-footer-brand {
  font-size: 22px;
  line-height: 1;
}

.cr-footer p {
  max-width: 260px;
  margin: 24px 0 0;
  color: var(--cr-muted);
  font-size: 12px;
  line-height: 1.8;
}

.cr-footer-kicker {
  margin: 0 0 20px !important;
  color: rgba(26,22,18,.5) !important;
  font-size: 10px !important;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cr-footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.cr-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--cr-line);
  color: rgba(26,22,18,.6);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cr-category-main {
  padding-top: clamp(170px, 13vw, 200px);
}

.cr-category-hero {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 var(--cr-pad) clamp(64px, 8vw, 96px);
  text-align: center;
}

.cr-category-hero h1 {
  max-width: 12em;
  margin-inline: auto;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
}

.cr-category-hero div {
  max-width: 700px;
  margin-inline: auto;
  color: var(--cr-muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
}

.cr-category-letter {
  max-width: 620px;
  margin: 0 auto clamp(72px, 9vw, 128px);
  padding-inline: var(--cr-pad);
}

.cr-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 56px) clamp(28px, 3vw, 40px);
  padding-bottom: clamp(80px, 10vw, 150px);
  border-top: 1px solid rgba(26, 22, 18, 0.15);
  padding-top: clamp(48px, 6vw, 72px);
}

.cr-category-card figure {
  margin: 0 0 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cr-card);
}

.cr-category-card div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cr-category-card small {
  padding: 7px 12px;
  background: var(--cat-color, var(--cr-emerald));
  font-size: 10px;
}

.cr-category-card time {
  color: var(--cr-muted);
  font-size: 12px;
}

.cr-category-card h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
}

.cr-category-card p {
  margin: 12px 0 0;
  color: var(--cr-muted);
  font-size: 14px;
  line-height: 1.65;
}

.cr-category-page .navigation.pagination {
  max-width: var(--cr-max);
  margin: 0 auto 80px;
  padding-inline: var(--cr-pad);
}

@media (max-width: 1100px) {
  .cr-feature-grid,
  .cr-tagline,
  .cr-journal,
  .cr-rituals,
  .cr-guide,
  .cr-playlists > div {
    grid-template-columns: 1fr;
  }

  .cr-sticky-copy {
    position: static;
  }

  .cr-origin > div:first-child,
  .cr-origin > div:nth-child(2) {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .cr-feature-left,
  .cr-mood-row,
  .cr-journal-grid,
  .cr-menu-pair,
  .cr-footer-grid,
  .cr-category-grid {
    grid-template-columns: 1fr;
  }

  .cr-feature-grid {
    padding-top: 138px;
  }

  .cr-header-nav ul {
    justify-content: flex-start;
  }

  .cr-latest-panel {
    gap: 28px;
  }

  .cr-tagline,
  .cr-journal,
  .cr-origin,
  .cr-rituals,
  .cr-guide,
  .cr-playlists,
  .cr-footer-grid {
    padding-inline: 20px;
  }

  .cr-origin figure {
    aspect-ratio: 4 / 5;
  }

  .cr-rituals li,
  .cr-guide article,
  .cr-playlists li a {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cr-guide article img {
    width: 140px;
  }

  .cr-newsletter form,
  .cr-category-letter form {
    flex-direction: column;
  }

  .cr-footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-showcase [data-reveal],
  .cr-feature-card img,
  .cr-story-card img,
  .cr-category-card img,
  .cr-menu-pair img {
    transition: none !important;
    transform: none !important;
  }
}

/* ========================================================================
   19. SINGULAR BRAND SHOWCASE — posts + pages
   ======================================================================== */

.cr-brand-singular {
  --bs-cream: #f1e7d6;
  --bs-cream-soft: #e9dcc9;
  --bs-latte: #d8c3a8;
  --bs-caramel: #b07a48;
  --bs-crema: #e2b07a;
  --bs-espresso: #3c2a1e;
  --bs-espresso-deep: #1f1610;
  --bs-ink: #201712;
  --bs-muted: rgba(32, 23, 18, 0.62);
  --bs-border: rgba(60, 42, 30, 0.14);
  --bs-bg-warm: radial-gradient(ellipse at top, #ead2ac 0%, #f1e7d6 48%, #d8c3a8 100%);
  --bs-cream-fade: linear-gradient(180deg, #fcfaf5 0%, #e9dcc9 100%);
  --bs-shadow-soft: 0 20px 60px -22px rgba(31, 22, 16, 0.22);
  --bs-shadow-deep: 0 34px 90px -34px rgba(31, 22, 16, 0.48);
  margin: 0;
  background: var(--bs-bg-warm);
  color: var(--bs-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.cr-brand-singular *,
.cr-brand-singular *::before,
.cr-brand-singular *::after {
  box-sizing: border-box;
}

.cr-brand-singular::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cr-brand-singular a {
  color: inherit !important;
  text-decoration: none !important;
}

.cr-brand-singular h1,
.cr-brand-singular h2,
.cr-brand-singular h3,
.cr-brand-logo span {
  font-family: var(--font-display) !important;
  letter-spacing: 0;
}

.cr-brand-singular img {
  display: block;
  max-width: 100%;
}

.cr-mark {
  display: block;
  color: currentColor;
}

.cr-mark-small { width: 28px; height: 28px; }
.cr-mark-card { width: 42px; height: 42px; }
.cr-mark-large { width: clamp(64px, 8vw, 84px); height: clamp(64px, 8vw, 84px); }
.cr-mark-pack { width: 58px; height: 58px; }

.cr-custom-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.cr-brand-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  background: var(--cr-bg, #f5f1e8);
  transition: border-color .35s ease, background .35s ease, backdrop-filter .35s ease;
}

.cr-brand-pill,
.cr-brand-hero-visual figcaption,
.cr-brand-hero-visual aside,
.cr-brand-content,
.cr-brand-identity-card,
.cr-brand-type-card,
.cr-brand-mockup-pack div,
.cr-brand-manifest article {
  border: 1px solid rgba(252, 250, 245, 0.58);
  background: rgba(252, 250, 245, 0.58);
  box-shadow: var(--bs-shadow-soft);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.cr-brand-nav.is-scrolled {
  background: rgba(245, 241, 232, 0.94);
  border-bottom: 1px solid rgba(26, 22, 18, 0.1);
  backdrop-filter: blur(16px);
}

.cr-header-brand {
  max-width: var(--cr-max, 1800px);
  margin-inline: auto;
  padding: 20px var(--cr-pad, clamp(24px, 4vw, 40px)) 12px;
  text-align: center;
  line-height: 1;
  transition: padding .35s ease;
}

.cr-brand-nav.is-scrolled .cr-header-brand {
  padding-top: 12px;
  padding-bottom: 8px;
}

.cr-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.cr-brand-logo span {
  color: var(--cr-ink, #1a1612);
  font-size: clamp(28px, 3vw, 38px);
}

.cr-header-nav {
  border-top: 1px solid rgba(26, 22, 18, 0.15);
  overflow-x: auto;
  scrollbar-width: none;
}

.cr-header-nav::-webkit-scrollbar {
  display: none;
}

.cr-brand-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  padding: 12px var(--cr-pad, clamp(24px, 4vw, 40px));
  color: var(--cr-ink, #1a1612);
  font-size: clamp(12px, 1.1vw, 13px);
  line-height: 1;
  list-style: none;
  white-space: nowrap;
}

.cr-brand-nav a:hover {
  color: var(--cr-accent, #c89464) !important;
}

.cr-brand-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.cr-brand-article {
  padding-top: clamp(140px, 14vw, 170px);
}

.cr-brand-hero,
.cr-brand-content-wrap,
.cr-brand-system,
.cr-brand-mockups,
.cr-brand-manifest,
.cr-brand-footer > div,
.cr-brand-footer > p {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.cr-brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(44px, 6vw, 74px);
  align-items: center;
  padding-bottom: clamp(84px, 10vw, 132px);
}

.cr-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 32px;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--bs-espresso);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.cr-brand-pill span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bs-caramel);
}

.cr-brand-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--bs-espresso-deep);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 300;
  line-height: .96;
  text-wrap: balance;
}

.cr-brand-hero-copy > p {
  max-width: 520px;
  margin: 32px 0 0;
  color: var(--bs-muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
}

.cr-brand-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 32px;
  color: var(--bs-espresso);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cr-brand-hero-visual {
  position: relative;
}

.cr-brand-hero-visual figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 40px;
  box-shadow: var(--bs-shadow-deep);
}

.cr-brand-hero-visual figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cr-brand-hero-visual figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 22, 16, .32), rgba(31, 22, 16, 0));
  pointer-events: none;
}

.cr-brand-hero-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 22px;
  padding: 16px 20px;
}

.cr-brand-hero-visual small,
.cr-brand-identity-card p,
.cr-brand-identity-card small,
.cr-brand-system > div > p,
.cr-brand-type-card small,
.cr-brand-mockup-pack small,
.cr-brand-mockup-pack em,
.cr-brand-manifest > p,
.cr-brand-footer small {
  display: block;
  color: var(--bs-muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.cr-brand-hero-visual strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
}

.cr-brand-hero-visual aside {
  position: absolute;
  top: -24px;
  right: -24px;
  border-radius: 20px;
  padding: 14px 18px;
}

.cr-brand-content-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(72px, 8vw, 120px);
}

.cr-brand-identity-card {
  position: sticky;
  top: 112px;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(32px, 4vw, 50px);
  text-align: center;
}

.cr-brand-identity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bs-cream-fade);
}

.cr-brand-identity-card .cr-mark {
  margin: 30px auto 24px;
}

.cr-brand-identity-card h2 {
  margin: 0;
  color: var(--bs-espresso-deep);
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 300;
  line-height: .9;
}

.cr-brand-identity-card h2 span {
  color: var(--bs-caramel);
  font-style: italic;
}

.cr-brand-identity-card small {
  margin-top: 24px;
  color: var(--bs-caramel);
}

.cr-brand-content {
  border-radius: 34px;
  padding: clamp(32px, 5vw, 64px);
  color: var(--bs-ink);
}

.cr-brand-content > * {
  max-width: 720px;
  margin-inline: auto;
}

.cr-brand-content > :first-child {
  margin-top: 0;
}

.cr-brand-content p,
.cr-brand-content li {
  color: rgba(32, 23, 18, 0.82);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.78;
}

.cr-brand-content h2,
.cr-brand-content h3,
.cr-brand-content h4 {
  color: var(--bs-espresso-deep);
}

.cr-brand-content h2 {
  margin-top: 56px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.cr-brand-content a {
  color: var(--bs-caramel) !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.cr-brand-content img {
  border-radius: 26px !important;
  box-shadow: var(--bs-shadow-soft);
}

.cr-brand-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(72px, 8vw, 120px) 0;
}

.cr-brand-system h2,
.cr-brand-manifest h2 {
  max-width: 620px;
  margin: 0 0 36px;
  color: var(--bs-espresso-deep);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.05;
  text-wrap: balance;
}

.cr-brand-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cr-brand-swatches span {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  padding: 20px;
  background: var(--swatch);
  color: var(--swatch-text);
  box-shadow: var(--bs-shadow-soft);
}

.cr-brand-swatches b {
  align-self: end;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
}

.cr-brand-swatches em {
  font-size: 10px;
  font-style: normal;
  letter-spacing: .24em;
}

.cr-brand-type-card {
  border-radius: 28px;
  padding: 32px;
}

.cr-brand-type-card strong {
  display: block;
  margin-top: 12px;
  color: var(--bs-espresso-deep);
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 104px);
  font-weight: 300;
  line-height: .9;
}

.cr-brand-type-card em {
  display: block;
  margin-top: 8px;
  color: var(--bs-caramel);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-style: italic;
}

.cr-brand-mockups {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
  padding-bottom: clamp(84px, 10vw, 132px);
}

.cr-brand-mockups > div {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--bs-shadow-soft);
}

.cr-brand-mockups img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}

.cr-brand-mockups > div:hover img {
  transform: scale(1.04);
}

.cr-brand-mockup-cup > span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--bs-espresso);
  font-family: var(--font-display);
  font-size: 22px;
  transform: translate(-50%, -50%);
}

.cr-brand-mockup-pack div {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  width: min(58%, 380px);
  border-color: rgba(241, 231, 214, 0.15);
  border-radius: 24px;
  padding: 36px 28px;
  background: rgba(31, 22, 16, 0.54);
  color: var(--bs-cream);
  text-align: center;
  transform: translate(-50%, -50%);
}

.cr-brand-mockup-pack strong {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1;
}

.cr-brand-mockup-pack em {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(241, 231, 214, 0.22);
  color: rgba(241, 231, 214, 0.74);
}

.cr-brand-manifest {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 10vw, 132px) 0;
  color: var(--bs-cream);
  text-align: center;
}

.cr-brand-manifest::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  height: min(760px, 100%);
  margin-top: calc(clamp(80px, 10vw, 132px) * -1);
  background: var(--bs-espresso);
}

.cr-brand-manifest h2 {
  max-width: 900px;
  margin-inline: auto;
  color: var(--bs-cream);
  font-size: clamp(42px, 6vw, 84px);
}

.cr-brand-manifest > p {
  color: var(--bs-crema);
}

.cr-brand-manifest > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

.cr-brand-manifest article {
  border-color: rgba(241, 231, 214, 0.14);
  border-radius: 24px;
  padding: 28px;
  background: rgba(31, 22, 16, 0.42);
  box-shadow: none;
  color: var(--bs-cream);
}

.cr-brand-manifest article span {
  color: var(--bs-crema);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
}

.cr-brand-manifest article h3 {
  margin: 14px 0 10px;
  color: var(--bs-cream);
  font-size: 22px;
  font-weight: 300;
}

.cr-brand-manifest article p {
  margin: 0;
  color: var(--bs-latte);
  font-size: 14px;
  line-height: 1.7;
}

.cr-brand-footer {
  position: relative;
  z-index: 1;
  padding: 64px 0 32px;
  background: var(--bs-espresso-deep);
  color: var(--bs-latte);
}

.cr-brand-footer > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.cr-brand-footer .cr-brand-logo span {
  color: var(--bs-cream);
  font-size: 28px;
}

.cr-brand-footer .cr-mark {
  color: var(--bs-cream);
}

.cr-brand-footer section p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(216, 195, 168, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.cr-brand-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(216, 195, 168, 0.86);
  font-size: 14px;
}

.cr-brand-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cr-brand-footer > p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(241, 231, 214, 0.12);
  color: rgba(216, 195, 168, 0.56);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .cr-brand-hero,
  .cr-brand-content-wrap,
  .cr-brand-system,
  .cr-brand-mockups {
    grid-template-columns: 1fr;
  }

  .cr-brand-identity-card {
    position: static;
  }

  .cr-brand-manifest > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cr-brand-article {
    padding-top: 120px;
  }

  .cr-brand-hero,
  .cr-brand-content-wrap,
  .cr-brand-system,
  .cr-brand-mockups,
  .cr-brand-manifest,
  .cr-brand-footer > div,
  .cr-brand-footer > p {
    width: min(100% - 28px, 1180px);
  }

  .cr-brand-hero-visual figure {
    border-radius: 28px;
  }

  .cr-brand-hero-visual aside {
    right: 14px;
  }

  .cr-brand-content,
  .cr-brand-identity-card {
    border-radius: 26px;
    padding: 28px;
  }

  .cr-brand-swatches {
    grid-template-columns: 1fr;
  }

  .cr-brand-mockups img {
    min-height: 420px;
  }

  .cr-brand-mockup-pack div {
    width: min(76%, 360px);
  }

  .cr-brand-footer > div {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-brand-mockups img {
    transition: none !important;
  }
}
