/* Laura Tornga — Through The Lens Photography
   Design system: dark cinematic editorial.
   Ink near-black, ivory type, bronze accent. Fraunces display + Inter. */

:root {
  --ink: #121010;
  --ink-2: #1a1715;
  --ink-3: #221e1b;
  --paper: #f2ece2;
  --muted: #a89f92;
  --accent: #c9995c;
  --accent-2: #dfb27a;
  --line: rgba(242, 236, 226, 0.14);
  --line-soft: rgba(242, 236, 226, 0.08);
  --display: "Fraunces", "Georgia", serif;
  --body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --step--1: clamp(0.8rem, 0.75rem + 0.2vw, 0.9rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.25vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.4rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --step-5: clamp(3.2rem, 2rem + 5vw, 6.2rem);
  --space: clamp(4.5rem, 10vw, 8.5rem);
  --space-half: clamp(2.25rem, 5vw, 4.25rem);
  --shell: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
p {
  margin: 0 0 1.1em;
}

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: var(--space);
}
.section.tight {
  padding-block: var(--space-half);
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 46ch;
  font-weight: 400;
}
.muted {
  color: var(--muted);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18, 16, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line-soft);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.85;
  transition:
    opacity 0.2s,
    color 0.2s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--accent-2);
}
.nav-links a[aria-current="page"] {
  color: var(--accent);
  opacity: 1;
}
.nav-cta {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.55em 1.3em;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(18, 16, 16, 0.97);
    transform: translateY(-102%);
    visibility: hidden;
    transition:
      transform 0.5s var(--ease),
      visibility 0s 0.5s;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    transition:
      transform 0.5s var(--ease),
      visibility 0s 0s;
  }
  .nav-links a {
    font-size: 1.05rem;
  }
  .nav-close {
    position: absolute;
    top: 1.2rem;
    right: var(--pad);
    background: none;
    border: 0;
    color: var(--paper);
    cursor: pointer;
    padding: 0.4rem;
  }
}
@media (min-width: 861px) {
  .nav-close {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: 62% 22%;
}
@media (min-width: 900px) {
  /* widen and left-anchor the hero image so the subject sits right of the headline */
  .hero-media img {
    width: 145%;
    max-width: none;
    right: auto;
    object-position: 0 30%;
  }
}
@media (max-width: 600px) {
  /* portrait crop: keep her eyes in the clear top half, compress the copy below */
  .hero-media img {
    object-position: 62% 12%;
  }
  .hero-copy h1 {
    font-size: var(--step-4);
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 16, 0.45) 0%,
      rgba(18, 16, 16, 0.15) 34%,
      rgba(18, 16, 16, 0.68) 68%,
      rgba(18, 16, 16, 0.95) 100%
    ),
    linear-gradient(100deg, rgba(18, 16, 16, 0.6) 0%, rgba(18, 16, 16, 0) 55%);
}
.grain::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 12vh, 8rem);
  max-width: 48rem;
}
.hero-copy h1 {
  margin-bottom: 0.35em;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 340;
  color: var(--accent-2);
}
.hero-quote {
  font-size: var(--step-1);
  color: rgba(242, 236, 226, 0.86);
  max-width: 44ch;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}
.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 2rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1em 2.1em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(242, 236, 226, 0.4);
}
.btn.ghost:hover {
  border-color: var(--paper);
  background: rgba(242, 236, 226, 0.06);
}
.btn.wide {
  padding-inline: 3em;
}

