@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --ink: #1a2422;
  --ink-soft: #3d4a47;
  --paper: #f2ebe0;
  --paper-warm: #e8dfd0;
  --cream: #faf6ef;
  --teal: #2a6b63;
  --teal-deep: #1e4f4a;
  --teal-soft: #d5e6e2;
  --chestnut: #8b5a3c;
  --line: rgba(26, 36, 34, 0.12);
  --max: 1100px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(42, 107, 99, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(139, 90, 60, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 45%, var(--paper-warm) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, .brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  margin: 0 0 0.35em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  margin: 0 0 0.45em;
}

h3 {
  font-size: 1.3rem;
  margin: 0 0 0.35em;
}

p {
  margin: 0 0 1em;
}

.inner {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.15rem;
}

.menu-btn {
  display: none;
  font: inherit;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
}

.nav a:hover,
.nav a.active {
  color: var(--teal-deep);
}

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 36, 34, 0.25) 0%, rgba(26, 36, 34, 0.55) 45%, rgba(26, 36, 34, 0.82) 100%);
}

.hero-text {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  max-width: 36rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-text h1 {
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-text .lede {
  color: rgba(250, 246, 239, 0.9);
  font-size: 1.1rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  background: var(--teal);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--teal-deep);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(250, 246, 239, 0.55);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(250, 246, 239, 0.12);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--teal);
  color: var(--teal-deep);
}

.btn-outline:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

/* Sections */
.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.section-head {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.65rem;
}

.rule {
  display: block;
  width: 3.5rem;
  height: 2px;
  background: var(--teal);
  margin-top: 1.1rem;
}

.welcome {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.welcome img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92);
}

.split-copy h2 {
  margin-top: 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar h3 {
  color: var(--teal-deep);
}

.pillar p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cat {
  background: var(--cream);
  padding: 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease);
}

.cat:hover {
  background: var(--teal-soft);
  color: inherit;
}

.cat span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

.band-teal {
  background:
    linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: var(--cream);
}

.band-teal h2,
.band-teal .eyebrow {
  color: var(--cream);
}

.band-teal .eyebrow {
  opacity: 0.85;
}

.band-teal p {
  color: rgba(250, 246, 239, 0.88);
}

.band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.band-inner img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s var(--ease);
}

.mosaic figure:first-child {
  grid-row: span 2;
}

.mosaic figure:first-child img {
  aspect-ratio: auto;
  min-height: 100%;
}

.mosaic figure:hover img {
  transform: scale(1.04);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quote {
  padding-top: 1rem;
  border-top: 2px solid var(--teal);
}

.quote p {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.8rem, 6vw, 4.2rem) 0 1.5rem;
}

.page-hero p {
  max-width: 34rem;
  color: var(--ink-soft);
  margin: 0;
}

.page-hero-media {
  margin-top: 1.75rem;
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  animation: riseIn 0.8s var(--ease) both;
}

/* Shelves */
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.shelf-block h3 {
  margin-top: 0.85rem;
}

.shelf-block img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.shelf-block p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.list-cats {
  columns: 2;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-cats li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

/* Events */
.event-list {
  display: grid;
  gap: 0;
}

.event {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.event-date {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.25;
}

.event-date small {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hours {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.hours dl {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.4rem 1rem;
  margin: 0.75rem 0 0;
}

.hours dt {
  font-weight: 600;
  color: var(--teal-deep);
}

.hours dd {
  margin: 0;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  margin-bottom: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  color: var(--teal-deep);
  font-weight: 600;
}

/* Legal */
.legal {
  width: min(100% - 2.4rem, 42rem);
  margin: 0 auto 4rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 1.5rem;
  background: rgba(232, 223, 208, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--teal-deep);
}

.footer-bottom {
  width: min(100% - 2.4rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 1.15rem 1.25rem;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-bar.show {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
  color: rgba(250, 246, 239, 0.9);
}

.cookie-inner a {
  color: #9fd4cc;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
}

#cookie-accept {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}

#cookie-reject {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 246, 239, 0.4);
}

#cookie-settings-btn {
  background: transparent;
  color: #9fd4cc;
  border: none;
  text-decoration: underline;
  padding: 0.55rem 0.4rem;
}

.cookie-settings {
  width: min(100%, var(--max));
  margin: 0.85rem auto 0;
  display: none;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(250, 246, 239, 0.15);
  font-size: 0.92rem;
}

.cookie-settings.open {
  display: block;
}

.cookie-settings label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: rgba(250, 246, 239, 0.92);
}

.cookie-settings input {
  width: auto;
  margin: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1.2rem;
  }

  .welcome,
  .band-inner,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillars,
  .quotes,
  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .cats {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic figure:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .mosaic figure:first-child img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .list-cats {
    columns: 1;
  }

  .event {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 520px) {
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic figure:first-child {
    grid-column: auto;
  }
}
