.page {
  background: var(--paper);
}

.hero {
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  border-top: 1px solid #e7e5df;
  background:
    linear-gradient(90deg, rgba(217, 37, 54, 0.035) 1px, transparent 1px)
      0 0 / 120px 100%,
    var(--paper);
}

.heroInner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, 0.88fr);
  gap: clamp(66px, 8vw, 124px);
  padding: clamp(70px, 9vh, 112px) 0;
}

.heroCopy {
  max-width: 850px;
}

.breadcrumbs {
  display: flex;
  margin-bottom: 46px;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #7a7b7d;
  font-size: 12px;
  line-height: 1.4;
}

.breadcrumbs a {
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(46px, 4.5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.04;
  text-wrap: balance;
}

.heroLead {
  max-width: 790px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 20px);
  line-height: 1.58;
}

.heroActions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

.primaryButton {
  min-width: 230px;
  border: 0;
  background: var(--red);
  color: var(--white);
}

.primaryButton:hover,
.primaryButton:focus-visible {
  background: var(--red-dark);
}

.secondaryLink {
  padding: 10px 0 7px;
  border-bottom: 1px solid #a6a5a1;
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.secondaryLink:hover {
  border-color: var(--red);
  color: var(--red);
}

.heroMap {
  align-self: stretch;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  justify-content: center;
  padding: 36px 38px;
  border: 1px solid #d6d4cf;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 26px 70px rgba(32, 33, 36, 0.07);
}

.heroMap > p {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.heroMap ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.heroMap li {
  position: relative;
  display: grid;
  min-height: 62px;
  align-items: center;
  border-top: 1px solid #deddd8;
  grid-template-columns: 44px 1fr;
  gap: 8px;
}

.heroMap li:last-child {
  border-bottom: 1px solid #deddd8;
}

.heroMap li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 1px;
  height: calc(100% + 1px);
  background: rgba(217, 37, 54, 0.46);
  content: "";
}

.heroMap li:last-child::before {
  display: none;
}

.heroMap li span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
}

.heroMap li strong {
  font-size: 15px;
  font-weight: 500;
}

