:root {
  color-scheme: dark;
  --bg: #121c1b;
  --panel: #1b2826;
  --paper: #f4efe3;
  --muted: #bac6bd;
  --accent: #d9cda3;
  --line: #43514a;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 16px/1.62 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .stone-title { font-family: var(--display); font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(3.05rem, 7.2vw, 6.4rem); letter-spacing: -.069em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.3vw, 3.45rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -.025em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1168px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: .6rem; left: .6rem; padding: .75rem 1rem; background: var(--paper); color: var(--bg); z-index: 4; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: relative; border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; opacity: .8; background: linear-gradient(90deg, #ef5350, #f5a524, #a3d146, #25c3a5, #3f80f0, #9b55e8, #d94db6); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.header-inner { min-height: 76px; }
.wordmark { display: inline-block; flex: 0 0 auto; border-radius: 4px; }
.brand-logo { width: clamp(138px, 16vw, 175px); height: auto; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.site-header nav a { font-size: .88rem; text-decoration: none; color: var(--muted); white-space: nowrap; line-height: 1.4; padding-block: .55rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--paper); text-decoration: underline; text-underline-offset: .55em; text-decoration-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: clamp(470px, 45vw, 640px); border-bottom: 1px solid var(--line); max-width: 1560px; margin-inline: auto; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5.5rem) clamp(1.5rem, 3.5vw, 4rem) clamp(3rem, 6vw, 6rem) max(48px, calc((100vw - 1168px) / 2)); background: radial-gradient(ellipse at 10% 80%, #202d28, transparent 78%); }
.hero-copy h1 { margin-block: .7rem 1.25rem; max-width: 8ch; text-wrap: initial; }
.hero-intro { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.14rem); max-width: 40ch; }
.hero-actions { display: flex; gap: .85rem 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.85rem; }
.hero-art { position: relative; min-height: 100%; overflow: hidden; background: radial-gradient(ellipse at 65% 24%, #6a6e5d 1%, #343f38 39%, #1f312b 62%, #172522 100%); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% 54%; }
.hero-art--stone-circle img { object-position: 32% 50%; filter: saturate(.8); }
.hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,#121c1b35,transparent 32%), linear-gradient(0deg,#121c1b3a,transparent 40%); }
.hero-art--stone-circle::after { pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(18,28,27,.75) 8%, rgba(18,28,27,0) 28%), linear-gradient(0deg, var(--bg) 0%, rgba(18,28,27,0) 18%); }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .73rem; letter-spacing: .15em; font-weight: 650; }
.button { display: inline-flex; justify-content: center; align-items: center; background: var(--accent); color: #19221d; border: 1px solid var(--accent); padding: .72rem 1.02rem; border-radius: 4px; min-height: 43px; text-decoration: none; font: 650 .88rem/1.25 var(--sans); cursor: pointer; }
.button:hover { background: #eee3c2; }
.text-link { text-underline-offset: .35em; text-decoration-color: #9a987b; font-weight: 600; font-size: .91rem; color: var(--accent); }
.text-link:hover { color: var(--paper); }
.section { padding-block: clamp(3.1rem, 7vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.65rem; }
.section-heading p { margin-top: .65rem; color: var(--muted); }
.section-heading a { flex: 0 0 auto; }
.stone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
[data-stone] { --stone: #c9cdbd; }
[data-stone="self"] { --stone: #ef5350; }
[data-stone="value"] { --stone: #f57c2f; }
[data-stone="wisdom"] { --stone: #f5a524; }
[data-stone="root"] { --stone: #e2c43a; }
[data-stone="joy"] { --stone: #a3d146; }
[data-stone="vitality"] { --stone: #43c46b; }
[data-stone="union"] { --stone: #25c3a5; }
[data-stone="transform"] { --stone: #2db3e0; }
[data-stone="quest"] { --stone: #3f80f0; }
[data-stone="ambition"] { --stone: #6a5cf0; }
[data-stone="unity"] { --stone: #9b55e8; }
[data-stone="mystic"] { --stone: #d94db6; }
.stone-card { position: relative; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); min-height: 154px; padding: 1.04rem 1.13rem; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; transition: border-color .15s, background-color .15s; }
.stone-card { border-top: 2px solid color-mix(in srgb, var(--stone) 75%, transparent); }
.stone-card:hover { border-color: var(--stone); background: color-mix(in srgb, var(--stone) 7%, #1f2d2a); }
.stone-sign { display: inline-flex; align-items: center; gap: .57rem; }
.stone-dot, .stone-orb { display: block; border: 1px solid color-mix(in srgb, var(--stone) 58%, #17201d); border-radius: 48% 52% 43% 57% / 53% 43% 57% 47%; background: radial-gradient(ellipse at 29% 20%,var(--stone),color-mix(in srgb,var(--stone) 52%,#293630) 46%,#27332e 100%); box-shadow: inset 0 0 7px #c8d0b92a, 0 1px 5px #11191685; transform: rotate(-16deg); }
.stone-dot { width: 25px; height: 22px; }
.house-number { color: var(--muted); font: 650 .7rem/1 var(--sans); letter-spacing: .08em; }
.stone-title { font-size: 1.6rem; margin-top: .86rem; }
.stone-theme { color: var(--muted); font-size: .84rem; margin-top: .32rem; padding-right: .25rem; }
.stone-arrow, .post-arrow { color: var(--stone, var(--accent)); position: absolute; right: 1rem; top: .88rem; }
.latest { border-top: 1px solid var(--line); }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.post-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 1.3rem; min-height: 162px; }
.post-card h3 { margin-block: .45rem .65rem; padding-right: 1rem; }
.post-card a { text-decoration: none; }
.post-card a::after { content: ""; position: absolute; inset: 0; }
.post-card[data-stone] .eyebrow { color: var(--stone); }
.post-card:has(a:hover) { border-color: var(--stone, var(--accent)); }
.post-card a:hover { text-decoration: underline; text-underline-offset: .14em; }
.post-card p, .empty { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.65rem 2.3rem; }
.footer-inner p { color: var(--muted); font-size: .84rem; margin-top: .5rem; }
.subpage { min-height: 55vh; }
.intro { margin-bottom: clamp(1.8rem, 6vw, 3.4rem); }
.intro h1 { margin-block: .35rem 1rem; text-wrap: wrap; }
.intro p:last-child { max-width: 56ch; font-size: 1.15rem; color: var(--muted); }
.trail { display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap; color: var(--muted); font-size: .84rem; margin-bottom: 1.5rem; }
.trail a { text-underline-offset: .24em; }
.stone-detail { position: relative; isolation: isolate; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; padding: clamp(1rem, 4.5vw, 3rem); margin-bottom: 2.65rem; overflow: hidden; }
.stone-detail .eyebrow { color: var(--stone); }
.stone-detail .intro { max-width: min(100%, 580px); }
.stone-orb { position: absolute; width: clamp(180px, 28vw, 340px); aspect-ratio: 1.18; top: 3rem; right: -2.5rem; opacity: .3; z-index: -1; }
.detail-image { float: right; max-width: 38%; border-radius: 5px; margin: 0 0 1rem 1rem; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: .7rem 2rem; margin: 0; }
.facts dt { color: var(--muted); font-size: .78rem; }
.facts dd { margin: 0; color: var(--paper); font-weight: 600; }
.next-stone { margin-top: 1.7rem; }
.story { max-width: 780px; }
.story h1 { font-size: clamp(2.65rem, 6.6vw, 5.3rem); text-wrap: initial; margin-block: .55rem 1rem; }
.story-lead { color: var(--muted); font-size: 1.2rem; max-width: 59ch; margin-bottom: 1.8rem; }
.story-body { font-size: 1.05rem; max-width: 66ch; overflow-wrap: anywhere; }
.story-body > * + * { margin-top: 1.05rem; }
.story-body a { color: var(--accent); }
.story-end { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 2rem; }
.story-end h2 { font: 600 .86rem/1.35 var(--sans); margin-block: .5rem; }
.story-image { height: auto; border-radius: 5px; margin-bottom: 1.85rem; }
.chip { display: inline-block; border: 1px solid var(--line); border-radius: 20px; padding: .25rem .7rem; margin-right: .45rem; font-size: .82rem; text-decoration: none; color: var(--accent); }
.chip:hover { border-color: var(--accent); }
.preview-notice { width: fit-content; background: #483e26; color: var(--paper); border-radius: 4px; padding: .35rem .6rem; margin-bottom: 1.15rem; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2,minmax(0,1fr)) auto; gap: .75rem; align-items: end; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; padding: 1rem; margin-bottom: 2.1rem; }
.filters > div { min-width: 0; }
.filters label { display: block; font-size: .87rem; color: var(--paper); min-width: 0; }
.filters input, .filters select { display: block; width: 100%; min-height: 43px; margin-top: .25rem; padding-inline: .6rem; background: var(--bg); color: var(--paper); border: 1px solid #748077; border-radius: 4px; font: inherit; font-size: 1rem; }
.filters input::placeholder { color: var(--muted); }
.results { align-items: baseline; }
.results h2 { font-size: 1.65rem; }
@media (min-width: 1560px) {
  .hero-copy { padding-left: 196px; }
}
@media (max-width: 920px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy { padding-left: 32px; }
  .stone-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: .4rem 1rem; padding-block: .88rem .53rem; }
  .site-header nav { gap: clamp(.7rem, 4.2vw, 1.25rem); }
  .site-header nav a { font-size: .85rem; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 2.8rem 18px 2.2rem; }
  .hero-copy h1 { max-width: 12ch; margin-block: .5rem .75rem; }
  .hero-art { min-height: 245px; }
  .hero-art--stone-circle img { object-position: 25% 50%; }
  .hero-art--stone-circle::after { background: linear-gradient(90deg, rgba(18,28,27,.5) 0%, rgba(18,28,27,0) 12%), linear-gradient(0deg, var(--bg) 0%, rgba(18,28,27,0) 18%); }
  .hero-actions { margin-top: 1.3rem; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .stone-grid, .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stone-card { padding: .8rem; min-height: 145px; }
  .stone-title { font-size: 1.42rem; }
  .stone-theme { font-size: .8rem; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
  .filters > div:first-child, .filters button { grid-column: 1 / -1; }
  .results { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

