/* Captions have their own space; the film already contains its own typography. */
.business-film-frame {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
}
.business-film-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.business-preview::after {
  display: none;
}
.business-film-caption {
  display: block;
  position: static;
  padding: 12px 14px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.flagship-copy h3 > span {
  display: block;
}
.trailer-copy-slot:empty {
  display: none;
}

/* One mobile layout contract, loaded after the desktop and component styles. */
@media (max-width: 700px) {
  :root {
    --gutter: clamp(18px, 5vw, 28px);
  }
  html {
    scroll-padding-top: 84px;
  }
  h1,
  h2,
  h3 {
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  h2 {
    font-size: clamp(32px, 8.5vw, 42px);
  }
  .eyebrow {
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: 0.1em;
  }
  .section-pad {
    padding-block: 56px;
  }
  .section-label {
    margin-bottom: 32px;
  }
  .site-header {
    height: 64px;
  }
  .site-header nav {
    top: 64px;
    padding: 20px var(--gutter);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  .site-header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
  }
  .menu-toggle {
    min-height: 44px;
  }
  .intro-top {
    align-items: flex-start;
    top: 20px;
  }
  .intro-top .eyebrow {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.07em;
  }
  .intro-top > span:last-child {
    display: none;
  }
  .intro-bottom {
    bottom: 24px;
    align-items: center;
    gap: 12px;
  }
  .intro-bottom > span {
    font-size: 12px;
    line-height: 1.6;
    max-width: 150px;
  }
  .intro-skip {
    min-height: 44px;
    font-size: 12px;
    gap: 12px;
    padding: 12px;
    flex: none;
  }
  .intro-reveal p {
    font-size: 13px;
    line-height: 1.6;
  }
  .hero {
    height: auto;
    min-height: max(680px, 100svh);
  }
  .hero-content {
    padding: 128px var(--gutter) 140px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 54px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 22px 0;
  }
  .hero-content .eyebrow {
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    gap: 8px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.7;
    max-width: 340px;
  }
  .hero-content .button-light {
    min-height: 48px;
    font-size: 12px;
  }
  .hero-bottom {
    align-items: center;
    gap: 12px;
    bottom: 24px;
  }
  .scroll-link,
  .video-toggle {
    font-size: 11px;
    min-height: 44px;
  }
  .about-copy,
  .about .business > p,
  .approach-heading > p,
  .projects-heading > p,
  .journey-heading > p,
  .world-heading > p,
  .process p,
  .contact-copy > p {
    font-size: 14px;
    line-height: 1.7;
  }
  .about-copy .lead {
    font-size: 22px;
    line-height: 1.4;
  }
  .about .business {
    padding: 20px;
    min-width: 0;
  }
  .business h3 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.25;
    margin-top: 22px;
  }
  .business-top {
    align-items: flex-start;
    gap: 14px;
  }
  .business-top .eyebrow {
    font-size: 10px;
    line-height: 1.6;
  }
  .business-preview {
    margin: 20px 0 12px;
  }
  .business-film-caption {
    padding: 12px;
    font-size: 10px;
    line-height: 1.6;
  }
  .preview-toggle {
    min-height: 44px;
    font-size: 12px;
    margin: 0 0 18px auto;
  }
  .studio-open {
    min-height: 48px;
    font-size: 12px;
    line-height: 1.5;
  }
  .text-link {
    min-height: 44px;
    font-size: 12px;
    line-height: 1.55;
  }
  .process h3 {
    font-size: 23px;
    line-height: 1.3;
  }
  .approach-foot {
    align-items: flex-start;
    gap: 16px;
  }
  .approach-foot p {
    font-size: 12px;
    line-height: 1.6;
  }
  .approach-foot > .text-link {
    margin: 0;
    font-size: 12px;
  }

  .material-selector button {
    min-height: 104px;
    padding: 16px 12px;
  }
  .material-selector button strong {
    font-size: 14px;
    line-height: 1.5;
  }
  .material-selector button span {
    font-size: 10px;
    line-height: 1.5;
  }
  #material-view {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    min-height: 0;
    padding: 20px 16px;
    overflow: visible;
  }
  .material-view-top,
  .material-view-bottom {
    position: static;
    inset: auto;
    width: 100%;
  }
  .material-view-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
  }
  .material-view-top .eyebrow,
  .material-view-top > span:last-child {
    font-size: 10px;
    line-height: 1.5;
  }
  #material-image {
    height: clamp(170px, 54vw, 260px);
    max-height: none;
    align-self: center;
  }
  .material-view > svg {
    height: 220px;
    max-height: 220px;
  }
  .material-view-tabs {
    position: static;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .material-view-tabs button {
    min-height: 44px;
    font-size: 11px;
    padding: 10px;
    line-height: 1.5;
  }
  .material-view-tabs button:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .material-view-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .material-view-bottom > span {
    max-width: none;
    font-size: 11px;
    line-height: 1.6;
  }
  .material-view-bottom button {
    max-width: none;
    width: 100%;
    min-height: 44px;
    font-size: 12px;
    line-height: 1.5;
  }
  .material-story {
    padding: 26px 20px;
  }
  .material-story h3 {
    font-size: 28px;
    line-height: 1.25;
  }
  .material-story > p:not(.eyebrow),
  .material-notes dd {
    font-size: 14px;
    line-height: 1.7;
  }
  .material-notes dt {
    font-size: 10px;
    line-height: 1.55;
  }
  .material-document-details ul {
    font-size: 13px;
    line-height: 1.7;
  }
  #material-source,
  .material-story > p.material-study-note {
    font-size: 11px;
    line-height: 1.65;
  }

  .journey-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .journey-types button {
    min-height: 48px;
    font-size: 12px;
    padding: 10px;
    line-height: 1.45;
  }
  .build-model {
    padding: 20px 16px;
    min-height: 0;
    gap: 16px;
  }
  .model-caption {
    position: static;
    font-size: 10px;
    line-height: 1.5;
  }
  .scene-environments {
    position: static;
    inset: auto;
    order: 0;
  }
  .scene-environments button {
    min-height: 44px;
    font-size: 11px;
    padding: 9px 6px;
  }
  #construction-canvas {
    height: 290px;
    margin: 0;
    flex: none;
  }
  .scene-guide {
    position: static;
    inset: auto;
    max-width: none;
    padding: 14px;
    order: 1;
  }
  .scene-guide .eyebrow {
    font-size: 10px;
  }
  .scene-guide p {
    font-size: 13px;
    line-height: 1.6;
  }
  .scene-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    order: 2;
  }
  .scene-controls button {
    min-height: 44px;
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
  }
  .scene-controls button:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .scene-help {
    order: 3;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
  }
  .model-bottom {
    order: 4;
    gap: 12px;
    font-size: 11px;
    line-height: 1.5;
  }
  .journey-story h3 {
    font-size: 28px;
    line-height: 1.25;
  }
  .journey-story > p,
  .journey-deliverable > p {
    font-size: 14px;
    line-height: 1.7;
  }
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .journey-steps button {
    min-height: 56px;
    font-size: 12px;
    padding: 12px 8px;
    flex-direction: row;
    gap: 10px;
    line-height: 1.4;
  }
  .journey-steps button:last-child {
    grid-column: 1/-1;
  }
  .journey-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .journey-foot > p {
    font-size: 12px;
    line-height: 1.6;
  }
  .journey-foot .text-link {
    font-size: 12px;
  }

  .flagship-film {
    flex-direction: column;
    align-items: stretch;
  }
  .flagship-film video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
  }
  .film-index {
    position: static;
    order: -1;
    padding: 12px 16px;
    font-size: 10px;
    line-height: 1.5;
  }
  .film-play {
    position: static;
    inset: auto;
    width: 100%;
    padding: 16px;
    min-height: 64px;
    align-items: center;
    background: #15201b;
    font-size: 12px;
    line-height: 1.5;
    gap: 12px;
  }
  .film-play-icon {
    flex: none;
  }
  .film-play small {
    font-size: 11px;
  }
  .flagship-copy {
    padding: 26px 20px;
  }
  .flagship h3 {
    font-size: 30px;
    line-height: 1.25;
  }
  .flagship-copy p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.7;
  }
  .project-filters button {
    min-height: 44px;
    font-size: 12px;
    line-height: 1.4;
  }
  .project-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .project-info h3 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.3;
  }
  .project-info > span {
    font-size: 11px;
    line-height: 1.5;
  }
  .map-legend {
    font-size: 11px;
    line-height: 1.55;
    gap: 12px;
  }
  .map-legend > span:last-child {
    font-size: 11px;
    margin-left: 0;
  }
  .world-regions {
    gap: 16px;
  }
  .world-regions .eyebrow {
    font-size: 10px;
    line-height: 1.5;
  }
  .world-regions strong {
    font-size: 17px;
    line-height: 1.4;
  }
  .world-regions button {
    min-height: 60px;
  }
  .world-story {
    font-size: 14px;
    line-height: 1.7;
  }
  .contact h2 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.2;
  }
  #inquiry-form label,
  .inquiry-note,
  .contact-copy .inquiry-status {
    font-size: 12px;
    line-height: 1.6;
  }
  #inquiry-form input,
  #inquiry-form select,
  #inquiry-form textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .contact .contact-number {
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-top > p,
  .footer-location p {
    font-size: 14px;
    line-height: 1.7;
  }
  .footer-location .eyebrow {
    font-size: 11px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 36px;
  }

  .business-dialog,
  .project-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
  }
  .business-dialog-heading {
    padding: 24px 20px;
  }
  .business-dialog-heading .eyebrow {
    font-size: 10px;
    padding-right: 48px;
    margin-bottom: 18px;
    line-height: 1.6;
  }
  .business-dialog-heading h2 {
    font-size: 28px;
    line-height: 1.25;
    padding-right: 16px;
  }
  .business-dialog-heading > p:last-child {
    font-size: 14px;
    line-height: 1.65;
  }
  .studio-close,
  .dialog-close {
    width: 44px;
    height: 44px;
  }
  .trailer-letterbox {
    background: none;
  }
  .trailer-badge {
    display: none;
  }
  .trailer-copy-slot .trailer-titles,
  .is-end-card .trailer-copy-slot .trailer-titles,
  .trailer-player[data-renderer="video"] .trailer-copy-slot .trailer-titles {
    display: block;
    position: static;
    inset: auto;
    padding: 20px;
    background: transparent;
    color: white;
    text-shadow: none;
    text-align: left;
  }
  .trailer-copy-slot .trailer-titles img {
    display: none;
  }
  .trailer-copy-slot .trailer-titles p,
  .is-end-card .trailer-copy-slot .trailer-titles p {
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.06em;
    max-width: none;
  }
  .trailer-copy-slot .trailer-titles h3,
  .is-end-card .trailer-copy-slot .trailer-titles h3 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 12px;
    max-width: none;
  }
  .trailer-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 20px 16px;
  }
  .trailer-controls button {
    min-height: 44px;
    width: 100%;
    font-size: 12px;
    padding: 10px;
  }
  .trailer-controls input {
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    margin: 0;
  }
  .trailer-controls > span {
    grid-row: 3;
    grid-column: 1;
    font-size: 11px;
    min-width: 0;
  }
  .trailer-controls a {
    grid-row: 3;
    grid-column: 2;
    margin: 0;
    font-size: 11px;
    text-align: right;
    line-height: 1.5;
  }
  .trailer-status {
    font-size: 12px;
    line-height: 1.6;
    padding: 0 20px 20px;
  }
  .study-divider {
    font-size: 10px;
    line-height: 1.6;
    padding: 20px;
  }
  .business-dialog-story {
    padding: 26px 20px;
  }
  .business-dialog-story h3 {
    font-size: 26px;
    line-height: 1.3;
  }
  .business-dialog-story > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.7;
  }
  .design-stage-controls button {
    min-height: 44px;
    font-size: 11px;
  }
  .housing-key {
    font-size: 11px;
    line-height: 1.55;
  }
  #housing-controls label {
    font-size: 13px;
    line-height: 1.6;
  }
  #housing-count {
    min-height: 44px;
  }
  #inquiry-form label > span {
    font-size: 11px;
  }
  .simulation-caption {
    position: static;
    padding: 12px 20px;
    font-size: 10px;
    line-height: 1.5;
  }
  .dialog-copy {
    padding: 24px 20px;
  }
  .dialog-copy h2 {
    font-size: 28px;
    line-height: 1.3;
  }
}
