/* v5: native editorial team, process and project layouts. */
.studio-section { padding-block: 100px; scroll-margin-top: 110px; }
.studio-section h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.1; letter-spacing: -.055em; }
.team-heading { text-align: center; margin: 0 auto 60px; max-width: 1050px; }
.team-heading > p { max-width: 760px; margin: 24px auto 0; color: var(--muted); font-size: 20px; line-height: 1.6; }
.team-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.team-art { margin: 0; min-width: 0; }
.team-art img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; }
.team-art figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.team-copy { min-width: 0; }
.team-copy .eyebrow { color: var(--accent); margin-bottom: 16px; }
.team-copy h3 { font-size: clamp(30px, 3.1vw, 48px); line-height: 1.15; letter-spacing: -.05em; }
.team-bio { font-size: 20px; color: var(--muted); line-height: 1.7; margin-top: 24px; }
.team-skills { margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.8; }
.team-copy .project-link { font-size: 17px; }
.process-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
.process-heading > p { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.4; color: var(--muted); margin: 0; }
.process-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 80px 0 0; padding: 0; }
.process-rail li { position: relative; padding-top: 34px; min-width: 0; }
.process-rail li::before { content: ""; position: absolute; top: 0; left: 0; width: calc(100% + 32px); height: 1px; background: var(--accent); opacity: .45; }
.process-rail li:last-child::before { width: 100%; }
.process-rail li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.process-index { color: var(--accent); font-weight: 800; font-size: 24px; }
.process-rail h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.035em; margin: 12px 0 16px; line-height: 1.25; }
.process-rail p { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }
.process-cta { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 86px; }
.process-cta h3 { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.1; letter-spacing: -.05em; max-width: 640px; }
.process-cta .btn { flex-shrink: 0; padding: 22px 30px; }
.studio-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; border-top: 1px solid var(--line); }
.studio-faq-heading > p { font-size: 18px; color: var(--muted); line-height: 1.6; margin-top: 24px; }
.studio-question { border-bottom: 1px solid var(--line); }
.studio-question:first-child { border-top: 1px solid var(--line); }
.studio-question summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer; padding-block: 26px; list-style: none; font-size: 19px; font-weight: 600; line-height: 1.45; }
.studio-question summary::-webkit-details-marker { display: none; }
.studio-question summary > span:last-child { font-size: 28px; color: var(--accent); flex-shrink: 0; transition: transform .2s; }
.studio-question[open] summary > span:last-child { transform: rotate(45deg); }
.studio-question p { color: var(--muted); line-height: 1.8; margin: 0 0 26px; font-size: 17px; }
.owner-card.is-text-only { grid-template-columns: 1fr; max-width: 1040px; }
.owner-card.is-text-only .owner-copy { max-width: 860px; }
@media (min-width: 901px) {
  [data-project="travel"] .case-hero { grid-template-columns: .85fr 1.15fr; gap: 48px; padding-block: 52px 64px; }
  [data-project="travel"] .case-hero h1 { font-size: clamp(46px, 4.4vw, 68px); }
}
@media (max-width: 1000px) {
  .team-layout { gap: 36px; }
  .team-bio { font-size: 17px; }
  .process-heading { gap: 40px; }
  .process-rail { gap: 20px; }
  .process-rail li::before { width: calc(100% + 20px); }
  .process-rail p { font-size: 16px; }
  .studio-faq { gap: 40px; }
}
@media (max-width: 720px) {
  .studio-section { padding-block: 64px; }
  .team-heading { margin-bottom: 32px; text-align: left; }
  .team-heading > p { font-size: 17px; margin-top: 20px; }
  .team-layout, .process-heading, .studio-faq { grid-template-columns: 1fr; gap: 32px; }
  .team-copy h3 { font-size: 34px; }
  .team-bio { margin-top: 18px; }
  .process-heading > p { font-size: 22px; }
  .process-rail { grid-template-columns: 1fr; margin-top: 42px; gap: 0; }
  .process-rail li { padding: 0 0 36px 28px; }
  .process-rail li::before, .process-rail li:last-child::before { top: 8px; width: 1px; height: 100%; }
  .process-rail li:last-child::before { display: none; }
  .process-rail li::after { top: 8px; left: -4px; }
  .process-rail h3 { font-size: 25px; margin-block: 8px 10px; }
  .process-rail p { font-size: 17px; }
  .process-cta { margin-top: 14px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .process-cta .btn { white-space: normal; padding: 20px 24px; }
  .studio-question summary { font-size: 17px; padding-block: 22px; }
  .studio-question p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-question summary > span:last-child { transition: none; }
}

/* Travel artwork keeps its complete composition at every screen size. */
[data-project="travel"] .case-art {
  min-width: 0;
}
[data-project="travel"] .case-art img {
  display: block;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 1px solid #e0e9f4;
  border-radius: 24px;
  background: #eaf3fc;
  box-shadow: 0 20px 48px -28px #204a8070;
}
[data-project="travel"] .illustrated-solutions {
  gap: 44px;
}
[data-project="travel"] .solution-row {
  gap: clamp(28px, 5vw, 72px);
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
[data-project="travel"] .solution-art {
  width: 100%;
  max-width: none;
}
[data-project="travel"] .solution-art img,
[data-project="travel"] .solution-row:nth-child(even) .solution-art img {
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid #dfeaf5;
  border-radius: 24px;
  background: #eaf3fc;
  box-shadow: 0 18px 40px -30px #204a8059;
}
[data-project="travel"] .solution-art figcaption {
  padding-inline: 4px;
  margin-top: 12px;
}
[data-project="travel"] .solution-copy .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 16px;
}
[data-project-card="travel"] .product-visual img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 22px;
}

