/*
Theme Name: Complete Pottery Techniques
Theme URI: https://example.com/complete-pottery-techniques
Author: Complete Pottery Techniques
Description: A fast, bilingual, Elementor-ready editorial theme for a pottery education website.
Version: 1.2.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: complete-pottery-techniques
*/

@font-face {
  font-family: "CPT Display";
  src: url("assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: "CPT Persian";
  src: url("assets/fonts/vazirmatn-arabic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --cpt-bg: #f4f0e8;
  --cpt-paper: #fcfaf6;
  --cpt-ink: #232321;
  --cpt-muted: #6e6a63;
  --cpt-clay: #b66e4a;
  --cpt-teal: #3e7a78;
  --cpt-cobalt: #234b78;
  --cpt-line: rgba(35, 35, 33, 0.16);
  --cpt-header-h: 86px;
  --cpt-gutter: clamp(20px, 4vw, 64px);
  --cpt-max: 1440px;
  --cpt-display: "CPT Display", "Arial Narrow", sans-serif;
  --cpt-body: "Helvetica Neue", Arial, sans-serif;
  --cpt-fa: "CPT Persian", Tahoma, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--cpt-bg);
}

body {
  margin: 0;
  color: var(--cpt-ink);
  background: var(--cpt-bg);
  font-family: var(--cpt-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: var(--cpt-fa);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--cpt-cobalt);
  outline-offset: 4px;
}

.screen-reader-text {
  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 {
  z-index: 99999;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  color: #fff;
  background: var(--cpt-cobalt);
}

.cpt-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--cpt-header-h);
  border-bottom: 1px solid var(--cpt-line);
  background: color-mix(in srgb, var(--cpt-paper) 90%, transparent);
  backdrop-filter: blur(16px);
}

.admin-bar .cpt-site-header {
  top: 32px;
}

.cpt-header-inner {
  display: grid;
  grid-template-columns: minmax(175px, 0.7fr) 1.6fr auto;
  align-items: center;
  max-width: var(--cpt-max);
  min-height: var(--cpt-header-h);
  margin: 0 auto;
  padding: 12px var(--cpt-gutter);
  gap: 28px;
}

.cpt-wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  font-family: var(--cpt-display);
  font-size: 12px;
  font-weight: 350;
  line-height: 0.82;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cpt-wordmark strong {
  margin: 3px 0;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0.03em;
}

html[dir="rtl"] .cpt-wordmark {
  direction: ltr;
  text-align: left;
}

.cpt-primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: clamp(18px, 2vw, 34px);
  list-style: none;
}

.cpt-primary-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--cpt-muted);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.04em;
}

html[dir="rtl"] .cpt-primary-nav a {
  font-size: 14px;
  letter-spacing: 0;
}

.cpt-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.cpt-primary-nav a:hover::after,
.cpt-primary-nav .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cpt-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cpt-lang-link,
.cpt-header-cta,
.cpt-menu-toggle {
  min-height: 42px;
  border: 1px solid var(--cpt-line);
  border-radius: 0;
  background: transparent;
}

