:root {
  --teal: #1e5c53;
  --teal-dark: #16443d;
  --cream: #f3ede0;
  --cream-2: #ece3d1;
  /* #a84f22 (not the original #c1622e) — chosen for >=4.5:1 contrast against --cream, per accessibility review */
  --orange: #a84f22;
  --orange-hover: #8b3f1a;
  --ink: #22201b;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 8px;
}

/* Visible focus indicator (double-ring: works on both light and dark backgrounds) */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--orange);
  border-radius: 2px;
}

/* Anchor targets: don't hide headings behind the sticky header */
section[id], [id="main-content"] {
  scroll-margin-top: 96px;
}

h1, h2, h3, .logo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  margin: 0 0 0.5em;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
  padding: 16px 24px;
}
.logo {
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
}
.logo span { color: var(--orange); }
.translate-widget {
  margin-left: 16px;
}
.translate-widget .goog-te-gadget {
  font-family: inherit !important;
  font-size: 0 !important;
}
.translate-widget .goog-te-gadget-simple {
  background: var(--cream-2) !important;
  border: 1px solid var(--cream-2) !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.translate-widget .goog-te-gadget-simple .goog-te-menu-value {
  font-size: 0.85rem !important;
  color: var(--ink) !important;
}
.translate-widget img { vertical-align: middle; }
/* Google injects a top banner + shifts <body> down when a translation is active; keep our layout stable */
body { top: 0 !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
}
nav a:hover { color: var(--orange); }

/* Hero */
.hero {
  background: var(--teal);
  color: var(--cream);
  padding: 90px 0 70px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  /* was --orange, which only reaches ~1.9:1 against the teal hero background — swapped for cream to meet WCAG AA */
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.6rem;
  max-width: 16ch;
  color: var(--cream);
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 40ch;
  opacity: 0.92;
}
.hero-actions { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-primary { background: var(--orange); color: var(--cream); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-outline { border: 1px solid var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Sections */
.section { padding: 70px 0; }
.section.alt { background: var(--cream-2); }
.section h2 { font-size: 1.9rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.symbol-image img { width: 100%; height: auto; border-radius: 6px; }

.map-embed { margin-top: 24px; }
.map-embed iframe {
  border-radius: 6px;
  border: 1px solid var(--cream-2);
  display: block;
}
.map-fallback { margin-top: 8px; font-size: 0.9rem; }
.map-placeholder {
  background: var(--cream);
  border: 1px dashed #b8ab8f;
  border-radius: 6px;
  padding: 48px 24px;
  text-align: center;
  color: #55503f;
}
.map-placeholder p {
  max-width: 46ch;
  margin: 0 auto 20px;
}
.map-placeholder .btn { border: 0; cursor: pointer; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--cream-2);
  border-radius: 6px;
  padding: 28px;
}
.section.alt .card { background: #fff; }
.card h3 { font-size: 1.15rem; color: var(--teal); }
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.share-row img {
  border-radius: 4px;
  border: 1px solid var(--cream-2);
  flex-shrink: 0;
}
.share-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.share-links .card-link { margin-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--cream-2);
  display: block;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-heading { font-weight: 700; margin-bottom: 4px; }
.footer-inner a { text-decoration: none; opacity: 0.85; }
.footer-inner a:hover { opacity: 1; text-decoration: underline; }
.footer-links { display: flex; gap: 24px; align-items: flex-start; }

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 16px;
  }
  nav {
    justify-content: center;
    width: 100%;
  }
  nav a { font-size: 0.85rem; }
  .translate-widget { margin: 0; }
  .hero h1 { font-size: 2rem; }
  .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
