/* ==========================================================================
   Momento’d marketing website
   Built from Figma: "Momento’d marketing website" (node 4714:7335)
   ========================================================================== */

:root {
  /* Color */
  --ink: #1c204b;
  --ink-soft: #283c50;
  --muted: #667a83;
  --teal: #138c86;
  --teal-bright: #31bcaf;
  --script-blue: #1a5f95;
  --line: #dbe8e9;
  --mint: #eff8f7;
  --sand: #faf9f5;
  --sky: #eef6fb;
  --white: #fff;
  --black: #000;

  /* Type */
  --font-display: "Source Sans 3", system-ui, sans-serif;
  --font-body: "Lato", system-ui, sans-serif;
  --font-title: "Open Sans", system-ui, sans-serif;
  --font-script: "Cardo", Georgia, serif;
  --font-badge: "Inter", system-ui, sans-serif;

  /* Effects */
  --shadow-card: 0 16px 40px rgba(28, 32, 75, 0.08);

  /* Layout */
  --max-width: 1440px;
  --gutter: clamp(16px, 6.667vw, 96px);
  --nav-gutter: clamp(16px, 4.444vw, 64px);
  --nav-height: 104px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tint-mint { background: var(--mint); }
.tint-sand { background: var(--sand); }

/* ---------- Type styles ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--teal);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.small {
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--muted);
}

.script {
  font-family: var(--font-script);
  font-style: italic;
  white-space: nowrap;
}

/* ---------- App Store button ---------- */

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 10px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.app-store-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app-store-small {
  font-family: var(--font-badge);
  font-size: 9px;
  line-height: 10px;
  letter-spacing: 0.5px;
}

.app-store-large {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
}

/* ---------- Brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.5px;
  color: var(--ink);
  white-space: nowrap;
}

/* ==========================================================================
   Website navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(28, 32, 75, 0.06);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding-inline: var(--nav-gutter);
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  white-space: nowrap;
  padding-block: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  border: 0;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ==========================================================================
   A life worth remembering (hero)
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 510fr) minmax(0, 674fr);
  gap: 64px;
  align-items: center;
  padding-block: 72px;
}

.hero-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.text-link {
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--teal);
  white-space: pre;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 12px;
}

.journey-tags li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--muted);
}

/* Collages are drawn on a fixed design canvas and scaled with container
   units, so every overlapping piece keeps its exact position at any width.
   --u is one design pixel. */
.collage {
  position: relative;
  width: 100%;
  container-type: inline-size;
}

.collage > * {
  position: absolute;
}

.hero-collage {
  --u: calc(100cqw / 674);
  aspect-ratio: 674 / 580;
  max-width: 674px;
  justify-self: end;
}

.hero-photo {
  left: calc(50 * var(--u));
  top: 0;
  width: calc(624 * var(--u));
  height: calc(500 * var(--u));
  max-width: none;
  object-fit: cover;
  border-radius: calc(16 * var(--u));
}

.location-label {
  left: calc(74 * var(--u));
  top: calc(24 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(10 * var(--u)) calc(14 * var(--u));
  background: var(--white);
  border-radius: calc(6 * var(--u));
  font-size: max(calc(13 * var(--u)), 9px);
  color: var(--ink);
  white-space: nowrap;
}

.location-label img,
.saved-memory img,
.journal-meta img {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
}

.journal-entry {
  left: calc(7.38 * var(--u));
  top: calc(326 * var(--u));
  width: calc(326 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  padding: calc(16 * var(--u));
  background: var(--white);
  border-radius: calc(12 * var(--u));
  box-shadow: var(--shadow-card);
  transform: rotate(-4deg);
}

.journal-photo {
  width: 100%;
  height: calc(128 * var(--u));
  object-fit: cover;
  border-radius: calc(8 * var(--u));
}

.journal-entry .title {
  font-size: max(calc(17 * var(--u)), 10px);
  white-space: nowrap;
}

.journal-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: max(calc(12 * var(--u)), 8px);
  color: var(--muted);
  white-space: nowrap;
}

.saved-memory {
  left: calc(367 * var(--u));
  top: calc(472 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(16 * var(--u));
  background: var(--white);
  border-radius: calc(12 * var(--u));
  box-shadow: var(--shadow-card);
  font-size: max(calc(14 * var(--u)), 9px);
  color: var(--ink);
  white-space: nowrap;
}

.saved-memory img {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}

.hero-caption {
  left: calc(362 * var(--u));
  top: calc(544 * var(--u));
  font-size: max(calc(20 * var(--u)), 11px);
  color: var(--script-blue);
}

/* ==========================================================================
   Meet Momento’d
   ========================================================================== */

.meet .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 64px;
}

.meet-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.6px;
  text-align: center;
}

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

.pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Discover trips and events
   ========================================================================== */

.discover .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 88px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 620fr) minmax(0, 544fr);
  gap: 80px;
  align-items: end;
}

.heading-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.discovery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.discovery-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.memory-photo {
  position: relative;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
}

.memory-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.discovery-card:hover .memory-photo > img {
  transform: scale(1.04);
}

.category {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 12px;
  background: var(--white);
  border-radius: 6px;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--ink);
}

.story {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--muted);
}

/* ==========================================================================
   Save your memories
   ========================================================================== */

