@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:wght@400;700;900&display=swap');

:root {
  --terracotta: #e85d33;
  --terracotta-deep: #C24520;
  --peach: #F28B6D;
  --ink: #1a1a1a;
  --muted: #6B6B6B;
  --quiet: #9E9E9E;
  --paper: #FAFAF8;
  --cream: #F5F5F3;
  --card: #FFFFFF;
  --line: #E5E5E3;
  --dark: #2c1810;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; background: var(--dark); color: var(--paper); padding: .7rem 1rem; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.shell { width: min(1180px, calc(100% - 40px)); margin: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(251,247,244,.94); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.05rem; font-weight: 900; }
.brand-mark { width: 35px; height: 35px; border-radius: 10px; background: var(--terracotta); display: grid; place-items: center; color: #fff; }
.brand-mark img { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.header-actions { display:flex; align-items:center; gap:.55rem; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav a { padding: .55rem .7rem; text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 600; border-radius: 7px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--terracotta-deep); background: #f9e6de; }
.theme-toggle { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--muted); background:var(--card); }
.theme-toggle:hover { color:var(--terracotta-deep); border-color:var(--terracotta); }
.theme-toggle svg { width:18px; height:18px; }
.sun-icon { display:none; }
.page { min-height: calc(100dvh - 76px); }
.eyebrow { margin: 0 0 .9rem; color: var(--terracotta-deep); letter-spacing: .13em; text-transform: uppercase; font-size: .72rem; font-weight: 700; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--serif); letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 6vw, 5.1rem); line-height: 1.06; margin-bottom: 1.3rem; max-width: 800px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.8rem); line-height: 1.18; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.22rem); max-width: 570px; }
.hero { padding: clamp(4.6rem, 10vw, 8rem) 0 4.5rem; overflow: hidden; position: relative; }
.hero:after { content:""; position:absolute; width: 36rem; height: 36rem; border: 1px solid #edc9b9; border-radius: 50%; right: -19rem; top: -17rem; pointer-events:none; }
.hero-copy { position: relative; z-index: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.1rem; border-radius: 9px; font-size: .92rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: #C24520; color: #fff; }
.button-primary:hover { background: #a83b1b; }
.button-quiet { border-color: var(--line); color: var(--ink); background: var(--card); }
.button-quiet:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.hero-note { margin-top: 3.7rem; border-top: 1px solid var(--line); padding-top: 1.15rem; color: var(--muted); font-size: .9rem; display:flex; gap:.8rem; align-items:center; }
.hero-note strong { color:var(--ink); }
.section { padding: 4.5rem 0; }
.section-tint { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; margin-bottom:1.8rem; }
.section-heading p { margin:0; color:var(--muted); max-width:480px; }
.text-link { color:var(--terracotta-deep); font-weight:700; text-decoration-thickness:1px; text-underline-offset:3px; white-space:nowrap; }
.category-list { display:flex; flex-wrap:wrap; gap:.65rem; }
.category { border:1px solid var(--line); background:var(--card); color:var(--ink); padding:.72rem .95rem; border-radius:999px; text-decoration:none; font-size:.9rem; font-weight:600; }
.category:hover,.category:focus { border-color:var(--terracotta); color:var(--terracotta-deep); }
.tour-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.25rem; }
.tour-card { display:flex; flex-direction:column; min-width:0; text-decoration:none; background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:transform .18s ease, box-shadow .18s ease; }
.tour-card:hover { transform:translateY(-4px); box-shadow:0 14px 28px rgba(89,51,31,.11); }
.card-art { height: 170px; background:linear-gradient(130deg,#f6c4b0,#f9e9d9); position:relative; overflow:hidden; }
.card-art:after { content:""; position:absolute; inset:20% 12%; border:1px solid rgba(44,24,16,.3); border-radius:50% 50% 0 0; transform:rotate(-10deg); }
.card-art img { width:100%; height:100%; object-fit:cover; display:block; position:relative; z-index:1; }
.card-body { padding:1.15rem 1.15rem 1.25rem; display:flex; flex-direction:column; flex:1; }
.card-meta { color:var(--terracotta-deep); text-transform:uppercase; letter-spacing:.09em; font-weight:700; font-size:.68rem; margin-bottom:.55rem; }
.tour-card h3 { font-family:var(--serif); letter-spacing:-.02em; font-size:1.06rem; line-height:1.38; margin-bottom:.55rem; }
.tour-card p { color:var(--muted); font-size:.85rem; margin-bottom:1rem; }
.card-footer { margin-top:auto; display:flex; gap:.55rem; color:var(--muted); font-size:.77rem; }
.feature-status { min-height:320px; display:grid; place-items:center; border:1px dashed var(--line); border-radius:14px; background:rgba(255,253,250,.45); color:var(--muted); text-align:center; padding:2rem; }
.state-copy { max-width:430px; }
.state-copy h2 { font-size:1.7rem; margin-bottom:.6rem; }
.state-copy p { margin-bottom:1.25rem; }
.skeleton { height:320px; border-radius:14px; background:linear-gradient(90deg,#eee4dd 25%,#f8f1ec 37%,#eee4dd 63%); background-size:400% 100%; animation:shimmer 1.3s infinite; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }
.browse-hero { padding:4.7rem 0 2.5rem; background:var(--cream); border-bottom:1px solid var(--line); }
.browse-hero h1 { font-size:clamp(2.25rem,4.8vw,4.2rem); margin-bottom:.8rem; }
.search-box { margin-top:1.75rem; max-width:720px; display:flex; gap:.6rem; background:var(--card); border:1px solid var(--line); padding:.45rem; border-radius:11px; }
.search-box input { min-width:0; flex:1; border:0; padding:.65rem .75rem; color:var(--ink); outline:none; background:transparent; }
.search-box input:focus { box-shadow:inset 0 -2px 0 var(--terracotta); }
.search-box button { color:#fff; background:#C24520; border:0; border-radius:7px; padding:.65rem 1rem; font-weight:700; }
.browse-controls { padding:1.6rem 0 1.3rem; display:flex; justify-content:space-between; gap:1rem; align-items:center; }
.filter-scroll { overflow-x:auto; padding-bottom:4px; }
.filter-list { display:flex; gap:.5rem; min-width:max-content; }
.filter { border:1px solid var(--line); color:var(--muted); padding:.55rem .75rem; border-radius:999px; background:var(--card); font-size:.83rem; font-weight:600; }
.filter[aria-pressed="true"] { color:#fff; background:var(--dark); border-color:var(--dark); }
.result-count { white-space:nowrap; font-size:.84rem; color:var(--muted); }
.pagination { display:flex; gap:.5rem; align-items:center; justify-content:center; padding:2.5rem 0 5rem; }
.pagination button { padding:.65rem .85rem; border-radius:7px; color:var(--ink); border:1px solid var(--line); background:var(--card); font-weight:600; }
.pagination button:disabled { opacity:.45; cursor:not-allowed; }
.site-footer { background:var(--dark); color:#f8ebe2; padding:3rem 0; }
.footer-grid { display:flex; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.site-footer .brand { color:#fff8f1; }
.site-footer p { color:#c5aca0; font-size:.86rem; margin:.8rem 0 0; max-width:430px; }
.footer-links { display:flex; gap:1rem; align-items:center; }
.footer-links a { color:#f3c5b3; font-size:.83rem; }
:focus-visible { outline:3px solid #e85d33; outline-offset:3px; }
html.dark {
  color-scheme:dark; --terracotta-deep:#F28B6D;
  --ink:#FAFAF8; --muted:#A0A0A0; --quiet:#6B6B6B; --paper:#121212;
  --cream:#2A2A2A; --card:#1E1E1E; --line:#3A3A3A; --dark:#121212;
}
html.dark .site-header { background:rgba(18,18,18,.94); }
html.dark .nav a:hover,html.dark .nav a[aria-current="page"] { background:#362018; color:var(--peach); }
html.dark .hero:after { border-color:#5a3326; }
html.dark .card-art { background:linear-gradient(130deg,#42271f,#2a211e); }
html.dark .skeleton { background:linear-gradient(90deg,#292929 25%,#373737 37%,#292929 63%); background-size:400% 100%; }
html.dark .section-tint,html.dark .browse-hero { background:var(--cream); }
html.dark .site-footer { background:#121212; border-top:1px solid var(--line); }
html.dark .site-footer .brand { color:#fafaf8; }
html.dark .moon-icon { display:none; }
html.dark .sun-icon { display:block; }
@media (max-width: 420px) {
  .header-inner { flex-wrap:wrap; gap:.4rem; padding:.65rem 0; }
  .header-actions { margin-left:auto; }
}
@media (max-width: 760px) {
  .shell { width:min(100% - 28px, 1180px); }
  .header-inner { min-height:64px; }
  .brand { font-size:.95rem; }
  .brand-mark { width:31px; height:31px; border-radius:9px; }
  .nav a { padding:.5rem .45rem; font-size:.81rem; }
  .hero { padding:4rem 0 3.5rem; }
  .section { padding:3.35rem 0; }
  .section-heading { display:block; }
  .section-heading p { margin-top:.65rem; }
  .section-heading .text-link { display:inline-block; margin-top:1rem; }
  .tour-grid { grid-template-columns:1fr; }
  .card-art { height:145px; }
  .browse-hero { padding:3.4rem 0 2rem; }
  .browse-controls { align-items:flex-start; flex-direction:column; }
  .search-box { margin-top:1.4rem; }
}