/* ============================================================
   Feel Your Journey — public stylesheet
   Same design system as the Cartliz build (tokens, type scale,
   lowercase display headings, outlined chips and buttons, colour
   bands, dark footer with a giant wordmark), arranged on the
   "Going Places" travel-blog structure: title hero + slider,
   intro with category tiles, brand strip, image-left story feed
   with "load more", photo strip + about + newsletter footer.
   --pink (primary) / --orange (secondary) / --bg are injected
   per-page by the CMS; everything else derives from them.
   ============================================================ */

:root {
  /* brand (overridden inline by the CMS) */
  --pink: #12403c;                 /* primary: deep pine */
  --orange: #e2683c;               /* secondary: sunset terracotta */
  --bg: #f7f3ec;                   /* sand */
  --accent: var(--orange);

  /* neutrals, derived from the brand so a colour change flows through */
  --ink: color-mix(in srgb, var(--pink) 45%, #0b0b0b);
  --ink-2: color-mix(in srgb, var(--pink) 30%, #3a3a3a);
  --muted: color-mix(in srgb, var(--pink) 35%, #8a8a8a);
  --line: color-mix(in srgb, var(--pink) 14%, #e9e4dc);
  --line-soft: color-mix(in srgb, var(--pink) 6%, #f1ece4);
  --card: #fff;
  --dark: color-mix(in srgb, var(--pink) 82%, #000);
  --dark-2: color-mix(in srgb, var(--pink) 70%, #000);
  --band-1: color-mix(in srgb, var(--orange) 12%, var(--bg));   /* warm band */
  --band-2: color-mix(in srgb, var(--pink) 8%, var(--bg));      /* cool band */
  --on-dark: #fbf7f0;

  /* type */
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-xs: .78rem;
  --f-sm: .88rem;
  --f-base: clamp(.97rem, .93rem + .15vw, 1.04rem);
  --f-lg: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --f-h3: clamp(1.3rem, 1.15rem + .6vw, 1.7rem);
  --f-h2: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --f-h1: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem);

  /* space */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-pill: 999px;
  --sh-2: 0 10px 30px color-mix(in srgb, var(--pink) 14%, transparent);
  --ease: cubic-bezier(.22,.61,.36,1);
  --wrap: 1180px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--f-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; color: var(--pink); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.sr, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--card); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--sh-2);
}

/* ---------- shared small buttons (outlined, fill on hover) ---------- */
.btn-line, .story-card .more, .share-row a, .share-row button, .browse-list a,
.social-row a, .header-social a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--pink); background: transparent; color: var(--pink);
  font-family: var(--font-body); font-size: var(--f-xs); font-weight: 500; line-height: 1.2;
  cursor: pointer; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn-line:hover, .story-card .more:hover, .share-row a:hover, .share-row button:hover,
.browse-list a:hover, .social-row a:hover, .header-social a:hover { background: var(--pink); color: var(--bg); }

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--pink); background: var(--pink); color: var(--bg);
  font-size: var(--f-sm); font-weight: 500;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.btn-solid:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, var(--narrow)); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s5);
}
.section-head .section-title { margin-bottom: 0; }
.section-note { font-size: var(--f-xs); color: var(--muted); white-space: nowrap; }
a.section-note:hover { color: var(--orange); }

/* bold, lowercase section headings */
.section-title {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--f-h3); line-height: 1.15; letter-spacing: -.02em;
  text-transform: lowercase; color: var(--pink); margin: 0 0 var(--s5);
}

/* full-bleed colour bands */
.band { width: 100%; padding: var(--s7) 0; }
.band--sun { background: var(--band-1); }
.band--blush { background: var(--band-2); }

