/* Landing page. Editorial layout: serif display type, full-bleed art, one dark section. */
.landing main { max-width: none; padding: 0; overflow-x: clip; }
.landing .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.landing.scrolled .site-header { background: rgba(246,241,233,.9); backdrop-filter: blur(14px); border-bottom-color: rgba(18,51,43,.1); box-shadow: 0 12px 30px -22px rgba(18,51,43,.5); }
.landing.scrolled .header-inner { padding-top: .5rem; padding-bottom: .5rem; }
.landing h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); }
.landing h2 em, .landing h1 em { color: var(--accent); font-style: italic; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 1rem; }
.landing section { position: relative; }
.landing section:not(.hero):not(.how):not(.proof):not(.seller-cta):not(.cta-band):not(.press) { padding-top: clamp(4rem, 9vw, 8rem); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; }
.text-link { font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: 4px; transition: background-size .4s var(--ease), color .2s; }
.text-link::after { content: " \2192"; display: inline-block; transition: transform .4s var(--spring); }
.text-link:hover { color: var(--accent-deep); background-size: 0 2px; background-position: 100% 100%; }
.text-link:hover::after { transform: translateX(6px); }

/* hero */
.hero { min-height: 100svh; display: flex; align-items: flex-start; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { position: absolute; left: 0; width: 100%; will-change: transform; }
.hero-sky { top: -8%; height: 116%; object-fit: cover; }
.hero-land { bottom: -2%; height: 78%; object-fit: cover; object-position: center bottom; }
.hero-inner { padding-top: clamp(7rem, 16vh, 11rem); padding-bottom: 9rem; }
.hero h1 { font-size: clamp(3.4rem, 10.5vw, 9.5rem); line-height: .94; letter-spacing: -.04em; margin: 0 0 1.5rem; max-width: 14ch; font-weight: 500; }
.hero .lead { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2.5rem, 8vh, 6rem); }
.hero-actions .button { padding: 1rem 1.9rem; font-size: 1.05rem; }
.hero-search {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; max-width: 56rem;
  background: rgba(255,253,249,.92); backdrop-filter: blur(14px); border-radius: 26px; padding: 1.1rem;
  box-shadow: 0 40px 70px -30px rgba(10,30,25,.65), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.hero-search label { display: flex; flex-direction: column; gap: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex: 1 1 9rem; }
.hero-search label:first-child { flex: 2 1 14rem; }
.hero-search button { padding: .95rem 1.8rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(246,241,233,.8); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #f6f1e9; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }
.js [data-hero-step] { opacity: 0; transform: translateY(36px); animation: rise 1s var(--ease) forwards; }
.js [data-hero-step]:nth-child(2) { animation-delay: .12s; }
.js [data-hero-step]:nth-child(3) { animation-delay: .24s; }
.js [data-hero-step]:nth-child(4) { animation-delay: .36s; }
.js [data-hero-step]:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* press marquee */
.press { background: var(--ink); color: #dfe9e4; padding: 1.5rem 0; overflow: hidden; display: flex; align-items: center; gap: 2rem; }
.press-label { margin: 0 0 0 max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); flex: none; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #8fa89d; }
.marquee { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; gap: 3.5rem; margin: 0; padding: 0 1.75rem; list-style: none; min-width: 100%; justify-content: space-around; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { white-space: nowrap; font-size: 1.5rem; opacity: .85; transition: opacity .3s, color .3s; }
.marquee-track li:hover { opacity: 1; color: #f0a47f; }
.m1 { font-family: var(--serif); font-style: italic; }
.m2 { font-family: var(--sans); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 1.1rem !important; }
.m3 { font-family: var(--serif); font-weight: 700; }
.m4 { font-family: var(--sans); font-weight: 300; letter-spacing: .02em; }
.m5 { font-family: var(--serif); letter-spacing: .2em; text-transform: uppercase; font-size: 1.1rem !important; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* values */
.value { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-bottom: clamp(3rem, 8vw, 7rem); }
.value-flip .value-art { order: 2; }
.value-art, .tile, .card-media, .post-media { overflow: hidden; }
.value-art { border-radius: 28px; aspect-ratio: 8 / 7; box-shadow: 0 50px 80px -45px rgba(18,51,43,.6); }
.value-art { position: relative; }
.value-art img, .tile img { width: 100%; object-fit: cover; display: block; will-change: transform; }
.value-art img { position: absolute; left: 0; top: -9%; height: 118%; }
.value-no { font-family: var(--serif); font-size: 1.1rem; color: var(--accent-deep); }
.value-copy h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin: .5rem 0 1rem; line-height: 1.05; }
.value-copy p { font-size: 1.1rem; max-width: 30rem; margin: 0 0 1.5rem; }

/* featured */
.featured { background: var(--sand-soft); margin-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.card { background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 50px -35px rgba(18,51,43,.55); transition: transform .5s var(--spring), box-shadow .4s var(--ease); }
.card:nth-child(2) { margin-top: 3rem; }
.card:hover { transform: translateY(-8px); box-shadow: 0 50px 70px -40px rgba(18,51,43,.65); }
.card:active { transform: translateY(-2px) scale(.98); }
.card a { display: block; color: inherit; text-decoration: none; padding-bottom: 1.5rem; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.08) rotate(.4deg); }
.card-badge { position: absolute; top: 1rem; left: 1rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(246,241,233,.92); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card h3 { margin: 1.25rem 1.5rem .25rem; font-size: 1.6rem; }
.card p { margin: 0 1.5rem .25rem; }
.card .address, .card .meta { color: var(--muted); font-size: .95rem; }
.card .price { font-family: var(--serif); font-size: 1.6rem; color: var(--accent-deep); margin-top: .5rem; }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.card a:focus-visible { outline: none; }

/* tiles */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 28px; color: var(--ink); text-decoration: none; transition: transform .5s var(--spring), box-shadow .4s var(--ease); box-shadow: 0 30px 50px -35px rgba(18,51,43,.55); }
.tile img { position: absolute; left: 0; top: -6%; height: 112%; transition: scale 1.2s var(--ease); }
.tile:hover { transform: translateY(-6px); }
.tile:hover img { scale: 1.06; }
.tile:active { transform: scale(.97); box-shadow: 0 8px 14px -10px rgba(18,51,43,.55); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,51,43,.78)); }
.tile-copy { position: absolute; z-index: 1; left: 1.75rem; right: 1.75rem; bottom: 1.5rem; color: #fff; display: grid; gap: .1rem; }
.tile-kicker { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.tile-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; }
.tile-arrow { position: absolute; right: 0; bottom: .2rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent); font-size: 1.4rem; transition: transform .5s var(--spring); }
.tile:hover .tile-arrow { transform: rotate(-45deg) scale(1.1); }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* how it works: dark contrast section, pinned horizontal story on wide screens */
.how { background: var(--ink); color: #dfe9e4; margin-top: clamp(4rem, 9vw, 8rem); }
.how h2 { color: #fff; }
.how .eyebrow { color: #f0a47f; }
.how-pin { padding: clamp(4rem, 8vw, 7rem) 0; }
.how-head { margin-bottom: 3rem; }
.steps { list-style: none; margin: 0; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: var(--wrap); margin-inline: auto; counter-reset: none; }
.step { display: grid; gap: 1.5rem; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 40px 60px -35px rgba(0,0,0,.7); }
.step-no { font-family: var(--serif); font-size: 1rem; color: #f0a47f; }
.step h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .25rem 0 .5rem; }
.step p { margin: 0; max-width: 24rem; font-size: 1.05rem; }
.how-progress { display: none; }
.pinned.how { height: 320vh; padding: 0; }
.pinned .how-pin { position: sticky; top: 0; height: 100vh; padding: 6.5rem 0 2rem; overflow: hidden; display: flex; flex-direction: column; }
.pinned .how-head { margin-bottom: 1.5rem; }
.pinned .steps { display: flex; max-width: none; margin: 0; padding: 0 max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); gap: 4rem; flex: 1; align-items: center; will-change: transform; }
.pinned .step { flex: none; width: min(70vw, 60rem); grid-template-columns: 1.2fr 1fr; align-items: center; gap: 3rem; }
.pinned .step img { aspect-ratio: 4 / 3; max-height: 52vh; }
.pinned .how-progress { display: block; position: absolute; left: max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); right: max(1.5rem, calc((100vw - var(--wrap)) / 2 + 1.5rem)); bottom: 2.5rem; height: 3px; background: rgba(255,255,255,.18); border-radius: 2px; }
.how-progress span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* proof */
.proof { background: var(--sand); padding: clamp(4rem, 8vw, 7rem) 0; }
.stats { list-style: none; margin: clamp(2rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.stats li { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: .5rem; color: var(--text); }

/* testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.quote { margin: 0; padding: 2.25rem; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; transition: transform .5s var(--spring); }
.quote:hover { transform: translateY(-6px) rotate(-.4deg); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); }
.quote figcaption { display: flex; align-items: center; gap: .9rem; font-size: .95rem; line-height: 1.35; }
.avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; flex: none; }
.quote-accent { background: var(--accent); border-color: var(--accent); }
.quote-accent blockquote, .quote-accent figcaption { color: #fff; }
.quote-accent blockquote::before { color: var(--ink); }
.quote-accent .avatar { background: var(--ink); }

/* seller */
.seller-cta { margin-top: clamp(4rem, 9vw, 8rem); background: var(--sand-soft); padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.seller-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.seller-inner p:not(.eyebrow) { font-size: 1.2rem; max-width: 28rem; margin: 1.25rem 0 2rem; }
.seller-inner img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 28px; transform: rotate(2deg); box-shadow: 0 50px 70px -40px rgba(18,51,43,.65); transition: transform .8s var(--spring); }
.seller-inner:hover img { transform: rotate(-1deg) scale(1.02); }
.seller-cta .button { padding: 1rem 1.9rem; }

/* faq */
.faq-list { max-width: 52rem; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--ink); transition: color .25s, padding .4s var(--spring); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1.5px solid var(--ink); font-family: var(--sans); font-size: 1.5rem; line-height: 1; transition: transform .5s var(--spring), background-color .3s, color .3s; }
.faq summary:hover { color: var(--accent-deep); padding-left: .5rem; }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details > div { overflow: hidden; }
.faq details[open] > div { animation: unfold .5s var(--ease); }
.faq details p { margin: 0 0 1.5rem; max-width: 40rem; font-size: 1.05rem; }
@keyframes unfold { from { opacity: 0; transform: translateY(-10px); } }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* journal */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.post a { display: block; color: inherit; text-decoration: none; }
.post-media { aspect-ratio: 3 / 2; border-radius: 22px; margin-bottom: 1.25rem; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post a:hover .post-media img { transform: scale(1.07); }
.post-tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.post h3 { font-size: 1.6rem; margin: .4rem 0 .5rem; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; display: inline; transition: background-size .5s var(--ease); }
.post a:hover h3 { background-size: 100% 2px; }
.post p { margin: .5rem 0 0; color: var(--muted); }
.post a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 12px; }

/* final cta */
.cta-band { margin-top: clamp(4rem, 9vw, 8rem); padding: clamp(5rem, 11vw, 10rem) 0 clamp(12rem, 22vw, 20rem); background: linear-gradient(180deg, var(--bg), #f0cfae); overflow: hidden; margin-bottom: -5rem; }
.cta-art { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; object-fit: cover; object-position: center bottom; z-index: 0; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.cta-band h2 { font-size: clamp(3rem, 8vw, 7rem); line-height: .96; letter-spacing: -.035em; }
.cta-copy p:not(.eyebrow) { font-size: 1.2rem; max-width: 28rem; margin: 1.5rem 0 0; }
.prereg { background: rgba(255,253,249,.95); border-radius: 26px; padding: 1.75rem; box-shadow: 0 40px 70px -35px rgba(18,51,43,.7); }
.prereg form { display: grid; gap: .6rem; }
.prereg label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prereg input { width: 100%; }
.prereg button { margin-top: .75rem; padding: 1rem; font-size: 1.05rem; }
.prereg .notice { margin: 0; }
.prereg [hidden] { display: none; }
.landing .site-footer { margin-top: 0; padding-top: 8rem; position: relative; z-index: 0; }

/* scroll reveals */
.js .reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
[data-tilt] { position: relative; }
[data-tilt]::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(22rem circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.4), transparent 60%); mix-blend-mode: soft-light;
}
[data-tilt]:hover::before { opacity: 1; }

@media (max-width: 960px) {
  .value, .seller-inner, .cta-inner { grid-template-columns: 1fr; }
  .value-flip .value-art { order: 0; }
  .cards, .tile-grid, .quote-grid, .post-grid, .steps { grid-template-columns: 1fr; }
  .card:nth-child(2) { margin-top: 0; }
  .tile { aspect-ratio: 5 / 4; }
  .press { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .press-label { margin-left: 1.5rem; }
  .marquee { width: 100%; }
  .hero h1 { max-width: none; }
}
@media (max-width: 560px) {
  .hero-search { border-radius: 20px; }
  .hero-inner { padding-bottom: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js [data-hero-step] { opacity: 1; transform: none; animation: none; transition: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .scroll-cue span { animation: none; }
  .card:hover, .tile:hover, .quote:hover { transform: none; }
}
