/* Nafset Chenib — site styles. Built for readability and accessibility. */

:root {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #4a4a4a;
  --color-navy: #16324f;
  --color-burgundy: #7a1f3d;
  --color-gold: #d9b25a;
  --color-border: #ddd5c8;
  --focus-ring: 3px solid #0b5fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  color: var(--color-navy);
  line-height: 1.25;
}

h1 { font-size: 2.1rem; margin: 0 0 0.3em; }
h2 { font-size: 1.5rem; margin: 1.6em 0 0.5em; border-top: 1px solid var(--color-border); padding-top: 0.9em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 0.4em; }

p { margin: 0 0 1em; }

a {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover, a:focus { color: #591028; }

/* Visible focus indicator everywhere — never remove */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* Header + nav */
.site-header {
  background: var(--color-navy);
  padding: 18px 0;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-name a {
  color: #fff;
  text-decoration: none;
  font-family: Georgia, "Iowan Old Style", serif;
  font-size: 1.4rem;
  font-weight: bold;
}
.site-name a:focus-visible { outline: var(--focus-ring); outline-offset: 4px; }

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: #f2ece0;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: #fff; }
.nav-list a[aria-current="page"] {
  color: #fff;
  font-weight: bold;
  border-bottom-color: var(--color-gold);
}
.nav-list a:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }

/* Main content */
main {
  padding: 40px 20px 60px;
}

.tagline {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-top: 0;
}
.lede {
  font-size: 1.1rem;
}

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.6em; }

/* Photos */
figure.photo {
  margin: 1.6em 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
figure.photo img {
  display: block;
  width: 100%;
  height: auto;
}
figure.photo figcaption {
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Home card list */
.card-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card-list a {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--color-text);
}
.card-list a:hover, .card-list a:focus-visible { border-color: var(--color-burgundy); }
.card-list strong {
  display: block;
  color: var(--color-navy);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.card-list span { color: var(--color-muted); font-size: 0.95rem; }

/* Downloads */
.download-list li { margin-bottom: 0.9em; }

/* Performances / Press lists */
.perf-list, .press-list { list-style: none; padding: 0; }
.perf-list li, .press-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.perf-title, .press-title { font-weight: bold; margin: 0 0 6px; color: var(--color-navy); }
.perf-detail, .press-desc { margin: 0 0 8px; color: var(--color-muted); }
.perf-links, .press-links { margin: 0; }

/* Forms */
.contact-form { max-width: 560px; }
.form-row { margin-bottom: 1.3em; }
.form-row label, fieldset legend {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}
fieldset {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 18px;
}
fieldset legend { padding: 0 6px; }
.radio-row { margin: 0.4em 0; }
.radio-row label { display: inline; font-weight: normal; margin-left: 6px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  padding: 10px 12px;
  border: 1px solid #9a9a9a;
  border-radius: 6px;
  background: #fff;
  color: var(--color-text);
}
.hidden-field { position: absolute; left: -9999px; }
button[type="submit"] {
  background: var(--color-burgundy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  padding: 12px 28px;
  cursor: pointer;
  min-height: 44px;
}
button[type="submit"]:hover { background: #591028; }
button[type="submit"]:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }

/* Visually hidden but still available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #d8d2c4;
  padding: 26px 0;
  font-size: 0.9rem;
}
.site-footer p { margin: 0.3em 0; }

/* Share row */
.share-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2c4f74;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}
.share-heading {
  font-family: inherit;
  font-weight: bold;
  font-size: 0.9rem;
  color: #d8d2c4;
  margin: 0;
}
.share-link {
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9rem;
  color: #f2ece0;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 4px 2px;
  margin: 0;
  cursor: pointer;
}
.share-link:hover { color: #fff; }
.share-link:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.copy-status {
  font-size: 0.85rem;
  color: var(--color-gold);
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  body { font-size: 17px; }
}