/* ---------- header: logo left, menu centred, search + social right ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 78px; }
.logo img { height: 42px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem;
  letter-spacing: -.04em; text-transform: lowercase; color: var(--pink);
}
.logo-text::after { content: "."; color: var(--orange); }
.nav-row { display: flex; align-items: center; gap: var(--s4); flex: 1; }
.nav-row nav { margin-inline: auto; }

.menu { display: flex; align-items: center; gap: var(--s1); }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 10px 14px;
  font-size: var(--f-base); font-weight: 500; color: var(--pink);
  transition: color .16s var(--ease);
}
.menu > li > a:hover, .menu > li.current > a { color: var(--orange); }
.menu > li.current > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu > li.has-children > a { padding-right: 22px; }
.menu > li.has-children > a::before {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 5px; height: 5px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6;
}
.sub-menu {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--sh-2); padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: all .16s var(--ease);
}
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 4px; font-size: var(--f-sm); color: var(--ink-2); }
.sub-menu a:hover { background: var(--line-soft); color: var(--pink); }

.search-form { display: flex; align-items: center; }
.search-form input {
  width: 150px; padding: 9px 14px; font: inherit; font-size: var(--f-sm);
  border: 1px solid var(--pink); border-right: 0; color: var(--ink);
  border-radius: var(--r-sm) 0 0 var(--r-sm); background: #fff;
  transition: width .2s var(--ease);
}
.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { width: 200px; outline: none; }
.search-form button {
  padding: 10px 16px; border: 1px solid var(--pink); cursor: pointer;
  font-size: var(--f-sm); font-weight: 500; color: var(--bg);
  background: var(--pink); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.search-form button:hover { background: var(--orange); border-color: var(--orange); }
.header-social { display: flex; gap: 6px; }
.header-social a { padding: 6px 9px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; padding: 10px;
  background: none; border: 1px solid var(--pink); border-radius: var(--r-sm); cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--pink); border-radius: 2px; }
.menu-toggle span + span { margin-top: 5px; }

/* ---------- chips and meta ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cats a, .cats span {
  display: inline-block; padding: 3px 9px; border-radius: 4px;
  border: 1px solid currentColor; color: var(--pink);
  font-size: var(--f-xs); font-weight: 500; line-height: 1.4;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.cats a:hover { background: var(--pink); color: var(--bg); }
.meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--f-xs); color: var(--muted); }
.meta li { position: relative; }
.meta li + li::before {
  content: ""; position: absolute; left: -9px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6;
}

/* ---------- hero: big title block, then the slider ---------- */
.hero { padding: var(--s7) 0 var(--s7); }
.hero-head { text-align: center; margin-bottom: var(--s6); }
.hero-eyebrow {
  margin: 0 0 var(--s3); font-size: var(--f-xs); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.hero-title {
  font-weight: 800; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(3rem, 1.4rem + 7vw, 7.5rem);
  text-transform: lowercase; color: var(--pink); margin: 0;
}
.hero-tagline {
  max-width: 44ch; margin: var(--s4) auto 0;
  font-size: var(--f-lg); color: var(--ink-2);
}

.banner-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--band-2); }
.banner-track { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; }
.banner-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease); }
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-photo { width: 100%; height: 100%; object-fit: cover; }
.banner-slide .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5);
  padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) clamp(36px, 4vw, 48px);
  background: linear-gradient(to top, color-mix(in srgb, var(--dark) 92%, transparent) 0%, color-mix(in srgb, var(--dark) 55%, transparent) 55%, transparent 100%);
  color: var(--on-dark);
}
.banner-slide .cats span { color: var(--on-dark); }
.banner-slide h2 {
  color: var(--on-dark); font-size: clamp(1.25rem, .95rem + 1.3vw, 2.1rem); line-height: 1.12;
  margin: 10px 0 8px; max-width: 30ch; text-transform: lowercase;
}
.banner-slide .meta { color: color-mix(in srgb, var(--on-dark) 85%, transparent); }
.hero-cta {
  flex-shrink: 0; padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--bg); color: var(--pink); font-size: var(--f-sm); font-weight: 500;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.banner-slide:hover .hero-cta { background: var(--orange); color: #fff; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.banner-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--on-dark) 45%, transparent); cursor: pointer; transition: all .2s var(--ease);
}
.banner-dots button.is-active { width: 26px; border-radius: var(--r-pill); background: var(--on-dark); }
.banner-nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; pointer-events: none; }
.banner-nav button {
  pointer-events: auto; width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bg); color: var(--pink); font-size: 22px; line-height: 1;
  opacity: 0; transition: opacity .2s var(--ease);
}
.banner-slider:hover .banner-nav button, .banner-nav button:focus-visible { opacity: 1; }

