:root {
  --bg: #f3efe6;
  --surface: rgba(255, 252, 244, 0.64);
  --navy-surface: rgba(255, 252, 244, 0.68);
  --navy-solid: rgba(246, 241, 230, 0.82);
  --navy-soft: rgba(255, 252, 244, 0.34);
  --border: rgba(70, 58, 42, 0.14);
  --ink: #1f1d19;
  --muted: #746c60;
  --blue: #856f4f;
  --cream: #f0ece4;
  --cobalt-wash: rgba(32, 92, 184, 0.3);
  --lake-wash: rgba(67, 133, 164, 0.24);
  --earth-wash: rgba(150, 52, 44, 0.1);
  --ochre-wash: rgba(214, 168, 90, 0.08);
  --silver: rgba(218, 226, 229, 0.15);
  --silver-soft: rgba(220, 232, 236, 0.075);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(252, 249, 241, 0.92), rgba(237, 232, 219, 0.82) 48%, rgba(250, 246, 236, 0.95)),
    radial-gradient(ellipse at 16% 18%, rgba(177, 122, 73, 0.18), transparent 34%),
    radial-gradient(ellipse at 82% 72%, rgba(113, 137, 91, 0.2), transparent 42%),
    radial-gradient(ellipse at 56% 18%, rgba(78, 104, 132, 0.1), transparent 38%),
    var(--bg);
  background-attachment: fixed, fixed, fixed, fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: -22%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 16% 30%, rgba(180, 95, 67, 0.16), transparent 36%),
    radial-gradient(ellipse at 74% 34%, rgba(83, 122, 82, 0.18), transparent 42%),
    radial-gradient(ellipse at 42% 88%, rgba(190, 151, 94, 0.14), transparent 38%),
    linear-gradient(128deg, transparent 0 24%, rgba(120, 103, 76, 0.06) 42%, transparent 62% 100%);
  opacity: 0.88;
  transform: translate3d(0, 0, 0) scale(1.02);
  content: "";
  will-change: transform, opacity;
  animation: quietField 30s ease-in-out infinite alternate;
}

body::after {
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 64%, rgba(130, 110, 78, 0.06), transparent 32%),
    radial-gradient(ellipse at 78% 24%, rgba(104, 132, 87, 0.09), transparent 36%),
    linear-gradient(70deg, transparent 0 30%, rgba(176, 127, 82, 0.055) 48%, transparent 68% 100%);
  opacity: 0.95;
  content: "";
  will-change: transform, opacity;
  animation: slowWash 24s ease-in-out infinite alternate;
}

.hero-onepage::before {
  position: absolute;
  inset: -18%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 16% 76%, rgba(201, 185, 155, 0.08), transparent 24%),
    radial-gradient(ellipse at 48% 60%, rgba(91, 106, 78, 0.06), transparent 30%),
    linear-gradient(74deg, transparent 0 34%, rgba(205, 188, 156, 0.044) 50%, transparent 66% 100%);
  mix-blend-mode: screen;
  opacity: 0.62;
  will-change: transform, opacity;
  animation: heroGlow 18s ease-in-out infinite alternate;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 54px);
  background: rgba(255, 252, 244, 0.7);
  border-bottom: 1px solid rgba(212, 190, 160, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(1.15);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}

.nav-logo {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.8vw, 34px);
}

.nav-links a,
.lang-btn {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.lang-btn.active,
.lang-btn:hover {
  color: var(--ink);
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
}

.lang-btn {
  min-width: 46px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(31, 29, 25, 0.88);
  color: #fffaf0;
}

.hero-onepage {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: openingDrift 12s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 76%, rgba(186, 77, 50, 0.12), transparent 32%),
    radial-gradient(ellipse at 72% 68%, rgba(83, 124, 86, 0.12), transparent 34%),
    linear-gradient(120deg, rgba(14, 14, 15, 0.78), rgba(14, 14, 15, 0.12) 58%),
    linear-gradient(0deg, rgba(14, 14, 15, 0.82), transparent 56%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 70px);
  bottom: clamp(52px, 8vw, 96px);
  max-width: 760px;
  animation: fadeUp 900ms ease 220ms both;
}

