@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-arabic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-arabic-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-arabic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-arabic-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #f15a24;
  --brand-dark: #d94713;
  --brand-soft: #fff1eb;
  --ink: #0b0b0c;
  --ink-soft: #303034;
  --muted: #6d6d72;
  --line: #e6e6e3;
  --paper: #ffffff;
  --canvas: #f5f5f2;
  --canvas-deep: #ecece8;
  --success: #197a4a;
  --danger: #b83b2e;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 10px 30px rgba(11, 11, 12, 0.06);
  --shadow-md: 0 24px 70px rgba(11, 11, 12, 0.1);
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(241, 90, 36, 0.42);
  outline-offset: 3px;
}

.page-shell {
  width: min(100% - 40px, 1360px);
  max-width: 1360px;
  margin-inline: auto;
}

.site-main {
  min-height: 60vh;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: #ff8a61;
}

.btn-brand,
.btn-outline-brand,
.btn-ghost-light {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.btn-brand {
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(241, 90, 36, 0.24);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-dark);
  box-shadow: 0 16px 34px rgba(241, 90, 36, 0.32);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  border-color: rgba(11, 11, 12, 0.28);
  background: transparent;
  color: var(--ink);
}

.btn-outline-brand:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.arrow-link span {
  color: var(--brand);
  font-size: 1.25em;
  transition: transform 180ms ease;
}

.arrow-link:hover span {
  transform: translateX(-4px);
}

.announcement-bar {
  position: relative;
  z-index: 1100;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
}

.announcement-bar .page-shell {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announcement-bar a {
  color: #ff956f;
  font-weight: 600;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(160%);
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.site-header.is-sticky {
  border-color: rgba(11, 11, 12, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 36px rgba(11, 11, 12, 0.07);
}

.site-header__inner {
  display: grid;
  min-height: var(--header-height);
  align-items: center;
  grid-template-columns: 180px 1fr auto;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 150px;
  height: 48px;
  object-fit: contain;
  object-position: right center;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 30px);
}

.primary-nav > a {
  position: relative;
  padding: 25px 2px 22px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav > a::after {
  position: absolute;
  inset: auto 50% 13px;
  width: 0;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: translateX(50%);
  transition: width 180ms ease;
}

.primary-nav > a:hover,
.primary-nav > a.is-active {
  color: var(--ink);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
  width: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.header-icon:hover {
  border-color: var(--ink);
  background: var(--canvas);
}

.header-icon svg,
.journal-search svg,
.article-share svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-support {
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-support:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.store-hero {
  position: relative;
  min-height: min(780px, calc(100svh - 113px));
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.store-hero__image,
.store-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.store-hero__image {
  object-fit: cover;
  object-position: center;
  animation: hero-arrive 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.store-hero__veil {
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.1) 0%, rgba(4, 4, 5, 0.35) 45%, rgba(4, 4, 5, 0.88) 100%),
    linear-gradient(0deg, rgba(4, 4, 5, 0.62) 0%, transparent 38%);
}

.store-hero__content {
  position: relative;
  display: flex;
  min-height: min(780px, calc(100svh - 113px));
  align-items: center;
  padding-block: 90px 150px;
}

.store-hero__copy {
  width: min(690px, 58%);
}

.store-hero h1 {
  max-width: 680px;
  margin: 18px 0 20px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.04;
  text-wrap: balance;
}

.store-hero__copy > p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  position: absolute;
  inset: auto 0 34px;
  display: grid;
  width: min(760px, 70%);
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(12, 12, 13, 0.36);
  backdrop-filter: blur(14px);
}

.hero-proof > div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 17px 24px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-proof > div:last-child {
  border-inline-end: 0;
}

.hero-proof strong {
  color: #fff;
  font-size: 1.35rem;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
}

.hero-scroll {
  position: absolute;
  inset: auto auto 38px 4vw;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  writing-mode: vertical-rl;
}

.hero-scroll i {
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.hero-scroll i::after {
  display: block;
  width: 100%;
  height: 50%;
  background: #fff;
  content: "";
  animation: scroll-pulse 1.7s ease-in-out infinite;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip .page-shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(12px, 2vw, 30px);
  border-inline-end: 1px solid var(--line);
}

.trust-item:first-child {
  border-inline-start: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
  place-items: center;
}

.trust-item div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.trust-item strong {
  font-size: 0.9rem;
}

.trust-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-main,
.catalog-page,
.category-page,
.product-page,
.journal-shell,
.article-page {
  background: var(--paper);
}

.home-section {
  padding-block: clamp(80px, 10vw, 150px);
}

.home-section--soft {
  background: var(--canvas);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
}

.section-heading p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.collection-card {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.collection-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.collection-card img,
.collection-card .media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.collection-card:hover img {
  transform: scale(1.045);
}

.collection-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 6, 7, 0.88), rgba(6, 6, 7, 0.02) 68%);
}

.collection-card__body {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 48px);
}

.collection-card__body strong {
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.2;
}

.collection-card__body small {
  max-width: 560px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.collection-card__body i {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #fff;
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 700;
}

.collection-card__body b {
  color: var(--brand);
  font-size: 1.2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.store-product {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.store-product__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.88;
  border-radius: var(--radius-md);
  background: var(--canvas-deep);
}

.store-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.store-product:hover .store-product__media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  z-index: 2;
  inset: 14px 14px auto auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.product-image-disclosure {
  position: absolute;
  z-index: 2;
  inset: auto auto 12px 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.72);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.product-placeholder,
.media-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(241, 90, 36, 0.28), transparent 38%),
    linear-gradient(145deg, #1d1d20, #060607);
  color: #fff;
}

.product-placeholder span,
.media-fallback span {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: normal;
}

.product-placeholder small {
  max-width: 80%;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.store-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 4px 2px;
}

.product-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.product-kicker span {
  color: var(--brand-dark);
  font-size: 0.69rem;
  font-weight: 700;
}

.product-kicker span + span::before {
  margin-inline-end: 7px;
  color: #c6c6c2;
  content: "•";
}

.store-product h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

.store-product h3 a {
  text-decoration: none;
}

.store-product h3 a::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.store-product__body > p {
  display: -webkit-box;
  min-height: 3.25em;
  margin: 7px 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-product__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.store-product__foot strong {
  font-size: 0.84rem;
}

.store-product__foot span {
  color: var(--muted);
  font-size: 0.7rem;
}

.manifesto-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(241, 90, 36, 0.26), transparent 30%),
    var(--ink);
  color: #fff;
}

.manifesto-section::after {
  position: absolute;
  inset: -28% auto auto -8%;
  color: rgba(255, 255, 255, 0.035);
  content: "361°";
  font-size: 28vw;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1;
  pointer-events: none;
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(90px, 12vw, 170px);
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 8vw, 130px);
}

.manifesto-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  letter-spacing: normal;
  line-height: 1.2;
}

