.ysgo-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-pill);
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ysgo-muted);
}

.ysgo-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ysgo-primary);
}

.ysgo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--ysgo-radius-button);
  border: 1.5px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.ysgo-btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}

.ysgo-btn--green {
  background: var(--ysgo-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 143, 91, 0.22);
}

.ysgo-btn--green:hover {
  background: var(--ysgo-primary-dark);
  color: #fff;
}

/* CF7 submit = same primary button as .ysgo-btn--green.
   GP 3.6.1 styles input[type=submit] and :hover at (0,1,1)/(0,2,1).
   .ysgo-btn--green:hover is only (0,2,0) and loses on hover. */
.wpcf7 input.wpcf7-submit,
.wpcf7 input[type="submit"],
input.wpcf7-submit.ysgo-btn {
  background: var(--ysgo-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(47, 143, 91, 0.22);
}

.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus,
input.wpcf7-submit.ysgo-btn:hover,
input.wpcf7-submit.ysgo-btn:focus {
  background: var(--ysgo-primary-dark);
  color: #fff;
}

.ysgo-btn--outline {
  border-color: var(--ysgo-line);
  color: var(--ysgo-ink);
  background: var(--ysgo-surface);
}

.ysgo-btn--outline:hover {
  border-color: var(--ysgo-ink);
  color: var(--ysgo-ink);
}

.ysgo-btn--on-dark {
  background: #fff;
  color: var(--ysgo-ink);
}

.ysgo-btn--on-dark:hover {
  background: var(--ysgo-primary-soft);
  color: var(--ysgo-ink);
}

.ysgo-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.ysgo-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.ysgo-stats {
  border-top: 1px solid var(--ysgo-line);
  border-bottom: 1px solid var(--ysgo-line);
  background: var(--ysgo-surface);
}

.ysgo-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ysgo-stats__item {
  padding: 18px 20px;
  border-left: 1px solid var(--ysgo-line);
}

.ysgo-stats__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.ysgo-stats__label {
  display: block;
  font-family: var(--ysgo-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ysgo-blue);
  margin-bottom: 8px;
}

.ysgo-stats__value {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ysgo-ink);
}

.ysgo-lines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ysgo-line-card {
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ysgo-line-card:hover {
  border-color: #b9c8dc;
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.10);
  transform: translateY(-3px);
  color: inherit;
}

.ysgo-line-card__media {
  background: var(--ysgo-soft);
  aspect-ratio: 16 / 10;
  padding: 20px;
}

.ysgo-line-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ysgo-line-card__body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.ysgo-line-card__idx {
  font-family: var(--ysgo-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ysgo-blue);
}

.ysgo-line-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.ysgo-line-card p {
  font-size: 14.5px;
  color: var(--ysgo-muted);
}

.ysgo-line-card__go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ysgo-primary);
}

.ysgo-line-card__go::after {
  content: " →";
}

.ysgo-line-card--hold {
  border-style: dashed;
  background: transparent;
  pointer-events: none;
}

.ysgo-line-card--hold .ysgo-line-card__go {
  color: var(--ysgo-muted);
}

.ysgo-line-card--hold .ysgo-line-card__go::after {
  content: "";
}

.ysgo-line-cta {
  grid-column: 1 / -1;
  border-radius: var(--ysgo-radius-card);
  background: var(--ysgo-ink);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ysgo-line-cta h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: #fff;
}

.ysgo-line-cta p {
  font-size: 15px;
  color: #aeb9c9;
}

.ysgo-line-cta .ysgo-btn {
  align-self: flex-start;
  margin-top: 6px;
}

.ysgo-model {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  font-family: var(--ysgo-mono);
  font-size: 11.5px;
  font-weight: 500;
  background: var(--ysgo-blue-soft);
  color: var(--ysgo-blue);
  border-radius: var(--ysgo-radius-chip);
  padding: 4px 9px;
}

.ysgo-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ysgo-scope__item {
  background: var(--ysgo-bg);
  border: 1px solid var(--ysgo-line);
  color: var(--ysgo-ink);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--ysgo-radius-pill);
}

.ysgo-steps {
  display: grid;
  align-content: start;
  background: var(--ysgo-bg);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  overflow: hidden;
}

.ysgo-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 26px;
  border-top: 1px solid var(--ysgo-line);
  background: var(--ysgo-surface);
}

.ysgo-step:first-child {
  border-top: 0;
}

.ysgo-step__no {
  font-family: var(--ysgo-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ysgo-blue);
  padding-top: 3px;
}

