/* ===========================
   INLET ARTS — styles.css
   =========================== */

:root {
  --navy: #1a2b3c;
  --slate: #3d5166;
  --mist: #f4f2ee;
  --sand: #e8e4dc;
  --white: #ffffff;
  --text: #1a2b3c;
  --text-muted: #5a6a78;
  --text-light: #8a9aaa;
  --border: rgba(26, 43, 60, 0.12);
  --border-mid: rgba(26, 43, 60, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-w: 900px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ---- NAV ---- */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 2rem;
}

.nav-brand {
  line-height: 1.2;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  padding: 1rem 2rem;
  gap: 1rem;
}
.mobile-menu a {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
}
.mobile-menu.open {
  position: fixed;
  display: flex;
  z-index: 10;
  width: 100%;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 0.5px solid var(--border-mid);
  padding-bottom: 1px;
}
.text-link:hover {
  color: var(--navy);
}

/* ---- HERO ---- */
#home {
  border-bottom: 0.5px solid var(--border);
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-fallback {
  background: var(--navy);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 43, 60, 0.85) 0%,
    rgba(26, 43, 60, 0.4) 60%,
    rgba(26, 43, 60, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  color: var(--white);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.mission {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- HOME INTRO ---- */
.home-intro {
  padding: 3rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 0.5px solid var(--border);
}

.intro-lead {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1.25rem;
  background: var(--mist);
  border-radius: var(--radius);
}
.stat-n {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}
.stat-l {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- PROGRAM PREVIEWS ---- */
.program-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 0.5px solid var(--border);
}

.preview-card {
  padding: 2rem;
  border-right: 0.5px solid var(--border);
}
.preview-card:last-child {
  border-right: none;
}

.preview-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--sand);
}
.preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.preview-card:hover .preview-img-wrap img {
  transform: scale(1.03);
}
.preview-img-wrap.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-img-wrap.img-fallback::after {
  content: "Photo coming soon";
  font-size: 11px;
  color: var(--text-light);
}

.preview-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--text);
  padding: 3px 8px;
  border-radius: 2px;
}

.preview-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}
.preview-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ---- SECTIONS ---- */
section {
  border-bottom: 0.5px solid var(--border);
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- PROGRAM BLOCKS ---- */
.program-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 0.5px solid var(--border);
}
.program-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.program-block.reverse {
  direction: rtl;
}
.program-block.reverse > * {
  direction: ltr;
}

.program-img-wrap {
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.program-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.program-img-wrap.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-img-wrap.img-fallback::after {
  content: "Photo coming soon";
  font-size: 12px;
  color: var(--text-light);
}

.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 0.5px solid var(--border-mid);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.program-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.program-text h3 a {
  color: var(--navy);
  text-decoration: none;
}
.program-text h3 a:hover {
  text-decoration: underline;
}
.program-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.program-text p:last-child {
  margin-bottom: 0;
}
.program-text ul {
  margin: 0.5rem 0 1rem 1.25rem;
}
.program-text ul li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.program-text strong {
  color: var(--text);
  font-weight: 500;
}

/* ---- ABOUT / TEAM ---- */
#about {
  background: var(--mist);
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid var(--border);
}
.team-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.team-img-wrap {
  padding: 1rem;
  width: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  flex-shrink: 0;
}

/*
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-img-wrap.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-img-wrap.img-fallback::after {
  content: "Photo\Acoming soon";
  white-space: pre;
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
}
*/

.team-text h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.team-text h4 a {
  color: var(--navy);
  text-decoration: none;
}
.team-text h4 a:hover {
  text-decoration: underline;
}
.team-role {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.team-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- PRESS ---- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
}

blockquote {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 2px solid var(--slate);
}
blockquote p {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
blockquote cite {
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal;
}

/* ---- CONTACT ---- */
#contact {
  background: var(--mist);
}

.contact-form {
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}
.form-group:last-of-type {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 0.5px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--slate);
}
.form-group textarea {
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}
.form-note a {
  color: var(--slate);
}

/* ---- FOOTER ---- */
footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  border-top: 0.5px solid var(--border);
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 420px;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .mission {
    font-size: 15px;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .program-previews {
    grid-template-columns: 1fr 1fr;
  }
  .preview-card {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .preview-card:last-child {
    border-bottom: none;
  }

  .program-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .program-block.reverse {
    direction: ltr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }
  .team-img-wrap {
    width: 100%;
    /*height: 220px;*/
  }
  .team-text {
    padding: 0 1rem 0 1rem;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-wrap {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .program-previews {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding: 3rem 1.25rem 2rem;
  }
  #navbar {
    padding: 0.75rem 1.25rem;
  }
}
