:root {
  color-scheme: light;
  --ink: #1a1714;
  --ink-soft: #4c463e;
  --paper: #fbf8f1;
  --paper-deep: #f0e7d7;
  --ivory: #fffdf8;
  --vine: #1f4237;
  --vine-deep: #10241f;
  --sage: #6f8778;
  --gold: #c09554;
  --gold-deep: #7f5a25;
  --rose: #9f6159;
  --line: rgba(26, 23, 20, 0.14);
  --shadow: 0 28px 80px rgba(21, 17, 13, 0.18);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body,
button,
input,
textarea {
  font: inherit;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: fixed;
  left: 24px;
  top: 18px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 16px 44px;
  color: var(--ivory);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 248, 241, 0.94);
  box-shadow: 0 14px 40px rgba(16, 36, 31, 0.12);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 254px;
  font-weight: 800;
}

.brand img {
  width: auto;
  height: 48px;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.brand span {
  color: currentColor;
  font-size: 1rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a,
.nav-cta {
  opacity: 0.88;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.nav-cta:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--vine-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 18, 0.9) 0%, rgba(12, 22, 18, 0.58) 38%, rgba(12, 22, 18, 0.1) 100%),
    url("./assets/wedding-keepsake-hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 20, 17, 0.2), rgba(13, 20, 17, 0.34) 72%, var(--paper) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 88px));
  margin: 0 0 34px 44px;
  color: var(--ivory);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 {
  margin-top: 18px;
  font-size: 3.3rem;
  max-width: 760px;
}

.hero-copy {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #17120d;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.button-primary:hover {
  background: #d3a967;
}

.button-secondary {
  background: rgba(255, 253, 248, 0.12);
  color: var(--ivory);
  border-color: rgba(255, 253, 248, 0.5);
}

.button-secondary:hover {
  background: rgba(255, 253, 248, 0.18);
}

.button-quiet {
  border-color: rgba(26, 23, 20, 0.2);
  color: var(--ink);
  background: transparent;
}

.button-quiet:hover {
  border-color: rgba(26, 23, 20, 0.38);
  background: rgba(255, 255, 255, 0.38);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  border: 1px solid rgba(255, 253, 248, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

.section {
  padding: 104px 44px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-top: 72px;
  background: var(--paper);
}

.intro-grid,
.experience-grid,
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.intro-grid h2,
.experience-copy h2,
.section-heading h2,
.proof-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 3rem;
}

.intro-grid p,
.experience-copy p,
.section-heading p,
.proof-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.experience-section {
  background: linear-gradient(180deg, var(--paper) 0%, #ece0cf 100%);
}

.sample-stage {
  position: relative;
  min-height: 620px;
}

.sample-card {
  position: relative;
  z-index: 2;
  width: min(430px, 86%);
  min-height: 566px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sample-card-image {
  height: 444px;
  background: #e6d9c7;
  overflow: hidden;
}

.sample-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.sample-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.sample-card-footer span,
.journey-card span,
.workflow-steps span {
  display: block;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-card-footer strong {
  display: block;
  margin-top: 4px;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  font-size: 1.42rem;
}

.sample-card-footer img {
  width: 88px;
  height: 88px;
  border: 8px solid #fff;
  box-shadow: 0 8px 18px rgba(26, 23, 20, 0.12);
}

.phone-preview {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 52px;
  width: 360px;
  border: 10px solid #151311;
  border-radius: 42px;
  background: #151311;
  box-shadow: 0 28px 60px rgba(16, 36, 31, 0.28);
  transform: rotate(4deg);
}

.phone-screen {
  position: relative;
  height: 660px;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.6));
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-screen span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  padding: 11px 14px;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.experience-copy {
  padding-left: 24px;
}

.experience-copy h2 {
  max-width: 10ch;
}

.instruction-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.instruction-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.instruction-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--vine);
  color: var(--ivory);
  font-weight: 900;
}

.instruction-list p {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.ideas-section,
.workflow-section {
  background: var(--ivory);
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin-top: 18px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.journey-card {
  min-height: 394px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: #fbf7ed;
  box-shadow: 0 16px 45px rgba(21, 17, 13, 0.06);
}

.journey-card-featured {
  background: var(--vine);
  color: var(--ivory);
  transform: translateY(-16px);
}

.journey-card h3 {
  margin-top: 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1.12;
}

.journey-card ul {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.journey-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.5;
}

.journey-card-featured li {
  color: rgba(255, 253, 248, 0.84);
}

.journey-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.proof-section {
  background:
    linear-gradient(rgba(16, 36, 31, 0.92), rgba(16, 36, 31, 0.92)),
    url("./assets/wedding-keepsake-hero.png") center / cover no-repeat;
  color: var(--ivory);
}

.proof-copy h2,
.proof-copy p {
  color: var(--ivory);
}

.proof-copy p {
  color: rgba(255, 253, 248, 0.82);
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list div {
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(14px);
}

.value-list strong {
  display: block;
  font-size: 1.08rem;
}

.value-list p {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.65;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.workflow-steps article {
  min-height: 296px;
  border-top: 2px solid var(--gold);
  padding: 24px 20px;
  background: #f6efe3;
}

.workflow-steps h3 {
  margin-top: 48px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.54rem;
}

.workflow-steps p {
  margin-top: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
  padding: 42px 44px;
  background: #15120f;
  color: rgba(255, 253, 248, 0.76);
}

.site-footer img {
  width: auto;
  height: 64px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  max-width: 410px;
  margin-top: 12px;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--ivory);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .intro-grid,
  .experience-grid,
  .proof-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .experience-copy {
    padding-left: 0;
  }

  .journey-grid,
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-card-featured {
    transform: none;
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: auto;
    height: 46px;
  }

  .brand span,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(12, 22, 18, 0.58) 0%, rgba(12, 22, 18, 0.76) 54%, rgba(12, 22, 18, 0.92) 100%),
      url("./assets/wedding-keepsake-hero.png") center / cover no-repeat;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 44px;
  }

  .hero h1 {
    font-size: 2.25rem;
    max-width: 14ch;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 18px;
  }

  .intro-grid h2,
  .experience-copy h2,
  .section-heading h2,
  .proof-copy h2 {
    font-size: 2.26rem;
  }

  .sample-stage {
    min-height: 680px;
  }

  .sample-card {
    width: 88%;
    min-height: 500px;
  }

  .sample-card-image {
    height: 376px;
  }

  .sample-card-footer {
    padding: 18px;
  }

  .sample-card-footer img {
    width: 76px;
    height: 76px;
  }

  .phone-preview {
    right: 0;
    bottom: 0;
    width: 250px;
    border-width: 8px;
    border-radius: 34px;
  }

  .phone-screen {
    height: 454px;
    border-radius: 24px;
  }

  .journey-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .journey-card,
  .workflow-steps article {
    min-height: auto;
  }

  .workflow-steps h3 {
    margin-top: 30px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
