/* Birgitt Wolf Peterson — Artist Website
   Warm 7-25 cream tone restored sitewide; blue accents kept; Poppins type */

:root {
  /* Warm woodland / Finger Lakes (from 7-25) */
  --cream: #f7f2ea;
  --cream-deep: #efe6d8;
  --white-warm: #fffcf7;

  /* Page surfaces use warm cream (not cool grey) */
  --page-bg: #f7f2ea;
  --page-bg-deep: #efe6d8;
  --white: #fffcf7;

  /* Text: black + cool greys only (no brown) */
  --ink: #111111;
  --ink-soft: #1a1a1a;
  --muted: #555555;
  --subtitle: #4a4a4a;

  /* Dark cornflower blue accents (kept from later revisions) */
  --blue: #1c4587;
  --blue-deep: #16366d;
  --blue-mid: #2a5a9e;
  --blue-soft: #6d9eeb;

  /* Legacy aliases */
  --moss: var(--blue);
  --moss-deep: var(--blue-deep);
  --lake: #4a6b7c;
  --lake-deep: #2f4a58;
  /* Warm gold for eyebrows / soft accents (7-25) */
  --gold: #b8956a;
  --gold-light: #d4b896;
  --wax: #e8d5b5;

  --shadow: rgba(17, 17, 17, 0.07);
  --shadow-lg: rgba(17, 17, 17, 0.12);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Geometric sans close to brand wordmark (exact mark is logo-toolbar.png) */
  --font-logo: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-quote: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--page-bg);
  min-height: 100vh;
}

/* Home keeps warm beige strip + no page scroll (single hero) */
body.page-home {
  background: var(--cream);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.page-home .site-header {
  background: rgba(247, 242, 234, 0.94);
  border-bottom-color: rgba(184, 149, 106, 0.22);
  flex-shrink: 0;
}

body.page-home main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.page-home .site-footer {
  display: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-mid);
}

/* —— Typography —— */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--subtitle);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 38em;
}

/* —— Layout —— */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.75rem;
  max-width: 36rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.section-rule {
  width: 4rem;
  height: 1px;
  background: var(--blue);
  margin: 1.15rem 0 0;
  border: none;
}

.page-hero .section-rule {
  margin-top: 1.15rem;
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}

/* Three columns: name | flower | nav — no overlap */
.nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  min-height: 5.25rem;
  padding: 0.95rem 0;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
  grid-column: 1;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  z-index: 2;
}

/* Name — smaller, stays in left column only */
.logo .logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

/* Trillium in its own center column (not overlaid) */
.header-flower {
  grid-column: 2;
  justify-self: center;
  line-height: 0;
  text-decoration: none;
  display: block;
  z-index: 1;
}

.header-flower-img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo .logo-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: var(--ink);
}

.logo .logo-trillium {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: block;
}

/* Logo subtitle removed sitewide */
.logo span.logo-sub {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  grid-column: 3;
  justify-self: end;
  z-index: 2;
  min-width: 0;
  margin: 0;
}

.nav a {
  text-decoration: none;
  font-family: var(--font-logo);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--blue-soft);
  border-radius: var(--radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  grid-column: 3;
  justify-self: end;
}

/* —— Hero (home full-viewport) —— */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: #1a2a3a;
  background-image:
    linear-gradient(
      180deg,
      rgba(17, 17, 17, 0.18) 0%,
      rgba(17, 17, 17, 0.12) 35%,
      rgba(17, 17, 17, 0.55) 100%
    ),
    url("images/hero-october-crimson.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  color: var(--white);
}

/* Slight lift so the painting reads more clearly */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 70% 55% at 18% 75%, rgba(17, 17, 17, 0.28), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-meta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.hero h1,
.hero h1.hero-title-logo {
  font-family: var(--font-logo);
  font-size: clamp(1.65rem, 5vw, 3.4rem);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  margin-bottom: 0.85rem;
  max-width: none;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Exact wordmark on home hero (white filter over dark painting) */
.hero h1.hero-title-logo {
  white-space: normal;
  text-shadow: none;
  line-height: 0;
}

.hero-wordmark {
  display: block;
  width: min(520px, 92%);
  height: auto;
  /* Exact wordmark artwork, inverted for dark hero */
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.35));
}