.manifesto-copy p {
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.04rem;
  line-height: 2.1;
}

.manifesto-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-block-start: 1px solid rgba(255, 255, 255, 0.18);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}

.manifesto-metrics div {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.18);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.18);
}

.manifesto-metrics strong {
  color: var(--brand);
  font-size: 2.3rem;
  letter-spacing: normal;
}

.manifesto-metrics span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.home-journal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-story {
  position: relative;
  min-width: 0;
}

.home-story__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.22;
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.home-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.home-story:hover img {
  transform: scale(1.04);
}

.home-story__body {
  padding-top: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.article-meta > * + *::before {
  margin-inline-end: 12px;
  color: #c7c7c4;
  content: "•";
}

.article-meta a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.home-story h3 {
  margin: 10px 0 8px;
  font-size: 1.1rem;
  line-height: 1.65;
}

.home-story h3 a {
  text-decoration: none;
}

.home-story h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.home-story__body > p {
  display: -webkit-box;
  min-height: 3.4em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-story__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.73rem;
}

.home-story__foot a {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.home-story__foot a span {
  color: var(--brand);
}

.service-cta {
  padding-block: 36px 90px;
}

.service-cta .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(35px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: var(--canvas);
}

.service-cta h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  letter-spacing: normal;
}

.service-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.service-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb-nav {
  padding-block: 24px;
}

.breadcrumb {
  display: flex;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
}

.breadcrumb-item + .breadcrumb-item {
  padding-inline: 0.55rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-inline: 0 0.8rem;
  color: #bbb;
  content: "/";
}

.breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--brand-dark);
}

