:root {
  color-scheme: light;
  --landing-dark: #070707;
  --landing-dark-soft: rgba(7, 7, 7, 0.74);
  --landing-paper: #f7f5f1;
  --landing-text: #111111;
  --landing-muted: rgba(17, 17, 17, 0.62);
  --landing-subtle: rgba(17, 17, 17, 0.48);
  --landing-line: rgba(17, 17, 17, 0.18);
  --landing-blue: #64aef5;
  --landing-blue-hover: #86c4ff;
  --landing-nav-height: 86px;
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--landing-text);
  background: var(--landing-paper);
}

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

.landing-shell {
  width: 100%;
  min-height: 100vh;
  padding-bottom: 96px;
}

.landing-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  background: var(--landing-dark);
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.landing-hero::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.36) 22%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.34));
}

.landing-hero__slides,
.landing-hero-slide {
  position: absolute;
  inset: 0;
}

.landing-hero__slides {
  z-index: 0;
  background: var(--landing-dark);
}

.landing-hero-slide {
  background: var(--slide-image) center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.01);
  animation: landingSlideFade 15s infinite;
  animation-delay: calc(var(--slide-index) * 3s);
}

.landing-hero-slide:first-child,
.landing-hero-slide.is-static {
  opacity: 1;
}

.landing-hero-slide:first-child {
  animation-name: landingFirstSlideFade;
}

.landing-hero-slide.is-static {
  animation: none;
  transform: scale(1.01);
}

@keyframes landingSlideFade {
  0% { opacity: 0; transform: scale(1.01); }
  8% { opacity: 1; }
  28% { opacity: 1; transform: scale(1.03); }
  38% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 0; transform: scale(1.035); }
}

@keyframes landingFirstSlideFade {
  0% { opacity: 1; transform: scale(1.01); }
  28% { opacity: 1; transform: scale(1.03); }
  38% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 0; transform: scale(1.035); }
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(58px, 1fr) minmax(0, auto) minmax(58px, 1fr);
  align-items: end;
  min-height: var(--landing-nav-height);
  width: 100%;
  padding: 18px clamp(18px, 5vw, 56px) 14px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.86), rgba(7, 7, 7, 0.52) 64%, rgba(7, 7, 7, 0));
  box-shadow: none;
  backdrop-filter: blur(7px) saturate(110%);
  transform: translateX(-50%);
}

.landing-brand {
  min-width: 0;
  overflow: visible;
  justify-self: center;
  letter-spacing: 0.18em;
  text-align: center;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: clamp(1.55rem, 4.4vw, 2.45rem);
  font-weight: 950;
}

