:root {
  --ink: #173e42;
  --deep: #0c2d31;
  --paper: #fbf8ef;
  --cream: #eee7d8;
  --white: #fffdf9;
  --rust: #d96343;
  --gold: #e7bd5b;
  --sage: #799c85;
  --blue: #357e8b;
  --muted: #657678;
  --line: rgba(23, 62, 66, .15);
  --shadow: 0 25px 70px rgba(12, 45, 49, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
main, section, article, div, figure { min-width: 0; }
p, li, a, strong { overflow-wrap: anywhere; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: 9px 14px; border-radius: 8px; background: white; }
.skip-link:focus { transform: translateY(0); }

.book-hero { position: relative; min-height: 850px; overflow: hidden; background: var(--deep); color: white; }
.book-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 12% 70%, #3e7f82 0, transparent 30%), radial-gradient(circle at 90% 20%, #734a35 0, transparent 26%); }
.book-hero::after { content: ""; position: absolute; top: 100px; right: -260px; width: 760px; height: 760px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 100px rgba(255,255,255,.025), 0 0 0 200px rgba(255,255,255,.015); }
.book-nav { position: relative; z-index: 5; display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.13); }
.book-brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; }
.book-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.12; }
.book-brand strong { letter-spacing: -.03em; }
.book-brand small { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.book-seal { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: var(--gold); font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.book-nav-links { display: flex; gap: 30px; }
.book-nav-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 800; }
.book-nav-links a:hover { color: white; }
.location-pill { padding: 8px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; letter-spacing: .05em; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .85fr; gap: 105px; align-items: center; padding-top: 75px; }
.kicker { margin: 0 0 15px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.kicker.rust { color: var(--rust); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(58px, 7vw, 96px); line-height: .94; letter-spacing: -.065em; }
h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(39px, 4.5vw, 62px); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
.hero-text > p:not(.kicker) { max-width: 560px; color: rgba(255,255,255,.68); font-size: 19px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 53px; align-items: center; justify-content: center; padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 900; }
.button.primary { background: var(--rust); color: white; }
.button.quiet { border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; }
.button:hover { transform: translateY(-1px); }

.featured-cover { position: relative; display: block; height: 545px; overflow: hidden; border-radius: 12px 42px 42px 12px; color: white; text-decoration: none; box-shadow: -18px 22px 0 #e7d9bd, -22px 26px 0 rgba(0,0,0,.18), var(--shadow); transform: rotate(1.5deg); transition: transform .25s ease; }
.featured-cover:hover { transform: rotate(.2deg) translateY(-5px); }
.featured-cover::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent); }
.featured-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,35,39,.02) 25%, rgba(7,35,39,.92)); }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-volume { position: absolute; z-index: 3; top: 24px; left: 28px; padding: 7px 12px; border-radius: 999px; background: var(--rust); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cover-copy { position: absolute; z-index: 3; right: 35px; bottom: 35px; left: 35px; }
.cover-copy p { margin-bottom: 5px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.cover-copy h2 { margin-bottom: 18px; font-size: 47px; }
.cover-copy span { font-size: 13px; font-weight: 800; }
.book-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 75px; border-top: 1px solid rgba(255,255,255,.13); }
.book-stats div { padding: 23px 25px; border-right: 1px solid rgba(255,255,255,.13); }
.book-stats div:first-child { padding-left: 0; }
.book-stats div:last-child { border-right: 0; }
.book-stats strong { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 27px; font-style: italic; }
.book-stats span { display: block; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.week-section { padding: 105px 0 90px; background: var(--white); }
.week-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.week-heading h2 { margin-bottom: 0; }
.week-heading > p { margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.week-scroll { overflow-x: auto; padding: 5px 5px 20px; margin: -5px; scrollbar-color: var(--sage) var(--cream); scrollbar-width: thin; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); min-width: 1090px; gap: 13px; }
.day-card { --day-accent: var(--rust); position: relative; display: flex; min-height: 330px; overflow: hidden; flex-direction: column; padding: 20px 17px 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(165deg, color-mix(in srgb, var(--day-accent) 12%, white), var(--white) 48%); color: var(--ink); text-decoration: none; scroll-snap-align: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.day-card::after { content: ""; position: absolute; inset: auto -25px -35px auto; width: 110px; height: 110px; border: 22px solid color-mix(in srgb, var(--day-accent) 16%, transparent); border-radius: 50%; pointer-events: none; }
.day-card:hover { z-index: 2; transform: translateY(-5px); border-color: color-mix(in srgb, var(--day-accent) 55%, var(--line)); box-shadow: var(--shadow); }
.day-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.day-card.animals { --day-accent: #b4643d; }
.day-card.coast { --day-accent: #357e8b; }
.day-card.london { --day-accent: #76609b; }
.day-card.city { --day-accent: #a64c55; }
.day-card.tide { --day-accent: #466f77; }
.day-card.zoo { --day-accent: #738c4d; }
.day-card.forest { --day-accent: #4d8366; }
.day-card.travel { --day-accent: #9b6947; }
.day-card.is-tomorrow { border-width: 2px; border-color: var(--day-accent); }
.day-badge { align-self: flex-start; padding: 5px 8px; border-radius: 999px; background: var(--day-accent); color: white; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.day-card time { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 7px; margin: 18px 0 22px; line-height: 1; }
.day-card time strong { color: var(--day-accent); font-size: 13px; text-transform: uppercase; }
.day-card time b { grid-row: span 2; color: var(--deep); font-family: Georgia, serif; font-size: 47px; font-style: italic; font-weight: 400; letter-spacing: -.04em; }
.day-card time span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.day-card-copy { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; }
.day-card-copy small { margin-bottom: 8px; color: var(--day-accent); font-size: 9px; font-weight: 900; letter-spacing: .04em; }
.day-card-copy h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.08; letter-spacing: -.035em; }
.day-card-copy p { margin-bottom: 18px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.day-link { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); color: var(--day-accent); font-size: 10px; font-weight: 900; }
.week-note { max-width: 980px; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.week-note strong { color: var(--ink); }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-top: 110px; padding-bottom: 110px; }
.intro h2 { margin-bottom: 0; }
.intro-copy > p { color: var(--muted); font-size: 20px; }
.status-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.status-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 850; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.ready { background: var(--rust); }
.status-dot.checked { background: var(--blue); }
.status-dot.idea { background: #9a967f; }

.catalogue { padding: 105px 0; background: var(--cream); }
.catalogue-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 38px; }
.catalogue-heading h2 { margin-bottom: 0; }
.search-box { display: flex; width: min(380px, 100%); min-height: 54px; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(53,126,139,.12); }
.search-box svg { width: 19px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: #8c999a; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; }
.filter-bar button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 850; }
.filter-bar button:hover, .filter-bar button.active { border-color: var(--ink); background: var(--ink); color: white; }

.trip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trip-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: 0 8px 30px rgba(12,45,49,.05); cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.trip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trip-card[hidden] { display: none !important; }
.trip-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.trip-image { position: relative; min-height: 245px; overflow: hidden; background: var(--ink); }
.featured .trip-image { min-height: 100%; }
.trip-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.trip-card:hover .trip-image img { transform: scale(1.025); }
.trip-image.caves img { filter: brightness(.8) saturate(.8); }
.trip-status { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; color: white; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.trip-status.ready { background: var(--rust); }
.trip-status.checked { background: var(--blue); }
.trip-status.idea { background: rgba(39,51,48,.82); }
.heart { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(12,45,49,.5); color: white; cursor: pointer; font-size: 22px; line-height: 1; backdrop-filter: blur(5px); }
.heart[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--deep); }
.trip-body { padding: 27px; }
.trip-number { margin-bottom: 10px; color: var(--rust); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.trip-number span { padding: 0 4px; color: #b0a995; }
.trip-body h3 { margin-bottom: 13px; font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.trip-body > p { min-height: 78px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.trip-meta span { padding: 5px 9px; border-radius: 999px; background: #f0ece2; color: #607173; font-size: 9px; font-weight: 850; }
.chapter-link { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--line); color: var(--rust); text-decoration: none; font-size: 12px; font-weight: 900; }
.chapter-link::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: 22px; }
.chapter-link:focus-visible { outline: 0; }
.chapter-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 3px; }
.chapter-link.muted { color: var(--blue); }
.chapter-link span { font-size: 18px; }
.estimate-note { max-width: 900px; margin: 35px 0 0; color: #74796f; font-size: 11px; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state > span { display: block; color: var(--rust); font-size: 55px; }
.empty-state h3 { margin-bottom: 6px; font-size: 28px; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 900; text-decoration: underline; }

.next-chapter { padding: 110px 0; }
.next-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.next-grid ol { margin: 0; padding: 0; list-style: none; }
.next-grid li { display: grid; grid-template-columns: 45px 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); }
.next-grid li:last-child { border-bottom: 1px solid var(--line); }
.next-grid li > span { color: var(--rust); font-family: Georgia, serif; font-size: 25px; font-style: italic; }
.next-grid li p { margin-bottom: 0; color: var(--muted); }
.next-grid li strong { color: var(--ink); }
.hint { margin-top: 25px; padding: 17px 20px; border-left: 3px solid var(--gold); background: #f3eee1; color: var(--ink); font-size: 13px; }

footer { padding: 50px 0; background: var(--deep); color: rgba(255,255,255,.55); }
.fx-rate-banner { padding: 20px 0; border-top: 1px solid #d9cfb9; background: #f3eee1; color: var(--ink); }
.fx-rate-inner { display: flex; align-items: center; gap: 12px 22px; width: min(100% - 40px, 1180px); margin: 0 auto; font-size: 12px; }
.fx-rate-inner strong { color: var(--rust); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.fx-rate-inner span { flex: 1; }
.fx-rate-inner a { color: var(--blue); font-weight: 850; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 40px; }
.footer-grid p { margin-bottom: 0; text-align: center; font-size: 11px; }
.footer-grid > a:last-child { justify-self: end; color: var(--gold); font-size: 12px; font-weight: 850; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; transform: translateY(150%); padding: 11px 17px; border-radius: 999px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 12px; transition: transform .25s ease; }
.toast.visible { transform: translateY(0); }

@media (max-width: 950px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .featured-cover { height: 480px; }
  .trip-grid { grid-template-columns: 1fr 1fr; }
  .trip-card.featured { grid-column: span 2; }
  .intro, .next-grid, .week-heading { gap: 50px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; line-height: 1.55; }
  .wrap { width: min(100% - 24px, 1180px); }
  .book-hero { min-height: auto; }
  .book-nav { min-height: 70px; flex-wrap: wrap; gap: 0 10px; padding: 10px 0 8px; }
  .location-pill { display: none; }
  .book-nav-links {
    display: flex;
    order: 3;
    width: 100%;
    gap: 7px;
    margin-top: 9px;
    padding: 8px 0 1px;
    overflow-x: auto;
    border-top: 1px solid rgba(255,255,255,.12);
    scrollbar-width: none;
  }
  .book-nav-links::-webkit-scrollbar { display: none; }
  .book-nav-links a { flex: 0 0 auto; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 38px; }
  h1 { font-size: clamp(42px, 13vw, 58px); line-height: 1; letter-spacing: -.052em; }
  h2 { font-size: clamp(33px, 10.5vw, 46px); letter-spacing: -.045em; }
  .hero-text > p:not(.kicker) { font-size: 16px; }
  .hero-buttons { display: grid; gap: 9px; margin-top: 25px; }
  .hero-buttons .button { width: 100%; min-height: 48px; }
  .featured-cover { width: min(430px, calc(100% - 8px)); height: 350px; margin: 0 auto; border-radius: 12px 28px 28px 12px; box-shadow: -8px 10px 0 #e7d9bd, var(--shadow); transform: none; }
  .cover-volume { top: 15px; left: 16px; }
  .cover-copy { right: 20px; bottom: 20px; left: 20px; }
  .cover-copy h2 { margin-bottom: 10px; font-size: 31px; }
  .book-stats { grid-template-columns: 1fr 1fr; margin-top: 46px; }
  .book-stats div { min-width: 0; padding: 17px 12px; }
  .book-stats div:nth-child(2) { border-right: 0; }
  .book-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .book-stats div:first-child { padding-left: 12px; }
  .book-stats strong { font-size: 23px; }
  .book-stats span { font-size: 9px; }
  .week-section { padding: 55px 0 45px; }
  .week-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .week-heading > p { font-size: 14px; }
  .week-scroll { margin-right: -12px; padding-right: 16px; scroll-snap-type: x mandatory; }
  .week-grid { grid-template-columns: repeat(7, min(78vw, 246px)); min-width: 0; width: max-content; }
  .day-card { min-height: 285px; }
  .intro, .next-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 55px; padding-bottom: 55px; }
  .intro-copy > p { font-size: 17px; }
  .catalogue { padding: 55px 0; }
  .catalogue-heading { align-items: stretch; flex-direction: column; gap: 22px; }
  .search-box { width: 100%; }
  .filter-bar { flex-wrap: nowrap; margin-right: -12px; margin-bottom: 30px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button { flex: 0 0 auto; min-height: 44px; padding: 9px 14px; }
  .trip-grid { grid-template-columns: 1fr; }
  .trip-card.featured { grid-column: auto; display: block; }
  .trip-image, .featured .trip-image { min-height: 220px; }
  .trip-body { padding: 22px 18px; }
  .trip-body h3 { font-size: 24px; }
  .trip-body > p { min-height: auto; }
  .chapter-link { min-height: 48px; align-items: center; }
  .next-grid li { grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .fx-rate-inner { align-items: flex-start; flex-direction: column; gap: 5px; width: min(100% - 24px, 1180px); }
  .footer-grid p { text-align: left; }
  .footer-grid > a:last-child { justify-self: start; }
  .toast { right: 12px; bottom: 12px; left: 12px; text-align: center; }
}

@media (max-width: 370px) {
  .wrap { width: min(100% - 18px, 1180px); }
  .book-brand small { display: none; }
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .book-stats { grid-template-columns: 1fr; }
  .book-stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .book-stats div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