.breadcrumb-item.active {
  max-width: min(48vw, 520px);
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-page,
.category-page,
.product-page {
  padding-bottom: clamp(80px, 10vw, 150px);
}

.catalog-intro {
  display: grid;
  max-width: 1000px;
  padding-block: clamp(45px, 7vw, 95px);
}

.catalog-intro h1,
.category-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.08;
}

.catalog-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.catalog-category__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.65;
  background: var(--canvas);
}

.catalog-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.catalog-category:hover img {
  transform: scale(1.04);
}

.catalog-category__body {
  padding: clamp(24px, 4vw, 38px);
}

.catalog-category h2 {
  margin: 0 0 7px;
  font-size: 1.8rem;
}

.catalog-category h2 a {
  text-decoration: none;
}

.catalog-category p {
  margin: 0;
  color: var(--muted);
}

.category-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.category-quicklinks a,
.pill-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 0.77rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.category-quicklinks a:hover,
.pill-list a:hover {
  background: var(--ink);
  color: #fff;
}

.category-quicklinks span {
  color: var(--brand);
}

.category-hero {
  display: grid;
  overflow: hidden;
  min-height: 500px;
  align-items: stretch;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.category-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 80px);
}

.category-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.category-hero__copy > p {
  margin: 0;
  color: var(--muted);
}

