/* Landing-page modules. Catalog/dialog styles remain in site.css. */
.story .story-track .story-card > img {
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: contain;
}
:root {
  --surface-soft: #e9e7de;
  --surface-warm: #e8ddd1;
  --radius-panel: 24px;
}
.story {
  padding: 32px 0 80px;
}
.story-stage {
  padding: 32px var(--gutter);
}
.story-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.story-heading h2 {
  font: 600 clamp(24px, 2.5vw, 40px) / 1.1 var(--display);
}
.story-heading h2 span {
  color: var(--muted);
}
.story-heading .text-link {
  flex-shrink: 0;
}
.story-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.story-card {
  min-width: 0;
}
.story-number {
  position: relative;
  font: 700 clamp(88px, 10vw, 152px) / 1 var(--display);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.story-number > span {
  position: absolute;
  left: 80px;
  top: 36%;
  padding: 8px 16px;
  transform: rotate(-8deg);
  background: #ff9865;
  font: 600 28px/1 var(--display);
  border-radius: var(--radius-control);
}
.story-card:nth-child(2) .story-number > span {
  background: #a4d1e8;
}
.story-card:nth-child(3) .story-number > span {
  background: #e4cc64;
}
.story-card:nth-child(4) .story-number > span {
  background: #91c7b7;
}
.story-card > p {
  font-size: 14px;
  line-height: 1.65;
  padding: 24px 0;
  max-width: 440px;
}
.story-card > img,
.story-device {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-panel);
  background: #d9e3e7;
}
.story-device {
  display: flex;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.story-device img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.scroll-enhanced .story {
  height: var(--story-height);
  padding: 0;
}
.scroll-enhanced .story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scroll-enhanced .story-clip {
  overflow: clip;
}
.scroll-enhanced .story-track {
  display: flex;
  gap: 64px;
  will-change: transform;
}
.scroll-enhanced .story-card {
  flex: 0 0 38vw;
}
.scroll-enhanced .story-card > p {
  min-height: 108px;
}
.scroll-enhanced .story-card > img,
.scroll-enhanced .story-device {
  height: min(34svh, 380px);
}

.process {
  background: var(--surface-soft);
  border-radius: 64px 64px 0 0;
}
.process > .display-heading {
  font-size: clamp(52px, 7.2vw, 112px);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.process-grid article {
  background: var(--paper);
  border-radius: var(--radius-panel);
  padding: 32px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 600 80px/1 var(--display);
  margin-bottom: 56px;
  color: var(--orange);
}
.step-number > span {
  font: 32px var(--body);
  color: var(--ink);
}
.process-grid h3 {
  font: 600 clamp(36px, 3vw, 48px) / 1.05 var(--display);
  margin-bottom: 24px;
}
.process-grid p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.contact {
  background: #f2c448;
  color: var(--brand-navy);
  padding-top: 48px;
  padding-bottom: 48px;
}
.contact .section-kicker {
  margin-bottom: 40px;
}
.contact .small-star {
  color: var(--brand-navy);
}
.contact-marquee {
  overflow: clip;
  border-top: 1px solid #002b4933;
  border-bottom: 1px solid #002b4933;
  padding: 24px 0;
  margin-bottom: 48px;
}
.contact-marquee-track {
  display: flex;
  width: max-content;
  font: 600 clamp(40px, 5vw, 80px) / 1 var(--display);
}
.contact-marquee-track > span {
  white-space: nowrap;
}
.contact-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contact-title {
  font: 700 clamp(88px, 15vw, 240px) / 0.85 var(--display);
  letter-spacing: -0.02em;
}
.outline-text {
  -webkit-text-stroke: 1.5px var(--brand-navy);
  color: transparent;
}
.contact-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: clamp(140px, 17vw, 260px);
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-navy);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.whatsapp-mark {
  display: block;
  width: clamp(54px, 6vw, 82px);
  height: auto;
}
.contact-circle:hover {
  background: var(--paper);
  color: var(--brand-navy);
  transform: rotate(-3deg);
}
.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid #002b4944;
  padding-top: 24px;
}
.contact-bottom > p {
  font-size: 18px;
}
.footer {
  background: var(--hero-surface);
  color: var(--brand-navy);
  padding: 64px var(--gutter) 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer-top > a {
  align-self: start;
  display: block;
  max-width: 360px;
  aspect-ratio: 2170 / 725;
  overflow: hidden;
  border-radius: var(--radius-panel);
}
.footer-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.footer-top > div {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.footer-top .eyebrow {
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-top > div > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}
.footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #002b4940;
  padding-top: 24px;
  font-size: 11px;
}
.footer-bottom a,
#motionToggle {
  display: flex;
  align-items: center;
  min-height: 44px;
}
#motionToggle {
  border: 1px solid #002b4955;
  background: transparent;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--radius-control);
}
#motionToggle[aria-pressed="true"] {
  background: var(--brand-navy);
  color: var(--paper);
}
#motionToggle:disabled {
  cursor: default;
  opacity: 1;
}

