:root {
  --paper: #f5f1e9;
  --white: #fffdf8;
  --ink: #262820;
  --muted: #68675e;
  --clay: #9a563c;
  --clay-dark: #75412f;
  --olive: #41483c;
  --stone: #d8cdbb;
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1.125rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.top {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-emblem { width: 25px; height: 54px; object-fit: contain; }
.brand-name { display: grid; gap: 4px; }
.mark b { font: 400 1.45rem/1 var(--serif); letter-spacing: .01em; }
.mark span { color: var(--muted); font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px); }
.nav a {
  font-size: .98rem;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}
.nav a:hover { text-decoration-color: var(--clay); }
.lang { display: inline-flex; overflow: hidden; border: 1px solid var(--stone); border-radius: 2px; }
.lang button {
  padding: 9px 11px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .08em;
}
.lang button + button { border-left: 1px solid var(--stone); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(38px, 7vw, 82px) clamp(44px, 7vw, 80px);
  background: var(--paper);
}
.hero::before,
#about::before {
  position: absolute;
  z-index: 0;
  width: clamp(120px, 18vw, 250px);
  height: 82%;
  background: url("images/eden-emblem.png") center / contain no-repeat;
  content: "";
  opacity: .035;
  pointer-events: none;
}
.hero::before { top: 8%; right: 2%; }
.hero > .wrap,
#about > .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
}
.hero-text { display: grid; justify-items: start; gap: 22px; }
.eyebrow {
  color: var(--clay-dark);
  font: 500 .78rem/1.6 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1 {
  max-width: 10ch;
  font: 400 clamp(3.2rem, 7.2vw, 6.5rem)/.98 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lede { max-width: 45ch; color: #55554d; font-size: clamp(1.15rem, 1.7vw, 1.35rem); }
.disciplines {
  max-width: 48ch;
  color: var(--muted);
  font: 400 .82rem/1.9 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 4px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font: 600 1rem/1.3 var(--sans);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}
.btn:hover { border-color: var(--clay-dark); background: var(--clay-dark); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.link { text-decoration-color: var(--stone); text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--clay); }
.hero-figure { position: relative; min-width: 0; }
.hero-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 42%;
}
.hero-figure figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 11px;
  background: var(--white);
  color: var(--ink);
  font: 400 .78rem/1.5 var(--mono);
  letter-spacing: .04em;
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 58px);
  border-top: 1px solid var(--stone);
}
.fact { display: grid; gap: 4px; min-width: 0; padding: 15px 16px 0 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--stone); }
.fact dt { color: var(--muted); font: 500 .74rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.fact dd { font: 400 1.35rem/1.35 var(--serif); }

.section { padding-block: clamp(64px, 9vw, 108px); }
.section + .section { border-top: 1px solid #e8e1d6; }
.head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 42px); }
.head::after {
  width: 58px;
  height: 18px;
  background: url("images/eden-emblem.png") left center / 7px 18px no-repeat;
  border-bottom: 1px solid var(--stone);
  content: "";
  opacity: .65;
}
h2 { font: 400 clamp(2rem, 4vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
h3 { font: 600 1.18rem/1.4 var(--sans); }
.muted { color: var(--muted); }
.event-section { background: var(--paper); }
.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}
.event-copy { display: grid; justify-items: start; gap: 18px; max-width: 58ch; }
.event-copy h2 { max-width: 14ch; }
.event-title { color: var(--clay-dark); }
.event-date { font-weight: 600; }
.event-poster {
  display: grid;
  border: 1px solid var(--stone);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 40px rgb(38 40 32 / 10%);
}
.event-poster img { width: 100%; height: auto; }
.event-poster > span {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--stone);
  font-weight: 600;
}
.event-poster:hover > span { color: var(--clay-dark); }
.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery-card { min-width: 0; }
.gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-card figcaption { padding-top: 12px; color: var(--muted); font-size: .98rem; }
.gallery-card figcaption a { white-space: nowrap; }

.artists-section { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); }
.artists-section::before {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: 3%;
  width: clamp(100px, 13vw, 180px);
  height: 92%;
  background: url("images/eden-emblem.png") center top / contain no-repeat;
  content: "";
  opacity: .045;
  pointer-events: none;
}
.artists-section > .wrap { position: relative; z-index: 1; }
.artists-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.artist-card { min-width: 0; background: var(--white); }
.artist-photo { display: block; width: 100%; height: auto; }
.artist-image-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4px; align-items: stretch; aspect-ratio: 1.6; background: var(--ink); }
.artist-image-pair .artist-photo { height: 100%; object-fit: cover; }
.artist-copy { display: grid; justify-items: start; gap: 12px; padding: clamp(18px, 2.4vw, 28px); }
.artist-copy .eyebrow { font-size: .68rem; letter-spacing: .08em; }
.artist-copy h3 { font: 400 clamp(1.45rem, 2.2vw, 1.9rem)/1.2 var(--serif); }
.artist-link { color: var(--clay-dark); font-weight: 600; text-underline-offset: 4px; }
.artist-link:hover { text-decoration-thickness: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 48px); }
.step { display: grid; align-content: start; gap: 10px; min-width: 0; padding-top: 16px; border-top: 1px solid var(--stone); }
.step .num { color: var(--clay); font: 400 2.2rem/1 var(--serif); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.note { display: grid; align-content: start; gap: 9px; padding-top: 18px; border-top: 1px solid var(--stone); }
.note.weather {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 22px;
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper);
  border: 0;
}
.weather .tag { grid-row: 1 / span 2; display: block; color: var(--clay); }
.weather p { max-width: 65ch; }