.ysgo-step__title {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.ysgo-step__text {
  font-size: 14.5px;
  color: var(--ysgo-muted);
}

.ysgo-factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ysgo-factory-card {
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  overflow: hidden;
  background: var(--ysgo-surface);
}

.ysgo-factory-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ysgo-factory-card__cap {
  padding: 14px 18px;
  font-family: var(--ysgo-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ysgo-muted);
}

.ysgo-facts {
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ysgo-surface);
}

.ysgo-fact {
  padding: 24px 28px;
  border-right: 1px solid var(--ysgo-line);
  border-bottom: 1px solid var(--ysgo-line);
}

.ysgo-fact:nth-child(2n) {
  border-right: 0;
}

.ysgo-fact:nth-child(n + 3) {
  border-bottom: 0;
}

.ysgo-fact__label {
  display: block;
  font-family: var(--ysgo-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ysgo-blue);
  margin-bottom: 9px;
}

.ysgo-fact__value {
  font-size: 15.5px;
  font-weight: 600;
}

.ysgo-contact-panel {
  background: var(--ysgo-ink);
  border-radius: var(--ysgo-radius-panel);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ysgo-contact-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.25), transparent 65%);
  right: -120px;
  top: -160px;
}

.ysgo-contact-panel h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 48px);
}

.ysgo-contact-panel .ysgo-sec-no {
  color: #7ea5f8;
}

.ysgo-contact-panel__sub {
  color: #aeb9c9;
  font-size: 16px;
  margin-top: 16px;
  max-width: 42ch;
}

.ysgo-contact-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.ysgo-contact-panel__copy,
.ysgo-contact-panel__form {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ysgo-contact-panel__form .wpcf7 {
  color: #d5dce8;
}

.ysgo-contact-panel__form .wpcf7 p {
  margin: 0 0 12px;
}

.ysgo-contact-panel__form .wpcf7 label {
  font-size: 13.5px;
  color: #d5dce8;
}

.ysgo-contact-panel__form .wpcf7 input[type="email"],
.ysgo-contact-panel__form .wpcf7 input[type="text"],
.ysgo-contact-panel__form .wpcf7 textarea,
.ysgo-contact-panel__form .wpcf7 select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  color: var(--ysgo-ink);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-button);
  padding: 10px 12px;
}

.ysgo-contact-panel__form .wpcf7 textarea {
  min-height: 88px;
  max-height: 140px;
}

.ysgo-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ysgo-langs__item {
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  color: var(--ysgo-muted);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-pill);
  padding: 6px 12px;
  background: transparent;
}

.ysgo-langs__item--on,
.ysgo-langs__item.is-on {
  background: var(--ysgo-primary);
  border-color: var(--ysgo-primary);
  color: #fff;
}

.ysgo-sec-no {
  font-family: var(--ysgo-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ysgo-blue);
  margin-bottom: 14px;
}

.ysgo-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
  text-align: left;
  max-width: 100%;
}

.ysgo-sec-head > * {
  min-width: 0;
  max-width: 100%;
}

/* v6 homepage: number + title stay in the left cluster. Model/line stubs
   used to put .ysgo-sec-no and h2 as siblings, which sent the title into
   the auto column (right-aligned on desktop). Keep leftovers in column 1. */
.ysgo-sec-head > .ysgo-sec-no,
.ysgo-sec-head > h2 {
  grid-column: 1;
  justify-self: start;
}

.ysgo-sec-head > p {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.ysgo-sec-head p {
  color: var(--ysgo-muted);
  font-size: 15px;
  max-width: none;
}

.ysgo-media-well {
  background: var(--ysgo-soft);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  aspect-ratio: 4 / 3;
  padding: 22px;
  margin: 0 0 28px;
  max-width: 100%;
  min-width: 0;
}

.ysgo-media-well img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ysgo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 46px;
}

.ysgo-gallery .ysgo-media-well {
  margin-bottom: 0;
}

.ysgo-rv.is-in {
  opacity: 1;
  transform: none;
}

html.ysgo-js .ysgo-rv:not(.is-in) {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ysgo-rv-d1 { transition-delay: 0.06s; }
.ysgo-rv-d2 { transition-delay: 0.12s; }
.ysgo-rv-d3 { transition-delay: 0.18s; }

.ysgo-home-section {
  padding: 52px 0;
}

.ysgo-hero {
  padding: 40px 0 32px;
}

.ysgo-hero--split {
  background: var(--ysgo-bg);
  padding: 48px 0 40px;
}

.ysgo-hero--split .ysgo-hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.ysgo-hero--copy-only .ysgo-hero__grid,
.ysgo-hero--split.ysgo-hero--copy-only .ysgo-hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.ysgo-hero--copy-only .ysgo-hero__copy {
  max-width: 72ch;
}

.ysgo-hero__copy {
  background: var(--ysgo-bg);
  max-width: none;
  min-width: 0;
}

.ysgo-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 28px;
}