/* ---------- section headers ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.section-head h2 {
  margin-bottom: 0;
}
.link-more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 0.5rem;
}
.link-more:hover {
  color: var(--accent-2);
}

/* ---------- gallery covers ---------- */
.covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
@media (max-width: 700px) {
  .covers {
    grid-template-columns: 1fr;
  }
}
.cover {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}
.cover:hover img {
  transform: scale(1.045);
  filter: brightness(1.06);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(18, 16, 16, 0) 45%,
    rgba(18, 16, 16, 0.78) 100%
  );
}
.cover-label {
  position: absolute;
  left: 1.6rem;
  bottom: 1.4rem;
  z-index: 2;
}
.cover-label h2,
.cover-label h3 {
  margin: 0;
  font-size: var(--step-2);
}
.cover-label span {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.cover.wide {
  aspect-ratio: 16 / 10;
}

/* ---------- quote band ---------- */
.quote-band {
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 26ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 340;
  font-size: var(--step-3);
  line-height: 1.25;
  color: var(--paper);
}
.quote-band cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split.flip {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
@media (max-width: 860px) {
  .split,
  .split.flip {
    grid-template-columns: 1fr;
  }
}
.split-media {
  overflow: hidden;
  border-radius: 4px;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-media.portrait {
  aspect-ratio: 4 / 5;
}

/* ---------- masonry gallery ---------- */
.masonry {
  columns: 2;
  column-gap: clamp(1rem, 2vw, 1.8rem);
}
@media (max-width: 700px) {
  .masonry {
    columns: 1;
  }
}
.shell-wide {
  max-width: 1600px;
}
.masonry figure {
  margin: 0 0 clamp(0.9rem, 1.8vw, 1.5rem);
  break-inside: avoid;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  background: var(--ink-2);
}
.masonry picture {
  display: block;
}
.masonry img {
  width: 100%;
  /* height attribute is a presentational hint in newer Chrome: without an
     explicit auto it wins over the aspect ratio and squashes the photo */
  height: auto;
  transition:
    transform 0.7s var(--ease),
    filter 0.7s var(--ease);
}
.masonry figure:hover img {
  transform: scale(1.03);
  filter: brightness(1.07);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 10, 0.96);
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  cursor: pointer;
  border-radius: 999px;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.lightbox button:hover {
  border-color: var(--accent);
  background: rgba(201, 153, 92, 0.12);
}
.lb-close {
  top: 1.2rem;
  right: 1.2rem;
}
.lb-prev {
  left: 1.2rem;
  top: 50%;
  translate: 0 -50%;
}
.lb-next {
  right: 1.2rem;
  top: 50%;
  translate: 0 -50%;
}
.lb-count {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  translate: -50% 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
@media (max-width: 600px) {
  .lb-prev {
    left: 0.5rem;
  }
  .lb-next {
    right: 0.5rem;
  }
  .lightbox img {
    max-width: 96vw;
  }
}

/* ---------- page hero (interior) ---------- */
.page-hero {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: var(--space-half);
}
.page-hero .lede {
  margin-top: 0.6rem;
}

/* ---------- testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}
.testimonial {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, var(--ink-2), rgba(26, 23, 21, 0.4));
}
.testimonial p {
  font-family: var(--display);
  font-weight: 350;
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.4;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- packages ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
@media (max-width: 900px) {
  .packages {
    grid-template-columns: 1fr;
  }
}
.package {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s;
}
.package:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 153, 92, 0.5);
}
.package img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}
.package-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.package-body h2,
.package-body h3 {
  font-size: var(--step-2);
  margin-bottom: 0.3em;
}
.package-body p {
  color: var(--muted);
  flex: 1;
}
.package-body .price {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}
.featured-tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  align-self: flex-start;
  padding: 0.35em 1em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- services chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line-soft);
}
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--body);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 300;
  transition: rotate 0.3s var(--ease);
}
.faq details[open] summary::after {
  rotate: 45deg;
}
.faq .answer {
  padding: 0 0 1.6rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  gap: 1.4rem;
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  padding: 0.85em 1em;
  transition: border-color 0.2s;
}
.field textarea {
  min-height: 9rem;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9995c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
}
.form-status {
  font-size: 0.9rem;
  color: var(--accent-2);
  min-height: 1.4em;
  margin: 0;
}
.honeypot {
  position: absolute;
  left: -6000px;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band .btn {
  margin-top: 1.6rem;
}

/* ---------- gallery pager ---------- */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--space-half);
}
.pager a {
  text-decoration: none;
}
.pager .dir {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.pager .name {
  font-family: var(--display);
  font-size: var(--step-2);
}
.pager a:hover .name {
  color: var(--accent-2);
}
.pager .next {
  text-align: right;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-half);
  margin-top: var(--space-half);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}
.footer-grid .wordmark {
  font-size: 0.95rem;
}
.footer-tag {
  margin: 0.6rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.footer-nav a:hover {
  color: var(--accent-2);
}
.footer-meta {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-meta a {
  color: var(--muted);
}
.footer-meta a:hover {
  color: var(--accent-2);
}

/* ---------- reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .masonry img,
  .cover img,
  .btn,
  .package {
    transition: none;
  }
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ================================================================
   v2 interaction layer (2026-07-17): view transitions, preloader,
   gallery index, marquee, giant footer, sticky CTA, stacking cards
   ================================================================ */

/* ---------- cross-document view transitions: curtain wipe ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: vt-recede 0.5s var(--ease) both;
  }
  ::view-transition-new(root) {
    animation: vt-curtain 0.5s var(--ease) both;
  }
  @keyframes vt-recede {
    to { opacity: 0.35; transform: scale(0.985); }
  }
  @keyframes vt-curtain {
    from { clip-path: inset(100% 0 0 0); transform: translateY(18px); }
    to { clip-path: inset(0 0 0 0); transform: none; }
  }
  .site-header .wordmark {
    view-transition-name: wordmark;
  }
  ::view-transition-group(wordmark) {
    animation-duration: 0.5s;
  }
}

/* ---------- site-wide film grain ---------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 30;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
}

/* ---------- preloader (home, once per session) ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
}
html:not(.js) .preloader {
  display: none;
}
.preloader-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.preloader-name .char {
  display: inline-block;
}
.preloader-name em {
  font-style: italic;
  color: var(--accent-2);
}
.preloader-count {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- split-text line masking ---------- */
.split-lines .line {
  display: block;
}

/* ---------- gallery index list (fine pointers) ---------- */
.index-list {
  border-top: 1px solid var(--line-soft);
}
.index-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3.4vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  position: relative;
}
.index-row .num {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.index-row .name {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  font-weight: 390;
  line-height: 0.98;
  letter-spacing: -0.015em;
  transition:
    color 0.35s,
    transform 0.6s var(--ease);
}
.index-row .count {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s;
}
.index-row:hover .name,
.index-row:focus-visible .name {
  color: var(--accent-2);
  transform: translateX(1.4rem);
}
.index-row:hover .count {
  color: var(--paper);
}
.index-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  width: min(24vw, 330px);
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.index-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s;
}
.index-preview img.active {
  opacity: 1;
}
@media (hover: none), (max-width: 860px) {
  .only-fine {
    display: none;
  }
}
@media (hover: hover) and (min-width: 861px) {
  .only-touch {
    display: none;
  }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  padding-block: 1.2rem;
}
.marquee-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  white-space: nowrap;
  animation: marquee-slide 40s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 360;
  align-items: center;
}
.marquee-track em {
  font-style: italic;
  color: var(--accent-2);
}
.marquee-track .glyph {
  color: var(--accent);
  font-size: 0.6em;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-slide {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ---------- giant footer wordmark ---------- */
.footer-giant {
  display: block;
  overflow: hidden;
  padding: var(--space-half) 0 0;
  text-decoration: none;
  text-align: center;
}
.footer-giant span {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.4rem, 12.5vw, 13.5rem);
  font-weight: 420;
  line-height: 0.95;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.footer-giant em {
  font-style: italic;
  font-weight: 340;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 153, 92, 0.7);
  transition: color 0.6s var(--ease);
}
.footer-giant:hover em {
  color: var(--accent);
}

/* ---------- sticky mobile booking bar ---------- */
.mobile-cta {
  display: none;
}
@media (max-width: 860px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    text-align: center;
    padding: 1.05em;
    min-height: 48px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.45s var(--ease);
  }
  .mobile-cta.show {
    transform: none;
  }
}

/* ---------- stacking package cards (desktop) ---------- */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .packages.stack {
    display: block;
    max-width: 62rem;
    margin-inline: auto;
  }
  .packages.stack .package {
    position: sticky;
    top: calc(6.5rem + var(--i, 0) * 2.4rem);
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-bottom: 2.4rem;
    background: var(--ink-2);
    min-height: 21rem;
  }
  .packages.stack .package img {
    height: 100%;
    aspect-ratio: auto;
  }
  .packages.stack .package-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.6rem;
  }
}

/* ---------- masonry v2: lqip + arrival ---------- */
.masonry figure {
  background-size: cover;
  background-position: center;
}

/* ---------- cover hover hint ---------- */
figure.cover {
  margin: 0;
  cursor: zoom-in;
}
a.cover::before,
figure.cover::before {
  content: "View";
  position: absolute;
  right: 1.3rem;
  top: 1.2rem;
  z-index: 3;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(242, 236, 226, 0.4);
  border-radius: 999px;
  padding: 0.6em 1.2em;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease);
}
a.cover:hover::before,
a.cover:focus-visible::before,
figure.cover:hover::before,
figure.cover:focus-visible::before {
  opacity: 1;
  transform: none;
}