.hero-copy h1 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.hero-copy h1 span {
  font-style: normal;
}

.hero-copy p {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(240, 236, 228, 0.62);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 64px);
  bottom: clamp(42px, 7vw, 82px);
  margin: 0;
  color: rgba(240, 236, 228, 0.36);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 118px) clamp(20px, 4vw, 54px);
  border-top: 1px solid rgba(206, 228, 226, 0.08);
}

.section::before,
.section::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.section::before {
  display: none;
}

.section::after {
  display: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

#gallery::before {
  background-position: 78% 24%;
  background-size: 235%;
  opacity: 0.54;
}

#about::before {
  background-position: 78% 24%;
  background-size: 235%;
  opacity: 0.54;
}

#contact::before {
  background-position: 78% 24%;
  background-size: 235%;
  opacity: 0.54;
}

.about-section {
  background: rgba(255, 252, 244, 0.28);
}

.section-head {
  display: flex;
  align-items: baseline;
  margin: 0 auto 48px;
  max-width: 1240px;
}

.section-title-wrap {
  padding-left: 20px;
  border-left: 2px solid var(--blue);
}

.section-title-wrap h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.section-title-wrap p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.masonry-gallery {
  columns: 3 280px;
  column-gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
}

.piece {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  overflow: hidden;
  background: rgba(255, 252, 244, 0.18);
  break-inside: avoid;
}

.piece.span-2 {
  grid-column: auto;
}

.piece.portrait {
  align-self: start;
}

.piece button {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  line-height: 0;
}

.piece img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.piece:hover img {
  transform: scale(1.045);
}

.piece.oneliner img {
  object-fit: contain;
}

.piece-overlay {
  display: none;
  position: absolute;
  inset: auto 0 0;
  padding: 48px 22px 20px;
  background: linear-gradient(0deg, rgba(28, 25, 20, 0.72), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.piece:hover .piece-overlay {
  opacity: 1;
}

.piece-overlay h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-style: italic;
  font-weight: 400;
}

.piece-overlay p {
  margin: 2px 0 0;
  color: rgba(240, 236, 228, 0.54);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(42px, 7vw, 90px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  padding-top: 8px;
}

.about-lead {
  margin: 0 0 28px;
  padding-left: 24px;
  color: var(--ink);
  border-left: 3px solid var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  font-style: italic;
  line-height: 1.42;
}

.about-copy p:not(.about-lead),
.contact-copy p {
  color: var(--muted);
  font-size: 0.94rem;
}

.about-copy p:not(.about-lead) {
  margin: 0 0 1.25em;
}

[data-language-content][hidden] {
  display: none !important;
}

.about-story {
  max-width: 1240px;
  margin: clamp(64px, 9vw, 116px) auto 0;
  padding-top: clamp(42px, 6vw, 72px);
  border-top: 1px solid rgba(70, 58, 42, 0.16);
}

.about-story-head {
  max-width: 760px;
}

.about-story-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.about-story-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 90px);
  margin-top: clamp(46px, 7vw, 76px);
}

.about-story-text p {
  break-inside: avoid;
  margin: 0 0 1.35em;
  color: var(--muted);
  font-size: 0.94rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.about-facts span,
.contact-list span,
.contact-form span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-facts strong,
.contact-list strong,
.contact-list a {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
}

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

.contact-copy h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.form-check {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 252, 244, 0.58);
  border: 1px solid rgba(70, 58, 42, 0.16);
  outline: none;
  resize: vertical;
  backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(133, 111, 79, 0.48);
  box-shadow: 0 0 0 3px rgba(133, 111, 79, 0.09);
}

