/* DRT Pix site styles. Visual style follows drttix.com. */

:root {
  --purple: #6c4674;
  --purple-dark: #563660;
  --purple-tint: #f3ecf5;
  --lilac: #e2dbe4;
  --lavender: #b3a3bd;
  --purple-ink: #3f2747; /* text on yellow, lavender and white accents */
  --yellow: #ffce62;
  --yellow-dark: #f2b93b;
  --grey-1: #f4f4f4;
  --grey-2: #eeeeee;
  --line: #d6d6d6;
  --field-border: #767676;
  --placeholder-border: #8c8c8c;
  --text: #313131;
  --ink: #0a0a0a;
  --muted: #595959;
  --error: #ca3c25;
  --white: #ffffff;

  --font: 'Open Sans', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --radius-sm: 5px;
  --shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.16);
  --gutter: 32px;
  --slant: 56px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--purple-dark); /* matches the footer so overscroll never shows white */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

main { display: block; background: var(--white); }
main:focus { outline: none; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); }
a:hover { color: var(--purple-dark); }

h1, h2, h3, p { margin: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--purple-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--purple-ink);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

/* Sticky: stays across the top while scrolling, and compacts once scrolled (menu.js). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}
.is-scrolled .site-header { padding: 6px 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }

/* Keep anchored sections (/#pix-interest) clear of the sticky header. */
html { scroll-padding-top: 112px; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-header__logo { display: inline-flex; flex: 0 0 auto; }
.site-header__logo img { height: 72px; width: auto; transition: height 0.2s ease; }
.is-scrolled .site-header__logo img { height: 52px; }

.site-header__menu { display: flex; align-items: center; gap: 12px 24px; }

.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }

/* Hamburger button: hidden on wide screens. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
  border: 2px solid var(--purple-ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--purple-ink);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.menu-open .nav-toggle__bars { background: transparent; }
.menu-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  /* Without JavaScript (no .js class) the menu stays visible and wraps instead. */
  .js .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .js .site-header__inner { flex-wrap: nowrap; }

  .js .site-header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  }
  .js .menu-open .site-header__menu { display: flex; }

  .js .site-nav { flex-direction: column; gap: 0; }
  .js .site-nav a {
    min-height: 52px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--line); border-left: 4px solid var(--purple); padding-left: 12px; }
  .js .site-header__menu .btn { width: 100%; justify-content: center; }
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--purple-ink);
  text-decoration: none;
}
.site-nav a:hover { border-bottom-color: var(--lilac); color: var(--purple-ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--purple); font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: stretch;
  min-height: 56px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.btn__label { display: inline-flex; align-items: center; padding: 14px 28px; }
.btn__arrow { display: inline-flex; align-items: center; padding: 0 18px; font-size: 20px; }

/* A plain-text button (no arrow box), e.g. the header CTA and form submits. */
.btn:not(:has(.btn__label)) { align-items: center; padding: 14px 28px; }
.btn--compact:not(:has(.btn__label)) { padding: 14px 24px; }

.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary .btn__arrow { background: var(--purple-dark); }
.btn--primary:hover { background: var(--purple-dark); color: var(--white); }

.btn--yellow { background: var(--yellow); color: var(--purple-ink); }
.btn--yellow .btn__arrow { background: var(--yellow-dark); }
.btn--yellow:hover { background: var(--yellow-dark); color: var(--purple-ink); }

.btn--outline { color: var(--purple); border: 3px solid var(--purple); background: transparent; }
.btn--outline:hover { background: var(--purple); color: var(--white); }

.btn--outline-light { color: var(--white); border: 3px solid var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--purple); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.text-link { font-size: 15px; font-weight: 600; }

/* ---------- Bands ---------- */

.hero {
  background-color: var(--purple);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, rgba(255, 255, 255, 0) 2px 26px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--slant)));
  padding: 64px 0 120px;
  color: var(--white);
}

.hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }

.hero__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero .eyebrow { color: var(--white); }

.hero h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--white);
}
.hero--home h1 { font-size: clamp(30px, 3.6vw, 46px); }

.hero .lead { color: var(--purple-tint); }

.hero__media {
  flex: 1 1 420px;
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--purple-dark);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
}
.hero__media-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--purple-tint);
}

/* ---------- Home hero: Automatic Backdrop Fill wipe ----------
 * The "after" photo is underneath; the "before" photo sits on top and is
 * cropped with clip-path. The crop and the handle run the same keyframes, so
 * the line always sits on the edge between the two. Two faint tilted cards
 * behind the panel give it a stacked-photo look.
 */