.hero h1 .hero-trillium {
  width: clamp(1.35rem, 3.2vw, 2.1rem);
  height: clamp(1.35rem, 3.2vw, 2.1rem);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

@media (max-width: 900px) {
  .logo .logo-img {
    height: 44px;
  }

  .header-flower-img {
    height: 42px;
  }

  .nav {
    gap: 0.2rem 0.85rem;
  }

  .nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 720px) {
  /* Keep flower centered between name and menu button */
  .nav-wrap {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 4.75rem;
    padding: 0.85rem 0;
  }

  .header-flower {
    grid-column: 2;
  }

  .nav-toggle {
    grid-column: 3;
  }

  .nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.35rem;
    white-space: normal;
  }

  .logo .logo-img {
    height: 36px;
  }

  .header-flower-img {
    height: 36px;
  }

  .nav-wrap {
    padding: 0.75rem 0;
    min-height: 4.25rem;
    column-gap: 0.65rem;
  }
}

.hero .tagline.quote-style {
  margin: 0 0 1.35rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: #fff;
  max-width: 34rem;
  opacity: 0.98;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

/* Social pictograms on home (Dietlind-style: quiet, simple) */
.hero-social,
.page-social,
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: inherit;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-social {
  color: #fff;
  margin-top: 0.25rem;
}

.hero-social .social-icon {
  width: 1.55rem;
  height: 1.55rem;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.page-social {
  color: var(--blue-deep);
  margin-top: 1.25rem;
}

.page-social .social-icon {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.75;
}

.page-social .social-icon:hover {
  opacity: 1;
  color: var(--blue);
}

/* Contact page: icons only, slightly larger */
.contact-social {
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.contact-social .social-icon {
  width: 1.95rem;
  height: 1.95rem;
  opacity: 0.85;
}

.contact-social .social-icon:hover {
  opacity: 1;
  color: var(--blue);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--page-bg);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-dark {
  background: var(--blue-deep);
  color: #fff;
}

.btn-dark:hover {
  background: var(--blue);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-soft);
}

.btn-outline:hover {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
}

/* —— Intro / feature cards (legacy, unused on home now) —— */
.intro-strip {
  background: var(--white);
  border-bottom: 1px solid rgba(28, 69, 135, 0.1);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.intro-grid h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.intro-grid p + p {
  margin-top: 1rem;
}

.studio-card {
  background: linear-gradient(160deg, var(--blue-deep), var(--blue) 55%, #2f4a6a);
  color: #f0f4fa;
  border-radius: 8px;
  padding: 2.25rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 50px var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(164, 194, 244, 0.25), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(74, 107, 140, 0.35), transparent 40%);
}

.studio-card > * {
  position: relative;
  z-index: 1;
}

.studio-card .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.studio-card h3 {
  font-size: 1.85rem;
  color: #f0f4fa;
  margin-bottom: 0.5rem;
}

.studio-card p {
  opacity: 0.9;
  font-size: 0.98rem;
  max-width: 22rem;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid rgba(28, 69, 135, 0.12);
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 32px var(--shadow);
  transform: translateY(-2px);
}

.feature-card .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.feature-card a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue-deep);
}

.feature-card a::after {
  content: " →";
}

/* —— Bio page —— */
.page-hero {
  padding: 2rem 0 1.35rem;
  background:
    linear-gradient(180deg, var(--page-bg-deep), var(--page-bg));
  border-bottom: 1px solid rgba(28, 69, 135, 0.1);
}

.page-hero-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 2.5rem;
}

.page-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.page-hero-logo {
  flex: 0 0 auto;
  width: min(150px, 28vw);
}

.page-hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 28px var(--shadow);
  background: var(--cream);
}

@media (max-width: 640px) {
  .page-hero-with-logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-logo {
    width: min(130px, 42vw);
    align-self: flex-end;
    order: -1;
    margin-bottom: 0.25rem;
  }
}

.page-hero h1 {
  font-family: var(--font-logo);
  /* Match contact page “Treetops & Trillium Studio” (.contact-info h2: 1.85rem) */
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-bottom: 0.35rem;
  color: var(--ink);
  line-height: 1.2;
}

.page-hero .lead {
  margin-top: 0.4rem;
  font-size: 0.98rem;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.bio-portrait {
  position: sticky;
  top: 6rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--page-bg-deep);
  min-height: 0;
  box-shadow: 0 16px 40px var(--shadow-lg);
  line-height: 0;
}

.bio-portrait-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1.05;
  object-position: center 20%;
}

