/* ============================================================
   HOME PAGE — HEADER + HERO
============================================================ */
.page-home header {
  background-color: var(--header-bg);
  top: 0;
  z-index: 5;
  padding-block: 20px;
  text-align: center;
}

/* Shrink entire home-page nav slightly */
.page-home .nav-scale-wrapper {
  transform: scale(0.92);
}

.page-home .site-branding img {
  max-width: 100%;
  height: auto;
}

.page-home .home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px) 20px;
  text-align: center;
  background: linear-gradient(
    to bottom right,
    var(--header-bg),
    var(--dark-blue)
  );
  border-radius: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-home .home-intro {
  margin-bottom: clamp(30px, 4vw, 60px);
}

.page-home .home-title {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--accent-yellow);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-home .home-tagline {
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--page-bg);
  max-width: 600px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-home h1 {
  margin-top: 40px;
}

.page-home main {
  padding-bottom: 42px;
}

.page-home footer {
  position: static;
  margin-top: auto;
}

.home-featured p,
.home-explore p {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
}

.home-intro-text {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 22px);
}

/* ============================================================
   BRANDING PAGE
============================================================ */
.page-branding img,
.page-branding video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.page-branding .image-wrapper,
.page-branding .video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-branding .media-grid--2col,
.page-branding .media-grid--3col,
.page-branding .media-grid--4col {
  align-items: start;
}

.page-branding .media-grid--2col img,
.page-branding .media-grid--3col img,
.page-branding .media-grid--4col img,
.page-branding .media-grid--2col video,
.page-branding .media-grid--3col video,
.page-branding .media-grid--4col video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.branding-logo-video {
  max-width: 450px;
  margin: 0 auto 40px;
}

.branding-logo-video video,
.branding-logo-video img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.featured-flour-sack {
  display: block;
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-wrapper {
  background: var(--page-bg);
  color: var(--text-main);
  padding: 3rem 1.5rem 4rem;
  font-family: system-ui, sans-serif;
  max-width: 1200px;
  margin: auto;
}

/* Two-column layout */
.about-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

/* Left column blocks */
.about-block {
  background: white;
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  border-left: 6px solid var(--accent-lime);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.about-block h2 {
  color: var(--accent-lime);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.about-block p {
  position: relative;
  text-indent: 20px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-block p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 3px;
  height: 1em;
  background-color: var(--accent-lime);
  border-radius: 2px;
}

/* Right column cards */
.about-card {
  background: white;
  border-left: 6px solid var(--accent-lime);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.about-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--dark-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-card ul {
  padding-left: 1.2rem;
}

.about-card li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.about-left {
  max-width: 620px;
}

.about-right {
  background: rgba(255,255,255,0.6);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

/* Hero section */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.8rem 2rem;
  border-radius: 16px;
  color: white;
  background: linear-gradient(
    to bottom right,
    var(--header-bg),
    var(--dark-blue)
  );
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  margin: 0 auto;
  max-width: 480px;

  background: rgba(255,255,255,0.25);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border-left: 6px solid var(--accent-lime);
}

.about-hero-text p {
  font-size: 1.15rem;
  line-height: 1.7;
}

.about-hero-photo {
  margin: 0 auto;
  max-width: 260px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero h1 {
  color: var(--accent-yellow);
}

/* ============================================================
   LOGO PAGE
============================================================ */
.page-logos .media-item img {
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================================
   ILLUSTRATION PAGE
============================================================ */
.page-illustration h3 {
  text-align: center;
}

/* ============================================================
   ANIMATION PAGE — CAPTIONS
============================================================ */
.page-animation h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ============================================================
   APP PAGE — COMING SOON
============================================================ */
.coming-soon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
}

.coming-soon-image {
  max-width: 260px;
  width: 100%;
  margin-bottom: 20px;
}

.coming-soon-text {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--text-primary);
}

/* Restore larger home page nav circles */
.page-home .nav-circle {
  width: clamp(120px, 10vw, 180px) !important;
  height: clamp(120px, 10vw, 180px) !important;
  font-size: clamp(18px, 2vw, 28px) !important;
}

/* Home circle even larger */
.page-home .nav-circle.home {
  transform: scale(1.12) !important;
}

.page-home .nav-circles::before {
  height: 8px;
  border-radius: 4px;
}

/* Make home page images shrink with the page */
.page-home .home-what-i-do .image-wrapper {
  height: auto !important;
}

.page-home .home-what-i-do .image-wrapper img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