.hero--home { overflow-x: clip; } /* the tilted cards must not cause sideways scrolling */

.backdrop-demo { position: relative; --reveal-time: 9s; }
.backdrop-demo::before,
.backdrop-demo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
}
.backdrop-demo::before { background: rgba(179, 163, 189, 0.35); transform: rotate(-4deg) translate(-14px, 10px); }
.backdrop-demo::after { background: rgba(255, 206, 98, 0.22); transform: rotate(3deg) translate(12px, 6px); }

.reveal { margin: 0; }

.reveal__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--purple-dark);
  isolation: isolate;
}

.reveal__layer { position: absolute; inset: 0; }
.reveal__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slow push-in on both photos together, so they stay aligned. */
  animation: reveal-drift calc(var(--reveal-time) * 3) ease-in-out infinite alternate;
}

/* Start mostly "before", sweep to mostly "after", and back. */
.reveal__layer--before {
  clip-path: inset(0 50% 0 0);
  animation: reveal-crop var(--reveal-time) ease-in-out infinite alternate;
}
.reveal__handle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateX(50%);
  animation: reveal-move var(--reveal-time) ease-in-out infinite alternate;
}
.reveal__handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 18px 2px rgba(255, 255, 255, 0.65);
}
.reveal__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.reveal__tag {
  position: absolute;
  top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(63, 39, 71, 0.78);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reveal__tag--before { left: 12px; }
.reveal__tag--after { right: 12px; }

@keyframes reveal-crop {
  0%, 10% { clip-path: inset(0 12% 0 0); }
  90%, 100% { clip-path: inset(0 88% 0 0); }
}
@keyframes reveal-move {
  0%, 10% { transform: translateX(88%); }
  90%, 100% { transform: translateX(12%); }
}
@keyframes reveal-drift {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* Interactive mode: site.js adds .is-live, stops the CSS sweep and drives the
   split through --split (0% = all "after", 100% = all "before"). The glow,
   sparks and knob swell all follow --heat (0..1), which site.js raises while
   the line moves and lets fade after. Ported from the old drttix.com/pix
   BeforeAfterSlider. */
.reveal.is-live .reveal__layer--before {
  animation: none;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
/* Positioned with `left`, not a transform: a transform would isolate the
   glow's `screen` blend from the photo underneath. */
.reveal.is-live .reveal__handle {
  animation: none;
  transform: none;
  inset: 0 auto 0 var(--split, 50%);
  width: 0;
}

/* The glow is a soft band that blends with `screen`, so it always adds light
   to the photo (even over the bright green screen) and only ever fades. */
.reveal__glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    rgba(108, 70, 116, 0) 0%,
    rgba(108, 70, 116, 0.16) 30%,
    rgba(179, 163, 189, 0.38) 44%,
    rgba(255, 255, 255, 0.62) 50%,
    rgba(179, 163, 189, 0.38) 56%,
    rgba(108, 70, 116, 0.16) 70%,
    rgba(108, 70, 116, 0) 100%
  );
  mix-blend-mode: screen;
  opacity: var(--heat, 0);
  pointer-events: none;
}
@media (max-width: 720px) { .reveal__glow { width: 84px; } }

.reveal.is-live .reveal__knob { transform: scale(calc(1 + 0.06 * var(--heat, 0))); }
.reveal__knob::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 18px 4px rgba(179, 163, 189, 0.9), 0 0 6px 1px rgba(255, 255, 255, 0.9);
  opacity: var(--heat, 0);
}

.reveal__sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.reveal__spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 7px 1.5px rgba(179, 163, 189, 0.95);
  opacity: 0;
  animation: reveal-spark var(--life) ease-out forwards;
}
@keyframes reveal-spark {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  25% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); }
}

.reveal__hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.55);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.reveal.is-touched .reveal__hint { opacity: 0; }
/* Without JavaScript there is nothing to drag, so no glow, sparks or hint. */
.reveal:not(.is-live) .reveal__glow,
.reveal:not(.is-live) .reveal__sparks,
.reveal:not(.is-live) .reveal__hint { display: none; }

/* The range input covers the whole photo: the browser handles drag,
   click-to-jump, release and the keyboard. Its thumb is 1px and invisible so
   the value tracks the pointer exactly; the visible knob follows the value. */