.landing-nav__edge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-nav__book {
  display: inline-grid;
  justify-self: end;
  justify-items: center;
  gap: 5px;
  min-width: 44px;
  color: #ffffff;
  font-size: clamp(0.72rem, 1.7vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.landing-nav__book-icon {
  width: clamp(30px, 4.7vw, 42px);
  height: clamp(30px, 4.7vw, 42px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.landing-nav__book:hover,
.landing-nav__book:focus-visible {
  color: #ffffff;
  outline: none;
  opacity: 0.82;
}

.landing-nav__edge--left {
  justify-self: start;
}

.landing-nav__edge--right {
  justify-self: end;
}

.landing-nav__edge:hover,
.landing-nav__edge:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  outline: none;
}

.landing-eyebrow {
  margin: 0 0 16px;
  color: var(--landing-subtle);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  font-weight: 800;
}

.landing-button,
.landing-sticky-book {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: 2px solid #050505;
  border-radius: 0;
  color: #07111c;
  background: var(--landing-blue);
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-button:hover,
.landing-button:focus-visible,
.landing-sticky-book:hover,
.landing-sticky-book:focus-visible {
  color: #111111;
  background: var(--landing-blue-hover);
  outline: none;
}

.landing-sticky-book {
  position: fixed;
  right: 28px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 35;
  min-width: min(178px, calc(100vw - 40px));
  min-height: 46px;
  padding: 10px 22px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.landing-section {
  width: min(1880px, calc(100% - 56px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 108px) 0;
  border-top: 1px solid var(--landing-line);
  background: transparent;
}

.landing-section:first-of-type {
  border-top: 0;
}

.landing-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 42px);
}

.landing-section h2 {
  max-width: 560px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.landing-section__lead {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--landing-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.landing-section .landing-eyebrow {
  color: var(--landing-subtle);
}

.landing-section--intro {
  display: grid;
  min-height: min(46svh, 440px);
  align-content: center;
}

.landing-section--intro h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(2.15rem, 5.8vw, 2.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.landing-intro-copy {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--landing-muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.landing-section--about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
}

.landing-about-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.landing-about-lead {
  max-width: 640px;
  margin: 0;
  color: var(--landing-muted);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.68;
}

.landing-about-media {
  position: sticky;
  top: 108px;
  overflow: hidden;
  min-height: 440px;
  background: #d8d1c6;
}

.landing-about-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.landing-stat {
  display: grid;
  gap: 8px;
  min-height: 104px;
  align-content: end;
  padding: 16px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.42);
}

.landing-stat strong {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.landing-stat span {
  color: rgba(17, 17, 17, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-work-grid {
  display: flex;
  gap: 14px;
  margin-right: calc(var(--landing-side) * -1);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 var(--landing-side) 10px 0;
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.landing-work-grid::-webkit-scrollbar {
  display: none;
}

.landing-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-review-card {
  display: grid;
  gap: 18px;
  min-height: 178px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--landing-line);
  background: rgba(255, 255, 255, 0.46);
}

.landing-review-card strong {
  color: #9f6938;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.landing-review-card p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.landing-review-author {
  color: var(--landing-ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.landing-work-card {
  position: relative;
  flex: 0 0 clamp(210px, 32vw, 330px);
  overflow: hidden;
  margin: 0;
  background: #111111;
  scroll-snap-align: start;
}

.landing-work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 800ms ease;
}

.landing-work-card:hover img {
  transform: scale(1.045);
}

.landing-section--contact {
  display: block;
  padding-bottom: clamp(120px, 12vw, 180px);
}

.landing-contact-card {
  display: grid;
  gap: 26px;
  max-width: 720px;
  margin: 0;
  padding-top: clamp(28px, 4vw, 44px);
  color: rgba(17, 17, 17, 0.8);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.48;
}

.landing-contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.landing-contact-row {
  display: grid;
  gap: 8px;
}

.landing-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--landing-subtle);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-contact-row svg,
.landing-contact-instagram svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.landing-contact-row strong {
  margin: 0;
  color: rgba(17, 17, 17, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 650;
  line-height: 1.55;
}

.landing-contact-instagram {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  color: rgba(17, 17, 17, 0.74);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-contact-instagram:hover,
.landing-contact-instagram:focus-visible {
  color: #111111;
  outline: none;
}

.landing-empty {
  margin: 0;
  color: var(--landing-muted);
  font-size: 1.2rem;
}

.landing-reveal {
  opacity: 1;
  transform: none;
}

.landing-page.is-reveal-ready .landing-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.landing-page.is-reveal-ready .landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .landing-hero-slide,
  .landing-reveal {
    animation: none;
    transition: none;
  }

  .landing-hero-slide:first-child {
    opacity: 1;
  }

  .landing-page.is-reveal-ready .landing-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .landing-nav {
    top: 0;
    grid-template-columns: minmax(48px, 1fr) minmax(0, auto) minmax(48px, 1fr);
    min-height: 74px;
    width: 100%;
    padding: 14px 14px 10px;
    border-right: 0;
    border-left: 0;
  }

  .landing-brand {
    max-width: none;
    font-size: clamp(1.42rem, 6.4vw, 1.95rem);
  }

  .landing-nav__edge {
    min-height: 34px;
  }

  .landing-nav__book {
    min-width: 38px;
    letter-spacing: 0.16em;
  }

  .landing-section--intro h1 {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
  }

  .landing-section--intro {
    min-height: 0;
  }

  .landing-section {
    width: min(100% - 28px, 760px);
    padding: 58px 0;
  }

  .landing-section__head,
  .landing-section--about,
  .landing-section--contact {
    display: block;
  }

  .landing-section h2 {
    font-size: 2rem;
  }

  .landing-about-lead,
  .landing-contact-card {
    margin-top: 22px;
    font-size: 0.95rem;
  }

  .landing-hero {
    min-height: 100svh;
  }

  .landing-stat,
  .landing-review-card {
    padding: 18px;
  }

  .landing-about-media {
    position: relative;
    top: auto;
    min-height: 0;
    margin-top: 28px;
  }

  .landing-about-media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .landing-stats,
  .landing-review-grid {
    grid-template-columns: 1fr;
  }

  .landing-work-card {
    flex-basis: min(76vw, 320px);
  }

  .landing-sticky-book {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 380px) {
  .landing-nav {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .landing-brand {
    font-size: clamp(1.05rem, 6vw, 1.28rem);
    letter-spacing: 0.12em;
  }

  .landing-nav__book-icon {
    width: 30px;
    height: 30px;
  }

  .landing-contact-pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
