:root {
  --ink: #171714;
  --paper: #f1eee5;
  --paper-deep: #e7e2d6;
  --accent: #c7653e;
  --muted: #9e9d91;
  --line: rgba(23, 23, 20, 0.18);
  --font-geist-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--accent);
  color: white;
}

.site-header {
  align-items: center;
  background: rgba(241, 238, 229, 0.92);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 82px;
  padding: 0 4vw;
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 650;
  gap: 0.85rem;
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-transform: uppercase;
  width: max-content;
}

.brand small {
  display: block;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  margin-top: 0.34rem;
  opacity: 0.6;
}

.brand-mark {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

nav {
  display: flex;
  font-size: 0.74rem;
  gap: 2.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a,
.header-cta,
.text-link {
  transition: opacity 180ms ease;
}

nav a:hover,
.header-cta:hover,
.text-link:hover {
  opacity: 0.58;
}

.header-cta {
  font-size: 0.78rem;
  justify-self: end;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  background: #252520;
  color: white;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  position: relative;
}

.hero-film,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-film {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.91) 0%, rgba(17, 17, 15, 0.58) 48%, rgba(17, 17, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(17, 17, 15, 0.44), transparent 40%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 82px);
  padding: 7vw 4vw;
  position: relative;
  width: min(900px, 80vw);
  z-index: 2;
}

.eyebrow,
.section-label {
  align-items: center;
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.67rem;
  gap: 0.8rem;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  background: var(--accent);
  content: "";
  height: 2px;
  width: 30px;
}

.hero h1 {
  font-size: clamp(4rem, 9.2vw, 9.7rem);
  font-weight: 420;
  letter-spacing: -0.075em;
  line-height: 0.82;
  margin: 4.5vh 0 4vh;
  max-width: 1000px;
}

.hero h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
  max-width: 590px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 2.2rem;
  margin-top: 2.5rem;
}

.button {
  align-items: center;
  display: inline-flex;
  font-size: 0.72rem;
  gap: 2.5rem;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 1.15rem 1.3rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  background: white;
}

.button-dark {
  background: var(--ink);
  color: white;
  min-width: min(330px, 100%);
}

.text-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.74rem;
  gap: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index {
  bottom: 2rem;
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.6rem;
  gap: 1.2rem;
  letter-spacing: 0.15em;
  opacity: 0.66;
  position: absolute;
  right: 4vw;
  z-index: 2;
}

.facts {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 4vw;
}

.facts article {
  align-items: baseline;
  border-right: 1px solid var(--line);
  display: flex;
  gap: 1.2rem;
  padding: 2.3rem 2.8rem;
}

.facts article:first-child {
  border-left: 1px solid var(--line);
}

.facts strong {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
}

.facts span {
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-pad {
  padding: 9rem 7vw;
}

.introduction {
  display: grid;
  gap: 8vw;
  grid-template-columns: minmax(160px, 0.45fr) 1.55fr;
}

.introduction h2,
.section-heading h2,
.film-intro h2,
.location-copy h2,
.contact h2 {
  font-size: clamp(2.6rem, 5.5vw, 6.2rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

.introduction > div > p,
.film-intro > p:last-child,
.location-copy > p,
.contact > p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 2rem 0 0 auto;
  max-width: 630px;
}

.spaces {
  background: var(--ink);
  color: var(--paper);
}

.project-view {
  background: var(--ink);
  color: var(--paper);
}

.project-view figure {
  margin: 0;
  min-height: min(78vw, 980px);
  position: relative;
}

.project-view img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  width: 100%;
}

.project-view figcaption {
  background: rgba(17, 17, 15, 0.85);
  bottom: 0;
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.14em;
  padding: 1rem 1.3rem;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.section-label-light {
  color: #b5b3a9;
}

.section-heading {
  display: grid;
  gap: 4rem;
  grid-template-columns: 0.45fr 1.55fr;
}

.section-heading h2 {
  max-width: 970px;
}

.space-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 7rem;
}

.space-card {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 5vw;
  grid-template-columns: 0.65fr 1.35fr auto;
  min-height: 250px;
  padding: 2.2rem 1rem;
  transition: background 220ms ease, padding 220ms ease;
}

.space-card:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-inline: 2rem;
}

