:root {
  --craftinery-color-violet: #7a3ed1;
  --craftinery-color-violet-deep: #5d26b8;
  --craftinery-color-violet-pale: #eee8fb;
  --craftinery-color-green: #27a37a;
  --craftinery-color-green-pale: #e8f5f0;
  --craftinery-color-pink: #ff4d9a;
  --craftinery-color-ink: #1f1e2b;
  --craftinery-color-ink-soft: #4a4f59;
  --craftinery-color-muted: #626777;
  --craftinery-color-canvas: #f8f9fa;
  --craftinery-color-surface: #ffffff;
  --craftinery-color-surface-soft: #f4f0fb;
  --craftinery-color-border: #e2e4ea;
  --craftinery-focus: #1267c4;
  --craftinery-radius-sm: 12px;
  --craftinery-radius-card: 22px;
  --craftinery-radius-large: 32px;
  --craftinery-shadow-soft: 0 18px 50px rgba(31, 30, 43, 0.08);
  --craftinery-shadow-card: 0 10px 28px rgba(31, 30, 43, 0.07);
  --craftinery-shadow-device: 0 30px 70px rgba(31, 30, 43, 0.2);
  --craftinery-header-height: 76px;
  --wp--preset--font-family--craftinery-display: "Sora", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --wp--preset--font-family--craftinery-text: "Inter", "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--craftinery-header-height) + 22px);
}

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

body {
  overflow-x: clip;
  color: var(--craftinery-color-ink);
  background: var(--craftinery-color-canvas);
  font-family: var(--wp--preset--font-family--craftinery-text);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

:where(a) {
  color: var(--craftinery-color-violet-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

:where(a:hover) {
  color: var(--craftinery-color-ink);
}

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--craftinery-focus);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--craftinery-header-height) + 22px);
}

.craftinery-eyebrow,
.craftinery-product-label {
  margin: 0 0 0.55rem;
  color: var(--craftinery-color-violet-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.craftinery-lead {
  color: var(--craftinery-color-ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.craftinery-section-heading {
  width: min(100%, 740px);
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.craftinery-section-heading h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.craftinery-section-heading p:last-child {
  color: var(--craftinery-color-muted);
}

.craftinery-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.wp-block-button__link,
.craftinery-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  border: 1px solid var(--craftinery-color-violet);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--craftinery-color-violet-deep), #8d4cf1);
  box-shadow: 0 8px 20px rgba(122, 62, 209, 0.22);
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.wp-block-button__link:hover,
.craftinery-nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(122, 62, 209, 0.3);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--craftinery-color-ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--craftinery-color-border);
  box-shadow: 0 5px 16px rgba(31, 30, 43, 0.06);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: var(--craftinery-color-violet-deep);
  border-color: rgba(122, 62, 209, 0.45);
}

.wp-block-button.is-style-text .wp-block-button__link {
  min-height: 44px;
  padding: 0.5rem 0;
  color: var(--craftinery-color-violet-deep);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wp-block-button.is-style-text .wp-block-button__link:hover {
  color: var(--craftinery-color-ink);
  transform: translateX(3px);
}

/* Header */
.craftinery-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--craftinery-header-height);
  padding: 0 1rem;
  border-bottom: 1px solid rgba(226, 228, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(31, 30, 43, 0.04);
  backdrop-filter: blur(16px);
}

.craftinery-header-inner {
  width: min(100%, 1320px);
  min-height: var(--craftinery-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
}

.craftinery-brand,
.craftinery-brand .craftinery-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.craftinery-brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.craftinery-desktop-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.45vw, 1.45rem);
  margin-left: auto;
}

.craftinery-desktop-nav > a:not(.craftinery-nav-cta) {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--craftinery-color-ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.craftinery-desktop-nav > a:not(.craftinery-nav-cta)::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--craftinery-color-violet);
  transition: right 160ms ease;
}

.craftinery-desktop-nav > a:hover::after,
.craftinery-desktop-nav > a:focus-visible::after {
  right: 0;
}

.craftinery-nav-cta {
  min-height: 44px;
  padding: 0.68rem 1rem;
  font-size: 0.88rem;
}

.craftinery-desktop-switcher {
  display: none;
  flex: 0 0 auto;
}

.craftinery-header-social {
  display: none;
  flex: 0 0 auto;
}

.craftinery-social-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.craftinery-social-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--craftinery-color-ink-soft);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.craftinery-social-link:hover,
.craftinery-social-link:focus-visible {
  color: var(--craftinery-color-violet-deep);
  background: var(--craftinery-color-violet-pale);
  transform: translateY(-1px);
}

