:root {
  color-scheme: light;
  --cream: #faf6ee;
  --brown: #3b2a1a;
  --sage: #8faf82;
  --blush: #e8c4b0;
  --muted-brown: #7a6050;
  --dot: rgba(122, 96, 80, 0.18);
  --shadow: 0 18px 40px rgba(59, 42, 26, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--brown);
  background: var(--cream);
}

a {
  color: inherit;
}

.site-background {
  background:
    radial-gradient(circle, var(--dot) 1.5px, transparent 1.6px) 0 0 / 35px 35px,
    var(--cream);
  background-attachment: fixed;
}

.page-shell {
  min-height: 100vh;
  padding: 28px;
}

.home-shell {
  display: grid;
  place-items: center;
}

.sheet {
  width: min(100%, 920px);
  margin: 0 auto;
}

.home-sheet {
  min-height: min(880px, calc(100vh - 56px));
  max-width: 760px;
  padding: 30px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-topbar,
.content-topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.micro-label {
  margin: 0;
  color: var(--muted-brown);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.mini-link {
  text-decoration: none;
  color: var(--muted-brown);
  font-size: 0.95rem;
}

.hero-mark {
  margin-top: 90px;
}

.hero-mark img,
.flower-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.78;
}

.hero-copy {
  margin-top: 28px;
  max-width: 520px;
}

.hero-copy p {
  margin: 28px auto 0;
  max-width: 460px;
}

.stack-actions {
  width: min(100%, 460px);
  margin-top: auto;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.content-block a:not(.button),
.content-header a:not(.button) {
  color: var(--brown);
}

.content-sheet {
  max-width: 860px;
  padding: 24px;
}

.content-header {
  padding: 40px 10px 16px;
  text-align: center;
}

.content-header .flower-mark {
  display: block;
  margin: 8px auto 20px;
}

.content-header p {
  max-width: 640px;
  margin: 20px auto 0;
}

.content-block {
  margin-top: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.content-block h2 {
  margin: 0 0 10px;
}

.content-block p,
.content-block ul {
  margin: 0;
}

.content-block ul {
  padding-left: 1.2rem;
}

.content-block li + li {
  margin-top: 0.5rem;
}

.contact-block {
  background: rgba(143, 175, 130, 0.12);
}

.landing-page {
  min-height: 100vh;
  padding-bottom: 120px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(56px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-hero {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 120px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.landing-title {
  width: 1160px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.landing-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
}

.landing-title > h1,
.landing-title > h3 {
  width: 100%;
}

.landing-image-frame {
  max-width: 100%;
}

.landing-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.landing-image-frame--hero {
  width: 1160px;
  height: 750px;
}

.principle-section,
.landing-closing {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 80px 0;
}

.principle-section {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.principle-section--views {
  align-items: flex-start;
}

.principle-copy {
  width: 100%;
  text-align: center;
}

.principle-copy p {
  margin: 8px 0 0;
}

.principle-visual-frame {
  width: 720px;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #bdc7b1;
}

.principle-visual-frame--video {
  position: relative;
  height: 720px;
  background: url("../images/flormie-feature-bg.png") center / cover no-repeat;
}

.principle-visual-frame--plain {
  background: transparent;
}

.principle-visual {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.feature-video {
  position: absolute;
  left: 210px;
  width: 300px;
  border-radius: 24px;
  display: block;
  object-fit: cover;
  background: transparent;
  box-shadow: 2px 2px 24px rgba(59, 42, 26, 0.12);
}

.feature-video--collect,
.feature-video--card {
  top: 35px;
  height: 650px;
}

.feature-video--canvas {
  top: 117px;
  height: 486px;
}

.feature-video-shell {
  position: absolute;
  left: 210px;
  width: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 2px 2px 24px rgba(59, 42, 26, 0.12);
}

.feature-video-shell--canvas {
  top: 117px;
  height: 486px;
}

.flormie-interactive-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 59%;
  transform: scale(1.08);
  transform-origin: center top;
}

.landing-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-title--closing {
  gap: 16px;
}

.landing-image-frame--closing {
  width: 1135px;
  height: 871px;
  margin-top: 80px;
}

.site-footer {
  width: min(100%, 720px);
  margin: 10px auto;
  padding-top: 40px;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 37px;
  text-align: center;
  font-family: "Gaegu", sans-serif;
  font-size: 20px;
  line-height: 20px;
  color: var(--brown);
}

.site-footer a {
  margin: 0;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 700px) {
  .page-shell {
    padding: 14px;
  }

  .sheet {
    border-radius: 28px;
  }

  .home-sheet {
    min-height: calc(100vh - 28px);
    padding: 22px 20px 32px;
  }

  .hero-mark {
    margin-top: 72px;
  }

  .content-sheet {
    padding: 18px;
  }

  .content-topbar,
  .home-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .content-block {
    padding: 20px;
    border-radius: 18px;
  }

  .landing-hero {
    padding: 64px 20px 40px;
    gap: 40px;
  }

  .landing-page {
    padding-bottom: 64px;
  }

  .landing-hero,
  .principle-section,
  .landing-closing,
  .site-footer {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .landing-image-frame--hero,
  .landing-image-frame--closing {
    height: auto;
  }

  .principle-visual-frame--video {
    height: auto;
    aspect-ratio: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
  }

  .landing-image,
  .principle-visual {
    aspect-ratio: 1160 / 750;
  }

  .principle-section--views .principle-visual {
    aspect-ratio: auto;
  }

  .feature-video {
    position: relative;
    left: auto;
    top: auto;
    width: min(300px, calc(100% - 48px));
    height: auto;
    transform: none;
  }

  .feature-video--collect,
  .feature-video--card {
    height: auto;
  }

  .feature-video--canvas {
    height: auto;
  }

  .feature-video-shell {
    position: relative;
    left: auto;
    width: min(300px, calc(100% - 48px));
    transform: none;
  }

  .feature-video-shell--canvas {
    top: auto;
    height: auto;
    aspect-ratio: 300 / 486;
  }

  .flormie-interactive-video {
    transform: scale(1.08);
  }

  .principle-section {
    padding-top: 64px;
    padding-bottom: 64px;
    gap: 32px;
  }

  .landing-image-frame--closing {
    margin-top: 64px;
  }

  .site-footer {
    gap: 24px;
  }
}