.remember-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 100px;
  align-items: center;
  padding-block: 80px;
}

.app-stage {
  --u: calc(100cqw / 560);
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 700;
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backdrop {
  position: absolute;
  left: calc(16 * var(--u));
  top: calc(84 * var(--u));
  width: calc(528 * var(--u));
  height: calc(528 * var(--u));
}

.app-preview {
  position: relative;
  width: calc(323 * var(--u));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(24 * var(--u));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.app-preview img {
  width: 100%;
  height: calc(650 * var(--u));
  object-fit: cover;
}

.remember-story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.memory-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.memory-features li {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 88px;
}

.centered-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

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

.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.step-number {
  font-family: var(--font-script);
  font-size: 40px;
  color: var(--teal-bright);
}

/* ==========================================================================
   Share the story
   ========================================================================== */

.share-grid {
  display: grid;
  grid-template-columns: minmax(0, 480fr) minmax(0, 672fr);
  gap: 96px;
  align-items: center;
  padding-block: 80px;
}

.share-story {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--ink-soft);
}

.share-collage {
  --u: calc(100cqw / 672);
  aspect-ratio: 672 / 474;
  max-width: 672px;
}

.share-photo {
  left: 0;
  top: 0;
  width: calc(576 * var(--u));
  height: calc(410 * var(--u));
  max-width: none;
  object-fit: cover;
  border-radius: calc(16 * var(--u));
}

.postcard {
  left: calc(400.36 * var(--u));
  top: calc(234.15 * var(--u));
  width: calc(270 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u));
  background: var(--white);
  border-radius: calc(12 * var(--u));
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
}

.postcard-photo {
  width: 100%;
  height: calc(125 * var(--u));
  object-fit: cover;
  border-radius: calc(8 * var(--u));
}

.postcard-note {
  font-size: max(calc(21 * var(--u)), 11px);
  color: var(--ink);
}

.postcard-action {
  display: flex;
  align-items: center;
  gap: calc(7 * var(--u));
  font-size: max(calc(12 * var(--u)), 8px);
  line-height: 1.25;
  letter-spacing: 0.12px;
  color: var(--teal);
  white-space: nowrap;
}

.postcard-action img {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
}

.share-caption {
  left: calc(10 * var(--u));
  top: calc(436 * var(--u));
  font-size: max(calc(19 * var(--u)), 11px);
  color: var(--muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-block: 88px;
}

.testimonials-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: var(--mint);
  border-radius: 12px;
}

.testimonial blockquote {
  font-family: var(--font-script);
  font-size: 25px;
  line-height: 1.4;
  color: var(--ink);
}

/* ==========================================================================
   Download Momento’d
   ========================================================================== */

.download .container {
  padding-bottom: 64px;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 60px 80px;
  background: var(--sky);
  border-radius: 24px;
  text-align: center;
}

.download-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.06vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Contact and LinkedIn
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 540fr) minmax(0, 612fr);
  gap: 96px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 80px;
}

.contact-invitation {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-invitation .lead {
  line-height: 1.5;
}

.connections {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.connection {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.connection-email {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.connection-icon,
.linkedin-mark {
  flex: none;
  margin-top: 10.5px;
}

.linkedin-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.connection-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.connection-email-address {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--teal);
  overflow-wrap: anywhere;
}

.connection-arrow {
  flex: none;
  margin-top: 12.5px;
  transition: transform 0.2s ease;
}

.connection:hover .connection-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Website footer
   ========================================================================== */

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-block: 40px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--ink);
}

.footer-links a:hover,
.footer-details a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-details {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.12px;
  color: var(--muted);
}

.footer-details a {
  color: var(--teal);
}

/* ==========================================================================
   Scroll reveal (only when JS is running)
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .memory-photo > img,
  .app-store-btn,
  .connection-arrow { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .remember-grid { gap: 56px; }
  .share-grid,
  .contact-grid { gap: 56px; }
  .section-intro { gap: 48px; }
}

@media (max-width: 960px) {
  :root { --nav-height: 76px; }

  .brand-wordmark { font-size: 22px; }
  .brand img { width: 44px; height: auto; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--nav-gutter) 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(28, 32, 75, 0.06);
    visibility: hidden;
    opacity: 0;
    translate: 0 -8px;
    transition: opacity 0.2s ease, translate 0.2s ease, visibility 0.2s;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
  }

  .nav-links a {
    padding-block: 14px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }

  .nav-cta { margin-left: auto; margin-right: 12px; }

  .hero-grid,
  .section-intro,
  .remember-grid,
  .share-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-grid { padding-block: 48px 64px; }
  .hero-collage { justify-self: center; }

  .remember-grid { justify-items: center; }
  .remember-story { justify-self: stretch; }

  .pillars,
  .steps,
  .testimonial-cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .discovery-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .memory-photo { height: clamp(220px, 56vw, 360px); }

  .meet .container,
  .discover .container,
  .how .container,
  .testimonials .container { padding-block: 64px; }

  .remember-grid,
  .share-grid { padding-block: 64px; }

  .download-card { padding: 48px 24px; }

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

@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }

  .display br,
  .section-title br { display: none; }

  .lead { font-size: 17px; }
  .meet-heading { font-size: 26px; }
  .testimonial blockquote { font-size: 22px; }

  .footer-details { flex-direction: column; }
}