.craftinery-social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.craftinery-social-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.craftinery-social-link svg path,
.craftinery-social-icon__dot {
  fill: currentColor;
  stroke: none;
}

.craftinery-language-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.craftinery-language-list a,
.craftinery-lang-switcher--neutral {
  min-width: 36px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--craftinery-color-muted);
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  border-radius: 4px;
  box-shadow: inset 0 -2px 0 transparent;
}

.craftinery-language-list .current-lang a {
  color: var(--craftinery-color-violet-deep);
  font-weight: 800;
  box-shadow: inset 0 -2px 0 currentColor;
}

.craftinery-language-list a:hover {
  color: var(--craftinery-color-violet-deep);
}

.craftinery-language-list a:focus-visible {
  color: var(--craftinery-color-violet-deep);
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.craftinery-menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--craftinery-color-border);
  border-radius: 14px;
  color: var(--craftinery-color-ink);
  background: #fff;
  cursor: pointer;
}

.craftinery-menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.craftinery-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.craftinery-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.craftinery-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.craftinery-mobile-nav {
  position: fixed;
  inset: var(--craftinery-header-height) 0 0;
  height: calc(100dvh - var(--craftinery-header-height));
  min-height: calc(100svh - var(--craftinery-header-height));
  z-index: 99;
  padding: 0 1rem 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(31, 30, 43, 0.35);
  backdrop-filter: blur(7px);
}

.craftinery-mobile-nav[hidden] {
  display: none;
}

.craftinery-mobile-nav__panel {
  width: min(100%, 620px);
  min-height: 100%;
  margin-left: auto;
  padding: clamp(1.35rem, 5vw, 2.2rem);
  border: 1px solid var(--craftinery-color-border);
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(145deg, rgba(238, 232, 251, 0.72), transparent 52%),
    #fff;
  box-shadow: 0 24px 65px rgba(31, 30, 43, 0.2);
}

.craftinery-mobile-nav__eyebrow {
  margin: 0 0 1rem;
  color: var(--craftinery-color-violet-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.craftinery-mobile-nav__content {
  display: grid;
  gap: 0.2rem;
}

.craftinery-mobile-nav__content > a:not(.craftinery-nav-cta) {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--craftinery-color-border);
  color: var(--craftinery-color-ink);
  font-size: clamp(1.05rem, 4vw, 1.28rem);
  font-weight: 720;
  text-decoration: none;
}

.craftinery-mobile-nav__content .craftinery-nav-cta {
  width: 100%;
  margin-top: 1rem;
}

.craftinery-mobile-nav__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-top: 1rem;
}

.craftinery-mobile-nav__meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--craftinery-color-muted);
  font-size: 0.9rem;
}

.craftinery-link-pending {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--craftinery-color-muted);
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
  cursor: not-allowed;
}

.craftinery-mobile-nav__meta .craftinery-link-pending {
  min-height: 44px;
  font-size: 0.9rem;
}

.craftinery-social-links--mobile {
  margin-top: 0.75rem;
}

.craftinery-mobile-lang {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--craftinery-color-border);
}

.craftinery-menu-open {
  overflow: hidden;
}

/* Homepage */
.craftinery-home-content {
  margin: 0;
  background: var(--craftinery-color-canvas);
}

.craftinery-home-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.craftinery-home-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 1rem;
}

.craftinery-hero-section {
  min-height: min(810px, calc(100svh - var(--craftinery-header-height)));
  display: grid;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 25%, rgba(122, 62, 209, 0.08), transparent 34%),
    #fff;
}

.craftinery-hero-grid {
  width: min(100%, 1240px);
  gap: clamp(2.5rem, 6vw, 7rem);
}

.craftinery-hero-copy {
  position: relative;
  z-index: 2;
  flex-basis: 52% !important;
}

