/* ════════════════════════════════════════════════════════════════
   gd-site.css — shared stylesheet for gilesdenmark.art
   Navy / gold design system. Linked from every page via:
     <link rel="stylesheet" href="/css/gd-site.css">
   Edit colours, type and layout here ONCE and every page updates.
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #021454;
  --bg2: #042063;
  --bg3: #052873;
  --text: #f0ead8;
  --muted: #9db4d6;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --border: rgba(201,168,76,0.22);
  --border-hover: rgba(201,168,76,0.55);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  /* Fluid root: scales smoothly from ~15px on phones to ~20px on desktop.
     Everything sized in rem now adapts to the screen automatically. */
  font-size: clamp(15px, 0.55vw + 13.2px, 20px);
  -webkit-text-size-adjust: 100%;
}
body { background: var(--bg); color: var(--text); font-family: 'EB Garamond', serif; font-size: 1.05rem; line-height: 1.75; }

/* ── CONTENT LINKS (in-prose links on the dark background) ──
   Base style for ordinary links inside body text. Nav, footer, buttons,
   .tiktok-cta and contact links set their own colour, so this only reaches
   unstyled links in prose — and kills the default blue/purple on navy. */
a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.5);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:visited { color: var(--gold-light); }
a:hover { color: #f4e7c4; text-decoration-color: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 3rem;
  background: rgba(2,20,84,0.92);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 0.9rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.lang-wrap { display: flex; gap: 0; }
.lang-btn {
  background: none; border: 1px solid var(--border);
  color: var(--muted); padding: 0.22rem 0.6rem;
  font-family: 'EB Garamond', serif; font-size: 0.8rem;
  letter-spacing: 0.1em; cursor: pointer; transition: all 0.2s;
}
.lang-btn:first-child { border-right: none; }
.lang-btn.active { border-color: var(--gold); color: var(--gold); }

/* ── NAV TOGGLE (hamburger, mobile only) ── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; margin-left: 0.5rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--gold); margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 62px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3.5rem 5rem 4.5rem;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.08; font-weight: 700; margin-bottom: 0.4rem;
  color: var(--gold-light);
}
.hero-name span { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 1.05rem; color: var(--muted); font-style: italic;
  max-width: 400px; margin-bottom: 2.5rem; line-height: 1.6;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.tag {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--border); padding: 0.28rem 0.75rem; color: var(--muted);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-gold {
  background: var(--gold); color: var(--bg);
  padding: 0.7rem 1.8rem;
  font-family: 'EB Garamond', serif; font-size: 0.88rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s; border: none; cursor: pointer;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--muted);
  padding: 0.7rem 1.8rem;
  font-family: 'EB Garamond', serif; font-size: 0.88rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-right {
  overflow: hidden; position: relative;
  display: flex; align-items: flex-start; justify-content: center;
}
.hero-right img {
  width: 100%; height: auto; max-height: 100%; object-fit: contain; display: block;
}
.hero-img-caption {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  font-size: 0.65rem; letter-spacing: 0.12em; color: rgba(228,220,203,0.4);
  text-transform: uppercase;
}

/* ── SECTION BASE ── */
section { padding: 6rem 4.5rem; }
.sec-label {
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2; margin-bottom: 0.8rem;
  color: var(--gold-light);
}
.sec-intro {
  font-size: 1.05rem; color: var(--muted); font-style: italic;
  max-width: 540px; margin-bottom: 3rem; line-height: 1.7;
}
.rule { width: 48px; height: 1px; background: var(--gold); margin: 1.2rem 0 2.5rem; }

/* ── VIDEO POETRY ── */
.video-section { background: var(--bg2); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.video-card {
  border: 1px solid var(--border); background: var(--bg3);
  transition: border-color 0.25s; overflow: hidden;
}
.video-card:hover { border-color: var(--gold); }
.video-thumb {
  aspect-ratio: 9/16; background: #0f0e0c;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  max-height: 280px; cursor: pointer; position: relative;
}
.play-ring {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.play-ring svg { width: 18px; height: 18px; fill: var(--gold); margin-left: 3px; }
.video-label {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.video-info { padding: 1rem 1.25rem; }
.video-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-style: italic; margin-bottom: 0.3rem;
}
.video-info p { font-size: 0.82rem; color: var(--muted); }
.tiktok-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 0.2rem;
  transition: border-color 0.2s;
}
.tiktok-cta:hover { border-color: var(--gold); }
.tiktok-cta svg { width: 14px; height: 14px; fill: var(--gold); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.gallery-item { cursor: pointer; }
.gallery-item img {
  width: 100%; height: 300px; object-fit: cover; display: block;
  transition: transform 0.4s ease; filter: grayscale(15%);
}
.gallery-item:hover img { transform: scale(1.02); filter: grayscale(0%); }
.gallery-cap {
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
}
.gallery-cap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-style: italic; margin-bottom: 0.2rem;
}
.gallery-cap p { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── POETRY ── */
.poetry-section {
  background: var(--bg2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.poetry-intro { padding-top: 0.5rem; }
.poem-wrap {
  border-left: 2px solid var(--gold);
  padding-left: 2.5rem;
}
.poem-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-style: italic;
  color: var(--gold-light); margin-bottom: 2rem;
}
.poem-body {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-style: italic;
  line-height: 2.1; white-space: pre-line;
}
.poem-body .drop { color: var(--gold); font-size: 2.8em; float: left; line-height: 0.85; margin-right: 0.06em; margin-top: 0.1em; }
.poem-note { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2rem; }

/* ── PERFORMANCE ── */
.perf-items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.perf-card {
  border: 1px solid var(--border); padding: 1.5rem;
  transition: border-color 0.2s; background: var(--bg2);
}
.perf-card:hover { border-color: var(--gold); }
.perf-icon {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.perf-card h3 {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  margin-bottom: 0.5rem; font-style: italic;
}
.perf-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }
a.perf-card--link {
  display: flex; text-decoration: none; color: inherit;
  border-left: 2px solid var(--gold);
}
a.perf-card--link:hover { border-color: var(--gold-light); background: var(--bg); }
a.perf-card--link .perf-title { color: var(--gold-light); }

/* ── MUSIC ── */
.music-section { background: var(--bg2); }
.audio-player {
  border: 1px solid var(--border); padding: 2rem 2.5rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  max-width: 640px;
}
.audio-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-style: italic; margin-bottom: 0.4rem;
}
.audio-meta { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
audio { width: 100%; margin-top: 1rem; filter: invert(1) sepia(0.3); }

/* ── CONTACT ── */
.contact-section {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start;
}
.contact-details { }
.contact-details h3 {
  font-family: 'Playfair Display', serif; font-size: 1.2rem;
  font-style: italic; color: var(--gold-light); margin-bottom: 1.2rem;
}
.contact-details p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.4rem; line-height: 1.6; }
.contact-details a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.contact-details a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.social-pill {
  border: 1px solid var(--border); padding: 0.25rem 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.social-pill:hover { border-color: var(--gold); color: var(--gold); }
.cform { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem;
  font-family: 'EB Garamond', serif; font-size: 1rem;
  outline: none; transition: border-color 0.2s; resize: none;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field select option { background: var(--bg2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  background: none; border: 1px solid var(--gold); color: var(--gold);
  padding: 0.8rem 2rem; font-family: 'EB Garamond', serif;
  font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; align-self: flex-start; transition: all 0.2s;
}
.submit-btn:hover { background: var(--gold); color: var(--bg); }
.form-thanks { display: none; padding: 1.5rem; border: 1px solid var(--gold); color: var(--gold-light); font-style: italic; }

/* ── ARCHIVE / CV (gilesdenmark.html) ── */
.archive-section .sec-title span { color: var(--gold); font-style: italic; }
.archive-body { max-width: 760px; }
.archive-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--gold-light);
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.archive-body p { margin-bottom: 1.3rem; }
.archive-body strong { color: var(--gold-light); font-weight: 600; }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 4.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.2rem;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-style: italic; color: var(--gold);
}
.footer-nav { display: flex; gap: 1.5rem; list-style: none; }
.footer-nav a {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.5rem; flex-wrap: wrap; }
  .nav-toggle { display: block; order: 3; }
  .lang-wrap { order: 2; }
  .nav-links {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
  }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 3rem 1.5rem; }
  section { padding: 4rem 1.5rem; }
  .poetry-section, .contact-section { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
}

/* ── FADE IN ── */
.fade { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.visible { opacity: 1; transform: translateY(0); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2,12,48,0.94);
  align-items: center; justify-content: center;
  padding: 2rem; cursor: zoom-out;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 92vw; max-height: 90vh; text-align: center; cursor: default; }
.lightbox-inner img {
  max-width: 92vw; max-height: 80vh;
  object-fit: contain; display: block; margin: 0 auto;
  border: 1px solid var(--border);
}
.lightbox-cap {
  margin-top: 1.1rem; font-family: 'Playfair Display', serif;
  font-style: italic; color: var(--gold-light); font-size: 1.05rem;
}
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.75rem;
  width: 2.6rem; height: 2.6rem;
  background: rgba(2,20,84,0.6); border: 1px solid var(--border);
  color: var(--gold); font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: all 0.2s; z-index: 1001;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold-light); }
.gallery-item img, .hero-right img { cursor: zoom-in; } 