:root {
  --mint: #ace1e3;
  --teal: #068a8f;
  --ink: #2b2b2b;
  --white: #ffffff;
  --gap: 13px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

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

button { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.site-header {
  background: var(--mint);
  min-height: 146px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: min(1100px, calc(100% - 56px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  line-height: 1;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
  letter-spacing: 0.14em;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--white);
}

.nav a[aria-current="page"],
.nav a:hover,
.nav a:focus-visible {
  color: var(--teal);
}

.hero {
  position: relative;
  height: clamp(360px, 34.2vw, 520px);
  background: #ffeed6 url("../images/home/hero.jpg") center / cover no-repeat;
}

.hero-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(556px, calc(100% - 40px));
  height: min(365px, calc(100% - 48px));
  border: 1px solid var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 28px 20px;
}

.hero-frame h1 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 48px);
  letter-spacing: 0.15em;
  line-height: 1.15;
}

.hero-frame p {
  margin: 10px 0 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: 0.3em;
  line-height: 1.4;
}

.splits {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split {
  position: relative;
  min-height: clamp(260px, 33.8vw, 487px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.split img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split:hover img { transform: scale(1.04); }

.split span {
  position: relative;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.3vw, 76px);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 16px;
}

.gallery-wrap {
  width: min(1300px, calc(100% - 48px));
  margin: 18px auto 48px;
}

.gallery {
  position: relative;
}

.card {
  position: absolute;
  margin: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.33);
}

.card button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}

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

.card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 36px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card button:hover .card-title,
.card button:focus-visible .card-title {
  opacity: 1;
}

.site-footer {
  min-height: 119px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: min(1140px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--ink);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 18, 0.92);
  padding: 72px 72px 48px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.lightbox figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  color: var(--white);
  letter-spacing: 0.14em;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
}

.lightbox-close {
  top: 18px;
  right: 22px;
  font-size: 36px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  padding: 8px 14px;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-close:hover,
.lightbox-nav:hover { color: var(--mint); }

@media (max-width: 760px) {
  .site-header { min-height: 96px; }

  .header-inner { width: calc(100% - 32px); }

  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #97d5d7;
    padding: 8px 0 16px;
    z-index: 15;
  }

  .nav.open { display: flex; }

  .nav a {
    display: block;
    padding: 12px 24px;
    color: var(--ink);
  }

  .brand { font-size: 16px; letter-spacing: 0.1em; }

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

  .hero-frame p { letter-spacing: 0.16em; }

  .footer-inner {
    width: calc(100% - 32px);
    flex-direction: column;
    padding: 28px 0;
  }

  .lightbox { padding: 64px 16px 56px; }

  .lightbox-nav { font-size: 32px; }
}
