@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,750&family=Manrope:wght@400;500;650;800&display=swap');

/*
  Design direction: cinematic coastal editorial.
  The vertical source photo remains the hero object. The horizontal feeling comes from
  parallax, soft scene painting, glass, grain, and a floating premium photo treatment.
*/
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --ink: #111a21;
  --ink-soft: rgba(17, 26, 33, 0.72);
  --cream: #f7efe2;
  --sand: #d8c2a1;
  --sea: #78aeb6;
  --sea-dark: #315f6b;
  --sun: #ffbd7a;
  --glass: rgba(255, 255, 255, 0.18);
  --stroke: rgba(255, 255, 255, 0.34);
  --shadow: rgba(18, 34, 43, 0.28);

  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --hero-photo-scale: 0.86;
  --hero-photo-y: 2vh;
  --hero-copy-y: 0vh;
  --hero-copy-opacity: 1;
  --ambient-scale: 1.1;
  --ambient-blur: 18px;
  --ambient-opacity: 0.58;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --sheen-x: 40%;
  --nav-bg: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 189, 122, 0.25), transparent 28rem),
    linear-gradient(180deg, #e3eef2 0%, #f7efe2 48%, #efe0c9 100%);
  overflow-x: hidden;
}

body::selection {
  background: var(--sea-dark);
  color: white;
}

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

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

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: radial-gradient(circle 26rem at var(--mouse-x) var(--mouse-y), rgba(255, 248, 226, 0.24), transparent 62%);
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.08), rgba(0,0,0,.04)),
    repeating-radial-gradient(circle at 12% 18%, rgba(0,0,0,.18) 0 0.7px, transparent 0.8px 2.6px);
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 20px 70px rgba(15, 34, 43, 0.18);
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 10px 24px rgba(29, 45, 53, 0.14);
}

.nav-links {
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 230vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.ambient-scene,
.ambient-photo,
.painted-horizon,
.sun-glow {
  position: absolute;
  inset: 0;
}

.ambient-scene {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(33, 67, 100, 0.14) 0%, transparent 43%),
    linear-gradient(180deg, #6f91be 0%, #b7d3df 38%, #aac7c6 48%, #eadbc3 61%, #cdb38d 100%);
}

.ambient-photo {
  background-image: url('IMG_1876.JPG');
  background-size: cover;
  background-position: center 38%;
  filter: blur(var(--ambient-blur)) saturate(1.12) contrast(1.04);
  transform: scale(var(--ambient-scale));
  opacity: var(--ambient-opacity);
}

.painted-horizon {
  z-index: -3;
  background:
    radial-gradient(ellipse at 48% 16%, rgba(255,255,255,.5), transparent 22%),
    linear-gradient(180deg, rgba(34,80,126,.32) 0 36%, rgba(206,232,236,.55) 36% 45%, rgba(74,147,157,.66) 45% 54%, rgba(240,243,230,.72) 54% 60%, rgba(219,194,155,.72) 60% 100%);
  mix-blend-mode: soft-light;
}

.sun-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 232, 181, 0.34), transparent 21rem),
    radial-gradient(circle at 20% 78%, rgba(97, 158, 172, 0.22), transparent 29rem),
    linear-gradient(90deg, rgba(9, 32, 44, 0.22), transparent 22%, transparent 78%, rgba(9, 32, 44, 0.2));
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  transform: translateY(var(--hero-copy-y));
  opacity: var(--hero-copy-opacity);
  text-align: left;
  color: white;
  text-shadow: 0 18px 70px rgba(4, 19, 27, 0.42);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.7rem, 1.3vw, 0.85rem);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 15vw, 14.5rem);
  line-height: 0.78;
  letter-spacing: -0.085em;
  max-width: 9ch;
}

.title-line {
  display: block;
}

.title-line-offset {
  padding-left: clamp(2rem, 12vw, 10rem);
  color: rgba(255, 255, 255, 0.72);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
}

.hero-subtitle {
  width: min(35rem, 92%);
  margin: clamp(1.1rem, 3vw, 2rem) 0 0.5rem clamp(0.2rem, 9vw, 7.4rem);
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}

.photo-stage {
  position: absolute;
  z-index: 4;
  right: max(5vw, calc((100vw - 1120px) / 2));
  bottom: 8vh;
  width: min(31vw, 410px);
  min-width: 260px;
  margin: 0;
  transform: translateY(var(--hero-photo-y)) scale(var(--hero-photo-scale));
  transform-origin: center bottom;
  perspective: 1200px;
}

.photo-halo {
  position: absolute;
  inset: -13%;
  border-radius: 46px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 245, 209, 0.38), rgba(116, 174, 185, 0.22) 45%, transparent 72%);
  filter: blur(20px);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 50px 120px rgba(9, 24, 33, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 80ms linear;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 523 / 929;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.01);
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -70px 80px rgba(9, 24, 33, 0.12);
}

