/* Core visual system */
@font-face {
  font-family: "FuturaLight";
  src: url("/bin-lb/fonts/FuturaLight.woff2") format("woff2"),
       url("/bin-lb/fonts/FuturaLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MerriweatherLocal";
  src: url("/Merriweather_latin.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --text: #2a2a2a;
  --muted: #777777;
  --line: #d8d8d8;
  --shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
  --content: 980px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-height: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(16px, 15px + 0.25vw, 19px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "FuturaLight", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #555555;
  outline-offset: 3px;
}

button {
  font: inherit;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  padding: 14px var(--gutter);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: height 0.22s ease, padding 0.22s ease;
  z-index: 80;
}

.site-header.is-compact {
  height: 64px;
  padding-block: 8px;
}

.brand {
  display: block;
  height: 100%;
  max-width: min(72vw, 430px);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-trigger {
  position: absolute;
  left: max(0.65rem, env(safe-area-inset-left));
  top: 50%;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.menu-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Drawer navigation */
.navigation {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(82vw, 360px);
  padding: 5.5rem 2rem 2rem;
  background: #ffffff;
  box-shadow: 12px 0 28px rgba(0, 0, 0, 0.14);
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  z-index: 110;
}

.navigation.is-open {
  transform: translateX(0);
}

.navigation__close {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  color: #444444;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation li + li {
  border-top: 1px solid #ececec;
}

.navigation a {
  display: block;
  padding: 0.85rem 0;
  color: #444444;
  font-size: 1.12rem;
}

.navigation a:hover {
  color: #000000;
}

.scrim {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 100;
}

.scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Hero slideshow */
.hero {
  position: relative;
  height: clamp(360px, 52vw, 530px);
  margin-top: var(--header-height);
  overflow: hidden;
  background: #f1f1ef;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Main content */
.content {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2.5rem;
  text-align: center;
}

.intro {
  max-width: 760px;
  margin: 0 auto clamp(2.75rem, 7vw, 5rem);
}

.intro h1 {
  margin: 0 0 1.45rem;
  font-family: "MerriweatherLocal", Georgia, serif;
  font-size: clamp(1.85rem, 5.4vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.intro h1 span {
  font-size: 0.8em;
}

.intro p {
  margin: 0.35rem 0;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.intro__line {
  margin-bottom: 0.75rem !important;
  font-size: clamp(1.18rem, 2.4vw, 1.45rem) !important;
}

/* Native responsive gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-inline: calc(var(--gutter) * -1);
  background: #eeeeec;
}

.gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #eeeeec;
  cursor: zoom-in;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery__item:hover img {
  transform: scale(1.025);
  filter: brightness(1.03);
}

.about {
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  max-width: 760px;
  text-align: left;
}

.about p {
  margin: 0 0 1.4rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.75;
}

.portrait {
  width: min(72%, 560px);
  margin: clamp(2rem, 6vw, 4rem) 0 0 auto;
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.actions {
  display: grid;
  gap: 0.9rem;
  width: min(100%, 700px);
  margin: clamp(3rem, 8vw, 5.5rem) 0 0 auto;
}

.action {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 0.9rem 1.4rem;
  border: 1px solid #c9c9c9;
  background: #ffffff;
  font-family: "MerriweatherLocal", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.action:hover {
  background: #f5f5f3;
  border-color: #aaaaaa;
}

.site-footer {
  margin-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-top: 2rem;
  border-top: 1px solid #555555;
  text-align: left;
  color: #555555;
}

.site-footer address {
  font-style: normal;
  line-height: 1.65;
}

.site-footer a:hover {
  color: #000000;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

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

/* Lightweight native lightbox */
.lightbox {
  width: min(94vw, 1100px);
  max-width: 1100px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

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

.lightbox img {
  display: block;
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: -3.25rem;
  right: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 700px) {
  :root {
    --header-height: 88px;
  }

  .site-header {
    padding-inline: 0.8rem;
  }

  .brand {
    max-width: 68vw;
  }

  .menu-trigger {
    width: 48px;
    height: 48px;
  }

  .hero {
    height: min(62vh, 440px);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .portrait {
    width: 86%;
  }

  .actions {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .portrait {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