.contact-form button {
  justify-self: start;
  padding: 13px 34px;
  color: #fffaf0;
  background: linear-gradient(135deg, #4c4638, #856f4f);
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 1.6em;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status.success {
  color: #35613e;
}

.form-status.error {
  color: #8f3d32;
}

.onepage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 34px clamp(20px, 4vw, 54px);
  color: var(--muted);
  background: rgba(255, 252, 244, 0.62);
  border-top: 1px solid rgba(212, 190, 160, 0.14);
  backdrop-filter: blur(16px) saturate(1.1);
  font-size: 0.76rem;
}

.onepage-footer a {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.94);
  overflow: auto;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  max-width: min(1120px, 94vw);
  max-height: 90vh;
  margin: 0;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  cursor: zoom-in;
}

.lightbox img.zoomed {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

.lightbox figcaption {
  color: rgba(240, 236, 228, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(240, 236, 228, 0.32);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

@keyframes openingDrift {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quietField {
  from {
    transform: translate3d(-1.2%, 0.8%, 0) rotate(-0.35deg) scale(1.02);
    opacity: 0.78;
  }
  to {
    transform: translate3d(1.2%, -0.8%, 0) rotate(0.35deg) scale(1.045);
    opacity: 0.96;
  }
}

@keyframes slowWash {
  from {
    transform: translate3d(0.8%, -0.6%, 0) scale(1.01);
    opacity: 0.62;
  }
  to {
    transform: translate3d(-0.8%, 0.6%, 0) scale(1.025);
    opacity: 0.86;
  }
}

@keyframes heroGlow {
  from {
    transform: translate3d(-0.8%, 0.4%, 0) scale(1.01);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(0.4%, -0.2%, 0) scale(1.025);
    opacity: 0.54;
  }
  to {
    transform: translate3d(0.8%, -0.4%, 0) scale(1.015);
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-onepage::before,
  .hero-img,
  .hero-copy {
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-nav {
    align-items: flex-start;
  }

  .nav-left {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .masonry-gallery {
    columns: 2 240px;
  }

  .about-grid,
  .contact-grid,
  .about-story-text {
    grid-template-columns: 1fr;
  }

  .about-story-text {
    gap: 0;
  }

}

@media (max-width: 620px) {
  .section {
    padding: 52px 16px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    padding: 12px 18px;
  }

  .nav-left {
    gap: 8px;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .hero-onepage {
    height: 60svh;
    min-height: 440px;
    padding-top: 102px;
    background: transparent;
  }

  .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: 62% center;
    box-shadow: none;
  }

  .hero-caption {
    display: none;
  }

  .hero-onepage::before {
    display: block;
  }

  .hero-shade {
    display: block;
    inset: 0;
    height: auto;
    background:
      linear-gradient(90deg, rgba(14, 14, 15, 0.7), rgba(14, 14, 15, 0.12) 54%, rgba(14, 14, 15, 0.02) 78%),
      linear-gradient(0deg, rgba(14, 14, 15, 0.72), transparent 56%);
  }

  .hero-copy {
    position: absolute;
    left: 18px;
    bottom: 28px;
    max-width: none;
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 8ch;
    font-size: clamp(3.1rem, 15vw, 5.1rem);
    color: var(--cream);
  }

  .hero-copy p {
    max-width: 19rem;
    color: rgba(240, 236, 228, 0.68);
  }

  .nav-links {
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .nav-links a,
  .lang-btn {
    font-size: 0.62rem;
  }

  .lang-toggle {
    align-self: flex-start;
    flex: 0 0 auto;
  }

  .lang-btn {
    min-width: 34px;
    padding: 5px 8px;
  }

  .onepage-footer {
    flex-direction: column;
  }

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

  .piece {
    margin-bottom: 8px;
  }

  .about-facts {
    columns: 1;
  }

  .about-story {
    margin-top: 48px;
    padding-top: 36px;
  }

  .about-story-text {
    margin-top: 34px;
  }

  .piece,
  .piece.span-2,
  .piece.portrait {
    grid-column: auto;
  }

  .section-head {
    align-items: flex-start;
  }
}
