/* Valley Optimize — front-end. Colors/fonts come from Customizer CSS variables. */
:root {
  --vod-paper: #f4efe6;
  --vod-surface: #ebe4d6;
  --vod-ink: #1a1714;
  --vod-muted: #6f675e;
  --vod-pine: #2c5644;
  --vod-border: #d9cfbf;
  --vod-scrim: #161310;
  --vod-on-scrim: #f4efe6;
  --vod-display: "Fraunces", ui-serif, Georgia, serif;
  --vod-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body.vod-theme {
  margin: 0;
  background: var(--vod-paper);
  color: var(--vod-ink);
  font-family: var(--vod-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  min-height: 100svh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.15em; }
button, [type="submit"] { font: inherit; cursor: pointer; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 80;
  background: var(--vod-ink); color: var(--vod-paper);
  padding: 0.5rem 0.75rem; border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.vod-wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.vod-wrap--narrow { width: min(44rem, calc(100% - 2.5rem)); }
.vod-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vod-muted);
  font-weight: 500;
}
.vod-kicker--light { color: color-mix(in srgb, var(--vod-on-scrim) 80%, transparent); }
.vod-display {
  font-family: var(--vod-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.75rem 0 0;
}
.vod-display--xl { font-size: clamp(2.2rem, 6vw, 4.5rem); max-width: 18ch; }
.vod-display--m { font-size: clamp(1.5rem, 3vw, 2rem); }
.vod-lede { max-width: 36rem; color: color-mix(in srgb, var(--vod-on-scrim) 85%, transparent); }
.vod-muted { color: var(--vod-muted); }
.vod-note { font-size: 0.8rem; color: var(--vod-muted); }

.vod-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0.5rem 1.15rem;
  background: var(--vod-pine); color: var(--vod-on-scrim);
  border: 0; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.vod-btn:hover { filter: brightness(1.08); }
.vod-btn--ghost {
  background: transparent;
  color: var(--vod-on-scrim);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vod-on-scrim) 40%, transparent);
}
.vod-btn--header { min-height: 2.4rem; }
.vod-text-link { font-weight: 600; color: var(--vod-pine); }
.vod-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.vod-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
}
.vod-paper-header .vod-header {
  position: sticky; top: 0; background: color-mix(in srgb, var(--vod-paper) 92%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--vod-border);
}
.vod-header__inner {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 4.25rem;
}
.vod-logo { font-weight: 650; letter-spacing: -0.02em; text-decoration: none; }
.vod-logo--on-scrim { color: var(--vod-on-scrim); }
.vod-logo img { max-height: 36px; width: auto; }
.vod-nav { margin-left: auto; }
.vod-nav__list {
  display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0;
}
.vod-nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.vod-overlay-header .vod-nav a,
.vod-overlay-header .vod-logo { color: var(--vod-on-scrim); }
.vod-menu-btn {
  display: none; width: 2.75rem; height: 2.75rem;
  background: transparent; border: 0; position: relative;
}
.vod-menu-btn span {
  display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto;
}
.vod-overlay-header .vod-menu-btn { color: var(--vod-on-scrim); }
.vod-drawer {
  display: none; padding: 1rem 1.25rem 1.5rem;
  background: var(--vod-paper); color: var(--vod-ink);
}
.vod-drawer__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.vod-drawer__list a { display: block; padding: 0.7rem 0; text-decoration: none; font-size: 1.15rem; }

.vod-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; color: var(--vod-on-scrim);
}
.vod-hero--page { min-height: 80svh; }
.vod-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vod-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--vod-scrim) 82%, transparent), color-mix(in srgb, var(--vod-scrim) 28%, transparent) 55%, transparent);
}
.vod-hero__inner { position: relative; padding: 6.5rem 0 3rem; }
.vod-hero__channels {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  list-style: none; margin: 2.5rem 0 0; padding: 0;
}
.vod-hero__channels a { color: color-mix(in srgb, var(--vod-on-scrim) 80%, transparent); text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.vod-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  list-style: none; margin: 2rem 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--vod-on-scrim) 20%, transparent);
}
.vod-stats__value { font-family: var(--vod-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.vod-stats__label { margin: 0.4rem 0 0; font-size: 0.85rem; color: color-mix(in srgb, var(--vod-on-scrim) 70%, transparent); }

.vod-intro { text-align: center; max-width: 44rem; padding: 4.5rem 1.25rem; }
.vod-intro .vod-display { font-size: clamp(2rem, 5vw, 3.2rem); }
.vod-intro p { color: var(--vod-muted); }

.vod-band {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: 28rem; border-top: 1px solid var(--vod-border);
}
.vod-band--flip { grid-template-columns: 1fr 1.1fr; }
.vod-band--flip .vod-band__photo { order: 2; }
.vod-band__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.vod-band__copy { padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }

.vod-method { border-top: 1px solid var(--vod-border); padding: 4.5rem 0; }
.vod-method__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--vod-border); margin: 2.5rem 0 0; padding: 0; list-style: none;
  border-radius: 0.75rem; overflow: hidden;
}
.vod-method__grid li { background: var(--vod-paper); padding: 1.75rem; }
.vod-step-n { color: var(--vod-pine); letter-spacing: 0.16em; font-size: 0.75rem; margin: 0; }

