/* ==========================================================================
   Rahardi Creative — Responsive styles
   Global breakpoints come first; component-specific breakpoints stay beside
   their owning section. Keep only structural changes in media queries and use
   fluid sizing in the base stylesheet whenever a breakpoint is unnecessary.
   ========================================================================== */

/* Global laptop layout */
@media (max-width: 1100px) {
  .desktop-nav {
    gap: var(--space-4);
  }
  .rc-hero {
    --orbit-scale: 0.78;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }
  .rc-hero h1 {
    font-size: clamp(4rem, 6.5vw, 6.4rem);
  }
  .rc-hero__visual {
    right: -7%;
    width: 61%;
  }
  .rc-orbit-item__label {
    width: 148px;
    padding: 0.7rem;
  }
  .rc-orbit-item__label small {
    font-size: 0.52rem;
  }
  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }
  .capabilities article:nth-child(2) {
    border-right: 0;
  }
  .capabilities article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-line);
  }
  .section-head > p:last-child:not(.eyebrow) {
    grid-column: 1;
  }
  .founder {
    gap: 4vw;
  }
  .gd-visual {
    transform: scale(0.9);
  }
  .fs-main {
    grid-template-columns: 1fr 1fr;
  }
  .fs-story {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .fs-journey {
    margin-top: 0;
  }
  .fs-impact {
    grid-template-columns: 38px 1fr 1fr;
  }
  .fs-impact-label {
    grid-row: 1/4;
  }
  .fs-impact aside {
    grid-column: 2/4;
    margin: 0 0 0 18px;
  }
}

