/* ==========================================================================
   Square to Park — base stylesheet
   Fonts: Averia Libre (headers/emphasis) + Karla (body)
   Palette + section language based on the home page mockup.
   ========================================================================== */

:root {
  --color-bg: #f4efe1;
  --color-ink: #211c15;
  --color-ink-soft: #5c564a;
  --color-olive: #8c9a4e;
  --color-olive-dark: #707d3c;
  --color-tan: #cbc293;
  --color-blue: #37647f;
  --color-blue-light: #a9dcef;
  --color-rust: #6b3a25;
  --color-accent: #c1502e;
  --color-line: #ddd3ba;
  --color-card: #ffffff;

  --tag-greening: #7fa552;
  --tag-social: #e8a3ad;
  --tag-play: #c1502e;
  --tag-mobility: #3f7fa8;
  --tag-management: #d98a3d;

  --font-header: "Averia Libre", cursive;
  --font-script: "Caveat", cursive;
  --font-body: "Karla", sans-serif;

  --header-height: 76px;
  --max-width: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4,
.font-header {
  font-family: var(--font-header);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

em, .accent-text {
  font-family: var(--font-header);
  font-style: normal;
  color: var(--color-accent);
}

p {
  margin: 0 0 1em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-header);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--color-ink);
  color: var(--color-ink);
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-bg);
}

.btn-solid:hover {
  background: var(--color-rust);
  border-color: var(--color-rust);
}

/* -------------------------------------------------------------------- */
/* Header / banner                                                       */
/* -------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

.site-header__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: var(--header-height);
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo__word {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
}

.site-nav__list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-ink-soft);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav__list a:hover {
  color: var(--color-ink);
}

.site-nav__list a[aria-current="page"] {
  color: var(--color-ink);
  border-bottom-color: var(--color-accent);
}

.lang-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  position: relative;
}

.lang-switch__current {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink);
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 4px;
  display: none;
  flex-direction: column;
  min-width: 70px;
  box-shadow: 0 6px 16px rgba(33, 28, 21, 0.1);
}

.lang-switch.is-open .lang-switch__menu {
  display: flex;
}

.lang-switch__menu button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-align: left;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--color-ink-soft);
}

.lang-switch__menu button:hover {
  background: var(--color-bg);
  color: var(--color-ink);
}

.lang-switch__menu button[aria-pressed="true"] {
  color: var(--color-ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .site-header__bar {
    grid-template-columns: 1fr auto;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid var(--color-ink);
    border-radius: var(--radius);
    font-family: var(--font-header);
    font-size: 1rem;
    cursor: pointer;
    margin-left: 12px;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-bottom: 16px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .lang-switch {
    display: none;
  }

  .site-nav.is-open ~ .lang-switch {
    display: inline-flex;
    grid-column: 2;
  }
}

/* -------------------------------------------------------------------- */
/* Hero                                                                   */
/* -------------------------------------------------------------------- */

.hero-photo {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
}

.hero-photo--banner {
  min-height: 0;
}

.hero-photo--banner .hero-photo__img {
  object-position: center 55%;
}

.hero-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-photo__scrim-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(10, 10, 5, 0.55), transparent);
  pointer-events: none;
}

.hero-photo__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.hero-photo__content h1 {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  max-width: 640px;
}

.hero-photo__content .typewriter {
  color: #fcd564;
}

/* -------------------------------------------------------------------- */
/* Hero nav — sits directly on top of the photo, no banner background    */
/* -------------------------------------------------------------------- */

.hero-nav {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.hero-nav__bar {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
}

.hero-nav__col--left {
  grid-column: 1;
  justify-self: start;
}

.hero-nav__logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  color: #ffffff;
}

.hero-nav__right-group {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-nav .site-nav__list {
  gap: 40px;
}

.hero-nav .site-nav__list a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 6px 4px;
  border-bottom: none;
}

.hero-nav .site-nav__list a:hover {
  color: #ffffff;
}

.hero-nav .site-nav__list a[aria-current="page"] {
  color: #ffffff;
}

.hero-nav__circle {
  position: absolute;
  inset: -8px -16px;
  width: calc(100% + 32px);
  height: calc(100% + 16px);
  opacity: 0;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hero-nav .site-nav__list a:hover .hero-nav__circle,
.hero-nav .site-nav__list a:focus-visible .hero-nav__circle {
  opacity: 1;
}

.hero-nav > .hero-nav__bar > #site-nav {
  display: none;
}

.hero-nav .nav-toggle {
  display: none;
}

.hero-nav .lang-switch__current {
  color: #ffffff;
}

