/* styles.css - Memory Vault Brand Stylesheet */
/* Brand Guidelines: Vivid Purple #A020F0, Rose Gold #B76E79, Cream #FFF8EE, Warm Charcoal #2B2524 */

:root {
  --purple: #A020F0;
  --purple-deep: #4F126D;
  --purple-darker: #2F0C45;
  --rose: #B76E79;
  --rose-soft: #F3DBDD;
  --cream: #FFF8EE;
  --cream-2: #F7EEDF;
  --paper: #FFFCF5;
  --charcoal: #2B2524;
  --muted: #665B58;
  --line: rgba(79, 18, 109, 0.14);
  --shadow: 0 24px 80px rgba(47, 12, 69, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(160, 32, 240, 0.09), transparent 34rem),
    linear-gradient(180deg, var(--cream), var(--paper) 38%, var(--cream));
  color: var(--charcoal);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--purple-deep);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 999;
}

.skip-link:focus {
  top: 1rem;
}

.announcement-bar {
  background: var(--purple-darker);
  color: var(--cream);
  text-align: center;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.announcement-bar strong {
  color: #F5C7CD;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  color: var(--purple-deep);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(160, 32, 240, 0.18);
}

.brand-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 700;
  color: var(--purple-deep);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white !important;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(160, 32, 240, 0.26);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 0.65rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--purple-deep);
  margin: 5px 0;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 680px;
  padding: 5.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 3.25rem;
}

.eyebrow {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 900;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.08;
  color: var(--purple-deep);
}

h1,
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  margin: 0;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
}

.hero-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white;
  box-shadow: 0 16px 36px rgba(160, 32, 240, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.64);
  color: var(--purple-deep);
  border: 1px solid var(--line);
}

.trust-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.trust-row span {
  background: rgba(183, 110, 121, 0.12);
  color: var(--purple-deep);
  border: 1px solid rgba(183, 110, 121, 0.24);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
}

.hero-art {
  position: relative;
  min-height: 520px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% 0 8% 4%;
  background:
    radial-gradient(circle, rgba(183, 110, 121, 0.18), transparent 66%),
    linear-gradient(135deg, rgba(160, 32, 240, 0.12), rgba(183, 110, 121, 0.08));
  border-radius: 38% 62% 50% 50%;
  filter: blur(2px);
}

