/* Tablet and desktop layouts. The approved layout below 768px stays in styles.css. */
@media (min-width: 768px) {
  :root {
    --content-width: 1240px;
    --gutter: max(32px, calc((100vw - var(--content-width)) / 2));
  }
  body {
    background: var(--paper);
  }
  .site-shell {
    max-width: none;
  }
  .section {
    padding-block: 88px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 56px;
  }
  .header {
    min-height: 72px;
    margin: 0 var(--gutter) 44px;
    padding: 10px 18px;
    border-radius: 20px;
  }
  .logo {
    font-size: 44px;
    letter-spacing: -3px;
  }
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .desktop-nav a {
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    text-underline-offset: 6px;
    transition: color 0.16s ease;
  }
  .desktop-nav a:hover {
    color: #795396;
    text-decoration: underline;
  }
  .header-actions {
    gap: 10px;
  }
  .header-call {
    height: 42px;
    padding-inline: 17px;
    font-size: 14px;
  }
  .locale {
    height: 42px;
    width: 42px;
    font-size: 11px;
  }
  .hero-content {
    padding-inline: var(--gutter);
  }
  .hero-copy {
    max-width: 660px;
    padding: 0;
    margin-inline: auto;
  }
  .hero h1 {
    font-size: 58px;
    line-height: 1.03;
    letter-spacing: -0.045em;
  }
  .circled::after {
    border-width: 4px;
  }
  .hero-description {
    max-width: 580px;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.55;
  }
  .hero-ctas {
    margin-top: 28px;
    align-items: flex-start;
  }
  .hero-ctas .button {
    width: 260px;
  }
  .button {
    font-size: 17px;
    min-height: 62px;
  }
  .hero-showcase {
    width: 100%;
    max-width: 680px;
    margin: 38px auto 0;
    padding-top: 32px;
    overflow: clip;
  }
  .hero-stage {
    --hero-step-factor: 0.78;
    height: 452px;
  }
  .hero-video-card {
    width: 35%;
    max-width: 240px;
    border-radius: 26px;
  }
  .hero-video-card .play-disc {
    width: 52px;
    height: 52px;
  }
  .hero-card-label {
    font-size: 11px;
    bottom: 18px;
    left: 16px;
  }
  .hero-carousel-nav {
    margin-top: 20px;
  }
  .hero-marker {
    width: 98px;
    right: 8px;
    bottom: 0;
  }
  .spark-one {
    left: 23px;
    top: 10px;
    width: 32px;
    height: 40px;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }
  .case h2 {
    max-width: 920px;
  }
  .case::before {
    right: var(--gutter);
    width: 104px;
    height: 66px;
    top: 20px;
  }
  .case-gallery {
    margin-top: 32px;
  }
  .gallery-label {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .counter {
    font-size: 12px;
  }
  .case-track {
    gap: 18px;
  }
  .case-slide {
    flex-basis: 94%;
    border-radius: 16px;
  }
  .case-controls {
    margin-top: 18px;
  }
  .case-stat-label {
    font-size: 11px;
  }
  .case-stat-value {
    font-size: 14px;
  }
  .case-metrics {
    padding: 13px 18px 15px;
  }
  .case-visual .expand-badge {
    font-size: 11px;
    padding: 7px 10px;
    right: 10px;
    bottom: 10px;
  }
  .case-copy {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.6;
  }
  .case-copy p + p {
    margin-top: 20px;
  }
  .case-cta {
    width: 300px;
    margin-top: 28px;
    font-size: 16px;
  }

  .work {
    border-radius: 40px 40px 0 0;
  }
  .work h2 {
    max-width: 840px;
    font-size: 40px;
    line-height: 1.13;
    letter-spacing: -0.035em;
  }
  .work .section-description {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.6;
  }
  .work-eyebrow {
    font-size: 11px;
    padding: 9px 12px;
    margin-bottom: 22px;
  }
  .work-spark {
    width: 55px;
    height: 55px;
    right: var(--gutter);
    top: 26px;
  }
  .work-track {
    gap: 18px;
    padding-top: 36px;
    padding-bottom: 14px;
  }
  .work-card {
    flex-basis: calc((100% - 36px) / 3);
    border-radius: 24px;
  }
  .work-card .play-disc {
    width: 56px;
    height: 46px;
  }
  .video-bottom {
    font-size: 12px;
    padding: 10px 11px;
  }
  .work-controls {
    margin-top: 22px;
  }
  .swipe-hint {
    font-size: 12px;
  }
  .work-count {
    font-size: 11px;
  }
  .circle-button {
    width: 44px;
    height: 44px;
  }
  .circle-button.small {
    width: 38px;
    height: 38px;
  }

  .about h2 {
    max-width: 760px;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.035em;
  }
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    margin-top: 40px;
  }
  .about-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
  }
  .about-card > .about-image-wrap,
  .about-card > .about-video-wrap,
  .about-card > .software-image-wrap {
    aspect-ratio: 4 / 3;
    flex: none;
    background: #fff;
  }
  .about-card > .about-image-wrap img,
  .about-card > .software-image-wrap img {
    height: 100%;
    object-fit: contain;
  }
  .about-card > .about-video-wrap .about-image {
    height: 100%;
    object-fit: cover;
  }
  .about-card-copy {
    padding: 25px 23px 30px;
  }
  .about-card h3 {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .about-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 16px;
  }
  .about-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .about-card:last-child > .software-image-wrap {
    height: 100%;
    aspect-ratio: auto;
  }
  .about-card:last-child > .software-image-wrap img {
    min-height: 250px;
  }

  .faq {
    display: grid;
    grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
    gap: 46px;
    align-items: start;
  }
  .faq-heading {
    display: block;
    position: sticky;
    top: 32px;
    margin: 0;
  }
  .faq-heading h2 {
    font-size: 72px;
    line-height: 1;
  }
  .faq-heading > p {
    font-size: 14px;
    margin-top: 20px;
  }
  .faq-heading h2 span {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
  .faq summary {
    font-size: 17px;
    line-height: 1.45;
    padding-block: 25px;
    gap: 24px;
  }
  .faq-icon {
    width: 30px;
    height: 30px;
  }
  .faq-icon::before,
  .faq-icon::after {
    top: 14px;
    left: 10px;
  }
  .faq-answer {
    font-size: 16px;
    line-height: 1.7;
    padding-bottom: 27px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 40px;
    padding-top: 70px;
    padding-bottom: 32px;
    border-radius: 40px 40px 0 0;
  }
  .footer .eyebrow {
    grid-column: 1 / -1;
    font-size: 12px;
    margin-bottom: 26px;
  }
  .footer h2 {
    font-size: 54px;
    line-height: 1.07;
    letter-spacing: -0.04em;
  }
  .footer .button-lime {
    width: 245px;
    margin-top: 0;
    font-size: 17px;
  }
  .footer-orbit {
    right: var(--gutter);
    top: 30px;
    width: 100px;
    height: 68px;
  }
  .footer-nav {
    grid-column: 1 / -1;
    font-size: 13px;
    gap: 30px;
    padding-block: 36px 28px;
    margin-top: 20px;
  }
  .footer-bottom {
    grid-column: 1 / -1;
    gap: 35px;
    padding-top: 28px;
  }
  .footer-bottom .logo {
    font-size: 44px;
  }
  .footer-bottom > span {
    font-size: 11px;
  }
  .back-top {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }

  .viewer {
    width: min(520px, calc((100dvh - 210px) * 0.5625 + 48px));
    min-width: 360px;
    max-width: calc(100vw - 64px);
    height: calc(100dvh - 40px);
    max-height: 1040px;
    border: 1px solid #ffffff21;
    border-radius: 22px;
    box-shadow: 0 24px 100px #0005;
  }
  .viewer-layout {
    padding-inline: 18px;
  }
  .viewer-header {
    min-height: 76px;
  }
  .viewer-kicker {
    font-size: 10px;
  }
  .viewer-header h2 {
    font-size: 16px;
  }
  .viewer-bottom {
    min-height: 86px;
  }
  .viewer-bottom p {
    font-size: 11px;
  }
  .viewer.is-image {
    width: min(1400px, calc(100vw - 64px));
    height: min(900px, calc(100dvh - 64px));
    max-height: none;
  }
  .viewer.is-image .viewer-layout {
    padding-inline: 24px;
  }
  .viewer.is-image .viewer-media {
    background: #21152a;
  }
  .image-pan img {
    max-height: 100%;
    object-fit: contain;
  }
  .image-pan.is-zoomed img {
    width: 1800px;
    max-height: none;
  }
  .viewer.is-image .viewer-bottom {
    min-height: 102px;
    padding-bottom: 14px;
  }
  .viewer.is-image .zoom-toggle {
    right: 6px;
    bottom: 32px;
    font-size: 12px;
  }
  .placeholder-dialog {
    max-width: 420px;
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: max(48px, calc((100vw - var(--content-width)) / 2));
  }
  .section {
    padding-block: 104px;
  }
  .header {
    margin-bottom: 40px;
    padding-inline: 22px;
  }
  .desktop-nav {
    gap: 30px;
  }
  .desktop-nav a {
    font-size: 14px;
  }
  .hero {
    padding-bottom: 64px;
  }
  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
  }
  .hero-copy {
    max-width: none;
    margin: 0;
  }
  .hero h1 {
    font-size: clamp(44px, 4.2vw, 62px);
  }
  .hero-description {
    max-width: 475px;
    margin-top: 28px;
    font-size: 18px;
  }
  .hero-ctas {
    margin-top: 30px;
  }
  .hero-ctas .button {
    width: 280px;
  }
  .hero-showcase {
    width: auto;
    max-width: none;
    margin: 0;
    padding-top: 38px;
  }
  .hero-stage {
    height: clamp(410px, 33.5vw, 480px);
  }
  .hero-video-card {
    width: 44%;
    max-width: 250px;
  }
  .hero-marker {
    width: 95px;
    right: 4px;
    bottom: -3px;
  }
  .spark-one {
    left: 16px;
  }

  .case {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    column-gap: 64px;
    row-gap: 38px;
    padding-inline: var(--gutter);
    align-items: start;
  }
  .case-heading {
    grid-column: 1 / -1;
  }
  .case .inset {
    padding-inline: 0;
  }
  .case h2 {
    max-width: 1050px;
    font-size: 46px;
    line-height: 1.12;
  }
  .case-gallery {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
  }
  .case-track {
    padding-inline: 0;
    scroll-padding-inline: 0;
    gap: 18px;
  }
  .case-slide {
    flex-basis: 96%;
  }
  .case-copy {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin-top: 0;
    font-size: 16px;
  }
  .case-copy p + p {
    margin-top: 19px;
  }
  .case-cta {
    margin-top: 27px;
  }

  .work > .inset:first-of-type {
    display: block;
  }
  .work-eyebrow {
    margin-bottom: 22px;
  }
  .work h2 {
    max-width: 1000px;
    font-size: 44px;
    line-height: 1.13;
  }
  .work .section-description {
    font-size: 17px;
    margin: 20px 0 0;
    max-width: 740px;
  }
  .work-track {
    gap: 22px;
    margin-inline: var(--gutter);
    padding: 36px 0 12px;
    scroll-padding-inline: 0;
  }
  .work-card {
    flex-basis: calc((100% - 66px) / 4);
  }
  .work-card:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: -6px;
  }

  .about h2 {
    max-width: 940px;
    font-size: 44px;
    line-height: 1.15;
  }
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 44px;
    gap: 28px;
  }
  .about-card > .about-image-wrap,
  .about-card > .about-video-wrap {
    aspect-ratio: 3 / 2;
  }
  .about-card > .about-video-wrap .about-image {
    object-position: center 25%;
  }
  .about-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .about-card:last-child > .software-image-wrap {
    height: 100%;
    min-height: 310px;
    max-height: 380px;
    aspect-ratio: auto;
    border-right: 1px solid #e2d8ea;
  }
  .about-card:last-child > .software-image-wrap img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }
  .about-card-copy {
    padding: 27px 28px 32px;
  }
  .about-card:last-child .about-card-copy {
    align-self: center;
    padding: 34px;
  }
  .about-card h3 {
    font-size: 28px;
    min-height: 0;
    line-height: 1.18;
    letter-spacing: -0.035em;
  }
  .about-card p {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 15px;
  }

  .faq {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: 100px;
  }
  .faq-heading h2 {
    font-size: 90px;
  }
  .faq-heading h2 span {
    width: 50px;
    height: 50px;
    font-size: 34px;
    margin-left: 16px;
  }
  .faq summary {
    font-size: 18px;
  }
  .footer {
    padding-top: 82px;
    column-gap: 80px;
  }
  .footer h2 {
    font-size: 68px;
  }
  .footer .button-lime {
    width: 300px;
  }
}

@media (min-width: 1600px) {
  .hero {
    padding-bottom: 76px;
  }
  .hero-content {
    gap: 48px;
  }
  .hero-description {
    font-size: 19px;
  }
}