/* ---------- intro + category tiles ---------- */
.intro { display: flex; flex-direction: column; gap: var(--s6); }
.intro-copy { max-width: 760px; }
.intro-copy p { color: var(--ink-2); font-size: var(--f-lg); }
.intro-copy p:last-child { margin-bottom: 0; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s5); }
.cat-tile { display: flex; flex-direction: column; gap: 4px; }
.cat-tile-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--card); }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile-img img { transform: scale(1.04); }
.cat-tile-label {
  margin-top: var(--s2); font-family: var(--font-display); font-weight: 700;
  font-size: var(--f-lg); text-transform: lowercase; color: var(--pink);
  transition: color .16s var(--ease);
}
.cat-tile-label::after { content: " \2192"; color: var(--orange); }
.cat-tile:hover .cat-tile-label { color: var(--orange); }
.cat-tile-count { font-size: var(--f-xs); color: var(--muted); }

/* ---------- brand strip ("as featured in" row) ---------- */
.brand-strip { padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.brand-strip-title {
  text-align: center; font-family: var(--font-body); font-weight: 500;
  font-size: var(--f-xs); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--s4);
}
.brand-list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--s3) var(--s5);
}
.brand-list li {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  letter-spacing: -.02em; color: color-mix(in srgb, var(--pink) 55%, var(--bg));
  transition: color .16s var(--ease);
}
.brand-list li:hover { color: var(--pink); }

/* ---------- story feed: image left, text right ---------- */
.feed-wrap { padding: var(--s7) 0 var(--s8); }
.page-home .feed-wrap, .feed-wrap { max-width: 980px; }
.story-feed { display: flex; flex-direction: column; gap: var(--s5); }
.story-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .16s var(--ease), box-shadow .2s var(--ease);
}
.story-card:hover { border-color: color-mix(in srgb, var(--pink) 35%, var(--line)); box-shadow: var(--sh-2); }
.story-card.is-hidden { display: none; }
.story-thumb { display: block; aspect-ratio: 16 / 10; background: var(--band-2); overflow: hidden; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.story-card:hover .story-thumb img { transform: scale(1.03); }
.story-txt { display: flex; flex-direction: column; gap: 10px; padding: var(--s5) var(--s5) var(--s5); min-width: 0; }
.story-txt h2 {
  font-size: var(--f-h3); line-height: 1.18; letter-spacing: -.015em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .16s var(--ease);
}
.story-card:hover .story-txt h2 { color: var(--orange); }
.story-txt p {
  margin: 0; font-size: var(--f-sm); color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.story-foot { margin-top: auto; padding-top: var(--s3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); border-top: 1px solid var(--line-soft); }
.feed-more { display: flex; justify-content: center; margin-top: var(--s6); }
.empty-note { color: var(--muted); }

/* ---------- page header (category, search) ---------- */
.page-head h1 { font-size: var(--f-h1); text-transform: lowercase; letter-spacing: -.03em; margin: 4px 0 12px; }
.page-lede { font-size: var(--f-lg); color: var(--ink-2); max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--f-xs); color: var(--muted); margin-bottom: var(--s3); text-transform: uppercase; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- article ---------- */
.read-progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 0; background: var(--orange); transition: width .1s linear; }
.post-tabs-bar { border-bottom: 1px solid var(--line); background: var(--card); }
.post-tabs-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; }
.post-tabs { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.post-tabs::-webkit-scrollbar { display: none; }
.post-tabs a {
  flex-shrink: 0; padding: 8px 12px; font-size: var(--f-sm); color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: color .16s var(--ease), border-color .16s var(--ease);
}
.post-tabs a:hover, .post-tabs a.is-current { color: var(--pink); border-bottom-color: var(--orange); }
.search-form--compact input { width: 140px; padding: 7px 12px; }
.search-form--compact input:focus { width: 170px; }
.search-form--compact button { padding: 8px 12px; }

.article { padding: var(--s7) 0 var(--s7); }
.article-head { padding: 0 0 var(--s5); }
.article-head h1 { font-size: var(--f-h1); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 16px; }
.article-lede { font-size: var(--f-lg); color: var(--ink-2); margin: 0; }
.article-hero { border-radius: var(--r-lg); overflow: hidden; background: var(--band-2); }
.article-hero img { width: 100%; height: auto; }
.article-body { padding: var(--s6) 0 0; }
.prose { font-size: var(--f-lg); line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose h2 { font-size: var(--f-h2); }
.prose h3 { font-size: var(--f-h3); }
.prose img { border-radius: var(--r); margin-block: 1.4em; height: auto; }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 20px 24px; border-radius: var(--r);
  background: var(--band-1); color: var(--pink); font-family: var(--font-display); font-weight: 600; font-size: 1.15em; line-height: 1.4;
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--f-sm); display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--line-soft); color: var(--pink); }