@media (max-width: 760px) {
  .hero-nav__bar {
    grid-template-columns: 1fr auto;
  }

  .hero-nav__col--left,
  .hero-nav__col--right {
    display: none;
  }

  .hero-nav__logo {
    grid-column: 1;
    justify-self: start;
  }

  .hero-nav__right-group {
    grid-column: 1 / -1;
    display: none;
    justify-content: center;
    margin-top: 10px;
  }

  .hero-nav .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: var(--radius);
    font-size: 1rem;
    cursor: pointer;
  }

  .hero-nav > .hero-nav__bar > #site-nav {
    grid-column: 1 / -1;
  }

  .hero-nav > .hero-nav__bar > #site-nav.is-open {
    display: block;
    background: rgba(20, 18, 14, 0.92);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 14px;
  }

  .hero-nav .site-nav.is-open .site-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .hero-nav .site-nav.is-open ~ .hero-nav__right-group {
    display: flex;
  }

  .hero-nav .site-nav.is-open ~ .hero-nav__right-group .lang-switch {
    display: inline-flex;
  }
}

.ticker {
  background: #18475c;
}

.ticker__row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.ticker__row span.dot {
  opacity: 0.6;
}

/* -------------------------------------------------------------------- */
/* Generic sections                                                       */
/* -------------------------------------------------------------------- */

.section {
  padding: 70px 0;
}

.section + .section {
  border-top: 1px solid var(--color-line);
}

.section--flush + .section--flush {
  border-top: none;
}

.section__head {
  max-width: 64ch;
  margin-bottom: 40px;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}

.section__head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-family: var(--font-body);
  font-weight: 700;
}

.section__head p {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------------- */
/* Project cards                                                         */
/* -------------------------------------------------------------------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.project-card {
  text-decoration: none;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
}

.project-card__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--thumb-a, #7fa552), var(--thumb-b, #37647f));
  object-fit: cover;
  margin-bottom: 14px;
  transition: transform 0.15s ease;
}

.project-card:hover .project-card__thumb {
  transform: translateY(-4px);
}

.project-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.project-carousel {
  position: relative;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 10vw 16px;
  scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.project-carousel .project-card {
  flex: 0 0 min(680px, 58vw);
  scroll-snap-align: center;
}

.project-carousel .project-card__thumb,
.project-grid--landscape .project-card__thumb {
  border-radius: 0;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.project-carousel .project-card__tags,
.project-grid--landscape .project-card__tags {
  margin-bottom: 6px;
}

.project-carousel .project-card__title,
.project-grid--landscape .project-card__title {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0;
}

.project-grid--landscape {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tag-color, var(--color-ink-soft));
}

.tag--greening { --tag-color: var(--tag-greening); }
.tag--social { --tag-color: var(--tag-social); }
.tag--play { --tag-color: var(--tag-play); }
.tag--mobility { --tag-color: var(--tag-mobility); }
.tag--management { --tag-color: var(--tag-management); }

/* -------------------------------------------------------------------- */
/* Believe / process-path section                                        */
/* -------------------------------------------------------------------- */

.believe {
  background: #b4bb62;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  position: relative;
}

.believe > .wrap {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.believe__words {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.believe__row {
  position: static;
}

.believe__word {
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: lowercase;
  color: var(--color-ink);
  font-size: clamp(1.8rem, 6vw, 4.4rem);
  line-height: 1.02;
  transition: color 0.25s ease;
}

.believe__row:hover .believe__word {
  color: #f7f3e8;
}

.believe__photo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 16vw, 260px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.believe__photo--left {
  left: clamp(20px, 5vw, 80px);
}

.believe__photo--right {
  right: clamp(20px, 5vw, 80px);
}

.believe__row:hover .believe__photo {
  opacity: 1;
}

@media (max-width: 820px) {
  .believe__photo {
    display: none;
  }
}

.typewriter {
  color: #ffffff;
  display: inline-block;
  min-width: 1ch;
}

.typewriter__cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 3px;
  background: currentColor;
  vertical-align: -0.08em;
  animation: stp-blink 1s step-end infinite;
}

@keyframes stp-blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter__cursor {
    animation: none;
  }
}

.believe__more {
  background: var(--color-blue-light);
  text-align: center;
  padding: 14px;
}

.believe__more a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-blue);
}

.believe__more a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------- */
/* Process phases                                                        */
/* -------------------------------------------------------------------- */

.process__intro {
  font-family: var(--font-header);
  font-size: 1.4rem;
  max-width: 34ch;
  color: var(--color-ink);
  margin-bottom: 0;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.phase-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: default;
}

.phase-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phase-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 10, 5, 0.6), transparent);
  pointer-events: none;
  z-index: 1;
}

.phase-card__static {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  transition: opacity 0.25s ease;
}