.bio-portrait-inner {
  width: 100%;
  padding: 1.75rem;
  background: linear-gradient(transparent, rgba(17, 17, 17, 0.75));
  color: #f0f4fa;
}

.bio-portrait-inner p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.bio-body h2 {
  font-size: 1.75rem;
  margin: 2rem 0 0.85rem;
  color: var(--ink);
  text-transform: lowercase;
}

.bio-body h2:first-child {
  margin-top: 0;
}

.bio-body p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.bio-body ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  color: var(--ink-soft);
}

.bio-body li {
  margin-bottom: 0.4rem;
}

.bio-body .heading-only {
  margin-bottom: 0.35rem;
}

.highlight-box {
  background: var(--white);
  border-left: 3px solid var(--blue);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 6px 6px 0;
  min-height: 3.5rem;
}

.highlight-box p,
.quote-style {
  margin: 0;
  font-family: var(--font-quote);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}

.highlight-box p {
  color: var(--ink);
}

/* —— Gallery —— */
/* Header uses standard .page-hero (same as Events / Teaching / About) */

.gallery-note {
  background: var(--page-bg-deep);
  border: 1px dashed rgba(28, 69, 135, 0.25);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem 1.15rem;
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
  }
}

.gallery-hint {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

/* Art card: image + title underneath (no hover overlay) */
.art-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.2s ease;
  outline: none;
  font: inherit;
  text-align: left;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.art-card:hover,
.art-card:focus-visible {
  transform: none;
  z-index: 1;
}

.art-card:focus-visible .art-frame {
  box-shadow: 0 0 0 3px rgba(28, 69, 135, 0.4);
}

.art-frame {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--page-bg-deep);
  position: relative;
  border-radius: 2px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.art-card:hover .art-frame,
.art-card:focus-visible .art-frame {
  box-shadow: 0 10px 28px var(--shadow-lg);
  transform: translateY(-2px);
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.art-frame img.crop-top {
  object-position: center top;
}

.art-frame img.crop-upper {
  object-position: center 18%;
}

.art-frame img.crop-sun-quarter {
  object-position: center 38%;
}

.art-card:hover .art-frame img,
.art-card:focus-visible .art-frame img {
  transform: scale(1.03);
}

/* Title under image (Dietlind-style) — not overlay */
.art-caption {
  display: block;
  padding: 0.7rem 0.1rem 0;
  color: var(--ink);
}

.art-caption .art-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  display: block;
}

.art-caption .art-medium {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  display: block;
  margin-top: 0.2rem;
}

/* Legacy hover overlay — disabled */
.art-info {
  display: none !important;
}

.art-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 0.15rem;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: var(--page-bg);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(100vh - 2.5rem);
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px var(--shadow-lg);
  background: var(--page-bg);
}

.lightbox-caption {
  width: 100%;
  max-width: 40rem;
  margin-top: 1rem;
  text-align: center;
  color: var(--ink);
  padding: 0 0.5rem 0.25rem;
}

.lightbox-caption h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.lightbox-meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.lightbox-status {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--page-bg-deep);
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: #ddd;
  outline: none;
}

.lightbox-nav {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--page-bg-deep);
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.15rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: #ddd;
  outline: none;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .lightbox-nav {
    top: auto;
    bottom: 0.25rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  .lightbox-close {
    top: 0.25rem;
    right: 0.25rem;
  }

  .lightbox-figure img {
    max-height: 62vh;
  }

  .lightbox-caption {
    margin-bottom: 3rem;
  }
}

/* —— Events (Lorraine Glessner–inspired) —— */
/* Title uses standard .page-hero + .container (aligned with Gallery/Teaching/About) */

.events-click-note {
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
  font-style: italic;
}

/* Events page: only real <a> links are blue; dates/venues/places stay black */
.page-events .event-row-dates,
.page-events .event-row-body,
.page-events .event-row-body h3,
.page-events .event-row-body .venue,
.page-events .event-row-body .meta-line,
.page-events .event-row-body .reception,
.page-events .events-split-caption,
.page-events .lead {
  color: var(--ink);
}

.page-events .event-row-body a {
  color: var(--blue);
}

.page-events .event-row-body a:hover {
  color: var(--blue-mid);
}

/* Less space between page-hero rule and events content */
.section-events {
  padding-top: 1.5rem;
}

.upcoming-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
}