.category-hero__count {
  margin-top: 28px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-hero__media {
  min-height: 400px;
}

.category-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcategory-rail {
  display: grid;
  margin-block: 28px 90px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.subcategory-rail a {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  border-inline-end: 1px solid var(--line);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.subcategory-rail a:hover {
  background: var(--ink);
  color: #fff;
}

.subcategory-rail span {
  font-weight: 700;
}

.subcategory-rail small {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.subcategory-rail a:hover small {
  color: rgba(255, 255, 255, 0.65);
}

.subcategory-rail i {
  position: absolute;
  inset: auto auto 18px 20px;
  color: var(--brand);
  font-style: normal;
}

.filter-hint {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
}

.filter-hint:hover {
  border-color: var(--ink);
}

.catalog-filters {
  margin-bottom: 34px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.catalog-filters__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.catalog-filters__heading > div {
  display: grid;
  gap: 2px;
}

.catalog-filters__heading strong {
  font-size: 1rem;
}

.catalog-filters__heading span {
  color: var(--muted);
  font-size: 0.72rem;
}

.catalog-filters__heading a {
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.catalog-filters__controls {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
  gap: 10px;
}

.catalog-filters label {
  display: grid;
  gap: 6px;
}

.catalog-filters label > span {
  padding-inline: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.catalog-filters select {
  width: 100%;
  min-height: 48px;
  padding: 8px 13px;
  border: 1px solid #d8d8d3;
  border-radius: 12px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.catalog-filters select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.14);
}

.catalog-filters__submit {
  min-height: 48px;
  white-space: nowrap;
}

.empty-state {
  padding: clamp(50px, 8vw, 100px) 30px;
  border: 1px dashed #cfcfca;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  text-align: center;
}

.empty-state > span {
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.empty-state h2 {
  margin: 10px 0 6px;
  font-size: 1.8rem;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--muted);
}

.generic-state {
  display: grid;
  min-height: min(720px, 72vh);
  padding-block: clamp(48px, 9vw, 120px);
  place-items: center;
}

.generic-state .page-shell {
  width: 100%;
}

.generic-state__card {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(34px, 7vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 10%, rgba(241, 90, 36, 0.14), transparent 28%),
    var(--canvas);
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.08);
}

.generic-state__card::after {
  position: absolute;
  inset: 18px auto auto 22px;
  color: rgba(10, 10, 10, 0.035);
  content: "361°";
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 800;
  line-height: 0.8;
  pointer-events: none;
}

.generic-state__card > * {
  position: relative;
  z-index: 1;
}

.generic-state__card h1 {
  max-width: 650px;
  margin: 12px 0 14px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: normal;
  line-height: 1.2;
}

.generic-state__card > p {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 2;
}

.generic-state__reference {
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.75rem;
}

.search-page {
  padding-bottom: clamp(70px, 10vw, 130px);
}

.search-hero {
  max-width: 980px;
  padding-block: clamp(54px, 9vw, 112px) clamp(42px, 6vw, 72px);
}

.search-hero h1 {
  margin: 13px 0 8px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  letter-spacing: normal;
  line-height: 1.15;
}

.search-hero > p {
  margin: 0;
  color: var(--muted);
}

.site-search-form {
  display: grid;
  margin-top: 30px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-search-form input {
  min-width: 0;
  padding: 11px 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.site-search-form input::placeholder {
  color: #939398;
}

.site-search-form .btn-brand {
  min-height: 48px;
}

.search-section + .search-section {
  margin-top: clamp(65px, 9vw, 110px);
}

.search-count {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.search-result {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  grid-template-columns: 180px minmax(0, 1fr);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.search-result:hover {
  border-color: #c8c8c3;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.search-result__media {
  min-height: 180px;
  overflow: hidden;
  background: var(--canvas);
}

.search-result__media img,
.search-result__media .media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result__copy {
  display: flex;
  min-width: 0;
  padding: 20px;
  flex-direction: column;
}

.search-result__copy > span {
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 700;
}

.search-result__copy h3 {
  margin: 7px 0 5px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.search-result__copy h3 a {
  text-decoration: none;
}

.search-result__copy h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.search-result__copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result__copy strong {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.75rem;
}

.product-overview {
  display: grid;
  align-items: start;
  padding-top: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
  gap: clamp(40px, 7vw, 100px);
}

.product-gallery {
  position: sticky;
  top: 105px;
}

.product-gallery__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.02;
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.product-gallery__stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-image-note {
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  backdrop-filter: blur(8px);
}

.product-placeholder--large {
  min-height: 100%;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-gallery__thumbs button {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--canvas);
}

.product-gallery__thumbs button:hover,
.product-gallery__thumbs button.is-active {
  border-color: var(--brand);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary {
  padding-block: clamp(20px, 3vw, 42px);
}

.product-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-labels span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-brand {
  margin: 22px 0 4px;
  color: var(--muted);
  font-weight: 600;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
  letter-spacing: normal;
  line-height: 1.12;
}

.style-code {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.style-code bdi {
  color: var(--ink);
  font-weight: 600;
}

.product-lead {
  margin: 22px 0 0;
  color: var(--muted);
}

.product-price {
  margin: 22px 0 26px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 700;
}

.variant-section {
  margin-top: 26px;
}

.variant-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.variant-title span,
.variant-title a {
  color: var(--muted);
  font-size: 0.72rem;
}

.variant-title a {
  color: var(--brand-dark);
  font-weight: 600;
}

.color-options,
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.color-options > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
}

.color-options i,
.table-swatch {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #ccc;
}

.size-options > span {
  display: grid;
  width: 50px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  place-items: center;
}

.size-options > span.is-unavailable {
  position: relative;
  border-color: var(--line);
  color: #aaa;
  background:
    linear-gradient(to top left, transparent calc(50% - 1px), #ccc, transparent calc(50% + 1px));
}

.variant-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.purchase-readiness {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #f1d2c6;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
}

.purchase-readiness > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(241, 90, 36, 0.12);
}

.purchase-readiness p {
  margin: 8px 0 18px;
  color: #744333;
  font-size: 0.78rem;
}

.purchase-readiness .btn-brand {
  width: 100%;
}

.product-assurances {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.76rem;
}

.product-assurances li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-assurances li span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 700;
  place-items: center;
}

.product-information {
  display: grid;
  margin-top: clamp(80px, 10vw, 150px);
  padding-block: clamp(55px, 7vw, 90px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 130px);
  border-block: 1px solid var(--line);
}

.product-description h2,
.specification-panel h2,
.variant-table-section h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  letter-spacing: normal;
}

.product-description p {
  margin: 0;
  color: var(--muted);
  line-height: 2.1;
}

.specification-panel dl {
  margin: 0;
}

.specification-panel dl > div {
  display: grid;
  padding-block: 13px;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.specification-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.specification-panel dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.variant-table-section {
  padding-top: clamp(70px, 9vw, 120px);
}

.variant-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.variant-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.78rem;
}

.variant-table th,
.variant-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.variant-table th {
  background: var(--canvas);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.variant-table tbody tr:last-child td {
  border-bottom: 0;
}

.variant-table td:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.stock-label.is-in {
  background: #e6f5ed;
  color: var(--success);
}

.stock-label.is-out {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.journal-shell {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.journal-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(40px, 7vw, 95px) 38px;
}

.journal-header h1 {
  margin: 12px 0 10px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  letter-spacing: normal;
  line-height: 1;
}

.journal-header p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.journal-search {
  display: flex;
  width: min(100%, 410px);
  min-height: 54px;
  align-items: center;
  padding-inline: 19px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.journal-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.1);
}

.journal-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.journal-search input::placeholder {
  color: #999;
}

.journal-search button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  place-items: center;
}

.journal-categories {
  display: flex;
  gap: 8px;
  padding-block: 16px;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  scrollbar-width: none;
}

.journal-categories::-webkit-scrollbar {
  display: none;
}

.journal-categories a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.journal-categories a span {
  display: grid;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--canvas-deep);
  color: var(--muted);
  font-size: 0.64rem;
  place-items: center;
}

.journal-categories a:hover,
.journal-categories a.is-active {
  background: var(--ink);
  color: #fff;
}

.journal-categories a.is-active span {
  background: var(--brand);
  color: #fff;
}

.journal-feature {
  display: grid;
  margin-block: 42px clamp(70px, 9vw, 120px);
  overflow: hidden;
  grid-template-columns: 1.15fr 0.85fr;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}

.journal-feature__media {
  display: block;
  min-height: 500px;
  overflow: hidden;
}

.journal-feature__media img,
.journal-feature__media .media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.journal-feature:hover img {
  transform: scale(1.035);
}

.journal-feature__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 6vw, 76px);
}

.journal-feature .article-meta {
  color: rgba(255, 255, 255, 0.58);
}

.feature-label {
  margin-top: 30px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
}

.journal-feature h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: normal;
  line-height: 1.35;
}

.journal-feature h2 a {
  color: #fff;
  text-decoration: none;
}

.journal-feature p {
  display: -webkit-box;
  margin: 0 0 25px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.journal-feature .arrow-link {
  color: #fff;
}

.journal-content {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 90px);
}

.result-count {
  color: var(--muted);
  font-size: 0.78rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 20px;
}

.journal-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  position: relative;
  min-width: 0;
}

.article-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.42;
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.article-card__media img,
.article-card__media .media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.article-card:hover img {
  transform: scale(1.04);
}

.article-card__body {
  padding-top: 18px;
}

.article-card h3 {
  margin: 10px 0 9px;
  font-size: 1.18rem;
  line-height: 1.65;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.article-card__body > p {
  display: -webkit-box;
  min-height: 3.5em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.article-card__foot a {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.article-card__foot span {
  color: var(--brand);
}

.journal-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.aside-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.aside-card h2 {
  margin: 10px 0 16px;
  font-size: 1.15rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-cloud a {
  display: inline-flex;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--canvas);
  color: var(--ink-soft);
  font-size: 0.7rem;
  text-decoration: none;
}

.tag-cloud a:hover,
.tag-cloud a.is-active {
  background: var(--brand);
  color: #fff;
}

.tag-cloud small {
  opacity: 0.65;
}

.aside-card--dark {
  border: 0;
  background:
    radial-gradient(circle at 0 0, rgba(241, 90, 36, 0.36), transparent 48%),
    var(--ink);
  color: #fff;
}

.aside-card--dark h2 {
  font-size: 1.45rem;
  line-height: 1.5;
}

.aside-card--dark p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.aside-card--dark a {
  color: #ff8a61;
  font-size: 0.76rem;
  font-weight: 700;
}

.rss-link {
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

.rss-link span {
  font-weight: 700;
}

.rss-link small {
  opacity: 0.7;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pagination-arrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination-pages a,
.pagination-pages span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 0.75rem;
  text-decoration: none;
  place-items: center;
}

.pagination-pages a:hover,
.pagination-pages a.is-active {
  background: var(--ink);
  color: #fff;
}

.article-page {
  padding-bottom: 0;
}

.article-hero {
  display: grid;
  align-items: center;
  padding-block: 26px clamp(65px, 9vw, 120px);
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 7vw, 100px);
}

.article-hero__copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.5rem, 5.2vw, 5.3rem);
  letter-spacing: normal;
  line-height: 1.23;
  text-wrap: balance;
}

.article-hero__copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-byline__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  place-items: center;
}

.article-byline strong {
  display: block;
  font-size: 0.82rem;
}

.article-byline div div {
  color: var(--muted);
  font-size: 0.7rem;
}

.article-hero__media {
  overflow: hidden;
  aspect-ratio: 1.14;
  border-radius: var(--radius-lg);
  background: var(--canvas);
}

.article-hero__media img,
.article-hero__media .media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  align-items: start;
  padding-bottom: clamp(70px, 10vw, 140px);
  grid-template-columns: 70px minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(25px, 4vw, 60px);
}

.article-share {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.article-share > span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  writing-mode: vertical-rl;
}

.article-share a,
.article-share button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
  place-items: center;
}

.article-share a:hover,
.article-share button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.article-prose {
  color: #252529;
  font-size: 1.03rem;
  line-height: 2.25;
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose h2 {
  margin: 2.2em 0 0.7em;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: normal;
  line-height: 1.5;
}

.article-prose h3 {
  margin: 1.8em 0 0.6em;
  color: var(--ink);
  font-size: 1.3rem;
}

.article-prose p {
  margin: 0 0 1.25em;
}

.article-prose a {
  color: var(--brand-dark);
  font-weight: 600;
}

.article-prose ul,
.article-prose ol {
  margin-block: 1.2em;
  padding-inline-start: 1.5em;
}

.article-prose li {
  margin-bottom: 0.55em;
}

.article-prose blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-inline-start: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-soft);
  color: #673725;
}

.article-prose img {
  width: 100%;
  margin-block: 2em;
  border-radius: var(--radius-md);
}

.article-prose table {
  width: 100%;
  margin-block: 2em;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.article-prose th,
.article-prose td {
  padding: 12px;
  border: 1px solid var(--line);
}

.article-prose th {
  background: var(--canvas);
}

.article-disclaimer {
  margin-top: 45px;
  padding: 22px 25px;
  border: 1px solid #ecd8c9;
  border-radius: var(--radius-md);
  background: #fffaf6;
}

.article-disclaimer strong {
  color: var(--brand-dark);
}

.article-disclaimer p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.article-tags a {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--canvas);
  font-size: 0.72rem;
  text-decoration: none;
}

.article-side-note {
  position: sticky;
  top: 120px;
}

.article-side-note > div {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--canvas);
}

