@font-face {
  font-family: Inter;
  src: url("/design-system/fonts/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("/design-system/fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("/design-system/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@layer system350 {
  :root {
    --sans: Inter, Arial, sans-serif;
    --serif: Inter, Arial, sans-serif;
    --muted: #5e5e5e;
    --gutter: clamp(20px, 4.7vw, 72px);
    --section-space: 112px;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  }
  body {
    font: 400 18px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
  }
  h1,
  h2,
  h3 {
    font-family: var(--sans);
    font-weight: 350;
    letter-spacing: -0.035em;
    text-transform: none;
  }
  .wrap {
    max-width: calc(1200px + var(--gutter) * 2);
  }
  .preview-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px var(--gutter);
    background: #f5f5f5;
    border-bottom: 1px solid var(--line);
    font: 400 12px/1.5 var(--sans);
  }
  .preview-bar nav {
    display: flex;
    gap: 24px;
  }
  .preview-bar a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .section-title,
  .section-heading .section-title,
  .booking-layout .section-title,
  .custom-design .section-title {
    max-width: 850px;
    margin-inline: 0;
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 350;
    letter-spacing: -0.035em;
    text-transform: none;
    text-align: left;
    text-wrap: balance;
  }
  .section-label {
    font: 400 12px/1.5 var(--sans);
    letter-spacing: 0.06em;
    margin: 0 0 12px;
    text-align: left;
  }
  .section-heading {
    text-align: left;
    margin-bottom: 48px;
  }
  .heading-aside,
  .large-description {
    font: 400 22px/1.42 var(--sans);
    max-width: 58ch;
    margin: 20px 0 48px;
    text-align: left;
    letter-spacing: -0.015em;
  }
  .heading-aside {
    margin-bottom: 0;
  }
  .mid-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 350;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  .richtext,
  .founder-story {
    font: 400 18px/1.6 var(--sans);
  }
  .richtext > p + p {
    margin-top: 20px;
  }
  .button {
    min-height: 52px;
    padding: 15px 24px;
    border-radius: 0;
    font: 400 14px/1.45 var(--sans);
    letter-spacing: 0;
    text-transform: none;
    transition:
      background-color 160ms,
      color 160ms,
      border-color 160ms;
  }
  .text-link,
  .text-button,
  .catalog-link {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
  }
  .button-row {
    gap: 16px;
    margin-top: 28px;
  }
  .hero {
    padding-top: 0;
  }
  .hero-panel {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 64px var(--gutter) 48px;
    text-align: center;
  }
  .hero-headline {
    max-width: 900px;
    margin: 0 auto;
    font: 350 clamp(40px, 5vw, 64px)/1.06 var(--sans);
    letter-spacing: -0.045em;
    text-transform: none;
    text-wrap: balance;
  }
  .hero-headline span,
  .hero-last-word {
    display: inline;
  }
  .hero-service {
    max-width: 620px;
    margin: 24px auto 0;
    font: 400 22px/1.42 var(--sans);
    letter-spacing: -0.015em;
  }
  .hero-invitation {
    max-width: 620px;
    margin: 12px auto 28px;
    font: 400 16px/1.6 var(--sans);
    color: var(--muted);
  }
  .hero-panel .button {
    margin: 0;
    background: var(--ink);
    color: white;
    font-size: 14px;
  }
  .hero-media {
    border-radius: 0;
  }
  .hero-media .hero-photo {
    width: 100%;
    height: clamp(370px, 39vw, 620px);
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }
  .hero-intro {
    padding-top: 80px;
    padding-bottom: 0;
    gap: 9%;
  }
  .intro-question {
    font: 350 36px/1.2 var(--sans);
    letter-spacing: -0.035em;
  }
  .intro-statement {
    font: 400 20px/1.5 var(--sans);
  }
  .hero-intro .text-link {
    margin-top: 24px;
  }
  .portfolio {
    padding: 112px 0;
  }
  .gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
  }
  .gallery-heading > p {
    max-width: 340px;
    color: var(--muted);
    font-size: 17px;
    margin: 0;
  }
  .gallery-viewport {
    display: flex;
    gap: 24px;
    width: 100%;
    padding: 0 max(var(--gutter), calc((100vw - 1200px) / 2));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(var(--gutter), calc((100vw - 1200px) / 2));
    scrollbar-width: none;
    cursor: grab;
  }
  .gallery-viewport::-webkit-scrollbar {
    display: none;
  }
  .gallery-viewport[data-scrolling] {
    scroll-snap-type: none;
  }
  .gallery-viewport:active {
    cursor: grabbing;
  }
  .gallery-slide {
    flex: 0 0 min(62vw, 780px);
    min-width: 0;
    margin: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: #f5f5f5;
  }
  .gallery-viewport .gallery-slide img {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
  }
  .gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
  }
  .gallery-count {
    font: 400 13px/1.5 var(--sans);
    font-variant-numeric: tabular-nums;
    color: var(--muted);
  }
  .gallery-arrows {
    display: flex;
    gap: 8px;
  }
  .gallery-arrows button {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: white;
    font: 400 25px/1 var(--sans);
    color: var(--ink);
    cursor: pointer;
    transition:
      color 160ms,
      background 160ms;
  }
  .gallery-arrows button:disabled {
    opacity: 0.3;
    cursor: default;
  }
  .strip-bottom {
    margin-top: 24px;
  }
  .comfort-split {
    margin-top: 48px;
  }
  .atelier-detail-copy {
    text-align: left;
  }
  .atelier-detail-copy .section-title {
    max-width: 650px;
    font-size: 36px;
    text-align: left;
  }
  .atelier-detail-copy .richtext {
    max-width: 58ch;
    margin-inline: 0;
  }
  .atelier-detail-copy .button-row {
    justify-content: flex-start;
  }
  .atelier-detail-copy .step-caption {
    text-align: left;
    margin-bottom: 12px;
    font-size: 12px;
  }
  .method-card h3,
  .video-column h3,
  .price-option h3 {
    text-transform: none;
    letter-spacing: -0.025em;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 350;
  }
  .section-end .mid-title {
    max-width: 720px;
  }
  .article-card h3 {
    font-size: 25px;
    line-height: 1.25;
    font-weight: 350;
    letter-spacing: -0.025em;
  }
  .faq-item summary {
    font: 400 20px/1.4 var(--sans);
    letter-spacing: -0.015em;
  }
  .faq-item > div {
    font: 400 18px/1.6 var(--sans);
  }
  .price-option,
  .split > *,
  .process-grid > *,
  .booking-layout > * {
    min-width: 0;
  }
  .price-amount {
    font-weight: 350;
    letter-spacing: -0.03em;
  }
  .js-motion .reveal,
  .js-motion .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  :focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 5px;
  }
  @media (hover: hover) and (pointer: fine) {
    .gallery-slide:hover img {
      transform: scale(1.025);
    }
    .gallery-arrows button:not(:disabled):hover {
      color: white;
      background: var(--ink);
    }
    .hero-panel .button:hover {
      background: #363636;
    }
  }
  @media (max-width: 800px) {
    :root {
      --section-space: 72px;
    }
    .section-heading {
      margin-bottom: 32px;
    }
    .hero-intro {
      padding-top: 48px;
      gap: 24px;
    }
    .intro-question {
      font-size: 30px;
    }
    .gallery-heading {
      display: block;
    }
    .gallery-heading > p {
      margin-top: 20px;
    }
    .atelier-detail-copy {
      padding-inline: 0;
    }
  }
  @media (max-width: 700px) {
    :root {
      --gutter: 20px;
    }
    body,
    .richtext,
    .founder-story {
      font-size: 17px;
      line-height: 1.6;
    }
    .preview-bar {
      padding-block: 8px;
      gap: 6px;
      flex-wrap: wrap;
      font-size: 11px;
    }
    .preview-bar nav {
      gap: 18px;
    }
    .section-title,
    .section-heading .section-title,
    .booking-layout .section-title,
    .custom-design .section-title,
    .atelier-detail-copy .section-title {
      font-size: 30px;
      line-height: 1.13;
      letter-spacing: -0.035em;
    }
    .mid-title {
      font-size: 26px;
      line-height: 1.23;
    }
    .large-description,
    .heading-aside {
      font-size: 20px;
      line-height: 1.45;
      margin-top: 20px;
      margin-bottom: 32px;
    }
    .heading-aside {
      margin-bottom: 0;
    }
    .hero-panel {
      width: 100%;
      padding: 40px 20px 32px;
      margin: 0;
    }
    .hero-headline {
      max-width: 520px;
      font-size: 36px;
      line-height: 1.08;
      letter-spacing: -0.04em;
    }
    .hero-headline span,
    .hero-last-word {
      display: inline;
    }
    .hero-service {
      font-size: 20px;
      line-height: 1.4;
      margin-top: 20px;
    }
    .hero-invitation {
      font-size: 15px;
      margin: 12px auto 24px;
    }
    .hero-panel .button {
      width: 100%;
      max-width: 350px;
      min-height: 52px;
      font-size: 14px;
    }
    .hero-media .hero-photo {
      height: 310px;
      object-position: 50% center;
    }
    .intro-statement {
      font-size: 18px;
    }
    .portfolio {
      padding: 72px 0;
    }
    .gallery-heading {
      margin-bottom: 28px;
    }
    .gallery-heading > p {
      font-size: 17px;
    }
    .gallery-viewport {
      gap: 12px;
      padding-inline: 20px;
      scroll-padding-left: 20px;
    }
    .gallery-slide {
      flex-basis: 84vw;
    }
    .gallery-viewport .gallery-slide img {
      aspect-ratio: 4/5;
    }
    .gallery-toolbar {
      padding-top: 16px;
    }
    .gallery-arrows button {
      width: 48px;
      height: 48px;
    }
    .strip-bottom {
      align-items: start;
      gap: 24px;
    }
    .strip-bottom .text-link {
      max-width: 200px;
    }
    .comfort-split {
      margin-top: 32px;
    }
    .button-row {
      align-items: stretch;
    }
    .button {
      white-space: normal;
      overflow-wrap: anywhere;
    }
    .faq-item summary {
      font-size: 18px;
    }
    .faq-item > div {
      font-size: 17px;
    }
    .article-card h3 {
      font-size: 24px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html,
    .gallery-viewport {
      scroll-behavior: auto;
    }
    .gallery-viewport .gallery-slide img {
      transition: none;
      transform: none;
    }
  }
}