.craftinery-status-chip {
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: 0.42rem 0.72rem;
  border-radius: 6px;
  color: var(--craftinery-color-violet-deep);
  background: var(--craftinery-color-violet-pale);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.craftinery-hero-title {
  max-width: none;
  margin: 0;
  font-size: clamp(2.75rem, 4.8vw, 4.45rem) !important;
  letter-spacing: -0.065em;
  line-height: 0.99 !important;
}

.craftinery-hero-title span {
  color: var(--craftinery-color-violet);
}

.craftinery-hero-lead {
  max-width: 57ch;
  margin: 1.5rem 0 0;
}

.craftinery-cta-wrap {
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.craftinery-honest-note {
  max-width: 60ch;
  margin: 1.25rem 0 0;
  display: flex;
  gap: 0.6rem;
  color: var(--craftinery-color-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.craftinery-honest-note span {
  color: var(--craftinery-color-violet-deep);
  font-weight: 900;
}

.craftinery-hero-visual-column {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  flex-basis: 48% !important;
}

.craftinery-hero-visual-column::before {
  content: "";
  position: absolute;
  inset: 8% -9% 4% 4%;
  background-image:
    linear-gradient(rgba(122, 62, 209, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 62, 209, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
}

.craftinery-hero-visual-column::after {
  content: "";
  position: absolute;
  inset: 7% -22% -2% -5%;
  background: url("../images/background-brush-light-web.png") center / contain no-repeat;
  transform: rotate(-5deg);
  pointer-events: none;
}

.craftinery-hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  place-items: center;
}

.craftinery-device-frame {
  margin: 0;
}

.craftinery-device-frame img {
  width: auto;
  height: min(590px, 68vh);
  border: 8px solid #202029;
  border-radius: 42px;
  background: #fff;
  box-shadow: var(--craftinery-shadow-device);
}

.craftinery-moment-section {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: linear-gradient(180deg, #f6f2fc, #f8f9fa);
}

.craftinery-moment-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.55rem, 1.15vw, 1.15rem);
  margin: 0;
}

.craftinery-moment-card {
  min-width: 0;
  min-height: 212px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.9rem;
  border: 1px solid rgba(214, 216, 226, 0.96);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 34px rgba(31, 30, 43, 0.085);
}

.craftinery-moment-card::before {
  content: "";
  width: 52px;
  height: 52px;
  margin: 0 auto 0.8rem;
  background: center / contain no-repeat;
}

.craftinery-moment-strip > .craftinery-moment-card:nth-child(1)::before {
  background-image: url("../images/icon-stage-start.svg");
}

.craftinery-moment-strip > .craftinery-moment-card:nth-child(3)::before {
  background-image: url("../images/icon-stage-create.svg");
}

.craftinery-moment-strip > .craftinery-moment-card:nth-child(5)::before {
  background-image: url("../images/icon-stage-pause.svg");
}

.craftinery-moment-strip > .craftinery-moment-card:nth-child(7)::before {
  background-image: url("../images/icon-stage-return.svg");
}

.craftinery-moment-strip > .craftinery-moment-card:nth-child(9)::before {
  background-image: url("../images/icon-stage-ready.svg");
}

.craftinery-moment-card--final {
  border-color: rgba(122, 62, 209, 0.28);
  background: linear-gradient(145deg, #fff, var(--craftinery-color-violet-pale));
}

.craftinery-line-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--craftinery-color-ink-soft);
}

.craftinery-moment-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.craftinery-moment-card p {
  margin: 0;
  color: var(--craftinery-color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.craftinery-step-arrow {
  margin: 0;
  color: var(--craftinery-color-violet-deep);
  font-size: 1.25rem;
  font-weight: 800;
}

.craftinery-scroll-hint {
  display: none;
}

.craftinery-ecosystem-section {
  background: #fff;
}

.craftinery-product-grid {
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.craftinery-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--craftinery-color-border);
  border-radius: var(--craftinery-radius-card);
  box-shadow: var(--craftinery-shadow-card);
}

.craftinery-product-card--app {
  background: linear-gradient(150deg, #fff 0 56%, #f2ecff 100%);
}

.craftinery-product-card--lab {
  color: #f8f9fa;
  background: linear-gradient(145deg, #25222f, #16171d);
  border-color: rgba(255, 255, 255, 0.12);
}

.craftinery-product-copy {
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}

.craftinery-product-copy h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.craftinery-product-copy > p:not(.craftinery-product-label):not(.craftinery-product-state) {
  color: var(--craftinery-color-muted);
}

.craftinery-product-card--lab h3,
.craftinery-product-card--lab .craftinery-product-copy > p:not(.craftinery-product-label):not(.craftinery-product-state) {
  color: #fff;
}

.craftinery-product-card--lab .craftinery-product-label,
.craftinery-product-card--lab .craftinery-product-state,
.craftinery-product-card--lab .is-style-text .wp-block-button__link {
  color: #8ee1c3;
}

.craftinery-product-state {
  margin: 1rem 0 0;
  color: var(--craftinery-color-violet-deep);
  font-size: 0.82rem;
  font-weight: 750;
}

.craftinery-product-proof {
  margin: 0;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
}

.craftinery-product-proof img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.craftinery-product-proof--app img {
  aspect-ratio: 9 / 7;
  object-fit: cover;
  object-position: center 24%;
}

.craftinery-concept-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.craftinery-concept-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.craftinery-product-proof--lab .craftinery-concept-visual img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.craftinery-concept-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  max-width: calc(100% - 1.5rem);
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 30, 43, 0.88);
  box-shadow: 0 6px 20px rgba(31, 30, 43, 0.22);
  font-size: clamp(0.64rem, 1.4vw, 0.76rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.craftinery-gallery-item--wide .craftinery-concept-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.craftinery-gallery-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(39, 163, 122, 0.08), transparent 25%),
    var(--craftinery-color-canvas);
}

.craftinery-gallery-grid {
  align-items: end !important;
  gap: 1rem;
}

.craftinery-gallery-item {
  overflow: hidden;
  padding: 0.75rem;
  border: 1px solid var(--craftinery-color-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--craftinery-shadow-card);
}

.craftinery-gallery-item figure {
  margin: 0;
}

.craftinery-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.craftinery-gallery-item--tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.craftinery-gallery-item--detail img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 22%;
}

.craftinery-gallery-item--wide {
  flex-grow: 1.35 !important;
}

.craftinery-caption {
  margin: 0;
  padding: 0.75rem 0.25rem 0.25rem;
  color: var(--craftinery-color-muted);
  font-size: 0.78rem;
}

.craftinery-development-section {
  background: var(--craftinery-color-violet-pale);
}

.craftinery-development-inner {
  width: min(100%, 1240px);
}

.craftinery-development-grid {
  gap: 0;
  border: 1px solid rgba(122, 62, 209, 0.15);
  border-radius: var(--craftinery-radius-card);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.craftinery-development-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid rgba(122, 62, 209, 0.15);
}

.craftinery-development-card:last-child {
  border-right: 0;
}

.craftinery-development-number {
  margin: 0;
  color: var(--craftinery-color-violet-deep);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.craftinery-development-card h3 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.05rem;
}

.craftinery-development-card p:last-child {
  margin: 0;
  color: var(--craftinery-color-muted);
  font-size: 0.86rem;
}

.craftinery-story-teaser {
  overflow: hidden;
  border-radius: var(--craftinery-radius-large);
  background: #fff;
  box-shadow: var(--craftinery-shadow-soft);
}

.craftinery-story-teaser-grid {
  gap: clamp(2rem, 6vw, 6rem);
}

.craftinery-story-objects {
  position: relative;
  color: var(--craftinery-color-violet-deep);
}

.craftinery-story-objects::before {
  content: "";
  min-height: 280px;
  display: block;
  border-radius: 24px;
  background:
    url("../images/background-brush-light-web.png") center / 86% auto no-repeat,
    radial-gradient(circle at 50% 50%, rgba(122, 62, 209, 0.08), transparent 68%);
  opacity: 0.78;
}

.craftinery-story-objects .craftinery-symbol-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.craftinery-story-objects .craftinery-symbol-link img {
  width: 62px;
  height: auto;
  opacity: 0.86;
}

.craftinery-faq-section {
  background: #fff;
}

.craftinery-faq {
  width: min(100%, 900px);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
}

.craftinery-faq__item {
  margin: 0;
  border-bottom: 1px solid var(--craftinery-color-border);
  background: #fff;
}

.craftinery-faq__item summary {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 1rem 3.5rem 1rem 0;
  cursor: pointer;
  color: var(--craftinery-color-ink);
  font-size: 1rem;
  font-weight: 750;
  list-style: none;
}

.craftinery-faq__item summary::-webkit-details-marker {
  display: none;
}

.craftinery-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--craftinery-color-violet-deep);
  background: var(--craftinery-color-violet-pale);
  font-size: 1.3rem;
  line-height: 1;
}

.craftinery-faq__item[open] summary::after {
  content: "−";
}

.craftinery-faq__item > p {
  margin: 0;
  padding: 0 3.5rem 1.25rem 0;
  color: var(--craftinery-color-muted);
}

.craftinery-waitlist-section {
  overflow: hidden;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border: 1px solid rgba(122, 62, 209, 0.2);
  border-radius: var(--craftinery-radius-large);
  background:
    url("../images/background-brush-light-web.png") 112% 120% / min(55%, 650px) auto no-repeat,
    linear-gradient(140deg, #fff 0 54%, #f0e9fc 100%);
  box-shadow: var(--craftinery-shadow-soft);
}

.craftinery-waitlist-grid {
  gap: clamp(2rem, 6vw, 5rem);
}

.craftinery-waitlist-embed {
  min-height: 920px;
  display: grid;
  align-content: center;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  border: 1px solid rgba(122, 62, 209, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--craftinery-shadow-card);
}

.craftinery-waitlist-embed iframe {
  width: 100%;
  max-width: 100%;
  height: 920px;
  min-height: 920px;
  display: block;
  border: 0;
}

/* Story pages */
.craftinery-story-page {
  margin: 0;
  background: var(--craftinery-color-canvas);
}

.craftinery-story-hero {
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 1rem;
  background:
    url("../images/background-brush-light-web.png") 105% 40% / min(50%, 720px) auto no-repeat,
    #fff;
}

.craftinery-story-hero-inner {
  width: min(100%, 980px);
}

.craftinery-story-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.4rem) !important;
  letter-spacing: -0.065em;
  line-height: 0.98 !important;
}

