.kos {
    --kos-pink: var(--kistat-theme-primary, #ff0086);
    --kos-pink-hover: var(--kistat-theme-primary-hover, #db0073);
    --kos-ink: #1a1418;
    --kos-muted: #6b646c;
    --kos-line: #ebe4e8;
    --kos-wash: #faf6f8;
    --kos-dark: #161014;
    color: var(--kos-ink);
    background: #fff;
    overflow: clip;
  }

  .kos *,
  .kos *::before,
  .kos *::after {
    box-sizing: border-box;
  }

  .kos-wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
  }

  .kos-eyebrow {
    margin: 0 0 12px;
    color: var(--kos-pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .kos-eyebrow--on-dark {
    color: #f7a8ce;
  }

  .kos h2 {
    margin: 0 0 16px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
  }

  .kos .kos-band__copy > p,
  .kos .kos-welcome > p:not(.kos-eyebrow),
  .kos .kos-paths__head > p:not(.kos-eyebrow),
  .kos .kos-contact__copy > p:not(.kos-eyebrow) {
    margin: 0 0 14px;
    color: var(--kos-muted);
    font-size: 16px;
    line-height: 1.7;
  }

  .kos .kos-band__copy > p:last-child,
  .kos .kos-welcome > p:last-child,
  .kos .kos-paths__head > p:last-child,
  .kos .kos-contact__copy > p:last-child {
    margin-bottom: 0;
  }

  /* —— Hero (full-bleed) —— */
  .kos-hero {
    position: relative;
    display: grid;
    place-items: end stretch;
    min-height: min(88vh, 760px);
    color: #fff;
    isolation: isolate;
  }

  .kos-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
      radial-gradient(70% 80% at 70% 40%, rgba(255, 0, 134, 0.35), transparent 60%),
      linear-gradient(145deg, #2a101c 0%, #12090e 55%, #1a0c14 100%);
  }

  .kos-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center 30%;
       object-position: center 30%;
    transform: scale(1.04);
    animation: kos-hero-drift 18s ease-in-out infinite alternate;
  }

  .kos-hero__wash {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(12, 6, 10, 0.25) 0%, rgba(12, 6, 10, 0.55) 45%, rgba(12, 6, 10, 0.88) 100%),
      radial-gradient(90% 70% at 20% 80%, rgba(255, 0, 134, 0.22), transparent 55%);
  }

  .kos-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 120px 0 72px;
    animation: kos-rise 0.9s ease both;
  }

  .kos p.kos-hero__brand {
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .kos .kos-hero__title {
    max-width: 14ch;
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 4.2vw, 46px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
  }

  .kos p.kos-hero__lead {
    max-width: 38rem;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.65;
  }

  .kos-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .kos-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .kos-btn--solid {
    background: var(--kos-pink);
    border-color: var(--kos-pink);
    color: #fff;
  }

  .kos-btn--solid:hover {
    background: var(--kos-pink-hover);
    border-color: var(--kos-pink-hover);
    transform: translateY(-1px);
  }

  .kos-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
  }

  .kos-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .kos-btn:focus-visible,
  .kos-path:focus-visible {
    outline: 3px solid #702447;
    outline-offset: 3px;
  }

  /* —— Story bands —— */
  .kos-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(56px, 8vw, 100px) 0;
  }

  .kos-band--reverse .kos-band__visual {
    order: 2;
  }

  .kos-band--reverse .kos-band__copy {
    order: 1;
  }

  .kos-band__visual {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 1 / 1.05;
    background: var(--kos-wash);
  }

  .kos-band__visual img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.7s ease;
  }

  .kos-band:hover .kos-band__visual img {
    transform: scale(1.03);
  }

  .kos-band__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
      radial-gradient(80% 70% at 30% 20%, rgba(255, 0, 134, 0.28), transparent 55%),
      linear-gradient(160deg, #2a1520, #120a10);
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 96px;
  }

  .kos-band__fallback--alt {
    background:
      radial-gradient(70% 60% at 70% 70%, rgba(255, 0, 134, 0.22), transparent 50%),
      linear-gradient(200deg, #1e1218, #0e090c);
    font-size: 64px;
    color: var(--kos-pink);
  }

  .kos-band__copy {
    max-width: 460px;
    animation: kos-rise 0.8s ease both;
    animation-delay: 0.08s;
  }

  .kos-band__copy h2 {
    color: var(--kos-ink);
  }

  /* —— Values —— */
  .kos-values {
    background: var(--kos-dark);
    color: #fff;
    padding: clamp(64px, 9vw, 104px) 0;
  }

  .kos-values__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
  }

  .kos-values__intro h2 {
    color: #fff;
  }

  .kos .kos-values__intro > p:not(.kos-eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.7;
  }

  .kos-values__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .kos-values__list li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .kos-values__list li:first-child {
    padding-top: 0;
  }

  .kos-values__list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .kos-values__num {
    color: var(--kos-pink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .kos-values__list h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .kos-values__list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
  }

  /* —— Welcome —— */
  .kos-welcome {
    max-width: 720px;
    padding: clamp(64px, 9vw, 100px) 0 24px;
  }

  /* —— Paths —— */
  .kos-paths {
    padding: 24px 0 clamp(64px, 8vw, 96px);
  }

  .kos-paths__head {
    max-width: 560px;
    margin-bottom: 28px;
  }

  .kos-paths__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .kos-path {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    border: 1px solid var(--kos-line);
    background: var(--kos-wash);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  }

  .kos-path:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 0, 134, 0.35);
    background: #fff;
  }

  .kos-path__label {
    margin-bottom: 28px;
    color: var(--kos-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .kos-path strong {
    margin-top: auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .kos-path__go {
    margin-top: 12px;
    color: var(--kos-pink);
    font-size: 13px;
    font-weight: 700;
  }

  .kos-path--journal {
    background: #1a1418;
    border-color: #1a1418;
    color: #fff;
  }

  .kos-path--journal .kos-path__label {
    color: rgba(255, 255, 255, 0.55);
  }

  .kos-path--journal:hover {
    background: #251c22;
    border-color: #251c22;
  }

  /* —— Contact —— */
  .kos-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(56px, 8vw, 88px);
    padding: 36px 40px;
    background: var(--kos-wash);
    border: 1px solid var(--kos-line);
  }

  .kos-contact__copy {
    max-width: 560px;
  }

  .kos-contact__copy h2 {
    margin-bottom: 10px;
  }

  @keyframes kos-rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes kos-hero-drift {
    from {
      transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
      transform: scale(1.08) translate3d(-1.5%, -1%, 0);
    }
  }

  @media (max-width: 959px) {
    .kos-wrap {
      width: min(100% - 40px, 1180px);
    }

    .kos h2 {
      font-size: 30px;
      line-height: 1.16;
    }

    .kos .kos-band__copy > p,
    .kos .kos-welcome > p:not(.kos-eyebrow),
    .kos .kos-paths__head > p:not(.kos-eyebrow),
    .kos .kos-contact__copy > p:not(.kos-eyebrow) {
      font-size: 15px;
    }

    /* Hero: photo strip on top, copy underneath — not a desktop overlay */
    .kos-hero {
      display: flex;
      flex-direction: column;
      min-height: 0;
      color: var(--kos-ink);
      background: #fff;
      place-items: stretch;
    }

    .kos-hero__media {
      position: relative;
      inset: auto;
      height: 240px;
    }

    .kos-hero__media img {
      transform: none;
      animation: none;
      -o-object-position: center 35%;
         object-position: center 35%;
    }

    .kos-hero__wash {
      background: linear-gradient(180deg, rgba(12, 6, 10, 0.05) 40%, rgba(12, 6, 10, 0.28) 100%);
    }

    .kos-hero__inner {
      width: min(100% - 40px, 1180px);
      padding: 28px 0 8px;
    }

    .kos p.kos-hero__brand {
      margin-bottom: 10px;
      color: var(--kos-ink);
      font-size: 28px;
      letter-spacing: 0.06em;
    }

    .kos .kos-hero__title {
      max-width: none;
      margin-bottom: 12px;
      color: var(--kos-ink);
      font-size: 32px;
    }

    .kos p.kos-hero__lead {
      max-width: none;
      margin-bottom: 20px;
      color: var(--kos-muted);
      font-size: 15px;
    }

    .kos-hero__actions {
      flex-direction: column;
      align-items: stretch;
    }

    .kos-hero__actions .kos-btn {
      width: 100%;
    }

    .kos-btn--ghost {
      border-color: var(--kos-line);
      color: var(--kos-ink);
      background: #fff;
    }

    /* Story: image full width, then text. Never side by side. */
    .kos-band,
    .kos-band--reverse {
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      padding: 36px 0;
    }

    .kos-band--reverse .kos-band__visual,
    .kos-band--reverse .kos-band__copy {
      order: unset;
    }

    .kos-band__visual {
      aspect-ratio: 4 / 3;
      border-radius: 18px;
    }

    .kos-band__copy {
      max-width: none;
    }

    .kos-band__fallback {
      font-size: 64px;
    }

    .kos-values {
      padding: 48px 0;
    }

    .kos-values__inner {
      grid-template-columns: minmax(0, 1fr);
      gap: 28px;
    }

    .kos-values__list li {
      grid-template-columns: 36px minmax(0, 1fr);
      gap: 10px;
      padding: 18px 0;
    }

    .kos-values__list h3 {
      font-size: 17px;
    }

    .kos-values__list p {
      font-size: 14px;
      line-height: 1.6;
    }

    .kos-welcome {
      padding: 40px 0 8px;
    }

    .kos-paths {
      padding: 20px 0 40px;
    }

    .kos-paths__head {
      margin-bottom: 16px;
    }

    .kos-paths__grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
    }

    .kos-path {
      min-height: 0;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      gap: 4px 12px;
      padding: 16px 16px;
    }

    .kos-path__label {
      flex: 1 0 100%;
      margin-bottom: 0;
    }

    .kos-path strong {
      margin-top: 0;
      font-size: 22px;
    }

    .kos-path__go {
      margin-top: 0;
      margin-left: auto;
    }

    .kos-contact {
      flex-direction: column;
      align-items: stretch;
      margin-bottom: 40px;
      padding: 24px 20px;
    }

    .kos-contact__copy {
      max-width: none;
    }

    .kos-contact .kos-btn {
      width: 100%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .kos-hero__media img,
    .kos-hero__inner,
    .kos-band__copy,
    .kos-band__visual img,
    .kos-path,
    .kos-btn {
      animation: none !important;
      transition: none !important;
    }

    .kos-hero__media img {
      transform: none;
    }

    .kos-btn:hover,
    .kos-path:hover {
      transform: none;
    }
  }
