/* =====================================================================
   YouTube Video Editing Services page. Uses the shared tokens from
   site.css; everything here is prefixed ve- so it can't leak elsewhere.
   ===================================================================== */

/* ---- Shared bits for this page ---- */
.ve-h2 {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 20ch;
  overflow-wrap: break-word;
}
.ve-lead,
.ve-intro {
  margin-top: var(--s-6);
  max-width: 42ch;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
.ve-intro {
  color: var(--ink-muted);
}
.ve-btn {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  gap: var(--s-3);
}
.ve-btn span {
  transition: transform 0.2s ease;
}
.ve-btn:hover span {
  transform: translateX(4px);
}
.ve-tlink {
  font-weight: 600;
  text-decoration: underline 1px;
  text-underline-offset: 5px;
}
.ve-tlink:hover {
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
}
main a:not(.btn):not(.ve-tlink) {
  text-decoration: underline 1px;
  text-underline-offset: 3px;
}
main a:not(.btn):not(.ve-tlink):hover {
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
}
.ve-mark {
  background: linear-gradient(var(--citron), var(--citron)) no-repeat 0 85% / 100% 0.5em;
}
.ve-cap {
  margin-top: var(--s-3);
  text-transform: none;
  letter-spacing: 0.01em;
}
.ve-actions {
  margin-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-8);
}

/* =====================================================================
   1. HERO
   ===================================================================== */
.ve-hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}
.ve-hero__grid {
  display: grid;
  gap: var(--s-12);
  align-items: center;
}
.ve-hero__title {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.375rem, 4.4vw, 4.25rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
@media (width>=60rem) {
  .ve-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-16);
  }
}

/* The frame: a paused video and its timeline */
.ve-frame {
  margin: 0;
  background: var(--ink);
  padding: var(--s-3);
  box-shadow: 0 30px 60px -40px rgb(20 20 20 / 0.7);
}
.ve-frame__screen {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 0.55)),
    radial-gradient(120% 90% at 70% 20%, #4d5a52 0%, #2b302c 55%, #1b1d1b 100%);
}
.ve-frame__tc {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--citron);
  letter-spacing: 0.04em;
}
.ve-frame__lower {
  position: absolute;
  left: 6%;
  bottom: 9%;
  right: 6%;
  color: var(--paper);
  font-size: clamp(0.9375rem, 1.6vw, 1.25rem);
  font-weight: 500;
}
.ve-frame__lower b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6em;
  letter-spacing: -0.025em;
  margin-right: 0.3em;
  color: var(--citron);
}
.ve-frame__safe {
  position: absolute;
  inset: 5%;
  border: 1px dashed rgb(246 245 240 / 0.18);
}
.ve-frame__tl {
  position: relative;
  margin-top: var(--s-3);
  padding: var(--s-2) 0 var(--s-1);
  display: grid;
  gap: 4px;
}
.ve-frame__marks {
  position: relative;
  height: 1.1rem;
}
.ve-frame__marks span {
  position: absolute;
  left: var(--x);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a8aaa2;
  border-left: 1px solid #a8aaa2;
  padding-left: 0.3rem;
  white-space: nowrap;
}
.ve-tr {
  position: relative;
  height: 1.25rem;
  background: #222220;
}
.ve-tr i {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: var(--l);
  width: calc(var(--w) - 2px);
  background: #6b6e67;
}
.ve-tr--gfx {
  height: 0.85rem;
}
.ve-tr--gfx i {
  background: var(--citron);
}
.ve-tr--audio i {
  background: repeating-linear-gradient(90deg, #6b6e67 0 2px, transparent 2px 4px);
}
.ve-frame__head {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13%;
  border-left: 2px solid var(--citron);
}
.ve-frame .ve-cap {
  color: #a8aaa2;
  padding: var(--s-2) var(--s-1) 0;
}

/* =====================================================================
   2. BEYOND THE CUT
   ===================================================================== */
.ve-beyond {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--paper-sunk);
}
.ve-beyond__grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: var(--s-12);
  align-items: center;
}
.ve-beyond__copy {
  display: grid;
  gap: var(--s-4);
  max-width: 42ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.55;
}
.ve-beyond__lines {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.ve-rhythm {
  margin: 0;
  display: grid;
  gap: var(--s-8);
}
.ve-rhythm__bar {
  margin-top: var(--s-2);
  display: flex;
  gap: 3px;
  height: 2.75rem;
}
.ve-rhythm__bar--busy i {
  flex: 1;
  background: #bdbdb5;
}
.ve-rhythm__bar--busy i:nth-child(3n) {
  background: #9d9e96;
  transform: scaleY(0.75);
}
.ve-rhythm__bar--busy i:nth-child(4n) {
  transform: scaleY(1.15);
}
.ve-rhythm__bar--story i {
  width: calc(var(--w) - 3px);
  flex: none;
  background: var(--ink);
}
.ve-rhythm__bar--story i:nth-child(4) {
  background: var(--citron);
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}
.ve-rhythm__note {
  margin-top: var(--s-2);
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.ve-principles {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  display: grid;
  gap: var(--s-6);
}
.ve-principles div {
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink);
}
.ve-principles dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
}
.ve-principles dd {
  margin: 0.35rem 0 0;
  color: #3d3e3a;
  line-height: 1.5;
}
@media (width>=48rem) {
  .ve-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (width>=60rem) {
  .ve-beyond__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--s-16);
  }
}

