:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --fg-muted: #5a5a5a;
  --hairline: rgba(10, 10, 10, 0.12);
  --gutter: clamp(1rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: 'ss01', 'cv11';
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  z-index: 100;
  mix-blend-mode: difference;
  color: #ffffff;
  pointer-events: none;
}

.nav a, .nav .wordmark { pointer-events: auto; }

.wordmark {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a:hover { opacity: 0.6; }

main { min-height: 100vh; }

.portals {
  display: flex;
  flex-direction: column;
}

.portal {
  position: relative;
  display: block;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  color: #ffffff;
}

.portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.portal:hover img { transform: scale(1.03); }

.portal--locked { cursor: default; }
.portal--locked:hover img { transform: none; }

.portal-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 0 1rem;
}

.portal-label {
  font-size: clamp(2.75rem, 10vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.portal-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page {
  padding: 9rem var(--gutter) 7rem;
  max-width: 1500px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
  }
}

.gallery figure {
  margin: 0;
  background: #f4f2ec;
  padding: clamp(0.5rem, 1vw, 0.875rem);
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 14px 32px rgba(10, 10, 10, 0.08);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.gallery figure:hover {
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 22px 50px rgba(10, 10, 10, 0.14);
  transform: translateY(-3px);
}

.gallery .img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}

.gallery .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 115% 55% at 50% -8%, rgba(255, 240, 215, 0.18), transparent 60%),
    linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.16) 100%);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery figure:hover img { transform: scale(1.03); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.about-image {
  width: 100%;
  max-width: 480px;
  justify-self: center;
  background: #f4f2ec;
  padding: clamp(0.5rem, 1vw, 0.875rem);
  box-shadow:
    0 1px 2px rgba(10, 10, 10, 0.04),
    0 14px 32px rgba(10, 10, 10, 0.08);
}

.about-image .img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #000;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-copy {
  max-width: 50ch;
  justify-self: center;
}
.about-copy p {
  margin-bottom: 1.75rem;
  font-size: clamp(1.125rem, 1.5vw, 1.4rem);
  line-height: 1.65;
  letter-spacing: 0.005em;
}
.about-copy p:last-child { margin-bottom: 0; }

.contact-block { max-width: 60ch; }
.contact-block p { margin-bottom: 1.5rem; }

.status {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--fg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.contact-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
  margin-top: 2rem;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.contact-list .key {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.contact-list a:hover { opacity: 0.6; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--hairline);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer a:hover { opacity: 0.6; }

.home footer { border-top: none; }