.phase-card__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-card__name {
  font-family: var(--font-header);
  text-transform: lowercase;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.phase-card__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #b4bb62;
  color: var(--color-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.phase-card__hover h3 {
  font-family: var(--font-header);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.phase-card__hover p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

.phase-card:hover .phase-card__hover {
  opacity: 1;
  pointer-events: auto;
}

.phase-card:hover .phase-card__static {
  opacity: 0;
}

@media (max-width: 700px) {
  .phase-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------- */
/* About page                                                            */
/* -------------------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.value-grid__item h3 {
  font-size: 1.3rem;
  color: var(--color-accent);
}

.value-grid__item p {
  color: var(--color-ink-soft);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin: 50px 0;
}

.stat {
  min-width: 120px;
}

.stat__num {
  font-family: var(--font-header);
  font-size: 2.4rem;
  color: var(--color-olive-dark);
  display: block;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  margin-bottom: 12px;
  object-fit: cover;
  object-position: center 20%;
  background: linear-gradient(135deg, var(--p-a, #c1502e), var(--p-b, #8c9a4e));
}

.team-card__name {
  font-family: var(--font-header);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

/* -------------------------------------------------------------------- */
/* Contact page                                                          */
/* -------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info dt {
  font-family: var(--font-header);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  margin-top: 22px;
}

.contact-info dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.contact-info a {
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-header);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* -------------------------------------------------------------------- */
/* Footer                                                                 */
/* -------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 56px 0 30px;
  margin-top: 40px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
}

.site-footer__nav {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
}

.site-footer__nav a:hover {
  color: var(--color-accent);
}

.site-footer__social {
  display: flex;
  gap: 14px;
}

.site-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
}

.site-footer__newsletter {
  text-align: center;
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
}

.site-footer__logo svg {
  width: 100%;
  height: 100%;
}

.site-footer__newsletter h4 {
  font-family: var(--font-header);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.site-footer__newsletter p {
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  font-family: var(--font-body);
  padding: 10px 12px;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius);
  background: #fff;
}

.site-footer__legal {
  text-align: right;
}

.site-footer__legal h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink-soft);
  margin: 0 0 8px;
}

.site-footer__legal ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.site-footer__legal a {
  text-decoration: none;
  color: var(--color-ink);
  font-size: 0.92rem;
}

.site-footer__legal a:hover {
  color: var(--color-accent);
}

.site-footer__legal address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  font-size: 0.8rem;
  color: var(--color-ink-soft);
}

@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__legal {
    text-align: center;
  }
}

/* -------------------------------------------------------------------- */
/* Simple page hero (Projects / About / Contact)                         */
/* -------------------------------------------------------------------- */

.page-hero {
  padding: 40px 0 0;
}

.section--tight-top {
  padding-top: 20px;
}

.page-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  max-width: 20ch;
}

.page-hero__sub {
  color: var(--color-ink-soft);
  font-size: 1.1rem;
  max-width: 56ch;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------------- */
/* Project detail page                                                   */
/* -------------------------------------------------------------------- */

.project-statement {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 18ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.project-info-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  padding: 16px 0;
}

.project-info-bar .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.project-info-bar__title {
  font-family: var(--font-header);
  font-size: 1.3rem;
}

.project-info-bar__location {
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.project-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.project-data dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
}

.project-data dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

.project-data dd {
  margin: 0;
  font-size: 0.98rem;
}

.theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.theme-chip {
  font-size: 0.85rem;
  padding: 6px 14px;
  border: 1.5px solid var(--color-ink);
  border-radius: 999px;
}

@media (max-width: 760px) {
  .project-data {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.project-split {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 70px 0;
}

.project-split--reverse {
  flex-direction: row-reverse;
}

.project-split__media {
  flex: 1 1 50%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-split__media img,
.project-split__media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-split__media .placeholder {
  background: linear-gradient(135deg, var(--p-a, #9fae72), var(--p-b, #37647f));
}

.project-split__text {
  flex: 1 1 50%;
}

.project-split__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.project-split__text p {
  color: var(--color-ink-soft);
  font-size: 1.02rem;
}

@media (max-width: 760px) {
  .project-split,
  .project-split--reverse {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }

  .project-split__media {
    flex-basis: auto;
    width: 100%;
    align-self: stretch;
  }
}

.project-quote {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-quote img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 5, 0.5);
}

.project-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 28px;
  max-width: 26ch;
  text-align: center;
  color: #fff;
  font-family: var(--font-header);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.3;
}

.project-quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  margin-top: 20px;
  opacity: 0.85;
}

.concept-diagram {
  max-width: 800px;
  margin: 0 auto;
}

.concept-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
