:root {
  --navy: #0c2b3d;
  --deep-teal: #123c44;
  --sea: #1f6f78;
  --sand: #f6f1e6;
  --cream: #fbf8f2;
  --wood: #9c6b3e;
  --ink: #1b2a2f;
  --muted: #5a6b70;
  --max-w: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  color: var(--navy);
  letter-spacing: 0.01em;
}

a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 43, 61, 0.95);
  backdrop-filter: blur(4px);
  color: var(--sand);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--sand);
  text-transform: uppercase;
}
.brand span { color: #7fc6c2; }

nav.site-nav a {
  color: var(--sand);
  margin-left: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
nav.site-nav a:hover { color: #7fc6c2; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
}
.hero img {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  object-fit: cover;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,43,61,0.15) 0%, rgba(12,43,61,0.75) 100%);
  display: flex;
  align-items: flex-end;
}
.hero .hero-text {
  padding: 48px 0 56px;
}
.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin: 0 0 12px;
}
.hero p {
  color: #e4ece9;
  font-size: 1.15rem;
  max-width: 600px;
}

/* Pillars grid on home */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0;
}
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar-card {
  background: #fff;
  border: 1px solid #e7e0d0;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(12,43,61,0.12);
}
.pillar-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.pillar-card .body { padding: 20px 22px 26px; }
.pillar-card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.pillar-card p { color: var(--muted); margin: 0 0 14px; font-size: 0.97rem; }
.pillar-card .link { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* Page header band (non-home pages) */
.page-band {
  background: var(--deep-teal);
  color: var(--sand);
  padding: 64px 0 40px;
}
.page-band h1 { color: #fff; margin: 0 0 10px; font-size: 2.4rem; }
.page-band p { color: #cfe0dd; max-width: 640px; margin: 0; }

section.content { padding: 48px 0 72px; }

/* Timeline (refit log) */
.timeline { display: flex; flex-direction: column; gap: 40px; }
.entry {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  border-bottom: 1px solid #e7e0d0;
  padding-bottom: 36px;
}
@media (max-width: 700px) {
  .entry { grid-template-columns: 1fr; }
}
.entry img { border-radius: 6px; }
.entry .date {
  color: var(--wood);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.entry h3 { margin: 0 0 10px; font-size: 1.4rem; }
.entry p { margin: 0 0 8px; color: var(--ink); }
.entry .source { font-size: 0.85rem; color: var(--muted); }

/* Photo grid (sailing / fox island) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .photo-grid { grid-template-columns: 1fr; }
}
.photo-card { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #e7e0d0; }
.photo-card img { width: 100%; height: 320px; object-fit: cover; }
.photo-card .cap { padding: 14px 16px; font-size: 0.9rem; color: var(--muted); }

.note-card {
  background: #fff;
  border: 1px dashed #cbb98f;
  border-radius: 6px;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

footer.site-footer {
  background: var(--navy);
  color: #9fb3b8;
  padding: 32px 0;
  font-size: 0.9rem;
  text-align: center;
}
footer.site-footer a { color: #cfe0dd; }