.craftinery-story-body {
  position: relative;
  width: min(100%, 1180px);
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}

.craftinery-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.craftinery-story-copy {
  max-width: 74ch;
}

.craftinery-story-copy > p {
  margin: 0 0 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.82;
}

.craftinery-story-copy h2 {
  margin: 3.4rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.craftinery-story-copy .wp-block-quote {
  margin: 3rem 0;
  padding: 1.5rem 0 1.5rem clamp(1.25rem, 4vw, 2.5rem);
  border-left: 6px solid var(--craftinery-color-pink);
  color: var(--craftinery-color-violet-deep);
  font-family: var(--wp--preset--font-family--craftinery-display);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  font-weight: 750;
  line-height: 1.15;
}

.craftinery-story-rail {
  position: sticky;
  top: calc(var(--craftinery-header-height) + 2rem);
  height: fit-content;
  padding: 1.5rem;
  border: 1px solid var(--craftinery-color-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--craftinery-shadow-card);
}

.craftinery-story-rail svg {
  color: var(--craftinery-color-violet-deep);
}

.craftinery-story-rail--brush {
  min-height: 290px;
  display: grid;
  place-items: center;
  border: 0;
  background:
    url("../images/background-brush-light-web.png") center / 92% auto no-repeat,
    radial-gradient(circle at 50% 50%, rgba(122, 62, 209, 0.08), transparent 70%);
  box-shadow: none;
}

.craftinery-story-rail--brush .craftinery-symbol-link img {
  width: 64px;
  height: auto;
  opacity: 0.86;
}

.craftinery-story-ending {
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: 28px;
  color: #fff;
  background: var(--craftinery-color-ink);
}

.craftinery-story-ending h2,
.craftinery-story-ending p {
  color: #fff;
}

/* Confirmation and standard pages */
.craftinery-page-main {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.craftinery-confirmation {
  position: relative;
  width: min(100%, 760px);
  min-height: 560px;
  display: grid;
  align-content: center;
  margin: clamp(2rem, 7vw, 6rem) auto;
  padding: clamp(2rem, 7vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--craftinery-color-border);
  border-radius: 32px;
  text-align: center;
  background:
    url("../images/background-brush-light-web.png") 125% 130% / 65% auto no-repeat,
    #fff;
  box-shadow: var(--craftinery-shadow-soft);
}

.craftinery-confirmation .craftinery-logo-link {
  display: inline-flex;
  justify-self: center;
  margin-bottom: 1.5rem;
}

.craftinery-confirmation .craftinery-logo-link img {
  width: auto;
  height: 72px;
}

.craftinery-confirmation h1 {
  margin: 0;
}

.craftinery-confirmation-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--craftinery-color-green);
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(39, 163, 122, 0.24);
}