.reveal__range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y; /* vertical swipes still scroll the page */
}
.reveal__range:focus { outline: none; }
.reveal__range:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; border-radius: var(--radius-sm); }
.reveal__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1px; height: 100%; background: transparent; border: 0; }
.reveal__range::-moz-range-thumb { width: 1px; height: 100%; background: transparent; border: 0; }
.reveal__range::-moz-range-track { background: transparent; }
.reveal.is-live .reveal__stage img { -webkit-user-drag: none; user-select: none; }

/* Hero copy rises in on load, a beat apart. The panel's contents rise, not the
   panel itself: animating the panel would put the tilted cards in front of it. */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero--home .hero__copy > *,
.hero--home .hero__media > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero--home .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero--home .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero--home .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero--home .hero__media > * { animation-delay: 0.2s; }

/* Reduced motion: a still half-and-half picture (still draggable), no rise-in,
   no sparks or knob swell. The glow is only a fade, so it stays as feedback. */
@media (prefers-reduced-motion: reduce) {
  .reveal__sparks { display: none; }
  .reveal.is-live .reveal__knob { transform: none; }
  .reveal__layer--before,
  .reveal__handle,
  .reveal__layer img,
  .hero--home .hero__copy > *,
  .hero--home .hero__media > * { animation: none; }
}

/* ---------- Fade in on scroll ----------
 * site.js adds data-reveal to blocks below the fold, then sets it to "in" as
 * each one scrolls into view. --reveal-delay staggers cards in a row.
 */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) var(--reveal-delay, 0s),
    transform 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) var(--reveal-delay, 0s);
}
[data-reveal="in"] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce), print {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.cta-band {
  background-color: var(--yellow);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 2px, rgba(255, 255, 255, 0) 2px 26px);
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  padding: 128px 0 80px;
  color: var(--purple-ink);
  text-align: center;
}
.cta-band .container { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.cta-band h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple-ink);
}
.cta-band .lead { color: var(--purple-ink); }
.cta-band .btn-row { justify-content: center; }

/* The yellow band sits on the footer's purple, so its slant needs white behind it. */
main > .cta-band:last-child { margin-bottom: 0; }

/* ---------- Mission statement ---------- */

.mission { background: var(--white); padding: 56px 0 8px; text-align: center; }
.mission .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mission__statement {
  max-width: 880px;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--purple);
  text-wrap: balance;
}
.mission__statement::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 20px auto 0;
  background: var(--lavender);
}

/* ---------- Sections & type ---------- */

.section { background: var(--white); padding: 72px 0; }
.section--grey { background: var(--grey-1); }
.section--closing { padding: 48px 0 80px; }

.section .container { display: flex; flex-direction: column; gap: 48px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}

.section h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--purple);
}

.lead { max-width: 720px; font-size: 17.6px; line-height: 1.6; color: var(--text); }
.body-lg { max-width: 720px; font-size: 17.6px; line-height: 1.6; }
.body-lg--ink { color: var(--ink); }