.space-meta {
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.65rem;
  gap: 2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.space-meta span:first-child {
  color: var(--accent);
}

.space-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

.space-card p {
  color: #b5b3a9;
  line-height: 1.6;
  margin: 1rem 0 0;
  max-width: 650px;
}

.space-arrow {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  display: grid;
  font-size: 1.2rem;
  height: 58px;
  place-items: center;
  width: 58px;
}

.film-section {
  align-items: end;
  display: grid;
  gap: 7vw;
  grid-template-columns: 0.7fr 1.3fr;
}

.film-intro h2 {
  font-size: clamp(2.6rem, 4.7vw, 5.2rem);
  margin-top: 4rem;
}

.film-intro > p:last-child {
  font-size: 1rem;
  margin-left: 0;
}

.film-frame {
  background: #0e0e0d;
  color: white;
  padding: 0.8rem;
}

.film-frame video {
  aspect-ratio: 16 / 9;
  background: #090909;
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}

.film-caption {
  display: block;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 1rem 0.3rem 0.3rem;
  text-transform: uppercase;
}

.location {
  background: #68695d;
  color: white;
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.2fr 0.8fr;
}

.location-grid {
  align-content: center;
  aspect-ratio: 1.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  justify-items: center;
  position: relative;
}

.pulse {
  background: var(--accent);
  border: 7px solid rgba(199, 101, 62, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(199, 101, 62, 0.1);
  height: 24px;
  width: 24px;
}

.location-name {
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-top: 1rem;
}

.location-coordinates {
  bottom: 1.2rem;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  position: absolute;
  text-transform: uppercase;
}

.location-copy h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.2rem);
  margin-top: 4rem;
}

.location-copy > p {
  margin-left: 0;
}

.location-copy .text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 2.5rem;
  padding-bottom: 0.7rem;
}

.contact {
  text-align: center;
}

.contact .section-label {
  justify-content: center;
}

.contact h2 {
  margin: 4rem auto 0;
  max-width: 1050px;
}

.contact > p {
  margin: 2rem auto 2.5rem;
  max-width: 560px;
}

.contact-whatsapp {
  border-bottom: 1px solid var(--line);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin: 1.5rem auto 0;
  padding-bottom: 0.55rem;
  text-transform: uppercase;
  width: max-content;
}

footer {
  align-items: end;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  display: grid;
  font-size: 0.68rem;
  gap: 3rem;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.08em;
  padding: 4rem 4vw;
  text-transform: uppercase;
}

footer > p {
  margin: 0;
}

footer > div {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero-content {
    width: 92vw;
  }

  .facts article {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem 1.2rem;
  }

  .introduction,
  .section-heading,
  .film-section,
  .location {
    grid-template-columns: 1fr;
  }

  .project-view figure {
    min-height: 70vw;
  }

  .introduction,
  .section-heading {
    gap: 3.5rem;
  }

  .space-card {
    grid-template-columns: 0.45fr 1.55fr auto;
  }

  .location-grid {
    aspect-ratio: 1.5;
  }

  footer {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  footer > p {
    text-align: right;
  }

  footer > div {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 70px;
  }

  .brand-mark {
    height: 36px;
    width: 36px;
  }

  .header-cta {
    font-size: 0.68rem;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 70px);
  }

  .hero-content {
    padding-bottom: 6.5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.8rem);
    margin-top: 2.5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .hero-index {
    bottom: 1.2rem;
    left: 4vw;
    right: auto;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts article,
  .facts article:first-child {
    align-items: baseline;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    flex-direction: row;
    padding: 1.4rem 4vw;
  }

  .section-pad {
    padding: 6rem 5vw;
  }

  .space-list {
    margin-top: 4rem;
  }

  .space-card {
    gap: 2rem;
    grid-template-columns: 1fr auto;
    padding-block: 2.5rem;
  }

  .space-meta {
    grid-column: 1 / -1;
  }

  .space-card p {
    font-size: 0.9rem;
  }

  .space-arrow {
    height: 46px;
    width: 46px;
  }

  .location-grid {
    aspect-ratio: 1.1;
  }

  .project-view figure {
    min-height: 100vw;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > p {
    text-align: left;
  }

  footer > div {
    flex-direction: column;
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
