/* PZTh Template 01 visual direction: composition, hierarchy and spacing.
 * Reference: PASS15B implementation, globals.css CE2FC813…176BE8C.
 * Current production semantic colours, fonts, controls and identity retained.
 * Header overlay/preview theme controller/held brand binaries are excluded.
 */
.t07-home { width: 100%; margin: 0; }
.t07-home .t07-hero { width: 100%; min-height: 650px; margin: 0; padding: 0; }
.t07-home .t07-hero-content {
  width: min(1500px, calc(100% - 72px)); min-height: 650px;
  margin: 0 auto; padding: 64px 0 144px;
  grid-template-columns: minmax(0, .98fr) minmax(300px, .62fr);
  align-items: center; gap: 52px;
}
.t07-home .t07-copy { min-width: 0; max-width: 690px; }
.t07-home .t07-copy h1 {
  max-width: 660px; margin-bottom: 12px;
  font-size: clamp(2.8rem, 4.15vw, 4.55rem);
}
.t07-home .t07-kicker { margin-bottom: 10px; font-size: .68rem; }
.t07-home .t07-subtitle { font-size: clamp(.98rem, 1.25vw, 1.12rem); }
.t07-home .t07-info-row {
  width: min(690px, 100%); grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin-top: 20px; padding: 0;
  border: 1px solid var(--line); border-radius: 17px; background: var(--panel);
}
.t07-home .t07-info-row > div { min-width: 0; min-height: 70px; padding: 11px 14px; }
.t07-home .t07-info-row > div + div { border-left: 1px solid var(--line); }
.t07-home .t07-info-row strong { font-size: .82rem; }
.t07-home .t07-info-row span { display: block; margin-top: 3px; font-size: .67rem; }
.t07-home .t07-actions { margin-top: 16px; }
.t07-home .t07-actions .button { border-radius: 9px; }
.t07-home .t07-scroll { margin-top: 13px; }
.t07-home .t07-guide-float {
  width: min(350px, 100%); justify-self: end; align-self: center;
  margin: 0; transform: translateY(18px); border-radius: 21px; padding: 24px;
}
.t07-home .t07-guide-float strong { font-size: 1.5rem; }
.t07-home .t07-guide-float p { font-size: .65rem; letter-spacing: .16em; }
.t07-home .t07-guide-float > span { margin: 6px 0 18px; }
.t07-home .t07-dashboard {
  width: min(1500px, calc(100% - 72px)); max-width: none;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, .84fr);
  gap: 14px; padding: 0; margin: -92px auto 18px !important;
  position: relative; z-index: 5;
}
.t07-home .t07-explore-panel,
.t07-home .t07-feature,
.t07-home .t07-follow {
  min-width: 0; border: 1px solid var(--line); border-radius: 26px;
  background: var(--panel);
}
.t07-home .t07-explore-panel { padding: 18px; }
.t07-home .t07-panel-heading { justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.t07-home .t07-panel-heading h2 { font-size: 1.35rem; }
.t07-home .t07-panel-heading span { font-size: .8rem; }
.t07-home .t07-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
body:not(:has(.owner-shell)) .t07-home .t07-card {
  min-width: 0; min-height: 184px; display: flex; flex-direction: column;
  padding: 15px; border-radius: 16px;
}
.t07-home .t07-card-icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  margin-bottom: 18px; border: 1px solid var(--accent); border-radius: 9px;
}
.t07-home .t07-card strong { margin: 0; font-size: 1.02rem; }
.t07-home .t07-card p { margin: 7px 0 0; font-size: .78rem; }
.t07-home .t07-card-arrow { margin-top: 12px; }
.t07-home .t07-community-row { gap: 8px; margin-top: 10px; padding: 0; }
.t07-home .t07-community-row > div {
  min-width: 0; min-height: 64px; display: flex; flex-direction: column;
  justify-content: center; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 14px;
}
.t07-home .t07-community-row strong { font-size: .8rem; }
.t07-home .t07-community-row span { display: block; font-size: .67rem; }
.t07-home .t07-side-stack { gap: 14px; }
.t07-home .t07-feature { display: flex; flex-direction: column; padding: 24px; }
.t07-home .t07-feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); margin-bottom: 8px; }
.t07-home .t07-feature ul { display: grid; gap: 6px; margin: 10px 0 18px; }
.t07-home .t07-feature .button { align-self: flex-start; }
.t07-home .t07-follow {
  min-height: 102px; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; padding: 18px 22px;
}
.t07-home .t07-follow .button { flex-shrink: 0; margin: 0; }
.t07-home .t07-trust {
  width: min(1500px, calc(100% - 72px)); max-width: none;
  gap: 1px; padding: 0; margin: 10px auto 54px !important;
  border: 1px solid var(--line); border-radius: 16px; background: var(--line);
}
.t07-home .t07-trust > div { min-width: 0; min-height: 76px; padding: 14px 16px; background: var(--bg); }
.t07-home .t07-trust strong { font-size: .8rem; }
.t07-home .t07-trust span { display: block; margin-top: 4px; font-size: .7rem; }
@media (min-width: 1380px) {
  .t07-home .t07-hero-content { grid-template-columns: minmax(0, 1.02fr) minmax(330px, .58fr); }
  .t07-home .t07-copy { max-width: 740px; }
  .t07-home .t07-copy h1 { max-width: 720px; font-size: clamp(3rem, 4vw, 4.65rem); }
  .t07-home .t07-info-row { width: min(730px, 100%); }
}
@media (max-width: 1100px) {
  .t07-home .t07-hero-content { grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 28px; }
  .t07-home .t07-info-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t07-home .t07-info-row > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .t07-home .t07-info-row > div:nth-child(4) { border-top: 1px solid var(--line); }
  .t07-home .t07-dashboard { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .t07-home { width: min(calc(100% - 20px), 640px); margin-inline: auto; }
  .t07-home .t07-hero { min-height: auto; margin-top: 8px; border-radius: 24px; }
  .t07-home .t07-hero-content {
    width: 100%; min-height: 760px; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto; gap: 24px; padding: 54px 22px 26px;
  }
  .t07-home .t07-copy { width: 100%; max-width: none; }
  .t07-home .t07-copy h1 { width: 100%; max-width: none; font-size: clamp(2.55rem, 11.4vw, 4rem); }
  .t07-home .t07-kicker { margin-bottom: 13px; line-height: 1.45; }
  .t07-home .t07-subtitle { font-size: .98rem; line-height: 1.7; }
  .t07-home .t07-info-row { width: 100%; margin-top: 18px; }
  .t07-home .t07-info-row > div { min-height: 68px; padding: 10px 11px; }
  .t07-home .t07-info-row strong { font-size: .76rem; }
  .t07-home .t07-info-row span { font-size: .64rem; }
  .t07-home .t07-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .t07-home .t07-actions .button { width: 100%; justify-content: center; }
  .t07-home .t07-guide-float { width: 100%; max-width: none; justify-self: stretch; transform: none; padding: 20px; }
  .t07-home .t07-dashboard { width: 100%; margin: 12px 0 18px !important; }
  .t07-home .t07-card-grid,
  .t07-home .t07-community-row,
  .t07-home .t07-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body:not(:has(.owner-shell)) .t07-home .t07-card { min-height: 150px; }
  .t07-home .t07-feature,
  .t07-home .t07-follow { border-radius: 20px; }
  .t07-home .t07-trust { width: 100%; }
}
@media (max-width: 430px) {
  .t07-home .t07-hero-content { min-height: 720px; padding: 44px 18px 22px; }
  .t07-home .t07-copy h1 { font-size: clamp(2.42rem, 10.9vw, 3.55rem); }
  .t07-home .t07-card-grid,
  .t07-home .t07-community-row,
  .t07-home .t07-trust { grid-template-columns: minmax(0, 1fr); }
  .t07-home .t07-follow { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .t07-home .t07-hero-content { padding-inline: 16px; }
  .t07-home .t07-copy h1 { font-size: clamp(2.3rem, 10.7vw, 3.35rem); }
  .t07-home .t07-info-row { grid-template-columns: minmax(0, 1fr); }
  .t07-home .t07-info-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Existing approved production artwork rules, same URLs/crops/gradients.
 * Shared document stylesheet keeps these rules available during client navigation. */

/* PZTh-D02 Fast UI Artwork V2 — owner-authorized P13 */

.t07-home .t07-hero {
  position: relative;
  isolation: isolate;
  background-image:
    linear-gradient(
      90deg,
      rgba(20, 27, 18, 0.74) 0%,
      rgba(20, 27, 18, 0.55) 42%,
      rgba(20, 27, 18, 0.18) 72%,
      rgba(20, 27, 18, 0.08) 100%
    ),
    url("/artwork/hero-v2/home-scenic-hero-desktop-v2.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.t07-home .t07-hero > * {
  position: relative;
  z-index: 1;
}

/*
 * Light theme:
 * use a pale habitat wash rather than a dark veil because the
 * approved Fast UI light palette renders primary hero copy dark.
 */
html[data-theme="light"]
.t07-home .t07-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(244, 246, 235, 0.86) 0%,
      rgba(238, 242, 222, 0.69) 38%,
      rgba(232, 238, 208, 0.31) 67%,
      rgba(232, 238, 208, 0.06) 100%
    ),
    url("/artwork/hero-v2/home-scenic-hero-desktop-v2.png");
}

/* Preserve the already-qualified dark presentation. */
html[data-theme="dark"]
.t07-home .t07-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 12, 8, 0.82) 0%,
      rgba(8, 12, 8, 0.63) 44%,
      rgba(8, 12, 8, 0.28) 76%,
      rgba(8, 12, 8, 0.14) 100%
    ),
    url("/artwork/hero-v2/home-scenic-hero-desktop-v2.png");
}

@media (max-width: 700px) {
  .t07-home .t07-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(10, 15, 10, 0.66) 0%,
        rgba(10, 15, 10, 0.48) 54%,
        rgba(10, 15, 10, 0.68) 100%
      ),
      url("/artwork/hero-v2/home-scenic-hero-mobile-v2.png");

    background-position: center center;
  }

  html[data-theme="light"]
  .t07-home .t07-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(246, 248, 239, 0.84) 0%,
        rgba(241, 244, 226, 0.69) 48%,
        rgba(235, 240, 216, 0.55) 100%
      ),
      url("/artwork/hero-v2/home-scenic-hero-mobile-v2.png");

    background-position: center center;
  }

  html[data-theme="dark"]
  .t07-home .t07-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(10, 15, 10, 0.66) 0%,
        rgba(10, 15, 10, 0.48) 54%,
        rgba(10, 15, 10, 0.68) 100%
      ),
      url("/artwork/hero-v2/home-scenic-hero-mobile-v2.png");

    background-position: center center;
  }
}
