/* Final responsive pass: the portfolio keeps the same calm, silver-white system at every size. */

/* Arrows are drawn with CSS lines, never as colourful operating-system emoji. */
.contact-action b,
.service-link > b,
.hero-concept-card i,
.hero-concept .scroll-link b {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  overflow: hidden;
  color: currentColor;
  font-size: 0 !important;
  font-style: normal;
  line-height: 1;
}

.contact-action b::before,
.service-link > b::before,
.hero-concept-card i::before,
.hero-concept .scroll-link b::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hero-concept .scroll-link b::before {
  transform: rotate(135deg);
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 11px;
    letter-spacing: .07em;
  }

  .nav {
    display: none;
  }

  .language {
    gap: 1px;
    padding: 2px;
  }

  .language-button {
    min-width: 34px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 9px;
  }

  /* Hero: portrait remains the centre of gravity, as on desktop. */
  .hero-concept {
    min-height: 760px;
    padding: 94px 18px 18px;
  }

  .hero-concept .eyebrow {
    font-size: 8px;
    letter-spacing: .11em;
  }

  .hero-concept .hero-content {
    z-index: 4;
    max-width: 248px;
    margin-top: 52px;
  }

  .hero-concept h1 {
    max-width: 248px;
    font-size: clamp(2.45rem, 11.2vw, 3.5rem);
    line-height: .88;
  }

  .hero-concept .hero-copy {
    max-width: 204px;
    margin-top: 17px;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-portrait,
  .hero-portrait.reveal,
  .hero-portrait.reveal.is-visible {
    z-index: 2;
    left: 50%;
    bottom: 38px;
    width: min(116vw, 520px);
    height: 560px;
    transform: translateX(-50%);
  }

  .hero-portrait img {
    object-position: center bottom;
    mask-image: linear-gradient(to bottom, #000 0 68%, rgba(0, 0, 0, .94) 78%, transparent 100%);
  }

  .hero-concept-card {
    z-index: 5;
    right: 18px;
    bottom: 118px;
    width: 128px;
    padding: 14px;
    border-radius: 21px;
    gap: 12px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 14px 34px rgba(32, 38, 44, .1);
  }

  .hero-concept-card strong {
    font-size: 17px;
  }

  .hero-credentials {
    z-index: 5;
    right: 18px;
    bottom: 68px;
    left: 18px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .hero-credentials span {
    display: grid;
    gap: 1px;
  }

  .hero-credentials b {
    font-size: 14px;
  }

  .hero-credentials small {
    font-size: 6.5px;
    line-height: 1.2;
  }

  .hero-concept .hero-footer {
    z-index: 6;
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-height: 45px;
    padding: 0 13px;
    border-radius: 24px;
  }

  .hero-concept .hero-footer p {
    display: none;
  }

  .section {
    padding: 72px 18px;
  }

  .section-intro {
    margin-bottom: 34px;
  }

  .section-intro h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
    line-height: .9;
  }

  .service-list {
    gap: 10px;
  }

  .service-link {
    position: relative;
    min-height: 144px;
    padding: 17px;
    border-radius: 23px;
  }

  .service-link h3 {
    font-size: 1.6rem;
    letter-spacing: -.06em;
  }

  .service-link p {
    max-width: 245px;
    font-size: 11px;
    line-height: 1.42;
  }

  .service-link > b {
    position: absolute;
    right: 17px;
    bottom: 17px;
  }

  .portfolio-section,
  .bots-section,
  .app-section,
  .contact {
    background: radial-gradient(circle at 85% 7%, rgba(255,255,255,.97), transparent 28%), linear-gradient(145deg, #e2e7e9, #fafbfb 56%, #dfe4e6) !important;
  }

  .website-card {
    margin-bottom: 28px;
  }

  .website-card .browser-preview,
  .website-card-wide .browser-preview {
    aspect-ratio: 1.12 / 1;
    border-radius: 20px;
  }

  .case-copy {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 6px 3px;
  }

  .case-copy h3 {
    font-size: 1.75rem;
  }

  .case-copy p {
    max-width: 290px;
    font-size: 11px;
    line-height: 1.45;
  }

  .bot-grid {
    gap: 16px;
  }

  .bot-card,
  .bot-card:first-child,
  .bot-card:nth-child(2) {
    border: 1px solid rgba(17, 19, 24, .1);
    border-radius: 25px;
    background: rgba(255,255,255,.72) !important;
    box-shadow: 0 14px 32px rgba(30, 38, 46, .07);
  }

  .assistant-window.assistant-live {
    min-height: 350px;
    border-radius: 20px;
  }

  .app-case {
    padding: 14px;
    border-radius: 28px;
  }

  .app-screen.demo-live {
    min-height: 468px;
    border-radius: 28px;
  }

  .app-intro h3 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .contact-title {
    font-size: clamp(2.9rem, 13vw, 4.4rem) !important;
    line-height: .82 !important;
  }

  .contact-actions {
    gap: 10px;
  }

  .contact-action {
    min-height: 58px !important;
    border-radius: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 380px) {
  .hero-concept {
    min-height: 720px;
  }

  .hero-portrait,
  .hero-portrait.reveal,
  .hero-portrait.reveal.is-visible {
    bottom: 35px;
    height: 520px;
  }

  .hero-concept-card {
    width: 118px;
    bottom: 111px;
  }

  .hero-credentials {
    bottom: 65px;
  }
}

/* The mark sits on the final O and utility labels stay readable on mist. */
.wordmark{gap:0!important;position:relative}.wordmark span{position:relative;margin-left:-2px!important;transform:translateY(-5px);font-size:7px!important;line-height:1}.app-intro .case-kind{color:#3d4b59!important;opacity:1;font-weight:600;letter-spacing:.1em}