.article-side-note h2 {
  margin: 10px 0 9px;
  font-size: 1.25rem;
  line-height: 1.55;
}

.article-side-note p {
  color: var(--muted);
  font-size: 0.76rem;
}

.article-side-note a {
  display: block;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.article-side-note a:hover {
  color: var(--brand-dark);
}

.related-section {
  padding-block: clamp(70px, 9vw, 120px);
  background: var(--canvas);
}

.hero-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: clamp(28px, 5vw, 60px);
  background:
    radial-gradient(circle at 5% 0, rgba(241, 90, 36, 0.12), transparent 30%),
    #fff;
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem) !important;
  letter-spacing: normal;
}

.content-card {
  padding: clamp(26px, 5vw, 54px);
}

.content-card .lh-lg {
  line-height: 2.2 !important;
}

.content-card .lh-lg h2 {
  margin-top: 1.7em;
  font-size: 1.6rem;
}

.content-card .lh-lg a {
  color: var(--brand-dark);
}

.form-control,
.form-select {
  min-height: 50px;
  border-color: var(--line);
  border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.22rem rgba(241, 90, 36, 0.12);
}

.btn-dark {
  border-color: var(--ink);
  border-radius: 999px;
  background: var(--ink);
}

.btn-dark:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.card-soft {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.category-card-media,
.project-card-media,
.blog-card-media {
  overflow: hidden;
  aspect-ratio: 1.5;
  background: var(--canvas);
}

.category-card-media img,
.project-card-media img,
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-item {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--canvas);
}