/* =====================================================================
   3. SHOW THE DIFFERENCE: before and after timelines
   ===================================================================== */
.ve-show {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--ink);
  color: var(--paper);
}
.ve-show .ve-intro,
.ve-show .label {
  color: #a8aaa2;
}
.ve-ab {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
.ve-ab__row + .ve-ab__row {
  margin-top: var(--s-8);
}
.ve-ab__label {
  margin-bottom: var(--s-2);
}
.ve-ab__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 3px;
}
.ve-ab__track li {
  width: calc(var(--w) - 3px);
  flex: none;
  min-height: 4.25rem;
  padding: 0.5rem 0.6rem;
  background: #2b2b29;
  color: #c9cac3;
  font-size: 0.8125rem;
  line-height: 1.25;
  overflow: hidden;
}
.ve-ab__track li.is-key {
  background: var(--citron);
  color: var(--ink);
  font-weight: 600;
}
.ve-ab__track li.is-gfx {
  background: transparent;
  outline: 1px dashed var(--citron);
  outline-offset: -1px;
  color: var(--citron);
}
.ve-ab__track--edit li:not(.is-key):not(.is-gfx) {
  background: #3d3e3a;
  color: var(--paper);
}
.ve-ab__track sup {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  vertical-align: top;
}
.ve-ab__notes {
  list-style: none;
  margin: var(--s-12) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
}
.ve-ab__notes li {
  padding-top: var(--s-4);
  border-top: 1px solid #3a3a37;
  line-height: 1.5;
  color: #c9cac3;
}
.ve-ab__notes b {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.ve-show .ve-cap {
  margin-top: var(--s-8);
}
@media (width>=48rem) {
  .ve-ab__notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width>=64rem) {
  .ve-ab__notes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* On phones the tracks stack, so every label stays readable. */
@media (width<=40rem) {
  .ve-ab__track {
    flex-direction: column;
  }
  .ve-ab__track li {
    width: auto;
    min-height: 0;
  }
}

/* =====================================================================
   4. WHAT'S INCLUDED
   ===================================================================== */
.ve-inc {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.ve-groups {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.ve-groups li {
  display: grid;
  gap: var(--s-2) var(--s-8);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--rule);
}
.ve-groups h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.ve-groups p {
  line-height: 1.55;
  color: #3d3e3a;
  max-width: 52ch;
}
@media (width>=60rem) {
  .ve-groups li {
    grid-template-columns: 9rem 1fr 1.2fr;
    align-items: baseline;
  }
}

/* =====================================================================
   5. PROCESS + WHO IT'S FOR
   ===================================================================== */
.ve-process {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--paper-sunk);
}
.ve-steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
}
.ve-steps li {
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
  line-height: 1.5;
  color: #3d3e3a;
}
.ve-steps b {
  display: block;
  margin-block: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (width>=48rem) {
  .ve-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width>=60rem) {
  .ve-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ve-fit {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: var(--s-6) var(--s-8);
  background: var(--paper);
  border-left: 4px solid var(--citron);
  display: grid;
  gap: var(--s-3) var(--s-12);
}
.ve-fit__main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ve-fit__fine {
  line-height: 1.55;
  color: #3d3e3a;
}
@media (width>=60rem) {
  .ve-fit {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* =====================================================================
   6. FAQ
   ===================================================================== */
.ve-faq {
  padding-block: clamp(4rem, 8vw, 7rem) var(--s-12);
}
.ve-faq__grid {
  display: grid;
  gap: var(--s-8);
}
.ve-faq__head {
  margin-top: 0;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 12ch;
}
.ve-faq__list {
  border-top: 1px solid var(--ink);
}
.ve-faq__list details {
  border-bottom: 1px solid var(--rule);
}
.ve-faq__list summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: var(--s-4);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
}
.ve-faq__list summary::-webkit-details-marker {
  display: none;
}
.ve-faq__list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}
.ve-faq__list details[open] summary::after {
  content: "–";
}
.ve-faq__list summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--citron);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.ve-faq__list summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.ve-faq__list details p {
  padding-bottom: var(--s-6);
  max-width: 62ch;
  line-height: 1.6;
  color: #3d3e3a;
}
@media (width>=60rem) {
  .ve-faq__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--s-16);
  }
}

/* =====================================================================
   7. FINAL CTA
   ===================================================================== */
.ve-final {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--citron);
}
.ve-final__head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 18ch;
  overflow-wrap: break-word;
}
.ve-final__row {
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.ve-final__row p {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
.ve-further {
  margin-top: var(--s-12);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-6);
  font-weight: 500;
}
.ve-final .label {
  color: var(--ink);
}
main:has(.ve-final) + .foot {
  margin-top: 0;
}
