/* China Tech Tours — shared styles (mobile-first) */

:root {
  --cream: #faf9f6;
  --off-white: #f4f3ef;
  --blue: #2563EB;
  --blue-hover: #1d4ed8;
  --border: #e0dfd8;
  --muted: #888880;
  --ink: #1a1a1a;
  --ink-soft: #333330;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--ink-soft); margin-bottom: 1rem; }

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--blue-hover); }

img { max-width: 100%; display: block; }

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3.5rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

/* Navigation — mobile: hamburger */
.nav {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-brand::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #CC2936;
  flex-shrink: 0;
}

.nav-brand:hover { color: var(--ink); }

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  list-style: none;
  padding: 0.5rem 1rem 1rem;
  gap: 0.25rem;
}

.nav-links.open { display: flex; }

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.4rem;
}

/* Hero */
.hero {
  padding: 1.5rem 0 1.5rem;
  text-align: left;
}

.hero h1 {
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 60ch;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.hero-photo {
  padding: 0 1rem;
  margin: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hero-grid img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.hero-photo-mobile {
  display: none;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .hero-grid {
    display: none;
  }

  .hero-photo-mobile {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1.5rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.cta-subtext {
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.cta-secondary-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.btn-secondary {
  display: inline-block;
  margin-top: 2rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--blue);
  color: white;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Tour card */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.tour-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tour-card:hover {
  border-color: #c8c7c0;
  transform: translateY(-2px);
}

.tour-card .tag { margin-bottom: 1rem; align-self: flex-start; }

.tour-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.tour-route {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 1rem 0 1.5rem;
}

.tour-meta-item .label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.tour-meta-item .value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.tour-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Flagship tour card — expanded layout */
.tour-card-flagship {
  padding: 1.75rem;
}

.tour-grid-secondary {
  margin-top: 1.5rem;
}

.tour-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tour-section--no-border {
  border-top: 1px solid var(--border);
  margin-bottom: -1rem;
}

.tour-meta + .tour-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.tour-section-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.itinerary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.itinerary-day {
  border-top: 1px solid var(--border);
}

.itinerary-day-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 48px;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
}

.itinerary-day-trigger h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.itinerary-chevron {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 300ms ease;
}

.itinerary-day[data-open="true"] .itinerary-chevron {
  transform: rotate(90deg);
}

.itinerary-day-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}

.itinerary-day-panel-inner {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.itinerary-day-sub {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.itinerary-day-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  margin-bottom: 1.125rem;
}

.itinerary-day ul,
.include-col ul,
.good-to-know-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour-section--no-border .tour-section-label {
  margin-bottom: 0.75rem;
}

.departure-dates-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.departure-dates-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
}


.departure-range {
  font-size: 0.95rem;
  color: var(--ink);
}

.departure-sfo {
  font-size: 0.85rem;
  color: var(--muted);
}

.itinerary-day ul li,
.include-col ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

.itinerary-day ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.include-col h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

.include-col-yes ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.55;
}

.include-col-no ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.good-to-know-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.good-to-know-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.good-to-know-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.gtk-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--ink);
  margin-top: 0.2rem;
}

.tour-card-flagship .btn {
  margin-top: 0.75rem;
  border: 2px solid transparent;
}

