/* ═══════════════════════════════════════════════
   WILD ISLAND MEDIA — SHARED STYLES
   Palette: Void · Deep Moss · Mist · Copper — from Instagram feed
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500&display=swap');

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

:root {
  /* Core palette — mossy, misty, atmospheric */
  --deep-moss:    #0d1209;   /* darkest bg */
  --moss:         #1a2115;   /* rich green-dark */
  --moss-mid:     #253020;   /* mid moss */
  --moss-lt:      #374530;   /* lighter moss */
  --mist:         #b2c4a8;   /* muted grey-green */
  --mist-lt:      #cddac4;   /* pale mist */
  --mist-faint:   #e2ece0;   /* near-white with green cast */
  --parchment:    #e2ece0;   /* warm off-white */
  --gold:         #9c6a3a;   /* aged gold */
  --gold-lt:      #7a3030;   /* lighter gold */
  --ink:          #0d1209;   /* near-black with green cast */
  --fog:          rgba(13,18,9,0.65);  /* for overlays */

  --type-serif: 'Cormorant Garamond', Georgia, serif;
  --type-ui:    'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep-moss);
  color: var(--mist-lt);
  font-family: var(--type-serif);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── MIST VEIL — atmospheric top gradient ── */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(30,35,24,0.6), transparent);
  pointer-events: none;
  z-index: 890;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.wim-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  background: rgba(26,31,20,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(85,102,80,0.2);
}

.wim-logo {
  font-family: var(--type-serif);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--mist-lt);
}
.wim-logo em { font-style: italic; color: var(--mist); }

.wim-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.wim-nav-links a {
  font-family: var(--type-ui);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.25s;
}
.wim-nav-links a:hover,
.wim-nav-links a.active { color: var(--gold-lt); }

/* ══════════════════════════════════════
   SHARED UTILITIES
══════════════════════════════════════ */
.eyebrow {
  font-family: var(--type-ui);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section-rule .eyebrow { margin: 0; }
.section-rule::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--moss-lt);
  opacity: 0.5;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--type-ui);
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(156,117,68,0.3);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
  width: fit-content;
}
.read-link:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

.btn-outline {
  display: inline-block;
  font-family: var(--type-ui);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(156,117,68,0.35);
  padding: 0.9rem 2.2rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.wim-footer {
  background: var(--ink);
  border-top: 1px solid rgba(85,102,80,0.18);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.wim-footer-logo {
  font-family: var(--type-serif);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--mist);
}
.wim-footer-logo em { font-style: italic; color: var(--gold); }

.wim-footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.wim-footer-links a {
  font-family: var(--type-ui);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss-lt);
  transition: color 0.2s;
}
.wim-footer-links a:hover { color: var(--gold); }

.wim-footer-copy {
  font-family: var(--type-ui);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(85,102,80,0.5);
}

/* ══════════════════════════════════════
   RESPONSIVE BASE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .wim-nav { padding: 1.2rem 1.5rem; }
  .wim-nav-links { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .wim-nav-links { display: none; }
  .wim-footer { flex-direction: column; align-items: flex-start; }
}
