/* Disparot chamber: quiet landscapes, open space, minimal interface. */
:root {
  --black: #1d211b;
  --white: #FFFFFF;
  --mist: #ecefe4;
  --grey: #5d6257;
  --grey-light: #7d8375;
  --red: #7a4a28;
  --red-dark: #4c2d1a;
  --border: #34392f;
  --colour-hero: #f2efe4;
  --colour-rule: var(--border);
  --colour-red: var(--red);
  --colour-red-dark: var(--red-dark);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --title: var(--serif);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  --max-width: 1180px;
  --compact-hero-height: clamp(18rem, 32vh, 23rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: var(--black);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-dark);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wrap {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.container-narrow {
  max-width: 840px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 247, 0.92);
  border-bottom: 1px solid var(--black);
  backdrop-filter: blur(12px);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--black);
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.logo-name {
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.header-note {
  color: var(--grey);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

/* Navigation */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(44, 52, 43, 0.25);
}

.site-nav .container {
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.site-nav a {
  display: inline-block;
  padding: 0.72rem 1.1rem;
  color: var(--black);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav a:first-child {
  padding-left: 0;
}

.site-nav a:hover {
  color: var(--red);
}
.site-nav a[aria-current="page"] {
  color: var(--red);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--colour-hero);
  border-bottom: 1px solid var(--colour-rule);
  --hero-media-start: max(44vw, calc((100vw - var(--max-width)) / 2 + 520px));
  --hero-fade-width: clamp(260px, 30vw, 520px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 35rem;
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 0;
}

.hero-copy h1 {
  margin: 0 0 var(--space-xs);
  color: var(--colour-red);
  font-family: var(--title);
  font-size: clamp(3.5rem, 8.5vw, 7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
}

.hero-kicker {
  margin: 0 0 var(--space-lg);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.15;
}

.hero-copy .hero-kicker--home {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.hero-copy p {
  max-width: 28rem;
  margin: 0 0 var(--space-sm);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-top: var(--space-sm);
  border-bottom: 1px solid currentColor;
  color: var(--colour-red);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-map {
  position: relative;
  min-height: 24rem;
  margin: 0;
  overflow: hidden;
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: var(--hero-fade-width);
  background: linear-gradient(90deg, var(--colour-hero) 0%, rgba(242, 239, 228, 0.84) 38%, rgba(242, 239, 228, 0) 100%);
  pointer-events: none;
}

.hero-map img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
  object-position: right center;
}

@media (min-width: 900px) {
  .hero-grid {
    display: flex;
    min-height: clamp(24rem, 42vh, 31rem);
    align-items: center;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .hero-map {
    position: absolute;
    top: 0;
    right: calc(50% - 50vw);
    bottom: 0;
    left: var(--hero-media-start);
    z-index: 0;
    min-height: 0;
  }

  .hero-map img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

.hero--compact .hero-grid {
  min-height: var(--compact-hero-height);
}

.hero--compact {
  background: #f8f5ed;
}

.hero--compact .hero-map::before {
  background: linear-gradient(90deg, #f8f5ed 0%, rgba(248, 245, 237, 0.84) 38%, rgba(248, 245, 237, 0) 100%);
}

.hero--compact .hero-copy {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.hero--compact .hero-copy h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.hero--compact .hero-kicker {
  max-width: 30rem;
  margin: var(--space-sm) 0 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.hero--plain .hero-map::before {
  display: none;
}

.hero--plain .hero-map img {
  height: var(--compact-hero-height);
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 900px) and (max-width: 1080px) {
  .hero {
    --hero-media-start: clamp(430px, 50vw, 540px);
    --hero-fade-width: clamp(220px, 28vw, 360px);
  }

  .hero-map {
    left: var(--hero-media-start);
  }
}

@media (max-width: 899px) {
  .hero-copy {
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .hero-map {
    position: relative;
    margin: 0;
    border-top: 1px solid var(--colour-rule);
  }

  .hero-map::before {
    display: none;
  }
}

.tagline {
  max-width: 420px;
  margin-top: 1.25rem;
  color: var(--grey);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-style: italic;
  line-height: 1.25;
}

/* Credentials bar */
.credentials-bar {
  background: var(--mist);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.credentials-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.credential {
  color: var(--grey);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Content sections */
.section {
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.section-alt {
  background: var(--mist);
}

.section-dark {
  color: var(--black);
  background: var(--white);
  border-top: 3px solid var(--red);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 0.75rem;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
}

.section-dark .section-heading {
  color: var(--black);
}

.section-intro {
  max-width: 680px;
  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.section-dark .section-intro {
  color: var(--black);
}

/* Cards */
.opening-walk .section-heading {
  max-width: 860px;
}
.long-panels .container,
.flowing-list .container {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
}
.long-panels article,
.flowing-list article {
  max-width: 760px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(44, 52, 43, 0.28);
}
.long-panels article:nth-child(even),
.flowing-list article:nth-child(even) {
  margin-left: auto;
}
.long-panels h2,
.flowing-list h2,
.place-sequence h2,
.experiment-grid h2 {
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.25;
}

.long-panels p,
.flowing-list p,
.place-sequence p,
.experiment-grid p {
  max-width: 580px;
  color: var(--grey);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.7;
}
.page-hero {
  min-height: 48vh;
  display: flex;
  align-items: center;
  background: var(--mist);
  border-bottom: 1px solid rgba(44, 52, 43, 0.24);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
}
.land-hero { background: linear-gradient(170deg, var(--white), #e6eddf); }
.place-hero { background: linear-gradient(170deg, #f8faf4, #ece9df); }
.experiment-hero { background: linear-gradient(170deg, #fbfcf7, #eef1f2); }
.place-sequence .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.place-sequence article {
  padding-top: 18rem;
  border-top: 1px solid rgba(44, 52, 43, 0.3);
}
.experiment-grid .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
}
.experiment-grid article {
  min-height: 260px;
  border-top: 1px solid rgba(44, 52, 43, 0.26);
  padding-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--black);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  gap: 2rem;
}

.place-name {
  margin-bottom: 0.7rem;
  color: var(--black);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.footer-brand p {
  max-width: 560px;
  font-size: 0.9rem;
}

.footer-col h5 {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--black);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--red);
}

/* Responsive */
@media (max-width: 820px) {
  .header-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .place-sequence .container,
  .experiment-grid .container {
    grid-template-columns: 1fr;
  }
  .place-sequence article {
    padding-top: 5rem;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 1rem;
  }

  .site-nav .container {
    padding: 0 1rem;
  }

  .site-nav a {
    padding: 0.65rem 0.8rem;
  }

  .site-nav a:first-child {
    padding-left: 0;
  }

  .section {
    padding: 3.25rem 0;
  }
}