.article-foot { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s4); }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: var(--f-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

.recent-band .section-title { margin-bottom: 0; }
.recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--card); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .txt { display: flex; flex-direction: column; gap: 6px; padding-top: var(--s3); }
.card-title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--f-base); line-height: 1.3; color: var(--pink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .16s var(--ease);
}
.post-card:hover .card-title { color: var(--orange); }

/* ---------- comments ---------- */
.comments { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.comments-note { font-size: var(--f-sm); color: var(--muted); margin: 0 0 var(--s5); }
.comments-note i, .comment-form i { font-style: normal; color: var(--orange); }
.comment-form { display: flex; flex-direction: column; gap: var(--s4); }
.comment-form .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.comment-form .field > span { font-size: var(--f-sm); font-weight: 500; color: var(--ink); }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: var(--f-sm);
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .16s var(--ease);
}
.comment-form textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--pink); }
.comment-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.comment-form .field-check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--f-sm); color: var(--ink-2); cursor: pointer; }
.comment-form .field-check input { margin-top: 3px; accent-color: var(--pink); }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-submit {
  align-self: flex-start; padding: 11px 22px; cursor: pointer;
  border: 1px solid var(--pink); border-radius: var(--r-sm);
  background: var(--pink); color: var(--bg); font-size: var(--f-sm); font-weight: 500;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}
.comment-submit:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); }
.comment-submit:disabled { opacity: .55; cursor: default; }
.comment-status, .news-status { margin: 0; font-size: var(--f-sm); min-height: 1.4em; }
.comment-status.is-ok { color: #1f7a4d; }
.comment-status.is-err { color: #b3261e; }

/* ---------- about page ---------- */
.about-page { padding: var(--s7) 0 var(--s8); }
.about-page--img { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.about-copy h1 { font-size: var(--f-h1); text-transform: lowercase; letter-spacing: -.03em; margin: 4px 0 var(--s5); }
.about-copy .prose > * + * { margin-top: 1em; }
.about-contact { margin-top: var(--s5); display: flex; gap: 12px; align-items: baseline; }
.about-contact span { font-size: var(--f-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-contact a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.about-media { border-radius: var(--r-lg); overflow: hidden; position: sticky; top: 100px; }
.about-media img { width: 100%; height: auto; }

/* ---------- search page + 404 ---------- */
.search-page-form { margin: var(--s4) 0 var(--s3); }
.search-page-form input { width: 100%; max-width: 420px; }
.search-page-form input:focus { width: 100%; max-width: 420px; }
.search-status { margin: 0; color: var(--muted); font-size: .9rem; }
.not-found { padding: var(--s8) 0; text-align: center; }
.not-found h1 { font-size: var(--f-h1); text-transform: lowercase; margin-bottom: var(--s4); }
.not-found .page-lede { margin-inline: auto; }
.not-found .browse-list { justify-content: center; }
.browse-list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- footer: dark, social, photo strip, about + newsletter, wordmark ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: var(--s7); overflow: hidden; }
.site-footer .section-title { color: var(--on-dark); font-size: 1.2rem; margin-bottom: var(--s3); }
.site-footer a { color: var(--on-dark); }
.site-footer .section-note { color: color-mix(in srgb, var(--on-dark) 55%, transparent); }

.footer-follow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); padding-bottom: var(--s6); }
.footer-follow .section-title { margin: 0; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .social-row a, .btn-line--light { border-color: color-mix(in srgb, var(--on-dark) 50%, transparent); color: var(--on-dark); }
.site-footer .social-row a:hover, .btn-line--light:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }

.footer-gallery { padding-bottom: var(--s6); }
.footer-gallery .section-head { margin-bottom: var(--s4); }
.gallery-row {
  display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.gallery-row::-webkit-scrollbar { display: none; }
.gallery-tile { position: relative; flex: 0 0 clamp(150px, 14.28vw, 240px); aspect-ratio: 1; scroll-snap-align: start; overflow: hidden; background: var(--dark-2); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .2s var(--ease); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px;
  font-size: var(--f-xs); font-weight: 500; line-height: 1.35; color: var(--on-dark);
  background: linear-gradient(to top, color-mix(in srgb, var(--dark) 90%, transparent), transparent);
  opacity: 0; transform: translateY(6px); transition: all .2s var(--ease);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.05); }
.gallery-tile:hover .gallery-cap, .gallery-tile:focus-visible .gallery-cap { opacity: 1; transform: none; }

.footer-cols {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7);
  padding: var(--s6) 0; border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
}
.footer-cols--solo { grid-template-columns: minmax(0, 1fr); }
.footer-cols--solo .footer-about { max-width: 720px; }
.footer-about { display: flex; gap: var(--s5); align-items: flex-start; }
.footer-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-about p, .footer-news p { color: color-mix(in srgb, var(--on-dark) 75%, transparent); font-size: var(--f-sm); }
.news-row { display: flex; }
.news-row input {
  flex: 1; min-width: 0; padding: 11px 14px; font: inherit; font-size: var(--f-sm);
  border: 1px solid color-mix(in srgb, var(--on-dark) 40%, transparent); border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm); background: transparent; color: var(--on-dark);
}
.news-row input::placeholder { color: color-mix(in srgb, var(--on-dark) 55%, transparent); }
.news-row input:focus { outline: none; border-color: var(--on-dark); }
.news-row button {
  padding: 11px 18px; cursor: pointer; border: 1px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--orange); color: #fff;
  font-size: var(--f-sm); font-weight: 500;
}
.news-row button:disabled { opacity: .6; cursor: default; }
.news-check { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s3); font-size: var(--f-xs); color: color-mix(in srgb, var(--on-dark) 75%, transparent); cursor: pointer; }
.news-check input { margin-top: 2px; accent-color: var(--orange); }
.news-status { margin-top: var(--s2); }
.news-status.is-ok { color: #9fe0bd; }
.news-status.is-err { color: #ffb4a8; }

.footer-links-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5);
  padding: var(--s5) 0 0; border-top: 1px solid color-mix(in srgb, var(--on-dark) 14%, transparent);
  font-size: var(--f-sm);
}
.footer-links-row a { opacity: .8; transition: opacity .16s var(--ease), color .16s var(--ease); }
.footer-links-row a:hover { opacity: 1; color: var(--orange); }

