/* ====================================================================== */
/* ==================== LOCAL FONTS (SCOPED TO PAGE) ==================== */
/* ====================================================================== */
@font-face {
  font-family: "AnistonLogo";
  src: url("./fonts/aniston-logo-font.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir55Roman";
  src: url("./fonts/Avenir55Roman_normal_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Page-scoped theme tokens + knobs (edit these values to adjust layout)
   -> --visual-height: height of each visual block (use vh units)
   -> --overlay-top-offset: gallery headings vertical offset (px)
   -> --hero-bottom-offset: hero overlay distance from bottom (px)
   -> --caption-padding: padding for caption blocks (px)
   Example edits:
     :root { --visual-height: 85vh; --overlay-top-offset: 48px; --hero-bottom-offset: 40px; --caption-padding: 18px; }
*/
:root {
  --page-bg: #ffffff;
  --ink: #111111;
  --muted: #5f6368;
  --shadow-strong: 0 24px 64px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);

  /* KNOBS (change these) */
  --visual-height: 100vh; /* default: 100vh — change to 80vh, 120vh, etc. */
  --overlay-top-offset: 56px; /* default: 56px — gallery headings offset from top */
  --hero-bottom-offset: 56px; /* default: 56px — hero overlay offset from bottom */
  --caption-padding: 22px; /* default: 22px — caption vertical padding */
}

/* page token */
#yz6030-page {
  font-family: "Avenir55Roman", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
}

html {
  scroll-behavior: smooth;
}

/* Basic reset / utilities */
* {
  box-sizing: border-box;
}
/* img, svg{max-width:100%;height:auto;display:block} */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 56px 0;
  background: var(--page-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  border: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* HERO VISUAL (image-first) */
.hero-visual {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center center;
  min-height: var(--visual-height);
  display: block;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 30%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

/* overlay positioned near bottom for hero (uses variable) */
.visual-overlay {
  position: absolute;
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  z-index: 6;
}
.visual-overlay--bottom {
  bottom: var(--hero-bottom-offset);
  text-align: left;
}
.visual-title {
  margin: 0;
  color: #000;
  font-size: clamp(1.6rem, 4.4vw, 2.4rem);
  line-height: 1.02;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.visual-title--muted {
  display: block;
  font-weight: 600;
  font-size: 0.9em;
  margin-top: 6px;
}

/* CTAs on hero image */
.visual-ctas {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}
.visual-ctas .btn {
  padding: 10px 14px;
}

/* Caption under image (hero description and section captions) uses variable padding */
.visual-caption {
  padding: var(--caption-padding) 0 calc(var(--caption-padding) * 2);
  color: var(--muted);
  text-align: left;
}
.visual-caption p {
  margin: 0;
  max-width: 74ch;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--muted);
}

/* VISUAL SECTIONS (gallery items) */
.visual-gallery {
  margin: 0;
  padding: 0;
}
.visual-section {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center center;
  min-height: var(--visual-height);
  display: block;
  overflow: hidden;
}
.visual-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.02) 28%,
    rgba(0, 0, 0, 0) 48%
  );
  pointer-events: none;
}

/* overlay for gallery sections: uses --overlay-top-offset */
.visual-section .visual-overlay {
  top: var(--overlay-top-offset);
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
}
.visual-section .visual-title {
  color: #000;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  margin: 0;
}

/* Responsive overlay centering on small screens */
@media (max-width: 820px) {
  .visual-overlay,
  .visual-overlay--bottom {
    left: 16px;
    right: 16px;
    text-align: center;
  }
  .visual-caption {
    padding: calc(var(--caption-padding) * 0.8) 16px
      calc(var(--caption-padding) * 1.6);
  }
  .visual-title {
    font-size: clamp(1.3rem, 6.6vw, 1.9rem);
  }
  .visual-ctas {
    justify-content: center;
  }
}

/* Downloads (icons only, one row) */
.downloads .section-title {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.downloads .section-sub {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;

}
.downloads-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.dl-icon-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--ink);
}
.dl-icon-btn .dl-ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.dl-icon-btn .dl-label {
  font-weight: 700;
  color: var(--muted);
}

/* FAQ */
.yz6030-faq-wrap {
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 1rem;
}
.faq-accordion {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-q {
  width: 100%;
  padding: 16px;
  border: none;
  background: transparent;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faq-a {
  display: none;
  padding: 12px 16px;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.faq-item.is-open .faq-a {
  display: block;
}

/* small screens tweaks */
@media (max-width: 640px) {
  .wrap {
    padding: 0 12px;
  }
  .visual-title {
    font-size: clamp(1.2rem, 6.5vw, 1.6rem);
  }
  .visual-caption p {
    font-size: 1rem;
  }
}