/* Global tablet layout and mobile navigation */
@media (max-width: 820px) {
  :root {
    --layout-gutter: 1.25rem;
  }
  html {
    scroll-padding-top: 72px;
  }
  main > section[id] {
    scroll-margin-top: 72px;
  }
  .site-header {
    height: 68px;
    grid-template-columns: 1fr auto auto;
    column-gap: clamp(0.3rem, 1.4vw, 0.75rem);
  }
  .wordmark--nav,
  .nav-logo-lockup {
    width: 118px;
  }
  .desktop-nav {
    display: none;
  }
  .header-cta {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  .header-cta.ob-btn {
    padding: 0.62rem 0.78rem;
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }
  .menu-toggle,
  .mobile-menu {
    display: block;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-menu .text-link {
    color: var(--color-text);
  }
  .rc-hero {
    --orbit-scale: 0.66;
    display: block;
    min-height: 1120px;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  .rc-hero__content {
    width: 100%;
  }
  .rc-hero__content .eyebrow {
    margin-bottom: 2.3rem;
  }
  .rc-hero h1 {
    max-width: 680px;
    font-size: clamp(4.2rem, 14vw, 7rem);
    line-height: 0.77;
  }
  .rc-hero__intro {
    max-width: 590px;
    margin-top: 1.7rem;
  }
  .rc-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 2.5rem);
    height: 520px;
    margin: 3.5rem -1.25rem 0;
  }
  .rc-orbit-system {
    width: 100%;
    height: 100%;
  }
  .rc-orbit-item__label {
    display: none;
  }
  .rc-orbit-data--top {
    top: 5%;
    right: 7%;
  }
  .rc-orbit-data--bottom {
    right: 7%;
    bottom: 4%;
  }
  .rc-hero__coordinate {
    bottom: 1.5rem;
  }
  .rc-hero__status {
    bottom: 1.5rem;
  }
  .trusted-worldwide__lead {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .world-network {
    min-height: 430px;
  }
  .trusted-worldwide__brands {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4rem;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
  }
  .trusted-worldwide__brands > span {
    min-height: 110px;
  }
  .by-numbers__head {
    grid-template-columns: 1fr;
  }
  .scale-signal {
    min-height: 240px;
  }
  .by-numbers__metrics {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-grid article:nth-child(n + 4) {
    border-bottom: 1px solid var(--color-line);
  }
  .metric-grid article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .founder {
    grid-template-columns: 1fr;
  }
  .site-footer {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .site-footer > div:nth-child(4) {
    grid-column: 2;
  }
  .ae-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ae-intro h2 {
    font-size: clamp(3rem, 7vw, 4.4rem);
  }
  .ae-signal {
    display: none;
  }
  .oj-head {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .oj-hud-wrap {
    justify-content: flex-start;
  }
  .oj-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }
  .oj-track,
  .oj-step:not(:last-child)::after {
    display: none;
  }
  .ob-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ob-parent-card {
    width: min(440px, 80%);
  }
  .ob-parent-note {
    position: static;
    width: auto;
    margin: 1.2rem auto 0;
    text-align: center;
    transform: none;
  }
  .gd-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Mobile marketplace legibility and section rhythm.
   Desktop sizing remains unchanged. */
@media (max-width: 720px) {
  main > section.marketplace-marquee {
    margin-top: 0.8rem !important;
  }

  .marketplace-track img.mq-myfonts {
    width: clamp(158px, 43vw, 178px);
    height: auto;
  }

  .marketplace-track img.mq-big.mq-dafont {
    width: clamp(142px, 39vw, 160px);
    height: auto;
  }

  .marketplace-track img.mq-creative-fabrica {
    width: clamp(172px, 46vw, 196px);
    height: auto;
    max-width: none;
    max-height: none;
  }

  .gd-chip--envato {
    min-width: 146px;
    height: 70px;
  }

  .gd-chip--envato .gd-market-logo {
    max-width: 168px;
    max-height: 52px;
  }
}

/* Global compact mobile layout */
@media (max-width: 560px) {
  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
  .rc-hero {
    --orbit-scale: 0.48;
    min-height: 1030px;
    padding-top: 7rem;
  }
  .rc-hero h1 {
    font-size: clamp(3.65rem, 17vw, 5.35rem);
  }
  .rc-hero__intro {
    max-width: 100%;
  }
  .rc-hero__cta {
    gap: 2.5rem;
  }
  .rc-hero__cta:hover,
  .rc-hero__cta:focus-visible {
    gap: 3rem;
  }
  .rc-hero__visual {
    height: 440px;
    margin-top: var(--space-6);
  }
  .rc-sun-core {
    width: 78px;
  }
  .rc-orbit-item {
    width: 72px;
    height: 72px;
  }
  .rc-orbit-item--pleinhaus {
    width: 64px;
    height: 64px;
  }
  .rc-orbit-item--legacy {
    width: 64px;
    height: 64px;
  }
  .rc-orbit-data {
    display: none;
  }
  .rc-hero__coordinate {
    bottom: 1.2rem;
    gap: 0.9rem;
    font-size: 0.48rem;
  }
  .rc-hero__coordinate i {
    width: 23px;
    height: 23px;
  }
  .rc-hero__status {
    display: none;
  }
  .capabilities {
    grid-template-columns: 1fr;
  }
  .capabilities article {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .trusted-worldwide {
    padding: 7.5rem 1.5rem;
  }
  .by-numbers {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
  .trusted-worldwide__copy h2,
  .by-numbers__head h2 {
    font-size: clamp(3.3rem, 14vw, 5rem);
  }
  .world-network {
    min-height: 330px;
    margin-right: -1.25rem;
    margin-left: -1.25rem;
  }
  .trusted-worldwide__brands {
    grid-template-columns: 1fr 1fr;
  }
  .trusted-worldwide__brands > span {
    min-height: 92px;
  }
  .trusted-worldwide__brands svg {
    max-width: 150px;
  }
  .trusted-worldwide__meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .trusted-worldwide__meta .tw-meta--right {
    flex-direction: row-reverse;
    text-align: left;
  }
  .tw-edge,
  .tw-edge-dots,
  .trusted-worldwide > .decor-plus {
    display: none;
  }
  .scale-signal {
    min-height: 180px;
  }
  .by-numbers__metrics {
    margin-top: var(--space-6);
  }
  .metric-feature {
    min-height: 360px;
    padding: var(--space-5);
  }
  .metric-feature > b {
    font-size: clamp(4.7rem, 20vw, 7rem);
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid article,
  .metric-grid article:nth-child(n + 4) {
    min-height: 200px;
    border-bottom: 1px solid var(--color-line);
  }
  .metric-grid article:last-child {
    grid-column: auto;
    border-bottom: 0;
  }
  .by-numbers__footer {
    grid-template-columns: 1fr;
  }
  .by-numbers__footer > span:last-child {
    text-align: left;
  }
  .about-evolution,
  .our-journey,
  .our-brands,
  .global-dist {
    padding: 6.5rem 1.5rem;
  }
  .about-evolution > .decor-plus {
    display: none;
  }
  .ae-cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ae-card::before,
  .ae-card::after {
    display: none;
  }
  .ae-miles {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ae-mile::before,
  .ae-mile::after {
    display: none;
  }
  .oj-head h2 {
    font-size: clamp(2.9rem, 12vw, 4.4rem);
  }
  .oj-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.2rem;
  }
  .oj-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.6rem;
  }
  .oj-foot-status {
    justify-content: flex-start;
  }
  .ob-connectors {
    display: none;
  }
  .ob-children {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: 2.5rem;
  }
  .ob-main-grid {
    grid-template-columns: 1fr;
  }
  .gd-label {
    display: none;
  }
  .gd-chip {
    min-width: 72px;
    height: 46px;
    padding: 0 0.7rem;
    font-size: 0.72rem;
    border-radius: 7px;
  }
  .gd-footer {
    flex-wrap: wrap;
    gap: 1.6rem 2rem;
  }
  .gd-foot-status {
    margin-left: 0;
  }
  #glyph-axis {
    width: 110px;
  }
  .app-tile:not(.hero-tile) {
    height: 440px;
  }
  .origin span {
    display: none;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > div:first-child,
  .footer-bottom {
    grid-column: 1 / -1;
  }
  .site-footer > div:nth-child(4) {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
  }
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  #map-signal {
    display: none;
  }
  .rc-sun-core {
    animation: none;
    filter: none;
  }
  .rc-orbit-item {
    will-change: auto;
  }
  .rc-orbit-system {
    transition: none;
  }
  .marketplace-track {
    animation: none;
  }
  .marketplace-marquee--active .marketplace-track.is-ready {
    animation: marketplaceFlow var(--marquee-duration, 42s) linear infinite !important;
  }
}

/* Featured applications keeps the reference composition on laptop screens. */
@media (min-width: 901px) and (max-width: 1200px) {
  .featured-applications {
    grid-template-columns: minmax(285px, 30%) minmax(0, 1fr);
    column-gap: 28px;
    min-height: 820px;
    padding: 48px 28px 34px;
  }
  .fa-copy {
    min-height: 680px;
  }
  .fa-copy .eyebrow {
    margin-bottom: 34px;
  }
  .fa-copy h2 {
    font-size: clamp(48px, 5.5vw, 66px);
  }
  .fa-intro {
    margin-top: 26px;
  }
  .fa-tabs {
    margin-top: 12px;
    margin-left: 32px;
  }
  .fa-tabs::before {
    left: -25px;
  }
  .fa-tabs button {
    min-height: 48px;
    padding: 0 12px;
  }
  .fa-tabs button::before {
    left: -30px;
    width: 24px;
  }
  .fa-tabs button::after {
    left: -29px;
  }
  .fa-tabs .fa-tab-logo {
    max-width: 50px;
    max-height: 22px;
  }
  .fa-coordinate {
    padding-left: 32px;
  }
  .fa-gallery {
    height: 600px;
    gap: 8px;
    margin-top: 76px;
  }
  .fa-card-head {
    padding: 12px;
  }
}

/* Featured Applications — tablet stack */
@media (max-width: 900px) {
  .featured-applications {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 38px;
    min-height: 0;
    padding: 7rem var(--layout-gutter) 3rem;
  }
  .fa-copy {
    min-height: 0;
  }
  .fa-copy h2 {
    font-size: clamp(58px, 10vw, 86px);
  }
  .fa-intro {
    max-width: 470px;
  }
  .fa-tabs {
    grid-template-columns: 1fr 1fr;
    margin-left: 38px;
  }
  .fa-coordinate {
    display: none;
  }
  .fa-gallery {
    height: 650px;
    margin-top: 0;
  }
  .fa-footer {
    grid-column: 1;
  }
}

/* Featured Applications — mobile gallery */
@media (max-width: 640px) {
  .featured-applications {
    gap: 30px;
    padding: 6.5rem 1.25rem 2.5rem;
  }
  .fa-copy .eyebrow {
    margin-bottom: 30px;
  }
  .fa-copy h2 {
    font-size: clamp(48px, 15vw, 70px);
  }
  .fa-tabs {
    grid-template-columns: 1fr;
    margin-left: 28px;
  }
  .fa-tabs::before {
    left: -20px;
  }
  .fa-tabs button::before {
    left: -25px;
    width: 20px;
  }
  .fa-tabs button::after {
    left: -24px;
  }
  .fa-gallery {
    display: flex;
    height: 430px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .fa-gallery::-webkit-scrollbar {
    display: none;
  }
  .fa-card {
    flex: 0 0 86vw;
    height: 430px;
    scroll-snap-align: center;
  }
  .fa-card-head small {
    display: block;
  }
  .fa-footer {
    justify-content: center;
  }
}

/* Philosophy — compact desktop */
@media (min-width: 1001px) and (max-width: 1250px) {
  .philosophy {
    grid-template-columns: minmax(360px, 36%) minmax(0, 1fr);
    padding-right: 28px;
    padding-left: 28px;
  }
  .philosophy-copy h2 {
    font-size: clamp(70px, 7.6vw, 94px);
  }
  .philosophy-orbit {
    width: 520px;
  }
  .ph-module {
    width: 132px;
    min-height: 138px;
    padding: 13px;
  }
  .ph-timeline {
    width: 290px;
    gap: 12px;
  }
}

/* Philosophy and Creatype CTA — tablet stack */
@media (max-width: 1000px) {
  .philosophy {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 7rem var(--layout-gutter) 3.5rem;
  }
  .philosophy-copy {
    min-height: 610px;
    padding-bottom: 0;
  }
  .philosophy-copy h2 {
    font-size: clamp(76px, 12vw, 112px);
  }
  .philosophy-copy > .section-paragraph {
    max-width: 590px;
  }
  .philosophy-system {
    min-height: 820px;
    margin-top: 30px;
  }
  .philosophy-orbit {
    width: min(68vw, 600px);
  }
  .ph-principle--clarity {
    left: 31%;
  }
  .ph-principle--confidence {
    left: 2%;
  }
  .ph-principle--consistency {
    right: 2%;
  }
  .ph-principle--value {
    left: 18%;
  }
  .creatype-explore {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
    background: var(--color-bg);
  }
  .creatype-explore.is-bg-loaded {
    background: var(--color-bg);
  }
  .creatype-explore::before {
    display: none;
  }
  .ce-copy {
    min-height: 670px;
    padding: 7rem var(--layout-gutter) 4rem;
    background: var(--color-bg);
  }
  .ce-copy h2 {
    font-size: clamp(72px, 13vw, 108px);
  }
  .ce-copy > .section-paragraph {
    max-width: 500px;
  }
  .ce-lab {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .ce-lab {
    background: var(--cms-background_5) no-repeat center / contain;
  }
}

/* Philosophy and Creatype CTA — mobile */
@media (max-width: 650px) {
  .philosophy {
    padding: 6.5rem 1.25rem 2.5rem;
  }
  .philosophy-copy {
    min-height: 590px;
  }
  .philosophy-copy .eyebrow {
    margin-bottom: 26px;
  }
  .philosophy-copy h2 {
    font-size: clamp(64px, 20vw, 88px);
  }
  .philosophy-coordinate {
    gap: 18px;
  }
  .philosophy-system {
    min-height: 720px;
    margin-top: 10px;
  }
  .philosophy-orbit {
    top: 47%;
    width: 92vw;
    max-width: 480px;
  }
  .philosophy-lasting {
    display: none;
  }
  .ph-principle {
    transform: scale(0.86);
    transform-origin: left top;
  }
  .ph-principle--clarity {
    top: 6px;
    left: 0;
    right: auto;
    bottom: auto;
  }
  .ph-principle--confidence {
    top: 25%;
    left: 0;
    right: auto;
    bottom: auto;
  }
  .ph-principle--consistency {
    top: 6px;
    right: 2%;
    left: auto;
    bottom: auto;
    transform-origin: right top;
  }
  .ph-principle--value {
    top: 414px;
    left: 60px;
    right: auto;
    bottom: auto;
  }
  .ph-module {
    width: 112px;
    min-height: 125px;
    padding: 11px;
  }
  .ph-module--type {
    top: 18px;
  }
  .ph-module--assets {
    top: 48%;
    left: -6px;
  }
  .ph-module--systems {
    top: 48%;
    right: -6px;
  }
  .ph-module--published {
    bottom: 62px;
  }
  .ph-module--type strong {
    font-size: 2rem;
  }
  .ph-grid-icon {
    width: 58px;
    height: 38px;
    margin-top: 12px;
  }
  .ph-layers {
    margin-top: 12px;
  }
  .ph-globe-icon {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
  .ph-timeline {
    right: 0;
    bottom: 0;
    width: 230px;
    gap: 8px;
    font-size: 0.46rem;
  }
  .ph-timeline p {
    grid-column: 2/6;
    text-align: right;
  }
  .ce-copy {
    min-height: 620px;
    padding: 6.5rem 1.25rem 3.5rem;
  }
  .ce-copy h2 {
    font-size: clamp(62px, 19vw, 88px);
  }
  .ce-copy > a {
    width: min(100%, 310px);
  }
  .ce-lab {
    min-height: 0;
    aspect-ratio: 3 / 2;
    background-position: center;
  }
  .fa-gallery {
    height: 430px;
  }
  .section-paragraph {
    font-size: 1rem;
  }
  .fs-profile > .section-paragraph {
    font-size: 0.9rem;
  }
  .fa-tabs button {
    min-height: 70px;
  }
  .fa-tabs button b {
    font-size: 0.78rem;
  }
}

/* Creatype CTA — compact desktop */
@media (min-width: 1001px) and (max-width: 1300px) {
  .creatype-explore {
    grid-template-columns: minmax(360px, 34%) minmax(0, 1fr);
  }
  .ce-copy {
    padding-left: 38px;
  }
  .ce-copy h2 {
    font-size: clamp(62px, 6.7vw, 82px);
  }
  .ce-copy > a {
    width: 280px;
  }
}

/* Digital Brand Experience — compact desktop and mobile */
@media (max-width: 1280px) {
  .digital-brand-experience { grid-template-columns: minmax(410px, 47fr) minmax(0, 53fr); min-height: 900px; }
  .dbe-side { display: none; }
}
@media (max-width: 820px) {
  .digital-brand-experience { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .digital-brand-experience::before { top: 28px; left: var(--layout-gutter); }
  .dbe-copy { min-height: 780px; padding: 6.5rem var(--layout-gutter) 4rem; }
  .dbe-copy h2 { font-size: clamp(56px, 12vw, 90px); }
  .dbe-copy > .section-paragraph { max-width: 500px; }
  .dbe-main-card { height: auto; min-height: 0; margin: 0 var(--layout-gutter) 3rem; }
  .dbe-feature-image { min-height: 272px; }
}
@media (max-width: 520px) {
  .dbe-copy { min-height: 680px; padding-top: 7rem; }
  .dbe-copy h2 { font-size: clamp(48px, 15.5vw, 72px); }
  .dbe-actions { flex-direction: column; }
  .dbe-actions a,
  .dbe-actions button,
  .dbe-actions .dbe-button-secondary { width: min(100%, 310px); font-size: .88rem; }
  .dbe-plainhaus-logo { width: 150px; }
  .dbe-main-card { min-height: 0; padding: 22px 18px 16px; border-radius: 14px; }
  .dbe-feature-image { min-height: 204px; height: 204px; }
  .dbe-service-points { grid-template-columns: 1fr; row-gap: 0; margin-right: 0; margin-left: 0; }
  .dbe-meta { grid-template-columns: 1fr 1fr; gap: 18px 0; margin-top: 28px; }
  .dbe-meta span:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  .enquiry-modal { padding: 10px; }
  .enquiry-dialog { max-height: calc(100vh - 20px); padding: 26px 20px; border-radius: 15px; }
  .enquiry-dialog__header h2 { font-size: clamp(2.25rem, 13vw, 3.75rem); }
  .enquiry-dialog__close { flex-basis: 42px; width: 42px; height: 42px; }
  .enquiry-dialog__close span { top: 20px; left: 11px; }
  .enquiry-dialog__intro { margin: 20px 0 24px; }
  .enquiry-form__grid { grid-template-columns: 1fr; }
  .enquiry-form__message { grid-column: auto; }
  .enquiry-captcha { grid-template-columns: 1fr 100px 44px; padding: 14px; }
  .enquiry-form__footer { align-items: stretch; flex-direction: column; }
  .enquiry-form__footer p { max-width: none; }
  .enquiry-form__submit { width: 100%; }
  .enquiry-form__status { text-align: left; }
}

@media (max-width: 420px) {
  .enquiry-captcha { grid-template-columns: 1fr 44px; }
  .enquiry-captcha > div { grid-column: 1 / -1; }
  .enquiry-captcha label { grid-column: 1; }
}

/* Final mobile refinements: founder, footer, marketplace, and trusted brands */
@media (max-width: 720px) {
  html,
  body {
    min-height: 100%;
    height: auto;
  }
  body {
    overflow-x: clip;
  }
  main > section:not(.rc-hero):not(.capabilities) {
    margin-top: 3rem;
  }
  .rc-hero h1 {
    font-size: clamp(3.25rem, 14vw, 5rem);
  }
  .rc-hero__subheadline {
    margin-top: 1.7rem;
    font-size: 1rem;
  }
  .founder-showcase {
    padding: 22px 1.25rem 32px;
  }
  .fs-header > span,
  .fs-header > em {
    display: none;
  }
  .fs-main {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }
  .fs-lead h2 {
    font-size: clamp(64px, 19vw, 88px);
  }
  .fs-lead {
    min-height: 650px;
  }
  .fs-signal {
    bottom: 60px;
  }
  .fs-profile {
    padding-top: 0;
  }
  .fs-portrait {
    width: 270px;
    max-width: 270px;
    height: auto;
    aspect-ratio: 1643 / 2048;
    margin-inline: auto;
  }
  .fs-story {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
  }
  .fs-mindset blockquote,
  .fs-mindset strong {
    margin-left: 0;
  }
  .fs-impact {
    grid-template-columns: 28px 1fr;
  }
  .fs-impact-label {
    grid-row: 1/6;
  }
  .fs-impact article {
    grid-template-columns: 50px 1fr;
    padding: 24px 12px;
  }
  .fs-impact aside {
    grid-column: 2;
    margin: 0;
    padding: 24px 18px;
  }
  .site-footer {
    min-height: auto;
    grid-auto-rows: max-content;
    align-content: normal;
    gap: 2.5rem 1.5rem;
    padding: 4rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
  }
  .site-footer > div > p {
    margin-top: 1.25rem;
  }
  .site-footer h2 {
    margin-bottom: 1.25rem;
  }
  .site-footer > div > a:not(.wordmark) {
    margin: 0.7rem 0;
  }
  .footer-bottom {
    gap: 0.65rem;
    margin-top: var(--space-2);
    padding-top: 1.5rem;
  }
  .footer-bottom p:last-child {
    padding-bottom: 0;
  }
  .marketplace-track span {
    min-width: 48vw;
  }
  .marketplace-track img {
    width: auto;
    height: auto;
    max-width: 176px;
    max-height: 62px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-envato {
    width: 156px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-creative-market {
    width: 92px;
    max-height: 92px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-canva {
    width: 150px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-creative-fabrica {
    width: 176px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-myfonts {
    width: 116px;
    max-height: 84px;
  }
  .marketplace-marquee--active .marketplace-track img.mq-dafont {
    width: 82px;
    max-height: 92px;
  }
  .tw-signal-network {
    min-height: 300px;
    margin-right: -1rem;
    margin-left: -1rem;
  }
  .tw-map-image {
    width: 104%;
    margin-left: -2%;
  }
  .tw-signal-network small {
    right: 8%;
    bottom: 2%;
  }
  .rc-hero__mini-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    margin-top: 1.25rem;
  }
  .trusted-worldwide__brands img {
    max-width: 120px;
    max-height: 31px;
  }
  main > section.marketplace-marquee,
  main > section.trusted-worldwide {
    margin-top: 0 !important;
  }
  main > .marketplace-marquee {
    padding: 0.45rem 0;
  }
}

/* Responsive background sources: preserve every existing crop and position. */

/* August 2026 mobile navigation and footer refinements. */
@media (max-width: 820px) {
  .mobile-menu nav {
    margin: 5vh 0;
  }
  .mobile-menu nav a {
    padding: 0.7rem 0;
    font-size: clamp(1.485rem, 6.3vw, 2.475rem);
    line-height: 1.05;
  }
  .footer-mark,
  .footer-mark .nav-logo-lockup {
    width: 170px;
  }
}

@media (max-width: 820px) {
  .rc-hero {
    background:
      linear-gradient(rgba(4, 11, 22, 0.62), rgba(4, 11, 22, 0.62)),
      var(--cms-background_1)
        4% 42% / auto 120% no-repeat #040b16;
  }
  .about-evolution {
    background:
      linear-gradient(rgba(3, 8, 18, 0.86), rgba(3, 8, 18, 0.86)),
      var(--cms-background_2)
        no-repeat center center / cover,
      #030812;
  }
  .gd-map {
    background:
      var(--cms-background_4)
        no-repeat center / 100% auto;
  }
  .ce-lab {
    background:
      var(--cms-background_5)
        no-repeat right center / 145% auto;
  }
}

@media (max-width: 650px) {
  .ce-lab {
    background:
      var(--cms-background_5)
        no-repeat right center / 145% auto;
  }
}

@media (max-width: 420px) {
  .wordmark--nav,
  .nav-logo-lockup {
    width: 104px;
  }
  .site-header {
    column-gap: 0.25rem;
  }
  .header-cta.ob-btn {
    padding: 0.54rem 0.62rem;
    font-size: 0.5rem;
    letter-spacing: 0.045em;
  }
  .menu-toggle {
    width: 38px;
  }
}

@media (max-width: 720px) {
  .trusted-worldwide__brands img[alt="SM Entertainment"] {
    max-width: 124px;
    max-height: 54px;
  }
  .trusted-worldwide__brands img[alt="Ogilvy"] {
    max-width: 124px;
    max-height: 54px;
  }
  .trusted-worldwide__brands .tw-brand--clorox > img {
    max-width: 124px;
    max-height: 54px;
  }
  .trusted-worldwide__brands .tw-brand--clorox::before,
  .trusted-worldwide__brands .tw-brand--over::before {
    width: 124px;
    height: 54px;
  }
  .trusted-worldwide__brands > span:hover img {
    transform: none;
  }
  .trusted-worldwide__brands .tw-brand--clorox:hover::before,
  .trusted-worldwide__brands .tw-brand--over:hover::before {
    transform: translate(-50%, -50%);
  }

  .scale-signal {
    min-height: clamp(210px, 62vw, 280px);
  }
  .scale-signal__logos .graph-logo {
    min-width: 38px;
    min-height: 24px;
    padding: 2px 3px;
    border-radius: 4px;
  }
  .scale-signal__logos .graph-logo img {
    max-width: 44px;
    max-height: 24px;
  }
  .scale-signal__logos .graph-logo--dafont {
    left: 14%;
    top: 73%;
  }
  .scale-signal__logos .graph-logo--canva {
    left: 27%;
    top: 62%;
  }
  .scale-signal__logos .graph-logo--canva img {
    max-width: 30px;
  }
  .scale-signal__logos .graph-logo--creative-fabrica {
    left: 43%;
    top: 51%;
  }
  .scale-signal__logos .graph-logo--creative-fabrica img {
    max-width: 44px;
    max-height: 24px;
  }
  .scale-signal__logos .graph-logo--creative-fabrica-balanced img {
    width: 72px;
    max-width: 72px;
    max-height: 24px;
  }
  .scale-signal__logos .graph-logo--myfonts {
    left: 60%;
    top: 40%;
  }
  .scale-signal__logos .graph-logo--creative-market {
    left: 75%;
    top: 30%;
  }
  .scale-signal__logos .graph-logo--envato {
    left: 89%;
    top: 21%;
  }
  .scale-signal__logos .graph-logo--envato img {
    max-width: 52px;
  }

  .gd-chip--logo {
    min-width: 76px;
    height: 50px;
    padding-inline: 0.4rem;
  }
  .gd-chip--logo img {
    max-width: 78px;
    max-height: 30px;
  }
  .gd-chip--rahardi {
    min-width: 132px;
    height: 70px;
    padding: 7px 10px;
  }
  .gd-chip--rahardi .gd-rc-lockup {
    width: 108px;
    max-width: 108px;
    max-height: 55px;
  }
  .gd-chip--creative-market {
    min-width: 92px;
    height: 58px;
    padding-inline: 0.45rem;
  }
  .gd-chip--creative-market .gd-market-logo {
    max-width: 62px;
    max-height: 54px;
  }

  .ob-rc-node {
    top: -94px;
    width: 184px;
    height: 94px;
  }
  .ob-rc-node .ob-rc-lockup {
    width: 172px;
  }
  .ob-specimen {
    padding-top: 0.35rem;
  }
  .ob-specimen--brittany .ob-spec-ag {
    gap: 0.35rem;
    min-height: 132px;
    margin: 1.5rem 0 1.4rem;
    padding: 0.75rem 0;
  }
  .ob-specimen--brittany .ob-ag {
    font-size: clamp(3.15rem, 15vw, 4.15rem);
    line-height: 1.15;
  }
  .ob-specimen--brittany .ob-fontcount {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    margin-left: 0;
  }
  .ob-specimen--brittany .ob-weights {
    display: grid;
    grid-template-columns: 1fr;
  }
  .gd-chip--dafont {
    min-width: 70px;
    height: 50px;
  }
  .gd-chip--dafont .gd-market-logo {
    max-width: 40px;
    max-height: 38px;
  }
  .gd-chip--envato {
    min-width: 92px;
    height: 50px;
  }
  .gd-chip--envato .gd-market-logo {
    max-width: 82px;
    max-height: 28px;
  }
  .gd-chip--logo img[alt="Canva"] {
    max-width: 60px;
    max-height: 22px;
  }
}