@media (max-width: 1100px) {
  .story-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid article {
    padding: 24px;
  }
  .process-grid h3 {
    font-size: 36px;
  }
  .footer-top {
    gap: 32px;
  }
}
@media (max-width: 700px) {
  .story {
    padding: 24px 0 40px;
  }
  .story-stage {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .story-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .story-heading h2 {
    font-size: 28px;
  }
  .story-track {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-number {
    font-size: 104px;
  }
  .story-number > span {
    font-size: 26px;
  }
  .story-card > p {
    font-size: 13px;
    padding: 20px 0;
  }
  .story-card > img,
  .story-device {
    height: 72vw;
    max-height: 400px;
  }
  .process {
    border-radius: 32px 32px 0 0;
  }
  .process > .display-heading {
    font-size: clamp(40px, 10vw, 64px);
  }
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .step-number {
    font-size: 64px;
    margin-bottom: 32px;
  }
  .process-grid h3 {
    font-size: 36px;
  }
  .contact {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .contact .section-kicker {
    font-size: 8px;
    margin-bottom: 32px;
  }
  .contact-marquee {
    margin-bottom: 32px;
    padding: 20px 0;
  }
  .contact-main {
    gap: 20px;
    align-items: start;
    flex-direction: column;
  }
  .contact-title {
    font-size: 24vw;
  }
  .contact-circle {
    width: 120px;
    font-size: 11px;
    gap: 8px;
    align-self: end;
  }
  .whatsapp-mark {
    width: 48px;
  }
  .contact-bottom {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    margin-top: 32px;
  }
  .contact-bottom > p {
    font-size: 16px;
  }
  .contact-bottom .text-link {
    font-size: 12px;
  }
  .footer {
    padding-top: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-top > a {
    grid-column: 1 / -1;
    max-width: 260px;
  }
  .footer-top > div > a {
    font-size: 14px;
  }
  .footer-bottom {
    gap: 16px;
  }
  .footer-bottom > span {
    width: 100%;
  }
  /* Keep category controls compact without wrapping the mobile layout. */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin-right: calc(-1 * var(--gutter));
    padding-right: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    font-size: 10px;
    padding: 10px 12px;
  }
}
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation: none !important;
  transition: none !important;
}
.motion-off .reveal {
  opacity: 1;
  transform: none;
}
.motion-off .contact-marquee-track > span + span {
  display: none;
}
html:has(body.motion-off) {
  scroll-behavior: auto;
}
.catalog-skeleton {
  min-width: 0;
}
.skeleton-cover {
  height: 255px;
  background: #e2e0d9;
  border-radius: var(--radius-panel);
}
.skeleton-line {
  height: 16px;
  width: 90%;
  margin-top: 16px;
  background: #e2e0d9;
}
.skeleton-line:last-child {
  width: 64%;
  margin-bottom: 52px;
}
.button-orange {
  background: #b9351d;
  color: white;
}
@media (max-width: 700px) {
  .skeleton-cover {
    height: 44vw;
    max-height: 260px;
  }
  .skeleton-line {
    height: 12px;
  }
}
