/* Olight storefront: editorial layout and responsive component styling. */
:root {
  --o-radius-card: 1.15rem;
  --o-shadow-soft: 0 16px 42px color-mix(in srgb, var(--color-olight-ink) 8%, transparent);
  --o-shadow-hover: 0 24px 52px color-mix(in srgb, var(--color-olight-ink) 15%, transparent);
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
::selection { background: var(--color-olight-gold); color: var(--o-on-gold, #fff); }

#root > .announcement-bar {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: .45rem 1rem;
  background: var(--o-deep, #32101a);
  color: var(--o-deep-text, #fff);
  font-size: .68rem;
  letter-spacing: .01em;
}
.announcement-bar p { margin: 0; }
.announcement-star { color: var(--o-hero-accent, var(--color-olight-gold)); }
.announcement-bar a { display: inline-flex; align-items: center; gap: .4rem; color: var(--o-hero-accent, var(--color-olight-gold)); font-weight: 700; text-decoration: none; }
.announcement-bar a span { transition: transform .2s ease; }
.announcement-bar a:hover span { transform: translateX(-3px); }

#root > header {
  border-color: var(--o-line, rgba(0,0,0,.08));
  background: color-mix(in srgb, var(--o-surface, #fff) 93%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
#root > header > div:first-child { min-height: 76px; padding-block: .6rem; }
#root > header a[href="#home"] img { width: auto; max-width: 145px; }
#root > header .size-10 { width: 2.65rem; height: 2.65rem; }
#root > header button[aria-label="باز کردن منو"],
#root > header button[aria-label="بستن منو"] { border-color: var(--o-line); background: var(--o-surface); }
#root > header nav[aria-label="پیمایش اصلی"] { gap: .15rem; }
#root > header nav[aria-label="پیمایش اصلی"] a { padding-inline: .75rem; }
#root > header nav[aria-label="پیمایش اصلی"] a[aria-current="true"] { color: var(--color-olight-gold); }
#root > header #search-panel { border-color: var(--o-line); background: var(--o-surface); }

.hero-section { max-width: 90rem; margin-inline: auto; padding: clamp(.75rem, 2.2vw, 2rem) clamp(1rem, 4vw, 3.5rem) 0; }
.hero-frame {
  position: relative;
  display: grid;
  min-height: min(42rem, calc(100svh - 8.5rem));
  min-height: max(33rem, min(42rem, calc(100svh - 8.5rem)));
  grid-template-columns: 1fr 1.06fr;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--o-hero-text) 10%, transparent);
  border-radius: clamp(1.15rem, 2.2vw, 2rem);
  background: var(--o-hero);
  color: var(--o-hero-text);
  box-shadow: var(--o-shadow-soft);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.3rem, 5.7vw, 5.8rem);
}
.hero-copy::before { position: absolute; inset: 1.25rem; border: 1px solid color-mix(in srgb, var(--o-hero-text) 13%, transparent); border-radius: 1.1rem; content: ""; pointer-events: none; }
.hero-eyebrow, .section-kicker { margin: 0; color: var(--o-hero-accent, var(--color-olight-gold)); font-size: .76rem; font-weight: 700; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .65rem; letter-spacing: .03em; }
.hero-eyebrow span { font-size: 1rem; }
.hero-copy h1 {
  max-width: 10.5ch;
  margin: 1.2rem 0 0;
  color: var(--o-hero-text);
  font-size: clamp(2.8rem, 5.2vw, 5.3rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -.045em;
}
.hero-copy h1 em { color: var(--o-hero-accent, var(--color-olight-gold)); font-style: normal; }
.hero-description { max-width: 29rem; margin: 1rem 0 0; color: var(--o-hero-muted); font-size: clamp(.9rem, 1.1vw, 1.02rem); line-height: 2.1; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-block-start: 1.7rem; }
.hero-primary, .hero-secondary { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.hero-primary { padding: .75rem 1.35rem; background: var(--o-hero-btn); color: var(--o-hero-btn-text); box-shadow: 0 9px 26px color-mix(in srgb, var(--o-hero-btn) 25%, transparent); }
.hero-primary:hover { transform: translateY(-2px); background: var(--o-hero-btn-hover); color: var(--o-hero-btn-text); box-shadow: 0 13px 30px color-mix(in srgb, var(--o-hero-btn) 30%, transparent); }
.hero-primary span { font-size: 1.1rem; }
.hero-secondary { color: var(--o-hero-text); }
.hero-secondary:hover { color: var(--o-hero-accent); }
.hero-signature { display: flex; align-items: center; gap: .6rem; margin-block-start: 2rem; color: color-mix(in srgb, var(--o-hero-text) 65%, transparent); font-size: .72rem; }
.hero-signature span:first-child { color: var(--o-hero-accent); font-size: 1rem; }
.hero-visual { position: relative; min-height: 100%; overflow: hidden; background: var(--color-olight-sand); }
.hero-visual > img { display: block; width: 100%; height: 100%; min-height: 33rem; object-fit: cover; object-position: 53% center; animation: hero-image-arrive .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, color-mix(in srgb, var(--o-hero) 18%, transparent), transparent 24%), linear-gradient(0deg, rgba(17,12,10,.29), transparent 36%); pointer-events: none; }
.hero-photo-note { position: absolute; inset-inline-start: clamp(1rem, 2.4vw, 2rem); inset-block-end: clamp(1rem, 2.4vw, 2rem); display: flex; min-width: 10.5rem; flex-direction: column; gap: .15rem; padding: .85rem 1.1rem; border: 1px solid rgba(255,255,255,.48); border-radius: .9rem; background: rgba(250,247,240,.82); color: #302723; box-shadow: 0 9px 30px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.hero-photo-note span { font-size: .65rem; color: #796b5e; }
.hero-photo-note strong { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; letter-spacing: .14em; }
.hero-photo-index { position: absolute; inset-inline-start: clamp(1rem, 2.4vw, 2rem); inset-block-start: clamp(1rem, 2.4vw, 2rem); display: inline-flex; align-items: center; gap: .5rem; color: #fff; font: 500 .7rem Georgia, serif; letter-spacing: .12em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-photo-index i { display: block; width: 2rem; height: 1px; background: currentColor; opacity: .7; }

.trust-strip { display: grid; max-width: 80rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding: 1.7rem clamp(1rem, 4vw, 3rem); border-bottom: 1px solid var(--o-line); }
.trust-mark { display: flex; min-width: 0; align-items: center; gap: .85rem; padding: .55rem 1.25rem; }
.trust-mark + .trust-mark { border-inline-start: 1px solid var(--o-line); }
.trust-mark-icon { display: grid; width: 2.7rem; height: 2.7rem; flex: none; place-items: center; border: 1px solid color-mix(in srgb, var(--color-olight-gold) 25%, var(--o-line)); border-radius: 50%; color: var(--color-olight-gold); font-size: 1.05rem; }
.trust-mark h2 { margin: 0; font-size: .8rem; font-weight: 700; }
.trust-mark p { margin: .3rem 0 0; color: var(--color-olight-muted); font-size: .68rem; line-height: 1.7; }

.collection-section { padding: clamp(4rem, 7vw, 6.8rem) 1rem; }
.section-shell, #journal > div, .featured-container { width: min(100%, 80rem); margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-block-end: 1.9rem; }
.section-heading h2, .atelier-copy h2 { margin: .45rem 0 0; color: var(--color-olight-ink); font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 600; line-height: 1.5; letter-spacing: -.035em; }
.section-kicker { display: block; color: var(--color-olight-gold); }
.section-link { display: inline-flex; align-items: center; gap: .5rem; padding-block-end: .25rem; color: var(--color-olight-ink); font-size: .77rem; font-weight: 700; text-decoration: none; }
.section-link span { color: var(--color-olight-gold); transition: transform .2s ease; }
.section-link:hover span { transform: translateX(-4px); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.category-card { display: grid; min-width: 0; grid-template-columns: 4.1rem minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--o-line); border-radius: 1rem; background: var(--o-surface); color: var(--color-olight-ink); text-decoration: none; box-shadow: 0 5px 20px color-mix(in srgb, var(--color-olight-ink) 3%, transparent); transition: transform .23s ease, border-color .23s ease, background-color .23s ease, box-shadow .23s ease; }
.category-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--color-olight-gold) 48%, var(--o-line)); box-shadow: var(--o-shadow-soft); }
.category-art { display: grid; width: 4.1rem; height: 4.1rem; place-items: center; overflow: hidden; border-radius: .8rem; background: radial-gradient(circle at 30% 28%, #fff9f0, color-mix(in srgb, var(--color-olight-gold) 18%, var(--color-olight-sand))); color: var(--color-olight-gold); }
.category-card-1 .category-art, .category-card-4 .category-art { background: radial-gradient(circle at 30% 28%, #fff, color-mix(in srgb, #a98b70 20%, var(--color-olight-sand))); }
.category-card-2 .category-art, .category-card-5 .category-art { background: radial-gradient(circle at 30% 28%, #fff, color-mix(in srgb, var(--color-olight-gold) 12%, var(--color-olight-paper))); }
.category-art img { width: 68%; height: 68%; object-fit: contain; mix-blend-mode: multiply; }
.category-art-symbol { font-family: Georgia, serif; font-size: 2rem; }
.category-name { overflow: hidden; font-size: .84rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.category-arrow { color: var(--color-olight-gold); font-size: 1rem; transition: transform .2s ease; }
.category-card:hover .category-arrow { transform: translateX(-4px); }

#featured.featured-section { padding: clamp(4.5rem, 7vw, 7rem) 1rem; background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--color-olight-gold) 9%, transparent), transparent 38rem), color-mix(in srgb, var(--color-olight-paper) 72%, var(--color-olight-sand)); }
#featured .featured-container { padding-inline: 0; }
#featured .featured-heading { align-items: end; margin-block-end: 2.25rem; }
#featured .featured-copy { max-width: 44rem; }
#featured .featured-eyebrow { font-size: .75rem; letter-spacing: .01em; }
#featured .featured-title { margin-block-start: .5rem; font-size: clamp(2rem, 3.3vw, 2.9rem); line-height: 1.5; letter-spacing: -.035em; }
#featured .featured-description { margin-block-start: .5rem; font-size: .88rem; line-height: 2; }
#featured .featured-filter-area { align-items: flex-start; }
#featured .featured-filter-caption { padding-inline-start: .4rem; color: var(--color-olight-muted); font-size: .72rem; }
#featured .featured-filters { gap: .25rem; padding: .32rem; border: 1px solid var(--o-line); border-radius: 999px; background: var(--o-surface); box-shadow: 0 8px 24px color-mix(in srgb, var(--color-olight-ink) 6%, transparent); }
#featured .featured-filter { min-height: 2.5rem; padding-inline: 1rem; border-color: transparent; color: var(--color-olight-muted); font-size: .72rem; }
#featured .featured-filter[aria-pressed="true"] { background: var(--o-btn); color: var(--o-btn-text); box-shadow: 0 5px 14px color-mix(in srgb, var(--color-olight-gold) 18%, transparent); }
#featured .featured-grid { gap: 1rem; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--o-line); border-radius: var(--o-radius-card); background: var(--o-surface); box-shadow: 0 9px 28px color-mix(in srgb, var(--color-olight-ink) 5%, transparent); transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease; }
.product-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--color-olight-gold) 40%, var(--o-line)); box-shadow: var(--o-shadow-hover); }
.product-card-media { position: relative; aspect-ratio: 1 / 1.06; overflow: hidden; background: radial-gradient(circle at 50% 36%, var(--o-surface), var(--color-olight-sand)); }
.product-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card-media > img { transform: scale(1.055); }
.product-card-badge { position: absolute; inset-block-start: .85rem; inset-inline-start: .85rem; padding: .4rem .65rem; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; background: color-mix(in srgb, var(--o-surface) 86%, transparent); color: var(--color-olight-ink); font-size: .63rem; font-weight: 700; backdrop-filter: blur(10px); }
.product-image-fallback { display: grid; width: 100%; height: 100%; place-items: center; color: var(--color-olight-gold); }
.product-image-fallback span { display: grid; width: 5rem; height: 5rem; place-items: center; border: 1px solid color-mix(in srgb, var(--color-olight-gold) 45%, transparent); border-radius: 50%; font: 3rem Georgia, serif; }
.product-card-details { display: flex; flex: 1; flex-direction: column; padding: 1rem 1rem .95rem; }
.product-card-category { margin: 0; color: var(--color-olight-muted); font-size: .68rem; }
.product-card-name { display: -webkit-box; min-height: 3.1rem; margin: .35rem 0 .55rem; overflow: hidden; color: var(--color-olight-ink); font-size: .9rem; font-weight: 700; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-block-start: auto; }
.product-card-price { display: flex; align-items: baseline; gap: .35rem; margin: 0; color: var(--color-olight-ink); }
.product-card-price strong { font-size: clamp(.95rem, 1.4vw, 1.2rem); font-variant-numeric: tabular-nums; }
.product-card-price span, .product-card-price-unavailable { color: var(--color-olight-muted); font-size: .67rem; }
.product-card-rating { display: inline-flex; align-items: center; gap: .28rem; color: var(--color-olight-gold); font-size: .7rem; }
.product-card-rating span:last-child { color: var(--color-olight-muted); font-size: .67rem; }
.product-card-spec { display: flex; align-items: center; gap: .38rem; margin: .65rem 0 0; padding-block-start: .6rem; border-block-start: 1px solid var(--o-line); color: var(--color-olight-muted); font-size: .66rem; }
#featured .featured-more-wrap { margin-block-start: 2.5rem; }
#featured .featured-more { min-height: 3.2rem; border-color: var(--o-line); background: var(--o-surface); font-size: .75rem; }
.section-empty { grid-column: 1 / -1; margin: 0; padding: 2.25rem 1rem; border: 1px dashed var(--o-line); border-radius: 1rem; color: var(--color-olight-muted); font-size: .82rem; text-align: center; }

.story-section { padding: .4rem clamp(1rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6.5rem); }
.story-grid { display: grid; width: min(100%, 83rem); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-inline: auto; }
.story-card { position: relative; min-height: clamp(18rem, 29vw, 27rem); overflow: hidden; border-radius: var(--o-radius-card); background: var(--color-olight-sand); color: #fff; isolation: isolate; }
.story-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.story-card:hover > img { transform: scale(1.04); }
.story-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(23,15,14,.72), rgba(23,15,14,.18) 74%, transparent); }
.story-card-content { display: flex; width: min(74%, 26rem); height: 100%; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.6rem, 3.5vw, 3.25rem); }
.story-card-content p { margin: 0; color: #f0d8a6; font-size: .72rem; font-weight: 700; }
.story-card-content h2 { margin: .75rem 0 0; font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 600; line-height: 1.5; }
.story-card-content a { display: inline-flex; align-items: center; gap: .5rem; margin-block-start: 1.25rem; color: #fff; font-size: .76rem; font-weight: 700; text-decoration: none; }
.story-card-content a span { color: #f0d8a6; transition: transform .2s ease; }
.story-card-content a:hover span { transform: translateX(-4px); }
.story-card-index { position: absolute; inset-inline-end: 1.5rem; inset-block-end: 1.25rem; color: rgba(255,255,255,.72); font: 1rem Georgia, serif; letter-spacing: .15em; }

.atelier-section { padding: clamp(3rem, 6vw, 5rem) 1rem; }
.atelier-shell { display: grid; width: min(100%, 80rem); grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); margin-inline: auto; }
.atelier-image { position: relative; min-height: 30rem; overflow: hidden; border-radius: var(--o-radius-card); background: var(--color-olight-sand); }
.atelier-image::after { position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.55); border-radius: .85rem; content: ""; pointer-events: none; }
.atelier-image img { display: block; width: 100%; height: 100%; min-height: 30rem; object-fit: cover; }
.atelier-copy { position: relative; padding: 1rem 0; }
.atelier-copy h2 { max-width: 11ch; margin-block-start: .65rem; font-size: clamp(2.5rem, 4.7vw, 4.1rem); line-height: 1.42; }
.atelier-copy > p:not(.section-kicker) { max-width: 33rem; margin: 1rem 0 0; color: var(--color-olight-muted); font-size: .9rem; line-height: 2.2; }
.atelier-link { display: inline-flex; align-items: center; gap: .7rem; margin-block-start: 1.4rem; color: var(--color-olight-ink); font-size: .78rem; font-weight: 700; text-decoration: none; }
.atelier-link span { color: var(--color-olight-gold); transition: transform .2s ease; }
.atelier-link:hover span { transform: translateX(-4px); }
.atelier-signature { display: flex; align-items: center; gap: .7rem; margin-block-start: 3rem; color: color-mix(in srgb, var(--color-olight-muted) 65%, transparent); font: .78rem Georgia, serif; letter-spacing: .2em; }
.atelier-signature span { color: var(--color-olight-gold); font-size: 1.1rem; }

#journal { padding: clamp(4rem, 7vw, 6.5rem) 1rem; background: color-mix(in srgb, var(--color-olight-paper) 62%, var(--color-olight-sand)); }
#journal > div { padding-inline: 0; }
#journal .section-kicker { font-size: .75rem; }
#journal h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.5; }
#journal-grid { gap: 1.1rem; }
.journal-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--o-line); border-radius: var(--o-radius-card); background: var(--o-surface); box-shadow: 0 8px 24px color-mix(in srgb, var(--color-olight-ink) 4%, transparent); transition: transform .25s ease, box-shadow .25s ease; }
.journal-card:hover { transform: translateY(-4px); box-shadow: var(--o-shadow-soft); }
.journal-card-image { position: relative; display: grid; min-height: 13rem; aspect-ratio: 1.55; place-items: center; overflow: hidden; background: radial-gradient(circle, var(--o-surface), var(--color-olight-sand)); color: var(--color-olight-gold); text-decoration: none; }
.journal-card-image img { display: block; width: 100%; height: 100%; min-height: 13rem; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.journal-card:hover .journal-card-image img { transform: scale(1.04); }
.journal-card-image-arrow { position: absolute; inset-inline-start: .85rem; inset-block-start: .85rem; display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.84); color: var(--color-olight-ink); backdrop-filter: blur(8px); }
.journal-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.2rem 1.2rem; }
.journal-card-meta { margin: 0; color: var(--color-olight-muted); font-size: .65rem; }
.journal-card h3 { margin: .5rem 0 0; font-size: 1.1rem; font-weight: 700; line-height: 1.7; }
.journal-card-description { display: -webkit-box; min-height: 3.5rem; margin: .45rem 0 0; overflow: hidden; color: var(--color-olight-muted); font-size: .76rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.journal-card-link { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin-block: auto 0; padding-block-start: 1rem; color: var(--color-olight-ink); font-size: .7rem; font-weight: 700; text-decoration: none; }
.journal-card-link span { color: var(--color-olight-gold); transition: transform .2s ease; }
.journal-card-link:hover span { transform: translateX(-4px); }

#main > .journal-cta-section { padding: clamp(2rem, 5vw, 4rem) 1rem clamp(4rem, 7vw, 6rem); }
.journal-cta { position: relative; width: min(100%, 80rem); margin-inline: auto; overflow: hidden; padding: clamp(2.2rem, 5vw, 4.2rem); border: 1px solid color-mix(in srgb, var(--o-deep-text) 14%, transparent); border-radius: clamp(1.2rem, 2vw, 2rem); background: var(--o-deep); color: var(--o-deep-text); text-align: center; isolation: isolate; }
.journal-cta::before, .journal-cta::after { position: absolute; z-index: -1; width: 20rem; height: 20rem; border: 1px solid color-mix(in srgb, var(--o-hero-accent) 18%, transparent); border-radius: 50%; content: ""; }
.journal-cta::before { inset-block-start: -12rem; inset-inline-start: -7rem; }
.journal-cta::after { inset-block-end: -15rem; inset-inline-end: -8rem; width: 26rem; height: 26rem; }
.journal-cta .section-kicker { color: var(--o-hero-accent); }
.journal-cta h2 { margin-block-start: .35rem; color: var(--o-deep-text); font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.journal-cta-copy { max-width: 34rem; margin: .55rem auto 0; color: color-mix(in srgb, var(--o-deep-text) 75%, transparent); font-size: .82rem; line-height: 2; }
.journal-cta-ornament { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; margin: 0 auto 1.1rem; border: 1px solid color-mix(in srgb, var(--o-hero-accent) 58%, transparent); border-radius: 50%; color: var(--o-hero-accent); font-size: 1.2rem; }
.journal-cta-link { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: .5rem; margin-block-start: 1.35rem; padding: .65rem 1.3rem; border-radius: 999px; background: var(--o-hero-btn); color: var(--o-hero-btn-text); font-size: .75rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.journal-cta-link:hover { transform: translateY(-1px); background: var(--o-hero-btn-hover); color: var(--o-hero-btn-text); }

#root > footer { margin-block-start: 0; background: var(--o-deep); color: var(--o-deep-text); }
.footer-brand { display: inline-flex; padding: .55rem .75rem; border-radius: .65rem; background: #fff; }
#root > footer ul { list-style: none; padding: 0; }
#root > footer a { text-decoration: none; }
#root > footer a:hover { color: var(--o-hero-accent); }
#root > footer > div:last-child { border-color: color-mix(in srgb, var(--o-deep-text) 15%, transparent); }

@keyframes hero-image-arrive { from { opacity: .65; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (min-width: 1200px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero-frame { min-height: 33rem; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 2.5rem 2.3rem; }
  .hero-copy::before { inset: .8rem; }
  .hero-copy h1 { font-size: clamp(2.55rem, 5.7vw, 4rem); }
  .hero-visual > img { min-height: 33rem; }
  .trust-strip { padding-inline: 1rem; }
  .trust-mark { gap: .65rem; padding-inline: .75rem; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atelier-shell { gap: 2.5rem; }
  .atelier-image, .atelier-image img { min-height: 25rem; }
}
@media (max-width: 767px) {
  #root > .announcement-bar { min-height: 32px; gap: .45rem; font-size: .61rem; }
  #root > .announcement-bar a { display: none; }
  #root > header > div:first-child { min-height: 66px; }
  .hero-section { padding: .65rem .7rem 0; }
  .hero-frame { display: flex; min-height: 0; flex-direction: column; border-radius: 1.1rem; }
  .hero-visual { order: -1; height: clamp(14rem, 45vw, 20rem); min-height: 0; }
  .hero-visual > img { min-height: 0; }
  .hero-visual-overlay { background: linear-gradient(0deg, rgba(17,12,10,.2), transparent 45%); }
  .hero-photo-note { inset-inline-start: .9rem; inset-block-end: .9rem; min-width: 8.7rem; padding: .6rem .8rem; }
  .hero-photo-note strong { font-size: 1.1rem; }
  .hero-photo-index { inset-inline-start: .9rem; inset-block-start: .9rem; }
  .hero-copy { padding: 1.3rem 1.45rem 1.2rem; }
  .hero-copy::before { display: none; }
  .hero-eyebrow { font-size: .68rem; }
  .hero-copy h1 { max-width: 12ch; margin-block-start: .55rem; font-size: clamp(2rem, 8vw, 2.9rem); line-height: 1.38; }
  .hero-description { margin-block-start: .45rem; font-size: .78rem; line-height: 1.85; }
  .hero-actions { gap: .85rem; margin-block-start: .8rem; }
  .hero-primary, .hero-secondary { min-height: 2.8rem; font-size: .74rem; }
  .hero-primary { padding-inline: 1.05rem; }
  .hero-signature { margin-block-start: .75rem; font-size: .63rem; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .75rem .5rem; }
  .trust-mark { min-height: 4.6rem; padding: .5rem .65rem; }
  .trust-mark:nth-child(3) { border-inline-start: 0; }
  .trust-mark:nth-child(n+3) { border-block-start: 1px solid var(--o-line); }
  .trust-mark-icon { width: 2.35rem; height: 2.35rem; font-size: .95rem; }
  .trust-mark h2 { font-size: .72rem; }
  .trust-mark p { font-size: .61rem; }
  .collection-section { padding: 3.4rem .85rem; }
  .section-heading { align-items: flex-start; margin-block-end: 1.3rem; }
  .section-heading h2 { font-size: 1.8rem; }
  .section-link { max-width: 9.5rem; align-self: end; font-size: .68rem; line-height: 1.8; }
  .category-grid { gap: .55rem; }
  .category-card { grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .5rem; padding: .55rem; border-radius: .8rem; }
  .category-art { width: 3.2rem; height: 3.2rem; border-radius: .65rem; }
  .category-name { font-size: .72rem; }
  .category-arrow { font-size: .8rem; }
  #featured.featured-section { padding: 3.5rem .85rem; }
  #featured .featured-heading { align-items: stretch; gap: 1.2rem; margin-block-end: 1.5rem; }
  #featured .featured-title { font-size: 1.85rem; }
  #featured .featured-description { font-size: .79rem; }
  #featured .featured-filter-area { gap: .45rem; }
  #featured .featured-filters { display: flex; width: 100%; overflow-x: auto; }
  #featured .featured-filter { flex: 1; min-width: max-content; padding-inline: .8rem; }
  #featured .featured-grid { gap: .65rem; }
  .product-card { border-radius: .9rem; }
  .product-card-media { aspect-ratio: 1 / 1.05; }
  .product-card-badge { inset-block-start: .55rem; inset-inline-start: .55rem; padding: .32rem .48rem; font-size: .55rem; }
  .product-card-details { padding: .75rem .72rem .7rem; }
  .product-card-category { font-size: .59rem; }
  .product-card-name { min-height: 2.7rem; margin-block-start: .25rem; font-size: .73rem; }
  .product-card-price strong { font-size: .82rem; }
  .product-card-price span, .product-card-price-unavailable { font-size: .55rem; }
  .product-card-rating { gap: .15rem; font-size: .6rem; }
  .product-card-rating span:last-child { font-size: .57rem; }
  .product-card-spec { gap: .25rem; font-size: .57rem; }
  .story-section { padding: .2rem .85rem 3.3rem; }
  .story-grid { grid-template-columns: 1fr; gap: .7rem; }
  .story-card { min-height: 19rem; border-radius: .95rem; }
  .story-card-content { width: 82%; padding: 1.45rem; }
  .story-card-content h2 { font-size: 1.85rem; }
  .atelier-section { padding: 1.2rem .85rem 3.5rem; }
  .atelier-shell { grid-template-columns: 1fr; gap: 1.4rem; }
  .atelier-image, .atelier-image img { min-height: 0; aspect-ratio: 1.2; border-radius: .95rem; }
  .atelier-copy { padding: .3rem .25rem; }
  .atelier-copy h2 { max-width: 12ch; font-size: 2.2rem; }
  .atelier-copy > p:not(.section-kicker) { font-size: .81rem; }
  .atelier-signature { margin-block-start: 1.8rem; }
  #journal { padding: 3.5rem .85rem; }
  #journal .section-heading { align-items: end; }
  #journal h2 { font-size: 1.8rem; }
  #journal-grid { grid-template-columns: 1fr; gap: .8rem; }
  .journal-card { display: grid; grid-template-columns: minmax(6.5rem, .72fr) 1.28fr; border-radius: .9rem; }
  .journal-card-image, .journal-card-image img { min-height: 100%; aspect-ratio: 1 / 1.08; }
  .journal-card-image-arrow { width: 1.7rem; height: 1.7rem; inset-inline-start: .45rem; inset-block-start: .45rem; font-size: .8rem; }
  .journal-card-body { padding: .75rem; }
  .journal-card-meta { font-size: .57rem; }
  .journal-card h3 { margin-block-start: .3rem; font-size: .83rem; line-height: 1.7; }
  .journal-card-description { min-height: 0; margin-block-start: .25rem; font-size: .65rem; line-height: 1.7; -webkit-line-clamp: 2; }
  .journal-card-link { padding-block-start: .55rem; font-size: .62rem; }
  #main > .journal-cta-section { padding: 1.5rem .85rem 3.5rem; }
  .journal-cta { padding: 2rem 1rem; border-radius: 1.1rem; }
  .journal-cta h2 { font-size: 1.7rem; }
  .journal-cta-copy { font-size: .73rem; }
  #root > footer > div:first-child { gap: 2rem; padding-block: 2.5rem; }
}
@media (max-width: 380px) {
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .category-card { grid-template-columns: 2.7rem minmax(0, 1fr) auto; gap: .4rem; padding: .45rem; }
  .category-art { width: 2.7rem; height: 2.7rem; }
  .category-name { font-size: .67rem; }
  .journal-card { grid-template-columns: minmax(5.8rem, .68fr) 1.32fr; }
  .journal-card-body { padding: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
