:root {
  --bg: #1c1c1c;
  --bg-elev: #242424;
  --ink: #efece6;
  --muted: #9a958c;
  --line: rgba(239, 236, 230, 0.12);
  --accent: #d7c4a3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1.35rem 6vw 1.2rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: auto;
}

nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.nav-mobile-only {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.4rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-switch button {
  display: block;
  width: 1.7rem;
  height: 1.15rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  opacity: 0.72;
}

.lang-switch button:hover {
  opacity: 1;
}

.lang-switch button.is-active {
  opacity: 1;
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.lang-switch svg {
  width: 100%;
  height: 100%;
  display: block;
}

.menu-toggle {
  display: none;
}

main {
  padding: 0 6vw 5rem;
}

.intro {
  max-width: 38rem;
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  margin: 1.25rem 0 0;
  color: var(--muted);
  max-width: 32rem;
}

.roles {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.facts {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  width: 100%;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}

h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.series {
  padding-bottom: 4.5rem;
}

.series,
.social,
.contact {
  scroll-margin-top: 5.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  align-items: start;
}

.gallery button {
  all: unset;
  cursor: zoom-in;
  display: block;
  width: 100%;
  background: #111;
  position: relative;
  -webkit-touch-callout: none;
}

.gallery button::after {
  content: "";
  position: absolute;
  inset: 0;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.gallery-empty {
  color: var(--muted);
  padding: 0.4rem 0 1rem;
}

.social {
  padding: 3rem 0 4.5rem;
  border-top: 1px solid var(--line);
}

.instagram-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.instagram-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.instagram-links a:hover {
  color: var(--accent);
}

.instagram-links svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.honeypot {
  display: none;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 2px;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--accent);
}

button[type="submit"] {
  justify-self: start;
  margin-top: 0.4rem;
  border: 0;
  background: var(--ink);
  color: #161616;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--accent);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
}

.form-status.error {
  color: #e2a39a;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 0 6vw 2.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a:hover {
  color: var(--ink);
}

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(8, 8, 8, 0.94);
  max-width: 100vw;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
}

.lightbox::backdrop {
  background: #000;
}

.lightbox-frame {
  position: relative;
  width: min(92vw, 1200px);
  height: min(88vh, 800px);
  margin: 6vh auto 0;
  -webkit-touch-callout: none;
}

.lightbox-frame::after {
  content: "";
  position: absolute;
  inset: 0;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.lightbox button {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}

@media (min-width: 800px) {
  #landscape .gallery,
  #architecture .gallery {
    grid-template-columns: 1fr 1fr;
  }

  #portraits .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .contact,
  .row {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-top: 3rem;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: center;
  }

  .wordmark {
    margin-right: 0;
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.4rem;
    height: 2.4rem;
    margin-left: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
  }

  .menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0.4rem 0 0.6rem;
  }

  .site-header.is-open nav {
    display: flex;
  }

  nav a {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
  }

  .nav-desktop-only {
    display: none;
  }

  .nav-mobile-only {
    display: block;
  }
}