.craftinery-confirmation .craftinery-lead {
  margin-inline: auto;
}

.craftinery-confirmation .wp-block-buttons {
  justify-content: center;
}

.craftinery-feature-row,
.craftinery-surface-card,
.craftinery-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--craftinery-color-border);
  border-radius: var(--craftinery-radius-card);
  background: #fff;
  box-shadow: var(--craftinery-shadow-card);
}

.craftinery-feature-grid {
  gap: 1rem;
}

.craftinery-404 .craftinery-surface-card {
  max-width: 720px;
  margin: 2rem auto;
}

/* Footer */
.craftinery-site-footer {
  padding: clamp(2.5rem, 5vw, 4rem) 1rem 1.5rem;
  color: #f7f7fa;
  background:
    radial-gradient(circle at 8% 0, rgba(122, 62, 209, 0.3), transparent 30%),
    #17181d;
}

.craftinery-footer-grid {
  width: min(100%, 1240px);
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(150px, 0.7fr));
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0 auto;
}

.craftinery-footer-brand .craftinery-symbol-link {
  display: inline-flex;
}

.craftinery-footer-brand img {
  width: 54px;
  height: 55px;
  object-fit: contain;
}

.craftinery-footer-brand p {
  max-width: 36ch;
  margin: 1rem 0 0;
  color: #c8c9d0;
  font-size: 0.92rem;
}

