/* Field Notes pages. Colors and type match the main site (index.html). */
:root {
  --deep: #0f2233; --sea: #1d4359; --kelp: #4f6b4a; --sand: #d6b77c;
  --foam: #f5f1ea; --ink: #172028; --muted: #5b6670; --r: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Georgia, "Times New Roman", serif; color: var(--ink); background: var(--foam); line-height: 1.7; }
h1, h2, h3, h4, .btn, nav, .eyebrow, .tag, footer, .date, .post-nav { font-family: "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

header { position: sticky; top: 0; z-index: 20; background: rgba(15,34,51,.97); color: var(--foam); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { text-decoration: none; font-weight: 800; letter-spacing: .22em; font-size: 1.05rem; font-family: "Helvetica Neue", Arial, sans-serif; }
.logo small { display: block; font-weight: 400; letter-spacing: .3em; font-size: .6rem; color: var(--sand); }
.logo { display: inline-flex; flex-direction: column; justify-content: center; min-height: 50px; padding-left: 60px;
  background: url('../images/logo-mark.png') left center / 50px no-repeat; }

nav a { text-decoration: none; margin-left: 1.5rem; font-size: .92rem; opacity: .88; }
nav a:hover { opacity: 1; color: var(--sand); }
@media (max-width: 800px) { nav a:not(.btn) { display: none; } }
@media (max-width: 520px) { nav .btn { padding: .55rem .9rem; font-size: .9rem; } .logo { letter-spacing: .14em; font-size: .95rem; } }
.btn { display: inline-block; background: var(--sand); color: var(--deep); padding: .75rem 1.35rem; border-radius: var(--r); font-weight: 700; text-decoration: none; opacity: 1 !important; white-space: nowrap; }
.btn:hover { filter: brightness(1.07); color: var(--deep) !important; }

.eyebrow, .tag { color: var(--kelp); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
.lead { color: var(--muted); max-width: 62ch; font-size: 1.1rem; }

/* Listing page */
.list-head { padding: 4.5rem 0 2.5rem; }
.list-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--deep); line-height: 1.1; margin: .5rem 0 .8rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; padding-bottom: 5rem; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 14px rgba(15,34,51,.08); display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(15,34,51,.14); }
.photo { background-size: cover; background-position: center; background-color: var(--sea); height: 210px; }
.card .body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.card h4 { font-size: 1.2rem; color: var(--deep); margin: .3rem 0 .4rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.date { color: var(--muted); font-size: .82rem; margin-top: auto; }

/* Post page */
.post-head { max-width: 720px; margin: 0 auto; padding: 4rem 1.25rem 2rem; }
.post-head h1 { font-size: clamp(2.1rem, 5.5vw, 3.3rem); color: var(--deep); line-height: 1.1; margin: .6rem 0 .7rem; letter-spacing: -.01em; }
.post-head .date { font-size: .9rem; }
.post-cover { max-width: 1120px; margin: 0 auto 2.8rem; padding: 0 1.25rem; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r); }
.prose { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; font-size: 1.12rem; }
.prose p { margin-bottom: 1.35em; }
.prose h2 { font-size: 1.5rem; color: var(--deep); margin: 2.2em 0 .6em; line-height: 1.25; }
.prose ul { margin: 0 0 1.35em 1.2em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: var(--r); cursor: zoom-in; }
figcaption { color: var(--muted); font-size: .88rem; text-align: center; margin-top: .6rem; font-family: Arial, sans-serif; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; max-width: 980px; margin: 2.4rem auto; padding: 0 1.25rem; }
.post-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); cursor: zoom-in; }

