/* Home: shared section rhythm, intro/library rows, spotlight, package crystals. */
.sec { padding: 70px 0; border-bottom: 1px solid var(--hairline); background-repeat: no-repeat; }
.sec:nth-of-type(odd) { background-image: radial-gradient(ellipse 55% 60% at 0% 100%, var(--stone), transparent 70%); }
.sec:nth-of-type(even) { background-image: radial-gradient(ellipse 55% 60% at 100% 100%, var(--stone), transparent 70%); }
.sec-white { background-color: var(--surface); background-image: none !important; }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-title { font-size: clamp(29px, 2.8vw, 39px); line-height: 1.22; letter-spacing: -.025em; font-weight: 600; margin: 0 0 .4em; }
.sec-lead { max-width: 52em; margin: 0 auto; font-weight: 600; }
.sec-head .sec-lead { font-size: 18px; }
.eyebrow-soft { font-size: 16px; color: var(--muted); margin: 0 0 .4em; }
.ring { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border: 3px solid var(--teal); border-radius: 50%; color: var(--teal-deep); font-size: 26px; flex: none; }
[data-theme="dark"] .ring { color: var(--link); border-color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ring { color: var(--link); border-color: var(--link); } }
.prose p { margin: 0 0 1em; }
.prose strong { font-weight: 700; color: var(--ink-alt); }

/* intro / library / search: title right-aligned on the left, text, icon list */
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr .85fr; gap: 36px; align-items: start; }
.intro-grid-two { grid-template-columns: 1fr 1.6fr; }
.sec-title-side { text-align: right; font-size: clamp(30px, 2.9vw, 40px); margin-top: .15em; }
.iconlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.iconlist a { display: flex; align-items: center; gap: 18px; color: var(--link); }
.iconlist h3 { margin: 0; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: inherit; }
.iconlist-small { gap: 22px; }
.iconlist-small .ring { width: 54px; height: 54px; font-size: 24px; }

/* spotlight */
.spotlight-grid { display: grid; gap: 54px; max-width: 880px; margin: 0 auto; }
.spot { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; gap: 40px; align-items: center; }
.spot-art { display: flex; justify-content: center; }
.spot-art img { width: auto; max-height: 300px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.25)); }
.spot-copy h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: .4em; }
.spot-copy p { color: var(--muted); font-size: 17px; }
/* carousel (spotlight.js): every item in one grid cell, so the box keeps the tallest item's height */
.spotlight-grid.is-carousel { gap: 26px; }
.is-carousel .spot { grid-area: 1 / 1; transition: opacity .45s ease, visibility .45s; }
.is-carousel .spot[data-off] { opacity: 0; visibility: hidden; }
.spot-controls { grid-area: 2 / 1; display: flex; justify-content: center; align-items: center; gap: 12px; }
.spot-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink-alt); cursor: pointer; font-size: 16px; }
.spot-btn:hover { background: var(--mint); color: var(--link); }
.spot-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.spot-prev .icon { transform: rotate(90deg); }
.spot-next .icon { transform: rotate(-90deg); }
.spot-position { margin: 0; min-width: 3.5em; text-align: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .is-carousel .spot { transition: none; } }

/* package crystals */
.sec-packages { background-color: transparent; }
.crystals { list-style: none; margin: 0 auto 40px; padding: 28px 24px; max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--mint); border-radius: 20px; }
.crystal { text-align: center; display: flex; flex-direction: column; align-items: center; }
.crystal-art { display: block; width: 100%; max-width: 280px; background: var(--surface); border-radius: 18px; box-shadow: 0 6px 20px var(--shadow); overflow: hidden; }
.crystal-art img { display: block; width: 100%; }
.crystal-name { margin: 22px 0 10px; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--pk-text); }
.crystal-lines { font-weight: 400; color: var(--ink); font-size: 17px; min-height: 3.2em; margin-bottom: 18px; }
@media (max-width: 1100px) { .crystals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .sec { padding: 48px 0; }
  .wrap { padding-inline: 20px; }
  .crystals { grid-template-columns: 1fr; padding: 22px 16px; }
  .intro-grid, .intro-grid-two { grid-template-columns: 1fr; gap: 22px; }
  .sec-title-side { text-align: left; }
  .spot { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .spot-copy .text-link { justify-content: center; }
}
@media (min-width: 768px) and (max-width: 1000px) { .intro-grid { grid-template-columns: 1fr 1fr; } .iconlist { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); } }