.ysgo-hero__stats:has(> :nth-child(1):last-child) {
  grid-template-columns: minmax(0, 1fr);
}

.ysgo-hero__stats:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ysgo-hero__stats:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ysgo-hero__stat {
  min-width: 0;
}

.ysgo-hero__stat-value {
  display: block;
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ysgo-primary);
  overflow-wrap: anywhere;
}

.ysgo-hero__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ysgo-muted);
  line-height: 1.35;
}

.ysgo-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.ysgo-hero h1 {
  margin: 16px 0 14px;
}

.ysgo-hero__hl {
  color: var(--ysgo-primary);
}

.ysgo-hero__sub {
  font-size: 17.5px;
  color: var(--ysgo-muted);
  max-width: 46ch;
}

.ysgo-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ysgo-hero__reports {
  margin-top: 14px;
  font-size: 14.5px;
}

.ysgo-hero__reports a {
  color: var(--ysgo-primary);
}

.ysgo-lines-maker {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ysgo-muted);
}

.ysgo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  font-family: var(--ysgo-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ysgo-muted);
}

.ysgo-hero__meta b {
  color: var(--ysgo-blue);
  font-weight: 600;
}

.ysgo-hero__visual {
  position: relative;
  min-width: 0;
}

.ysgo-hero__well {
  position: relative;
  height: 560px;
  border-radius: var(--ysgo-radius-card);
  overflow: hidden;
  background: var(--ysgo-soft);
}

.ysgo-hero__well img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ysgo-hero__well::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ysgo-bg), transparent);
}

.ysgo-hero-card {
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(23, 32, 51, 0.10);
}

.ysgo-hero-card__media {
  background: var(--ysgo-soft);
  border-radius: 12px;
  aspect-ratio: 4 / 3.4;
  padding: 22px;
}

.ysgo-hero-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ysgo-hero-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6px 4px;
}

.ysgo-hero-card__foot b {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ysgo-hero-card__foot span {
  font-family: var(--ysgo-mono);
  font-size: 12px;
  color: var(--ysgo-muted);
}

.ysgo-hero-chip {
  position: absolute;
  z-index: 2;
  font-family: var(--ysgo-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: var(--ysgo-radius-pill);
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.12);
  color: var(--ysgo-ink);
}

.ysgo-hero-chip--blue {
  color: var(--ysgo-blue);
  border-color: #c9d9fb;
  background: var(--ysgo-blue-soft);
}

.ysgo-hero-chip--green {
  color: #fff;
  background: var(--ysgo-primary);
  border-color: var(--ysgo-primary);
}

.ysgo-hero-chip--1 {
  top: -16px;
  right: 26px;
}

.ysgo-hero-chip--2 {
  bottom: 64px;
  left: -20px;
}

.ysgo-oem {
  background: var(--ysgo-surface);
  border-top: 1px solid var(--ysgo-line);
  border-bottom: 1px solid var(--ysgo-line);
}

.ysgo-oem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ysgo-oem__intro {
  font-size: 17px;
  margin-top: 20px;
  max-width: 40ch;
  color: var(--ysgo-muted);
}

.ysgo-oem .ysgo-scope {
  margin-top: 28px;
}

.ysgo-factory-grid {
  margin-bottom: 18px;
}

.ysgo-factory-card__img--pin {
  object-position: 30% 20%;
}

.ysgo-contact {
  padding: 0 0 52px;
}

.ysgo-hero-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--ysgo-soft);
  border-radius: 12px;
  padding: 12px;
}

.ysgo-hero-spread__cell {
  min-width: 0;
  aspect-ratio: 1;
  background: var(--ysgo-surface);
  border-radius: 8px;
  padding: 10px;
}

.ysgo-hero-spread__cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ysgo-entity {
  padding: 0 0 24px;
}

.ysgo-entity__text {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ysgo-ink);
  max-width: none;
}

.ysgo-entity__link {
  margin-top: 10px;
  font-size: 15px;
}

.ysgo-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ysgo-role {
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  padding: 24px 22px;
  min-width: 0;
}

.ysgo-role__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--ysgo-primary-soft);
}

.ysgo-role:nth-child(even) .ysgo-role__icon {
  background: var(--ysgo-blue-soft);
}

.ysgo-role__points {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ysgo-role h3 {
  font-size: 16.5px;
  margin-bottom: 10px;
}

.ysgo-role p {
  font-size: 14.5px;
  color: var(--ysgo-muted);
}

.ysgo-model-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ysgo-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ysgo-models > :last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.ysgo-home-section--models .ysgo-models {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ysgo-home-section--models .ysgo-models > :last-child:nth-child(3n + 1) {
  grid-column: auto;
}

.ysgo-home-section--models .ysgo-model-card__media {
  aspect-ratio: 4 / 3;
}

.ysgo-model-card__main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  min-width: 0;
}

.ysgo-model-card__quote {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--ysgo-primary);
  margin-top: 4px;
}

