:root {
  --background: #0a0b0a;
  --surface: #111310;
  --text: #f0eee8;
  --muted: #a9aba5;
  --line: rgba(255, 255, 255, 0.14);
  --page: min(1560px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: #f4f1e8;
  color: #111;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 28px;
  background: linear-gradient(to bottom, rgba(5, 6, 5, 0.78), transparent);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 8, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 1px;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand span {
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.1em;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a,
.menu-button {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: currentColor;
}

.menu-button {
  display: none;
  padding: 8px 0;
  background: none;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #15160f;
}

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

.hero > img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(to top, rgba(5, 6, 5, 0.72), transparent 55%),
    linear-gradient(to right, rgba(5, 6, 5, 0.22), transparent 60%);
}

.hero-title {
  position: absolute;
  bottom: 8vh;
  left: max(28px, calc((100vw - 1560px) / 2));
  z-index: 2;
}

.hero-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 10.5vw, 164px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.hero-title p {
  margin: 18px 0 0 5px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  right: 28px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll span {
  transition: transform 180ms ease;
}

.hero-scroll:hover span {
  transform: translateY(4px);
}

.work,
.for-spaces,
.about,
footer {
  width: var(--page);
  margin-inline: auto;
}

.work {
  padding: 130px 0 150px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.kicker {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.section-heading h2 {
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.95;
}

.filters {
  position: sticky;
  top: 84px;
  z-index: 8;
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
  padding: 12px 0;
  background: rgba(10, 11, 10, 0.92);
  backdrop-filter: blur(12px);
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active {
  border-color: #eeeae0;
  background: #eeeae0;
  color: #111;
}

.gallery {
  columns: 2;
  column-gap: 10px;
}

.photo {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  break-inside: avoid;
}

.photo[hidden] {
  display: none;
}

.photo img {
  width: 100%;
  height: auto;
  background: var(--surface);
  transition: opacity 180ms ease, transform 320ms ease;
}

.photo:hover img,
.photo:focus-visible img {
  opacity: 0.84;
  transform: scale(1.008);
}

.photo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.for-spaces {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 145px 0;
  border-top: 1px solid var(--line);
}

.for-spaces-image {
  min-height: 620px;
  overflow: hidden;
  background: var(--surface);
}

.for-spaces-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.for-spaces-copy {
  max-width: 620px;
}

.for-spaces-copy h2 {
  max-width: 610px;
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.for-spaces-copy > p:not(.kicker) {
  margin: 0 0 18px;
  color: #c5c7c1;
  font-size: 14px;
  line-height: 1.8;
}

.for-spaces-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid #eeeae0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.for-spaces-link:hover,
.for-spaces-link:focus-visible {
  color: var(--muted);
}

.inner-page {
  min-height: 100svh;
  padding-top: 84px;
  background:
    radial-gradient(circle at 85% 10%, rgba(115, 126, 100, 0.12), transparent 38%),
    var(--background);
}

.inner-page .site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 8, 0.96);
  backdrop-filter: blur(16px);
}

.inquiry-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(60px, 9vw, 150px);
  width: var(--page);
  margin-inline: auto;
  padding: clamp(80px, 10vw, 150px) 0;
}

.inquiry-intro {
  align-self: start;
  position: sticky;
  top: 150px;
}

.inquiry-intro h1,
.thank-you-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.inquiry-intro > p:not(.kicker),
.thank-you-card > p:not(.kicker) {
  max-width: 580px;
  margin: 28px 0 0;
  color: #c5c7c1;
  font-size: 14px;
  line-height: 1.8;
}

.inquiry-form {
  display: grid;
  gap: 28px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid var(--line);
  background: rgba(17, 19, 16, 0.72);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field label,
.form-legend {
  color: #d8d8d2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-field .optional {
  color: #7f827b;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #42453f;
  border-radius: 0;
  padding: 13px 14px;
  background: #0d0f0c;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.form-field select {
  cursor: pointer;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #eeeae0;
  outline: 2px solid rgba(238, 234, 224, 0.22);
  outline-offset: 2px;
}

.form-help {
  margin: -2px 0 0;
  color: #8f928b;
  font-size: 11px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  padding-top: 5px;
}

.submit-button,
.copy-email-button,
.return-link {
  border: 1px solid #eeeae0;
  padding: 13px 18px;
  background: #eeeae0;
  color: #111;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.submit-button:hover,
.submit-button:focus-visible,
.copy-email-button:hover,
.copy-email-button:focus-visible,
.return-link:hover,
.return-link:focus-visible {
  background: transparent;
  color: #eeeae0;
}

.form-privacy {
  max-width: 390px;
  margin: 0;
  color: #81847d;
  font-size: 10px;
  line-height: 1.6;
}

.form-fallback {
  display: grid;
  gap: 10px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-fallback p {
  margin: 0;
  color: #a9aba5;
  font-size: 12px;
  line-height: 1.6;
}

.email-address {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.copy-email-button {
  justify-self: start;
  padding: 10px 13px;
  background: transparent;
  color: #eeeae0;
}

.copy-email-button:hover,
.copy-email-button:focus-visible {
  background: #eeeae0;
  color: #111;
}

.copy-status {
  min-height: 1.4em;
  margin: 0;
  color: #b8bcb3;
  font-size: 11px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.thank-you-main {
  display: grid;
  min-height: calc(100svh - 84px);
  place-items: center;
  width: var(--page);
  margin-inline: auto;
  padding: 80px 0;
}

.thank-you-card {
  width: min(760px, 100%);
  padding: clamp(38px, 7vw, 80px);
  border: 1px solid var(--line);
  background: rgba(17, 19, 16, 0.72);
}

.thank-you-card h1 {
  font-size: clamp(50px, 7vw, 86px);
}

.return-link {
  display: inline-block;
  margin-top: 34px;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
  padding: 145px 0;
  border-top: 1px solid var(--line);
}

.about h2 {
  font-size: clamp(52px, 7vw, 102px);
  line-height: 0.95;
}

.about-copy {
  max-width: 720px;
  margin: 42px 0 0;
}

.about-copy > p {
  margin: 0;
  color: #d1d2cc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.45;
}

.contact {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.contact-location {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}

.contact-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid #555850;
  color: #d1d2cc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: #eeeae0;
  color: #eeeae0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: #868a83;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 5, 4, 0.97);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.96);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 78px;
  align-items: center;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  width: min(84vw, 1700px);
  max-height: 92svh;
  margin: 0 auto;
}

.lightbox figure img {
  justify-self: center;
  max-width: 100%;
  max-height: 84svh;
  object-fit: contain;
}

.lightbox figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  color: #989c95;
}

.lightbox-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lightbox-title {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lightbox-meta {
  color: #a8aba5;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lightbox-context {
  display: flex;
  gap: 18px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lightbox-close,
.lightbox-arrow {
  background: none;
  color: #d6d5d0;
  cursor: pointer;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 3;
  padding: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lightbox-arrow {
  align-self: stretch;
  font-size: 25px;
  opacity: 0.68;
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  opacity: 1;
}

@media (max-width: 1000px) {
  :root {
    --page: min(100% - 36px, 900px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .for-spaces {
    grid-template-columns: 1fr;
  }

  .for-spaces-image,
  .for-spaces-image img {
    min-height: 480px;
  }

  .about-copy {
    margin-top: 0;
  }

  .inquiry-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .inquiry-intro {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100% - 28px);
  }

  .site-header {
    height: 70px;
    padding: 0 14px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 14px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 8, 0.96);
  }

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

  .site-nav a {
    padding: 13px 0;
  }

  .hero-title {
    right: 14px;
    bottom: 10vh;
    left: 14px;
  }

  .hero-title h1 {
    font-size: clamp(62px, 21vw, 112px);
  }

  .hero-title p {
    max-width: 260px;
    margin-left: 2px;
    font-size: 9px;
    line-height: 1.7;
  }

  .hero-scroll {
    right: 14px;
    bottom: 18px;
  }

  .work {
    padding: 100px 0 110px;
  }

  .filters {
    top: 70px;
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .gallery {
    columns: 1;
  }

  .photo {
    margin-bottom: 8px;
  }

  .about {
    padding: 100px 0;
  }

  .for-spaces {
    gap: 36px;
    padding: 100px 0;
  }

  .for-spaces-image,
  .for-spaces-image img {
    min-height: 0;
  }

  .for-spaces-copy h2 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .contact-links {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }

  .lightbox[open] {
    display: block;
    padding: 64px 14px 20px;
  }

  .lightbox figure {
    grid-template-rows: auto auto;
    align-content: center;
    width: 100%;
    height: calc(100svh - 84px);
  }

  .lightbox figure img {
    align-self: center;
    max-height: calc(100svh - 210px);
  }

  .lightbox figcaption {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .lightbox-title {
    font-size: 20px;
  }

  .lightbox-context {
    justify-content: space-between;
  }

  .lightbox-arrow {
    position: fixed;
    top: 45%;
    z-index: 2;
    width: 44px;
    height: 70px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .inner-page {
    padding-top: 70px;
  }

  .inner-page .site-nav {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
  }

  .inquiry-shell {
    gap: 36px;
    padding: 64px 0 80px;
  }

  .inquiry-form {
    gap: 24px;
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }

  .thank-you-main {
    min-height: calc(100svh - 70px);
    padding: 50px 0;
  }

  .thank-you-card {
    padding: 34px 22px;
  }
}

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

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