/* Visual polish layer: readability, rhythm and consistent link feedback. */
.hero-ripple::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .42) 0, rgba(0, 0, 0, .2) 25%, transparent 48%),
    linear-gradient(0deg, rgba(0, 0, 0, .2) 0, transparent 30%);
}

.hero-copy,
.hero-index {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .34);
}

.hero-copy p,
.hero-index {
  font-size: 17px;
}

.hero-copy .line-link,
.hero-copy .line-link span {
  font-size: 37px;
}

.nav nav a,
.case-nav .filters button {
  font-size: 14px;
}

.nav nav a sup,
.case-nav .filters button sup {
  font-size: 10px;
}

.case-nav .filters {
  transform: translateY(6px);
}

.case-nav > a {
  position: relative;
  top: 3px;
  font-size: 14px;
}

.footer-bottom,
.footer-bottom > * {
  font-size: 13px;
}

.case-footer .back-to-top {
  font-size: 13px;
}

.fuel-work .project-meta span,
.fuel-work .project-meta p,
.fuel-work .project-meta b {
  font-size: 12px;
  line-height: 1.4;
}

.fuel-work .project-meta h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.fuel-work .work-contact > a,
.fuel-work .work-contact > a span,
.fuel-work .work-contact > a b {
  font-size: 27px;
}

.line-link,
.fuel-work .work-contact > a,
.contact-copy {
  transition: opacity .25s ease, color .25s ease;
}

.line-link span,
.fuel-work .work-contact b {
  display: inline-block;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .line-link:hover,
  .fuel-work .work-contact > a:hover,
  .contact-copy:hover {
    opacity: .68;
  }

  .line-link:hover span,
  .fuel-work .work-contact > a:hover b {
    transform: translate(4px, 4px);
  }
}

@media (min-width: 801px) {
  .fuel-work {
    padding-bottom: 156px;
  }

  .fuel-work .project {
    min-height: 82vh;
    padding-top: 220px;
  }

  .fuel-work .project:first-child {
    padding-top: 249px;
  }

  .services {
    padding-top: 64px;
  }

  .services .service-row {
    min-height: 90vh;
  }

  .faq {
    padding-bottom: 220px;
  }

  .service-row small {
    font-size: 13px;
  }

  .about-grid p,
  .faq details p {
    font-size: 16px;
  }

  .service-row p {
    font-size: 17px;
  }

  .services .service-row > div {
    position: relative;
    left: -20px;
  }
}

.section-cap,
.case-group header {
  font-size: 13px;
}

.case-grid span {
  font-size: 12px;
  line-height: 1.4;
}

.case-grid h3 {
  font-size: 15px;
  line-height: 1.35;
}

@media (min-width: 801px) {
  .about-grid .result strong {
    margin-left: 0;
    font-size: clamp(4.2rem, 5.8625vw, 7.4375rem);
  }

  .about-grid .result .circle-link {
    margin-left: 0;
  }

  .cases-page .case-hero h1 {
    margin-left: 0;
    font-size: clamp(6.857rem, 15.428571vw, 15.428rem);
  }

  #contact .contact-heading {
    font-size: clamp(4.8rem, 13.6vw, 14.4rem);
  }

  #contact .contact-lines {
    transform: scale(.6857142857);
    transform-origin: left top;
  }
}

@media (max-width: 800px) {
  footer h2 {
    font-size: 21vw;
  }

  .contact-heading > span {
    transform: none;
  }

  .hero-ripple::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, .38), transparent 72%),
      linear-gradient(0deg, rgba(0, 0, 0, .28), transparent 42%);
  }

  .hero-copy p,
  .hero-index {
    font-size: 15px;
  }

  .section-cap,
  .case-group header {
    font-size: 12px;
  }

  .case-grid span {
    font-size: 11px;
  }

  .case-grid h3 {
    font-size: 14px;
  }
}