.craftinery-footer-heading {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.craftinery-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.craftinery-footer-grid > .wp-block-shortcode {
  display: contents;
}

.craftinery-footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: #c8c9d0;
  font-size: 0.9rem;
  text-decoration: none;
}

.craftinery-footer-links .craftinery-link-pending {
  color: #aeb0b9;
  font-size: 0.9rem;
}

.craftinery-footer-links > p:not(.craftinery-footer-heading) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.craftinery-footer-brand > p:empty {
  display: none;
}

.craftinery-footer-links a:hover {
  color: #fff;
}

.craftinery-social-links--footer {
  margin-top: 0.5rem;
}

.craftinery-footer-copy {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.craftinery-footer-copy p {
  margin: 0;
  color: #aeb0b9;
  font-size: 0.8rem;
}

.craftinery-footer-copy .craftinery-language-list a,
.craftinery-footer-copy .craftinery-lang-switcher--neutral {
  color: #d9dae0;
}

.craftinery-footer-copy .craftinery-language-list .current-lang a {
  color: #fff;
  box-shadow: inset 0 -2px 0 #b78cff;
}

@media (min-width: 1181px) {
  .craftinery-desktop-nav,
  .craftinery-desktop-switcher,
  .craftinery-header-social {
    display: flex;
  }

  .craftinery-header-inner {
    gap: clamp(0.55rem, 1vw, 1rem);
  }

  .craftinery-desktop-nav {
    gap: clamp(0.55rem, 1vw, 1rem);
  }

  .craftinery-menu-toggle {
    display: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --craftinery-header-height: 70px;
  }

  .craftinery-brand img {
    height: 46px;
  }

  .craftinery-hero-grid {
    gap: 2rem;
  }

  .craftinery-hero-visual-column {
    min-height: 500px;
  }

  .craftinery-device-frame img {
    height: min(500px, 62vh);
  }
}

@media (min-width: 901px) {
  .craftinery-hero-copy {
    flex-basis: 49% !important;
  }

  .craftinery-hero-visual-column {
    min-height: 620px;
    flex-basis: 51% !important;
  }

  .craftinery-hero-visual-column::before {
    inset: 6% -12% 2% 0;
    background-size: 36px 36px;
  }

  .craftinery-hero-visual-column::after {
    inset: 3% -20% -5% -9%;
  }

  .craftinery-device-frame img {
    height: min(570px, 70vh);
  }
}

@media (max-width: 900px) {
  .craftinery-home-section {
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }

  .craftinery-hero-section {
    min-height: auto;
  }

  .craftinery-hero-grid,
  .craftinery-story-teaser-grid,
  .craftinery-waitlist-grid {
    flex-direction: column;
  }

  .craftinery-hero-copy,
  .craftinery-hero-visual-column,
  .craftinery-story-teaser-grid > .wp-block-column,
  .craftinery-waitlist-grid > .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
  }

  .craftinery-hero-copy {
    max-width: 700px;
  }

  .craftinery-hero-visual-column {
    min-height: 470px;
  }

  .craftinery-hero-visual-column::before {
    inset: 8% 8% 2%;
  }

  .craftinery-device-frame img {
    height: 460px;
  }

  .craftinery-moment-strip {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-inline: -1rem;
    padding: 0.2rem 1rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--craftinery-color-violet) transparent;
  }

  .craftinery-moment-card {
    flex: 0 0 min(72vw, 235px);
    min-height: 190px;
    scroll-snap-align: start;
  }

  .craftinery-step-arrow {
    display: none;
  }

  .craftinery-scroll-hint {
    display: block;
    margin: 0.6rem 0 0;
    color: var(--craftinery-color-muted);
    font-size: 0.8rem;
  }

  .craftinery-product-grid,
  .craftinery-gallery-grid,
  .craftinery-development-grid {
    flex-direction: column;
  }

  .craftinery-product-grid > .wp-block-column,
  .craftinery-gallery-grid > .wp-block-column,
  .craftinery-development-grid > .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
  }

  .craftinery-development-grid {
    gap: 0;
  }

  .craftinery-development-card {
    border-right: 0;
    border-bottom: 1px solid rgba(122, 62, 209, 0.15);
  }

  .craftinery-development-card:last-child {
    border-bottom: 0;
  }

  .craftinery-story-layout {
    grid-template-columns: 1fr;
  }

  .craftinery-story-objects::before {
    min-height: 300px;
    background-size: min(86%, 420px) auto, auto;
  }

  .craftinery-story-rail {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .craftinery-footer-links a {
    min-height: 44px;
    min-width: 44px;
  }

  .craftinery-mobile-nav .wp-block-button__link {
    min-height: 44px;
  }

  :root {
    --craftinery-header-height: 66px;
  }

  body {
    font-size: 16px;
  }

  .craftinery-site-header {
    padding-inline: 0.75rem;
  }

  .craftinery-brand img {
    height: 42px;
  }

  .craftinery-menu-toggle {
    width: 46px;
    height: 46px;
  }

  .craftinery-mobile-nav {
    padding: 0;
  }

  .craftinery-mobile-nav__panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 22px 22px;
  }

  .craftinery-home-section {
    padding-inline: 1rem;
  }

  .craftinery-hero-section {
    padding-top: 2.4rem;
  }

  .craftinery-hero-title {
    max-width: none;
    font-size: clamp(2.55rem, 12vw, 3.35rem) !important;
  }

  .craftinery-hero-lead {
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .craftinery-cta-wrap,
  .craftinery-cta-wrap .wp-block-button,
  .craftinery-cta-wrap .wp-block-button__link {
    width: 100%;
  }

  .craftinery-hero-visual-column {
    min-height: 385px;
  }

  .craftinery-hero-visual-column::before {
    inset: 8% -12% 0 8%;
    background-size: 28px 28px;
  }

  .craftinery-hero-visual-column::after {
    inset: 0 -35% -8% -22%;
  }

  .craftinery-device-frame img {
    height: 365px;
    border-width: 6px;
    border-radius: 30px;
  }

  .craftinery-section-heading--center {
    text-align: left;
  }

  .craftinery-section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .craftinery-product-copy {
    padding: 1.35rem;
  }

  .craftinery-product-proof {
    padding: 0 1rem 1rem;
  }

  .craftinery-story-teaser,
  .craftinery-waitlist-section {
    border-radius: 22px;
  }

  .craftinery-story-objects {
    transform: none;
  }

  .craftinery-story-objects svg {
    max-height: 230px;
  }

  .craftinery-waitlist-section {
    margin-inline: 0.75rem !important;
  }

  .craftinery-waitlist-embed {
    min-height: 1550px;
    padding: 0.25rem;
  }

  .craftinery-waitlist-embed iframe {
    height: 1550px;
    min-height: 1550px;
  }

  .craftinery-faq__item summary {
    min-height: 72px;
    padding-right: 3rem;
  }

  .craftinery-story-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem) !important;
  }

  .craftinery-story-copy > p {
    font-size: 1.02rem;
  }

  .craftinery-confirmation {
    min-height: 500px;
    margin-inline: 0.75rem;
    border-radius: 24px;
  }

  .craftinery-confirmation .craftinery-logo-link img {
    height: 58px;
  }

  .craftinery-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .craftinery-footer-brand {
    grid-column: 1 / -1;
  }

  .craftinery-footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {

  .craftinery-waitlist-embed,
  .craftinery-waitlist-embed iframe {
    height: 1900px;
    min-height: 1900px;
  }

  .craftinery-brand img {
    height: 38px;
  }

  .craftinery-hero-title {
    font-size: 2.42rem !important;
  }

  .craftinery-device-frame img {
    height: 330px;
  }

  .craftinery-hero-visual-column {
    min-height: 350px;
  }
}

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

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