.small-print { max-width: 720px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.section-head--center { align-self: center; align-items: center; text-align: center; }

/* Two-column: heading on the left, content on the right. */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split__aside { flex: 1 1 320px; min-width: 0; }
.split__main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__main--equal { flex: 1 1 420px; }

/* ---------- Cards & grids ---------- */

.grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.grid > * { flex: 1 1 260px; min-width: 0; }
.grid--wide > * { flex-basis: 320px; }

.card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.card p { max-width: 720px; font-size: 14px; line-height: 1.6; color: var(--text); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__link { margin-top: auto; font-size: 15px; font-weight: 600; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  background: var(--yellow);
  color: var(--purple-ink);
}
.pill--purple { background: var(--lavender); color: var(--purple-ink); }
.pill--yellow { background: var(--yellow); color: var(--purple-ink); }
.pill--lilac { background: var(--lilac); color: var(--text); }

/* Dashed box = content that is not approved yet. Keep these visible until real content is supplied. */
.placeholder {
  padding: 12px 14px;
  border: 1px dashed var(--placeholder-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.placeholder--media,
.placeholder--headshot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
}
.placeholder--headshot { min-height: 180px; }

.callout {
  padding: 20px;
  border-left: 5px solid var(--purple);
  background: var(--grey-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
}
.callout h3 { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.callout p { font-size: 14px; line-height: 1.6; }

.callout--wide {
  padding: 32px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.callout--wide h3 { font-size: 21px; }
.callout--wide p { font-size: 17.6px; }
.callout__text { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Before / after sliders (Home, Features) ----------
 * The old drttix.com/pix "Automatic Backdrop Fill" section: two drag-to-
 * compare sliders, one column on phones and two side by side from 900px.
 * They share the hero's .reveal markup, styles and script, but never sweep
 * on their own (data-sweep="off") and start with the line at 40%, so the seam
 * opens beside the dancer rather than down the middle of them.
 */
.compare-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.reveal--drag .reveal__stage { border-radius: var(--radius); box-shadow: var(--shadow); }
/* Without JavaScript: a still 40/60 split, no sweep and no slow zoom. */
.reveal--drag .reveal__layer--before { animation: none; clip-path: inset(0 60% 0 0); }
.reveal--drag .reveal__handle { animation: none; transform: translateX(40%); }
.reveal--drag .reveal__layer img { animation: none; }

/* ---------- Features: workflow rows ---------- */

.workflow { display: flex; flex-direction: column; }
.workflow__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.workflow__row:last-child { border-bottom: 1px solid var(--line); }
.workflow__body {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.workflow__body h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.workflow__media { flex: 1 1 280px; min-width: 0; }

/* ---------- FAQs ---------- */

.faq { border-top: 1px solid var(--line); padding: 8px 0; }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.faq__answer { padding: 0 0 20px; }

/* ---------- Comparison table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th,
.compare-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}
.compare-table thead th {
  padding: 14px 16px;
  border-top: 0;
  background: var(--grey-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare-table tbody th { font-weight: 600; color: var(--ink); }

/* ---------- Events ---------- */

.event-list { display: flex; flex-direction: column; }
.event-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-row__date { flex: 1 1 180px; min-width: 0; }
.event-row__name { flex: 2 1 320px; min-width: 0; }
.event-row__tag,
.event-row__action { flex: 0 0 auto; }

/* ---------- Team ---------- */

.person { padding: 20px; }

/* ---------- Forms ---------- */

.form-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { flex-basis: 100%; }

.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field .req { color: var(--error); }
.field .opt { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
}
.field textarea { resize: vertical; }

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--error); border-width: 2px; }

.check { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--purple); }
.check label { font-size: 14px; line-height: 1.5; color: var(--text); }

.form-actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.form-actions__note { font-size: 14px; color: var(--text); }

.form-alert {
  flex: 1 1 100%;
  padding: 16px;
  border-left: 5px solid var(--error);
  background: #fbeeec;
  color: var(--ink);
  font-size: 14px;
}

/* Honeypot field for bots. Hidden from people and assistive tech. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  flex: 1 1 520px;
  min-width: 0;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--purple);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-success:focus { outline: none; }
.form-success h3 { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.form-success p { font-size: 17.6px; }

.interest { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.interest__copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.interest .form-card { flex: 1 1 520px; min-width: 0; }

.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact .form-card,
.contact .form-success { flex: 2 1 520px; min-width: 0; }
.contact__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__phones { font-size: 14px; line-height: 1.7; }
.contact__phones strong { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--purple-dark); padding: 64px 0 40px; color: var(--white); }
.site-footer__inner { display: flex; flex-direction: column; gap: 48px; }
.site-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
  justify-content: center;
  align-items: flex-start;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-col__title { margin: 0 0 12px; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.footer-col a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.footer-col a:hover { color: var(--lilac); }

.footer-col--contact { gap: 6px; }
.footer-col--contact .footer-col__title { margin-bottom: 6px; }
.footer-col--contact a { display: inline; min-height: 0; width: auto; border: 0; }
.footer-col--contact .footer-col__strong { font-weight: 700; margin-top: 6px; display: inline-flex; min-height: 44px; align-items: center; }

.site-footer__legal { text-align: center; font-size: 14px; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  :root { --gutter: 16px; --slant: 32px; }

  html { scroll-padding-top: 96px; }
  .site-header__logo img { height: 56px; }
  .is-scrolled .site-header__logo img { height: 44px; }
  /* No-JavaScript fallback: centre the wrapped menu. */
  html:not(.js) .site-header__inner { justify-content: center; }
  html:not(.js) .site-header__menu { flex-wrap: wrap; justify-content: center; }
  html:not(.js) .site-nav { justify-content: center; width: 100%; }
  html:not(.js) .site-nav a { padding: 8px 10px; font-size: 13.5px; }
  .mission { padding: 40px 0 0; }

  .hero { padding: 40px 0 80px; }
  .section { padding: 48px 0; }
  .cta-band { padding: 88px 0 56px; }
  .form-card, .form-success, .callout--wide { padding: 20px; }

  .btn { width: 100%; }
  .btn__label { flex: 1 1 auto; padding: 14px 20px; }
  .site-header .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
