/* LOCARTA website: the app's palette with the website's existing fonts */
:root { --bg: #FBF7F0; --card: #FFFCF7; --ink: #2A1A12; --ink-2: #4A372B; --muted: #8A7B6E; --line: #EDE3D6; --primary: #5A2810; --primary-2: #3A1A09; --accent: #C8892C; --accent-ink: #8A5A14; --accent-soft: #F7EBD5; --sand: #F3ECE2;
  --serif: "Playfair Display", Georgia, serif; --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --r: 18px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
.ic { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.12em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 14px; background: var(--primary); color: #fff; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.eyebrow.light { color: #F6E1B4; }
.fine { margin-top: 14px; font-size: .76rem; color: var(--muted); }
.fine.light { color: rgba(255, 243, 222, .7); }
.muted { color: var(--muted); }
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .92rem; white-space: nowrap; cursor: pointer; transition: background-color .15s, transform .12s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1rem; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .8rem; }
.btn-primary { background: linear-gradient(135deg, #6B3414, var(--primary-2)); color: #FFF6E6; box-shadow: 0 10px 22px -14px rgba(58, 26, 9, .9); }
.btn-primary:hover { background: linear-gradient(135deg, #7A3F18, #45200C); }
.btn-ghost { background: var(--card); color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-light { background: #FFF3DE; color: var(--primary); }
.btn-outline-light { background: transparent; color: #FFF3DE; border-color: rgba(255, 243, 222, .7); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: var(--accent-ink); }
.price { font-weight: 800; color: var(--primary); }
.price small { font-weight: 600; color: var(--muted); }

/* header */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(251, 247, 240, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(60, 30, 14, .6); }
.hd-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo > span { display: grid; gap: 1px; }
.logo small { font-size: .6rem; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a { padding: 8px 10px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav > a:hover { background: var(--accent-soft); color: var(--primary); }
.nav-auth { display: flex; gap: 6px; margin-left: 8px; }
.nav-auth .btn { min-height: 38px; padding: 0 14px; font-size: .82rem; }
.hd-cta { flex-shrink: 0; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--primary); transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(60, 30, 14, .7); }
  .menu-open .nav { display: flex; }
  .nav > a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
  .nav-auth { margin: 14px 0 0; }
  .nav-auth .btn { flex: 1; min-height: 44px; }
}
@media (max-width: 520px) { .hd-cta { display: none; } .logo small { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #F3DDB0 0%, rgba(243, 221, 176, 0) 55%), linear-gradient(180deg, #FBF7F0 0%, #F6EEE1 100%); }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 34px; padding-top: 40px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.05rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
.lead { margin-top: 16px; max-width: 34em; font-size: clamp(1rem, 2.6vw, 1.12rem); color: var(--ink-2); }
.hero .cta-row { margin-top: 26px; }
.hero-note { margin-top: 18px; font-family: var(--serif); font-style: italic; color: var(--accent-ink); }
.hero-art { position: relative; margin: 0; }
.hero-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 50px -34px rgba(58, 26, 9, .9); }
.hero-side { position: absolute; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 5px solid var(--bg); box-shadow: 0 16px 28px -18px rgba(58, 26, 9, .8); }
.hero-side.s1 { left: -12px; bottom: -22px; } .hero-side.s2 { right: -10px; top: -18px; width: 28%; }
.hero-art figcaption { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(43, 22, 11, .7); color: #FFF3DE; font-size: .74rem; font-weight: 600; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 84px; }
  .hero-main { aspect-ratio: 4 / 5; }
  .hero-side.s1 { left: -36px; bottom: 34px; } .hero-side.s2 { right: -22px; top: 38px; }
}
@media (max-width: 520px) { .hero-side { display: none; } .hero .btn-lg { flex: 1 1 100%; } }

/* sections */
.sec { padding: 64px 0; }
.sec-tint { background: linear-gradient(180deg, #F6EEE1, #FBF7F0); }
.sec-hd { max-width: 720px; margin-bottom: 28px; }
.sec-hd h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 800; }
.sec-hd p:not(.eyebrow) { margin-top: 10px; color: var(--ink-2); }
.sec-hd.split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.sec-hd.split > div { max-width: 680px; }
@media (max-width: 520px) { .sec { padding: 48px 0; } .sec-hd.split .btn { width: 100%; } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.cat { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-body { display: grid; gap: 6px; padding: 16px 18px 18px; }
.cat-body b { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.cat-body b .ic { color: var(--accent); }
.cat-body small { font-size: .88rem; color: var(--ink-2); }
.cat-body em { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: .84rem; font-weight: 700; color: var(--accent-ink); }
@media (hover: hover) { .cat:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(58, 26, 9, .7); } .cat:hover .cat-img img { transform: scale(1.04); } }

/* connected pathway */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.path li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 0 0 20px; }
.path li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(200, 137, 44, .2)); }
.path-ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #FBE7B8, #E2A64A); color: var(--primary); font-size: 1.2rem; box-shadow: 0 0 0 5px var(--bg); }
.path b { align-self: end; font-family: var(--serif); font-size: 1.15rem; }
.path small { color: var(--ink-2); font-size: .9rem; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .path li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0; row-gap: 6px; }
  .path li:not(:last-child)::before { left: calc(50% + 32px); right: calc(-50% + 14px); top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(200, 137, 44, .25)); }
  .path-ic { grid-row: auto; margin-bottom: 6px; }
}
.chain { margin-top: 34px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.chain-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 700; color: var(--accent-ink); }
.chain-row { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: center; }
.chain-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--bg); min-width: 0; }
.chain-item img { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.chain-item span { display: grid; gap: 1px; min-width: 0; }
.chain-item small { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.chain-item b { font-size: .92rem; line-height: 1.3; }
.chain-item em { font-style: normal; font-size: .78rem; color: var(--muted); }
.chain-arrow { justify-self: center; color: var(--accent); transform: rotate(90deg); }
@media (min-width: 900px) { .chain-row { grid-template-columns: 1fr auto 1fr auto 1fr; } .chain-arrow { transform: none; } }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.person { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.person > span { display: grid; gap: 3px; padding: 14px 16px 16px; }
.person b { font-family: var(--serif); font-size: 1.12rem; }
.person small { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--muted); }
.person .role { color: var(--accent-ink); font-weight: 700; }
.person em { font-style: normal; font-size: .86rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 6px; }
@media (hover: hover) { .person:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(58, 26, 9, .7); } }
.invite { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: linear-gradient(115deg, var(--primary-2), #8E5520); color: #FFF3DE; }
.invite .ic { font-size: 1.3rem; color: #F6E1B4; }
.invite span { flex: 1; display: grid; gap: 2px; }
.invite small { color: rgba(255, 243, 222, .82); }

/* books */
.book-cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 18px; padding: 0 20px 4px; scrollbar-width: none; }
.book-cats::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--primary); }
.books { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 170px); gap: 18px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
@media (min-width: 1000px) { .books { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 4px 0 0; } }
.book { display: grid; gap: 4px; align-content: start; scroll-snap-align: start; }
.book-cover { aspect-ratio: 2 / 3; border-radius: 6px 12px 12px 6px; overflow: hidden; background: #EADCC6; box-shadow: 0 16px 26px -18px rgba(58, 26, 9, .85); transition: transform .2s; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book b { margin-top: 8px; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.book small { font-size: .78rem; color: var(--ink-2); }
.book small.muted { font-size: .72rem; color: var(--muted); }
.book-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; }
@media (hover: hover) { .book:hover .book-cover { transform: translateY(-4px); } }

/* experiences */
.exps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.exp { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.exp-img { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.exp-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 252, 247, .94); color: var(--primary); font-size: .72rem; font-weight: 800; }
.exp-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.exp-body b { font-family: var(--serif); font-size: 1.12rem; line-height: 1.3; }
.exp-body > small { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.facts span { padding: 3px 10px; border-radius: 999px; background: var(--sand); font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.exp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
@media (hover: hover) { .exp:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(58, 26, 9, .7); } }

/* community */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body { display: grid; gap: 4px; padding: 14px 16px 18px; }
.kicker { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.post-body b { font-size: 1rem; }
.post-body small:not(.kicker) { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.post-body em { font-style: normal; font-size: .9rem; color: var(--ink-2); }

/* Loka */
.loka { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; padding: 36px 26px; border-radius: 28px; color: #FFF3DE;
  background: radial-gradient(90% 120% at 15% 20%, rgba(232, 201, 135, .25), rgba(232, 201, 135, 0) 60%), linear-gradient(120deg, var(--primary-2), #6B3414 55%, #A06A2C); }
.loka-art { width: clamp(150px, 40vw, 230px); margin: 0 auto; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .35)); }
.loka h2 { color: #FFF6E6; font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 800; }
.loka-copy > p:not(.eyebrow):not(.fine) { margin-top: 12px; color: rgba(255, 243, 222, .9); max-width: 36em; }
.loka-list { list-style: none; margin: 16px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.loka-list li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 243, 222, .14); border: 1px solid rgba(255, 243, 222, .25); font-size: .82rem; font-weight: 600; }
@media (min-width: 900px) { .loka { grid-template-columns: 280px 1fr; padding: 48px 56px; gap: 48px; } }
@media (prefers-reduced-motion: no-preference) { .loka-art { animation: float 3.2s ease-in-out infinite; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* closing CTA */
.close { padding: 0 0 64px; }
.close-in { padding: 54px 24px; border-radius: 28px; text-align: center; color: #FFF3DE;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg fill='none' stroke='%23F4D59A' stroke-opacity='.16' stroke-width='1.3'%3E%3Cpath d='M17 2 32 17 17 32 2 17Z'/%3E%3Cpath d='M17 10 24 17 17 24 10 17Z'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--primary-2), #5E2E10 50%, #8E5520); }
.close h2 { color: #FFF6E6; font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; }
.close p { margin: 12px auto 26px; max-width: 34em; color: rgba(255, 243, 222, .88); }
@media (max-width: 520px) { .close .btn-lg { flex: 1 1 100%; } }

/* footer */
.weave { height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 24 18'%3E%3Cpath d='M12 2 19 9 12 16 5 9Z' fill='none' stroke='%23C8892C' stroke-width='1.4'/%3E%3Ccircle cx='0' cy='9' r='1.5' fill='%23C8892C'/%3E%3C/svg%3E") repeat-x center, #5A2810; }
.ft { background: #2E160A; color: rgba(255, 243, 222, .8); }
.ft-in { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 24px; }
@media (min-width: 640px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ft-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ft-brand { display: grid; gap: 10px; align-content: start; }
.ft-brand img { filter: brightness(0) invert(.92) sepia(.3); }
.ft-brand img:first-child { filter: none; }
.ft-brand p { max-width: 30em; font-size: .88rem; }
.ft h3 { margin-bottom: 10px; font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6E1B4; }
.ft-in > div:not(.ft-brand) { display: grid; gap: 8px; align-content: start; }
.ft-in a { font-size: .9rem; } .ft-in a:hover { color: #FFF3DE; text-decoration: underline; }
.ft-fine { padding-bottom: 28px; font-size: .76rem; color: rgba(255, 243, 222, .55); }
/* desktop header fits: links + Sign In + Start Exploring (Sign Up lives in the menu and the closing call to action) */
@media (min-width: 1181px) { .nav-signup { display: none; } .nav > a { padding: 8px 9px; font-size: .84rem; } }
@media (max-width: 1399px) { .logo small { display: none; } }
@media (min-width: 900px) and (max-width: 1240px) { .hero-side.s2 { right: 8px; } .hero-side.s1 { left: -10px; } }
/* balanced rows on wide screens */
@media (min-width: 1000px) { .books { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .books { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; } }
.exps { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cat-img.cat-cover { display: grid; place-items: center; background: linear-gradient(135deg, #EADCC6, #F6EEE1); }
.cat-img.cat-cover img { width: auto; height: 86%; object-fit: contain; border-radius: 4px 8px 8px 4px; box-shadow: 0 12px 22px -14px rgba(58, 26, 9, .8); }
/* how it works / provenance / creator invitation */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.how-col { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.how-col h3 { margin-bottom: 14px; font-size: 1.3rem; }
.how-col ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.how-col li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.how-col li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FBE7B8, #E2A64A); color: var(--primary); font-weight: 800; }
.how-col b { font-size: .98rem; } .how-col span { font-size: .9rem; color: var(--ink-2); }
.prov, .join { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .prov { grid-template-columns: 1fr 1.2fr; } .join { grid-template-columns: 1.2fr 1fr; } }
.prov img, .join img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.prov h2, .join h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.prov p:not(.eyebrow):not(.fine), .join p:not(.eyebrow):not(.fine) { color: var(--ink-2); margin-bottom: 18px; }

/* =========================================================
   Hero: the classic LOCARTA design (dark card over the Mayon photo, framed featured artwork)
   ========================================================= */
.chero { --gold-l: #E8CA94; --gold: #C89547; --gold-d: #A0702B; --terra: #BA5231; position: relative; width: min(100% - 4rem, 1216px); margin: 16px auto 0; min-height: 500px; border-radius: 24px; overflow: hidden; color: #FFF8EE; background: #2A170C; box-shadow: 0 30px 60px -36px rgba(35, 20, 12, .8); }
.chero-bg { position: absolute; inset: 0; }
.chero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: brightness(.82); }
.chero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(35, 20, 12, .95) 0%, rgba(56, 32, 19, .85) 45%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, rgba(35, 20, 12, .8) 0%, rgba(0, 0, 0, 0) 50%); }
.chero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; padding: 48px clamp(1.5rem, 4vw, 3.5rem) 72px; }
.chero-in > * { min-width: 0; }
.chero-pill { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: 4px 12px; border-radius: 9999px; background: rgba(200, 149, 71, .3); border: 1px solid rgba(232, 202, 148, .4); backdrop-filter: blur(4px); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); }
.chero-pill .ic { width: 14px; height: 14px; color: var(--gold); }
.chero h1 { font-family: Lexend, var(--sans); font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: #FFF8EE; overflow-wrap: break-word; }
.chero-sub { display: block; margin-top: 4px; font-family: Lexend, var(--sans); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 1.875rem); letter-spacing: -.015em; color: var(--gold-l); }
.chero-copy > p { max-width: 32rem; margin-top: .75rem; font-size: .875rem; font-weight: 300; line-height: 1.65; color: #E5E7EB; }
.chero-acts { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2rem; }
.chero-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 9999px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .15s, box-shadow .15s, background-color .15s; }
.chero-btn .ic { width: 16px; height: 16px; }
.chero-btn-gold { background: linear-gradient(135deg, #C89547 0%, #BA5231 100%); color: #fff; }
.chero-btn-gold:hover { box-shadow: 0 6px 20px rgba(186, 82, 49, .35); transform: translateY(-1px); }
.chero-btn-line { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.chero-btn-line .ic { color: var(--gold-l); }
.chero-btn-line:hover { background: rgba(255, 255, 255, .2); }
.chero-art { position: relative; margin: 0 0 56px; justify-self: end; width: 100%; max-width: 580px; }
.chero-flag { position: absolute; top: -40px; left: 3px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.2; color: var(--gold-l); transform: rotate(-4deg); }
.chero-frame { display: block; padding: 10px; border-radius: 16px; background: linear-gradient(145deg, var(--gold-l), var(--gold) 45%, var(--gold-d)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 248, 238, .5); transform: rotate(-1.5deg); transition: transform .3s; }
.chero-frame:hover, .chero-frame:focus-visible { transform: rotate(0); }
.chero-canvas { display: block; aspect-ratio: 725 / 558; border-radius: 10px; overflow: hidden; background: #F4ECE1; box-shadow: inset 0 0 0 1px rgba(54, 32, 19, .4); }
.chero-canvas img { width: 100%; height: 100%; object-fit: cover; }
.chero-plaque { position: absolute; right: -8px; bottom: -56px; width: min(300px, 70%); display: grid; gap: 2px; padding: 12.8px 16px; border-radius: 16px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(200, 149, 71, .3); backdrop-filter: blur(12px); color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.chero-plaque strong { font-family: Lexend, var(--sans); font-size: 1.1rem; line-height: 1.2; color: var(--gold-l); }
.chero-by { font-size: .82rem; font-weight: 600; color: #fff; }
.chero-rate { display: flex; align-items: baseline; gap: 4px; font-size: .82rem; font-weight: 700; color: #F5C76B; }
.chero-rate small { font-weight: 500; color: #E5DCCF; }
.chero-story { font-size: .82rem; line-height: 1.4; color: #D1D5DB; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .chero-copy { animation: cheroUp .9s .2s cubic-bezier(.2, .8, .2, 1) backwards; }
  .chero-art { animation: cheroUp 1s .35s cubic-bezier(.2, .8, .2, 1) backwards; }
}
@keyframes cheroUp { from { opacity: 0; transform: translateY(14px); } }
/* stacked on tablets and phones, like the classic page */
@media (max-width: 900px) {
  .chero { width: min(100% - 2rem, 1216px); }
  .chero::before { background: linear-gradient(0deg, rgba(35, 20, 12, .9) 0%, rgba(56, 32, 19, .7) 100%); }
  .chero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 1.25rem 48px; }
  .chero-art { justify-self: stretch; margin: 2.5rem 0 0; max-width: 100%; }
  .chero-plaque { position: static; width: auto; margin-top: .8rem; }
}

/* Hero text: the earlier LOCARTA hero typography (Playfair Display heading, spaced eyebrow, large pill buttons,
   italic closing line), recoloured for the dark photo. The picture and background are unchanged. */
.chero-copy2 .eyebrow { margin-bottom: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #F2CF8E; }
.chero-copy2 h1 { font-family: var(--serif); font-size: clamp(2.05rem, 1.1rem + 2.6vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #FFF8EE; text-shadow: 0 2px 18px rgba(35, 20, 12, .45); }
.chero-copy2 .lead { margin-top: 16px; max-width: 34em; font-family: var(--sans); font-size: clamp(1rem, 2.6vw, 1.12rem); font-weight: 400; line-height: 1.55; color: rgba(255, 246, 230, .9); }
.chero-copy2 .cta-row { margin-top: 26px; gap: 12px; }
.chero-copy2 .btn-primary { box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 246, 230, .22); }
.chero-copy2 .btn-ghost { background: #FFFCF7; color: var(--primary); border-color: transparent; }
.chero-copy2 .btn-ghost:hover { background: #FFF3DE; }
.chero-copy2 .hero-note { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1rem; color: #E8CA94; }
@media (max-width: 520px) { .chero-copy2 .btn-lg { flex: 1 1 100%; } }
.chero-copy2 .hero-note { font-weight: 400; }


/* LOCARTA V212 brand alignment: warm cream, Filipino craft gold and deep brown. */
:root {
  --bg: #F3EEDF;
  --card: #FFFDF8;
  --ink: #221B0D;
  --ink-2: #513407;
  --muted: #806F58;
  --line: #E5D9C3;
  --primary: #6C4A08;
  --primary-2: #513407;
  --accent: #D49B17;
  --accent-ink: #6C4A08;
  --accent-soft: #F7E8BF;
  --sand: #E8D2A3;
}
.btn-primary {
  background: #D49B17;
  color: #221B0D;
  box-shadow: 0 9px 20px -14px rgba(81,52,7,.7);
}
.btn-primary:hover { background: #BE8911; }
.btn-ghost { border-color: rgba(108,74,8,.42); color: #513407; }
:focus-visible { outline-color: #D49B17; }
