/* Fonts loaded via <link> in HTML:
   - Instrument Sans (body) from Google Fonts
   - Reckless Neue (display) from Fontshare
*/

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

:root {
  --color-bg-light: #ece8e1;
  --color-bg-dark: #1a1a1a;
  --color-text: #000;
  --color-text-muted: #555;
  --color-text-secondary: #494949;
  --color-accent: #e63946;
  --color-white: #fff;
  --font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Reckless Neue", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ─── Hero ─── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: clamp(420px, 45vw, 660px);
  height: auto;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  padding: 0.5rem;
}

.scroll-cue:hover {
  opacity: 1;
}

/* ─── Marquee ─── */

.marquee-section {
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-right: clamp(2rem, 4vw, 4rem);
  flex-shrink: 0;
}

.marquee-content img {
  height: clamp(30px, 3.75vw, 48px);
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Tagline ─── */

.tagline {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 6rem);
  text-align: center;
}

.tagline h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 3.556rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: pretty;
  color: var(--color-text);
  max-width: 52ch;
  margin: 0 auto;
}

/* ─── CTA Close ─── */

.cta-close {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 6rem);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cta-close h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.667rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.cta-booking {
  margin-bottom: 1.5rem;
}

.btn-booking {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  letter-spacing: -0.01em;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn-booking:hover {
  opacity: 0.85;
}

.btn-booking:active {
  transform: scale(0.97);
}

.btn-booking:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.cta-close-body {
  font-size: clamp(1.125rem, 1.5vw, 1.444rem);
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.cta-close-subline {
  font-size: clamp(0.875rem, 1vw, 1rem);
  color: var(--color-text-muted);
}

.link-red {
  color: var(--color-accent);
}

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

/* ─── About ─── */

.about {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 6rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.about-photo {
  max-width: 70%;
  margin-left: auto;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
}

.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  font-weight: 400;
  color: var(--color-text);
}

.about-body {
  font-size: clamp(1rem, 1.2vw, 1.222rem);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--color-text);
}

/* ─── Footer ─── */

.footer {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 5vw, 6rem);
  text-align: center;
}

.footer-copy {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.125rem;
  height: 3.125rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  opacity: 1;
}

.back-to-top {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  padding: 0.5rem;
}

.back-to-top:hover {
  opacity: 1;
}

/* ─── Responsive ─── */

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

  .about-photo {
    max-width: 480px;
  }

  .hero-logo {
    width: min(360px, 80vw);
  }

  .footer {
    padding-bottom: 4rem;
  }

  .back-to-top {
    right: 50%;
    transform: translateX(50%);
    bottom: 1rem;
  }
}

/* ─── Visually hidden ─── */

.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;
}

/* ─── Services / Who we work with ─── */

.services {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.services-label {
  padding-top: 0.25rem;
}

.services-label span {
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.services-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.222rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.accordion-item {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-trigger::marker {
  content: "";
}

.accordion-trigger h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.5vw, 1.333rem);
  line-height: 1.4;
  color: var(--color-text);
}

.accordion-trigger:hover h3 {
  opacity: 0.7;
}

.accordion-icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text);
  transition: transform 0.25s ease;
}

.accordion-icon::before {
  width: 1rem;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

details[open] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .accordion-icon::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.accordion-body {
  padding: 0 0 1.5rem;
}

.accordion-body p {
  font-size: clamp(1rem, 1.2vw, 1.222rem);
  line-height: 1.5;
  text-wrap: pretty;
  color: var(--color-text-secondary);
  max-width: 60ch;
}

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

/* ─── Press feedback ─── */

.scroll-cue,
.back-to-top {
  transition: opacity 0.3s ease, transform 0.15s ease;
}

.scroll-cue:active {
  transform: translateX(-50%) scale(0.97);
}

.back-to-top:active {
  transform: scale(0.97);
}

/* ─── Reduced motion ─── */

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

  .marquee-track {
    animation: none;
  }

  .hero-video {
    display: none;
  }
}