/* Featured tour (home) */
.featured {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.featured-content h2 { margin-bottom: 1rem; }

.featured-list {
  list-style: none;
  margin: 1.5rem 0;
}

.featured-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.featured-list li:last-child { border-bottom: none; }

.featured-list .key {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.featured-list .val {
  color: var(--ink);
  font-weight: 500;
}

/* Section headers */
.section-head {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.section-head p {
  color: var(--muted);
  max-width: 50ch;
  margin: 0;
}

.eyebrow {
  font-size: 0.8rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

/* Meet the guides */
.guides-section {
  background: var(--cream);
  padding: 4rem 1.5rem;
}

.guides-eyebrow {
  text-align: center;
  margin-bottom: 2rem;
}

.guides-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.guide-card {
  text-align: center;
  max-width: 280px;
}

.guide-photo {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #E5E7EB;
  margin: 0 auto 1rem;
}

.guide-name {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.guide-location {
  display: block;
  color: var(--blue);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.guide-descriptor {
  color: var(--ink-soft);
  font-size: 0.875rem;
  margin: 0;
}

.guides-cta {
  text-align: center;
  margin-top: 2rem;
}

.guides-cta a {
  color: var(--blue);
  font-weight: 500;
}

/* Instagram embed */
.ig-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ig-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  justify-items: center;
}

.ig-grid .instagram-media {
  margin: 0 !important;
  max-width: 100%;
  min-width: 0 !important;
  width: 100%;
}

.ig-tile {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s ease;
}

.ig-tile:hover { transform: scale(1.02); }

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Email capture */
.capture {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
}

.capture h2 { margin-bottom: 0.5rem; }
.capture p { color: var(--muted); margin-bottom: 1.5rem; }

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
}

.capture-form input {
  width: 100%;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}

.capture-form input:focus {
  outline: none;
  border-color: var(--blue);
}

/* Forms */
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 640px;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.form-row label .req { color: var(--blue); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 1rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.about-photo {
  aspect-ratio: 1 / 1;
  max-width: 280px;
  border-radius: 4px;
  overflow: hidden;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-content h1 { margin-bottom: 1.5rem; }
.about-content p { font-size: 1rem; margin-bottom: 1.25rem; }

.about-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-links a {
  display: inline-block;
  margin-right: 1.5rem;
  font-weight: 500;
}

/* Travel notes */
.notes-list {
  display: flex;
  flex-direction: column;
}

.note-card {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.note-card:hover { color: var(--ink); }
.note-card:hover h3 { color: var(--blue); }

.note-card:first-child { padding-top: 0; }

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.note-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  transition: color 0.15s ease;
}

.note-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
  max-width: 65ch;
}

/* Page header */
.page-head {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-head h1 { margin-bottom: 1rem; }
.page-head p {
  font-size: 1.05rem;
  max-width: 60ch;
  color: var(--muted);
}

/* Footer — mobile: stacked, centered */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #CC2936;
  flex-shrink: 0;
}

.footer-tag {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 32ch;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}
.footer-links a:hover { color: var(--blue); }

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------------------------------------------
 * Desktop and up — min-width: 768px
 * --------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* Layout */
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-tight {
    padding: 3rem 0;
  }

  /* Nav: full horizontal */
  .nav-inner {
    padding: 1rem 1.5rem;
    gap: 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    flex-direction: row;
    padding: 0;
    gap: 1.75rem;
    align-items: center;
  }

  .nav-links a {
    display: inline-block;
    min-height: 0;
    padding: 0.25rem 0;
    font-size: 0.95rem;
  }

  /* Hero */
  .hero {
    padding: 6rem 0 2rem;
  }

  .hero h1 {
    margin-bottom: 1.5rem;
  }

  .hero-lead {
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }

  .hero-photo {
    padding: 0;
    margin: 2.5rem 0;
  }

  /* Buttons — auto width on desktop */
  .btn {
    width: auto;
    font-size: 0.95rem;
  }

  .btn-secondary {
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 3rem auto 0;
    font-size: 0.95rem;
  }

  /* Tour cards */
  .tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .tour-card {
    padding: 2rem;
  }

  .tour-card .btn {
    align-self: flex-start;
  }

  .tour-card h3 {
    font-size: 1.65rem;
  }

  .tour-meta-item .value {
    font-size: 1.25rem;
  }

  /* Flagship tour card */
  .tour-card-flagship {
    padding: 2.5rem;
  }

  .tour-card-flagship .btn {
    margin-top: 0.75rem;
    align-self: center;
    width: 100%;
    max-width: 340px;
  }

  .itinerary-day-trigger h4 {
    font-size: 1.35rem;
  }

  .itinerary-day-photo {
    height: 280px;
  }

  .include-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
  }

  .include-col h4 {
    font-size: 1.15rem;
  }

  /* Featured tour */
  .featured {
    padding: 3rem;
    gap: 3rem;
  }

  .featured-list li {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .featured-list .key {
    align-self: center;
  }

  /* Section heads */
  .section-head {
    margin-bottom: 2rem;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Meet the guides */
  .guides-section {
    padding: 5rem 2.5rem;
  }

  .guides-grid {
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
  }

  /* IG grid */
  .ig-grid {
    grid-template-columns: repeat(auto-fit, minmax(326px, 1fr));
    margin-top: 2rem;
  }

  /* Capture form */
  .capture {
    padding: 3rem;
  }

  .capture p {
    margin-bottom: 2rem;
  }

  .capture-form {
    flex-direction: row;
    gap: 0.5rem;
  }

  .capture-form input {
    font-size: 0.95rem;
  }

  /* Forms */
  .form {
    padding: 2.5rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }

  .about-photo {
    aspect-ratio: 3 / 4;
    max-width: none;
  }

  .about-content p {
    font-size: 1.05rem;
  }

  .about-links {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  /* Travel notes */
  .note-card {
    padding: 2rem 0;
  }

  .note-card h3 {
    font-size: 1.5rem;
  }

  /* Page head */
  .page-head {
    padding: 4rem 0 2rem;
  }

  .page-head p {
    font-size: 1.1rem;
  }

  /* Footer — desktop: horizontal, left-aligned */
  .footer {
    padding: 3rem 0 2rem;
    margin-top: 4rem;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
  }

  .footer-tag {
    margin: 0;
  }

  .footer-links {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-links a {
    min-height: 0;
    padding: 0;
  }

  .footer-copy {
    margin-top: 2.5rem;
  }
}

/* Article pages */
.article-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  max-width: 760px;
}

.article-header .note-meta {
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-header .article-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 0;
}

.article-body {
  max-width: 660px;
  padding: 2.5rem 0;
}

.article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}

.article-body p {
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}

.article-body li {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.article-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.article-back:hover { color: var(--blue); }