.cpt-lang-link {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  padding: 8px 10px;
  font-family: var(--cpt-display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.cpt-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  color: var(--cpt-paper);
  border-color: var(--cpt-ink);
  background: var(--cpt-ink);
  font-size: 13px;
  font-weight: 650;
}

.cpt-header-cta:hover {
  color: var(--cpt-ink);
  background: transparent;
}

.cpt-menu-toggle {
  display: none;
  width: 44px;
  padding: 11px;
  cursor: pointer;
}

.cpt-menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--cpt-ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.cpt-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.cpt-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.cpt-site-main {
  min-height: 65vh;
}

.cpt-content-shell {
  max-width: 980px;
  padding: clamp(72px, 10vw, 150px) var(--cpt-gutter);
  margin: 0 auto;
}

.cpt-content-shell h1,
.cpt-entry-title {
  max-width: 14ch;
  margin: 0 0 32px;
  font-family: var(--cpt-display);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 330;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

html[dir="rtl"] .cpt-content-shell h1,
html[dir="rtl"] .cpt-entry-title {
  font-family: var(--cpt-fa);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cpt-site-footer {
  color: #f5f1e9;
  background: var(--cpt-ink);
}

.cpt-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  max-width: var(--cpt-max);
  padding: clamp(64px, 8vw, 116px) var(--cpt-gutter) 36px;
  margin: 0 auto;
  gap: 48px;
}

.cpt-footer-statement {
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(245, 241, 233, 0.68);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
}

.cpt-footer-title {
  margin: 0 0 18px;
  color: rgba(245, 241, 233, 0.52);
  font-family: var(--cpt-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cpt-footer-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.cpt-footer-nav li + li {
  margin-top: 10px;
}

.cpt-footer-nav a {
  color: rgba(245, 241, 233, 0.82);
}

.cpt-footer-nav a:hover {
  color: #fff;
}

.cpt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--cpt-max);
  padding: 24px var(--cpt-gutter);
  margin: 0 auto;
  border-top: 1px solid rgba(245, 241, 233, 0.16);
  color: rgba(245, 241, 233, 0.48);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .cpt-header-inner {
    grid-template-columns: 1fr auto;
  }

  .cpt-primary-nav {
    position: fixed;
    z-index: 999;
    top: var(--cpt-header-h);
    right: 0;
    left: 0;
    visibility: hidden;
    padding: 28px var(--cpt-gutter) 38px;
    border-bottom: 1px solid var(--cpt-line);
    background: var(--cpt-paper);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .cpt-primary-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .cpt-primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .cpt-primary-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--cpt-line);
    font-size: 17px;
  }

  .cpt-menu-toggle {
    display: block;
  }
}

@media (max-width: 760px) {
  :root {
    --cpt-header-h: 74px;
  }

  .admin-bar .cpt-site-header {
    top: 46px;
  }

  .cpt-header-inner {
    min-height: var(--cpt-header-h);
    padding: 10px 18px;
    gap: 14px;
  }

  .cpt-wordmark {
    font-size: 10px;
  }

  .cpt-wordmark strong {
    font-size: 18px;
  }

  .cpt-header-cta {
    display: none;
  }

  .cpt-footer-inner {
    grid-template-columns: 1fr;
    padding-inline: 22px;
    gap: 38px;
  }

  .cpt-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 22px;
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   Typography, responsive hardening, and motion system — v1.1
   -------------------------------------------------------------------------- */

:root {
  --cpt-display: "Poppins", sans-serif;
  --cpt-body: "Poppins", sans-serif;
  --cpt-fa: "IRANSans", "CPT Persian", Tahoma, Arial, sans-serif;
  --cpt-ease-out: cubic-bezier(.16, 1, .3, 1);
  --cpt-shadow-soft: 0 24px 70px rgba(35, 35, 33, 0.1);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--cpt-body);
  font-weight: 400;
}

html[dir="ltr"] body,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select,
html[dir="ltr"] .elementor-widget-heading .elementor-heading-title,
html[dir="ltr"] .elementor-widget-text-editor,
html[dir="ltr"] .elementor-button {
  font-family: "Poppins", sans-serif !important;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .elementor-widget-heading .elementor-heading-title,
html[dir="rtl"] .elementor-widget-text-editor,
html[dir="rtl"] .elementor-button {
  font-family: var(--cpt-fa) !important;
}

.cpt-site-main,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget,
.elementor-widget-container,
.e-con,
.e-con-inner,
.cpt-hero,
.cpt-hero__copy,
.cpt-hero__visual,
.cpt-learning-path,
.cpt-chapters,
.cpt-chapter-mosaic,
.cpt-spotlight,
.cpt-showcase,
.cpt-newsletter,
.cpt-chapter-intro,
.cpt-topic-index {
  max-width: 100%;
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-inline-size: 100%;
}

.cpt-site-header {
  box-shadow: 0 1px 0 rgba(35, 35, 33, 0.04);
}

.cpt-header-inner {
  width: 100%;
}

.cpt-wordmark,
.cpt-primary-nav a,
.cpt-button,
.cpt-header-cta,
.cpt-lang-link {
  font-family: var(--cpt-display);
}

.cpt-primary-nav a {
  font-weight: 500;
}

.cpt-kicker {
  font-weight: 600;
}

.cpt-hero h1,
.cpt-section-heading h2,
.cpt-showcase__heading h2,
.cpt-newsletter h2,
.cpt-spotlight h2,
.cpt-topic-index h2,
.cpt-chapter-card h3 {
  font-family: var(--cpt-display);
}

.cpt-hero h1 {
  font-weight: 300;
}

.cpt-title-line {
  display: block;
  width: fit-content;
  max-width: 100%;
}

html[dir="ltr"] .cpt-title-line:nth-child(2) {
  color: var(--cpt-clay);
  font-weight: 700;
}

html[dir="ltr"] .cpt-title-line:nth-child(3) {
  font-weight: 500;
}

.cpt-button,
.cpt-header-cta,
.cpt-lang-link,
.cpt-chapter-card,
.cpt-path-step,
.cpt-topic-card {
  transition-duration: 360ms;
  transition-timing-function: var(--cpt-ease-out);
}

.cpt-button {
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--cpt-mx, 0), calc(var(--cpt-my, 0) - var(--cpt-lift, 0px)), 0);
  will-change: transform;
}