.heroMap small {
  max-width: 330px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.scenarios,
.directions,
.processSection,
.formatsSection,
.faq {
  padding: clamp(64px, 6.2vw, 80px) 0;
}

.sectionHeader {
  max-width: 940px;
  margin-bottom: 50px;
}

.sectionHeader h2,
.outputHeader h2 {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 1.1;
  text-wrap: balance;
}

.sectionHeader > p:last-child:not(:first-child) {
  max-width: 780px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.scenarios {
  background: var(--white);
}

.scenarioGrid {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d9d7d2;
  border-left: 1px solid #d9d7d2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.scenarioGrid li {
  display: grid;
  min-height: 132px;
  align-items: start;
  padding: 29px 30px;
  border-right: 1px solid #d9d7d2;
  border-bottom: 1px solid #d9d7d2;
  grid-template-columns: 40px 1fr;
  gap: 12px;
}

.scenarioGrid span {
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.scenarioGrid p {
  max-width: 320px;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.38;
}

.directions {
  border-top: 1px solid #e3e1dc;
}

.directionGrid {
  display: grid;
  border-top: 1px solid #d9d7d2;
  border-left: 1px solid #d9d7d2;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.directionGrid article {
  min-height: 310px;
  padding: 32px 30px 36px;
  border-right: 1px solid #d9d7d2;
  border-bottom: 1px solid #d9d7d2;
  background: rgba(255, 255, 255, 0.48);
  grid-column: span 2;
}

.directionGrid article:nth-child(-n + 2) {
  min-height: 280px;
  grid-column: span 3;
}

.directionGrid article > span,
.deliverableGrid article > span {
  display: block;
  margin-bottom: 44px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.directionGrid h3,
.deliverableGrid h3,
.formatGrid h3 {
  margin: 0 0 16px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.027em;
  line-height: 1.2;
}

.directionGrid p,
.deliverableGrid p,
.formatGrid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.outputSection {
  padding: clamp(64px, 6.2vw, 80px) 0;
  background: var(--graphite);
  color: var(--white);
}

.outputHeader {
  max-width: 900px;
}

.lightLabel {
  margin: 0 0 20px;
  color: #ff6674;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outputHeader > p:last-child {
  max-width: 720px;
  margin: 27px 0 0;
  color: #bfc0c2;
  font-size: 16px;
  line-height: 1.65;
}

.logicLine {
  display: grid;
  max-width: 920px;
  min-height: 76px;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 28px;
  border: 1px solid #55565a;
  background: #292a2d;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
}

.logicLine span {
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.logicLine i {
  color: #ff6674;
  font-size: 20px;
  font-style: normal;
}

.deliverableGrid {
  display: grid;
  border-top: 1px solid #4d4e51;
  border-left: 1px solid #4d4e51;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deliverableGrid article {
  min-height: 245px;
  padding: 28px 28px 32px;
  border-right: 1px solid #4d4e51;
  border-bottom: 1px solid #4d4e51;
  background: #26272a;
}

.deliverableGrid article > span {
  margin-bottom: 34px;
  color: #ff6674;
}

.deliverableGrid h3 {
  color: var(--white);
}

.deliverableGrid p {
  color: #bfc0c2;
}

.outputNote {
  max-width: 900px;
  margin: 34px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--red);
  color: #d5d5d6;
  font-size: 16px;
  line-height: 1.62;
}

.processSection {
  background: var(--paper);
}

.stageList {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d7d5d0;
  border-left: 1px solid #d7d5d0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.stageList li {
  min-height: 300px;
  padding: 30px 30px 35px;
  border-right: 1px solid #d7d5d0;
  border-bottom: 1px solid #d7d5d0;
}

.stageList > li > span {
  display: block;
  margin-bottom: 66px;
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.stageList h3 {
  margin: 0 0 17px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.027em;
  line-height: 1.2;
}

.stageList p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.formatsSection {
  border-top: 1px solid #e3e1dc;
  background: var(--white);
}

.formatGrid {
  display: grid;
  border-top: 1px solid #d9d7d2;
  border-left: 1px solid #d9d7d2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.formatGrid article {
  position: relative;
  min-height: 300px;
  padding: 31px 30px 35px;
  border-right: 1px solid #d9d7d2;
  border-bottom: 1px solid #d9d7d2;
  background: var(--paper);
}

.formatGrid article > span {
  display: block;
  margin-bottom: 61px;
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.formatGrid .featuredFormat {
  background: rgba(217, 37, 54, 0.035);
}

.featuredFormat::before {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border: 1px solid var(--red);
  content: "";
  pointer-events: none;
}

.pricePanel {
  display: grid;
  align-items: center;
  margin-top: 32px;
  padding: 38px 40px;
  border: 1px solid #d2d0ca;
  background: var(--paper);
  grid-template-columns: minmax(220px, 0.72fr) minmax(220px, 0.72fr) minmax(340px, 1.25fr);
  gap: 34px 42px;
}

.pricePanel > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricePanel > div > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.pricePanel strong {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.pricePanel > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.priceButton {
  width: max-content;
  border: 0;
  background: var(--red);
  grid-column: 3;
}

.priceButton:hover,
.priceButton:focus-visible {
  background: var(--red-dark);
}

.faq {
  border-top: 1px solid #e3e1dc;
}

.faqList {
  max-width: 1120px;
  border-top: 1px solid #d7d5d0;
}

.faqList details {
  border-bottom: 1px solid #d7d5d0;
}

.faqList summary {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  padding: 22px 62px 22px 0;
  cursor: pointer;
  list-style: none;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary::after {
  position: absolute;
  right: 5px;
  content: "+";
  color: var(--red);
  font-size: 27px;
  font-weight: 400;
}

.faqList details[open] summary::after {
  content: "−";
}

.faqList summary h3 {
  display: grid;
  width: 100%;
  align-items: center;
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  grid-template-columns: 72px 1fr;
  line-height: 1.35;
}

.faqList summary h3 > span:first-child {
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.faqAnswer {
  max-width: 800px;
  margin: -4px 0 0 72px;
  padding: 0 0 28px;
}

.faqAnswer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.contactSection {
  background: var(--paper);
}

.contactSection .contact-inner {
  min-height: 0;
  padding-top: 72px;
  padding-bottom: 72px;
}

.contactSection h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  letter-spacing: -0.042em;
  line-height: 1.1;
}

@media (max-width: 1060px) {
  .heroInner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 52px;
  }

  .scenarioGrid,
  .deliverableGrid,
  .stageList,
  .formatGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stageList li:last-child,
  .formatGrid article:last-child {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .pricePanel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricePanel > p,
  .priceButton {
    grid-column: 1 / -1;
  }
}

@media (max-width: 930px) {
  .hero {
    min-height: auto;
  }

  .heroInner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 64px 0 82px;
  }

  .heroMap {
    min-height: auto;
  }

  .directionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directionGrid article,
  .directionGrid article:nth-child(-n + 2) {
    min-height: 280px;
    grid-column: auto;
  }

  .directionGrid article:last-child {
    grid-column: 1 / -1;
  }

  .logicLine {
    max-width: none;
  }

  .contactSection .contact-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 700px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(217, 37, 54, 0.035) 1px, transparent 1px)
        0 0 / 72px 100%,
      var(--paper);
  }

  .heroInner {
    gap: 40px;
    padding: 46px 0 64px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.04;
  }

  .heroLead {
    margin-top: 23px;
    font-size: 16px;
    line-height: 1.55;
  }

  .heroActions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .primaryButton {
    width: 100%;
    min-width: 0;
  }

  .secondaryLink {
    align-self: flex-start;
  }

  .heroMap {
    padding: 25px 22px;
  }

  .heroMap li {
    min-height: 62px;
  }

  .scenarios,
  .directions,
  .processSection,
  .formatsSection,
  .faq,
  .outputSection {
    padding: 56px 0;
  }

  .directions,
  .outputSection {
    padding: 48px 0;
  }

  .sectionHeader {
    margin-bottom: 38px;
  }

  .directions .sectionHeader,
  .outputSection .sectionHeader {
    margin-bottom: 32px;
  }

  .sectionHeader h2,
  .outputHeader h2,
  .contactSection h2 {
    font-size: clamp(30px, 8.3vw, 38px);
  }

  .sectionHeader > p:last-child:not(:first-child) {
    font-size: 15px;
  }

  .scenarioGrid,
  .directionGrid,
  .deliverableGrid,
  .stageList,
  .formatGrid {
    grid-template-columns: 1fr;
  }

  .scenarioGrid li {
    min-height: 0;
    padding: 25px 22px;
  }

  .directionGrid article,
  .directionGrid article:nth-child(-n + 2),
  .deliverableGrid article,
  .stageList li,
  .formatGrid article,
  .stageList li:last-child,
  .formatGrid article:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .directionGrid article,
  .deliverableGrid article,
  .stageList li,
  .formatGrid article {
    padding: 27px 24px 30px;
  }

  .directionGrid article,
  .deliverableGrid article {
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .directionGrid article > span,
  .deliverableGrid article > span {
    margin-bottom: 24px;
  }

  .directionGrid h3,
  .deliverableGrid h3,
  .formatGrid h3,
  .stageList h3 {
    font-size: 21px;
  }

  .logicLine {
    position: relative;
    min-height: 0;
    margin-bottom: 26px;
    padding: 0;
    border: 0;
    background: #55565a;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .logicLine span {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #292a2d;
  }

  .logicLine span:nth-of-type(1) {
    grid-area: 1 / 1;
  }

  .logicLine span:nth-of-type(2) {
    grid-area: 1 / 2;
  }

  .logicLine span:nth-of-type(3) {
    grid-area: 2 / 2;
  }

  .logicLine span:nth-of-type(4) {
    grid-area: 2 / 1;
  }

  .logicLine i {
    position: absolute;
    z-index: 1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--graphite);
    line-height: 24px;
    text-align: center;
  }

  .logicLine i:nth-of-type(1) {
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .logicLine i:nth-of-type(2) {
    top: 50%;
    right: 25%;
    transform: translate(50%, -50%) rotate(90deg);
  }

  .logicLine i:nth-of-type(3) {
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, 50%) rotate(180deg);
  }

  .deliverableGrid article {
    min-height: 0;
  }

  .outputNote {
    margin-top: 30px;
    padding-left: 14px;
    font-size: 14px;
  }

  .stageList > li > span {
    margin-bottom: 34px;
  }

  .formatGrid article > span {
    margin-bottom: 34px;
  }

  .pricePanel {
    padding: 28px 24px 30px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricePanel > p,
  .priceButton {
    grid-column: auto;
  }

  .priceButton {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .faqList summary {
    min-height: 78px;
    padding-right: 44px;
  }

  .faqList summary::after {
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
  }

  .faqList summary h3 {
    font-size: 16px;
    grid-template-columns: 46px 1fr;
  }

  .faqAnswer {
    margin-left: 46px;
    padding-right: 8px;
  }

  .contactSection .contact-inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