.site-footer {
  padding-block: clamp(65px, 9vw, 110px) 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(241, 90, 36, 0.18), transparent 27%),
    var(--ink);
  color: #fff;
}

.footer-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-lead h2 {
  margin: 13px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  letter-spacing: normal;
}

.footer-grid {
  display: grid;
  padding-block: 55px;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: clamp(32px, 5vw, 80px);
}

.footer-brand img {
  width: 160px;
  height: 52px;
  object-fit: contain;
  object-position: right center;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer-note {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.46) !important;
}

.footer-grid h3 {
  margin: 0 0 17px;
  font-size: 0.86rem;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li,
.footer-grid a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: #fff;
}

.contact-list li {
  display: flex;
  flex-direction: column;
}

.contact-list li span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
}

.contact-list p {
  margin: 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.social-links a {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.toast-message {
  position: fixed;
  z-index: 2000;
  inset: auto 50% 24px auto;
  min-width: min(340px, calc(100vw - 40px));
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: var(--shadow-md);
  color: #fff;
  font-size: 0.78rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast-message.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-arrive {
  from {
    opacity: 0.55;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(220%);
  }
}

@media (max-width: 1199.98px) {
  .site-header__inner {
    grid-template-columns: 155px 1fr auto;
    gap: 18px;
  }

  .primary-nav {
    gap: 13px;
  }

  .primary-nav > a {
    font-size: 0.84rem;
  }

  .product-grid,
  .home-journal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid > :nth-child(n + 7),
  .home-journal-grid > :nth-child(n + 4) {
    display: none;
  }

  .subcategory-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 60px minmax(0, 1fr) 230px;
    gap: 28px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 68px;
  }

  .page-shell {
    width: min(100% - 30px, 1360px);
  }

  .announcement-bar .page-shell {
    justify-content: center;
  }

  .announcement-bar a {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .site-brand {
    justify-self: center;
  }

  .site-logo {
    width: 128px;
    height: 42px;
  }

  .primary-nav {
    position: absolute;
    inset: 68px 0 auto;
    display: grid;
    max-height: 0;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 250ms ease,
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .primary-nav.is-open {
    max-height: 420px;
    padding-block: 12px;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav > a {
    padding: 11px 22px;
  }

  .primary-nav > a::after {
    display: none;
  }

  .header-support {
    display: none;
  }

  .store-hero,
  .store-hero__content {
    min-height: 720px;
  }

  .store-hero__copy {
    width: min(720px, 90%);
  }

  .store-hero__veil {
    background:
      linear-gradient(90deg, rgba(4, 4, 5, 0.15), rgba(4, 4, 5, 0.8)),
      linear-gradient(0deg, rgba(4, 4, 5, 0.72), transparent 50%);
  }

  .hero-proof {
    width: calc(100% - 30px);
  }

  .hero-scroll {
    display: none;
  }

  .trust-strip .page-shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-inline-start: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .manifesto-metrics {
    max-width: 680px;
  }

  .product-grid,
  .home-journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid > :nth-child(n + 7),
  .home-journal-grid > :nth-child(n + 4) {
    display: flex;
  }

  .service-cta .page-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filters__controls {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .catalog-filters__submit {
    width: 100%;
  }

  .category-hero {
    grid-template-columns: 1fr;
  }

  .category-hero__media {
    order: -1;
    min-height: auto;
    aspect-ratio: 1.7;
  }

  .product-overview {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .product-information {
    grid-template-columns: 1fr;
  }

  .journal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .journal-search {
    width: 100%;
  }

  .journal-feature {
    grid-template-columns: 1fr;
  }

  .journal-feature__media {
    min-height: auto;
    aspect-ratio: 1.6;
  }

  .journal-content {
    grid-template-columns: 1fr;
  }

  .journal-aside {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .rss-link {
    grid-column: 1 / -1;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .article-hero__media {
    order: -1;
    aspect-ratio: 1.65;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .article-share {
    position: static;
    flex-direction: row;
    grid-column: 1 / -1;
  }

  .article-share > span {
    margin: 0 0 0 7px;
    writing-mode: horizontal-tb;
  }

  .journal-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 767.98px) {
  .store-hero,
  .store-hero__content {
    min-height: 690px;
  }

  .store-hero__content {
    align-items: flex-start;
    padding-block: 80px 170px;
  }

  .store-hero__copy {
    width: 100%;
  }

  .store-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof > div {
    min-height: 65px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-proof > div:last-child {
    border-bottom: 0;
  }

  .hero-proof span {
    font-size: 0.69rem;
  }

  .trust-strip {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card,
  .collection-card__link {
    min-height: 430px;
  }

  .product-grid,
  .home-journal-grid,
  .journal-grid,
  .journal-grid--related {
    grid-template-columns: 1fr;
  }

  .product-grid > :nth-child(n + 5),
  .home-journal-grid > :nth-child(n + 4) {
    display: none;
  }

  .store-product__media {
    aspect-ratio: 1.15;
  }

  .manifesto-metrics div {
    min-height: 130px;
  }

  .service-cta__actions {
    width: 100%;
  }

  .service-cta__actions a {
    flex: 1;
  }

  .category-hero {
    min-height: 0;
  }

  .catalog-filters__controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filters__submit {
    grid-column: 1 / -1;
  }

  .subcategory-rail {
    display: flex;
    margin-bottom: 65px;
    overflow-x: auto;
    border-inline-start: 0;
    scrollbar-width: none;
  }

  .subcategory-rail a {
    width: 220px;
    flex: 0 0 auto;
    border-inline-start: 1px solid var(--line);
  }

  .product-overview {
    gap: 24px;
  }

  .product-summary h1 {
    font-size: 2.6rem;
  }

  .journal-feature__media {
    aspect-ratio: 1.25;
  }

  .journal-feature__content {
    padding: 30px 25px 38px;
  }

  .journal-aside {
    grid-template-columns: 1fr;
  }

  .rss-link {
    grid-column: auto;
  }

  .pagination-pages a,
  .pagination-pages span {
    width: 32px;
    height: 32px;
  }

  .pagination-arrow {
    font-size: 0;
  }

  .pagination-arrow::after {
    font-size: 1.2rem;
    content: "←";
  }

  .pagination-arrow:first-child::after {
    content: "→";
  }

  .article-hero__media {
    aspect-ratio: 1.25;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side-note {
    position: static;
  }

  .article-prose {
    font-size: 0.98rem;
  }

  .footer-lead {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 479.98px) {
  .page-shell {
    width: min(100% - 22px, 1360px);
  }

  .announcement-bar {
    font-size: 0.7rem;
  }

  .header-icon {
    width: 38px;
    height: 38px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-proof {
    width: calc(100% - 22px);
  }

  .collection-card,
  .collection-card__link {
    min-height: 360px;
  }

  .manifesto-metrics div {
    min-height: 112px;
    padding: 17px;
  }

  .manifesto-metrics strong {
    font-size: 1.7rem;
  }

  .catalog-intro h1,
  .category-hero h1 {
    font-size: 2.8rem;
  }

  .catalog-filters__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filters__controls {
    grid-template-columns: 1fr;
  }

  .catalog-filters__submit {
    grid-column: auto;
  }

  .site-search-form {
    align-items: stretch;
    border-radius: var(--radius-md);
    grid-template-columns: 1fr;
  }

  .site-search-form input {
    min-height: 52px;
  }

  .search-result {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .search-result__media {
    min-height: 168px;
  }

  .search-result__copy {
    padding: 15px;
  }

  .category-hero__copy {
    padding: 28px 22px 34px;
  }

  .product-gallery__stage {
    aspect-ratio: 0.95;
    border-radius: var(--radius-md);
  }

  .specification-panel dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .journal-header h1 {
    font-size: 3.4rem;
  }

  .journal-feature {
    border-radius: var(--radius-md);
  }

  .journal-feature h2 {
    font-size: 1.8rem;
  }

  .article-hero__copy h1 {
    font-size: 2.35rem;
  }

  .article-byline {
    align-items: flex-start;
  }

  .article-prose {
    line-height: 2.1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid > :last-child {
    grid-column: auto;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement-bar,
  .site-header,
  .site-footer,
  .article-share,
  .article-side-note,
  .related-section {
    display: none !important;
  }

  .article-layout,
  .article-hero {
    display: block;
  }

  .article-hero__media {
    max-height: 380px;
    margin-bottom: 30px;
  }
}
