/* Cox and Kings — Australia restored static archive
   Brand palette: deep navy / muted gold accent / cream paper — consistent with the
   2012 site's bgblue / georgia type but cleaned up for current display. */

:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --border: #e5dccb;
  --ink: #1a2733;
  --ink-soft: #3a4a5b;
  --muted: #76808b;
  --accent: #0e3a5c;
  --accent-ink: #08263e;
  --accent-soft: #eaf0f5;
  --gold: #b08731;
  --gold-soft: #f3e9d4;
  --focus: #0e3a5c;
  --maxw: 960px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(14, 58, 92, 0.05), 0 4px 12px rgba(14, 58, 92, 0.06);
  --serif: Georgia, "Times New Roman", "Times", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent-ink); }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  margin: 1.8em 0 0.5em;
}
h1 { font-size: 2rem; margin-top: 0; color: var(--accent); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin: 0.2em 0; }

blockquote {
  margin: 1.2em 0;
  padding: 0.6em 1.2em;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }

hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-logo svg { height: 50px; width: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--gold);
}

/* Page head */
.page-head {
  background: var(--accent-soft);
  padding: 2.4rem 0 1.8rem;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { margin: 0 0 0.3rem; color: var(--accent-ink); font-family: var(--serif); }
.page-head .lede { margin: 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 42em; }

/* Layout */
.layout-main { padding: 2rem 0 3rem; }
.content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}
.content :first-child { margin-top: 0; }

/* Tables inside content */
.content table {
  border-collapse: collapse;
  margin: 1em 0;
  width: 100%;
  font-size: 0.93rem;
}
.content th, .content td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.content th {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  font-family: var(--serif);
}

/* Hero (homepage) */
.hero {
  background: linear-gradient(180deg, var(--accent-soft), var(--bg));
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  margin: 0 0 0.6rem;
  font-size: 2.4rem;
  font-family: var(--serif);
  color: var(--accent-ink);
  letter-spacing: -0.01em;
}
.hero .tagline {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero .sub {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 42em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.hero-actions a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
}
.hero-actions a:hover { background: var(--accent-ink); color: #fff; }
.hero-actions a.ghost {
  background: transparent;
  color: var(--accent);
}
.hero-actions a.ghost:hover { background: var(--accent-soft); color: var(--accent-ink); }

.notice {
  margin: 1.6rem auto 0;
  max-width: 44em;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 3px 3px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Destination cards on homepage */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.dest-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dest-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.dest-card h3 { margin: 0 0 0.2rem; font-size: 1.1rem; color: var(--accent); }
.dest-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: var(--accent);
  color: #d9e3ee;
  padding: 2rem 0;
  font-size: 0.92rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer strong { color: #fff; }
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  margin: 0;
  padding: 0;
}
.site-footer a { color: #c5d2e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* 404 */
.notfound { text-align: center; padding: 4rem 1rem; }
.notfound h1 { font-size: 4rem; margin: 0 0 0.3em; }

/* Responsive */
@media (max-width: 720px) {
  .site-nav ul { gap: 0.1rem 1rem; }
  .site-nav a { font-size: 0.82rem; }
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.85rem; }
  .content { padding: 1.2rem 1.2rem; }
  .site-header .container { padding-top: 0.75rem; padding-bottom: 0.75rem; }
}