.cta { max-width: 720px; margin: 3.5rem auto 0; padding: 1.6rem 1.25rem; background: var(--deep); color: var(--foam); border-radius: var(--r); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cta p { margin: 0; font-size: 1.05rem; }
@media (min-width: 760px) { .cta { padding: 1.6rem 2rem; } }

.post-nav { max-width: 720px; margin: 3.5rem auto 5rem; padding: 1.6rem 1.25rem 0; border-top: 1px solid #ddd5c7; display: flex; justify-content: space-between; gap: 1rem; }
.post-nav a { text-decoration: none; max-width: 48%; }
.post-nav small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.post-nav strong { color: var(--deep); }
.post-nav .next { text-align: right; margin-left: auto; }

.lightbox { position: fixed; inset: 0; background: rgba(8,19,29,.94); display: none; align-items: center; justify-content: center; padding: 1rem; z-index: 50; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; border-radius: 4px; }

/* Trip pages (site/trips/, generated by tools/seo_build.py) */
.crumbs { font-family: Arial, sans-serif; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--sea); }
.post-head .lead { margin-top: .4rem; }
.trip-price { background: #fff; border-left: 4px solid var(--sand); border-radius: var(--r); padding: 1.2rem 1.4rem; margin-bottom: 2rem; box-shadow: 0 2px 14px rgba(15,34,51,.06); }
.trip-price .price { display: flex; gap: 1.6rem; flex-wrap: wrap; font-family: "Helvetica Neue", Arial, sans-serif; }
.trip-price .price b { font-size: 1.7rem; color: var(--sea); }
.trip-price .price small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.trip-price p { color: var(--muted); font-size: .95rem; margin: .5rem 0 1rem; }
.prose details { background: #fff; border-radius: var(--r); margin-bottom: .7rem; padding: .9rem 1.2rem; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.prose summary { cursor: pointer; font-family: Arial, sans-serif; font-weight: 700; color: var(--deep); font-size: 1rem; }
.prose details p { margin: .6rem 0 0; color: var(--muted); font-size: 1rem; }
.prose a { color: var(--sea); }
.related li { margin-bottom: .6rem; }
.other-trips { max-width: 720px; margin: 2rem auto 4rem; padding: 0 1.25rem; font-family: Arial, sans-serif; font-size: .92rem; color: var(--muted); }
.other-trips a { color: var(--sea); }
.cta a:not(.btn) { color: var(--sand); }

/* Shop (site/shop/, generated by tools/build_shop.py) */
.shop-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip { border: 1px solid #d8cfbf; background: #fff; border-radius: 999px; padding: .4rem 1rem; font-family: Arial, sans-serif; font-size: .88rem; text-decoration: none; color: var(--deep); }
.chip:hover { border-color: var(--sea); }
.shop-cat { font-size: 1.5rem; color: var(--deep); margin: 1rem 0 1.1rem; scroll-margin-top: 90px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.product-card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: 0 2px 14px rgba(15,34,51,.07); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(15,34,51,.14); }
.pimg { aspect-ratio: 1; background: #eeeae3; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pbody { padding: 1rem 1.1rem 1.2rem; }
.pbody h3 { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.05rem; color: var(--deep); margin-bottom: .55rem; }
.pmeta { font-family: Arial, sans-serif; font-size: .8rem; color: var(--muted); margin-top: .55rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c9c0b0; cursor: pointer; padding: 0; display: inline-block; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--deep); }
.swatches.small .swatch { width: 16px; height: 16px; border-width: 1px; cursor: default; }
.mock-note { font-family: Arial, sans-serif; font-size: .8rem; color: var(--muted); margin: 0 0 3rem; }
.product { padding-top: 2.2rem; }
.product-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
@media (max-width: 820px) { .product-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.product-media > img { width: 100%; height: auto; border-radius: var(--r); background: #eeeae3; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: .7rem; }
.thumbs img { border-radius: 4px; cursor: pointer; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--deep); line-height: 1.1; margin: .4rem 0 .5rem; }
.price-line { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; color: var(--sea); font-size: 1.15rem; margin-bottom: 1rem; }
.product-info > p { margin-bottom: 1.2rem; }
.opt-label { font-family: Arial, sans-serif; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.opt-label strong { color: var(--deep); }
.order-box { background: #fff; border-left: 4px solid var(--sand); border-radius: var(--r); padding: 1.3rem 1.4rem; margin: 1.6rem 0; box-shadow: 0 2px 14px rgba(15,34,51,.06); }
.order-box h2 { font-size: 1.15rem; color: var(--deep); margin-bottom: .5rem; }
.order-box p { font-size: 1rem; margin-bottom: 1rem; }
.order-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .8rem; }
.btn.ghost-dark { background: transparent; border: 2px solid var(--deep); color: var(--deep); }
.small-note { font-family: Arial, sans-serif; font-size: .85rem !important; color: var(--muted); margin: 0 !important; }
.small-note a, .product-info a:not(.btn) { color: var(--sea); }
.detail-h { font-size: 1.1rem; color: var(--deep); margin-bottom: .5rem; }
.detail-list { margin: 0 0 1.4rem 1.2rem; font-size: 1rem; }
.detail-list li { margin-bottom: .3rem; }
.related-products h2 { font-size: 1.4rem; color: var(--deep); margin-bottom: 1rem; }

footer { background: #08131d; color: #97a3ad; padding: 2.4rem 0; font-size: .88rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer a { color: var(--sand); text-decoration: none; }

/* Phone header (keep last so it wins) */
@media (max-width: 520px) { .logo { padding-left: 42px; background-size: 34px; min-height: 36px; white-space: nowrap; font-size: .78rem !important; letter-spacing: .08em !important; } .logo small { letter-spacing: .18em; font-size: .55rem; } nav .btn { padding: .5rem .75rem !important; font-size: .85rem !important; } header .wrap { gap: .6rem; } }
