:root {
  --cream: #f9f0e1;
  --ivory: #fffaf2;
  --cocoa: #734f37;
  --coffee: #2d1d16;
  --sand: #dfc7aa;
  --terracotta: #a66745;
  --line: rgb(115 79 55 / 22%);
  --display: "Lora", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--coffee);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--coffee);
  color: var(--ivory);
  font-size: 0.82rem;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100%, 92rem);
  margin-inline: auto;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
  padding-block: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: 7rem;
  height: 4.25rem;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 200ms ease;
}

.brand img {
  width: 100%;
  transform: translateY(-1rem);
}

.brand:hover {
  transform: rotate(-3deg);
}

.location {
  margin: 0;
  color: var(--cocoa);
  font-size: 0.61rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.location span {
  display: block;
  color: var(--coffee);
  font-weight: 700;
}

.hero,
.connections,
.gallery,
.site-footer {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.hero {
  display: flex;
  flex-direction: column;
  padding-block: 3.1rem 5.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 32rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--terracotta);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 14.5vw, 5.4rem);
}

h1 em {
  color: var(--cocoa);
  font-weight: inherit;
}

.hero-description {
  max-width: 28rem;
  margin: 1.5rem 0 0;
  color: rgb(45 29 22 / 76%);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  width: 84%;
  max-width: 26rem;
  margin: 2.8rem 0 0 auto;
  animation: image-arrival 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10rem 10rem 0.4rem 0.4rem;
  overflow: hidden;
}

