/* Our Story — editorial layout (mockup), site header/footer unchanged */

.os-page {
  --os-cream: #f4f1ea;
  --os-cream-alt: #ebe6dc;
  --os-ink: #1a1612;
  --os-muted: #5c564e;
  --os-accent: #56452f;
  --os-white: #ffffff;
  --os-max: 1180px;
  --os-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --os-serif: var(--mm-font);
  --os-sans: var(--mm-font);
  color: var(--os-ink);
  background: #232324;
  font-family: var(--mm-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.os-page a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Hero banner (full-bleed) ---------- */
.os-page .os-hero {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  max-height: min(78vh, 760px);
  display: block;
  color: var(--os-white);
  overflow: hidden;
  background: #000;
}

.os-page .os-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.os-page .os-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Light shade so banner art + script stay visible */
.os-page .os-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 48%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
}

.os-page .os-hero-content {
  position: absolute;
  z-index: 2;
  left: max(28px, calc((100% - var(--os-max)) / 2));
  right: auto;
  bottom: clamp(72px, 12vh, 120px);
  max-width: min(560px, 46vw);
  margin: 0;
  padding: 0;
}

.os-page .os-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

.os-page .os-hero-title {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--os-serif);
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: #fff;
}

.os-page .os-hero-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 16px;
  background: #c4a574;
}

.os-page .os-hero-text {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.os-page .os-hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.os-page .os-hero-scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.55);
  animation: os-scroll-pulse 1.8s var(--os-ease) infinite;
}

@keyframes os-scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ---------- Story sections ---------- */
.os-page .os-section {
  background: #232324;
  padding: clamp(64px, 9vw, 110px) 28px;
}

.os-page .os-section--alt {
  background: #1c1c1d;
}

.os-page .os-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: var(--os-max);
  margin: 0 auto;
}

.os-page .os-row-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d9d2c6;
}

.os-page .os-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.os-page .os-row-copy {
  min-width: 0;
  padding: 8px 0;
}

.os-page .os-num {
  margin: 0 0 10px;
  font-family: var(--os-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  color: #ea880a;
}

.os-page .os-row-title {
  margin: 0 0 22px;
  font-family: var(--os-serif);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #fff;
}

.os-page .os-text {
  margin: 0 0 1em;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: #b0aca6;
}

.os-page .os-text:last-child {
  margin-bottom: 0;
}

.os-page .os-text strong {
  font-weight: 600;
  color: #fff;
}

.os-page .os-text--lead {
  color: #f5f3ef;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
}

.os-page .os-text--emphasis {
  color: #fff;
  font-weight: 500;
}

/* ---------- Closing ---------- */
.os-page .os-closing {
  position: relative;
  min-height: min(70vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 28px;
  text-align: center;
  color: var(--os-white);
  overflow: hidden;
  background: #0a0a0a;
}

.os-page .os-closing-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.os-page .os-closing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.os-page .os-closing-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.62);
}

.os-page .os-closing-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.os-page .os-closing-title {
  margin: 0 0 20px;
  font-family: var(--os-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.os-page .os-closing-text {
  margin: 0 0 36px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.os-page .os-closing-text strong {
  font-weight: 600;
  color: #fff;
}

.os-page .os-closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid #c4b59a;
  color: #f4f1ea;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.os-page .os-closing-cta:hover {
  background: #c4b59a;
  border-color: #c4b59a;
  color: #1a1612;
}

/* ---------- Motion / content feed ---------- */
.os-page .os-feed {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.8s var(--os-ease),
    transform 0.8s var(--os-ease);
  transition-delay: calc(var(--os-delay, 0) * 90ms);
  will-change: opacity, transform;
}

.os-page .os-feed[data-delay="0"] { --os-delay: 0; }
.os-page .os-feed[data-delay="1"] { --os-delay: 1; }
.os-page .os-feed[data-delay="2"] { --os-delay: 2; }
.os-page .os-feed[data-delay="3"] { --os-delay: 3; }
.os-page .os-feed[data-delay="4"] { --os-delay: 4; }
.os-page .os-feed[data-delay="5"] { --os-delay: 5; }
.os-page .os-feed[data-delay="6"] { --os-delay: 6; }
.os-page .os-feed[data-delay="7"] { --os-delay: 7; }
.os-page .os-feed[data-delay="8"] { --os-delay: 8; }
.os-page .os-feed[data-delay="9"] { --os-delay: 9; }
.os-page .os-feed[data-delay="10"] { --os-delay: 10; }

.os-page .os-feed.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.os-page .os-feed--media-left {
  transform: translate3d(-48px, 0, 0) scale(1.04);
  overflow: hidden;
}

.os-page .os-feed--media-right {
  transform: translate3d(48px, 0, 0) scale(1.04);
  overflow: hidden;
}

.os-page .os-feed--media-left.is-in,
.os-page .os-feed--media-right.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

.os-page .os-row-media img {
  transition: transform 1.2s var(--os-ease);
  transform: scale(1.08);
}

.os-page .os-feed--media-left.is-in img,
.os-page .os-feed--media-right.is-in img {
  transform: scale(1);
}

.os-page .os-hero-banner,
.os-page .os-closing-media {
  will-change: transform;
  transition: transform 0.15s linear;
}

.os-page .os-hero-banner {
  transform: scale(1.06);
}

.os-page .os-num.os-feed {
  transform: translate3d(0, 20px, 0);
}

.os-page .os-num.os-feed.is-in {
  transform: translate3d(0, 0, 0);
}

.os-page .os-closing-cta.os-feed {
  transform: translate3d(0, 20px, 0) scale(0.98);
}

.os-page .os-closing-cta.os-feed.is-in {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .os-page .os-feed,
  .os-page .os-feed--media-left,
  .os-page .os-feed--media-right,
  .os-page .os-row-media img,
  .os-page .os-hero-banner,
  .os-page .os-closing-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .os-page .os-hero-scroll-line {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .os-page .os-hero {
    aspect-ratio: 4 / 5;
    max-height: none;
    min-height: 480px;
  }

  .os-page .os-hero-content {
    left: 28px;
    right: 28px;
    bottom: 88px;
    max-width: none;
  }

  .os-page .os-hero-banner img {
    object-position: 70% center;
  }

  .os-page .os-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .os-page .os-row--media-right .os-row-media {
    order: -1;
  }

  .os-page .os-row-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .os-page .os-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .os-page .os-section {
    padding: 56px 28px;
  }

  .os-page .os-closing {
    min-height: 480px;
    padding: 72px 28px;
  }
}

@media (max-width: 767px) {
  .os-page .os-hero {
    min-height: 420px;
  }

  .os-page .os-hero-content {
    left: 20px;
    right: 20px;
    bottom: 72px;
  }

  .os-page .os-hero-text {
    font-size: 0.95rem;
    max-width: none;
  }

  .os-page .os-section {
    padding: 48px 20px;
  }

  .os-page .os-text {
    font-size: 15px;
  }

  .os-page .os-closing {
    min-height: 420px;
    padding: 64px 20px;
  }

  .os-page .os-closing-text {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .os-page .os-hero {
    min-height: 380px;
  }

  .os-page .os-hero-title {
    font-size: 1.85rem;
  }

  .os-page .os-row-title {
    margin-bottom: 16px;
    font-size: 1.6rem;
  }

  .os-page .os-hero-scroll {
    bottom: 16px;
  }

  .os-page .os-hero-scroll span:first-child {
    font-size: 10px;
  }
}
