/* ------------------------------------------------------------
   Foundation
------------------------------------------------------------ */
:root {
  --ivory: #f1ece2;
  --paper: #f8f5ef;
  --paper-bright: #fcfaf6;
  --ink: #272622;
  --ink-soft: #3b3934;
  --muted: #716d65;
  --line: #d6cec2;
  --taupe: #b8aa9a;
  --accent: #8b503e;
  --dark: #20201e;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

section,
header {
  scroll-margin-top: 4.5rem;
}

h1,
h2,
h3,
blockquote {
  font-family: var(--serif);
}

h2 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

h3 {
  font-weight: 500;
}

.skip-link {
  background: var(--dark);
  color: #fff;
  left: 1rem;
  padding: .7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

.section-kicker,
.eyebrow {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .19em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #bdb5a9;
}

.section-heading {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-intro {
  color: var(--muted);
  line-height: 1.85;
}

/* ------------------------------------------------------------
   Navigation
------------------------------------------------------------ */
.navbar {
  background: rgba(248, 245, 239, .91);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(39, 38, 34, .08);
  padding: .85rem 0;
  transition: padding .25s ease, box-shadow .25s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 7px 25px rgba(39, 38, 34, .05);
  padding: .55rem 0;
}

.navbar-brand {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.brand-short {
  display: none;
}

.navbar-toggler {
  border: 0;
  border-radius: 0;
  padding-right: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: var(--muted);
  font-size: .74rem;
  letter-spacing: .035em;
  position: relative;
}

.nav-link::after {
  background: var(--accent);
  bottom: .2rem;
  content: "";
  height: 1px;
  left: .5rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
  width: calc(100% - 1rem);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------
   Hero and opening statement
------------------------------------------------------------ */
.hero {
  align-items: center;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding: 9rem 0 6rem;
}

.eyebrow span {
  color: var(--taupe);
  margin: 0 .38rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 7.15vw, 6.75rem);
  font-weight: 500;
  letter-spacing: -.052em;
  line-height: .94;
}

.hero-intro {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 2.2rem 0 2rem;
  max-width: 30rem;
}

.story-link {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 600;
  gap: .72rem;
  letter-spacing: .13em;
  padding-bottom: .3rem;
  text-decoration: none;
  text-transform: uppercase;
}

.story-link span {
  transition: transform .2s ease;
}

.story-link:hover span {
  transform: translateY(.25rem);
}

.hero-figure {
  margin: 0;
  position: relative;
}

.hero-figure::before {
  border: 1px solid var(--taupe);
  content: "";
  inset: -1.3rem 1.5rem 1.3rem -1.5rem;
  position: absolute;
  z-index: -1;
}

.hero-figure::after {
  background: var(--accent);
  content: "";
  height: 5rem;
  position: absolute;
  right: -1rem;
  top: 16%;
  width: 1px;
}

.hero-figure img {
  display: block;
  height: clamp(32rem, 64vw, 47rem);
  object-fit: cover;
  object-position: 58% center;
  width: 100%;
}

.hero-figure figcaption,
.reflection-portrait figcaption {
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .16em;
  margin-top: .8rem;
  text-transform: uppercase;
}

.opening-statement {
  background: var(--ivory);
  padding: clamp(7rem, 13vw, 12rem) 0;
}

.opening-statement h2 {
  font-size: clamp(2.35rem, 4.9vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -.038em;
  line-height: 1.13;
  margin: 1.6rem 0 3rem;
}

.statement-note {
  border-left: 1px solid var(--taupe);
  color: var(--muted);
  line-height: 1.85;
  padding-left: 1.5rem;
}

/* ------------------------------------------------------------
   Journey timeline
------------------------------------------------------------ */
.journey-section {
  background: var(--paper-bright);
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.timeline {
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
}

.timeline::before {
  background: var(--line);
  content: "";
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
}

.timeline-entry {
  min-height: 34rem;
  padding: 5rem 0;
  position: relative;
}

.timeline-dot {
  background: var(--paper-bright);
  border: 1px solid var(--accent);
  border-radius: 50%;
  height: .74rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: .74rem;
  z-index: 2;
}

.timeline-dot::after {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  inset: 3px;
  position: absolute;
}

.timeline-year {
  color: var(--line);
  font-family: var(--serif);
  font-size: clamp(4.4rem, 8vw, 7.6rem);
  letter-spacing: -.06em;
  line-height: .75;
  margin-bottom: 1.8rem;
}

.timeline-copy h3 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.timeline-copy > p:last-child,
.timeline-copy > p:nth-last-child(2) {
  color: var(--muted);
}

.timeline-theme {
  color: var(--accent) !important;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .11em;
  margin: 1.2rem 0;
  text-transform: uppercase;
}

.timeline-copy blockquote {
  border-left: 1px solid var(--taupe);
  color: var(--ink-soft);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  margin: 1.7rem 0 0;
  padding-left: 1.2rem;
}

.timeline-image-wrap {
  overflow: hidden;
}

.timeline-image-wrap img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
  width: 100%;
}

.timeline-image-wrap:hover img {
  transform: scale(1.025);
}

.timeline-image-wide {
  margin-left: -2rem;
  width: calc(100% + 2rem);
}

.timeline-image-landscape img {
  aspect-ratio: 4 / 3;
}

.timeline-image-final {
  margin-left: auto;
  width: 88%;
}

/* ------------------------------------------------------------
   Photography gallery
------------------------------------------------------------ */
.photography-section {
  background: var(--ivory);
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.gallery-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 4.25rem);
}

.gallery-item {
  background: transparent;
  border: 0;
  color: #fff;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.gallery-item::after {
  background: linear-gradient(transparent 55%, rgba(20, 20, 18, .72));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
  width: 100%;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(.88);
  transform: scale(1.035);
}

.gallery-item > span {
  bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  left: 1.1rem;
  position: absolute;
  z-index: 2;
}

.gallery-item small {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .14em;
  margin-top: .2rem;
  text-transform: uppercase;
}

.gallery-a { grid-column: 1 / span 7; grid-row: 1 / span 7; }
.gallery-b { grid-column: 8 / span 5; grid-row: 1 / span 4; }
.gallery-c { grid-column: 8 / span 5; grid-row: 5 / span 6; }
.gallery-d { grid-column: 1 / span 4; grid-row: 8 / span 5; }
.gallery-e { grid-column: 5 / span 3; grid-row: 8 / span 5; }
.gallery-f { grid-column: 8 / span 5; grid-row: 11 / span 2; }

.gallery-hint {
  color: var(--muted);
  font-size: .67rem;
  letter-spacing: .1em;
  margin: 1.1rem 0 0;
  text-transform: uppercase;
}

.gallery-modal .modal-content {
  background: var(--paper);
  border: 0;
  border-radius: 0;
}

.gallery-modal .modal-header {
  border-bottom: 1px solid var(--line);
}

.gallery-modal .modal-body {
  padding: 1rem;
  text-align: center;
}

.gallery-modal .modal-body img {
  max-height: 75vh;
  object-fit: contain;
  width: 100%;
}

.gallery-modal .modal-body p {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .12em;
  margin: .9rem 0 0;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Movement and video
------------------------------------------------------------ */
.movement-section {
  background: var(--paper-bright);
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.movement-section h2 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

.movement-section p:not(.section-kicker) {
  color: var(--muted);
}

.movement-photo {
  position: relative;
}

.movement-photo::before {
  border: 1px solid var(--taupe);
  content: "";
  inset: 2rem -1.25rem -1.25rem 2rem;
  position: absolute;
  z-index: 0;
}

.movement-photo img {
  aspect-ratio: 5 / 4;
  display: block;
  filter: saturate(.82);
  object-fit: cover;
  position: relative;
  width: 100%;
}

.movement-number {
  bottom: -2.5rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 6rem;
  left: -1.5rem;
  line-height: 1;
  position: absolute;
  z-index: 2;
}

.movement-values {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 1rem 0 0;
}

.movement-values li {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  margin-right: 1.2rem;
  text-transform: uppercase;
}

.video-section {
  background: var(--dark);
  color: #f8f5ef;
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.video-section h2 {
  margin-bottom: 1.8rem;
}

.video-intro {
  color: #bdb7ae;
  margin: 0 auto 4rem;
  max-width: 42rem;
}

.video-frame {
  background: #0c0c0b;
  box-shadow: 0 35px 70px rgba(0, 0, 0, .28);
}

.video-credit {
  color: #9f998f;
  font-size: .62rem;
  letter-spacing: .12em;
  margin-top: 1rem;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   In front of the camera
------------------------------------------------------------ */
.camera-section {
  background: var(--paper);
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.camera-layout {
  align-items: center;
  display: grid;
  gap: 2.5rem 4rem;
  grid-template-columns: 1.05fr .82fr .6fr;
}

.camera-main {
  align-self: start;
  position: relative;
}

.camera-main img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.vertical-note {
  color: var(--muted);
  font-size: .57rem;
  left: -2.2rem;
  letter-spacing: .15em;
  margin: 0;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.camera-copy h2 {
  font-size: clamp(3rem, 5.1vw, 5.25rem);
  margin-bottom: 2rem;
}

.camera-copy p:not(.section-kicker) {
  color: var(--muted);
}

.camera-detail {
  align-self: end;
  margin-bottom: -5rem;
}

.camera-detail img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.camera-detail p {
  color: var(--muted);
  font-size: .59rem;
  letter-spacing: .13em;
  margin-top: .7rem;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Community
------------------------------------------------------------ */
.community-section {
  background: var(--ivory);
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.community-story {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}

.community-story:last-child {
  border-bottom: 1px solid var(--line);
}

.community-story img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .55s ease;
  width: 100%;
}

.community-story:hover img {
  transform: scale(1.015);
}

.community-index {
  color: var(--taupe);
  font-family: var(--serif);
  font-size: 2rem;
  text-align: center;
}

.story-meta {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.community-story h3 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}

.community-story p:last-child {
  color: var(--muted);
}

/* ------------------------------------------------------------
   Connections and reflection
------------------------------------------------------------ */
.connections-section {
  background: var(--paper-bright);
  padding: clamp(7rem, 12vw, 11rem) 0;
}

.connections-list {
  border-top: 1px solid var(--line);
}

.connection-row {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 2.2rem 0;
  transition: padding .25s ease;
}

.connection-row:hover {
  padding-left: .7rem;
}

.connection-number {
  color: var(--accent);
  font-size: .67rem;
  letter-spacing: .12em;
  margin-bottom: 0;
}

.connection-row h3 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  letter-spacing: -.035em;
  margin-bottom: 0;
}

.connection-row > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.reflection-section {
  background: var(--ivory);
  padding: clamp(7rem, 12vw, 12rem) 0;
}

.reflection-section h2 {
  margin-bottom: 2.3rem;
}

.reflection-section > .container p:not(.section-kicker):not(.signature) {
  color: var(--muted);
}

.reflection-section blockquote {
  border-left: 1px solid var(--accent);
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-style: italic;
  line-height: 1.45;
  margin: 2.5rem 0;
  padding-left: 1.4rem;
}

.signature {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.reflection-portrait {
  margin: 0;
  position: relative;
}

.reflection-portrait::before {
  border: 1px solid var(--taupe);
  content: "";
  inset: -1.25rem -1.25rem 1.25rem 1.25rem;
  position: absolute;
}

.reflection-portrait img {
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  position: relative;
  width: 100%;
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
footer {
  background: var(--dark);
  color: #aaa49b;
  font-size: .75rem;
  padding: 4.5rem 0;
}

.footer-name {
  color: #f8f5ef;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  margin-bottom: 1rem;
}

.back-to-top {
  color: #f8f5ef;
  display: inline-block;
  font-size: .67rem;
  letter-spacing: .12em;
  margin-bottom: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
}

.back-to-top:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .4rem;
}

.copyright {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Reveal motion and focus
------------------------------------------------------------ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--paper);
    margin: .75rem -1rem -.55rem;
    padding: 1rem;
  }

  .nav-link {
    padding: .65rem 0;
  }

  .nav-link::after {
    bottom: .45rem;
    left: 0;
    width: 2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-copy {
    padding-bottom: 1.5rem;
  }

  .hero-figure img {
    height: 66vh;
    min-height: 31rem;
  }

  .gallery-grid {
    grid-template-rows: repeat(12, 3.5rem);
  }

  .movement-photo {
    margin-bottom: 3rem;
  }

  .camera-layout {
    gap: 4rem 2rem;
    grid-template-columns: 1.05fr .85fr;
  }

  .camera-main {
    grid-row: 1 / span 2;
  }

  .camera-copy {
    align-self: end;
  }

  .camera-detail {
    margin: 0;
    width: 75%;
  }
}

@media (max-width: 767.98px) {
  .section-heading {
    margin-bottom: 3.5rem;
  }

  .timeline::before {
    left: 1rem;
    transform: none;
  }

  .timeline-entry {
    min-height: auto;
    padding: 3.5rem 0 3.5rem 3.7rem;
  }

  .timeline-dot {
    left: 1rem;
    top: 5rem;
  }

  .timeline-copy {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .timeline-year {
    font-size: 4.6rem;
  }

  .timeline-image-wrap,
  .timeline-image-wide,
  .timeline-image-final {
    margin: 2rem 0 0;
    width: 100%;
  }

  .timeline-image-wrap img {
    aspect-ratio: 4 / 3;
    max-height: 30rem;
  }

  .gallery-grid {
    gap: .8rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-row: span 2;
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img {
    aspect-ratio: 4 / 6.15;
  }

  .camera-layout {
    display: block;
  }

  .camera-main {
    margin-bottom: 5rem;
  }

  .camera-copy {
    margin-bottom: 4rem;
  }

  .camera-detail {
    margin-left: auto;
    width: 70%;
  }

  .community-index {
    display: none;
  }

  .community-story {
    padding: 2.8rem 0;
  }

  .connection-row > p:last-child {
    margin-top: .8rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: .96rem;
  }

  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .brand-long {
    display: none;
  }

  .brand-short {
    display: inline;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.75rem);
  }

  .hero-figure::before {
    inset: -.7rem .7rem .7rem -.7rem;
  }

  .hero-figure img {
    height: 34rem;
    min-height: 0;
  }

  .opening-statement h2 {
    font-size: 2.35rem;
  }

  .timeline-entry {
    padding-left: 3rem;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item {
    display: block;
    margin-bottom: .85rem;
    width: 100%;
  }

  .gallery-item img,
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(4) img {
    aspect-ratio: 4 / 3;
  }

  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(3) img,
  .gallery-item:nth-child(4) img {
    aspect-ratio: 4 / 5;
  }

  .movement-number {
    font-size: 4.5rem;
    left: -.6rem;
  }

  .movement-photo::before {
    inset: 1rem -.65rem -.65rem 1rem;
  }

  .camera-detail {
    width: 82%;
  }

  .connection-row h3 {
    font-size: 2rem;
  }

  .reflection-portrait::before {
    inset: -.7rem -.7rem .7rem .7rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