.photo-sheen {
  position: absolute;
  inset: -40%;
  transform: translateX(var(--sheen-x)) rotate(18deg);
  background: linear-gradient(90deg, transparent 35%, rgba(255,255,255,.24), transparent 64%);
  transition: transform 100ms linear;
  pointer-events: none;
}

figcaption {
  position: absolute;
  left: 50%;
  bottom: -1.15rem;
  transform: translateX(-50%);
  width: max-content;
  max-width: 86%;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: white;
  background: rgba(18, 35, 43, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(14, 31, 39, 0.2);
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
}

figcaption span {
  display: block;
  opacity: 0.72;
}

figcaption strong {
  display: block;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 0.58rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 3.7rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.scroll-cue i::after {
  content: '';
  display: block;
  width: 1px;
  height: 1.4rem;
  background: white;
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-1.5rem); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(3.8rem); opacity: 0; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: enter 900ms cubic-bezier(.2,.9,.2,1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro,
.cinematic-panel,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.intro {
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(3rem, 8vw, 6rem);
}

.section-kicker {
  color: var(--sea-dark);
}

.intro h2,
.cinematic-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  color: var(--ink);
}

.intro p,
.cinematic-panel p {
  max-width: 46rem;
  margin: 1.55rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}

.moments {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 clamp(5rem, 12vw, 10rem);
}

.moment-card {
  min-height: 24rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.36), rgba(255,255,255,.14)),
    radial-gradient(circle at 30% 10%, rgba(255,255,255,.7), transparent 26rem),
    linear-gradient(135deg, rgba(120,174,182,.22), rgba(255,189,122,.2));
  box-shadow: 0 32px 90px rgba(68, 46, 25, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.moment-card:nth-child(2) {
  transform: translateY(3rem);
}

.moment-card:hover {
  transform: translateY(-0.45rem);
  box-shadow: 0 42px 110px rgba(49, 95, 107, 0.18);
}

.moment-card:nth-child(2):hover {
  transform: translateY(2.55rem);
}

.card-number {
  margin-bottom: auto;
  width: fit-content;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  color: white;
  background: var(--sea-dark);
  font-weight: 800;
  font-size: 0.78rem;
}

.moment-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.055em;
}

.moment-card p {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.cinematic-panel {
  position: relative;
  min-height: 42rem;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.62fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(4rem, 10vw, 8rem);
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: clamp(34px, 6vw, 70px);
  color: white;
  background:
    linear-gradient(120deg, rgba(12, 32, 42, 0.92), rgba(49, 95, 107, 0.78)),
    url('IMG_1876.JPG') center / cover;
  box-shadow: 0 50px 140px rgba(14, 31, 39, 0.28);
}

.cinematic-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 189, 122, 0.3), transparent 24rem),
    linear-gradient(90deg, rgba(8, 25, 33, 0.78), transparent 68%);
  pointer-events: none;
}

.panel-copy {
  position: relative;
  z-index: 2;
}

.cinematic-panel .section-kicker,
.cinematic-panel h2,
.cinematic-panel p {
  color: white;
}

.cinematic-panel p {
  color: rgba(255,255,255,.76);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  padding: 1rem 1.25rem 1rem 1.45rem;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  box-shadow: 0 20px 60px rgba(255, 189, 122, 0.18);
  font-weight: 900;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.primary-cta::after {
  content: '→';
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: white;
  background: var(--sea-dark);
}

.primary-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 28px 70px rgba(255, 189, 122, 0.25);
}

.panel-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(330px, 100%);
  justify-self: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 36px;
  overflow: hidden;
  transform: rotate(4deg);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
}

.panel-photo-wrap img {
  width: 100%;
  filter: saturate(1.05);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  color: rgba(17, 26, 33, 0.7);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.site-footer a {
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 750ms cubic-bezier(.2,.9,.2,1), transform 750ms cubic-bezier(.2,.9,.2,1);
}

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

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-copy {
    align-self: start;
    padding-top: 18vh;
  }

  .hero h1 {
    font-size: clamp(4.8rem, 23vw, 8rem);
  }

  .hero-subtitle {
    margin-left: 0;
    width: min(28rem, 92%);
  }

  .photo-stage {
    right: 50%;
    bottom: 7vh;
    width: min(68vw, 340px);
    transform: translate(50%, var(--hero-photo-y)) scale(var(--hero-photo-scale));
  }

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

  .moment-card,
  .moment-card:nth-child(2),
  .moment-card:hover,
  .moment-card:nth-child(2):hover {
    transform: none;
  }

  .moment-card {
    min-height: 17rem;
  }

  .cinematic-panel {
    grid-template-columns: 1fr;
  }

  .panel-photo-wrap {
    width: min(260px, 70%);
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .site-header {
    width: calc(100% - 20px);
  }

  .hero-copy {
    width: calc(100% - 28px);
  }

  .title-line-offset {
    padding-left: 1.6rem;
  }

  figcaption {
    display: none;
  }

  .intro,
  .cinematic-panel,
  .site-footer,
  .moments {
    width: calc(100% - 24px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-light {
    display: none;
  }
}