.cpt-button:hover {
  --cpt-lift: 3px;
}

.cpt-button span:last-child {
  transition: transform 360ms var(--cpt-ease-out);
}

.cpt-button:hover span:last-child {
  transform: translate(3px, -3px);
}

.cpt-chapter-card,
.cpt-path-step,
.cpt-topic-card {
  will-change: transform;
}

.cpt-chapter-card:hover {
  z-index: 2;
  box-shadow: var(--cpt-shadow-soft);
  transform: translateY(-8px);
}

.cpt-path-step:hover,
.cpt-topic-card:hover {
  transform: translateY(-5px);
}

.cpt-hero::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    440px circle at var(--cpt-pointer-x, 72%) var(--cpt-pointer-y, 45%),
    rgba(255, 255, 255, 0.16),
    transparent 62%
  );
  transition: opacity 500ms ease;
}

.cpt-hero:hover::after {
  opacity: 1;
}

.cpt-scroll-progress {
  position: fixed;
  z-index: 10001;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cpt-clay), var(--cpt-teal), var(--cpt-cobalt));
  transform: scaleX(var(--cpt-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

html[dir="rtl"] .cpt-scroll-progress {
  transform-origin: right center;
}

.cpt-back-to-top {
  --cpt-back-progress: 0deg;
  position: fixed;
  z-index: 10000;
  inset-inline-end: clamp(14px, 2.2vw, 30px);
  bottom: clamp(14px, 2.2vw, 30px);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--cpt-paper);
  border: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      var(--cpt-clay) var(--cpt-back-progress),
      rgba(35, 35, 33, 0.16) 0
    );
  box-shadow: 0 14px 34px rgba(35, 35, 33, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.88);
  transition:
    opacity 280ms ease,
    transform 420ms var(--cpt-ease-out),
    box-shadow 280ms ease;
}

.cpt-back-to-top::before {
  position: absolute;
  inset: 4px;
  content: "";
  border-radius: inherit;
  background: var(--cpt-ink);
}

.cpt-back-to-top span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 19px;
  line-height: 1;
  transition: transform 280ms var(--cpt-ease-out);
}

.cpt-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cpt-back-to-top:hover {
  box-shadow: 0 18px 42px rgba(35, 35, 33, 0.28);
  transform: translateY(-3px) scale(1.04);
}