.vault-card {
  position: absolute;
  top: 4%;
  right: 4%;
  width: min(380px, 82%);
  aspect-ratio: 1.08;
  background: linear-gradient(145deg, #4F126D, var(--purple), #733099);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 2px solid rgba(183, 110, 121, 0.62);
}

.vault-card img {
  width: 72%;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.vault-card span {
  color: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  margin-top: 1rem;
  text-align: center;
}

.magnet-stack {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: min(360px, 86%);
  min-height: 330px;
}

.photo-magnet {
  position: absolute;
  width: 230px;
  height: 260px;
  border: 10px solid white;
  border-bottom: 44px solid white;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(47, 12, 69, 0.22);
  background-size: cover;
  background-position: center;
}

.photo-magnet span {
  position: absolute;
  bottom: -35px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--purple-deep);
  font-weight: 900;
}

.photo-one {
  left: 0;
  top: 42px;
  transform: rotate(-8deg);
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.28), rgba(183, 110, 121, 0.3)),
    radial-gradient(circle at 50% 34%, #FFF3E2 0 16%, #B76E79 17% 18%, transparent 19%),
    linear-gradient(145deg, #EFD5BA, #F9E8D3);
}

.photo-two {
  left: 115px;
  top: 5px;
  transform: rotate(7deg);
  background:
    linear-gradient(135deg, rgba(79, 18, 109, 0.25), rgba(183, 110, 121, 0.22)),
    radial-gradient(circle at 50% 42%, #4F126D 0 17%, #B76E79 18% 19%, transparent 20%),
    linear-gradient(145deg, #F2DFD9, #FAF5EB);
}

.photo-three {
  left: 64px;
  top: 122px;
  transform: rotate(1deg);
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.18), rgba(183, 110, 121, 0.23)),
    linear-gradient(145deg, #FFF8EE, #EFD4D8);
}

.benefit-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-strip article {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(47, 12, 69, 0.06);
}

.benefit-strip strong {
  display: block;
  color: var(--purple-deep);
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.benefit-strip span {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

.section-split {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.5rem;
  align-items: start;
}

.section p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card,
.steps article,
.testimonial-grid blockquote,
.faq details,
.contact-form,
.order-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(47, 12, 69, 0.08);
}

.product-card {
  overflow: hidden;
  padding: 1rem;
}

.product-card p {
  min-height: 84px;
}

.product-card a {
  font-weight: 900;
  color: var(--purple);
  text-decoration: none;
}

.product-visual {
  height: 230px;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid rgba(183, 110, 121, 0.22);
}

.product-visual.family {
  background:
    radial-gradient(circle at 54% 38%, #FFF8EE 0 11%, #B76E79 12% 14%, transparent 15%),
    linear-gradient(135deg, rgba(160, 32, 240, 0.22), rgba(183, 110, 121, 0.22)),
    linear-gradient(145deg, #F9E8D3, #F7EEDF);
}

.product-visual.gift {
  background:
    linear-gradient(90deg, transparent 45%, rgba(183, 110, 121, 0.65) 46% 54%, transparent 55%),
    linear-gradient(0deg, transparent 43%, rgba(183, 110, 121, 0.65) 44% 56%, transparent 57%),
    linear-gradient(145deg, #A020F0, #4F126D);
}

.product-visual.event {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.86) 0 9%, transparent 10%),
    radial-gradient(circle at 68% 38%, rgba(255, 255, 255, 0.86) 0 9%, transparent 10%),
    radial-gradient(circle at 48% 72%, rgba(255, 255, 255, 0.86) 0 9%, transparent 10%),
    linear-gradient(145deg, rgba(160, 32, 240, 0.85), rgba(183, 110, 121, 0.78));
}

.how {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.steps article {
  padding: 1.35rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.use-cases {
  background:
    linear-gradient(135deg, rgba(160, 32, 240, 0.08), rgba(183, 110, 121, 0.08));
  border-radius: 36px;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tag-grid span {
  background: var(--paper);
  color: var(--purple-deep);
  border: 1px solid rgba(183, 110, 121, 0.28);
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  font-weight: 800;
}

.gallery-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-card {
  height: 260px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(47, 12, 69, 0.11);
  border: 10px solid #fff;
  border-bottom-width: 44px;
}

.gallery-grid figcaption {
  margin-top: 0.75rem;
  color: var(--purple-deep);
  font-weight: 900;
  text-align: center;
}

.gallery-family {
  background: linear-gradient(145deg, #F4D9C8, #FFF8EE);
}

.gallery-pet {
  background:
    radial-gradient(circle at 50% 42%, #4F126D 0 20%, transparent 21%),
    linear-gradient(145deg, #F1DADC, #FFF8EE);
}

.gallery-wedding {
  background:
    radial-gradient(circle at 30% 35%, rgba(183, 110, 121, 0.5), transparent 20%),
    radial-gradient(circle at 64% 56%, rgba(160, 32, 240, 0.24), transparent 22%),
    linear-gradient(145deg, #FFF8EE, #F4D9C8);
}

.gallery-event {
  background:
    repeating-linear-gradient(45deg, rgba(160, 32, 240, 0.16) 0 10px, transparent 10px 22px),
    linear-gradient(145deg, #FFF8EE, #F4D9C8);
}

.order-section {
  padding-top: 2rem;
}

.order-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at top right, rgba(183, 110, 121, 0.24), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 238, 223, 0.86));
}

.order-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.events-list {
  display: grid;
  gap: 1rem;
}

.event-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(47, 12, 69, 0.07);
}

.event-date {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white;
  border-radius: 18px;
  min-height: 110px;
  text-align: center;
  font-weight: 900;
}

.event-date span {
  display: block;
}

.event-month {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5C7CD;
}

.event-day {
  font-size: 2.5rem;
  line-height: 1;
}

.event-card h3 {
  margin-top: 0.1rem;
}

.event-meta {
  color: var(--rose);
  font-weight: 900;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 1.35rem;
}

.testimonial-grid p {
  color: var(--charcoal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.24rem;
}

.testimonial-grid cite {
  color: var(--rose);
  font-style: normal;
  font-weight: 900;
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq details {
  padding: 1.2rem;
}

.faq summary {
  color: var(--purple-deep);
  cursor: pointer;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-cards a,
.contact-cards span {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: var(--purple-deep);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--purple-deep);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(79, 18, 109, 0.2);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--charcoal);
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 15px;
}

.footer-brand strong {
  display: block;
  color: var(--purple-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.7rem;
}

.footer-brand span,
.copyright {
  color: var(--muted);
}

.footer-links {
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--purple-deep);
  font-weight: 900;
  text-decoration: none;
}

code {
  background: rgba(79, 18, 109, 0.08);
  color: var(--purple-deep);
  border-radius: 6px;
  padding: 0.1rem 0.3rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .section-split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-art {
    min-height: 500px;
  }

  .benefit-strip,
  .product-grid,
  .steps,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1.28rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-art {
    min-height: 430px;
  }

  .vault-card {
    width: 84%;
    right: 0;
  }

  .photo-magnet {
    width: 185px;
    height: 220px;
  }

  .photo-two {
    left: 86px;
  }

  .photo-three {
    left: 42px;
  }

  .section {
    padding: 3.5rem 1rem;
  }

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

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    min-height: 88px;
  }
}

/* Custom Photo Upload Card overrides - to match brand colors and flow */
.order-portal-card {
  max-width: var(--max);
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.order-portal-inner {
  background: var(--paper);
  border: 2px solid var(--rose);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 3rem;
}

.order-portal-title {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}

.order-portal-title h2 {
  margin: 0;
  color: var(--purple-deep);
}

.order-portal-title p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.portal-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.portal-section-title {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: var(--purple-deep);
  margin: 0 0 0.5rem 0;
  border-bottom: 2px solid var(--rose-soft);
  padding-bottom: 0.5rem;
}

.portal-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.portal-input-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.portal-input-group input {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(79, 18, 109, 0.2);
  background: var(--cream);
  font: inherit;
  outline: none;
}

.portal-input-group input:focus {
  border-color: var(--purple);
}

/* Custom Radios for Delivery Options */
.portal-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.portal-radio-card {
  cursor: pointer;
  position: relative;
}

.portal-radio-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.portal-radio-inner {
  border: 2px solid rgba(79, 18, 109, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--cream);
  transition: all 0.2s ease;
}

.portal-radio-card input:checked + .portal-radio-inner {
  border-color: var(--purple);
  background: var(--rose-soft);
}

.portal-radio-title {
  font-weight: 900;
  color: var(--purple-deep);
}

.portal-radio-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Custom upload button to override uploadcare styling */
.portal-uploader-box {
  margin: 1rem 0;
}

.portal-btn-uploader {
  background: var(--rose-soft);
  color: var(--purple-deep);
  border: 2px dashed var(--rose);
  padding: 1.25rem;
  font-size: 1.05rem;
  width: 100%;
  border-radius: var(--radius-md);
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
}

.portal-btn-uploader:hover {
  background: var(--cream-2);
}

.uploadcare--widget {
  display: none !important;
}

.portal-summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.portal-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.portal-qty-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-qty-wrapper input {
  width: 50px;
  padding: 0.25rem;
  border-radius: 6px;
  border: 1px solid rgba(79, 18, 109, 0.2);
  text-align: center;
  font-weight: 700;
}

.portal-total-row {
  border-top: 2px solid var(--rose);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.portal-total-row span {
  font-weight: 900;
}

.portal-total-row strong {
  font-size: 1.6rem;
  font-family: Georgia, serif;
  color: var(--purple-deep);
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .order-portal-inner {
    padding: 1.5rem;
  }
}
