/* Nimbus Post — cloud-sky travel journal */
:root {
  --sky: #7cb9e8;
  --sky-deep: #3d84c4;
  --cloud: #fafbff;
  --cloud-2: #eef3fb;
  --coral: #ff8470;
  --coral-deep: #e5604b;
  --ink: #1f2b42;
  --muted: #5a6b85;
  --line: #d9e3ef;
  --wrap: 1120px;
  --wide: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cloud);
  color: var(--ink);
  font-family: 'Nunito', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-decoration-color: rgba(61,132,196,.35); text-underline-offset: 2px; }
a:hover { color: var(--coral-deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 20px; background: var(--coral); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }

/* Masthead */
.sky-band {
  background: linear-gradient(180deg, #cde4f6 0%, #eaf3fb 100%);
  padding: 2px 0;
  font-size: .82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.sky-band .wrap-wide { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-header {
  background: var(--cloud);
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { flex: 0 0 48px; }
.brand-name {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--ink);
  line-height: 1;
}
.brand-tag {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-top: 4px;
  font-weight: 700;
}
.site-header .wrap-wide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.header-cta { color: var(--ink); background: var(--coral); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.header-cta:hover { background: var(--coral-deep); color: #fff; }

/* Nav */
.nav-primary { border-bottom: 1px solid var(--line); background: var(--cloud); }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav-primary a { display: inline-block; padding: 12px 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; }
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--sky-deep); border-bottom-color: var(--coral); }

/* Hero */
.hero-home {
  position: relative;
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #e9f2fb 0%, var(--cloud) 100%);
  overflow: hidden;
}
.hero-home::before, .hero-home::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: .7;
}
.hero-home::before { width: 220px; height: 220px; top: -60px; right: -60px; }
.hero-home::after { width: 150px; height: 150px; bottom: 20px; left: -40px; }
.hero-home .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 42px; align-items: center; }
.hero-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 14px; }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; margin-top: 10px; }
.hero-art { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(60, 100, 160, .18); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.btn-coral { display: inline-block; background: var(--coral); color: #fff; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; margin-top: 18px; }
.btn-coral:hover { background: var(--coral-deep); color: #fff; }
.btn-sky { display: inline-block; background: var(--sky-deep); color: #fff; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; }

/* Cards */
.section { padding: 56px 0; }
.section-alt { background: var(--cloud-2); }
.section-head { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(31, 43, 66, .04), 0 6px 18px rgba(31, 43, 66, .07);
  display: flex;
  flex-direction: column;
}
.card-img { aspect-ratio: 8/5; overflow: hidden; background: var(--cloud-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--coral-deep); margin-bottom: 8px; }
.card-title { font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.22rem; margin: 0 0 8px; line-height: 1.3; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--sky-deep); }
.card-excerpt { color: var(--muted); font-size: .96rem; margin: 0 0 12px; }
.card-meta { margin-top: auto; font-size: .82rem; color: var(--muted); }

/* Article */
.article-head {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #e9f2fb 0%, var(--cloud) 100%);
}
.article-head .kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); font-weight: 700; text-decoration: none; }
.article-head h1 { margin-top: 10px; }
.article-head .standfirst { font-family: 'Lora', serif; font-style: italic; font-size: 1.2rem; color: var(--muted); max-width: 42em; margin-top: 10px; }
.article-byline { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.article-hero { max-width: var(--wide); margin: 0 auto; padding: 0 20px 10px; }
.article-hero img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 36px rgba(60, 100, 160, .18); }
.img-credit { font-size: .78rem; color: var(--muted); margin-top: 6px; text-align: right; }
.img-credit a { color: var(--muted); }
.prose { max-width: 720px; margin: 0 auto; padding: 24px 20px 40px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; font-family: 'Nunito', sans-serif; font-style: normal; color: var(--sky-deep); font-weight: 700; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  border-left: 3px solid var(--coral);
  margin: 1.4em 0;
  padding: 2px 0 2px 18px;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--muted);
}
.prose a { font-weight: 600; }

/* Itinerary timeline */
.timeline { margin: 28px 0; padding: 0; list-style: none; position: relative; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--sky); }
.timeline li { position: relative; padding-left: 36px; margin-bottom: 20px; }
.timeline li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cloud);
  border: 3px solid var(--coral);
}
.timeline-time { display: block; font-weight: 700; color: var(--sky-deep); font-size: .88rem; letter-spacing: .04em; }
.timeline-what { display: block; margin-top: 2px; }

/* Day block */
.day-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 18px 0; }
.day-block h3 { font-family: 'Lora', serif; font-style: italic; color: var(--coral-deep); margin-top: 0; }

/* Table */
.plain-table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96rem; }
.plain-table th, .plain-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.plain-table th { background: var(--cloud-2); font-weight: 700; }

/* Notes */
.callout {
  background: #fff8f4;
  border-left: 3px solid var(--coral);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 1.4em 0;
  font-size: .98rem;
}

/* Footer */
.site-footer { background: #1a2538; color: #c9d3e3; padding: 42px 0 24px; margin-top: 48px; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-logo { font-family: 'Lora', serif; font-style: italic; color: #fff; font-size: 1.4rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 10px 0 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-grid h4 { color: #fff; font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; }
.foot-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid #2d3b55; font-size: .84rem; color: #94a1b9; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Forms */
form.contact label { display: block; font-weight: 600; margin-top: 12px; }
form.contact input, form.contact textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
form.contact textarea { min-height: 150px; }
form.contact button { margin-top: 14px; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--muted); padding: 10px 0; }
.crumbs a { color: var(--muted); }

/* Mobile */
body { overflow-x: hidden; }
@media (max-width: 820px) {
  .hero-home { padding: 36px 0 32px; }
  .hero-home .wrap { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; }
  .nav-primary ul { gap: 0; }
  .nav-primary a { padding: 10px 10px; font-size: .9rem; }
  .site-header { padding: 16px 0 12px; }
  .header-cta { font-size: .85rem; padding: 8px 14px; }
  body { font-size: 16px; }
  .prose p, .prose li { font-size: 1rem; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
  .brand-tag { display: none; }
  .brand-mark { flex-basis: 40px; }
  .brand-name { font-size: 1.3rem; }
  .header-cta { font-size: .78rem; padding: 7px 12px; }
  .sky-band { font-size: .72rem; }
  h1 { font-size: 1.9rem; }
  .hero-home { padding: 24px 0 24px; }
  .hero-eyebrow { font-size: .7rem; }
  .article-hero img { border-radius: 8px; }
}