.hero-image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgb(45 29 22 / 28%));
  content: "";
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.vertical-word {
  position: absolute;
  top: 50%;
  left: -2rem;
  z-index: 2;
  color: var(--cocoa);
  font-family: var(--display);
  font-size: 0.64rem;
  letter-spacing: 0.6em;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.hero-visual figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.8rem;
  color: var(--cocoa);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual figcaption span {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.movement-line {
  position: absolute;
  right: -4.5rem;
  bottom: -4.2rem;
  z-index: -1;
  width: 9rem;
  overflow: visible;
}

.movement-line path {
  fill: none;
  stroke: var(--sand);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.connections {
  padding-bottom: 6rem;
}

.manifesto {
  margin-bottom: 5.5rem;
  background: var(--cocoa);
  color: var(--cream);
}

.manifesto-inner {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
  padding-block: 2.7rem;
}

.manifesto p {
  max-width: 19ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 7.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.manifesto em {
  color: var(--sand);
  font-weight: inherit;
}

.manifesto cite {
  display: block;
  margin-top: 1.3rem;
  color: rgb(249 240 225 / 68%);
  font-family: var(--body);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.gallery-heading h2 {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
}

.link-list {
  display: grid;
  gap: 0.75rem;
}

.action-link,
.agenda-card {
  border: 1px solid var(--line);
  background: rgb(255 250 242 / 54%);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.action-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem;
  text-decoration: none;
}

.agenda-card summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.agenda-card summary::-webkit-details-marker {
  display: none;
}

.action-link:hover,
.agenda-card:hover,
.agenda-card[open] {
  border-color: var(--cocoa);
  background: var(--ivory);
}

.action-link:active {
  transform: scale(0.985);
}

.link-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--cocoa);
  place-items: center;
}

.link-icon svg,
.arrow-icon svg,
.toggle-icon svg,
.social-links svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.link-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.link-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.link-copy small {
  margin-bottom: 0.1rem;
  color: var(--terracotta);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.link-copy strong {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.25;
}

.arrow-icon,
.toggle-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  color: var(--cocoa);
  place-items: center;
}

.arrow-icon svg,
.toggle-icon svg {
  width: 1.15rem;
}

.action-link:hover .arrow-icon {
  transform: translateX(0.2rem);
}

.arrow-icon,
.toggle-icon {
  transition: transform 220ms ease;
}

.agenda-card[open] .toggle-icon {
  transform: rotate(180deg);
}

.event-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.agenda-card[open] .event-panel {
  grid-template-rows: 1fr;
}

.event-panel-inner {
  display: flex;
  align-items: center;
  min-height: 0;
  margin-inline: 1rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.agenda-card[open] .event-panel-inner {
  padding-block: 1.1rem 1.3rem;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-right: 1rem;
  border-right: 1px solid var(--line);
}

.event-date strong {
  color: var(--cocoa);
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1;
}

.event-date span,
.event-info span {
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.55;
  text-transform: uppercase;
}

.event-info {
  padding-left: 1rem;
}

.event-info span {
  color: var(--terracotta);
}

.event-info h3 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.event-info i {
  color: var(--sand);
  font-style: normal;
}

.gallery {
  padding-bottom: 7rem;
}

.gallery-heading {
  max-width: 31rem;
  margin-bottom: 2.5rem;
}

.gallery-heading > p:last-child {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: rgb(45 29 22 / 68%);
  font-size: 0.82rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.photo {
  margin: 0;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photo:hover img {
  transform: scale(1.025);
}

.photo-one,
.photo-three {
  aspect-ratio: 3 / 4;
}

.photo-two,
.photo-four {
  align-self: end;
  aspect-ratio: 1 / 1;
}

.photo-two img,
.photo-four img {
  object-position: center;
}

.photo-four img {
  object-position: 88% center;
  transform: scale(1.45);
}

.photo-four:hover img {
  transform: scale(1.5);
}

.photo-three {
  margin-top: 1.75rem;
}

.site-footer {
  position: relative;
  display: grid;
  justify-items: center;
  padding-block: 4rem 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-mark span {
  color: var(--cocoa);
  font-family: var(--display);
  font-size: 3.7rem;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-mark p {
  margin: -0.45rem 0 0;
  color: var(--cocoa);
  font-family: var(--display);
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-block: 2.1rem;
}

.social-links a {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cocoa);
  place-items: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  background: var(--cocoa);
  color: var(--ivory);
  transform: translateY(-0.2rem);
}

.social-links svg {
  width: 1.15rem;
  height: 1.15rem;
}

.social-links .fill-icon {
  fill: currentColor;
  stroke: none;
}

.footer-note {
  margin: 0;
  color: rgb(45 29 22 / 66%);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  text-transform: uppercase;
}

.footer-note span {
  color: rgb(45 29 22 / 45%);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

@keyframes image-arrival {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 42rem) {
  .site-header,
  .hero,
  .connections,
  .gallery,
  .site-footer {
    width: min(100% - 4rem, 76rem);
  }

  .site-header {
    padding-block: 0.8rem 1rem;
  }

  .brand {
    width: 8.5rem;
    height: 5rem;
  }

  .brand img {
    transform: translateY(-1.25rem);
  }

  .hero {
    min-height: 44rem;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding-block: 4.5rem 7rem;
  }

  .hero-copy {
    width: 52%;
  }

  .manifesto {
    margin-bottom: 6rem;
  }

  .manifesto-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: min(100% - 4rem, 76rem);
    gap: 3rem;
    padding-block: 3.6rem;
  }

  .manifesto p {
    max-width: 28ch;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
  }

  .manifesto cite {
    margin: 0 0 0.45rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(4rem, 7.2vw, 6.5rem);
  }

  .hero-visual {
    width: 40%;
    margin: 0 0 0 auto;
  }

  .connections {
    display: grid;
    grid-template-columns: minmax(13rem, 0.72fr) minmax(24rem, 1.28fr);
    gap: 5rem;
    padding-block: 2rem 8rem;
  }

  .section-heading {
    position: sticky;
    top: 3rem;
    align-self: start;
  }

  .section-heading h2,
  .gallery-heading h2 {
    font-size: clamp(3.5rem, 6vw, 5.4rem);
  }

  .action-link,
  .agenda-card summary {
    min-height: 6.2rem;
    padding-inline: 1.25rem;
  }

  .link-copy strong {
    font-size: 1.28rem;
  }

  .event-panel-inner {
    margin-inline: 1.25rem;
  }

  .gallery {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 5rem;
    padding-bottom: 9rem;
  }

  .gallery-heading {
    align-self: center;
    margin: 0;
  }

  .photo-grid {
    gap: 0.9rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    justify-items: start;
    padding-block: 3.5rem;
    text-align: left;
  }

  .social-links {
    align-self: center;
    margin: 0;
  }

  .footer-note {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 70rem) {
  .site-header {
    padding-block: 0.9rem 1.1rem;
  }

  .hero {
    gap: 7rem;
    min-height: 48rem;
  }

  .hero-copy {
    padding-left: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-visual {
    margin-right: 3rem;
  }

  .vertical-word {
    left: -3rem;
  }

  .connections,
  .gallery {
    gap: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