.ysgo-model-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-card);
  padding: 16px;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ysgo-model-card:hover {
  border-color: #b9c8dc;
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.10);
  transform: translateY(-3px);
  color: inherit;
}

.ysgo-model-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0;
}

.ysgo-model-card--hold {
  border-style: dashed;
  background: transparent;
  pointer-events: none;
}

.ysgo-line-entries {
  margin: 0 0 28px;
}

.ysgo-series + .ysgo-series {
  margin-top: 28px;
}

.ysgo-series > h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0 0 8px;
}

.ysgo-series > p {
  font-size: 14.5px;
  color: var(--ysgo-muted);
  margin: 0 0 16px;
}

.ysgo-model-card__media {
  background: var(--ysgo-soft);
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  padding: 10px;
  min-width: 0;
}

.ysgo-model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ysgo-model-card p {
  font-size: 14px;
  color: var(--ysgo-muted);
}

.ysgo-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ysgo-standard {
  font-family: var(--ysgo-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ysgo-ink);
  background: var(--ysgo-surface);
  border: 1px solid var(--ysgo-line);
  border-radius: var(--ysgo-radius-chip);
  padding: 10px 14px;
}

.ysgo-comply-cta {
  margin-top: 18px;
}

.ysgo-factory-solo {
  max-width: 800px;
}

.ysgo-factory-solo .ysgo-factory-card img {
  max-height: 400px;
}

.ysgo-factory-solo .ysgo-factory-card {
  margin: 0;
}

.ysgo-stats__value {
  overflow-wrap: anywhere;
}

body.ysgo-front .site-content {
  padding-top: 0;
  padding-bottom: 0;
}

body.ysgo-flush .site-content {
  padding-top: 0;
}

@media (max-width: 1080px) {
  .ysgo-hero__grid,
  .ysgo-hero--split .ysgo-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ysgo-hero__well {
    height: 360px;
  }

  .ysgo-hero__well::after {
    display: none;
  }

  .ysgo-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ysgo-hero__stats:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ysgo-hero-chip--2 {
    left: 0;
  }

  .ysgo-oem-grid {
    grid-template-columns: 1fr;
  }

  .ysgo-factory-grid,
  .ysgo-contact-panel {
    grid-template-columns: 1fr;
  }

  .ysgo-contact-panel {
    padding: 56px 32px;
  }

  .ysgo-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ysgo-stats__item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ysgo-line);
  }

  .ysgo-stats__item:nth-child(-n + 2) {
    border-top: 0;
  }

  .ysgo-roles {
    grid-template-columns: 1fr 1fr;
  }

  .ysgo-models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ysgo-models > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }

  .ysgo-home-section--models .ysgo-models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ysgo-home-section--models .ysgo-models > :last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .ysgo-home-section {
    padding: 48px 0;
  }

  .ysgo-hero,
  .ysgo-hero--split {
    padding: 36px 0;
  }

  .ysgo-hero__well {
    height: 280px;
  }

  .ysgo-contact {
    padding: 0 0 48px;
  }

  .ysgo-lines,
  .ysgo-facts {
    grid-template-columns: 1fr;
  }

  .ysgo-fact {
    border-right: 0;
    border-bottom: 1px solid var(--ysgo-line);
  }

  .ysgo-fact:last-child {
    border-bottom: 0;
  }

  .ysgo-sec-head {
    grid-template-columns: 1fr;
  }

  .ysgo-sec-head > p {
    grid-column: 1;
    grid-row: auto;
  }

  .ysgo-gallery {
    grid-template-columns: 1fr;
  }

  .ysgo-roles,
  .ysgo-stats__grid {
    grid-template-columns: 1fr;
  }

  .ysgo-models {
    grid-template-columns: 1fr 1fr;
  }

  .ysgo-models > :last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .ysgo-models > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 18px) / 2);
  }

  .ysgo-home-section--models .ysgo-models {
    grid-template-columns: 1fr 1fr;
  }

  .ysgo-home-section--models .ysgo-models > :last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .ysgo-stats__item:nth-child(-n + 2) {
    border-top: 1px solid var(--ysgo-line);
  }

  .ysgo-stats__item:first-child {
    border-top: 0;
  }

  .ysgo-entity {
    padding: 0 0 24px;
  }

  .ysgo-entity__text {
    font-size: 16px;
  }

  .ysgo-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }
}