.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 7vw, 82px); }
.about-visuals { display: grid; align-content: start; gap: 16px; }
.about-city {
  display: grid;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--stone);
  background: var(--white);
}
.about-city img { width: 100%; height: auto; }
.about-city figcaption,
.about-founder figcaption {
  color: var(--muted);
  font: 400 .72rem/1.5 var(--mono);
  letter-spacing: .06em;
}
.about-city figcaption { padding: 2px 6px 4px; }
.about-founder { display: flex; align-items: center; gap: 14px; padding-left: 10px; }
.about-founder img {
  width: clamp(82px, 24%, 124px);
  height: auto;
  border: 4px solid var(--white);
  outline: 1px solid var(--stone);
}
.about-founder figcaption { font-size: .68rem; }
.founder-photo { width: 100%; height: auto; object-fit: cover; object-position: center 38%; }
.about-copy { display: grid; gap: 18px; max-width: 68ch; }
.about-copy .story-lead { font: 400 clamp(1.35rem, 2.2vw, 1.75rem)/1.35 var(--serif); }
#about { position: relative; isolation: isolate; overflow: hidden; }
#about::before { top: 8%; right: 2%; opacity: .025; }
.timeline { display: grid; gap: 0; margin-top: 8px; }
.timeline li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); align-items: baseline; gap: 14px; padding-block: 13px; border-top: 1px solid #e8e1d6; }
.timeline .yr { color: var(--clay-dark); font: 400 1.45rem/1 var(--serif); }
.timeline p { color: var(--muted); font-size: 1rem; }
.closing { padding-top: 17px; border-top: 1px solid var(--stone); font: 400 1.35rem/1.4 var(--serif); }

.visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel { display: grid; align-content: start; justify-items: start; gap: 17px; min-width: 0; padding: clamp(24px, 4vw, 42px); }
.panel.stone { background: var(--paper); }
.panel.dark { background: var(--olive); color: var(--white); }
.panel.dark .eyebrow { color: #e2c6a9; }
.panel.dark .muted { color: #e3e3da; }
.panel.dark .btn-line { border-color: rgb(255 253 248 / 70%); color: var(--white); }
.panel.dark .btn-line:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.panel h3 { font: 400 clamp(1.45rem, 2.5vw, 1.9rem)/1.2 var(--serif); }
.address { max-width: 32ch; color: var(--muted); }
.panel.dark .address { color: #e3e3da; }
.map-embed { grid-column: 1 / -1; width: 100%; height: clamp(320px, 42vw, 450px); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--stone);
  color: var(--muted);
  font: 400 .78rem/1.7 var(--mono);
  letter-spacing: .04em;
}

main img[role="button"] { cursor: zoom-in; }
main img[role="button"]:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.lightbox {
  position: fixed;
  width: min(96vw, 1280px);
  max-width: 96vw;
  max-height: 96vh;
  margin: auto;
  padding: 42px 14px 14px;
  overflow: visible;
  border: 1px solid var(--stone);
  background: var(--white);
  box-shadow: 0 20px 70px rgb(0 0 0 / 35%);
}
.lightbox::backdrop { background: rgb(20 20 18 / 84%); }
.lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(96vh - 60px);
  margin-inline: auto;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 5px;
  right: 7px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 400 2rem/1 var(--sans);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-text { max-width: 62ch; }
  .event-grid { grid-template-columns: minmax(0, 1fr); }
  .event-poster { width: min(100%, 520px); }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .about-visuals { grid-template-columns: minmax(0, 1fr); }
  .artists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-card:last-child { grid-column: 1 / -1; }
  .artist-card:last-child .artist-image-pair { grid-template-columns: 1.2fr .8fr; }
  .founder-photo { object-position: center 34%; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .top { min-height: 70px; flex-wrap: wrap; gap: 14px; }
  .mark { margin-right: auto; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; padding-top: 4px; border-top: 1px solid var(--stone); }
  .nav a { font-size: .9rem; }
  .hero { padding-top: 38px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { padding-top: 14px; border-top: 1px solid var(--stone); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .gallery-card:first-child { grid-column: 1 / -1; }
  .artists-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .artist-card:last-child { grid-column: auto; }
  .artist-image-pair { grid-template-columns: 1.15fr .85fr; }
  .artist-card:last-child .artist-image-pair { grid-template-columns: 1.15fr .85fr; }
  .steps, .visit { grid-template-columns: minmax(0, 1fr); }
  .notes { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .note.weather { grid-template-columns: minmax(0, 1fr); }
  .weather .tag { grid-row: auto; }
  .foot { flex-direction: column; }
  .lightbox { padding: 42px 8px 8px; }
  .lightbox-image { max-height: calc(96vh - 54px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