.cpt-back-to-top:hover span {
  transform: translateY(-2px);
}

.cpt-back-to-top:focus-visible {
  outline: 2px solid var(--cpt-cobalt);
  outline-offset: 4px;
}

body.cpt-motion-ready .cpt-motion-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  transition:
    opacity 820ms var(--cpt-ease-out) var(--cpt-delay, 0ms),
    transform 820ms var(--cpt-ease-out) var(--cpt-delay, 0ms);
}

body.cpt-motion-ready .cpt-motion-item.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

body.cpt-motion-ready .cpt-title-line {
  opacity: 0;
  transform: translate3d(0, 105%, 0);
  animation: cpt-title-line-in 960ms var(--cpt-ease-out) forwards;
}

body.cpt-motion-ready .cpt-title-line:nth-child(1) {
  animation-delay: 120ms;
}

body.cpt-motion-ready .cpt-title-line:nth-child(2) {
  animation-delay: 230ms;
}

body.cpt-motion-ready .cpt-title-line:nth-child(3) {
  animation-delay: 340ms;
}

.cpt-showcase__visual > img,
.cpt-spotlight__image img {
  transform: translate3d(0, var(--cpt-scroll-shift, 0px), 0) scale(1.045);
  transition: transform 160ms linear;
  will-change: transform;
}