/* Direct studio contact, with Telegram and telephone as the primary actions. */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-panel .contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.contact-list > li {
  min-width: 0;
}
.contact-list a {
  align-items: stretch;
  height: 100%;
  position: relative;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.contact-list a:hover,
.contact-list a:focus-visible {
  border-color: #91aaf6;
  box-shadow: 0 12px 30px -20px #315bf55c;
}
.contact-list .contact-telegram a {
  border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
}
.contact-list .contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent);
}
.contact-list .contact-icon .icon {
  width: 23px;
  height: 23px;
}
.contact-list .label {
  font-size: 13px;
  font-weight: 500;
}
.contact-list .value {
  display: block;
  padding: 0;
  border: 0;
  color: var(--text);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.contact-list .contact-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.contact-list .contact-action .icon {
  flex-shrink: 0;
}
.contact-list .contact-email {
  grid-column: 1 / -1;
}
.contact-list .contact-email a {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 16px;
  padding: 12px 4px 0;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
}
.contact-list .contact-email .value {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
@media (max-width: 720px) {
  .contact-panel .contact-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-list a {
    padding: 22px;
  }
  .contact-list .value {
    font-size: clamp(15px, 4.4vw, 22px);
  }
  .contact-list .contact-email .value {
    font-size: 14px;
  }
  [data-project="travel"] .case-art img,
  [data-project="travel"] .solution-art img,
  [data-project="travel"] .solution-row:nth-child(even) .solution-art img {
    border-radius: 18px;
  }
  [data-project="travel"] .illustrated-solutions {
    gap: 24px;
  }
  [data-project="travel"] .solution-row {
    padding-block: 24px;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-list a {
    transition: none;
  }
}

/* Keep language, theme and menu controls visible on narrow phones. */
.header-actions > .icon-button {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .site-header .bar {
    gap: 8px;
  }
  .site-header .brand .brand-mark {
    width: 28px;
    height: 34px;
  }
}
@media (max-width: 370px) {
  .site-header .bar {
    gap: 4px;
  }
  .site-header .brand {
    font-size: 13px;
  }
  .site-header .brand .brand-mark {
    width: 24px;
    height: 30px;
  }
}