/* Mobile-only editorial rhythm. Desktop rules remain unchanged. */
@media (max-width: 800px) {
  .hero h1 {
    left: 16px;
    bottom: 7%;
    font-size: 64px;
    line-height: .78;
  }

  .about {
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .about .section-cap,
  .services .section-cap,
  .fuel-work .section-cap {
    padding-bottom: 48px;
  }

  .statement {
    padding: 0 0 56px;
    font-size: 40px;
    line-height: 1.08;
  }

  .about-grid {
    gap: 32px;
  }

  .about-grid .about-person figure {
    width: 76%;
    margin-top: 28px;
  }

  .about-grid .result > p {
    margin: 12px 0 20px;
  }

  .about-grid .result strong {
    display: flex;
    flex-direction: row;
    margin-top: 32px;
    font-size: 56px;
    line-height: .9;
    white-space: nowrap;
  }

  .about-grid .result strong span:last-child {
    margin-top: 0;
    text-align: left;
  }

  .about-grid .result .circle-link {
    width: 88px;
    height: 88px;
    margin-top: 32px;
  }

  .client-marquee {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .fuel-work {
    padding-top: 48px;
    padding-bottom: 96px;
  }

  .fuel-work .work-contact-rail {
    order: 2;
    margin: 64px 0 0;
  }

  .fuel-work .work-contact h2 {
    margin-bottom: 40px;
    font-size: 64px;
    line-height: .86;
  }

  .fuel-work .project-list {
    order: 1;
    gap: 64px;
  }

  .fuel-work .project-media,
  .fuel-work .project:first-child .project-media {
    transform: none;
    aspect-ratio: auto;
    background: transparent;
  }

  .fuel-work .project-focus {
    position: static;
    height: auto;
    object-fit: contain;
  }

  .fuel-work .project-meta {
    transform: none;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 12px;
  }

  .fuel-work .project-meta h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .fuel-work .project-meta p,
  .fuel-work .project-meta b,
  .fuel-work .project-meta span {
    font-size: 12px;
    line-height: 1.4;
  }

  .fuel-work .work-nav-rail {
    order: 3;
    margin-top: 64px;
  }

  .services {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .service-lead {
    padding-bottom: 48px;
    font-size: 30px;
    line-height: 1.18;
  }

  .service-row {
    grid-template-columns: 72px minmax(0, 1fr);
    row-gap: 24px;
    padding: 48px 0;
  }

  .service-row > b {
    font-size: 58px;
    line-height: .82;
  }

  .service-row figure {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .service-row h3 {
    margin-bottom: 14px;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -.045em;
  }

  .service-row .desktop-title-break {
    display: block;
  }

  .service-row small {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  .service-row p {
    font-size: 15px;
    line-height: 1.7;
  }
}

.mobile-studio-trigger,
.mobile-studio-panel {
  display: none;
}

@media (max-width: 800px) {
  .nav {
    height: 0;
    padding: 0;
    pointer-events: none;
  }

  .nav > .profile {
    display: none;
  }

  .mobile-studio-trigger {
    position: fixed;
    top: 28px;
    left: 24px;
    z-index: 2;
    display: block;
    margin: 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity .25s ease, transform .45s cubic-bezier(.22,1,.36,1);
  }

  .mobile-studio-trigger[aria-expanded="true"] {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .mobile-studio-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: block;
    height: 280px;
    padding: 0 24px 24px;
    overflow: hidden;
    background: rgba(3,5,6,.98);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-16px);
    pointer-events: none;
    transition:
      clip-path .58s cubic-bezier(.22,1,.36,1),
      transform .58s cubic-bezier(.22,1,.36,1),
      opacity .3s ease,
      visibility 0s linear .58s;
  }

  .mobile-studio-panel.is-open {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0);
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .mobile-studio-panel-head {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.32);
  }

  .mobile-studio-panel-head strong {
    font-size: 20px;
    font-weight: 500;
  }

  .mobile-studio-close {
    width: 40px;
    height: 40px;
    margin: 0 -10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-studio-panel-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
    gap: 20px;
    align-items: center;
    padding-top: 28px;
  }

  .mobile-studio-card {
    min-width: 0;
    height: 78px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #111;
    border-radius: 3px;
  }

  .mobile-studio-card img {
    width: 62px;
    height: 68px;
    flex: 0 0 62px;
    object-fit: cover;
  }

  .mobile-studio-card span {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .mobile-studio-card b {
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-studio-card small {
    font-size: 10px;
    line-height: 1.08;
  }

  .mobile-studio-panel-body p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-copy {
    top: auto;
    left: 24px;
    bottom: 29%;
    width: calc(100% - 48px);
  }

  .hero-copy p {
    line-height: 1.55;
  }

  .hero-copy .line-link {
    padding: 24px 0 10px;
    font-size: 22px;
  }

  .hero-index {
    display: none;
  }

  .hero-footer {
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 360px) {
  .mobile-studio-panel-body {
    gap: 12px;
  }

  .mobile-studio-card img {
    width: 54px;
    flex-basis: 54px;
  }

  .mobile-studio-card b,
  .mobile-studio-panel-body p {
    font-size: 11px;
  }
}

/* 390 × 844 mobile hero matched to the supplied composition. */
@media (max-width: 800px) {
  .hero-ripple canvas {
    display: none;
  }

  .hero.ripple-ready img.hero-bg {
    opacity: 1;
  }

  .hero img.hero-bg {
    object-position: 21% center;
    transform: scale(1.08) !important;
    transform-origin: 21% bottom;
  }

  .mobile-studio-trigger {
    top: 30px;
    left: 28px;
    padding: 7px 0;
    font-size: 18px;
  }

  .mobile-studio-panel {
    height: 180px;
    padding: 0 20px 18px;
  }

  .mobile-studio-panel-head {
    height: 78px;
  }

  .mobile-studio-panel-head strong {
    font-size: 18px;
  }

  .mobile-studio-close {
    width: 34px;
    height: 34px;
    margin-right: -8px;
    font-size: 25px;
  }

  .mobile-studio-panel-body {
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 18px;
    padding-top: 22px;
  }

  .mobile-studio-card {
    width: 184px;
    height: 50px;
    padding: 3px;
    gap: 6px;
  }

  .mobile-studio-card img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .mobile-studio-card b {
    font-size: 11px;
  }

  .mobile-studio-card small {
    font-size: 8px;
  }

  .mobile-studio-panel-body p {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-copy {
    left: 34px;
    bottom: auto;
    top: 59.8%;
    width: 205px;
  }

  .hero-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    white-space: nowrap;
  }

  .hero-copy .line-link {
    width: 205px;
    padding: 27px 0 10px;
    font-size: 20px;
  }

  .hero h1 {
    left: 36px;
    right: auto;
    bottom: 10.5%;
    width: auto;
    display: flex;
    gap: .08em;
    font-family: "Norse Bold", "HarmonyOS Sans SC", sans-serif;
    font-size: 96px;
    line-height: .78;
    letter-spacing: 0;
    transform: none !important;
  }

  .hero-footer {
    left: 36px;
    right: 36px;
    bottom: 3.8%;
    justify-content: space-between;
    gap: 0;
    font-size: 12px;
  }

  .hero-footer .ticks {
    flex: 1;
    width: auto;
    max-width: none;
    height: 16px;
    margin: 0 8px;
  }
}