@keyframes cpt-title-line-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 820px) {
  html,
  body,
  .cpt-site-main,
  .elementor {
    overflow-x: clip;
  }

  .cpt-hero,
  .cpt-chapter-intro {
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .cpt-hero__copy,
  .cpt-chapter-intro__copy {
    min-width: 0;
  }

  .cpt-hero h1,
  .cpt-chapter-intro__copy h1,
  .cpt-section-heading h2,
  .cpt-showcase__heading h2,
  .cpt-newsletter h2,
  .cpt-spotlight h2,
  .cpt-topic-index h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .cpt-learning-path__track,
  .cpt-chapter-mosaic,
  .cpt-step-tabs,
  .cpt-topic-grid {
    min-width: 0;
  }

  .cpt-path-step,
  .cpt-chapter-card,
  .cpt-step-tab,
  .cpt-step-panel,
  .cpt-topic-card {
    min-width: 0;
  }

  .cpt-showcase__visual,
  .cpt-spotlight__image,
  .cpt-hero__visual {
    overflow: clip;
  }
}

@media (max-width: 600px) {
  :root {
    --cpt-gutter: 18px;
  }

  .cpt-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    padding-inline: 16px;
  }

  .cpt-wordmark {
    max-width: 138px;
    white-space: nowrap;
  }

  .cpt-header-actions {
    min-width: 0;
    gap: 7px;
  }

  .cpt-lang-link {
    min-width: 42px;
    padding-inline: 8px;
  }

  .cpt-hero {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .cpt-vertical-label {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .cpt-hero__copy {
    min-height: 470px;
    padding: 54px 18px 42px;
  }

  html[dir="ltr"] .cpt-hero h1 {
    width: 100%;
    font-size: clamp(40px, 12.4vw, 54px);
    line-height: .9;
    letter-spacing: -.055em;
  }

  html[dir="rtl"] .cpt-hero h1 {
    font-size: clamp(39px, 11.8vw, 52px);
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .cpt-hero__lead {
    max-width: 100%;
    margin-top: 26px;
  }

  .cpt-kicker {
    max-width: 100%;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .cpt-button-row {
    width: 100%;
  }

  .cpt-button {
    min-width: 0;
    max-width: 100%;
  }

  .cpt-section-heading h2,
  .cpt-showcase__heading h2,
  .cpt-newsletter h2,
  .cpt-spotlight h2,
  .cpt-topic-index h2 {
    font-size: clamp(38px, 11.5vw, 52px);
    line-height: 1;
  }

  .cpt-step-panel {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 20px 18px;
    gap: 14px;
  }

  .cpt-topic-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-inline: 18px;
  }

  .cpt-newsletter__form,
  .cpt-newsletter__form input,
  .cpt-newsletter__form button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cpt-callout {
    max-width: calc(50% - 18px);
  }

  .cpt-chapter-card:hover,
  .cpt-path-step:hover,
  .cpt-topic-card:hover {
    transform: none;
  }

  .cpt-hero::after {
    display: none;
  }

  .cpt-back-to-top {
    width: 48px;
    height: 48px;
  }
}

@supports not (overflow: clip) {
  html,
  body,
  .cpt-showcase__visual,
  .cpt-spotlight__image,
  .cpt-hero__visual {
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cpt-scroll-progress {
    display: none;
  }

  .cpt-back-to-top {
    transition: none;
  }

  body.cpt-motion-ready .cpt-motion-item,
  body.cpt-motion-ready .cpt-title-line {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .cpt-showcase__visual > img,
  .cpt-spotlight__image img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Editorial Atelier × Living Storyboard — v1.2
   -------------------------------------------------------------------------- */
:root {
  --cpt-bg: #eee7d8;
  --cpt-paper: #faf5eb;
  --cpt-paper-deep: #e2d4be;
  --cpt-ink: #2a211c;
  --cpt-muted: #766b61;
  --cpt-clay: #b54f37;
  --cpt-teal: #356f6c;
  --cpt-cobalt: #224f88;
  --cpt-sand: #d2b288;
  --cpt-line: rgba(42, 33, 28, .18);
  --cpt-shadow-frame: 0 28px 76px rgba(42, 33, 28, .18);
}

body.cpt-editorial-theme {
  background:
    radial-gradient(circle at 18% 8%, rgba(181, 79, 55, .08), transparent 32rem),
    radial-gradient(circle at 84% 34%, rgba(34, 79, 136, .07), transparent 38rem),
    var(--cpt-bg);
}

body.cpt-editorial-theme::before {
  position: fixed;
  z-index: 9998;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .13;
  background-image:
    repeating-linear-gradient(7deg, rgba(42, 33, 28, .08) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(94deg, rgba(255, 255, 255, .24) 0 1px, transparent 1px 11px);
  background-size: 92px 94px, 127px 131px;
  mix-blend-mode: multiply;
}

.cpt-site-header {
  border-bottom-color: rgba(42, 33, 28, .2);
  background: color-mix(in srgb, var(--cpt-bg) 88%, transparent);
}

.cpt-wordmark {
  line-height: .92;
}

.cpt-wordmark strong {
  color: var(--cpt-clay);
}

.cpt-lang-link {
  border-radius: 999px;
}

.cpt-header-cta {
  border-radius: 999px;
  background: var(--cpt-cobalt);
  border-color: var(--cpt-cobalt);
}

.cpt-site-main > .elementor > .e-con {
  position: relative;
  overflow: clip;
}

.cpt-site-main > .elementor > .e-con:nth-child(even)::before {
  position: absolute;
  z-index: 0;
  top: -12px;
  right: -2%;
  left: -2%;
  height: 28px;
  content: "";
  pointer-events: none;
  background: var(--cpt-paper);
  clip-path: polygon(0 35%, 5% 62%, 11% 31%, 18% 58%, 27% 36%, 36% 66%, 47% 32%, 57% 58%, 68% 29%, 79% 62%, 89% 36%, 100% 58%, 100% 100%, 0 100%);
}

.cpt-hero {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(420px, .86fr) minmax(520px, 1.14fr);
  min-height: min(920px, calc(100svh - var(--cpt-header-h)));
  isolation: isolate;
  background:
    linear-gradient(90deg, transparent 0 59%, rgba(255,255,255,.18) 59% 59.1%, transparent 59.1%),
    var(--cpt-bg);
}

.cpt-hero::before {
  position: absolute;
  z-index: -1;
  inset-inline-start: 4.8%;
  bottom: -7vw;
  content: "01";
  color: rgba(181, 79, 55, .1);
  font-family: var(--cpt-display);
  font-size: clamp(280px, 34vw, 580px);
  font-weight: 700;
  line-height: .72;
  pointer-events: none;
}

.cpt-vertical-label {
  z-index: 6;
  display: grid;
  place-items: center;
  border-inline-end: 1px solid var(--cpt-line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.cpt-hero__copy {
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  padding: clamp(78px, 8vw, 136px) clamp(28px, 5vw, 84px);
}

.cpt-hero .cpt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cpt-clay);
}

.cpt-hero .cpt-kicker::before {
  width: 46px;
  height: 2px;
  content: "";
  background: currentColor;
}

.cpt-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 8.2ch;
  margin: 24px 0 0;
  font-size: clamp(74px, 8.5vw, 144px);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

html[dir="rtl"] .cpt-hero h1 {
  max-width: 11ch;
  font-size: clamp(66px, 7.3vw, 118px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none;
}

.cpt-hero__lead {
  max-width: 36ch;
  margin: 34px 0 0;
  color: var(--cpt-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.7;
}

.cpt-button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  gap: 12px;
}

.cpt-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 22px;
  gap: 24px;
  border: 1px solid var(--cpt-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.cpt-button--dark {
  color: var(--cpt-paper);
  background: var(--cpt-clay);
  border-color: var(--cpt-clay);
}

.cpt-button--line:hover {
  color: var(--cpt-paper);
  background: var(--cobalt, var(--cpt-cobalt));
  border-color: var(--cpt-cobalt);
}

.cpt-hero__visual {
  position: relative;
  z-index: 3;
  min-width: 0;
  overflow: visible;
  perspective: 1200px;
}

.cpt-storyboard {
  position: absolute;
  inset: clamp(44px, 5vw, 90px) clamp(22px, 4vw, 72px) 82px 0;
  transform-style: preserve-3d;
}

.cpt-storyboard__frame {
  position: absolute;
  overflow: hidden;
  padding: 12px 12px 48px;
  margin: 0;
  background: var(--cpt-paper);
  border: 1px solid rgba(42, 33, 28, .24);
  border-radius: 5px;
  box-shadow: var(--cpt-shadow-frame);
  transform-origin: center;
  animation: cpt-storyboard-float 7s ease-in-out calc(var(--cpt-story-index) * -1.35s) infinite;
  transition: box-shadow 500ms var(--cpt-ease-out), filter 500ms ease;
}

.cpt-storyboard:hover .cpt-storyboard__frame:not(:hover) {
  filter: saturate(.72) contrast(.92);
}

.cpt-storyboard__frame:hover {
  z-index: 20;
  box-shadow: 0 42px 96px rgba(42, 33, 28, .26);
}

.cpt-storyboard__frame img {
  width: 100%;
  height: calc(100% - 1px);
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.82) contrast(1.06) sepia(.08);
}

.cpt-storyboard__frame figcaption {
  position: absolute;
  right: 14px;
  bottom: 10px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cpt-ink);
  font-family: var(--cpt-display);
  font-size: 11px;
  letter-spacing: .12em;
}

html[dir="rtl"] .cpt-storyboard__frame figcaption {
  font-family: var(--cpt-fa);
  letter-spacing: 0;
}

.cpt-storyboard__frame figcaption span {
  color: var(--cpt-clay);
}

.cpt-storyboard__frame--1 {
  z-index: 4;
  top: 1%;
  left: 3%;
  width: 57%;
  height: 58%;
  transform: rotate(-5deg);
}

.cpt-storyboard__frame--2 {
  z-index: 6;
  top: 14%;
  right: -2%;
  width: 46%;
  height: 48%;
  transform: rotate(6deg);
}

.cpt-storyboard__frame--3 {
  z-index: 8;
  bottom: 0;
  left: 0;
  width: 51%;
  height: 49%;
  transform: rotate(3deg);
}

.cpt-storyboard__frame--4 {
  z-index: 10;
  right: 4%;
  bottom: 2%;
  width: 41%;
  height: 42%;
  transform: rotate(-8deg);
}

.cpt-hero__note {
  z-index: 14;
  right: 16px;
  bottom: 26px;
  color: var(--cobalt, var(--cpt-cobalt));
}

.cpt-scroll-cue {
  z-index: 16;
  right: clamp(22px, 4vw, 64px);
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cpt-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cpt-learning-path,
.cpt-chapters,
.cpt-spotlight,
.cpt-showcase,
.cpt-newsletter {
  position: relative;
  z-index: 1;
}

.cpt-learning-path {
  padding-block: clamp(104px, 12vw, 190px);
  background: var(--cpt-paper);
}

.cpt-section-heading h2,
.cpt-showcase__heading h2,
.cpt-spotlight h2,
.cpt-newsletter h2 {
  letter-spacing: -.055em;
}

.cpt-learning-path__track {
  position: relative;
}

.cpt-learning-path__track::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cpt-clay), var(--cpt-cobalt));
  opacity: .42;
}

.cpt-path-step {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--cpt-paper) 94%, transparent);
  backdrop-filter: blur(8px);
}

.cpt-path-step:nth-child(2) {
  color: var(--cpt-paper);
  background: var(--cpt-cobalt);
  transform: translateY(-14px) rotate(-1deg);
}

.cpt-chapters {
  background:
    linear-gradient(125deg, rgba(181,79,55,.07), transparent 34%),
    var(--cpt-bg);
}

.cpt-chapter-card {
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(42, 33, 28, .08);
}

.cpt-chapter-card:nth-child(2) {
  transform: translateY(42px) rotate(1.2deg);
}

.cpt-chapter-card__image {
  overflow: hidden;
}

.cpt-chapter-card__image img {
  transition: transform 900ms var(--cpt-ease-out), filter 600ms ease;
}

.cpt-chapter-card:hover .cpt-chapter-card__image img {
  transform: scale(1.065) rotate(.5deg);
  filter: saturate(.78) contrast(1.08);
}

.cpt-spotlight {
  clip-path: polygon(0 2%, 8% 0, 16% 2%, 27% .5%, 38% 2.3%, 50% .6%, 62% 2%, 74% .3%, 86% 2%, 100% .7%, 100% 98%, 91% 100%, 78% 98.5%, 65% 100%, 52% 98%, 39% 99.5%, 26% 98%, 13% 100%, 0 98%);
}

.cpt-step-tab {
  transition: color 280ms ease, background 280ms ease, transform 360ms var(--cpt-ease-out);
}

.cpt-step-tab:hover,
.cpt-step-tab.is-active {
  color: var(--cpt-paper);
  background: var(--cpt-clay);
  transform: translateY(-3px);
}

.cpt-showcase__visual {
  border: 14px solid var(--cpt-paper);
  box-shadow: var(--cpt-shadow-frame);
  transform: rotate(-.8deg);
}

.cpt-callout {
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.cpt-newsletter {
  background: var(--cpt-cobalt);
}

.cpt-newsletter__form input,
.cpt-newsletter__form button {
  min-height: 58px;
  border-radius: 999px;
}

.cpt-site-footer {
  position: relative;
  overflow: hidden;
}

.cpt-site-footer::before {
  position: absolute;
  top: -18vw;
  right: -8vw;
  width: 42vw;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(245, 241, 233, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(245, 241, 233, .03), 0 0 0 140px rgba(245, 241, 233, .02);
}

.cpt-clay-cursor {
  position: fixed;
  z-index: 10002;
  top: -18px;
  left: -18px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  border: 1px solid rgba(181, 79, 55, .78);
  border-radius: 47% 53% 55% 45% / 51% 44% 56% 49%;
  mix-blend-mode: multiply;
  transition: width 260ms var(--cpt-ease-out), height 260ms var(--cpt-ease-out), border-color 260ms ease;
  will-change: transform;
}

.cpt-clay-cursor i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cpt-clay);
  transform: translate(-50%, -50%);
}

.cpt-clay-cursor.is-interactive {
  width: 58px;
  height: 58px;
  border-color: var(--cpt-cobalt);
}

@keyframes cpt-storyboard-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@media (max-width: 1180px) {
  .cpt-hero {
    grid-template-columns: 48px minmax(360px, .9fr) minmax(430px, 1.1fr);
  }

  .cpt-hero h1 {
    font-size: clamp(66px, 8vw, 102px);
  }
}

@media (max-width: 900px) {
  .cpt-hero {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: auto;
  }

  .cpt-hero__copy {
    min-height: 620px;
    padding: 72px 7vw 96px;
  }

  .cpt-hero__visual {
    grid-column: 1 / -1;
    min-height: 680px;
    border-top: 1px solid var(--cpt-line);
  }

  .cpt-storyboard {
    inset: 42px 5vw 72px;
  }

  .cpt-scroll-cue {
    display: none;
  }

  .cpt-chapter-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 600px) {
  body.cpt-editorial-theme::before {
    opacity: .08;
  }

  .cpt-site-main,
  .cpt-site-main > .elementor,
  .cpt-site-main > .elementor > .e-con,
  .cpt-hero,
  .cpt-hero__copy,
  .cpt-hero__visual,
  .cpt-storyboard {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .cpt-hero {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .cpt-hero::before {
    inset-inline-start: -7%;
    bottom: 38%;
    font-size: 74vw;
  }

  .cpt-hero__copy {
    min-height: 560px;
    padding: 54px 18px 72px;
  }

  .cpt-hero h1,
  html[dir="ltr"] .cpt-hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 14.3vw, 64px);
    line-height: .87;
    letter-spacing: -.07em;
  }

  html[dir="rtl"] .cpt-hero h1 {
    font-size: clamp(42px, 12.6vw, 56px);
    line-height: 1.08;
  }

  .cpt-hero__lead {
    font-size: 16px;
  }

  .cpt-button-row,
  .cpt-button {
    width: 100%;
  }

  .cpt-hero__visual {
    min-height: 510px;
  }

  .cpt-storyboard {
    inset: 34px -14px 40px 22px;
    overflow: clip;
  }

  .cpt-storyboard__frame {
    padding: 8px 8px 38px;
  }

  .cpt-storyboard__frame--1 {
    top: 2%;
    left: 0;
    width: 73%;
    height: 61%;
  }

  .cpt-storyboard__frame--2 {
    top: 27%;
    right: -4%;
    width: 65%;
    height: 58%;
  }

  .cpt-storyboard__frame--3,
  .cpt-storyboard__frame--4 {
    display: none;
  }

  .cpt-storyboard__frame figcaption {
    right: 10px;
    bottom: 8px;
    left: 10px;
  }

  .cpt-learning-path__track::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 22px;
    width: 2px;
    height: auto;
  }

  html[dir="rtl"] .cpt-learning-path__track::before {
    right: 22px;
    left: auto;
  }

  .cpt-path-step:nth-child(2),
  .cpt-step-tab:hover,
  .cpt-step-tab.is-active {
    transform: none;
  }

  .cpt-spotlight {
    clip-path: none;
  }

  .cpt-showcase__visual {
    border-width: 8px;
    transform: none;
  }

  .cpt-clay-cursor {
    display: none;
  }
}

@supports not (overflow: clip) {
  .cpt-site-main > .elementor > .e-con,
  .cpt-hero,
  .cpt-hero__visual,
  .cpt-storyboard {
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cpt-storyboard__frame {
    animation: none;
  }

  .cpt-clay-cursor {
    display: none;
  }
}