/* Photo left + event listings right */
.events-split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.15fr);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.events-split-image {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--page-bg-deep);
  box-shadow: 0 12px 36px var(--shadow-lg);
  position: sticky;
  top: 6.5rem;
}

.events-split-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  object-position: center 38%;
}

.events-split-caption {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid rgba(28, 69, 135, 0.1);
}

.events-list-side {
  min-width: 0;
}

.events-list-side .event-row {
  grid-template-columns: 1fr;
  gap: 0.35rem 0;
  padding: 1.25rem 0;
}

.events-list-side .event-row:first-child {
  padding-top: 0;
  border-top: none;
}

.events-list-side .event-row-dates {
  margin-bottom: 0.15rem;
}

.events-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(28, 69, 135, 0.12);
}

.events-featured-image {
  margin: 0;
  background: var(--page-bg-deep);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 36px var(--shadow-lg);
  min-height: 320px;
}

.events-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  min-height: 360px;
}

.events-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.events-featured-body .event-dates {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.events-featured-body h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.events-featured-body .venue-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.15rem;
}

.events-featured-body .place-line {
  color: var(--muted);
  margin-bottom: 1rem;
}

.events-featured-body a.show-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}

.events-featured-body a.show-link:hover {
  border-bottom-color: var(--blue);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-row {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 1.5rem 2rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(28, 69, 135, 0.12);
  align-items: start;
}

.event-row:first-child {
  border-top: 1px solid rgba(28, 69, 135, 0.12);
}

.event-row-dates {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.45;
}

.event-row-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 500;
}

.event-row-body h3 a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.event-row-body h3 a:hover {
  color: var(--blue-mid);
  border-bottom-color: var(--blue-soft);
}

.event-row-body .venue {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.event-row-body .venue a,
.event-row-body a.place-link {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.event-row-body .venue a:hover,
.event-row-body a.place-link:hover {
  border-bottom-color: var(--blue-soft);
  color: var(--blue-mid);
}

.event-row-body .meta-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.event-row-body .reception {
  color: var(--subtitle);
  font-size: 0.92rem;
}

/* Legacy event cards (teaching page) */
.event-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(28, 69, 135, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
  align-items: start;
}

.event-date {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--page-bg-deep);
  border-radius: 6px;
}

.event-date .month {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.event-date .range,
.event-date .day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0.2rem;
}

.event-date .year {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.event-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.event-body .venue,
.event-body .event-meta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.event-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.event-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  background: rgba(28, 69, 135, 0.1);
  color: var(--blue-deep);
}

.event-tag.upcoming {
  background: rgba(28, 69, 135, 0.16);
  color: var(--blue-deep);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
  color: var(--ink);
  text-transform: lowercase;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0;
}

.contact-details li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(28, 69, 135, 0.12);
  display: grid;
  gap: 0.15rem;
}

.contact-details .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtitle);
}

.contact-details a,
.contact-details span {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--white);
  border: 1px solid rgba(28, 69, 135, 0.12);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px var(--shadow);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
  text-transform: lowercase;
}

.contact-form .form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(17, 17, 17, 0.15);
  border-radius: var(--radius);
  background: var(--page-bg);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(28, 69, 135, 0.15);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(28, 69, 135, 0.08);
  border-radius: var(--radius);
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: var(--blue-deep);
  color: rgba(240, 244, 250, 0.88);
  padding: 2.75rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: #f0f4fa;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  color: #c8cdd4; /* cool light grey — no brown */
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  margin-bottom: 0.75rem;
}

.site-footer p {
  font-size: 0.95rem;
  max-width: 22rem;
  line-height: 1.55;
}

.site-footer .footer-blurb {
  max-width: 22rem;
}