/* Homepage content and App carousel — v0.3.6 */
.craftinery-problem-section,
.craftinery-app-practice-section,
.craftinery-gallery-section--carousel,
.craftinery-products-section {
  display: grid;
  grid-template-columns: minmax(0, 1180px);
  justify-content: center;
}

.craftinery-problem-section {
  background:
    radial-gradient(circle at 90% 16%, rgba(123, 55, 218, 0.08), transparent 27%),
    #fff;
}

.craftinery-value-grid,
.craftinery-feature-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.craftinery-value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.craftinery-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.craftinery-value-card,
.craftinery-feature-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.3vw, 1.8rem);
  border: 1px solid rgba(44, 34, 66, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(45, 32, 75, 0.08);
}

.craftinery-value-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--craftinery-color-violet-deep);
  background: var(--craftinery-color-violet-pale);
  font-weight: 700;
}

.craftinery-value-card h3,
.craftinery-feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.craftinery-value-card p,
.craftinery-feature-card p {
  margin: 0;
  color: var(--craftinery-color-muted);
}

.craftinery-app-practice-section {
  background:
    radial-gradient(circle at 8% 82%, rgba(39, 163, 122, 0.1), transparent 25%),
    var(--craftinery-color-canvas);
}

.craftinery-feature-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--craftinery-color-violet);
}