.vod-work { background: var(--vod-surface); padding: 4.5rem 0; }
.vod-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 2.5rem 0 1rem; }
.vod-card { background: var(--vod-paper); padding: 1.75rem; border-radius: 0.75rem; box-shadow: 0 0 0 1px var(--vod-border); }
.vod-card__stat { font-family: var(--vod-display); font-size: 1.8rem; color: var(--vod-pine); margin: 0; }

.vod-mix { padding: 4.5rem 0; border-top: 1px solid var(--vod-border); }
.vod-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 1.25rem; }
.vod-pills button {
  min-height: 2.5rem; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--vod-border); background: var(--vod-paper); color: var(--vod-ink);
}
.vod-pills button.is-on { background: var(--vod-pine); color: var(--vod-on-scrim); border-color: var(--vod-pine); }
.vod-mix__bars { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.vod-mix__bars li { display: grid; grid-template-columns: 6rem 1fr 3rem; gap: 0.75rem; align-items: center; }
.vod-bar { height: 0.55rem; background: var(--vod-surface); border-radius: 99px; overflow: hidden; }
.vod-bar > span { display: block; height: 100%; background: var(--vod-pine); width: var(--w, 0%); }

.vod-faq { padding: 4.5rem 0 5rem; border-top: 1px solid var(--vod-border); }
.vod-acc details { border-bottom: 1px solid var(--vod-border); padding: 0.9rem 0; }
.vod-acc summary { cursor: pointer; font-weight: 600; list-style: none; min-height: 2.75rem; display: flex; align-items: center; }
.vod-acc summary::-webkit-details-marker { display: none; }

.vod-cta { position: relative; color: var(--vod-on-scrim); min-height: 22rem; display: flex; align-items: flex-end; }
.vod-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vod-cta__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--vod-scrim) 55%, transparent); }
.vod-cta__inner { position: relative; padding: 3.5rem 0; max-width: 40rem; }

.vod-page, .vod-contact, .vod-about { padding: 6.5rem 0 4rem; }
.vod-contact, .vod-about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.vod-about__stats { list-style: none; margin: 0; padding: 0; }
.vod-about__stats li { border-top: 1px solid var(--vod-border); padding: 1.25rem 0; }
.vod-page-head { padding: 4rem 0 2rem; max-width: 44rem; }
.vod-prose { max-width: 42rem; }
.vod-prose p { color: var(--vod-muted); }

.vod-form { display: grid; gap: 1rem; }
.vod-form label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vod-muted); margin-bottom: 0.35rem; }
.vod-form input, .vod-form select, .vod-form textarea {
  width: 100%; min-height: 2.75rem; padding: 0.55rem 0.75rem;
  border: 1px solid var(--vod-border); border-radius: 0.6rem;
  background: var(--vod-paper); color: var(--vod-ink); font: inherit;
}
.vod-hp { position: absolute; left: -9999px; }
.vod-form-status { color: var(--vod-pine); font-weight: 600; }
.vod-form-status.is-err { color: #8a2a1e; }

.vod-footer { border-top: 1px solid var(--vod-border); background: var(--vod-surface); padding: 3.5rem 0 2rem; }
.vod-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.vod-footer__blurb { color: var(--vod-muted); max-width: 22rem; }
.vod-footer__list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.vod-footer__list a { text-decoration: none; display: inline-block; min-height: 2.4rem; padding-top: 0.4rem; }
.vod-footer__email { color: var(--vod-pine); font-weight: 600; text-decoration: none; }
.vod-footer__legal { color: var(--vod-muted); font-size: 0.8rem; margin-top: 2.5rem; }

@media (max-width: 860px) {
  .vod-nav, .vod-btn--header { display: none; }
  .vod-menu-btn { display: block; margin-left: auto; }
  .vod-drawer.is-open { display: block; }
  .vod-header { background: color-mix(in srgb, var(--vod-scrim) 35%, transparent); }
  .vod-paper-header .vod-header { background: var(--vod-paper); }
  .vod-band, .vod-band--flip { grid-template-columns: 1fr; }
  .vod-band--flip .vod-band__photo { order: 0; }
  .vod-method__grid, .vod-work__grid, .vod-contact, .vod-about, .vod-footer__grid, .vod-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
