:root {
  --black: #000000;
  --white: #ffffff;
  --gray-text: #cfcfcf;
  --border: rgba(255, 255, 255, 0.35);
  --gap: clamp(1.5rem, 4vw, 3rem);
  --logo-h: 42px; /* brand-logo's height — change this one value to resize the logo */
  --header-pad-y: 20px; /* breathing room above/below the logo inside the nav bar */
  --header-h: calc(var(--logo-h) + 2 * var(--header-pad-y)); /* anchored to --logo-h, not a fixed number */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Yeseva One', 'Helvetica', 'Arial', serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: 'Yeseva One', serif;
  font-optical-sizing: auto;
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p {
  margin: 0 0 1rem;
  color: var(--gray-text);
}

.kicker {
  font-family: 'Yeseva One', serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button.outline {
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
}

.button.outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.menu-cta {
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gap);
}

.brand {
  grid-column: 1;
  justify-self: start;
}

.brand-logo {
  height: var(--logo-h);
  width: auto;
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 7.5rem;
}

.mobile-menu-toggle {
  grid-column: 3;
  justify-self: end;
}

.nav-link {
  font-family: 'Yeseva One', serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
  border-color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 70;
}

.mobile-menu-toggle span {
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Landing video */
.landing {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-logo {
  position: absolute;
  z-index: 2;
  width: clamp(450px, 52.5vw, 750px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: landing-logo-fade 3.3s ease-in-out forwards;
}

/*
  0%–9%  (~0.3s): fade in.
  9%–70% (~2s):   hold centered, fully visible.
  70%–100% (~1s): fade out.
*/
@keyframes landing-logo-fade {
  0% {
    opacity: 0;
  }
  9%, 70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Sections shared */
section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--gap);
  max-width: 1320px;
  margin: 0 auto;
}

/* Services: intro text */
.services-intro {
  text-align: center;
}

.services-intro h2 {
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Services: looping video backdrop + 3 overlaid columns */
.services-video {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #000;
}

.services-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.services-columns {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gap);
}

/* Every column shares these rules so the 3 stay visually identical */
.services-col h3 {
  margin-bottom: 1rem;
}

.services-col > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.services-col ul {
  list-style: disc;
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

.services-col li {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.6rem;
}

.services-col li:last-child {
  margin-bottom: 0;
}

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

/* Testimonials */
.testimonials {
  text-align: center;
  padding-top: 0;
}

.testimonials h2 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  margin-bottom: 2.5rem;
}

.testimonial-stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  /* break out of the section's constrained max-width so the photos run
     full-bleed edge to edge, regardless of how wide the viewport is */
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.testimonial-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  /* visibility only flips to hidden once the fade-out finishes, so the
     outgoing slide stays rendered (and visible) throughout its fade. */
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  /* incoming slide becomes visible immediately so it fades in from frame one */
  transition: opacity 0.8s ease, visibility 0s linear 0s;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
}

.testimonial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.testimonial-card {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.82);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: 620px;
  margin: 2rem;
  text-align: center;
}

.testimonial-card p {
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  opacity: 0.8;
}

.testimonial-arrow:hover {
  opacity: 1;
}

.testimonial-arrow.prev { left: clamp(0.5rem, 3vw, 1.5rem); }
.testimonial-arrow.next { right: clamp(0.5rem, 3vw, 1.5rem); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  padding: 0;
  max-width: none;
}

.contact-panel {
  padding: clamp(3rem, 6vw, 5rem) var(--gap);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel.light {
  background: var(--white);
  color: var(--black);
  align-items: center;
  text-align: center;
}

.contact-panel.light h2 {
  color: var(--black);
}

.contact-panel.light p,
.contact-panel.light a {
  color: var(--black);
}

.contact-logo {
  width: 220px;
  height: auto;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.65;
}

.social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-panel.dark {
  background: var(--black);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--white);
}

.form-grid input,
.form-grid textarea {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.75rem 0.9rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--white);
}

.submit-button {
  width: 100%;
  padding: 0.9rem;
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: 'Yeseva One', serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-button:hover {
  opacity: 0.85;
}

.form-status {
  min-height: 1.2em;
  margin-top: 0.75rem;
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }

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

  .form-grid label.full {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .services-video {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 80vw);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
  }

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