:root {
  --ink: #16323a;
  --ink-soft: #3a5a64;
  --foam: #f3f7f6;
  --mist: #d7e6e2;
  --water: #2a6b78;
  --water-deep: #1a4650;
  --reed: #4a6b52;
  --sand: #c9b896;
  --white: #ffffff;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #e6f0ed 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 20%, #dce8e4 0%, transparent 50%),
    linear-gradient(180deg, #eef4f2 0%, var(--foam) 40%, #e8f0ed 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.brand,
.footer-brand,
.logo {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--foam) 88%, transparent);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.site-header.is-scrolled .logo {
  color: var(--water-deep);
  text-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover {
  opacity: 0.75;
}

.site-header.is-scrolled .nav a {
  color: var(--ink-soft);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-cta:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled .nav-cta {
  border-color: var(--water);
  color: var(--water-deep);
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--water-deep);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 36, 42, 0.28) 0%, rgba(12, 36, 42, 0.15) 35%, rgba(12, 36, 42, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 36, 42, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 6rem);
  animation: rise 1.1s var(--ease) both;
}

.brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 500;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-size: 1.08rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sand);
  color: var(--ink);
}

.btn-primary:hover {
  background: #d6c5a5;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-intro h2,
.craft-copy h2,
.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--water-deep);
}

.section-intro p,
.craft-copy > p,
.contact-panel > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
}

.waters-grid {
  display: grid;
  gap: 2.5rem;
}

.water-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.water-block:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.water-block:nth-child(even) img {
  order: 2;
}

.water-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.water-block h3 {
  margin: 0 0 0.6rem;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--water-deep);
}

.water-block p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.craft {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background:
    linear-gradient(180deg, transparent, rgba(42, 107, 120, 0.06)),
    linear-gradient(90deg, rgba(74, 107, 82, 0.05), transparent 40%);
}

.craft-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.craft-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.craft-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--water) 25%, transparent);
}

.craft-list strong {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--water-deep);
}

.craft-list span {
  color: var(--ink-soft);
  font-weight: 300;
}

.craft-visual img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.moments {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.moments .section-intro {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.moments-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
}

.moments-strip figure {
  margin: 0;
  overflow: hidden;
}

.moments-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.moments-strip figure:hover img {
  transform: scale(1.04);
}

.trips-list {
  display: grid;
  gap: 0;
}

.trip {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1.4fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid color-mix(in srgb, var(--water) 22%, transparent);
}

.trip:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--water) 22%, transparent);
}

.trip-photo {
  width: 9.5rem;
  height: 7rem;
  object-fit: cover;
}

.trip-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--water-deep);
}

.trip-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.trip-meta {
  white-space: nowrap;
  color: var(--reed) !important;
  font-weight: 500 !important;
  font-size: 0.95rem;
}

.contact {
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

.game-shell {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.game-hud {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.game-hud strong {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--water-deep);
  margin-left: 0.25rem;
}

.game-stage {
  position: relative;
}

#hook-game {
  display: block;
  width: 100%;
  height: auto;
  background: var(--water-deep);
  touch-action: none;
  cursor: crosshair;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  background: color-mix(in srgb, var(--water-deep) 55%, transparent);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
}

.game-overlay[hidden] {
  display: none;
}

.game-title {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
}

.game-hint {
  margin: 0 0 0.6rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.game-controls {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 300;
}

.contact-panel {
  max-width: 40rem;
}

.contact-form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--water) 28%, transparent);
  background: color-mix(in srgb, var(--white) 70%, var(--mist));
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--water);
  background: var(--white);
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--reed);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--water) 18%, transparent);
  color: var(--ink-soft);
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--water-deep);
}

.site-footer p {
  margin: 0;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a:hover {
  color: var(--water-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (max-width: 900px) {
  .water-block,
  .water-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .water-block:nth-child(even) img {
    order: 0;
  }

  .craft-layout {
    grid-template-columns: 1fr;
  }

  .craft-visual img {
    aspect-ratio: 16 / 10;
  }

  .moments-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip {
    grid-template-columns: 7.5rem 1fr;
    gap: 0.85rem 1rem;
  }

  .trip-photo {
    width: 7.5rem;
    height: 5.75rem;
  }

  .trip-meta {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    padding: 5rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: color-mix(in srgb, var(--foam) 96%, transparent);
    backdrop-filter: blur(12px);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
  }

  .nav a,
  .site-header.is-scrolled .nav a,
  .site-header .nav a {
    color: var(--water-deep);
  }

  .nav-cta,
  .site-header.is-scrolled .nav-cta {
    border-color: var(--water);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .moments-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .trip {
    grid-template-columns: 1fr;
  }

  .trip-photo {
    width: 100%;
    height: 11rem;
  }

  .trip-meta {
    grid-column: 1;
  }
}
