/* RARA — the field journal. Typography and space carry the hierarchy. */
:root {
  --sans: 'Outfit', sans-serif; --serif: 'Cormorant Garamond', Georgia, serif;
  --bg:#faf6f0; --bg2:#f0eadf; --card:#fdfaf5; --ink:#3d3529; --dim:#706656; --faint:#847866;
  --line:#ded5c6; --accent:#74602e; --accent-soft:#b8943f18; --gold:#8a6b25; --gold-soft:#efe6d5; --gold-line:#dac99d;
  --saved:#a15e47; --header-bg:#faf6f0f0; --dbar-bg:#faf6f0f5;
  --terracotta:#c47a5a; --sage:#7a9a7e; --indigo:#6b7aa8; --plum:#8a6a8a;
  --shadow:0 3px 12px #3d352907; --shadow-hover:0 8px 24px #3d352910;
}
[data-theme="dark"] {
  --bg:#25251f; --bg2:#303028; --card:#2b2c25; --ink:#eee6d8; --dim:#c2b8a6; --faint:#aba08d;
  --line:#49473a; --accent:#d4b565; --accent-soft:#d4b56518; --gold:#d4b565; --gold-soft:#373225; --gold-line:#665634;
  --header-bg:#25251ff0; --dbar-bg:#25251ff5;
}
body { font-weight:300; line-height:1.6; }
button,input,textarea,select { font-family:var(--sans); }
h1,h2,h3,h4,.card-heading { font-family:var(--serif); font-weight:400; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { min-height:44px; }
button:disabled { cursor:wait; opacity:.55; }
[hidden] { display:none !important; }
a,button { text-underline-offset:5px; }
.topbar { padding:18px max(28px,calc((100vw - 1240px)/2)); gap:30px; backdrop-filter:blur(16px); }
.brandtext { display:flex; align-items:center; gap:24px; }
.brandtext strong,.footer-wordmark { font-family:'Dancing Script',cursive; font-size:44px; font-weight:500; letter-spacing:-2px; line-height:1; }
.brandtext small { max-width:110px; font-size:9px; line-height:1.5; letter-spacing:1.5px; }
.viewtabs { background:none; border-radius:0; padding:0; gap:18px; }
.vtab,#savedBtn { font-weight:400; font-size:13px; padding:10px 0; background:none; border:0; border-radius:0; box-shadow:none; color:var(--dim); }
.vtab > span { display:none; }
.vtab.active,#savedBtn.active { background:none; color:var(--ink); box-shadow:inset 0 -1px var(--gold); font-weight:500; }
#savedBtn b { font-weight:400; font-size:10px; }
.top-actions { gap:6px; }
.exa { display:none; }
.iconbtn { background:transparent; border:0; width:44px; height:44px; font-size:21px; }
#addBtn { border:0; border-radius:0; padding:10px 4px; background:none; font-size:12px; }
.btn { min-height:44px; font-weight:400; border-radius:5px; background:transparent; padding:11px 20px; }
.btn.primary { background:var(--ink); color:var(--bg); border-color:var(--ink); font-weight:400; }
.btn.big { font-size:14px; padding:14px 24px; }
.btn:hover { box-shadow:none; }
.hero { max-width:1240px; text-align:left; padding:54px 28px 0; }
.hero-composition { display:grid; grid-template-columns:1.04fr 1fr; align-items:center; gap:60px; padding:0 0 64px; }
.hero-copy { padding:18px 0; animation:journal-enter .7s both; }
.eyebrow { color:var(--dim); font-size:10px; font-weight:400; letter-spacing:2.1px; }
.hero h1 { font-family:var(--serif); font-weight:400; font-size:clamp(52px,5.5vw,82px); letter-spacing:-2.5px; line-height:.98; margin:26px 0 24px; }
.hero h1 em { color:var(--gold); font-weight:400; }
.hero .sub { font-size:15px; font-weight:300; margin:0 0 24px; line-height:1.8; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; }
.hero-actions .btn { text-decoration:none; }
.browse-link { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); font-size:14px; text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--line); }
@media(hover:hover) { .browse-link:hover { text-decoration-color:currentColor; } }
@media(max-width:760px) { .hero-actions { display:none; } }
.feature-story { position:relative; border:0; padding:0; display:block; background:#473822; color:white; cursor:pointer; text-align:left; overflow:hidden; border-radius:3px 3px 68px 3px; animation:journal-enter .9s both; }
.feature-story img { width:100%; aspect-ratio:1.22; object-fit:cover; transition:transform .8s var(--ease); }
.feature-story::after { content:''; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,#21180ddb); pointer-events:none; }
.feature-caption { position:absolute; z-index:1; inset:auto 28px 28px; }
.feature-caption > span:first-child { display:block; font-size:9px; text-transform:uppercase; letter-spacing:2px; color:#f1ddad; }
.feature-caption em { display:block; font-family:var(--serif); font-size:35px; line-height:1.1; margin-top:10px; }

@media (hover:hover) { .feature-story:hover img { transform:scale(1.035); } }
.collection-intro { display:flex; justify-content:space-between; align-items:end; border-top:1px solid var(--line); padding-top:30px; margin-bottom:24px; scroll-margin-top:110px; }
.collection-intro .eyebrow { margin:0 0 8px; }
.collection-intro h2 { font-size:38px; margin:0; line-height:1.15; letter-spacing:-.7px; }
.collection-intro h2 em { color:var(--gold); }
.collection-note { font-size:12px; color:var(--dim); }
.searchrow { max-width:none; margin:0; gap:12px; }
#search { font:300 16px var(--sans); border-radius:4px; box-shadow:none; min-height:54px; background:transparent; padding-left:44px; }
.sicon { left:16px; color:var(--dim); }
.sclear { min-height:36px; width:36px; height:36px; }
.herolinks { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0 0; }
.portal { isolation:isolate; overflow:hidden; position:relative; text-align:left; border:1px solid var(--line); background:transparent; padding:15px 20px; color:var(--ink); border-radius:4px; cursor:pointer; }
.portal::before,.portal::after { content:''; position:absolute; z-index:-1; width:110px; height:110px; border-radius:50%; filter:blur(25px); opacity:.23; transition:transform 1s; background:var(--plum); top:-30px; right:15%; }
.portal::after { background:var(--sage); right:-25px; top:20px; }
.portal-daily::before { background:var(--terracotta); }
.portal-daily::after { background:#d4b565; }
.portal:hover::before { transform:translateX(30px) scale(1.3); }
.portal-label { display:block; font-size:9px; letter-spacing:1.6px; text-transform:uppercase; color:var(--dim); margin-bottom:4px; }
.portal-title { display:flex; justify-content:space-between; gap:12px; font-family:var(--serif); font-size:25px; }
.portal-title i { font:300 20px var(--sans); }
.hint { display:none; }
.controls { max-width:none; margin:24px 0 0; flex-wrap:nowrap; border-bottom:1px solid var(--line); padding-bottom:0; gap:8px; }
.chips { gap:22px; flex-wrap:nowrap; }
.chip { position:relative; white-space:nowrap; padding:14px 0; font-size:12px; font-weight:400; border:0; border-radius:0; }
.chip.active { background:transparent; color:var(--ink); box-shadow:inset 0 -2px var(--gold); font-weight:500; }
.chip:hover { background:transparent; }
.chip i { font-size:10px; margin-left:5px; }
.sort { font-size:11px; gap:5px; }
.sort select { padding:10px 4px; border:0; background:transparent; font-family:var(--sans); font-size:12px; min-height:44px; }
.collection-main { max-width:1240px; padding:20px 28px 70px; margin:0 auto; }
.count { font-size:10px; color:var(--dim); letter-spacing:1.4px; margin:0 0 24px; }
.grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 26px; }
.card { position:relative; background:transparent; border:0; border-radius:3px; box-shadow:none; overflow:visible; }
.card-open { width:100%; padding:0; display:block; text-align:left; color:var(--ink); background:none; border:0; cursor:pointer; font:inherit; }
.card .frame { display:block; aspect-ratio:1.25; border-radius:3px; background:var(--bg2); }
.card .frame img { width:100%; height:100%; object-fit:cover; }
.card .cat { border:0; border-radius:2px; bottom:12px; left:12px; color:#fffaf2; background:#3d3529bf; font-size:9px; font-weight:400; padding:5px 9px; letter-spacing:1.5px; }
.card[data-category="food"] .cat { background:#536e50e8; }
.card[data-category="textile"] .cat { background:#95583de8; }
.card[data-category="experience"] .cat { background:#56668ce8; }
.card .cardbody { display:block; padding:16px 0 12px; }
.card-heading { display:block; font-size:29px; letter-spacing:-.4px; line-height:1.07; margin-bottom:10px; }
.card .tagline { display:block; font-size:13px; font-weight:300; line-height:1.6; min-height:42px; margin-bottom:18px; }
.card .meta { border-top:1px solid var(--line); padding-top:12px; gap:8px; }
.price { font-size:13px; color:var(--ink); font-weight:400; }
.viewlink { font-size:11px; font-weight:400; color:var(--dim); }
.viewlink > span { margin-left:6px; color:var(--gold); }
.heart { top:10px; right:10px; width:44px; height:44px; background:#faf6f0eb; box-shadow:0 2px 8px #00000010; }
.heart svg { width:17px; height:17px; }
.heart svg path { stroke:var(--ink); stroke-width:1.3; }
@media (hover:hover) { .card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); } }
@media (hover:none) { .card:hover { transform:none; box-shadow:none; } }
.card:has(.card-open:focus-visible) { outline:2px solid var(--gold); outline-offset:5px; }
.curatebtn { width:100%; border-radius:3px; }
.overlay { background:#28231865; padding:3vh 20px; overscroll-behavior:contain; }
.sheet { border-radius:8px; max-height:94dvh; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; box-shadow:0 20px 80px #221c2040; }
.dhero { aspect-ratio:2.2; }
.dbody { padding:32px 40px 0; }
.dbody h1 { font-size:54px; font-weight:400; letter-spacing:-1px; }
.dbody h2.sec { font-size:31px; font-weight:400; }
.dbody section p { font-family:var(--serif); font-size:23px; line-height:1.5; }
.dtag { font-size:25px; }
.deyebrow,.spec .k { font-weight:400; color:var(--dim); font-size:10px; letter-spacing:1.5px; }
.spec .v { font-weight:400; font-size:16px; }
.meter { display:none; }
.specs { margin-bottom:24px; }
.fact-note { padding:17px 20px; background:var(--gold-soft); border-radius:0; }
.fact-note strong { font-size:27px; }
.fact-note p { font-size:14px; }
.fact-note small { font-size:11px; }
.callout { border:0; border-top:1px solid var(--line); border-radius:0; background:none; padding:24px 0; }
.callout .k { font-weight:400; letter-spacing:1.5px; }
.dbar,.dbar-top { padding-left:24px; padding-right:24px; }
.dbar-price { font-weight:400; font-size:17px; }
.dbar .btn { font-size:13px; }
.dbody a { overflow-wrap:anywhere; color:var(--accent); }
.night,.nightov .dailysheet { background:var(--bg2) !important; color:var(--ink) !important; }
.night::before,.nightov .dailysheet::before { display:none; }
.night h2,.night .dim.light,.night .eyebrow.light,.eyebrow.light { color:var(--ink); }
.night .dim.light { opacity:1; color:var(--dim); }
.nightbar { background:var(--header-bg); border-color:var(--line); }
.nightbar .iconbtn { background:transparent; color:var(--ink); }
.sheet.night { border:0; }
.oraclehead,.starshead { padding:50px 24px 32px; background:var(--bg) !important; }
.oraclehead h2,.starshead h2 { font:400 55px/1.05 var(--serif); letter-spacing:-1px; }
.oraclehead h2 em { color:var(--gold); }
.oraclehead p,.starshead p { font-size:14px; }
.oraclebody { padding-top:24px; }
.olabel { display:block; font-size:10px; font-weight:400; color:var(--dim); }
.pill { border-radius:4px; font-weight:400; font-size:13px; }
.pill.active { font-weight:400; }
#oracleWho { border-radius:4px; background:transparent; font-weight:300; }
.orow { background:none; border:0; border-top:1px solid var(--line); border-radius:0; box-shadow:none; padding:24px 0; grid-template-columns:100px 1fr; }
.orow h4 { font-size:29px; font-weight:400; }
.orow .oframe { border-radius:3px; }
.orow .onote { font-size:21px; color:var(--dim); }
.orow .copybtn { font-size:12px; border-radius:3px; }
.star-list { max-width:1064px; margin:20px auto; padding:0 24px; display:flex; gap:8px; flex-wrap:wrap; }
.star-list button { padding:10px 14px; background:transparent; border:1px solid var(--line); border-radius:3px; color:var(--ink); font-size:12px; cursor:pointer; }
.starslegend { padding-bottom:30px; }
#stars { border-radius:4px; }
#dailyCard .card,#vibeCard .card { background:transparent; border:0; }
#dailyCard .card .tagline,#vibeCard .card .tagline { color:var(--dim); }
#vibeCard .viewlink { color:var(--dim); }
.streak,.reading { color:var(--gold); }
.btn.ghostlight { border-color:var(--line); color:var(--ink); }
.vibebody .vh { font:400 40px var(--serif); color:var(--ink); }
.vibebody .searchwrap input { background:var(--bg); border-color:var(--line); color:var(--ink); border-radius:4px; font-size:22px; }
.vibechip { color:var(--dim); border-color:var(--line); font-size:17px; }
.field input,.field textarea,.field select { border-radius:4px; font:300 16px var(--sans); }
.cbody h2 { font:400 40px var(--serif); }
.fp { border:0; border-radius:0; background:var(--bg2); box-shadow:none; }
footer { max-width:1184px; margin:auto; text-align:left; padding:38px 0 60px; }
.fbrand { display:flex; align-items:baseline; gap:24px; flex-wrap:wrap; }
.footer-wordmark { font-size:48px; }
.footer-motto { font:italic 25px var(--serif); font-weight:400; letter-spacing:0; }
#footCount { margin-left:auto; font:300 10px var(--sans); letter-spacing:1px; }
footer .dim { font-size:11px; max-width:680px; }
.knower { position:fixed; bottom:22px; right:22px; width:8px; height:8px; z-index:100; pointer-events:none; border-radius:50%; background:#b8943f; animation:quiet-core 4s ease-in-out infinite; }
.knower span { position:absolute; inset:-4px; border:1px solid #b8943f88; border-radius:50%; animation:quiet-ring 4s 1s ease-out infinite; }
@keyframes quiet-core { 50% { opacity:.55; } }
@keyframes quiet-ring { 0% { transform:scale(.7); opacity:0; } 25% { opacity:.5; } 100% { transform:scale(1.8); opacity:0; } }
@keyframes journal-enter { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
#oracleOut:not([hidden]),#liveSection:not([hidden]) { animation:journal-enter .35s both; }
.toast { border-radius:4px; font-size:13px; background:var(--ink); color:var(--bg); max-width:calc(100vw - 36px); white-space:normal; }
@media(min-width:761px) and (max-width:1100px) {
  .topbar { gap:15px; padding:15px 24px; flex-wrap:nowrap; }
  .brandtext small { display:none; }
  .viewtabs { order:initial; width:auto; gap:14px; }
  .hero-composition { gap:30px; }
  .hero h1 { font-size:62px; }
  .top-actions #addBtn .addlabel { display:none; }
}
@media(max-width:760px) {
  body { padding-bottom:calc(75px + env(safe-area-inset-bottom)); }
  .topbar { height:76px; padding:14px 20px; flex-wrap:nowrap; gap:8px; border-bottom:1px solid var(--line); }
  .brandtext strong { font-size:42px; }
  .brandtext small { display:none; }
  .top-actions { margin-left:auto; gap:4px; }
  .top-actions #addBtn { min-width:44px; font-size:23px; }
  #addBtn .addlabel { display:none; }
  .viewtabs { position:fixed; inset:auto 0 0; width:100%; height:calc(66px + env(safe-area-inset-bottom)); padding:5px 12px calc(5px + env(safe-area-inset-bottom)); display:grid; grid-template-columns:repeat(4,1fr); gap:4px; background:var(--bg); border-top:1px solid var(--line); border-radius:0; z-index:35; }
  .vtab,#savedBtn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; min-width:0; font-size:10px; font-weight:400; padding:4px 0; position:relative; }
  .vtab > span,#savedBtn > span { display:block; font-size:22px; line-height:26px; }
  .vtab.active,#savedBtn.active { box-shadow:none; color:var(--gold); }
  .vtab.active::before,#savedBtn.active::before { content:''; position:absolute; top:-6px; width:24px; height:2px; background:var(--gold); }
  #savedBtn b { position:absolute; top:2px; right:calc(50% - 20px); font-size:9px; background:var(--bg2); border-radius:20px; padding:0 4px; }
  .hero { padding:30px 20px 0; }
  .hero-composition { display:block; padding-bottom:30px; }
  .hero-copy { padding:0; }
  .hero-copy .eyebrow { font-size:9px; letter-spacing:1.8px; margin:0; }
  .hero h1 { font-size:clamp(44px,12.8vw,66px); letter-spacing:-1.6px; margin:18px 0 16px; }
  .hero .sub { font-size:13px; line-height:1.7; margin-bottom:12px; }
  .browse-link { display:none; }
  .feature-story { margin-top:24px; width:100%; border-radius:3px 3px 38px 3px; }
  .feature-story img { aspect-ratio:2; }
  .feature-caption { inset:auto 18px 16px; }
  .feature-caption > span:first-child { font-size:8px; letter-spacing:1.5px; }
  .feature-caption em { font-size:27px; margin-top:6px; }

  .collection-intro { padding-top:24px; margin-bottom:18px; scroll-margin-top:90px; }
  .collection-intro h2 { font-size:30px; }
  .collection-intro .eyebrow { font-size:9px; }
  .collection-note { display:none; }
  .searchrow { display:flex; flex-direction:row; gap:8px; }
  .searchwrap { min-width:0; }
  #search { font-size:16px; min-height:50px; padding:13px 37px 13px 36px; }
  .sicon { left:12px; }
  #surpriseBtn { width:50px; min-width:50px; padding:0; font-size:0; }
  #surpriseBtn span { font-size:25px; }
  .herolinks { gap:10px; margin-top:14px; }
  .portal { padding:14px 12px; min-width:0; }
  .portal-label { font-size:8px; letter-spacing:.8px; }
  .portal-title { font-size:20px; line-height:1.05; gap:4px; }
  .portal-title i { font-size:15px; }
  .controls { align-items:stretch; flex-direction:column; gap:0; margin-top:22px; border-bottom:0; }
  .chips { justify-content:space-between; gap:6px; border-bottom:1px solid var(--line); }
  .chip { font-size:11px; padding:12px 0; min-height:44px; }
  .chip i { font-size:9px; margin-left:3px; }
  .sort { justify-content:flex-end; min-height:44px; margin-top:4px; }
  .sort select { font-size:16px; max-width:160px; padding:6px; }
  .collection-main { padding:0 20px 42px; }
  .count { margin:0 0 18px; font-size:9px; }
  .grid { grid-template-columns:1fr; gap:30px; }
  .card .frame { aspect-ratio:1.45; }
  .card-heading { font-size:32px; }
  .card .cardbody { padding-top:14px; }
  .card .tagline { min-height:0; font-size:14px; margin-bottom:16px; }
  .card .price { font-size:14px; }
  .card .viewlink { font-size:12px; }
  .overlay { padding:0; align-items:stretch; overflow:hidden; }
  .sheet,.sheet.narrow { border-radius:0; height:100dvh; max-height:100dvh; width:100%; overflow-y:auto; }
  .dbar-top { padding:8px 14px; padding-top:calc(8px + env(safe-area-inset-top)); }
  .dhero { aspect-ratio:1.65; }
  .dbody { padding:26px 22px 0; }
  .dbody h1 { font-size:43px; line-height:1; }
  .dtag { font-size:23px; }
  .dbody section p { font-size:22px; line-height:1.48; }
  .dbody h2.sec { font-size:31px; }
  .specs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .spec:last-child { grid-column:auto; }
  .spec .k { font-size:8px; letter-spacing:.8px; }
  .spec .v { font-size:13px; }
  .dbar { padding:12px 14px calc(14px + env(safe-area-inset-bottom)); gap:8px; }
  .dbar-actions { gap:6px; }
  .dbar .btn { font-size:12px; padding:10px 12px; }
  .dbar-price { font-size:14px; }
  .dfoot { padding-bottom:28px; }
  .oraclehead,.starshead { padding:34px 20px 18px; text-align:left; }
  .oraclehead h2,.starshead h2 { font-size:46px; }
  .oraclebody { padding:22px 20px 40px; }
  .pills { gap:7px; }
  .pill { font-size:12px; padding:10px 13px; }
  .orow { grid-template-columns:72px 1fr; gap:14px; }
  .orow h4 { font-size:25px; }
  .orow .dim { font-size:12px; }
  .orow .onote { font-size:20px; }
  .starswrap { padding:10px 20px; }
  #stars { height:340px; }
  .star-list { padding:0 20px; display:grid; grid-template-columns:1fr; }
  .star-list button { text-align:left; }
  .starslegend { font-size:11px; padding:10px 20px 24px; }
  footer { margin:0 20px; padding:28px 0 20px; }
  .fbrand { gap:16px; }
  .footer-motto { font-size:22px; }
  #footCount { display:none; }
  footer .dim { font-size:11px; line-height:1.7; }
  .knower { bottom:calc(80px + env(safe-area-inset-bottom)); right:12px; width:6px; height:6px; }
  .toast { bottom:calc(88px + env(safe-area-inset-bottom)); }
  .nightov .dailysheet { max-height:100dvh; border-radius:0; width:100%; overflow-y:auto; }
}
@media(max-width:360px) { .dbar-actions .btn { padding:10px 8px; } .chip i { display:none; } .hero h1 { font-size:43px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
/* A fixed mobile nav must not inherit a backdrop-created containing block. */
.topbar { backdrop-filter:none; -webkit-backdrop-filter:none; }
.feature-story img { height:auto; }
.photo-caption { margin:10px 22px 0; font-size:10px; line-height:1.5; color:var(--dim); }
.photo-caption a { color:inherit; }
.feature-story img { object-position:center 48%; }
.story-section { border-bottom:1px solid var(--line); padding:0 0 20px; margin:0 0 20px; interpolate-size:allow-keywords; }
.story-section summary { cursor:pointer; list-style:none; font:400 31px/1.4 var(--serif); display:flex; justify-content:space-between; align-items:center; min-height:48px; }
.story-section summary::-webkit-details-marker { display:none; }
.story-section summary::after { content:'+'; font:300 23px var(--sans); color:var(--gold); }
.story-section[open] summary::after { content:'−'; }
.story-section p { font:400 23px/1.5 var(--serif); margin:12px 0 0; }
.story-section::details-content { block-size:0; opacity:0; overflow:hidden; transition:block-size .3s ease,opacity .3s ease,content-visibility .3s allow-discrete; }
.story-section[open]::details-content { block-size:auto; opacity:1; }
@media(max-width:760px) { .story-section p { font-size:22px; } }

.query-context{max-width:760px;margin:0 0 24px;padding:16px 18px;border-left:2px solid #b8943f;background:#f1ebdf;font-size:15px;line-height:1.55}.query-context p{margin:0 0 10px}.query-context p:last-child{margin-bottom:0}.query-context a{display:inline-block;min-height:44px;align-content:center;color:inherit;text-underline-offset:4px}
