/* jancada.com · "Field Journal" design */

:root {
  --paper: #F6F1E7;
  --paper-2: #EFE7D8;
  --line: #D9CEBC;
  --ink: #1F1B16;
  --ink-2: #2C261F;
  --muted: #5E554A;
  --muted-2: #6B6155;
  --accent: #A23E22;
  --accent-hover: #7E2F19;
  --serif: Fraunces, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }

/* small helpers */
.eyebrow { margin: 0 0 10px; font: 600 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.strong { font-weight: 600; }
.u { text-decoration: underline; }
.plain { margin: 0; padding: 0; list-style: none; }
.ph { background: repeating-linear-gradient(135deg, #E6DCCB 0 14px, #EDE5D7 14px 28px); display: flex; align-items: flex-end; padding: 14px; color: var(--muted); font: 500 12px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; border-radius: 4px; }
.square { aspect-ratio: 1 / 1; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.logo { font: 700 30px/1 var(--serif); letter-spacing: -.01em; }
.logo .dot { color: var(--accent); }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.main-nav a[aria-current] { color: var(--accent); font-weight: 600; }
.main-nav .divider { color: #C9BBA5; }

/* breadcrumb and place title */
.breadcrumb { padding-top: 22px; font-size: 14px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb [aria-current] { color: var(--ink); }
.place-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 36px; border-bottom: 2px solid var(--ink); }
.place-title h1 { margin: 0; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: -.03em; }
.place-title .native { margin: 10px 0 0; font: italic 400 24px var(--serif); color: var(--muted-2); }
.flag { width: 120px; height: 80px; box-shadow: 0 0 0 1px var(--line); }

/* page with sidebar */
.with-sidebar { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; padding-bottom: 64px; }
.content { flex: 999 1 560px; min-width: 0; }
.sidebar { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.content .intro { margin: 28px 0 0; font: 400 23px/1.55 var(--serif); color: var(--ink-2); }
.content h2 { margin: 48px 0 0; font-size: 30px; }
.content p { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 38em; }
.content blockquote { margin: 32px 0; font: italic 400 28px/1.35 var(--serif); color: var(--accent); max-width: 22em; }
.lead-img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 4px; }

.sub-places { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.sub-places a { display: block; }
.sub-places .ph, .sub-places img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 4px; }
.sub-places h3 { margin: 12px 0 4px; font-size: 21px; }
.sub-places p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }

/* sidebar boxes */
.box { border-radius: 6px; padding: 22px; }
.box-tint { background: var(--paper-2); }
.box-line { border: 1px solid var(--line); }
.box-rule { border-top: 2px solid var(--ink); padding-top: 14px; }
.box-title { display: block; margin-top: 2px; font: 600 20px/1.3 var(--serif); }
.box-img { border-radius: 6px; width: 100%; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.facts dt { color: var(--muted-2); }
.facts dd { margin: 0; font-weight: 500; }
.plug-row { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.4; }
.plug-row strong { display: block; }
.plug-icons { display: flex; gap: 6px; flex-shrink: 0; }
.plug-icon .plug-face { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.plug-icon .pin { fill: var(--ink); }
.plug-icon .earth-pin { fill: var(--accent); }
.plug-icon .earth-hole { fill: none; stroke: var(--accent); stroke-width: 2.4; }
.plug-icon .earth { stroke: var(--accent); stroke-width: 3; fill: none; }
.pills { margin: 10px 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 500; }

/* home */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.hero .lede { margin: 20px 0 0; font-size: 19px; color: #4A4238; max-width: 34em; }
.hero-img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 4px; }
.buttons { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); color: var(--paper); }
.btn-line { border: 1px solid var(--ink); }

.block { padding-top: 32px; padding-bottom: 56px; }
.block h2 { margin: 0; font-size: 32px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.cards { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.card-img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.card .eyebrow { margin-bottom: 4px; font-size: 12px; }
.card h3 { margin: 0; font-size: 23px; line-height: 1.2; }

.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .block { padding-top: 56px; }
.band h2 + .muted { margin: 8px 0 32px; font-size: 17px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 40px; line-height: 1.9; }
.region-grid h3 { margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.ruled { border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 18px !important; }
.list-link { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list-link strong { display: block; font: 600 21px/1.3 var(--serif); }
.list-link .muted { display: block; margin-top: 4px; }
.two-columns { columns: 2; column-gap: 24px; line-height: 2.1; color: #4A4238; }

/* footer */
.site-footer { background: var(--ink); color: var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.footer-logo { font: 700 24px var(--serif); color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #F0B9A6; }

/* long-form content */
.content h2 { scroll-margin-top: 24px; }
.content h3 { margin: 32px 0 0; font-size: 22px; }
.content ul, .content ol { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 38em; padding-left: 1.2em; }
.content li { margin: 6px 0; }
.content a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.content a:hover { text-decoration-color: var(--accent); }
.content .sub-places a { text-decoration: none; }
figure { margin: 0; }
figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.lead { margin: 0 0 8px; }
.lead + .lead { margin-top: 48px; }
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; max-width: 760px; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.terms { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 18px; max-width: 38em; }
.terms dt { font-weight: 600; }
.terms dd { margin: 0; color: var(--ink-2); }

/* a letter or story with floated photos */
.letter { margin-top: 24px; padding: 28px; background: #FBF8F2; border: 1px solid var(--line); border-radius: 6px; max-width: 760px; }
.letter::after { content: ""; display: block; clear: both; }
.letter p { font-size: 17px; }
.letter-date { font-style: italic; color: var(--muted); margin-top: 0; }
.fig-left, .fig-right { width: 200px; margin-bottom: 12px; }
.fig-left.wide, .fig-right.wide { width: 300px; }
.fig-left { float: left; margin-right: 24px; }
.fig-right { float: right; margin-left: 24px; }
.fig-left img, .fig-right img { border-radius: 4px; }
.letter p { overflow-wrap: break-word; }
@media (max-width: 600px) {
  .fig-left, .fig-right, .fig-left.wide, .fig-right.wide { float: none; width: 100%; margin: 16px 0; }
  .letter { padding: 18px; }
}

/* guidebook box */
.book { display: flex; flex-direction: column; gap: 8px; }
.book img { max-height: 200px; width: auto; align-self: flex-start; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.book .eyebrow { margin-bottom: 4px; }

/* trip pages */
.trip-head { padding-top: 28px; padding-bottom: 32px; border-bottom: 2px solid var(--ink); }
.trip-head h1 { margin: 0; font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; max-width: 14em; }
.trip-head .eyebrow { margin-bottom: 14px; }
.parts { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.parts a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; }
.content .part { margin-top: 64px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 36px; }
.content .part small { display: block; font: 600 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.photo { margin: 28px 0; max-width: 760px; }
.photo img { width: 100%; border-radius: 4px; }
.map-fig { max-width: 420px; }
.route { columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .route { columns: 1; } }
.note { background: var(--paper-2); border-radius: 6px; padding: 16px 20px; font-size: 16px; color: var(--muted); max-width: 38em; }
.footer-inner > div { max-width: 30em; line-height: 1.5; }

/* embedded video, keeps 16:9 at any width */
.video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; max-width: 760px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }

/* numbered spots that match numbers drawn on a map */
.num { display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em; margin-right: 6px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 14px/1 var(--sans); vertical-align: 2px; }
.spots { list-style: none; padding: 0; }
.spots li { margin: 0 0 14px; }
.letter .map { margin: 20px 0; }
.letter .map img { border-radius: 4px; border: 1px solid var(--line); }

/* plug guide */
.plug-cards { display: grid; gap: 20px; margin-top: 20px; }
.plug-card { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 6px; scroll-margin-top: 20px; }
.plug-card:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.plug-pic { display: flex; justify-content: center; }
.plug-pic img { max-height: 120px; width: auto; }
.plug-card h3 { margin: 0 0 4px; font-size: 22px; }
.plug-card h3 .muted { font-weight: 400; }
.plug-card p { margin: 6px 0; font-size: 16px; }
.plug-meta { font: 600 13px/1.3 var(--sans) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 560px) { .plug-card { grid-template-columns: 1fr; } .plug-pic { justify-content: flex-start; } }