.footer-wordmark {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.05em;
  /* sized to the name: --wm-len is its character count, set in the template */
  font-size: min(15rem, calc(min(100vw - 40px, var(--wrap)) / (var(--wm-len, 9) * .56)));
  line-height: 1; color: var(--orange);
  text-transform: lowercase; text-align: center; padding-top: var(--s5);
  white-space: nowrap; overflow: hidden; user-select: none;
}
.copy {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s4) 0 var(--s5); font-size: var(--f-xs); color: color-mix(in srgb, var(--on-dark) 60%, transparent);
}
.to-top { transition: color .16s var(--ease); }
.to-top:hover { color: var(--orange); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header-social { display: none; }
  .about-page--img { grid-template-columns: minmax(0, 1fr); }
  .about-media { position: static; max-width: 520px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; order: 2; margin-left: auto; }
  .nav-row { gap: var(--s3); }
  .nav-row nav { margin: 0; }
  .menu {
    display: none; position: absolute; right: 20px; top: 78px;
    flex-direction: column; align-items: stretch; gap: 2px;
    width: min(320px, calc(100vw - 40px)); padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2);
  }
  .nav-open .menu { display: flex; }
  .menu > li.current > a { text-decoration: none; background: var(--line-soft); border-radius: 4px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .search-form input { width: 130px; }
  .search-form input:focus { width: 150px; }
  .story-card { grid-template-columns: minmax(0, 1fr); }
  .recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .banner-track { aspect-ratio: 4 / 3; }
  .banner-slide .overlay { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .header-inner { min-height: 66px; }
  .menu { top: 66px; right: 16px; }
  .nav-row > .search-form { display: none; }
  .hero { padding: var(--s6) 0; }
  .band { padding: var(--s6) 0; }
  .banner-track { aspect-ratio: 1 / 1; }
  .banner-nav { display: none; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .feed-wrap { padding: var(--s6) 0; }
  .story-txt { padding: var(--s4); }
  .post-tabs-inner { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .post-tabs-inner .search-form { display: none; }
  .recent-grid { grid-template-columns: minmax(0, 1fr); }
  .comment-form .field-row { grid-template-columns: 1fr; }
  .footer-about { flex-direction: column; }
  .logo img { height: 36px; }
}

@media print {
  .site-header, .site-footer, .post-tabs-bar, .recent-band, .share-row, .read-progress, .hero .banner-slider { display: none !important; }
  body { background: #fff; }
}
