.yas-editorial {
  --ye-paper: #fffdf9;
  --ye-ivory: #f6f1e9;
  --ye-ink: #28231f;
  --ye-muted: #71695e;
  --ye-line: #d8cec0;
  --ye-gold: #a27641;
  --ye-dark: #24211e;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  overflow: hidden;
  color: var(--ye-ink);
  background: var(--ye-paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.yas-editorial *, .yas-editorial *::before, .yas-editorial *::after { box-sizing: border-box; }
.yas-editorial a { color: inherit; }
.yas-editorial h1, .yas-editorial h2, .yas-editorial h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.yas-editorial em { font-weight: 400; }
.yas-editorial .ye-width { width: min(100% - 64px, 1392px); margin-inline: auto; }
.yas-editorial .ye-eyebrow { margin: 0; color: var(--ye-gold); text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 700; }

.yas-editorial .ye-text-link:hover { text-decoration: none; }

.yas-editorial .ye-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 740px; color: var(--ye-paper); background: radial-gradient(circle at 50% 35%, #46392b 0%, #2c2620 43%, #1d1b19 100%); }
.yas-editorial .ye-hero::before { content: ""; position: absolute; width: min(760px, 82vw); aspect-ratio: 1; left: 50%; top: -110px; transform: translateX(-50%); border: 1px solid #d3a86d1c; border-radius: 50%; box-shadow: 0 0 0 110px #d3a86d08, 0 0 0 220px #d3a86d05; pointer-events: none; }
.yas-editorial .ye-hero::after { content: ""; position: absolute; inset: 22px; border: 1px solid #c7a06a47; pointer-events: none; }
.yas-editorial .ye-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 48px; padding-bottom: 72px; }
.yas-editorial .ye-hero .ye-eyebrow { color: #c9a77c; }
.yas-editorial .ye-emblem { position: relative; width: clamp(300px, 33vw, 480px); aspect-ratio: 384 / 334; margin: 14px auto 5px; background: url("yasperia_znak.png") center / contain no-repeat; filter: drop-shadow(0 0 14px #ffc36b3d); }
.yas-editorial .ye-emblem::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, #a4713840, #a4713810 48%, transparent 70%); filter: blur(25px); z-index: -1; }
.yas-editorial .ye-hero h1 { max-width: 22ch; color: var(--ye-paper); font-size: clamp(55px, 5.3vw, 83px); line-height: 1.03; letter-spacing: -.052em; margin: 0 0 18px; }
.yas-editorial .ye-hero h1 em { color: #d6ad77; }
.yas-editorial .ye-hero-lead { max-width: 60ch; margin: 0; color: #d8cfc3; font-size: 14px; line-height: 1.75; }
.yas-editorial .ye-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }

/* Local SVG trace: one shared effect, sized to the label rather than a fixed 180 px. */
.yas-editorial .ye-outline-button {
  --ye-button-line: #b8a180;
  --ye-button-highlight: #946333;
  --ye-button-hover-bg: var(--ye-ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 22px;
  border: 1px solid var(--ye-button-line);
  background: transparent;
  color: var(--ye-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .06em;
  transition: background-color .65s ease;
}
.yas-editorial .ye-outline-button > span { position: relative; }
.yas-editorial .ye-button-arrow { flex-shrink: 0; font-size: 16px; line-height: 1; }
.yas-editorial .ye-button-border { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--ye-button-highlight); stroke-width: 1.5; pointer-events: none; }
.yas-editorial .ye-button-border rect { stroke-dasharray: 26 100; stroke-dashoffset: 26; opacity: 0; transition: stroke-dashoffset .95s ease-in-out, opacity .18s ease; }
.yas-editorial .ye-hero .ye-outline-button { min-width: 212px; }
.yas-editorial .ye-button { --ye-button-line: #f6eee3; --ye-button-hover-bg: #ead8bf; background: #f6eee3; }
.yas-editorial .ye-button-ghost { --ye-button-line: #bc986880; --ye-button-highlight: #f3cc8e; --ye-button-hover-bg: #d6ad7714; color: #f2e9dd; }
.yas-editorial .ye-outline-button:focus-visible { outline: 2px solid var(--ye-button-highlight); outline-offset: 4px; background: var(--ye-button-hover-bg); text-decoration: none; }
.yas-editorial .ye-outline-button:focus-visible .ye-button-border rect { stroke-dashoffset: -100; opacity: 1; }
.yas-editorial .ye-outline-button:active { background: var(--ye-button-hover-bg); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .yas-editorial .ye-outline-button:hover { background: var(--ye-button-hover-bg); text-decoration: none; }
  .yas-editorial .ye-outline-button:hover .ye-button-border rect { stroke-dashoffset: -100; opacity: 1; }
}

.yas-editorial .ye-text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.yas-editorial .ye-fireflies { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.yas-editorial .ye-fireflies span { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: #ffe3a8; box-shadow: 0 0 6px 2px #efbe6d9e, 0 0 18px 7px #d7973c4f; opacity: .2; animation: ye-firefly-drift var(--duration) ease-in-out var(--delay) infinite alternate; }
.yas-editorial .ye-fireflies span:nth-child(3n) { width: 2px; height: 2px; box-shadow: 0 0 5px 2px #efbe6d80, 0 0 14px 5px #d7973c38; }
@keyframes ye-firefly-drift { 0% { transform: translate(-7px, 8px); opacity: .1; } 50% { transform: translate(4px, -6px); opacity: .58; } 100% { transform: translate(12px, -15px); opacity: .18; } }

.yas-editorial .ye-brand-line { min-height: 72px; display: flex; gap: 28px; align-items: center; justify-content: center; border-bottom: 1px solid var(--ye-line); color: #8a7c6b; font-size: 10px; letter-spacing: .23em; }
.yas-editorial .ye-brand-line span:first-child { font: 400 16px Georgia, serif; letter-spacing: .2em; }
.yas-editorial .ye-brand-line span { white-space: nowrap; }
.yas-editorial .ye-brand-leaf { width: 16px; height: 20px; flex-shrink: 0; fill: var(--ye-gold); }
.yas-editorial .ye-intro { text-align: center; background: var(--ye-paper); }
.yas-editorial .ye-intro-copy { max-width: 1020px; padding-top: 88px; padding-bottom: 20px; }
.yas-editorial .ye-intro .ye-eyebrow { font-size: clamp(14px, 1.2vw, 17px); line-height: 1.6; letter-spacing: .12em; }
.yas-editorial .ye-intro h2 { font-size: clamp(41px, 5vw, 68px); line-height: 1.05; letter-spacing: -.05em; margin: 20px 0 24px; }
.yas-editorial .ye-intro h2 em { color: var(--ye-gold); }
.yas-editorial .ye-intro-copy > p:last-child { max-width: 680px; margin: 0 auto; color: var(--ye-muted); font-size: clamp(18px, 1.5vw, 20px); line-height: 1.75; }
/* Text stays outside the photographic layer, including on narrow screens. */
.yas-editorial .ye-intro-stones { height: clamp(210px, 19vw, 350px); background: url("intro-stones-0.5.11.webp") center bottom / max(100%, 1080px) auto no-repeat; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 13%, #000 86%, transparent); }
.yas-editorial .ye-products { padding-bottom: 100px; }
.yas-editorial .ye-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; border-top: 1px solid var(--ye-line); padding-top: 30px; padding-bottom: 32px; }
.yas-editorial .ye-section-heading h2 { font-size: clamp(41px, 4.6vw, 68px); letter-spacing: -.055em; margin: 12px 0 0; }
.yas-editorial .ye-section-aside { max-width: 210px; color: var(--ye-muted); font-size: 11px; line-height: 1.65; text-align: right; }
.yas-editorial .ye-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 62px; }
.yas-editorial .ye-product-link { display: block; text-decoration: none; }
.yas-editorial .ye-product-visual { position: relative; overflow: hidden; aspect-ratio: var(--yas-product-aspect); display: block; background: var(--ye-ivory); }
.yas-editorial .ye-card-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--yas-product-fit); transform: none; transition: none; }
.yas-editorial .ye-card-image-detail { opacity: 0; }
.yas-editorial .ye-card-badge { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 8px 11px; background: #fffdf9eb; color: #62584b; text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.yas-editorial .ye-product-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 17px; color: var(--ye-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.yas-editorial .ye-product-title { display: block; width: fit-content; max-width: 100%; margin-top: 9px; font: 400 25px/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.yas-editorial .ye-product-price { display: block; margin-top: 9px; color: var(--ye-muted); font-size: 13px; }
.yas-editorial .ye-product-link:hover .ye-product-title { text-decoration: none; }
.yas-editorial .ye-product-link:focus-visible { outline: 2px solid var(--ye-gold); outline-offset: 5px; }
.yas-editorial .ye-empty-products { grid-column: 1 / -1; padding: 50px 0; color: var(--ye-muted); font-size: 14px; }
.yas-editorial .ye-all-products { margin-top: 60px; }
.yas-editorial .ye-knowledge { border-top: 1px solid var(--ye-line); padding-block: 88px 115px; }
.yas-editorial .ye-knowledge h2 { margin: 16px 0 55px; font-size: clamp(38px, 4.6vw, 67px); letter-spacing: -.045em; }
.yas-editorial .ye-knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.yas-editorial .ye-knowledge-grid > div { border-top: 1px solid var(--ye-line); padding-top: 22px; }
.yas-editorial .ye-knowledge-grid span { color: var(--ye-gold); font: 18px Georgia, serif; }
.yas-editorial .ye-knowledge-grid h3 { margin: 14px 0 10px; font-size: 26px; }
.yas-editorial .ye-knowledge-grid p { max-width: 36ch; margin: 0; color: var(--ye-muted); font-size: 13px; line-height: 1.7; }

.yas-editorial .ye-story { background: var(--ye-ivory); }
.yas-editorial .ye-story-inner { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; }
.yas-editorial .ye-story-visual { position: relative; overflow: hidden; min-height: 620px; background: var(--ye-ivory) url("atelier-collage-0.5.11.webp") center / contain no-repeat; }
.yas-editorial .ye-story-copy { align-self: center; padding: 70px clamp(48px, 7vw, 120px); }
.yas-editorial .ye-story-copy h2 { font-size: clamp(47px, 5.5vw, 82px); line-height: 1; letter-spacing: -.065em; margin: 25px 0 23px; }
.yas-editorial .ye-story-copy h2 em { color: var(--ye-gold); }
.yas-editorial .ye-story-copy > p:not(.ye-eyebrow) { max-width: 420px; color: var(--ye-muted); font-size: 14px; line-height: 1.85; margin-bottom: 30px; }
.yas-editorial .ye-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 72px; padding-bottom: 90px; }
.yas-editorial .ye-details > div { border-top: 1px solid var(--ye-line); padding-top: 20px; }
.yas-editorial .ye-details span { color: var(--ye-gold); font: 18px Georgia, serif; }
.yas-editorial .ye-details h3 { font-size: 24px; margin: 12px 0 8px; }
.yas-editorial .ye-details p { margin: 0; max-width: 260px; color: var(--ye-muted); line-height: 1.7; font-size: 12px; }

@media (max-width: 1000px) {
  .yas-editorial .ye-width { width: min(100% - 40px, 1392px); }
  .yas-editorial .ye-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yas-editorial .ye-knowledge-grid { gap: 20px; }
  .yas-editorial .ye-story-copy { padding-inline: 45px; }
}
@media (max-width: 760px) {
  .yas-editorial .ye-hero { min-height: 0; }
  .yas-editorial .ye-hero-content { padding-block: 56px 74px; }
  .yas-editorial .ye-emblem { width: min(380px, 78vw); margin-top: 25px; }
  .yas-editorial .ye-hero h1 { font-size: clamp(55px, 9vw, 76px); }
  .yas-editorial .ye-brand-line { min-height: 64px; gap: 13px; font-size: 8px; letter-spacing: .12em; }
  .yas-editorial .ye-intro-copy { padding-top: 65px; padding-bottom: 20px; }
  .yas-editorial .ye-product-grid { column-gap: 14px; row-gap: 42px; }
  .yas-editorial .ye-product-title { font-size: 21px; }
  .yas-editorial .ye-knowledge-grid { grid-template-columns: 1fr; gap: 28px; }
  .yas-editorial .ye-story-inner { grid-template-columns: 1fr; }
  .yas-editorial .ye-story-visual { min-height: 470px; }
  .yas-editorial .ye-story-copy { padding: 70px 16px 80px; }
}
@media (max-width: 600px) {
  .yas-editorial .ye-width { width: min(100% - 32px, 1392px); }
  .yas-editorial .ye-hero-content { padding-block: 45px 70px; }
  .yas-editorial .ye-hero::after { inset: 12px; }
  .yas-editorial .ye-emblem { width: min(360px, 84vw); margin-top: 22px; margin-bottom: 12px; }
  .yas-editorial .ye-hero h1 { font-size: clamp(43px, 11vw, 63px); }
  .yas-editorial .ye-hero-actions { width: 100%; gap: 14px; }
  .yas-editorial .ye-hero .ye-outline-button { width: min(100%, 290px); }
  .yas-editorial .ye-brand-line { display: grid; grid-template-columns: auto 14px auto; justify-content: center; gap: 10px 12px; padding-block: 16px; text-align: center; }
  .yas-editorial .ye-brand-leaf { width: 14px; height: 18px; }
  .yas-editorial .ye-brand-leaf:nth-of-type(2) { display: none; }
  .yas-editorial .ye-brand-line span:last-child { grid-column: 1 / -1; font-size: 9px; letter-spacing: .18em; }
  .yas-editorial .ye-all-products { width: 100%; gap: 14px; padding-inline: 18px; }
  .yas-editorial .ye-intro-copy { padding-top: 55px; padding-bottom: 15px; }
  .yas-editorial .ye-intro-stones { height: 220px; background-size: 980px auto; }
  .yas-editorial .ye-intro h2 { font-size: clamp(40px, 10vw, 58px); }
  .yas-editorial .ye-section-heading { display: block; }
  .yas-editorial .ye-section-aside { display: block; text-align: left; margin-top: 15px; }
  .yas-editorial .ye-products { padding-bottom: 85px; }
  .yas-editorial .ye-product-grid { grid-template-columns: 1fr; gap: 40px; }
  .yas-editorial .ye-product-visual { aspect-ratio: var(--yas-product-aspect); }
  .yas-editorial .ye-story-visual { min-height: 370px; }
  .yas-editorial .ye-story-copy { padding-inline: 0; }
  .yas-editorial .ye-details { grid-template-columns: 1fr; gap: 32px; padding-block: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .yas-editorial .ye-fireflies span { animation: none; opacity: .25; }
  .yas-editorial .ye-card-image { transition: none; }
  .yas-editorial .ye-outline-button, .yas-editorial .ye-button-border rect { transition: none; }
  .yas-editorial .ye-button-border rect { stroke-dasharray: none; }
}

/* 0.5.15: approved compact bracelet listing; every other home section stays unchanged. */
.yas-editorial .ye-products.ye-width { width: min(calc(100% - 64px), 1560px); }
.yas-editorial .ye-products { padding-bottom: 64px; }
.yas-editorial .ye-products .ye-section-heading { padding-bottom: 24px; }
.yas-editorial .ye-products .ye-product-grid { row-gap: 40px; }
.yas-editorial .ye-products .ye-all-products { margin-top: 40px; }
.yas-editorial .ye-products .ye-card-image-main { width: var(--yas-product-scale, 108%); max-width: none; height: var(--yas-product-scale, 108%); inset: var(--yas-product-inset, -4%); transform: none; transition: none; }
@media (max-width: 1000px) {
  .yas-editorial .ye-products.ye-width { width: calc(100% - 40px); }
}
@media (max-width: 600px) {
  .yas-editorial .ye-products.ye-width { width: calc(100% - 32px); }
  .yas-editorial .ye-products { padding-bottom: 56px; }
  .yas-editorial .ye-products .ye-product-grid { row-gap: 32px; }
}
