/* Saved Here — Object Editorial landing page.
   The two product compositions are illustrative; all claims and links are real. */

.saved-here-home {
  --sh-forest: #10271e;
  --sh-forest-deep: #081812;
  --sh-moss: #a8bc8b;
  --sh-cream: #f4f1e9;
  --sh-paper: #e8e1d2;
  --sh-card: #f9f6ee;
  --sh-wine: #7b1e23;
  background: var(--sh-forest-deep);
  overflow-x: clip;
}

.saved-here-home .wrap {
  max-width: none;
  padding-inline: 0;
}

.saved-here-home .sh-masthead {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  max-width: 94rem;
  width: 100%;
  margin-inline: auto;
  padding: 1.35rem clamp(1.25rem, 4vw, 4rem);
  color: var(--sh-cream);
}

.saved-here-home .sh-masthead .wordmark {
  color: var(--sh-cream);
  font-size: 1.05rem;
}

.saved-here-home .sh-masthead .wordmark img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
}

.saved-here-home .sh-masthead nav {
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2rem);
}

.saved-here-home .sh-masthead nav a {
  color: rgb(244 241 233 / 82%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.saved-here-home .sh-masthead nav a:hover,
.saved-here-home .sh-masthead nav a:focus-visible {
  color: var(--sh-cream);
}

.sh-store-placeholder,
.sh-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(244 241 233 / 42%);
  border-radius: 999px;
  color: var(--sh-cream);
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
}

.sh-store-link {
  background: var(--sh-cream);
  color: var(--sh-forest-deep);
  text-decoration: none;
}

.sh-store-link:hover,
.sh-store-link:focus-visible {
  background: var(--sh-moss);
  color: var(--sh-forest-deep);
}

.saved-here-home .eyebrow {
  color: var(--sh-moss);
}

.sh-hero {
  min-height: min(58rem, 100svh);
  display: flex;
  align-items: center;
  padding: clamp(8rem, 14vw, 11rem) clamp(1.25rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
  border: 0;
  color: var(--sh-cream);
  background-color: var(--sh-forest-deep);
  background-image: url("../assets/forest-background.webp");
  background-position: center;
  background-size: cover;
}

.sh-hero-inner {
  width: 100%;
  max-width: 94rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(19rem, 0.84fr) minmax(32rem, 1.16fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
}

.sh-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.sh-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  color: var(--sh-cream);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6.25vw, 6.35rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.sh-hero .lede {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: rgb(244 241 233 / 80%);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

.sh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.saved-here-home .sh-primary {
  background: var(--sh-moss);
  color: #102018;
  border-radius: 999px;
  padding-inline: 1.3rem;
}

.saved-here-home .sh-primary:hover,
.saved-here-home .sh-primary:focus-visible {
  background: var(--sh-cream);
  color: var(--sh-forest-deep);
}

.sh-text-link,
.sh-proof a {
  color: inherit;
  font-weight: 650;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

.sh-hero .sh-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--sh-cream);
}

.sh-hero .release-note {
  margin: 0.75rem 0 0;
  color: rgb(244 241 233 / 82%);
  font-size: 0.84rem;
}

.sh-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgb(244 241 233 / 25%);
}

.sh-facts .product-fact {
  min-width: 0;
}

.sh-facts dt {
  color: var(--sh-moss);
  font-family: var(--font-editorial);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
}

.sh-facts dd {
  margin: 0.25rem 0 0;
  color: rgb(244 241 233 / 82%);
  font-size: 0.78rem;
  line-height: 1.3;
}

.sh-store-row {
  margin-top: 1.35rem;
}

.sh-store-row .sh-store-placeholder,
.sh-store-row .sh-store-link {
  min-width: 12.5rem;
  justify-content: center;
  border-radius: 0.7rem;
  background: rgb(8 24 18 / 74%);
}

.sh-store-row .sh-store-link {
  background: var(--sh-cream);
}

.sh-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  overflow: clip;
}

.sh-hero-visual img {
  display: block;
  width: min(100%, 60rem);
  height: auto;
  filter: drop-shadow(0 2rem 2.5rem rgb(0 0 0 / 32%));
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sh-hero-visual img,
  .sh-proof img {
    transition: transform 260ms cubic-bezier(.23, 1, .32, 1), filter 260ms cubic-bezier(.23, 1, .32, 1);
  }

  .sh-hero-visual:hover img {
    transform: translateY(-0.75rem) rotate(0.7deg);
    filter: drop-shadow(0 2.5rem 3rem rgb(0 0 0 / 38%));
  }

  .sh-proof:hover img {
    transform: translateX(-0.75rem);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.motion-enabled.motion-ready .sh-hero-copy {
    animation: sh-hero-copy-in 820ms var(--ease-quint-out) both;
  }

  html.motion-enabled.motion-ready .sh-hero-visual {
    animation: sh-hero-product-in 980ms 80ms var(--ease-quint-out) both;
  }
}

@keyframes sh-hero-copy-in {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sh-hero-product-in {
  from { opacity: 0; transform: translate3d(2.5rem, 1rem, 0) rotate(1.5deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}

.sh-proof {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(26rem, 1.28fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 5rem);
  min-height: 34rem;
  padding: clamp(4rem, 8vw, 7rem) max(clamp(1.25rem, 5vw, 5rem), calc((100vw - 94rem) / 2));
  border: 0;
  overflow: hidden;
  background: var(--sh-forest-deep);
  color: var(--sh-cream);
}

.sh-proof-copy {
  position: relative;
  z-index: 1;
}

.sh-proof h2 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  color: var(--sh-cream);
  font-size: clamp(2.5rem, 5vw, 5.25rem);
  line-height: 0.98;
}

.sh-proof p:not(.eyebrow) {
  color: rgb(244 241 233 / 84%);
}

.sh-proof img {
  width: min(70rem, 118%);
  max-width: none;
  height: auto;
  display: block;
  justify-self: start;
  filter: drop-shadow(0 1.75rem 2rem rgb(0 0 0 / 35%));
}

.sh-content {
  background: var(--sh-cream);
  color: var(--ink);
}

.sh-content .eyebrow {
  color: var(--sh-wine);
}

.sh-content > section {
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}

.sh-content > section:first-child {
  border-top: 0;
}

.sh-content h2 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.sh-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.sh-flow-card {
  min-width: 0;
  display: grid;
  gap: 1.5rem;
}

.sh-flow-card:nth-child(2) {
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

.sh-flow-copy {
  min-height: 9rem;
}

.sh-how .num {
  color: var(--sh-wine);
}

.sh-flow-card figure {
  width: min(100%, 18rem);
  margin: 0 auto;
}

.sh-flow-card figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.sh-flow-card .device-frame {
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 12%),
    inset 0 0 0 3px rgb(0 0 0 / 42%),
    0 1.4rem 3rem rgb(16 39 30 / 18%);
}

.sh-refusal {
  background: var(--sh-paper);
}

.sh-refusal ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 60rem;
}

.sh-refusal li::before {
  background: var(--sh-wine);
}

.sh-limits .limits {
  max-width: 43rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.saved-here-home footer {
  margin: 0;
  padding: 3rem max(clamp(1.25rem, 5vw, 4rem), calc((100vw - 80rem) / 2)) 5rem;
  border: 0;
  background: var(--sh-forest-deep);
  color: rgb(244 241 233 / 82%);
}

.saved-here-home .sh-proof a,
.saved-here-home .sh-limits a,
.saved-here-home footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.saved-here-home footer a {
  color: var(--sh-cream);
}

@media (max-width: 850px) {
  .sh-hero {
    min-height: auto;
    padding-top: 8rem;
    background-position: 58% center;
  }

  .sh-hero-inner,
  .sh-proof {
    grid-template-columns: 1fr;
  }

  .sh-hero-copy {
    max-width: 34rem;
  }

  .sh-hero-visual {
    justify-content: center;
  }

  .sh-hero-visual img {
    width: min(46rem, 112%);
  }

  .sh-proof {
    gap: 2rem;
  }

  .sh-proof img {
    width: min(56rem, 122%);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .saved-here-home .sh-masthead nav a {
    display: none;
  }
}

@media (max-width: 560px) {
  .saved-here-home .sh-masthead {
    padding-block: 1rem;
  }

  .saved-here-home .sh-masthead nav {
    gap: 0;
  }

  .saved-here-home .sh-masthead .wordmark img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .sh-store-placeholder-compact,
  .sh-store-link-compact {
    min-height: 40px;
    font-size: 0.78rem;
    padding-inline: 0.8rem;
  }

  .sh-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .sh-hero h1 {
    font-size: clamp(3rem, 11.8vw, 3.75rem);
    letter-spacing: -0.04em;
    max-width: 100%;
  }

  .sh-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .sh-hero-visual img {
    width: 110%;
    max-width: none;
    margin-inline: -5%;
  }

  .sh-proof {
    min-height: auto;
    padding-block: 4rem 2.25rem;
  }

  .sh-proof img {
    width: 145%;
    margin-inline: -22%;
  }

  .sh-flow,
  .sh-refusal ul {
    grid-template-columns: 1fr;
  }

  .sh-flow-card,
  .sh-flow-card:nth-child(2) {
    margin-top: 0;
  }

  .sh-flow-card {
    gap: 1rem;
  }

  .sh-flow-copy {
    min-height: 0;
  }

  .sh-content h2,
  .sh-proof h2 {
    font-size: clamp(2.5rem, 13vw, 3.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .saved-here-home *,
  .saved-here-home *::before,
  .saved-here-home *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .sh-hero,
  .sh-proof,
  .saved-here-home footer {
    background: #fff;
    color: #000;
  }

  .sh-hero h1,
  .sh-proof h2 {
    color: #000;
  }
}