.craftinery-gallery-section--carousel {
  overflow: hidden;
}

.craftinery-carousel {
  min-width: 0;
}

.craftinery-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.craftinery-carousel__arrow,
.craftinery-carousel__dots button,
.craftinery-carousel__dialog-close {
  display: inline-grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(44, 34, 66, 0.16);
  border-radius: 50%;
  color: var(--craftinery-color-ink);
  background: #fff;
  cursor: pointer;
}

.craftinery-carousel__arrow {
  font-size: 1.2rem;
}

.craftinery-carousel__arrow:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.craftinery-carousel__status {
  min-width: 4rem;
  margin: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.craftinery-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 1.25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(123, 55, 218, 0.45) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.craftinery-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.craftinery-carousel__slide {
  min-width: 0;
  margin: 0;
  padding: clamp(0.75rem, 1.5vw, 1rem);
  scroll-snap-align: start;
  border: 1px solid rgba(44, 34, 66, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(45, 32, 75, 0.09);
}

.craftinery-carousel__media {
  display: grid;
  width: 100%;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #f5f1fb, #fff);
  cursor: zoom-in;
}

.craftinery-carousel__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 13;
  object-fit: contain;
  object-position: center;
}

.craftinery-carousel__slide figcaption {
  min-height: 3.2rem;
  padding: 0.9rem 0.25rem 0.15rem;
  color: var(--craftinery-color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.craftinery-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  margin-top: 0.5rem;
}

.craftinery-carousel__dots button {
  border-color: transparent;
  background: transparent;
}

.craftinery-carousel__dots button span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(44, 34, 66, 0.28);
  transition: width 160ms ease, background-color 160ms ease;
}

.craftinery-carousel__dots button[aria-current="true"] span {
  width: 22px;
  background: var(--craftinery-color-violet);
}

.craftinery-carousel__arrow:focus-visible,
.craftinery-carousel__dots button:focus-visible,
.craftinery-carousel__media:focus-visible,
.craftinery-carousel__dialog-close:focus-visible,
.craftinery-carousel__track:focus-visible {
  outline: 3px solid var(--craftinery-color-violet);
  outline-offset: 3px;
}

.craftinery-carousel__dialog {
  width: min(92vw, 620px);
  max-height: 92vh;
  padding: 1rem;
  border: 0;
  border-radius: 28px;
  color: var(--craftinery-color-ink);
  background: #fff;
  box-shadow: 0 32px 90px rgba(20, 14, 34, 0.35);
}

.craftinery-carousel__dialog::backdrop {
  background: rgba(20, 14, 34, 0.72);
  backdrop-filter: blur(4px);
}

.craftinery-carousel__dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 7rem);
  margin: 0 auto;
  object-fit: contain;
}

.craftinery-carousel__dialog p {
  margin: 0.75rem 3rem 0 0;
  color: var(--craftinery-color-muted);
}

.craftinery-carousel__dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 1;
}

.craftinery-product-grid--status {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

.craftinery-product-grid--status .craftinery-product-card {
  min-width: 0;
}

.craftinery-faq-page {
  width: min(100% - 2rem, 920px);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.craftinery-page-heading {
  margin-bottom: 2.5rem;
}

.craftinery-page-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.craftinery-faq-page__section + .craftinery-faq-page__section {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.craftinery-faq-page__section > h2 {
  margin-bottom: 1.5rem;
}

.craftinery-faq-more {
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .craftinery-value-grid,
  .craftinery-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .craftinery-carousel__track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .craftinery-product-grid--status {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .craftinery-value-grid,
  .craftinery-feature-grid {
    grid-template-columns: 1fr;
  }

  .craftinery-carousel__controls {
    justify-content: center;
  }

  .craftinery-carousel__track {
    grid-auto-columns: 86%;
    gap: 0.8rem;
    margin-right: -1rem;
    padding-right: 1rem;
  }

  .craftinery-carousel__slide figcaption {
    min-height: 3.65rem;
  }
}

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

  .craftinery-carousel__dots button span {
    transition: none;
  }
}
