:root {
  --bg-page: #000;
  --bg-section: #161616;
  --text: #e2e2e2;
  --text-muted: #ababab;
  --text-heading: #969696;
  --line: #1b1b1b;
  --input-bg: transparent;
  --input-border: #fff;
  --accent: #fff;
  --btn-bg: #fff;
  --btn-text: #000;
  --btn-hover: #d4d4d4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 65vh;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-dim {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 56rem;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 3.8vw, 1.85rem);
  line-height: 1.3;
  letter-spacing: clamp(0.12em, 0.06em + 1vw, 0.32em);
  text-indent: clamp(0.12em, 0.06em + 1vw, 0.32em);
  color: #fff;
  text-wrap: balance;
}

main {
  background: var(--bg-section);
}

.section-title {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  text-align: center;
  color: #fff;
}

.gallery-block {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
}

.gallery-scroller {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 1.5rem 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
  -webkit-overflow-scrolling: touch;
  justify-content: safe center;
}

.gallery-scroller:focus-visible {
  outline: 2px solid var(--text-muted);
  outline-offset: 4px;
}

.gallery-item {
  flex: 0 0 min(85vw, 28rem);
  scroll-snap-align: center;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.gallery-hint {
  margin: 0;
  padding: 0 1.5rem 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-block {
  padding: 3.5rem 1.5rem 4rem;
  max-width: 40rem;
  margin: 0 auto;
}

.contact-heading {
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--text-heading);
}

.contact-heading-text {
  display: block;
}

.contact-rule {
  display: block;
  width: 50px;
  height: 0;
  border: 0;
  border-bottom: 2px solid var(--line);
  margin: 1.5rem auto 0;
}

.contact-subtitle {
  margin: 0 0 1.25rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.req {
  color: var(--text-muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px currentColor;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.6;
}

.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.checkbox-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 2rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-send:hover {
  background: var(--btn-hover);
}

.form-note {
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-note a {
  color: var(--text);
}

.site-footer {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--bg-page);
}

.site-footer p {
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