.site-footer .footer-place {
  white-space: nowrap;
  display: inline-block;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(240, 244, 250, 0.88);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-social {
  color: rgba(240, 244, 250, 0.9);
  margin-top: 1rem;
  gap: 0.75rem;
}

.footer-social .social-icon {
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.85;
}

.footer-social .social-icon:hover {
  opacity: 1;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(240, 244, 250, 0.15);
  padding-top: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-location {
  display: block;
  white-space: nowrap;
}

.footer-bottom .copyright-line {
  max-width: 36rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .intro-grid,
  .bio-layout,
  .contact-grid,
  .events-split,
  .events-featured {
    grid-template-columns: 1fr;
  }

  .events-split-image {
    position: static;
    max-width: 420px;
  }

  .events-split-image img {
    aspect-ratio: 4 / 5;
    max-height: 480px;
  }

  .events-featured-image img {
    min-height: 280px;
    max-height: 380px;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .bio-portrait {
    position: static;
    min-height: 280px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body.page-home {
    overflow: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.page-home main {
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100dvh - 4.5rem);
  }

  body.page-home .hero {
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100dvh - 4.5rem);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid rgba(184, 149, 106, 0.22);
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }

  body.page-home .nav {
    background: var(--cream);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(28, 69, 135, 0.1);
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: flex-start;
    text-align: left;
    padding: 0.6rem 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* —— CV link + modal (About page) —— */
.cv-link-row {
  margin: 1.5rem 0 1rem;
}

.cv-link {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  /* Match artist statement / bio-body h2 */
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--blue-deep);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  display: inline-block;
  line-height: 1.2;
}

.cv-link:hover,
.cv-link:focus-visible {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-soft);
  outline: none;
}

.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cv-modal[hidden] {
  display: none !important;
}

.cv-modal.is-open,
.cv-modal:not([hidden]) {
  display: flex !important;
}

.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  cursor: pointer;
}

.cv-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(88vh, 900px);
  background: var(--cream);
  border: 1px solid rgba(28, 69, 135, 0.12);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.22);
  outline: none;
  display: flex;
  flex-direction: column;
}

.cv-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cv-modal-close:hover,
.cv-modal-close:focus-visible {
  background: #e4d9c8;
  outline: none;
}

.cv-modal-scroll {
  overflow: auto;
  padding: 1.75rem 1.75rem 2rem;
  -webkit-overflow-scrolling: touch;
}

.cv-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 2px solid var(--blue-deep);
  padding-right: 2.5rem;
}

.cv-doc-name {
  font-family: var(--font-logo);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--ink);
  margin: 0 0 0.45rem;
}

.cv-doc-contact {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.cv-doc-contact a {
  color: var(--blue-deep);
  text-decoration: none;
}

.cv-doc-contact a:hover {
  text-decoration: underline;
}

.cv-download {
  flex-shrink: 0;
  font-size: 0.78rem !important;
  padding: 0.5rem 0.85rem !important;
}

.cv-sec {
  margin-bottom: 1.15rem;
}

.cv-sec h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  border-bottom: 1px solid rgba(28, 69, 135, 0.15);
  padding-bottom: 0.3rem;
  margin: 0 0 0.55rem;
}

.cv-row {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.35rem 1rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  align-items: start;
}

.cv-year {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--subtitle);
  white-space: normal;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cv-row strong {
  font-weight: 500;
  color: var(--ink);
}

.cv-row em {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88em;
}

.cv-row p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cv-note {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.cv-sec-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.25rem;
}

.cv-sec-split p {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

body.cv-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cv-doc-header {
    flex-direction: column;
  }

  .cv-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .cv-sec-split {
    grid-template-columns: 1fr;
  }

  .cv-modal-scroll {
    padding: 1.35rem 1.15rem 1.5rem;
  }
}


/* Teaching page: only real <a> links are blue */
.page-teaching .event-date .month,
.page-teaching .event-date .day,
.page-teaching .event-date .range,
.page-teaching .event-date .year,
.page-teaching .event-body,
.page-teaching .event-body h3,
.page-teaching .event-body .venue,
.page-teaching .event-body .event-meta,
.page-teaching .event-body p,
.page-teaching .lead {
  color: var(--ink);
}

.page-teaching .event-body a,
.page-teaching main a:not(.btn):not(.social-icon) {
  color: var(--blue);
}

.page-teaching .event-body a:hover {
  color: var(--blue-mid);
}

/* Teaching: less gap under header; text aligns with top of blue card */
.section-teaching {
  padding-top: 1.75rem;
}

.intro-grid-top {
  align-items: start;
}

.section-teaching .studio-card,
.section-tight-top .studio-card {
  justify-content: flex-start;
  min-height: 0;
  padding: 1.75rem;
}


/* Contact: less gap under header; keep columns top-aligned with form */
.section-contact {
  padding-top: 1.75rem;
}

.section-contact .contact-grid {
  align-items: start;
}

.section-contact .contact-info h2 {
  margin-top: 0;
}


/* Shared: less space under page-hero on content pages */
.section-tight-top,
.section-teaching,
.section-contact,
.section-events {
  padding-top: 1.75rem;
}

.section-tight-top .bio-layout {
  align-items: start;
}
