:root {
  --koti-bg: #03070d;
  --koti-bg-soft: #0b1118;
  --koti-panel: rgba(11, 18, 28, 0.78);
  --koti-panel-strong: rgba(15, 22, 33, 0.94);
  --koti-line: rgba(204, 216, 232, 0.14);
  --koti-line-strong: rgba(204, 216, 232, 0.22);
  --koti-text: #edf2f7;
  --koti-muted: #a7b0bf;
  --koti-dim: #74849a;
  --koti-accent: #8db2d8;
  --koti-accent-strong: #597ea8;
  --koti-glow: rgba(141, 178, 216, 0.34);
  --koti-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
  --koti-radius-xl: 36px;
  --koti-radius-lg: 28px;
  --koti-radius-md: 20px;
  --koti-radius-sm: 14px;
  --koti-max: 1420px;
  --koti-section-pad: clamp(70px, 9vw, 110px);
}

body.koti-redesign-body {
  margin: 0;
  overflow-x: hidden;
  font-size: clamp(16px, 0.2vw + 15.5px, 18px);
  line-height: 1.6;
  background:
    radial-gradient(circle at top, rgba(84, 118, 158, 0.12), transparent 24%),
    linear-gradient(180deg, #04080f 0%, #03070d 100%);
  color: var(--koti-text);
  font-family: "Manrope", sans-serif;
}

body.koti-redesign-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 30% 8%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.8px),
    radial-gradient(circle at 68% 12%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.8px);
  opacity: 0.55;
  z-index: 0;
}

.koti-shell,
.koti-main {
  position: relative;
  z-index: 1;
}

.koti-shell {
  overflow-x: clip;
}

.koti-shell a {
  color: inherit;
  text-decoration: none;
}

.koti-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 300;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
}

.koti-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--koti-accent-strong), var(--koti-accent));
}

body.koti-redesign-body.admin-bar .koti-site-nav,
body.koti-redesign-body.admin-bar .koti-progress {
  top: 32px;
}

.koti-site-nav {
  position: sticky;
  top: 0;
  z-index: 220;
  padding: 20px clamp(18px, 4vw, 40px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(3, 7, 13, 0.92), rgba(3, 7, 13, 0.55));
}

.koti-site-nav__inner {
  max-width: var(--koti-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.koti-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.koti-brand__signature {
  position: relative;
  display: inline-block;
  padding: 0 0.08em 0.12em 0;
  color: rgba(245, 247, 250, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 2.35vw, 2.72rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.065em;
  line-height: 0.78;
  white-space: nowrap;
}

.koti-brand__signature::after {
  content: "";
  position: absolute;
  right: 0.06em;
  bottom: -0.05em;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, rgba(209, 222, 245, 0.16), rgba(106, 210, 242, 0.72), rgba(148, 128, 255, 0.36));
  transform: rotate(-2deg);
  transform-origin: left center;
}

.koti-site-nav__menu {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--koti-line);
  border-radius: 999px;
  background: rgba(15, 21, 32, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.koti-site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--koti-muted);
  font: 500 0.86rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.koti-site-nav__link:hover,
.koti-site-nav__link:focus-visible,
.koti-site-nav__link.is-active {
  color: var(--koti-text);
  background: rgba(255, 255, 255, 0.05);
}

.koti-site-nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--koti-line-strong);
  border-radius: 16px;
  background: rgba(10, 15, 23, 0.7);
  font: 500 0.9rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.koti-site-nav__cta:hover,
.koti-site-nav__cta:focus-visible,
.koti-button:hover,
.koti-button:focus-visible,
.koti-email-panel:hover,
.koti-email-panel:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(141, 178, 216, 0.45);
}

.koti-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.koti-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.koti-main {
  padding: 0 clamp(18px, 4vw, 40px) clamp(60px, 6vw, 90px);
}

.koti-home-hero,
.koti-page-hero,
.koti-about-hero,
.koti-section,
.koti-stats-grid,
.koti-contact-band,
.koti-site-footer__inner {
  max-width: var(--koti-max);
  margin: 0 auto;
}

.koti-home-hero {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: end;
  gap: clamp(36px, 5vw, 84px);
  padding: clamp(48px, 6vw, 90px) 0 56px;
}

.koti-home-hero__copy {
  padding: clamp(36px, 5vw, 64px) 0 24px;
}

.koti-home-hero__meta,
.koti-scroll-indicator,
.koti-section-heading__eyebrow,
.koti-work-card__number,
.koti-work-card__tags,
.koti-journal-row__date,
.koti-journal-row__topic,
.koti-journal-row__read,
.koti-contact-detail__label,
.koti-capability-stat__label,
.koti-site-footer__inner {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.koti-home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--koti-muted);
  font-size: 0.92rem;
}

.koti-home-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--koti-accent);
  box-shadow: 0 0 16px rgba(141, 178, 216, 0.75);
}

.koti-home-hero__title,
.koti-section-heading__title {
  margin: 20px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.8rem, 11vw, 9.8rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-style: italic;
  font-weight: 500;
  color: rgba(244, 244, 248, 0.97);
}

.koti-section-heading__title {
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.94;
}

.koti-section-heading__title--hero {
  max-width: 900px;
}

.koti-home-hero__title {
  max-width: 760px;
}

.koti-home-hero__title + .koti-home-hero__stack {
  margin-top: 26px;
}

.koti-home-hero__stack,
.koti-page-hero__summary,
.koti-home-hero__summary,
.koti-about-hero__summary,
.koti-about-hero__paragraph,
.koti-explorations__copy,
.koti-contact-band__text,
.koti-case-card__copy,
.koti-testimonial-card__quote,
.koti-contact-detail p,
.koti-contact-form__status {
  max-width: 690px;
  color: var(--koti-muted);
  font-size: 1.1rem;
  line-height: 1.82;
}

.koti-home-hero__stack {
  margin-bottom: 24px;
}

.koti-home-hero__summary {
  margin-top: 0;
}

.koti-home-hero__scene {
  align-self: stretch;
  position: relative;
  min-height: 620px;
}

.koti-moon-scene {
  position: relative;
  height: 100%;
  min-height: 580px;
  border: 1px solid rgba(200, 214, 230, 0.08);
  border-radius: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.12) 0, transparent 4%),
    radial-gradient(circle at 30% 32%, rgba(132, 161, 199, 0.05) 0, transparent 34%),
    linear-gradient(180deg, rgba(6, 12, 20, 0.3) 0%, rgba(5, 11, 18, 0.9) 100%);
}

.koti-moon-scene--hero {
  background:
    linear-gradient(180deg, rgba(6, 12, 20, 0.08), rgba(5, 11, 18, 0.34)),
    url("../img/koti-home-reference-scene.png") center/cover no-repeat;
  background-size: 112%;
  animation: kotiSceneDrift 18s ease-in-out infinite alternate;
}

.koti-moon-scene--hero .koti-moon-scene__moon,
.koti-moon-scene--hero .koti-moon-scene__cloud,
.koti-moon-scene--hero .koti-moon-scene__water,
.koti-moon-scene--hero .koti-moon-scene__reflection {
  display: none;
}

.koti-moon-scene--hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(161, 189, 221, 0.08) 45%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, rgba(255, 255, 255, 0) 1px 12px);
  mix-blend-mode: screen;
  opacity: 0.46;
  animation: kotiWaterSheen 7.5s ease-in-out infinite;
}

.koti-moon-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 14%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 28%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 32%, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px);
  opacity: 0.65;
}

.koti-moon-scene__moon,
.koti-contact-band__moon,
.koti-about-portrait__moon {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(222, 228, 236, 0.94) 48%, rgba(150, 165, 185, 0.86) 74%, rgba(120, 136, 156, 0.68) 100%);
  box-shadow:
    0 0 0 16px rgba(237, 242, 247, 0.03),
    0 0 60px rgba(221, 230, 243, 0.26),
    0 0 120px rgba(135, 162, 194, 0.2);
}

.koti-moon-scene__moon::before,
.koti-contact-band__moon::before,
.koti-about-portrait__moon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 38%, rgba(132, 140, 155, 0.34) 0 11%, transparent 12%),
    radial-gradient(circle at 42% 62%, rgba(132, 140, 155, 0.28) 0 10%, transparent 11%),
    radial-gradient(circle at 28% 28%, rgba(132, 140, 155, 0.22) 0 7%, transparent 8%),
    radial-gradient(circle at 72% 70%, rgba(132, 140, 155, 0.18) 0 8%, transparent 9%);
}

.koti-moon-scene__moon {
  top: 8%;
  right: 10%;
  width: clamp(240px, 34vw, 400px);
  aspect-ratio: 1;
}

.koti-moon-scene__cloud {
  position: absolute;
  background: radial-gradient(circle at center, rgba(194, 210, 228, 0.18), transparent 62%);
  filter: blur(14px);
}

.koti-moon-scene__cloud--one {
  right: 12%;
  top: 42%;
  width: 320px;
  height: 120px;
}

.koti-moon-scene__cloud--two {
  right: 22%;
  top: 48%;
  width: 220px;
  height: 82px;
}

.koti-moon-scene__water,
.koti-contact-band__water {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(88, 118, 149, 0.08), rgba(4, 8, 13, 0) 24%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.1), rgba(2, 5, 9, 0.98) 80%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      rgba(255, 255, 255, 0) 1px 12px
    );
}

.koti-moon-scene__reflection {
  position: absolute;
  left: 54%;
  bottom: 4%;
  width: 30%;
  height: 38%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at top, rgba(239, 244, 250, 0.5), rgba(239, 244, 250, 0.08) 28%, transparent 70%),
    linear-gradient(180deg, rgba(244, 248, 253, 0.4), rgba(117, 145, 177, 0.02));
  filter: blur(2px);
  opacity: 0.92;
  clip-path: polygon(43% 0%, 57% 0%, 78% 100%, 22% 100%);
}

.koti-home-hero--immersive {
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: clamp(36px, 4vw, 54px) 0 clamp(54px, 7vw, 88px);
  isolation: isolate;
}

.koti-home-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.koti-home-hero__backdrop-grid,
.koti-home-hero__backdrop-glow {
  position: absolute;
  inset: 0;
}

.koti-home-hero__backdrop-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
  opacity: 0.15;
}

.koti-home-hero__backdrop-glow {
  background:
    radial-gradient(circle at 18% 18%, rgba(141, 178, 216, 0.16), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(89, 126, 168, 0.16), transparent 24%),
    radial-gradient(circle at 62% 76%, rgba(255, 255, 255, 0.05), transparent 20%);
}

.koti-home-hero--immersive .koti-home-hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 2vw, 34px) 0 24px;
}

.koti-home-hero__eyebrow {
  margin: 18px 0 0;
  color: rgba(237, 242, 247, 0.78);
  font: 500 0.82rem/1.5 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-home-hero__title--immersive {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(4.2rem, 9vw, 8.6rem);
  line-height: 0.92;
  text-wrap: balance;
}

.koti-home-hero__lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(237, 242, 247, 0.88);
  font-size: clamp(1.18rem, 1.2vw, 1.42rem);
  line-height: 1.65;
}

.koti-home-hero--immersive .koti-home-hero__summary {
  max-width: 640px;
  margin-top: 18px;
}

.koti-home-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.koti-home-hero__signal {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(204, 216, 232, 0.16);
  border-radius: 999px;
  background: rgba(9, 15, 24, 0.7);
  color: rgba(237, 242, 247, 0.82);
  font: 500 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.koti-home-hero__proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 28px;
}

.koti-home-hero__proof-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(204, 216, 232, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 19, 30, 0.82), rgba(7, 11, 18, 0.76));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.koti-home-hero__proof-card strong,
.koti-hero-stage__card strong {
  display: block;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  font-weight: 500;
}

.koti-home-hero__proof-card span {
  display: block;
  margin-top: 10px;
  color: var(--koti-muted);
  font: 500 0.86rem/1.45 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.koti-home-hero--immersive .koti-home-hero__scene {
  position: relative;
  min-height: 740px;
}

.koti-hero-stage {
  position: relative;
  min-height: 740px;
  padding: 28px;
  border: 1px solid rgba(204, 216, 232, 0.14);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(9, 15, 24, 0.82), rgba(4, 8, 13, 0.95));
  box-shadow: var(--koti-shadow);
  overflow: hidden;
}

.koti-hero-stage__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.koti-hero-stage__scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(0.92) brightness(0.86);
  animation: kotiHeroSceneFloat 18s ease-in-out infinite alternate;
}

.koti-hero-stage__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(3, 6, 10, 0.08), rgba(3, 7, 13, 0.28) 36%, rgba(3, 7, 13, 0.88) 100%);
}

.koti-hero-stage__visual-sheen {
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: 0;
  height: 38%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(180, 212, 245, 0.12) 40%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(255, 255, 255, 0) 1px 12px);
  opacity: 0.42;
  mix-blend-mode: screen;
  transform-origin: center bottom;
  animation: kotiHeroSheen 8s ease-in-out infinite;
}

.koti-hero-stage__visual-copy {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  max-width: 420px;
}

.koti-hero-stage__visual-copy span,
.koti-hero-stage__card-meta {
  color: rgba(237, 242, 247, 0.72);
  font: 500 0.84rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-hero-stage__visual-copy strong {
  display: block;
  margin-top: 10px;
  color: rgba(245, 248, 252, 0.96);
  font-size: 1.28rem;
  line-height: 1.5;
  font-weight: 600;
}

.koti-hero-stage__card {
  position: absolute;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(204, 216, 232, 0.18);
  border-radius: 28px;
  background: rgba(8, 14, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, border-color 220ms ease;
}

.koti-hero-stage__card:hover {
  border-color: rgba(141, 178, 216, 0.34);
}

.koti-hero-stage__card p {
  margin: 10px 0 0;
  color: rgba(237, 242, 247, 0.74);
  font-size: 1.04rem;
  line-height: 1.72;
}

.koti-hero-stage__card--portrait {
  left: 28px;
  bottom: 28px;
  width: min(280px, calc(100% - 56px));
}

.koti-hero-stage__card--portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-top: 14px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center top;
}

.koti-hero-stage__card-copy strong {
  margin-top: 14px;
  font-size: 2.2rem;
}

.koti-hero-stage__card--focus {
  top: 32px;
  right: 28px;
  width: min(320px, calc(100% - 56px));
}

.koti-hero-stage__card--metric {
  right: 34px;
  bottom: 34px;
  width: min(300px, calc(100% - 68px));
}

.koti-hero-stage__card--focus strong,
.koti-hero-stage__card--metric strong {
  margin-top: 12px;
  font-size: 2.55rem;
}

.koti-home-hero--reference {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 124px);
  padding: clamp(52px, 7vw, 84px) clamp(36px, 5vw, 56px) clamp(34px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(180deg, #07090d 0%, #030407 100%);
  isolation: isolate;
}

.koti-home-hero--reference .koti-home-hero__backdrop {
  inset: 0;
  z-index: 0;
}

.koti-home-hero__pixel-canvas,
.koti-home-hero__backdrop-dots,
.koti-home-hero__backdrop-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.koti-home-hero__pixel-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.koti-home-hero__backdrop-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1.6px);
  background-size: 10px 10px;
  opacity: 0.22;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.62) 48%, transparent 92%);
}

.koti-home-hero__backdrop-vignette {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.07), transparent 16%),
    radial-gradient(circle at center, transparent 36%, rgba(3, 4, 7, 0.42) 72%, rgba(3, 4, 7, 0.9) 100%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.36), rgba(3, 4, 7, 0.84));
}

.koti-home-hero__copy--reference {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  text-align: center;
}

.koti-home-hero__meta--centered,
.koti-home-hero__eyebrow--centered,
.koti-home-hero__lede--centered,
.koti-home-hero__summary--centered {
  text-align: center;
}

.koti-home-hero__meta--centered {
  justify-content: center;
}

.koti-home-hero__eyebrow--centered {
  max-width: 900px;
  margin-top: 18px;
}

.koti-home-hero__title--reference {
  max-width: 1020px;
  margin-top: 24px;
  font-size: clamp(4.1rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.koti-home-hero__title-line {
  display: block;
}

.koti-home-hero__title-line--soft {
  color: rgba(235, 235, 238, 0.84);
  font-style: italic;
  font-weight: 500;
}

.koti-home-hero__title-line--strong {
  margin-top: 0.04em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.062em;
  color: transparent;
  background-image: linear-gradient(180deg, rgba(244, 244, 246, 0.96), rgba(172, 174, 181, 0.78));
  -webkit-background-clip: text;
  background-clip: text;
}

.koti-home-hero__title-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0 0.08em;
  font-size: 0.46em;
  line-height: 1;
  vertical-align: 0.16em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.koti-home-hero__lede--centered {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(1.04rem, 1.08vw, 1.2rem);
  line-height: 1.6;
}

.koti-home-hero__summary--centered {
  max-width: 840px;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.68;
}

.koti-home-hero__location {
  position: absolute;
  left: clamp(16px, 2.4vw, 34px);
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 22, 29, 0.76), rgba(9, 11, 16, 0.7));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-50%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.koti-home-hero__location::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}

.koti-home-hero__location .koti-icon,
.koti-button--hero-secondary .koti-icon {
  color: rgba(245, 246, 247, 0.86);
}

.koti-home-hero__location strong,
.koti-home-hero__location span:last-child {
  display: block;
}

.koti-home-hero__location strong {
  color: var(--koti-text);
  font: 500 0.92rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.koti-home-hero__location span:last-child {
  margin-top: 5px;
  color: var(--koti-muted);
  font-size: 1rem;
}

.koti-button-row--hero {
  justify-content: center;
  margin-top: 24px;
}

.koti-button--hero-primary,
.koti-button--hero-secondary {
  position: relative;
  min-width: 224px;
  min-height: 58px;
  justify-content: center;
  border-radius: 20px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  overflow: hidden;
}

.koti-button--hero-primary::before,
.koti-button--hero-secondary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.koti-button--hero-primary {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(249, 249, 250, 1), rgba(222, 223, 228, 0.98));
  color: #111318;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.koti-button--hero-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(26, 29, 36, 0.98), rgba(13, 16, 22, 0.98));
  color: rgba(243, 244, 246, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.koti-home-hero__marquee {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-top: clamp(34px, 5vw, 56px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.koti-home-hero__marquee-label {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.54);
  font: 500 0.9rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.koti-home-hero__marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: kotiHeroMarquee 20s linear infinite;
}

.koti-home-hero__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font: 500 1.05rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.02em;
}

.koti-home-hero__marquee-item img {
  width: auto;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.76;
}

@keyframes kotiDotDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(8px, 10px, 0);
  }
}

@keyframes kotiHeroMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 27px));
  }
}

@keyframes kotiHeroSceneFloat {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(-10px, 8px, 0);
  }
}

@keyframes kotiHeroSheen {
  0%,
  100% {
    transform: translate3d(-2%, 0, 0) scaleY(1);
    opacity: 0.3;
  }
  50% {
    transform: translate3d(2%, -6px, 0) scaleY(1.05);
    opacity: 0.52;
  }
}

@keyframes kotiWaterSweep {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.26;
  }
  50% {
    transform: translateX(8%);
    opacity: 0.48;
  }
}

@keyframes kotiWaterRise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes kotiGalleryWater {
  0%,
  100% {
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.018) translateY(-4px);
    filter: brightness(1.08);
  }
}

@keyframes kotiScrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  25%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

@media (max-width: 1240px) {
  .koti-site-nav__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .koti-brand,
  .koti-site-nav__cta {
    justify-self: center;
  }

  .koti-home-hero,
  .koti-about-hero,
  .koti-contact-page,
  .koti-explorations,
  .koti-contact-band {
    grid-template-columns: 1fr;
  }

  .koti-home-hero--immersive {
    min-height: auto;
  }

  .koti-home-hero--reference {
    min-height: auto;
    padding-inline: 24px;
  }

  .koti-home-hero__location {
    top: 28px;
    left: 28px;
    transform: none;
  }

  .koti-home-hero__title--reference {
    max-width: 920px;
  }

  .koti-hero-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    min-height: auto;
    gap: 18px;
    padding: 22px;
  }

  .koti-hero-stage__visual {
    position: relative;
    grid-column: 1 / -1;
    min-height: 540px;
    border-radius: 28px;
  }

  .koti-hero-stage__card {
    position: relative;
    inset: auto;
    width: auto;
  }

  .koti-about-portrait {
    min-height: 620px;
  }
}

@media (max-width: 980px) {
  .koti-main {
    padding-inline: 16px;
  }

  .koti-site-nav {
    padding-inline: 16px;
  }

  .koti-site-nav__menu {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .koti-site-nav__menu::-webkit-scrollbar {
    display: none;
  }

  .koti-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .koti-work-grid,
  .koti-cert-grid,
  .koti-testimonial-grid,
  .koti-stats-grid,
  .koti-contact-page__grid,
  .koti-skill-columns {
    grid-template-columns: 1fr;
  }

  .koti-home-hero__location {
    position: relative;
    top: auto;
    left: auto;
    align-self: flex-start;
    margin-bottom: 28px;
    transform: none;
  }

  .koti-home-hero__marquee {
    width: 100%;
  }

  .koti-home-hero__marquee-track {
    gap: 34px;
  }

  .koti-home-hero__marquee-item {
    font-size: 0.92rem;
  }
}

@media (max-width: 720px) {
  .koti-home-hero--reference {
    padding: 28px 16px 30px;
    border-radius: 28px;
  }

  .koti-home-hero__title--reference {
    font-size: clamp(2.8rem, 11.4vw, 4.35rem);
    line-height: 0.96;
  }

  .koti-home-hero__title-line--strong {
    margin-top: 0.12em;
  }

  .koti-home-hero__lede--centered {
    margin-top: 18px;
    font-size: 1rem;
  }

  .koti-home-hero__summary--centered {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .koti-home-hero__location {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .koti-button-row {
    width: 100%;
  }

  .koti-button,
  .koti-site-nav__cta {
    width: 100%;
    justify-content: center;
  }

  .koti-button-row--hero {
    flex-direction: column;
    margin-top: 20px;
  }

  .koti-button--hero-primary,
  .koti-button--hero-secondary {
    width: 100%;
    min-width: 0;
  }

  .koti-home-hero__marquee {
    margin-top: 28px;
  }

  .koti-home-hero__marquee-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .koti-home-hero__marquee-track {
    gap: 24px;
  }

  .koti-home-hero__marquee-item {
    font-size: 0.8rem;
  }

  .koti-home-hero__marquee-item img {
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koti-home-hero__pixel-canvas,
  .koti-home-hero__marquee-track,
  .koti-home-hero__backdrop-dots {
    animation: none !important;
  }
}

/* Refinement pass: site-wide layout, motion, and missing redesign surfaces */

:root {
  --koti-bg: #02060b;
  --koti-bg-soft: #08111b;
  --koti-panel: rgba(9, 15, 24, 0.74);
  --koti-panel-strong: rgba(11, 18, 28, 0.92);
  --koti-line: rgba(191, 205, 224, 0.11);
  --koti-line-strong: rgba(191, 205, 224, 0.2);
  --koti-text: #edf1f6;
  --koti-muted: #abb4c3;
  --koti-dim: #758398;
  --koti-accent: #8db4df;
  --koti-accent-strong: #607da3;
  --koti-glow: rgba(141, 180, 223, 0.22);
  --koti-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --koti-section-pad: clamp(56px, 7vw, 92px);
}

body.koti-redesign-body {
  background:
    radial-gradient(circle at top, rgba(104, 134, 172, 0.08), transparent 22%),
    linear-gradient(180deg, #03070d 0%, #02060b 100%);
}

body.koti-redesign-body::before {
  opacity: 0.22;
}

.koti-main {
  padding: 0 clamp(20px, 4vw, 40px) clamp(72px, 7vw, 110px);
}

.koti-section--bordered,
.koti-stats-grid,
.koti-contact-band,
.koti-site-footer {
  margin-top: clamp(28px, 4vw, 42px);
}

.koti-section--bordered {
  padding: var(--koti-section-pad) 0 0;
  border-top: 1px solid rgba(191, 205, 224, 0.08);
}

[data-koti-reveal] {
  opacity: 1;
  transform: none;
}

.koti-motion-ready [data-koti-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.koti-motion-ready [data-koti-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.koti-site-nav {
  padding-top: 16px;
  padding-bottom: 16px;
  background: linear-gradient(180deg, rgba(3, 7, 13, 0.94), rgba(3, 7, 13, 0.64));
  border-bottom: 1px solid rgba(191, 205, 224, 0.04);
}

.koti-site-nav__menu {
  gap: 6px;
  padding: 9px;
  background: rgba(13, 20, 31, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.koti-site-nav__link,
.koti-site-nav__cta,
.koti-button,
.koti-email-panel,
.koti-social-link,
.koti-gallery__button {
  --koti-mx: 0px;
  --koti-my: 0px;
}

.koti-site-nav__link {
  min-height: 40px;
  padding: 0 17px;
  color: rgba(237, 241, 246, 0.7);
}

.koti-site-nav__link:hover,
.koti-site-nav__link:focus-visible,
.koti-site-nav__link.is-active {
  background: rgba(255, 255, 255, 0.055);
}

.koti-site-nav__cta {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(9, 14, 22, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform: translate3d(var(--koti-mx), var(--koti-my), 0);
}

.koti-page-hero,
.koti-about-hero {
  position: relative;
  padding: clamp(34px, 4vw, 60px) 0 clamp(12px, 2vw, 24px);
}

.koti-kicker {
  color: rgba(223, 230, 238, 0.72);
  font: 500 0.78rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.koti-title {
  margin: 0;
  color: rgba(248, 248, 250, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 5.4vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-style: italic;
  font-weight: 500;
}

.koti-page-hero {
  display: grid;
  gap: 20px;
  max-width: 1160px;
}

.koti-page-hero__summary {
  max-width: 760px;
  color: rgba(237, 241, 246, 0.78);
  font-size: 1.12rem;
  line-height: 1.75;
}

.koti-page-article,
.koti-post-single,
.koti-post-feed-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.koti-generic-card,
.koti-post-panel,
.koti-post-nav__item,
.koti-archive-empty {
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.76), rgba(5, 9, 15, 0.96));
  box-shadow: var(--koti-shadow);
}

.koti-generic-card__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 205, 224, 0.08);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

.koti-generic-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.koti-generic-card__body {
  padding: clamp(26px, 3vw, 40px);
}

.koti-rich-text {
  color: rgba(232, 238, 245, 0.84);
  font-size: 1.08rem;
  line-height: 1.85;
}

.koti-rich-text > :first-child {
  margin-top: 0;
}

.koti-rich-text > :last-child {
  margin-bottom: 0;
}

.koti-rich-text h1,
.koti-rich-text h2,
.koti-rich-text h3,
.koti-rich-text h4 {
  margin: 1.6em 0 0.55em;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.koti-rich-text h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.koti-rich-text h3 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);
}

.koti-rich-text p,
.koti-rich-text ul,
.koti-rich-text ol,
.koti-rich-text blockquote,
.koti-rich-text pre {
  margin: 0 0 1.2em;
}

.koti-rich-text ul,
.koti-rich-text ol {
  padding-left: 1.4rem;
}

.koti-rich-text li + li {
  margin-top: 0.45em;
}

.koti-rich-text a {
  color: var(--koti-accent);
}

.koti-rich-text img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.koti-rich-text blockquote {
  padding: 18px 22px;
  border-left: 2px solid rgba(141, 178, 216, 0.42);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(243, 246, 250, 0.9);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.5;
}

.koti-rich-text pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(2, 5, 10, 0.88);
  color: rgba(233, 238, 245, 0.88);
}

.koti-rich-text code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92em;
}

.koti-post-hero {
  gap: 14px;
}

.koti-post-hero__meta,
.koti-post-card__meta,
.koti-post-nav__eyebrow,
.koti-post-panel__label {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(187, 198, 213, 0.76);
  font: 500 0.82rem/1.5 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-post-hero__tax {
  color: rgba(233, 238, 244, 0.92);
}

.koti-post-single {
  display: grid;
  gap: 28px;
}

.koti-post-feature {
  overflow: hidden;
}

.koti-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: start;
}

.koti-post-article,
.koti-post-comments {
  overflow: hidden;
}

.koti-post-aside {
  display: grid;
  gap: 18px;
}

.koti-post-panel {
  padding: 22px;
}

.koti-post-panel strong {
  display: block;
  margin-top: 12px;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  line-height: 1.05;
  font-weight: 500;
}

.koti-post-panel p {
  margin: 10px 0 0;
  color: var(--koti-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.koti-post-panel__pills,
.koti-post-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.koti-post-panel__pills span,
.koti-post-card__pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(191, 205, 224, 0.14);
  border-radius: 999px;
  color: rgba(233, 238, 245, 0.86);
  font: 500 0.79rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.koti-post-panel__links {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.koti-post-panel__links a {
  color: rgba(233, 238, 245, 0.84);
  font-size: 1rem;
}

.koti-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.koti-post-nav__item {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.koti-post-nav__item:hover,
.koti-post-nav__item:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(141, 178, 216, 0.26);
}

.koti-post-nav__item strong {
  display: block;
  margin-top: 14px;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 500;
}

.koti-post-comments {
  padding: 26px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 28px;
  background: rgba(9, 14, 22, 0.62);
}

.koti-post-feed {
  display: grid;
  gap: 24px;
}

.koti-post-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.76), rgba(5, 9, 15, 0.96));
  box-shadow: var(--koti-shadow);
}

.koti-post-card__image,
.koti-post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.koti-post-card__image {
  min-height: 280px;
}

.koti-post-card__image img {
  object-fit: cover;
  filter: saturate(0.92) brightness(0.8);
  transition: transform 320ms ease, filter 220ms ease;
}

.koti-post-card:hover .koti-post-card__image img,
.koti-post-card:focus-within .koti-post-card__image img {
  transform: scale(1.04);
  filter: saturate(0.98) brightness(0.88);
}

.koti-post-card__body {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 3vw, 38px);
}

.koti-post-card__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.5vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.koti-post-card__title a {
  color: var(--koti-text);
}

.koti-post-card__excerpt {
  margin: 0;
  color: var(--koti-muted);
  font-size: 1rem;
  line-height: 1.74;
}

.koti-post-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.koti-post-pagination {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.koti-post-pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(191, 205, 224, 0.14);
  border-radius: 999px;
  color: rgba(233, 238, 245, 0.86);
  font: 500 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(9, 14, 22, 0.68);
}

.koti-archive-empty {
  overflow: hidden;
}

.koti-archive-empty h2 {
  margin: 0 0 12px;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.koti-archive-empty p {
  margin: 0;
  color: var(--koti-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.koti-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.koti-search-form input {
  flex: 1 1 280px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(191, 205, 224, 0.16);
  border-radius: 16px;
  background: rgba(4, 8, 13, 0.62);
  color: var(--koti-text);
  font: 400 1rem/1 "Manrope", sans-serif;
}

.koti-search-form button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(191, 205, 224, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.98), rgba(228, 231, 237, 0.98));
  color: #10141a;
  font: 600 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.koti-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.koti-section-heading__title span,
.koti-page-hero__summary a,
.koti-inline-link:hover,
.koti-inline-link:focus-visible {
  color: var(--koti-accent);
}

.koti-section-heading__link,
.koti-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(237, 241, 246, 0.76);
  font: 500 0.88rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.koti-section-heading__link:hover,
.koti-section-heading__link:focus-visible,
.koti-inline-link:hover,
.koti-inline-link:focus-visible {
  transform: translateX(3px);
}

.koti-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.koti-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(191, 205, 224, 0.16);
  border-radius: 999px;
  background: rgba(11, 18, 28, 0.74);
  color: var(--koti-text);
  font: 500 0.82rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translate3d(var(--koti-mx), var(--koti-my), 0);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.koti-button:hover,
.koti-button:focus-visible,
.koti-email-panel:hover,
.koti-email-panel:focus-visible {
  border-color: rgba(141, 180, 223, 0.34);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.koti-button--primary {
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.98), rgba(228, 231, 237, 0.98));
  color: #10141a;
  border-color: rgba(255, 255, 255, 0.28);
}

.koti-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.koti-work-card,
.koti-case-card,
.koti-cert-card,
.koti-testimonial-card,
.koti-contact-detail,
.koti-contact-form,
.koti-email-panel,
.koti-recognition-row,
.koti-journal-row,
.koti-gallery-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.koti-work-card::before,
.koti-case-card::before,
.koti-cert-card::before,
.koti-testimonial-card::before,
.koti-contact-detail::before,
.koti-contact-form::before,
.koti-email-panel::before,
.koti-recognition-row::before,
.koti-journal-row::before,
.koti-gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--koti-spot-x, 50%) var(--koti-spot-y, 50%), rgba(141, 180, 223, 0.16), transparent 34%);
  opacity: var(--koti-spot-opacity, 0);
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 1;
}

.koti-work-card {
  min-height: 520px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(8, 13, 21, 0.7), rgba(5, 9, 15, 0.96));
  box-shadow: var(--koti-shadow);
  transition: transform 260ms ease, border-color 220ms ease;
}

.koti-work-card:hover,
.koti-work-card:focus-within,
.koti-case-card:hover,
.koti-case-card:focus-within,
.koti-cert-card:hover,
.koti-cert-card:focus-within,
.koti-testimonial-card:hover,
.koti-testimonial-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(141, 180, 223, 0.24);
}

.koti-work-card__image,
.koti-work-card__image img,
.koti-case-card__image,
.koti-case-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.koti-work-card__image img,
.koti-case-card__image img {
  object-fit: cover;
  filter: saturate(0.92) brightness(0.76);
  transition: transform 420ms ease, filter 280ms ease;
}

.koti-work-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.koti-work-card--1 .koti-work-card__image {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.2), transparent 14%),
    linear-gradient(180deg, rgba(6, 10, 15, 0.2), rgba(6, 10, 15, 0.82)),
    linear-gradient(140deg, #121c29 0%, #08111b 56%, #03070d 100%);
}

.koti-work-card--1 .koti-work-card__image::after {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 64px);
  opacity: 0.34;
}

.koti-work-card--2 .koti-work-card__image {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 50% 38%, rgba(103, 149, 198, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 15, 0.1), rgba(6, 10, 15, 0.86)),
    linear-gradient(180deg, #0d1520 0%, #05090f 100%);
}

.koti-work-card--2 .koti-work-card__image::after {
  background:
    radial-gradient(circle at center, transparent 16%, rgba(225, 232, 241, 0.74) 16.5%, rgba(225, 232, 241, 0.12) 21%, transparent 21.5%),
    radial-gradient(circle at center, transparent 30%, rgba(225, 232, 241, 0.48) 30.5%, rgba(225, 232, 241, 0.08) 34.5%, transparent 35%);
  opacity: 0.64;
}

.koti-work-card--3 .koti-work-card__image {
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.16), transparent 14%),
    linear-gradient(180deg, rgba(6, 10, 15, 0.08), rgba(6, 10, 15, 0.82)),
    linear-gradient(160deg, #101925 0%, #04070d 68%);
}

.koti-work-card--3 .koti-work-card__image::after {
  background: linear-gradient(135deg, transparent 0 46%, rgba(235, 241, 247, 0.82) 47%, rgba(137, 174, 209, 0.14) 55%, transparent 57%);
  filter: blur(1px);
  transform: scale(1.1) translateX(12%);
  opacity: 0.68;
}

.koti-work-card--1 .koti-work-card__image img,
.koti-work-card--2 .koti-work-card__image img,
.koti-work-card--3 .koti-work-card__image img {
  opacity: 0.08;
}

.koti-work-card:hover .koti-work-card__image img,
.koti-work-card:focus-within .koti-work-card__image img,
.koti-case-card:hover .koti-case-card__image img,
.koti-case-card:focus-within .koti-case-card__image img {
  transform: scale(1.04);
  filter: saturate(0.98) brightness(0.84);
}

.koti-work-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 13, 0.04), rgba(4, 8, 13, 0.45) 55%, rgba(4, 8, 13, 0.92) 100%),
    radial-gradient(circle at 50% 110%, rgba(141, 180, 223, 0.18), transparent 40%);
  z-index: 0;
}

.koti-work-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 26px;
}

.koti-work-card__title,
.koti-case-card__title,
.koti-cert-card__title,
.koti-testimonial-card__name,
.koti-journal-row__title,
.koti-recognition-row__title {
  margin: 0;
  color: var(--koti-text);
}

.koti-work-card__title {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.koti-work-card__tags,
.koti-case-card__meta,
.koti-cert-card__meta,
.koti-recognition-row__meta,
.koti-journal-row__topic,
.koti-journal-row__read,
.koti-testimonial-card__meta {
  color: rgba(237, 241, 246, 0.68);
}

.koti-work-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.koti-work-card__metrics strong {
  display: block;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 0.92;
  font-weight: 500;
}

.koti-work-card__metrics span {
  display: block;
  margin-top: 6px;
  color: rgba(237, 241, 246, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.koti-work-card__cta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(191, 205, 224, 0.2);
  border-radius: 50%;
  background: rgba(7, 11, 17, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.koti-case-list {
  display: grid;
  gap: 28px;
}

.koti-case-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  min-height: 360px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.76), rgba(5, 9, 15, 0.96));
  box-shadow: var(--koti-shadow);
}

.koti-case-card:nth-child(even) .koti-case-card__image {
  order: 2;
}

.koti-case-card:nth-child(even) .koti-case-card__body {
  order: 1;
}

.koti-case-card__image {
  position: relative;
  min-height: 360px;
}

.koti-case-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px);
}

.koti-case-card__meta {
  font: 500 0.74rem/1.45 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-case-card__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.koti-case-card__copy {
  margin: 0;
  max-width: 48ch;
}

.koti-case-card__tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.koti-case-card__tags-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 999px;
  color: rgba(237, 241, 246, 0.76);
  font: 500 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}

.koti-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.koti-about-hero__copy {
  max-width: 760px;
}

.koti-capability-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 34px;
}

.koti-capability-stat {
  padding: 18px 0 0;
  border-top: 1px solid rgba(191, 205, 224, 0.1);
}

.koti-capability-stat__value,
.koti-stat-card__value {
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 3vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.koti-capability-stat__label,
.koti-stat-card__label {
  display: block;
  margin-top: 10px;
  color: rgba(237, 241, 246, 0.76);
}

.koti-skill-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.koti-skill-column {
  padding: 22px 22px 18px;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.56), rgba(5, 9, 15, 0.86));
}

.koti-skill-row + .koti-skill-row {
  margin-top: 18px;
}

.koti-skill-row__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: rgba(237, 241, 246, 0.88);
}

.koti-skill-row__track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.koti-skill-row__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(120, 154, 191, 0.7), rgba(185, 209, 233, 0.98));
}

.koti-about-hero__portrait {
  position: sticky;
  top: 112px;
}

.koti-about-portrait {
  position: relative;
  min-height: 680px;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(141, 180, 223, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.88), rgba(3, 6, 11, 1));
  box-shadow: var(--koti-shadow);
}

.koti-about-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 86%, rgba(3, 6, 11, 0.98), transparent 24%),
    linear-gradient(135deg, rgba(3, 6, 11, 0.84), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    radial-gradient(circle at 50% 82%, rgba(141, 180, 223, 0.18), transparent 36%);
  pointer-events: none;
  z-index: 1;
}

.koti-about-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 8%;
  filter: grayscale(1) contrast(1.08) brightness(0.94);
  transform: scale(1.34);
}

.koti-journal-list,
.koti-recognition-list {
  display: grid;
  gap: 12px;
}

.koti-journal-row,
.koti-recognition-row {
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.72), rgba(6, 10, 17, 0.9));
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.koti-journal-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 220px 120px auto;
  gap: 20px;
}

.koti-recognition-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 220px auto;
  gap: 18px;
}

.koti-journal-row:hover,
.koti-journal-row:focus-visible,
.koti-recognition-row:hover,
.koti-recognition-row:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(141, 180, 223, 0.22);
}

.koti-journal-row__title,
.koti-recognition-row__title {
  font-size: 1.06rem;
  line-height: 1.45;
  font-weight: 600;
}

.koti-journal-row__arrow,
.koti-recognition-row .koti-icon {
  justify-self: end;
  transition: transform 180ms ease;
}

.koti-journal-row:hover .koti-journal-row__arrow,
.koti-journal-row:focus-visible .koti-journal-row__arrow,
.koti-recognition-row:hover .koti-icon,
.koti-recognition-row:focus-visible .koti-icon {
  transform: translateX(4px);
}

.koti-explorations {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.koti-explorations__intro {
  max-width: 360px;
}

.koti-gallery {
  position: relative;
  min-height: 560px;
}

.koti-gallery__stage {
  position: relative;
  min-height: 500px;
}

.koti-gallery-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 72%);
  min-height: 420px;
  padding: 24px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.56), rgba(4, 7, 12, 0.92));
  box-shadow: var(--koti-shadow);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 420ms ease;
}

.koti-gallery-card__art {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.scene-ocean .koti-gallery-card__art {
  background:
    radial-gradient(circle at 50% 20%, rgba(239, 244, 250, 0.9), rgba(239, 244, 250, 0.06) 16%, transparent 17%),
    linear-gradient(180deg, rgba(26, 39, 58, 0.18), transparent 44%),
    linear-gradient(180deg, #0f1621 0%, #0b1118 44%, #03070d 100%);
}

.scene-ocean .koti-gallery-card__art::before,
.scene-trail .koti-gallery-card__art::before,
.scene-aurora .koti-gallery-card__art::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 16%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 10px),
    linear-gradient(180deg, rgba(16, 23, 33, 0.12), rgba(3, 7, 13, 0.96));
  opacity: 0.72;
}

.scene-ridge .koti-gallery-card__art {
  background:
    linear-gradient(180deg, rgba(8, 15, 23, 0.12), rgba(3, 7, 13, 0.2)),
    linear-gradient(155deg, rgba(92, 114, 144, 0.34), transparent 34%),
    linear-gradient(25deg, rgba(240, 244, 248, 0.08), transparent 24%),
    linear-gradient(180deg, #101723 0%, #05090f 100%);
}

.scene-ridge .koti-gallery-card__art::before {
  content: "";
  position: absolute;
  inset: 18% 10% 12%;
  background: linear-gradient(140deg, transparent 0%, transparent 34%, rgba(233, 238, 244, 0.9) 34.5%, rgba(93, 106, 125, 0.12) 62%, transparent 62.5%);
  clip-path: polygon(12% 100%, 40% 26%, 54% 62%, 71% 8%, 100% 100%);
  opacity: 0.5;
}

.scene-glass .koti-gallery-card__art {
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.18), rgba(4, 7, 12, 0.8)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 18%, transparent 62%, rgba(255, 255, 255, 0.08) 62%, transparent 76%),
    linear-gradient(180deg, #0d1520 0%, #04070c 100%);
}

.scene-glass .koti-gallery-card__art::before {
  content: "";
  position: absolute;
  inset: 14% 16%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 24%);
}

.scene-trail .koti-gallery-card__art {
  background:
    radial-gradient(circle at 50% 18%, rgba(239, 244, 250, 0.5), transparent 12%),
    linear-gradient(180deg, rgba(15, 22, 33, 0.12), rgba(3, 7, 13, 0.48)),
    linear-gradient(180deg, #0d1420 0%, #04070c 100%);
}

.scene-trail .koti-gallery-card__art::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 20%;
  bottom: 0;
  top: 40%;
  background: linear-gradient(135deg, transparent 0 48%, rgba(247, 250, 253, 0.76) 49%, rgba(173, 192, 213, 0.12) 56%, transparent 58%);
  filter: blur(0.5px);
}

.scene-aurora .koti-gallery-card__art {
  background:
    radial-gradient(circle at 50% 18%, rgba(239, 244, 250, 0.8), transparent 12%),
    radial-gradient(circle at 50% 12%, rgba(137, 188, 220, 0.18), transparent 28%),
    linear-gradient(180deg, #0a1119 0%, #04070d 100%);
}

.scene-aurora .koti-gallery-card__art::after {
  content: "";
  position: absolute;
  inset: 14% 18% auto;
  height: 34%;
  background: linear-gradient(180deg, rgba(173, 210, 235, 0.24), rgba(90, 135, 176, 0.05) 44%, transparent 100%);
  filter: blur(18px);
}

.koti-gallery-card__content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 2;
}

.koti-gallery-card__content h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.koti-gallery-card__content p {
  margin: 10px 0 0;
  max-width: 28ch;
  color: rgba(237, 241, 246, 0.74);
}

.koti-gallery-card.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
}

.koti-gallery-card.is-prev {
  opacity: 0.58;
  transform: translate(-78%, -48%) scale(0.84);
  z-index: 2;
}

.koti-gallery-card.is-next {
  opacity: 0.58;
  transform: translate(-22%, -48%) scale(0.84);
  z-index: 2;
}

.koti-gallery-card.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  z-index: 1;
}

.koti-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.koti-gallery__count {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(237, 241, 246, 0.74);
  font: 500 0.82rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-gallery__count span:nth-child(2) {
  width: 72px;
  height: 1px;
  background: rgba(191, 205, 224, 0.18);
}

.koti-gallery__buttons {
  display: inline-flex;
  gap: 12px;
}

.koti-gallery__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 50%;
  background: rgba(10, 15, 23, 0.72);
  color: var(--koti-text);
}

.koti-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 13, 21, 0.46), rgba(4, 7, 12, 0.88));
  overflow: hidden;
}

.koti-stat-card {
  padding: 28px 24px 30px;
  border-left: 1px solid rgba(191, 205, 224, 0.08);
}

.koti-stat-card:first-child {
  border-left: 0;
}

.koti-stat-card__meta {
  margin-top: 10px;
  color: rgba(237, 241, 246, 0.66);
  line-height: 1.6;
}

.koti-cert-grid,
.koti-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.koti-cert-card,
.koti-testimonial-card {
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.7), rgba(5, 8, 14, 0.94));
  box-shadow: var(--koti-shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.koti-cert-card__image {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border-bottom: 1px solid rgba(191, 205, 224, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    radial-gradient(circle at top, rgba(141, 180, 223, 0.14), transparent 28%),
    #e9eef3;
}

.koti-cert-card__image img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.koti-cert-card__body,
.koti-testimonial-card {
  padding: 22px 22px 24px;
}

.koti-cert-card__title {
  margin-top: 8px;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 600;
}

.koti-testimonial-card__quote {
  margin: 0;
  color: rgba(237, 241, 246, 0.82);
}

.koti-testimonial-card__name {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 600;
}

.koti-testimonial-card__meta {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.koti-contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(400px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.koti-contact-page__main {
  display: grid;
  gap: 20px;
}

.koti-email-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 0 24px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 15, 23, 0.74), rgba(5, 9, 15, 0.94));
  box-shadow: var(--koti-shadow);
  transform: translate3d(var(--koti-mx), var(--koti-my), 0);
}

.koti-email-panel--large {
  min-height: 110px;
}

.koti-email-panel span:nth-child(2) {
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.koti-icon--panel {
  width: 22px;
  height: 22px;
}

.koti-contact-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.koti-contact-detail {
  padding: 24px;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.64), rgba(5, 9, 15, 0.92));
}

.koti-contact-detail h2 {
  margin: 12px 0 8px;
  color: var(--koti-text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  line-height: 0.98;
}

.koti-contact-detail p {
  margin: 0;
  color: rgba(237, 241, 246, 0.72);
}

.koti-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.koti-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 999px;
  background: rgba(9, 14, 22, 0.62);
  color: rgba(237, 241, 246, 0.78);
  font: 500 0.76rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate3d(var(--koti-mx), var(--koti-my), 0);
  transition: color 180ms ease, border-color 180ms ease;
}

.koti-social-link:hover,
.koti-social-link:focus-visible {
  color: var(--koti-text);
  border-color: rgba(141, 180, 223, 0.26);
}

.koti-contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.78), rgba(5, 9, 15, 0.96));
  box-shadow: var(--koti-shadow);
}

.koti-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.koti-contact-form label {
  display: grid;
  gap: 10px;
}

.koti-contact-form label span {
  color: rgba(237, 241, 246, 0.8);
  font: 500 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-contact-form input,
.koti-contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(191, 205, 224, 0.12);
  border-radius: 18px;
  background: rgba(3, 7, 13, 0.84);
  color: var(--koti-text);
  font: 500 1rem/1.5 "Manrope", sans-serif;
  box-sizing: border-box;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.koti-contact-form textarea {
  min-height: 164px;
  resize: vertical;
}

.koti-contact-form input:focus,
.koti-contact-form textarea:focus {
  border-color: rgba(141, 180, 223, 0.34);
  box-shadow: 0 0 0 4px rgba(141, 180, 223, 0.08);
}

.koti-contact-form__status {
  margin: 0;
  font-size: 0.92rem;
}

.koti-contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, auto);
  align-items: end;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(191, 205, 224, 0.1);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 13, 21, 0.62), rgba(4, 7, 12, 0.95));
}

.koti-contact-band__scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(141, 180, 223, 0.16), transparent 18%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%);
  pointer-events: none;
}

.koti-contact-band__moon {
  top: 22px;
  right: 18%;
  width: 180px;
  aspect-ratio: 1;
  opacity: 0.18;
  filter: blur(1px);
}

.koti-contact-band__water {
  inset: auto 0 0;
  height: 28%;
  opacity: 0.22;
}

.koti-contact-band__copy,
.koti-contact-band__panel {
  position: relative;
  z-index: 2;
}

.koti-contact-band__copy {
  max-width: 680px;
}

.koti-contact-band__panel {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
}

.koti-site-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(191, 205, 224, 0.08);
}

.koti-site-footer__ticker {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(191, 205, 224, 0.06);
  padding-bottom: 14px;
}

.koti-site-footer__ticker-track {
  display: flex;
  gap: 26px;
  width: max-content;
  color: rgba(237, 241, 246, 0.62);
  font: 500 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: kotiHeroMarquee 28s linear infinite;
}

.koti-site-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  color: rgba(237, 241, 246, 0.68);
  font-size: 0.72rem;
}

@media (max-width: 1240px) {
  .koti-work-grid,
  .koti-cert-grid,
  .koti-testimonial-grid,
  .koti-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .koti-case-card {
    grid-template-columns: 1fr;
  }

  .koti-case-card:nth-child(even) .koti-case-card__image,
  .koti-case-card:nth-child(even) .koti-case-card__body {
    order: initial;
  }

  .koti-case-card__image {
    min-height: 320px;
  }

  .koti-explorations,
  .koti-contact-band,
  .koti-contact-page,
  .koti-about-hero {
    grid-template-columns: 1fr;
  }

  .koti-about-hero__portrait {
    position: relative;
    top: auto;
  }

  .koti-about-portrait {
    min-height: 580px;
  }

  .koti-post-card {
    grid-template-columns: 1fr;
  }

  .koti-post-card__image {
    min-height: 260px;
  }
}

@media (max-width: 980px) {
  .koti-page-hero,
  .koti-about-hero {
    padding-top: 26px;
  }

  .koti-section-heading {
    margin-bottom: 22px;
  }

  .koti-work-grid,
  .koti-cert-grid,
  .koti-testimonial-grid,
  .koti-stats-grid,
  .koti-capability-stats,
  .koti-skill-columns,
  .koti-contact-page__grid {
    grid-template-columns: 1fr;
  }

  .koti-journal-row,
  .koti-recognition-row {
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 22px;
  }

  .koti-journal-row__arrow,
  .koti-recognition-row .koti-icon {
    justify-self: start;
  }

  .koti-gallery {
    min-height: 500px;
  }

  .koti-gallery-card {
    width: min(100%, 680px);
  }

  .koti-gallery-card.is-prev,
  .koti-gallery-card.is-next {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }

  .koti-email-panel span:nth-child(2) {
    font-size: 1.8rem;
  }

  .koti-site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .koti-post-layout,
  .koti-post-nav {
    grid-template-columns: 1fr;
  }

  .koti-post-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .koti-site-nav__menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
    border-radius: 26px;
  }

  .koti-site-nav__link {
    width: 100%;
    min-height: 46px;
    padding: 0 10px;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .koti-page-hero__summary,
  .koti-about-hero__summary,
  .koti-about-hero__paragraph,
  .koti-explorations__copy,
  .koti-contact-band__text,
  .koti-case-card__copy,
  .koti-testimonial-card__quote {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .koti-work-card,
  .koti-case-card,
  .koti-cert-card,
  .koti-testimonial-card,
  .koti-contact-form,
  .koti-contact-band,
  .koti-email-panel,
  .koti-about-portrait {
    border-radius: 24px;
  }

  .koti-work-card {
    min-height: 440px;
  }

  .koti-work-card__body,
  .koti-case-card__body,
  .koti-contact-form,
  .koti-contact-detail,
  .koti-cert-card__body,
  .koti-testimonial-card,
  .koti-contact-band {
    padding: 20px;
  }

  .koti-work-card__title,
  .koti-case-card__title {
    font-size: 2rem;
  }

  .koti-work-card__metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .koti-gallery,
  .koti-gallery__stage {
    min-height: 420px;
  }

  .koti-gallery-card {
    min-height: 340px;
    padding: 18px;
  }

  .koti-gallery__controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .koti-contact-form__row {
    grid-template-columns: 1fr;
  }

  .koti-email-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    min-height: auto;
    padding: 20px;
  }

  .koti-email-panel span:nth-child(2) {
    font-size: 1.55rem;
  }

  .koti-contact-band__panel {
    width: 100%;
  }

  .koti-generic-card,
  .koti-post-panel,
  .koti-post-nav__item,
  .koti-archive-empty,
  .koti-post-card {
    border-radius: 24px;
  }

  .koti-generic-card__media {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .koti-generic-card__body,
  .koti-post-panel,
  .koti-post-nav__item,
  .koti-post-comments,
  .koti-post-card__body {
    padding: 20px;
  }

  .koti-post-aside {
    grid-template-columns: 1fr;
  }

  .koti-post-card__footer,
  .koti-post-pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .koti-post-card__image {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-koti-reveal],
  .koti-work-card,
  .koti-case-card,
  .koti-cert-card,
  .koti-testimonial-card,
  .koti-journal-row,
  .koti-recognition-row,
  .koti-gallery-card,
  .koti-site-footer__ticker-track {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Screenshot fidelity overrides */

body.koti-redesign-body {
  font-size: clamp(16px, 0.2vw + 15.5px, 18px);
  background:
    radial-gradient(circle at 50% 0, rgba(72, 104, 146, 0.08), transparent 30%),
    linear-gradient(180deg, #03060b 0%, #04070d 100%);
}

body.koti-redesign-body::before {
  opacity: 0.38;
}

.koti-main.koti-reference {
  padding: 0 clamp(20px, 3.2vw, 38px) 84px;
}

.theme-toggle-btn,
.scroll-to-top-fab {
  display: none !important;
}

.koti-site-nav {
  padding: 24px clamp(20px, 3.2vw, 38px) 10px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border-bottom: 1px solid rgba(122, 140, 166, 0.08);
}

.koti-site-nav__inner {
  max-width: 1240px;
  grid-template-columns: auto 1fr auto;
}

.koti-brand {
  gap: 0;
}

.koti-brand__signature {
  font-size: clamp(2.05rem, 2.1vw, 2.5rem);
}

.koti-site-nav__menu {
  justify-self: center;
  gap: clamp(18px, 2vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.koti-site-nav__link {
  position: relative;
  min-height: auto;
  padding: 0 0 14px;
  border-radius: 0;
  background: transparent;
  color: rgba(228, 234, 242, 0.88);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

.koti-site-nav__link:hover,
.koti-site-nav__link:focus-visible,
.koti-site-nav__link.is-active {
  color: rgba(250, 251, 253, 0.98);
  background: transparent;
}

.koti-site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #84b6eb;
  box-shadow: 0 0 12px rgba(132, 182, 235, 0.8);
}

.koti-site-nav__cta {
  min-height: 0;
  padding: 12px 18px;
  border-radius: 12px;
  border-color: rgba(150, 167, 191, 0.34);
  background: rgba(5, 9, 15, 0.4);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
}

.koti-site-footer__ticker {
  display: none;
}

.koti-site-footer__inner {
  max-width: 1240px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(120, 137, 162, 0.12);
  color: rgba(152, 164, 183, 0.82);
  font: 500 0.82rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-reference {
  position: relative;
  z-index: 1;
}

.koti-ref-page-label,
.koti-ref-section__eyebrow,
.koti-ref-projects-hero__eyebrow,
.koti-ref-recommendations__label,
.koti-ref-certifications__label,
.koti-ref-skill-column__label {
  color: rgba(223, 230, 238, 0.74);
  font: 500 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.koti-ref-page-title,
.koti-ref-section__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.8rem, 6.4vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-style: italic;
  font-weight: 500;
  color: rgba(248, 248, 250, 0.98);
}

.koti-ref-page-title span,
.koti-ref-section__title span {
  color: #8ea8cd;
}

.koti-ref-page-title--projects,
.koti-ref-page-title--journal,
.koti-ref-page-title--contact,
.koti-ref-page-title--recognition {
  font-size: clamp(3.3rem, 5.7vw, 5.7rem);
}

.koti-ref-home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 78px 0 0;
  overflow: hidden;
}

.koti-ref-home-hero__backdrop,
.koti-ref-home-hero__dots,
.koti-ref-home-hero__vignette {
  position: absolute;
  inset: 0;
}

.koti-ref-home-hero__backdrop {
  pointer-events: none;
}

.koti-home-hero__pixel-canvas {
  opacity: 0.6;
}

.koti-ref-home-hero__dots {
  background-image: radial-gradient(circle, rgba(130, 160, 197, 0.15) 1px, transparent 1.4px);
  background-size: 10px 10px;
  opacity: 0.22;
  mask-image: radial-gradient(circle at 50% 34%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.28) 56%, transparent 100%);
}

.koti-ref-home-hero__vignette {
  background:
    radial-gradient(circle at 50% 34%, rgba(132, 167, 207, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.2), rgba(3, 6, 11, 0.88));
}

.koti-ref-home-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 0 56px;
  text-align: center;
}

.koti-ref-home-hero__meta,
.koti-ref-home-hero__kicker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: rgba(223, 230, 238, 0.7);
  font: 500 0.82rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.koti-ref-home-hero__kicker {
  margin-top: 22px;
}

.koti-ref-home-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #84b6eb;
  align-self: center;
  box-shadow: 0 0 10px rgba(132, 182, 235, 0.8);
}

.koti-ref-home-hero__title {
  margin: 24px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.9rem, 7.1vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(248, 248, 249, 0.98);
  font-style: italic;
  font-weight: 500;
}

.koti-ref-home-hero__title span {
  display: block;
}

.koti-ref-home-hero__title em {
  font-style: normal;
  color: #89a8cf;
}

.koti-ref-home-hero__lede,
.koti-ref-home-hero__summary,
.koti-ref-about-hero__summary,
.koti-ref-about-hero__paragraph,
.koti-ref-projects-hero__summary,
.koti-ref-contact-page__summary,
.koti-contact-band__text {
  margin: 16px auto 0;
  max-width: 760px;
  color: rgba(210, 218, 228, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.koti-ref-home-hero__summary {
  max-width: 880px;
}

.koti-ref-home-hero__recruiter {
  max-width: 760px;
  margin: 18px auto 0;
  color: rgba(143, 171, 207, 0.9);
  font: 500 0.84rem/1.75 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-ref-home-hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.koti-ref-home-hero__focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.koti-ref-home-focus-card,
.koti-ref-about-focus-card,
.koti-ref-contact-focus-card {
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid rgba(118, 133, 154, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.82), rgba(7, 11, 17, 0.72)),
    radial-gradient(circle at top, rgba(129, 161, 200, 0.12), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.koti-ref-home-focus-card h2,
.koti-ref-about-focus-card h2,
.koti-ref-contact-focus-card h2 {
  margin: 0;
  color: rgba(243, 247, 251, 0.96);
  font: 500 0.98rem/1.3 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.koti-ref-home-focus-card p,
.koti-ref-about-focus-card p,
.koti-ref-contact-focus-card p {
  margin: 12px 0 0;
  color: rgba(198, 208, 220, 0.78);
  font-size: 1.02rem;
  line-height: 1.65;
}

.koti-ref-home-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.koti-ref-home-hero__chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 999px;
  background: rgba(9, 13, 20, 0.5);
  color: rgba(231, 236, 242, 0.86);
  font: 500 0.79rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-button--hero-primary,
.koti-button--hero-secondary,
.koti-button--contact-submit {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font: 500 0.9rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.koti-button--hero-primary {
  background: linear-gradient(180deg, #7595bc 0%, #5f7ea6 100%);
  border: 1px solid rgba(180, 198, 221, 0.32);
  color: #f7fafc;
}

.koti-button--hero-secondary {
  background: rgba(5, 10, 16, 0.24);
  border: 1px solid rgba(164, 179, 199, 0.22);
  color: rgba(242, 245, 249, 0.96);
}

.koti-ref-home-hero__location {
  position: relative;
  align-self: center;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 190px;
  max-width: min(100%, 320px);
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(142, 160, 185, 0.18);
  border-radius: 14px;
  background: rgba(7, 11, 17, 0.58);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.koti-ref-home-hero__status {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #84b6eb;
  box-shadow: 0 0 10px rgba(132, 182, 235, 0.8);
}

.koti-ref-home-hero__location strong,
.koti-ref-home-hero__location span:last-child {
  display: block;
}

.koti-ref-home-hero__location strong {
  color: rgba(245, 248, 251, 0.96);
  font: 500 0.88rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-ref-home-hero__location span:last-child {
  margin-top: 10px;
  color: rgba(201, 210, 221, 0.76);
  font-size: 1rem;
}

.koti-ref-home-hero__scroll {
  position: relative;
  align-self: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 auto 28px;
  color: rgba(215, 223, 233, 0.8);
  font: 500 0.8rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.koti-ref-home-hero__mouse {
  display: inline-flex;
  justify-content: center;
  width: 35px;
  height: 56px;
  padding-top: 10px;
  border: 1px solid rgba(143, 161, 184, 0.24);
  border-radius: 999px;
}

.koti-ref-home-hero__mouse span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #84b6eb;
  box-shadow: 0 0 10px rgba(132, 182, 235, 0.8);
}

.koti-ref-home-hero__band {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.koti-ref-home-proof-band {
  position: relative;
  overflow: hidden;
  min-height: 314px;
  padding: 34px 38px 34px;
  border-top: 1px solid rgba(118, 133, 154, 0.12);
  border-bottom: 1px solid rgba(118, 133, 154, 0.12);
}

.koti-ref-home-proof-band__scene {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 104px;
  object-fit: cover;
  object-position: center top;
  opacity: 0.52;
  mix-blend-mode: screen;
  pointer-events: none;
}

.koti-ref-home-proof-band__copy,
.koti-ref-home-proof-band__logos {
  position: relative;
  z-index: 1;
}

.koti-ref-home-proof-band__eyebrow {
  color: rgba(202, 211, 223, 0.8);
  font: 500 0.78rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.koti-ref-home-proof-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.koti-ref-home-proof-card {
  padding: 18px 16px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 18px;
  background: rgba(5, 9, 15, 0.42);
  backdrop-filter: blur(10px);
}

.koti-ref-home-proof-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(247, 248, 250, 0.98);
}

.koti-ref-home-proof-card span {
  display: block;
  margin-top: 10px;
  color: rgba(169, 183, 201, 0.86);
  font: 500 0.8rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-ref-home-proof-card p {
  margin: 10px 0 0;
  color: rgba(200, 210, 222, 0.75);
  font-size: 0.98rem;
  line-height: 1.55;
}

.koti-ref-home-proof-band__logos {
  margin-top: 28px;
}

.koti-ref-logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.koti-ref-logo-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: kotiReferenceMarquee 22s linear infinite;
}

.koti-ref-logo-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 999px;
  background: rgba(8, 12, 19, 0.58);
}

.koti-ref-logo-marquee__item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.55);
  opacity: 0.92;
}

.koti-ref-logo-marquee__item span {
  color: rgba(224, 230, 237, 0.9);
  font: 500 0.8rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-ref-section--work-home,
.koti-ref-projects-archive,
.koti-ref-journal,
.koti-ref-about-hero,
.koti-ref-recognition,
.koti-ref-contact-page,
.koti-contact-band {
  max-width: 1240px;
  margin: 0 auto;
}

.koti-ref-section--work-home {
  padding-top: 54px;
}

.koti-ref-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.koti-ref-section__title {
  margin-top: 18px;
  font-size: clamp(3rem, 5vw, 4.7rem);
}

.koti-ref-section__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(207, 217, 231, 0.78);
  font: 500 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.koti-ref-featured-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(118, 133, 154, 0.14);
}

.koti-ref-featured-row {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  min-height: 206px;
  border-bottom: 1px solid rgba(118, 133, 154, 0.14);
}

.koti-ref-featured-row__copy {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 24px 24px 12px;
  background: rgba(5, 9, 15, 0.36);
}

.koti-ref-featured-row__number {
  color: rgba(137, 146, 166, 0.78);
  font: 500 0.96rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-ref-featured-row__tags,
.koti-ref-project-row__tags {
  color: rgba(168, 180, 196, 0.76);
  font: 500 0.8rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.koti-ref-featured-row__content h3,
.koti-ref-project-row__copy h2 {
  margin: 18px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1.05;
  font-weight: 500;
  color: rgba(247, 247, 249, 0.98);
}

.koti-ref-featured-row__content p {
  margin: 14px 0 0;
  color: rgba(202, 211, 223, 0.76);
  font-size: 1.08rem;
  line-height: 1.62;
}

.koti-ref-featured-row__signals,
.koti-ref-project-row__signals {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.koti-ref-featured-row__signals div,
.koti-ref-project-row__signals div {
  display: grid;
  gap: 6px;
}

.koti-ref-featured-row__signals strong,
.koti-ref-project-row__signals strong {
  color: rgba(138, 171, 209, 0.86);
  font: 500 0.76rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-ref-featured-row__signals span,
.koti-ref-project-row__signals span {
  color: rgba(205, 214, 225, 0.78);
  font-size: 1.02rem;
  line-height: 1.55;
}

.koti-ref-featured-row__metrics {
  display: flex;
  gap: 34px;
  margin-top: 24px;
}

.koti-ref-featured-row__metrics strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.05rem;
  line-height: 1;
  font-weight: 500;
}

.koti-ref-featured-row__metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(178, 188, 201, 0.72);
  font: 500 0.76rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.koti-ref-featured-row__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #8fb2dd;
  font: 500 0.8rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-ref-featured-row__art,
.koti-ref-project-row__art,
.koti-ref-projects-hero__art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #07101a;
}

.koti-ref-featured-row__art::after,
.koti-ref-project-row__art::after,
.koti-ref-projects-hero__art::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(3, 8, 15, 0.36), rgba(9, 43, 57, 0.2));
  pointer-events: none;
}

.koti-ref-featured-row__art img,
.koti-ref-project-row__art img,
.koti-ref-projects-hero__art img,
.koti-ref-about-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.koti-ref-featured-row__art img,
.koti-ref-project-row__art img,
.koti-ref-projects-hero__art img {
  filter: saturate(0.82) contrast(1.05) brightness(0.8);
}

.koti-ref-featured-row__art a,
.koti-ref-project-row__art a {
  display: block;
  width: 100%;
  height: 100%;
}

.koti-ref-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 28px;
  padding-top: 46px;
}

.koti-ref-about-hero__copy {
  padding: 34px 8px 0 16px;
}

.koti-ref-about-hero__copy,
.koti-ref-about-hero__art {
  min-width: 0;
}

.koti-reference--about .koti-ref-page-title {
  max-width: 580px;
  font-size: clamp(4rem, 6.3vw, 5.55rem);
  line-height: 0.95;
}

.koti-reference--projects .koti-ref-page-title--projects {
  font-size: clamp(3.3rem, 4.85vw, 4.55rem);
}

.koti-reference--projects .koti-ref-page-title--journal {
  font-size: clamp(2.7rem, 4vw, 3.7rem);
}

.koti-ref-about-hero__summary,
.koti-ref-about-hero__paragraph {
  max-width: 560px;
  margin-left: 0;
}

.koti-ref-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(118, 133, 154, 0.14);
  border-bottom: 1px solid rgba(118, 133, 154, 0.14);
}

.koti-ref-about-stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.koti-ref-about-stat span {
  display: block;
  margin-top: 10px;
  color: rgba(187, 197, 209, 0.72);
  font: 500 0.74rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.koti-ref-about-focus {
  max-width: 760px;
  margin-top: 28px;
}

.koti-ref-about-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.koti-ref-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 620px;
  margin-top: 32px;
}

.koti-ref-skill-column__label {
  margin-bottom: 18px;
}

.koti-ref-skill-row + .koti-ref-skill-row {
  margin-top: 18px;
}

.koti-ref-skill-row__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(228, 235, 243, 0.88);
  font-size: 0.98rem;
}

.koti-ref-skill-row__track {
  height: 2px;
  margin-top: 10px;
  background: rgba(108, 126, 150, 0.24);
}

.koti-ref-skill-row__track span {
  display: block;
  height: 100%;
  background: rgba(163, 183, 209, 0.92);
}

.koti-ref-marquee {
  margin-top: 34px;
}

.koti-ref-marquee {
  width: 100%;
  min-width: 0;
}

.koti-ref-marquee__label,
.koti-ref-awards-marquee__label {
  color: rgba(186, 196, 210, 0.76);
  font: 500 0.78rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.koti-ref-marquee__viewport,
.koti-ref-awards-marquee__viewport {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-top: 1px solid rgba(118, 133, 154, 0.14);
  border-bottom: 1px solid rgba(118, 133, 154, 0.14);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.koti-ref-marquee__track,
.koti-ref-awards-marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 16px 0;
  animation: kotiReferenceMarquee 28s linear infinite;
}

.koti-ref-marquee__pill,
.koti-ref-awards-marquee__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(118, 133, 154, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 19, 0.42);
  color: rgba(233, 238, 245, 0.9);
  font: 500 0.82rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.koti-ref-about-hero__art {
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(4, 7, 12, 0.16);
}

.koti-ref-about-hero__art img {
  object-fit: contain;
  object-position: center top;
  align-self: flex-start;
}

.koti-ref-projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 32px;
  align-items: center;
  padding-top: 42px;
}

.koti-ref-projects-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.koti-ref-projects-hero__copy {
  max-width: 520px;
}

.koti-ref-projects-hero__eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #84b6eb;
  box-shadow: 0 0 10px rgba(132, 182, 235, 0.8);
}

.koti-ref-projects-hero__rule {
  width: 44px;
  height: 1px;
  margin-top: 18px;
  background: rgba(188, 198, 212, 0.6);
}

.koti-ref-projects-hero__summary {
  max-width: 430px;
  margin-left: 0;
  font-size: 1.1rem;
  line-height: 1.72;
}

.koti-ref-projects-hero__art {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(118, 133, 154, 0.14);
  border-radius: 24px;
  background: rgba(4, 7, 12, 0.24);
}

.koti-ref-projects-archive {
  margin-top: 30px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 24px;
  overflow: hidden;
}

.koti-ref-project-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  min-height: 280px;
  border-bottom: 1px solid rgba(118, 133, 154, 0.14);
  background: rgba(4, 7, 12, 0.3);
}

.koti-ref-project-row:last-child {
  border-bottom: 0;
}

.koti-ref-project-row__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
}

.koti-ref-project-row__number {
  color: #87a7cf;
  font: 500 0.86rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-ref-project-row__copy h2 {
  margin: 0;
  font-size: 1.58rem;
}

.koti-ref-project-row__desc {
  margin: 0;
  color: rgba(199, 209, 221, 0.74);
  font-size: 1.02rem;
  line-height: 1.6;
}

.koti-ref-project-row__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #8fb2dd;
  font-size: 0.9rem;
}

.koti-ref-project-row__art {
  overflow: hidden;
  min-height: 100%;
}

.koti-ref-project-row__button {
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(144, 160, 182, 0.3);
  border-radius: 50%;
  background: rgba(3, 6, 10, 0.36);
  transform: translateY(-50%);
}

.koti-ref-journal {
  padding-top: 24px;
}

.koti-ref-section__header--journal {
  align-items: start;
}

.koti-ref-journal-list {
  margin-top: 18px;
}

.koti-ref-journal-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 152px 96px 42px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 0 0 8px;
  border: 1px solid rgba(118, 133, 154, 0.14);
  border-radius: 999px;
  color: rgba(238, 242, 248, 0.92);
}

.koti-ref-journal-row + .koti-ref-journal-row {
  margin-top: 8px;
}

.koti-ref-journal-row__date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(187, 196, 209, 0.72);
  font: 500 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.koti-ref-journal-row__date span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(134, 153, 179, 0.5);
  box-shadow: inset 0 0 0 2px rgba(18, 24, 34, 0.7);
}

.koti-ref-journal-row__topic,
.koti-ref-journal-row__read {
  color: #7995be;
  font: 500 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-ref-journal-row__read {
  color: rgba(181, 192, 206, 0.76);
}

.koti-ref-journal-row__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-left: 1px solid rgba(118, 133, 154, 0.14);
}

.koti-contact-band {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  padding-top: 24px;
}

.koti-contact-band__copy {
  position: relative;
  min-height: 284px;
  padding-bottom: 118px;
}

.koti-contact-band__copy .koti-section-heading__title {
  margin-top: 18px;
  max-width: 308px;
  font-size: clamp(2.24rem, 3.55vw, 3.45rem);
  line-height: 0.94;
}

.koti-contact-band__text {
  max-width: 304px;
  margin-left: 0;
  margin-top: 14px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.koti-contact-band__eyebrow {
  gap: 10px;
}

.koti-contact-band__scene {
  position: absolute;
  left: -4px;
  bottom: 0;
  width: 250px;
  height: auto;
  display: block;
  max-width: 100%;
}

.koti-contact-band__panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 14px;
  padding-bottom: 14px;
}

.koti-email-panel,
.koti-email-panel--contact {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 88px;
  padding: 0 28px;
  border: 1px solid rgba(126, 141, 163, 0.18);
  border-radius: 14px;
  background: rgba(7, 11, 16, 0.4);
  color: rgba(245, 247, 250, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.42rem, 2.2vw, 2.02rem);
  line-height: 1;
}

.koti-email-panel .koti-icon,
.koti-email-panel--contact .koti-icon {
  width: 26px;
  height: 26px;
}

.koti-email-panel .koti-icon:last-child,
.koti-email-panel--contact .koti-icon:last-child {
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(126, 141, 163, 0.24);
  border-radius: 50%;
}

.koti-contact-band__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(181, 193, 208, 0.76);
  font-size: 1rem;
}

.koti-contact-band__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ad089;
  box-shadow: 0 0 10px rgba(122, 208, 137, 0.7);
}

.koti-social-links--band,
.koti-social-links--contact-page {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.koti-social-links--band .koti-social-link,
.koti-social-links--contact-page .koti-social-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(199, 209, 223, 0.76);
  font: 500 0.84rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.koti-social-links--band .koti-icon--social,
.koti-social-links--contact-page .koti-icon--social {
  width: 18px;
  height: 18px;
}

.koti-ref-recognition {
  display: block;
  padding-top: 48px;
}

.koti-ref-recognition__header {
  max-width: 820px;
}

.koti-ref-recognition__summary {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(205, 215, 228, 0.76);
  font-size: 1.12rem;
  line-height: 1.72;
}

.koti-ref-certifications {
  margin-top: 34px;
}

.koti-ref-certifications,
.koti-ref-awards-marquee {
  width: 100%;
  min-width: 0;
}

.koti-ref-cert-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.koti-ref-cert-card {
  min-height: 142px;
  padding: 18px 14px;
  border: 1px solid rgba(118, 133, 154, 0.18);
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.34);
  text-align: center;
}

.koti-ref-cert-card__logo {
  color: rgba(246, 248, 252, 0.96);
  font: 600 1.6rem/1 "Cormorant Garamond", serif;
}

.koti-ref-cert-card__title {
  margin-top: 14px;
  color: rgba(243, 246, 250, 0.96);
  font-size: 1rem;
  line-height: 1.32;
}

.koti-ref-cert-card__subtitle {
  margin-top: 8px;
  color: rgba(184, 194, 207, 0.74);
  font-size: 0.88rem;
  line-height: 1.32;
}

.koti-ref-awards-marquee {
  margin-top: 30px;
}

.koti-ref-recommendations {
  position: relative;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(118, 133, 154, 0.14);
}

.koti-ref-recommendations__stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.koti-ref-recommendation {
  padding: 24px;
  border: 1px solid rgba(118, 133, 154, 0.14);
  border-radius: 22px;
  background: rgba(6, 10, 15, 0.36);
}

.koti-ref-recommendation__quote-mark {
  color: rgba(148, 161, 181, 0.4);
  font-size: 3rem;
  line-height: 1;
}

.koti-ref-recommendation p {
  max-width: none;
  margin: 10px 0 24px;
  color: rgba(223, 230, 239, 0.88);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.32rem;
  line-height: 1.4;
  font-style: italic;
}

.koti-ref-recommendation__person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.koti-ref-recommendation__person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.koti-ref-recommendation__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(118, 133, 154, 0.24);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(50, 66, 88, 0.72), rgba(19, 27, 39, 0.72));
  color: rgba(245, 247, 250, 0.92);
  font: 600 1rem/1 "JetBrains Mono", monospace;
}

.koti-ref-recommendation__person > div strong,
.koti-ref-recommendation__person > div span {
  display: block;
}

.koti-ref-recommendation__person > div strong {
  color: rgba(244, 247, 250, 0.94);
  font: 500 0.88rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.koti-ref-recommendation__person > div span {
  margin-top: 7px;
  color: rgba(171, 182, 196, 0.72);
  font-size: 1rem;
}

@keyframes kotiReferenceMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .koti-ref-marquee__track,
  .koti-ref-awards-marquee__track {
    animation: none;
  }
}

.koti-ref-contact-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
  padding-top: 48px;
}

.koti-ref-contact-page__summary,
.koti-ref-contact-page__note {
  max-width: 420px;
  margin-left: 0;
}

.koti-email-panel--contact {
  min-height: 78px;
  margin-top: 26px;
  padding: 0 22px;
  font-size: 1.28rem;
  border-radius: 10px;
}

.koti-ref-contact-page__note {
  margin-top: 26px;
  color: rgba(184, 194, 206, 0.76);
  font-size: 1rem;
}

.koti-ref-contact-page__focus {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.koti-social-links--contact-page {
  gap: 18px;
  margin-top: 24px;
}

.koti-social-links--contact-page .koti-social-link {
  font-size: 0.82rem;
}

.koti-ref-contact-form {
  padding: 28px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 24px;
  background: rgba(5, 9, 15, 0.34);
}

.koti-ref-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.koti-ref-contact-form label {
  display: block;
}

.koti-ref-contact-form label span,
.koti-ref-contact-form__status {
  display: block;
  color: rgba(195, 205, 219, 0.84);
  font-size: 1rem;
}

.koti-ref-contact-form input,
.koti-ref-contact-form textarea {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(120, 137, 162, 0.24);
  border-radius: 14px;
  background: rgba(4, 8, 13, 0.56);
  color: rgba(245, 247, 250, 0.98);
  font: 400 1.05rem/1.5 "Manrope", sans-serif;
  outline: none;
  box-sizing: border-box;
}

.koti-ref-contact-form input {
  height: 56px;
  padding: 0 16px;
}

.koti-ref-contact-form textarea {
  min-height: 190px;
  padding: 16px;
  resize: vertical;
}

.koti-ref-contact-form__message {
  display: block;
  margin-top: 28px;
}

.koti-button--contact-submit {
  width: 100%;
  margin-top: 22px;
  justify-content: center;
  background: linear-gradient(180deg, #273649 0%, #2f4259 100%);
  border: 1px solid rgba(148, 164, 186, 0.18);
  color: rgba(246, 248, 251, 0.96);
}

.koti-ref-contact-form__status {
  margin-top: 14px;
  color: rgba(169, 181, 196, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .koti-ref-featured-row,
  .koti-ref-project-row,
  .koti-ref-about-hero,
  .koti-ref-recognition,
  .koti-ref-contact-page,
  .koti-contact-band,
  .koti-ref-projects-hero {
    grid-template-columns: 1fr;
  }

  .koti-ref-home-hero__location,
  .koti-ref-home-hero__scroll {
    position: static;
    margin: 0 auto 18px;
  }

  .koti-ref-home-hero__copy {
    padding-bottom: 54px;
  }

  .koti-ref-home-hero__focus,
  .koti-ref-about-focus__grid,
  .koti-ref-home-proof-band__grid {
    grid-template-columns: 1fr;
  }

  .koti-ref-section__header,
  .koti-ref-section__header--journal {
    flex-direction: column;
    align-items: start;
  }

  .koti-ref-cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .koti-ref-recommendations__stack {
    grid-template-columns: 1fr;
  }

  .koti-ref-journal-row {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .koti-main.koti-reference {
    padding-inline: 16px;
  }

  .koti-site-nav__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .koti-site-nav__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-self: stretch;
    gap: 12px;
  }

  .koti-site-nav__cta {
    width: 100%;
    justify-self: stretch;
  }

  .koti-ref-home-hero {
    padding-top: 72px;
  }

  .koti-ref-home-hero__title {
    font-size: clamp(2.6rem, 10.6vw, 4.2rem);
  }

  .koti-ref-home-hero__actions {
    flex-direction: column;
  }

  .koti-ref-home-proof-band {
    padding: 24px 16px 30px;
  }

  .koti-ref-home-hero__band {
    width: 100%;
    margin-left: 0;
  }

  .koti-ref-about-stats,
  .koti-ref-skill-grid,
  .koti-ref-contact-form__grid,
  .koti-ref-cert-grid {
    grid-template-columns: 1fr;
  }

  .koti-ref-home-hero__chips {
    justify-content: center;
  }

  .koti-ref-featured-row__copy,
  .koti-ref-project-row__copy {
    grid-template-columns: 1fr;
  }

  .koti-ref-project-row__button {
    display: none;
  }

  .koti-email-panel,
  .koti-email-panel--contact {
    font-size: 1rem;
    padding: 0 16px;
    gap: 12px;
  }

  .koti-site-nav__link {
    width: 100%;
    padding-inline: 12px;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .koti-ref-projects-hero__art {
    min-height: 220px;
  }

  .koti-ref-contact-form {
    padding: 20px 18px 22px;
  }

  .koti-email-panel--contact span:not(.koti-icon) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .koti-site-footer__inner {
    gap: 14px;
    letter-spacing: 0.16em;
  }
}

/* Recruiter readability overrides */

html {
  font-size: 16px !important;
}

body.koti-redesign-body .koti-site-nav__link,
body.koti-redesign-body .koti-site-nav__cta,
body.koti-redesign-body .koti-section-heading__link,
body.koti-redesign-body .koti-inline-link,
body.koti-redesign-body .koti-post-pagination a,
body.koti-redesign-body .koti-social-links--band .koti-social-link,
body.koti-redesign-body .koti-social-links--contact-page .koti-social-link,
body.koti-redesign-body .koti-ref-section__link,
body.koti-redesign-body .koti-ref-featured-row__link,
body.koti-redesign-body .koti-ref-project-row__link,
body.koti-redesign-body .koti-button--hero-primary,
body.koti-redesign-body .koti-button--hero-secondary,
body.koti-redesign-body .koti-button--contact-submit {
  font-size: clamp(0.95rem, 0.2vw + 0.9rem, 1.02rem) !important;
  letter-spacing: 0.1em !important;
}

body.koti-redesign-body .koti-kicker,
body.koti-redesign-body .koti-post-hero__meta,
body.koti-redesign-body .koti-post-card__meta,
body.koti-redesign-body .koti-post-nav__eyebrow,
body.koti-redesign-body .koti-post-panel__label,
body.koti-redesign-body .koti-ref-home-hero__meta,
body.koti-redesign-body .koti-ref-home-hero__kicker,
body.koti-redesign-body .koti-ref-home-hero__recruiter,
body.koti-redesign-body .koti-ref-home-proof-band__eyebrow,
body.koti-redesign-body .koti-ref-logo-marquee__item span,
body.koti-redesign-body .koti-ref-featured-row__tags,
body.koti-redesign-body .koti-ref-project-row__tags,
body.koti-redesign-body .koti-ref-featured-row__signals strong,
body.koti-redesign-body .koti-ref-project-row__signals strong,
body.koti-redesign-body .koti-ref-featured-row__metrics span,
body.koti-redesign-body .koti-ref-about-stat span,
body.koti-redesign-body .koti-ref-marquee__label,
body.koti-redesign-body .koti-ref-awards-marquee__label,
body.koti-redesign-body .koti-ref-marquee__pill,
body.koti-redesign-body .koti-ref-awards-marquee__pill,
body.koti-redesign-body .koti-ref-journal-row__date,
body.koti-redesign-body .koti-ref-journal-row__topic,
body.koti-redesign-body .koti-ref-journal-row__read,
body.koti-redesign-body .koti-ref-home-focus-card h2,
body.koti-redesign-body .koti-ref-about-focus-card h2,
body.koti-redesign-body .koti-ref-contact-focus-card h2,
body.koti-redesign-body .koti-ref-home-hero__chips span,
body.koti-redesign-body .koti-home-hero__signal,
body.koti-redesign-body .koti-home-hero__proof-card span,
body.koti-redesign-body .koti-home-hero__marquee-label,
body.koti-redesign-body .koti-hero-stage__visual-copy span,
body.koti-redesign-body .koti-hero-stage__card-meta,
body.koti-redesign-body .koti-home-hero__location strong,
body.koti-redesign-body .koti-site-footer__inner {
  font-size: clamp(0.88rem, 0.16vw + 0.84rem, 0.96rem) !important;
  letter-spacing: 0.12em !important;
}

body.koti-redesign-body .koti-page-hero__summary,
body.koti-redesign-body .koti-rich-text,
body.koti-redesign-body .koti-post-panel p,
body.koti-redesign-body .koti-post-card__excerpt,
body.koti-redesign-body .koti-archive-empty p,
body.koti-redesign-body .koti-ref-home-hero__lede,
body.koti-redesign-body .koti-ref-home-hero__summary,
body.koti-redesign-body .koti-ref-about-hero__summary,
body.koti-redesign-body .koti-ref-about-hero__paragraph,
body.koti-redesign-body .koti-ref-projects-hero__summary,
body.koti-redesign-body .koti-contact-band__text,
body.koti-redesign-body .koti-ref-contact-page__summary,
body.koti-redesign-body .koti-ref-contact-page__note,
body.koti-redesign-body .koti-ref-featured-row__content p,
body.koti-redesign-body .koti-ref-featured-row__signals span,
body.koti-redesign-body .koti-ref-project-row__desc,
body.koti-redesign-body .koti-ref-project-row__signals span,
body.koti-redesign-body .koti-ref-home-focus-card p,
body.koti-redesign-body .koti-ref-about-focus-card p,
body.koti-redesign-body .koti-ref-contact-focus-card p,
body.koti-redesign-body .koti-ref-recognition__summary,
body.koti-redesign-body .koti-hero-stage__card p,
body.koti-redesign-body .koti-contact-band__meta,
body.koti-redesign-body .koti-home-hero__location span:last-child,
body.koti-redesign-body .koti-ref-recommendation__person > div span {
  font-size: clamp(1.08rem, 0.2vw + 1.02rem, 1.18rem) !important;
  line-height: 1.72 !important;
}

body.koti-redesign-body .koti-ref-project-row__copy h2 {
  font-size: clamp(1.7rem, 0.4vw + 1.55rem, 1.95rem) !important;
}

body.koti-redesign-body .koti-ref-featured-row__content h3,
body.koti-redesign-body .koti-post-card__title,
body.koti-redesign-body .koti-ref-recommendation p {
  line-height: 1.12 !important;
}

body.koti-redesign-body .koti-ref-contact-form label span,
body.koti-redesign-body .koti-ref-contact-form__status,
body.koti-redesign-body .koti-post-panel__links a,
body.koti-redesign-body .koti-post-panel__pills span,
body.koti-redesign-body .koti-post-card__pills span,
body.koti-redesign-body .koti-ref-cert-card__title,
body.koti-redesign-body .koti-ref-cert-card__subtitle {
  font-size: clamp(0.98rem, 0.12vw + 0.95rem, 1.05rem) !important;
}

body.koti-redesign-body .koti-ref-contact-form input,
body.koti-redesign-body .koti-ref-contact-form textarea,
body.koti-redesign-body .koti-search-form input {
  font-size: 1.08rem !important;
}

body.koti-redesign-body .koti-ref-journal-row {
  min-height: 58px;
}

@media (max-width: 720px) {
  html {
    font-size: 15px !important;
  }

  body.koti-redesign-body .koti-site-nav__link,
  body.koti-redesign-body .koti-site-nav__cta,
  body.koti-redesign-body .koti-section-heading__link,
  body.koti-redesign-body .koti-inline-link,
  body.koti-redesign-body .koti-button--hero-primary,
  body.koti-redesign-body .koti-button--hero-secondary,
  body.koti-redesign-body .koti-button--contact-submit {
    font-size: 1rem !important;
  }

  body.koti-redesign-body .koti-ref-home-hero__lede,
  body.koti-redesign-body .koti-ref-home-hero__summary,
  body.koti-redesign-body .koti-ref-about-hero__summary,
  body.koti-redesign-body .koti-ref-about-hero__paragraph,
  body.koti-redesign-body .koti-ref-projects-hero__summary,
  body.koti-redesign-body .koti-contact-band__text,
  body.koti-redesign-body .koti-ref-contact-page__summary,
  body.koti-redesign-body .koti-ref-contact-page__note,
  body.koti-redesign-body .koti-ref-featured-row__content p,
  body.koti-redesign-body .koti-ref-project-row__desc,
  body.koti-redesign-body .koti-rich-text,
  body.koti-redesign-body .koti-page-hero__summary {
    font-size: 1.1rem !important;
  }
}

/* Brand contrast overrides */

:root {
  --koti-brand-indigo: #6f86ff;
  --koti-brand-teal: #33d6b3;
  --koti-brand-ice: #dff7ff;
  --koti-brand-glow: rgba(51, 214, 179, 0.2);
  --koti-brand-glow-strong: rgba(111, 134, 255, 0.24);
}

html {
  overflow-y: auto;
}

body.koti-redesign-body {
  overflow-y: visible !important;
}

body.koti-redesign-body .koti-progress span,
body.koti-redesign-body .koti-ref-skill-row__track span {
  background: linear-gradient(90deg, var(--koti-brand-indigo), var(--koti-brand-teal)) !important;
}

body.koti-redesign-body .koti-button--hero-primary,
body.koti-redesign-body .koti-button--primary,
body.koti-redesign-body .koti-button--contact-submit,
body.koti-redesign-body .koti-search-form button {
  border-color: rgba(206, 230, 255, 0.28) !important;
  background: linear-gradient(135deg, var(--koti-brand-indigo) 0%, var(--koti-brand-teal) 100%) !important;
  color: #f8fbff !important;
  box-shadow:
    0 18px 45px rgba(5, 10, 18, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px var(--koti-brand-glow-strong) !important;
}

body.koti-redesign-body .koti-button--hero-primary .koti-icon,
body.koti-redesign-body .koti-button--primary .koti-icon,
body.koti-redesign-body .koti-button--contact-submit .koti-icon,
body.koti-redesign-body .koti-search-form button .koti-icon {
  color: rgba(248, 251, 255, 0.96) !important;
}

body.koti-redesign-body .koti-button--hero-secondary,
body.koti-redesign-body .koti-site-nav__cta,
body.koti-redesign-body .koti-gallery__button,
body.koti-redesign-body .koti-ref-project-row__button {
  border-color: rgba(111, 134, 255, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(12, 18, 29, 0.92), rgba(5, 9, 16, 0.94)) padding-box,
    linear-gradient(135deg, rgba(111, 134, 255, 0.38), rgba(51, 214, 179, 0.32)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.22) !important;
}

body.koti-redesign-body .koti-site-nav__cta:hover,
body.koti-redesign-body .koti-site-nav__cta:focus-visible,
body.koti-redesign-body .koti-button--hero-secondary:hover,
body.koti-redesign-body .koti-button--hero-secondary:focus-visible,
body.koti-redesign-body .koti-gallery__button:hover,
body.koti-redesign-body .koti-gallery__button:focus-visible,
body.koti-redesign-body .koti-ref-project-row__button:hover,
body.koti-redesign-body .koti-ref-project-row__button:focus-visible {
  border-color: rgba(101, 220, 192, 0.38) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.24),
    0 0 22px var(--koti-brand-glow) !important;
}

body.koti-redesign-body .koti-ref-page-title span,
body.koti-redesign-body .koti-ref-section__title span,
body.koti-redesign-body .koti-ref-home-hero__title em {
  background: linear-gradient(135deg, #a8b9ff 0%, #79f0d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body.koti-redesign-body .koti-ref-featured-row__link,
body.koti-redesign-body .koti-ref-project-row__link,
body.koti-redesign-body .koti-inline-link,
body.koti-redesign-body .koti-section-heading__link,
body.koti-redesign-body .koti-post-panel__links a,
body.koti-redesign-body .koti-ref-home-hero__recruiter,
body.koti-redesign-body .koti-ref-project-row__number,
body.koti-redesign-body .koti-ref-journal-row__topic,
body.koti-redesign-body .koti-ref-home-proof-band__eyebrow,
body.koti-redesign-body .koti-ref-projects-hero__eyebrow,
body.koti-redesign-body .koti-ref-home-hero__location strong {
  color: var(--koti-brand-ice) !important;
}

body.koti-redesign-body .koti-ref-home-hero__dot,
body.koti-redesign-body .koti-ref-home-hero__status,
body.koti-redesign-body .koti-ref-projects-hero__eyebrow span,
body.koti-redesign-body .koti-site-nav__link.is-active::after,
body.koti-redesign-body .koti-ref-journal-row__date span {
  background: linear-gradient(135deg, var(--koti-brand-indigo), var(--koti-brand-teal)) !important;
  box-shadow: 0 0 14px var(--koti-brand-glow-strong) !important;
}

body.koti-redesign-body .koti-ref-featured-row__metrics strong,
body.koti-redesign-body .koti-ref-about-stat strong,
body.koti-redesign-body .koti-ref-home-proof-card strong {
  color: #f4fbff !important;
  text-shadow: 0 0 18px rgba(111, 134, 255, 0.08);
}

/* Apple-glass nav items */

body.koti-redesign-body .koti-site-nav__menu {
  position: relative;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(214, 228, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(26, 34, 48, 0.5), rgba(8, 12, 20, 0.36)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  overflow: hidden;
}

body.koti-redesign-body .koti-site-nav__menu::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 44%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 58%);
  pointer-events: none;
}

body.koti-redesign-body .koti-site-nav__link {
  position: relative;
  min-height: 44px;
  padding: 0 18px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(232, 239, 248, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 24px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
}

body.koti-redesign-body .koti-site-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 48%);
  opacity: 0.9;
  pointer-events: none;
}

body.koti-redesign-body .koti-site-nav__link:hover,
body.koti-redesign-body .koti-site-nav__link:focus-visible {
  color: rgba(247, 251, 255, 0.98);
  border-color: rgba(188, 214, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(4, 10, 18, 0.16);
}

body.koti-redesign-body .koti-site-nav__link.is-active {
  color: rgba(249, 252, 255, 0.98);
  border-color: rgba(194, 223, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(118, 136, 186, 0.22), rgba(47, 59, 87, 0.16)) padding-box,
    linear-gradient(135deg, rgba(183, 205, 255, 0.24), rgba(112, 208, 194, 0.14)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 28px rgba(5, 12, 20, 0.2),
    0 0 18px rgba(111, 134, 255, 0.14);
}

/* Responsive fit pass */

.koti-ref-page-title,
.koti-title,
.koti-ref-featured-row__content h3,
.koti-ref-project-row__copy h2,
.koti-post-card__title {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body.koti-redesign-body .koti-rich-text p,
body.koti-redesign-body .koti-rich-text li,
body.koti-redesign-body .koti-rich-text blockquote {
  overflow-wrap: anywhere;
}

body.koti-redesign-body .koti-rich-text span[style*="white-space"] {
  white-space: normal !important;
}

body.koti-redesign-body .koti-rich-text a[style*="margin-left"] {
  display: inline-block;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.koti-redesign-body .koti-rich-text img[width] {
  max-width: 100% !important;
  height: auto !important;
}

.koti-ref-home-hero {
  padding-top: 54px;
}

.koti-ref-home-hero__copy {
  padding: 18px 0 32px;
}

body.koti-redesign-body .koti-email-panel--contact {
  min-width: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.04rem;
  line-height: 1.35;
}

body.koti-redesign-body .koti-email-panel--contact > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.koti-contact-info-page,
.koti-not-found {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 106px) 0;
}

.koti-contact-info-page__copy {
  max-width: 760px;
}

.koti-contact-info-page__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.koti-contact-info-page__item {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 126px;
  padding: 22px;
  border: 1px solid rgba(118, 133, 154, 0.16);
  border-radius: 18px;
  background: rgba(6, 10, 15, 0.36);
}

.koti-contact-info-page__item span {
  color: rgba(187, 199, 214, 0.74);
  font: 500 0.76rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-contact-info-page__item strong {
  overflow-wrap: anywhere;
  color: rgba(245, 248, 251, 0.96);
  font-size: 1rem;
  line-height: 1.5;
}

.koti-contact-info-page .koti-button {
  margin-top: 22px;
}

.koti-not-found {
  max-width: 820px;
  text-align: center;
}

.koti-not-found .koti-page-hero__summary {
  margin-right: auto;
  margin-left: auto;
}

.koti-not-found__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 1024px) {
  body.koti-redesign-body .koti-site-nav {
    padding: 14px clamp(16px, 3vw, 28px);
  }

  body.koti-redesign-body .koti-site-nav__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
  }

  body.koti-redesign-body .koti-brand {
    justify-self: start;
  }

  body.koti-redesign-body .koti-site-nav__cta {
    width: auto;
    min-height: 44px;
    padding-inline: 16px;
    justify-self: end;
  }

  body.koti-redesign-body .koti-site-nav__menu {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    padding: 8px;
    gap: 8px;
    border-radius: 20px;
    overflow: visible;
  }

  body.koti-redesign-body .koti-site-nav__link {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 8px !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.07em !important;
  }
}

@media (max-width: 720px) {
  body.koti-redesign-body .koti-ref-page-title,
  body.koti-redesign-body .koti-reference--about .koti-ref-page-title,
  body.koti-redesign-body .koti-ref-page-title--projects,
  body.koti-redesign-body .koti-ref-page-title--journal,
  body.koti-redesign-body .koti-ref-page-title--contact,
  body.koti-redesign-body .koti-ref-page-title--recognition,
  body.koti-redesign-body .koti-title {
    font-size: clamp(2.35rem, 10vw, 3rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em;
  }

  body.koti-redesign-body .koti-ref-home-hero {
    padding-top: 42px;
  }

  body.koti-redesign-body .koti-ref-home-hero__copy {
    padding: 16px 0 28px;
  }

  body.koti-redesign-body .koti-ref-home-hero__location {
    margin-top: 0;
    margin-bottom: 14px;
    padding: 12px 14px;
  }

  body.koti-redesign-body .koti-ref-home-hero__meta,
  body.koti-redesign-body .koti-ref-home-hero__kicker {
    gap: 8px;
    font-size: 0.72rem !important;
    letter-spacing: 0.12em !important;
  }

  body.koti-redesign-body .koti-ref-home-hero__kicker {
    margin-top: 16px;
  }

  body.koti-redesign-body .koti-ref-home-hero__title {
    margin-top: 16px;
    font-size: clamp(2.42rem, 10vw, 3.25rem) !important;
    line-height: 0.94;
  }

  body.koti-redesign-body .koti-ref-home-hero__recruiter {
    font-size: 0.74rem !important;
    line-height: 1.55 !important;
    letter-spacing: 0.08em !important;
  }

  body.koti-redesign-body .koti-button--hero-primary,
  body.koti-redesign-body .koti-button--hero-secondary,
  body.koti-redesign-body .koti-button--contact-submit {
    min-height: 50px;
  }

  body.koti-redesign-body .koti-email-panel--contact {
    min-height: 58px;
    padding: 12px 14px;
    gap: 10px;
    font-size: clamp(0.9rem, 3.7vw, 1rem);
  }

  body.koti-redesign-body .koti-email-panel--contact > span:nth-child(2) {
    overflow-wrap: normal;
    white-space: nowrap;
  }

  body.koti-redesign-body .koti-email-panel--contact .koti-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  body.koti-redesign-body .koti-email-panel--contact .koti-icon:last-child {
    box-sizing: border-box;
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    padding: 7px;
  }

  body.koti-redesign-body .koti-ref-contact-form input,
  body.koti-redesign-body .koti-ref-contact-form textarea {
    font-size: 1rem !important;
  }

  body.koti-redesign-body .koti-ref-contact-form input::placeholder,
  body.koti-redesign-body .koti-ref-contact-form textarea::placeholder {
    font-size: 0.92rem;
  }

  .koti-contact-info-page__details {
    grid-template-columns: 1fr;
  }

  .koti-contact-info-page__item {
    min-height: 0;
    padding: 18px;
  }

  .koti-not-found__actions {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body.koti-redesign-body .koti-site-nav {
    padding: 12px 16px;
  }

  body.koti-redesign-body .koti-site-nav__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.koti-redesign-body .koti-brand {
    justify-self: center;
  }

  body.koti-redesign-body .koti-brand__signature {
    font-size: 2.05rem !important;
    line-height: 0.82;
  }

  body.koti-redesign-body .koti-site-nav__cta {
    display: none;
  }

  body.koti-redesign-body .koti-site-nav__menu {
    grid-column: auto;
    gap: 5px;
    padding: 6px;
    border-radius: 16px;
  }

  body.koti-redesign-body .koti-site-nav__link {
    min-height: 40px;
    padding: 0 3px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.035em !important;
  }
}

/* Responsive alignment consolidation for the recruiter-facing reference views. */
body.koti-redesign-body .koti-contact-band {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(28px, 3.2vw, 48px);
  padding: clamp(28px, 3.4vw, 48px);
}

body.koti-redesign-body .koti-contact-band__copy {
  min-width: 0;
  min-height: 0;
  max-width: none;
  padding-bottom: 132px;
}

body.koti-redesign-body .koti-contact-band__copy .koti-section-heading__title {
  max-width: 500px;
}

body.koti-redesign-body .koti-contact-band__text {
  max-width: 46ch;
}

body.koti-redesign-body .koti-contact-band__scene {
  inset: auto auto 0 -4px;
  width: min(250px, 78%);
}

body.koti-redesign-body .koti-contact-band__panel {
  align-self: stretch;
  justify-self: center;
  justify-content: center;
  width: min(600px, 100%);
  min-width: 0;
  padding-bottom: 0;
}

body.koti-redesign-body .koti-contact-band .koti-email-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.koti-redesign-body .koti-contact-band .koti-email-panel > .koti-icon {
  flex: 0 0 auto;
}

body.koti-redesign-body .koti-contact-band .koti-email-panel > span:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(1.65rem, 2.35vw, 2.6rem);
  overflow-wrap: anywhere;
}

body.koti-redesign-body .koti-ref-about-hero {
  align-items: start;
}

body.koti-redesign-body .koti-ref-about-hero__art {
  align-self: start;
}

@media (min-width: 861px) and (max-width: 1100px) {
  body.koti-redesign-body .koti-ref-featured-row {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  }

  body.koti-redesign-body .koti-ref-about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.koti-redesign-body .koti-ref-about-focus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.koti-redesign-body .koti-ref-cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.koti-redesign-body .koti-ref-recommendations__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.koti-redesign-body .koti-ref-recommendation:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body.koti-redesign-body .koti-contact-band .koti-email-panel > span:nth-child(2) {
    font-size: clamp(1.5rem, 2.4vw, 1.8rem);
  }
}

@media (max-width: 980px) {
  body.koti-redesign-body .koti-ref-projects-hero {
    grid-template-columns: 1fr;
  }

  body.koti-redesign-body .koti-ref-projects-hero__copy {
    max-width: 640px;
  }

  body.koti-redesign-body .koti-ref-projects-hero__art {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  body.koti-redesign-body .koti-contact-band {
    grid-template-columns: 1fr;
    align-items: start;
    padding: clamp(24px, 4vw, 34px);
  }

  body.koti-redesign-body .koti-contact-band__panel,
  body.koti-redesign-body .koti-contact-band .koti-email-panel {
    justify-self: stretch;
    width: 100%;
  }

  body.koti-redesign-body .koti-ref-about-hero__art {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  body.koti-redesign-body .koti-ref-projects-hero__art {
    min-height: 220px;
  }

  body.koti-redesign-body .koti-contact-band {
    gap: 24px;
    padding: 24px;
  }

  body.koti-redesign-body .koti-contact-band__copy {
    padding-bottom: 124px;
  }

  body.koti-redesign-body .koti-contact-band .koti-email-panel {
    min-height: 64px;
    padding: 14px;
    gap: 10px;
  }

  body.koti-redesign-body .koti-contact-band .koti-email-panel > span:nth-child(2) {
    font-size: clamp(1.05rem, 4.8vw, 1.22rem);
    line-height: 1.18;
    white-space: normal;
  }

  body.koti-redesign-body .koti-contact-band__meta {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

@media (max-width: 560px) {
  body.koti-redesign-body .koti-site-nav__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.koti-redesign-body .koti-site-nav__link {
    min-height: 42px;
    padding: 0 8px !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
  }

}

/* Installed-app refresh feedback stays out of the normal browser experience. */
.koti-pwa-refresh {
  position: fixed;
  z-index: 560;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(137, 210, 245, 0.26);
  border-radius: 999px;
  background: rgba(5, 11, 19, 0.92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  color: rgba(239, 246, 252, 0.95);
  font: 600 0.72rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -140%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.koti-pwa-refresh.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.koti-pwa-refresh.is-refreshing {
  border-color: rgba(112, 232, 194, 0.42);
  color: rgba(215, 255, 236, 0.98);
}

@media (prefers-reduced-motion: reduce) {
  .koti-pwa-refresh {
    transition: none;
  }
}

/* Mobile navigation keeps the desktop information architecture without compressing labels. */
.koti-site-nav__toggle,
.koti-site-nav__backdrop,
.koti-site-nav__mobile-cta {
  display: none;
}

@media (max-width: 760px) {
  body.koti-redesign-body .koti-site-nav__cta {
    display: none;
  }

  body.koti-redesign-body .koti-site-nav__mobile-cta {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid rgba(91, 195, 231, 0.48);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(69, 111, 214, 0.28), rgba(42, 178, 161, 0.2));
    box-shadow: 0 10px 28px rgba(10, 76, 105, 0.2);
    color: rgba(244, 250, 255, 0.98);
    font: 600 0.78rem/1 "JetBrains Mono", monospace;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  html.koti-nav-enhanced body.koti-redesign-body.koti-nav-open {
    overflow: hidden;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav {
    isolation: isolate;
    overflow: visible;
    padding: 14px 16px !important;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__inner {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-brand {
    justify-self: start;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-brand__signature {
    font-size: clamp(1.9rem, 8.8vw, 2.2rem) !important;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(134, 175, 213, 0.38);
    border-radius: 14px;
    background: rgba(7, 13, 22, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.2);
    color: rgba(239, 247, 255, 0.96);
    cursor: pointer;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__toggle:focus-visible,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link:focus-visible,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__mobile-cta:focus-visible {
    outline: 2px solid rgba(99, 211, 232, 0.92);
    outline-offset: 3px;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__toggle-icon {
    display: grid;
    gap: 5px;
    width: 20px;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__toggle-icon > span {
    display: block;
    width: 100%;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav.is-open .koti-site-nav__toggle-icon > span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav.is-open .koti-site-nav__toggle-icon > span:nth-child(2) {
    opacity: 0;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav.is-open .koti-site-nav__toggle-icon > span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 4;
    display: flex !important;
    grid-column: auto !important;
    flex-direction: column;
    align-items: stretch;
    justify-self: auto;
    width: min(356px, 100%);
    max-height: calc(100dvh - 100px);
    padding: 12px;
    gap: 6px;
    overflow-y: auto;
    border: 1px solid rgba(133, 165, 198, 0.24);
    border-radius: 20px;
    background:
      radial-gradient(circle at 100% 0, rgba(88, 160, 212, 0.13), transparent 36%),
      rgba(5, 10, 18, 0.98);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__menu::before {
    display: none;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav.is-open .koti-site-nav__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 0 15px !important;
    border-radius: 11px;
    background: transparent;
    color: rgba(230, 238, 248, 0.9);
    font-size: 0.8rem !important;
    letter-spacing: 0.11em !important;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link:hover,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link:focus-visible,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link.is-active {
    background: rgba(130, 173, 214, 0.12);
    color: rgba(246, 251, 255, 0.99);
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__link.is-active::after {
    display: none;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__mobile-cta {
    grid-column: auto;
    margin-top: 6px;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__backdrop {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(1, 4, 9, 0.62);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav.is-open .koti-site-nav__backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__toggle-icon > span,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__menu,
  html.koti-nav-enhanced body.koti-redesign-body .koti-site-nav__backdrop {
    transition: none;
  }
}

/* Tubelight navigation adapts the reference interaction to the existing site palette. */
.koti-site-nav__lamp {
  display: none;
}

@media (min-width: 761px) {
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__menu {
    --koti-nav-lamp-x: 0px;
    --koti-nav-lamp-width: 0px;
    isolation: isolate;
    gap: 6px;
    padding: 7px;
    overflow: visible;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__menu::before {
    z-index: 0;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__lamp {
    position: absolute;
    z-index: 1;
    top: 7px;
    bottom: 7px;
    left: 0;
    display: block;
    width: var(--koti-nav-lamp-width);
    box-sizing: border-box;
    border: 1px solid rgba(149, 199, 248, 0.18);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(133, 159, 224, 0.2), rgba(41, 58, 87, 0.13)) padding-box,
      linear-gradient(135deg, rgba(183, 215, 255, 0.16), rgba(84, 226, 196, 0.1)) border-box;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 10px 26px rgba(3, 10, 20, 0.22),
      0 0 20px rgba(89, 148, 255, 0.11);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(var(--koti-nav-lamp-x), 0, 0);
    transition:
      width 360ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 150ms ease;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__lamp::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 38px;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--koti-brand-indigo), var(--koti-brand-teal));
    box-shadow:
      0 0 7px rgba(104, 184, 255, 0.94),
      0 0 17px rgba(78, 213, 192, 0.42);
    transform: translateX(-50%);
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__lamp::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 68px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(111, 134, 255, 0.28), rgba(51, 214, 179, 0.24));
    filter: blur(8px);
    opacity: 0.88;
    transform: translateX(-50%);
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__menu--lamp-ready .koti-site-nav__lamp {
    opacity: 1;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link {
    position: relative;
    z-index: 2;
    min-height: 44px;
    overflow: visible;
    border-color: transparent;
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: color 180ms ease, transform 180ms ease;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link::before,
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link.is-active::after {
    display: none;
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link:hover,
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link:focus-visible,
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link.is-active {
    border-color: transparent;
    background: transparent !important;
    box-shadow: none;
    color: rgba(248, 252, 255, 0.99);
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link:hover {
    transform: translateY(-1px);
  }

  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link:focus-visible {
    outline: 2px solid rgba(104, 211, 233, 0.92);
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__lamp,
  html.koti-tubelight-ready body.koti-redesign-body .koti-site-nav__link {
    transition: none;
  }
}

/* Brand marks make platform and credential proof scannable without adding visual noise. */
.koti-ref-about-platforms {
  max-width: 640px;
  margin-top: 28px;
}

.koti-ref-about-platforms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.koti-ref-about-platform {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(139, 177, 215, 0.17);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(110, 135, 255, 0.08), rgba(51, 214, 179, 0.045)),
    rgba(5, 10, 17, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.koti-ref-about-platform img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.koti-ref-about-platform > div {
  min-width: 0;
}

.koti-ref-about-platform strong,
.koti-ref-about-platform span {
  display: block;
}

.koti-ref-about-platform strong {
  color: rgba(241, 247, 255, 0.96);
  font: 600 0.8rem/1.25 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.koti-ref-about-platform span {
  margin-top: 6px;
  color: rgba(184, 201, 220, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.koti-ref-platform-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.koti-ref-platform-marks--featured {
  margin-top: 12px;
}

.koti-ref-platform-marks--project {
  margin-top: -2px;
}

.koti-ref-platform-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(132, 175, 217, 0.2);
  border-radius: 999px;
  background: rgba(8, 15, 24, 0.68);
  color: rgba(220, 236, 252, 0.9);
  font: 600 0.66rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.koti-ref-platform-mark img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.koti-ref-journal-row__topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.koti-ref-journal-row__topic img {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.koti-ref-cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.koti-ref-cert-card:hover,
.koti-ref-cert-card:focus-visible {
  border-color: rgba(104, 211, 233, 0.5);
  background:
    linear-gradient(145deg, rgba(102, 132, 255, 0.14), rgba(51, 214, 179, 0.08)),
    rgba(8, 14, 23, 0.78);
  transform: translateY(-2px);
}

.koti-ref-cert-card:focus-visible {
  outline: 2px solid rgba(104, 211, 233, 0.92);
  outline-offset: 3px;
}

.koti-ref-cert-card__issuer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  color: rgba(229, 240, 251, 0.94);
  font: 600 0.68rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.koti-ref-cert-card__issuer img {
  width: 28px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.koti-ref-cert-card__title {
  margin-top: 12px;
}

.koti-social-link__mark {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

@media (max-width: 760px) {
  .koti-ref-about-platforms__grid {
    grid-template-columns: 1fr;
  }

  .koti-ref-about-platform {
    min-height: 64px;
  }

  .koti-ref-platform-marks--featured,
  .koti-ref-platform-marks--project {
    margin-top: 8px;
  }

  .koti-ref-journal-row__topic img {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koti-ref-cert-card {
    transition: none;
  }
}

body.koti-redesign-body .koti-ref-logo-marquee__item img {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* Services and Topmate conversion journey. */
.koti-button--hero-mentorship {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(98, 205, 194, 0.3);
  border-radius: 14px;
  background: rgba(41, 132, 129, 0.11);
  color: rgba(212, 248, 242, 0.96);
  font: 500 0.86rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-ref-mentorship,
.koti-ref-mentorship-hero,
.koti-ref-services,
.koti-ref-posters,
.koti-ref-session-process,
.koti-ref-advisory-contact {
  max-width: 1240px;
  margin: 0 auto;
}

.koti-ref-mentorship {
  padding: clamp(76px, 8vw, 112px) 0 58px;
}

.koti-ref-mentorship__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 50px;
}

.koti-ref-mentorship__intro p,
.koti-ref-services__intro,
.koti-ref-mentorship-hero__summary,
.koti-ref-advisory-contact__copy > p {
  margin: 0;
  color: rgba(198, 209, 222, 0.78);
  font-size: 1.06rem;
  line-height: 1.72;
}

.koti-ref-mentorship__intro .koti-ref-section__title {
  grid-column: 1;
  max-width: 780px;
}

.koti-ref-mentorship__intro > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.koti-ref-mentorship__grid,
.koti-ref-services__grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.koti-ref-mentorship__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.koti-ref-services__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.koti-ref-service-card {
  --koti-service-accent: rgba(131, 169, 209, 0.88);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(121, 142, 171, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(113, 151, 199, 0.13), transparent 38%),
    linear-gradient(150deg, rgba(10, 16, 25, 0.92), rgba(5, 10, 17, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.koti-ref-service-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--koti-spot-x, 76%) var(--koti-spot-y, 18%), rgba(83, 225, 202, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(103, 126, 255, 0.08), rgba(51, 214, 179, 0.11));
  opacity: var(--koti-spot-opacity, 0);
  transition: opacity 220ms ease;
}

.koti-ref-service-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 22px auto;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(111, 134, 255, 0.92), rgba(74, 231, 200, 0.96), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.koti-ref-service-card > * {
  position: relative;
  z-index: 1;
}

.koti-ref-service-card--featured {
  --koti-service-accent: rgba(91, 220, 200, 0.92);
  border-color: rgba(82, 196, 182, 0.27);
  background:
    radial-gradient(circle at 100% 0, rgba(61, 190, 172, 0.14), transparent 40%),
    linear-gradient(150deg, rgba(10, 22, 29, 0.94), rgba(5, 11, 18, 0.86));
}

.koti-ref-service-card:hover,
.koti-ref-service-card:focus-visible {
  transform: translateY(-5px) scale(1.006);
  border-color: rgba(96, 221, 204, 0.58);
  background-color: rgba(10, 23, 31, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 22px 55px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(57, 187, 173, 0.12);
}

.koti-ref-service-card:focus-visible {
  outline: 2px solid rgba(103, 219, 225, 0.94);
  outline-offset: 4px;
}

.koti-ref-service-card:hover::before,
.koti-ref-service-card:focus-visible::before,
.koti-ref-service-card:hover::after,
.koti-ref-service-card:focus-visible::after {
  opacity: 1;
}

.koti-ref-service-card:hover::after,
.koti-ref-service-card:focus-visible::after {
  transform: scaleX(1);
}

.koti-ref-service-card__topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--koti-service-accent);
  font: 500 0.68rem/1.35 "JetBrains Mono", monospace;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.koti-ref-service-card__topline span:last-child {
  text-align: right;
}

.koti-ref-service-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 1280 / 780;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(137, 158, 184, 0.18);
  border-radius: 15px;
  background: rgba(4, 9, 16, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.koti-ref-service-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 56%, rgba(3, 8, 14, 0.48)),
    radial-gradient(circle at var(--koti-spot-x, 76%) var(--koti-spot-y, 18%), rgba(81, 232, 204, 0.18), transparent 43%);
  opacity: 0.62;
  transition: opacity 260ms ease;
}

.koti-ref-service-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.002);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 260ms ease;
}

.koti-ref-service-card:hover .koti-ref-service-card__visual,
.koti-ref-service-card:focus-visible .koti-ref-service-card__visual {
  border-color: rgba(96, 221, 204, 0.44);
}

.koti-ref-service-card:hover .koti-ref-service-card__visual::after,
.koti-ref-service-card:focus-visible .koti-ref-service-card__visual::after {
  opacity: 0.2;
}

.koti-ref-service-card:hover .koti-ref-service-card__visual img,
.koti-ref-service-card:focus-visible .koti-ref-service-card__visual img {
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.055);
}

.koti-ref-service-card h3 {
  margin: 24px 0 0;
  color: rgba(247, 249, 251, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.koti-ref-service-card:hover h3,
.koti-ref-service-card:focus-visible h3 {
  color: rgba(218, 255, 247, 0.99);
  transform: translateX(3px);
}

.koti-ref-service-card > p {
  margin: 18px 0 0;
  color: rgba(195, 206, 220, 0.77);
  font-size: 1rem;
  line-height: 1.68;
}

.koti-ref-service-card__meta {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(125, 145, 172, 0.14);
  color: rgba(170, 187, 207, 0.8);
  font: 500 0.75rem/1.5 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
}

.koti-ref-service-card__details {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(125, 145, 172, 0.14);
}

.koti-ref-service-card__details > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(125, 145, 172, 0.1);
}

.koti-ref-service-card__details dt {
  color: rgba(136, 157, 181, 0.72);
  font: 500 0.67rem/1.45 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-ref-service-card__details dd {
  margin: 0;
  color: rgba(211, 221, 232, 0.83);
  font-size: 0.92rem;
  line-height: 1.48;
}

.koti-ref-service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(225, 241, 246, 0.96);
  font: 500 0.76rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 220ms ease, letter-spacing 220ms ease;
}

.koti-ref-service-card__link .koti-icon {
  color: var(--koti-service-accent);
  transition: transform 180ms ease;
}

.koti-ref-service-card:hover .koti-ref-service-card__link,
.koti-ref-service-card:focus-visible .koti-ref-service-card__link {
  color: rgba(236, 255, 252, 1);
  letter-spacing: 0.19em;
}

.koti-ref-service-card:hover .koti-ref-service-card__link .koti-icon,
.koti-ref-service-card:focus-visible .koti-ref-service-card__link .koti-icon {
  transform: translate(4px, -4px) scale(1.08);
  filter: drop-shadow(0 0 7px rgba(80, 224, 202, 0.54));
}

.koti-ref-mentorship__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(123, 144, 170, 0.14);
  border-radius: 16px;
  background: rgba(5, 10, 17, 0.48);
}

.koti-ref-mentorship__footer strong,
.koti-ref-mentorship__footer span {
  display: block;
}

.koti-ref-mentorship__footer strong {
  color: rgba(239, 244, 248, 0.94);
  font-size: 0.98rem;
}

.koti-ref-mentorship__footer > div > span {
  margin-top: 4px;
  color: rgba(170, 184, 201, 0.74);
  font-size: 0.9rem;
}

.koti-ref-mentorship__footer > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(202, 225, 235, 0.9);
  font: 500 0.74rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.koti-ref-mentorship-hero {
  padding: clamp(64px, 8vw, 108px) 0 72px;
}

.koti-ref-mentorship-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: end;
  margin-top: 22px;
}

.koti-ref-mentorship-hero .koti-ref-page-title {
  max-width: 920px;
}

.koti-ref-mentorship-hero__summary {
  max-width: 760px;
  margin-top: 26px;
  font-size: 1.12rem;
}

.koti-ref-mentorship-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.koti-ref-mentorship-hero__proof {
  display: grid;
  gap: 0;
  padding: 26px;
  border: 1px solid rgba(105, 171, 191, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(65, 191, 178, 0.13), transparent 44%),
    rgba(6, 13, 20, 0.76);
}

.koti-ref-mentorship-hero__proof > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(127, 151, 177, 0.12);
}

.koti-ref-mentorship-hero__proof strong {
  color: rgba(218, 248, 242, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.koti-ref-mentorship-hero__proof span {
  color: rgba(185, 203, 218, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.koti-ref-mentorship-hero__proof p {
  margin: 20px 0 0;
  color: rgba(194, 210, 221, 0.8);
  font-size: 0.94rem;
  line-height: 1.62;
}

.koti-ref-services {
  padding: 82px 0;
  border-top: 1px solid rgba(119, 142, 170, 0.14);
  scroll-margin-top: 110px;
}

.koti-ref-services__intro {
  max-width: 450px;
}

.koti-ref-posters {
  padding: 82px 0;
  border-top: 1px solid rgba(119, 142, 170, 0.14);
  scroll-margin-top: 110px;
}

.koti-ref-posters__intro {
  max-width: 470px;
  margin: 0;
  color: rgba(198, 209, 222, 0.78);
  font-size: 1.02rem;
  line-height: 1.72;
}

.koti-ref-posters__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.koti-ref-poster {
  --koti-poster-accent: 111, 228, 207;
  --koti-poster-secondary: 99, 128, 255;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(210px, 0.78fr) auto;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(var(--koti-poster-accent), 0.27);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(10, 17, 27, 0.98), rgba(5, 10, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 30px 80px rgba(0, 0, 0, 0.18);
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.koti-ref-poster--adobe-technical-problem-solving {
  --koti-poster-accent: 168, 134, 255;
  --koti-poster-secondary: 80, 226, 199;
}

.koti-ref-poster--adobe-architecture-delivery-decision-review {
  --koti-poster-accent: 91, 187, 255;
  --koti-poster-secondary: 105, 231, 198;
}

.koti-ref-poster--aep-rtcdp-ajo-certification-roadmap {
  --koti-poster-accent: 255, 190, 104;
  --koti-poster-secondary: 160, 120, 255;
}

.koti-ref-poster::before,
.koti-ref-poster::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.koti-ref-poster::before {
  inset: 0;
  background:
    linear-gradient(rgba(143, 170, 200, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 170, 200, 0.055) 1px, transparent 1px),
    radial-gradient(circle at var(--koti-spot-x, 76%) var(--koti-spot-y, 18%), rgba(var(--koti-poster-accent), 0.24), transparent 36%);
  background-size: 36px 36px, 36px 36px, auto;
  opacity: 0.9;
}

.koti-ref-poster::after {
  width: 280px;
  height: 280px;
  top: -120px;
  right: -80px;
  border-radius: 50%;
  background: rgba(var(--koti-poster-secondary), 0.13);
  filter: blur(4px);
  transition: transform 300ms ease, background-color 300ms ease;
}

.koti-ref-poster:hover,
.koti-ref-poster:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(var(--koti-poster-accent), 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.34),
    0 0 40px rgba(var(--koti-poster-accent), 0.1);
}

.koti-ref-poster:focus-visible {
  outline: 2px solid rgba(var(--koti-poster-accent), 0.94);
  outline-offset: 5px;
}

.koti-ref-poster:hover::after,
.koti-ref-poster:focus-visible::after {
  transform: translate(-18px, 18px) scale(1.16);
  background: rgba(var(--koti-poster-secondary), 0.2);
}

.koti-ref-poster__visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--koti-poster-accent), 0.16);
  background: rgba(4, 9, 16, 0.82);
}

.koti-ref-poster__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 9, 16, 0.03) 36%, rgba(4, 9, 16, 0.74) 100%),
    radial-gradient(circle at 74% 18%, rgba(var(--koti-poster-accent), 0.2), transparent 38%);
  transition: opacity 280ms ease;
}

.koti-ref-poster__visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.002);
  transition: transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 280ms ease;
}

.koti-ref-poster:hover .koti-ref-poster__visual::after,
.koti-ref-poster:focus-visible .koti-ref-poster__visual::after {
  opacity: 0.58;
}

.koti-ref-poster:hover .koti-ref-poster__visual > img,
.koti-ref-poster:focus-visible .koti-ref-poster__visual > img {
  filter: saturate(1.14) contrast(1.06);
  transform: scale(1.06);
}

.koti-ref-poster__number {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  color: rgba(235, 244, 250, 0.88);
  font: 600 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
}

.koti-ref-poster__visual-label {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(var(--koti-poster-accent), 0.34);
  border-radius: 999px;
  background: rgba(4, 10, 17, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  color: rgba(237, 247, 250, 0.96);
  font: 600 0.7rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.koti-ref-poster:hover .koti-ref-poster__visual-label,
.koti-ref-poster:focus-visible .koti-ref-poster__visual-label {
  border-color: rgba(var(--koti-poster-accent), 0.68);
  background: rgba(7, 18, 24, 0.88);
  transform: translateY(-3px);
}

.koti-ref-poster__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(var(--koti-poster-accent), 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 360ms ease, border-color 300ms ease;
}

.koti-ref-poster__orbit::before,
.koti-ref-poster__orbit::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(5, 10, 17, 0.94);
  border-radius: 50%;
  background: rgb(var(--koti-poster-accent));
  box-shadow: 0 0 16px rgba(var(--koti-poster-accent), 0.55);
}

.koti-ref-poster__orbit::before {
  top: 12%;
  right: 10%;
}

.koti-ref-poster__orbit::after {
  bottom: 7%;
  left: 14%;
}

.koti-ref-poster__orbit--outer {
  width: 190px;
  height: 190px;
}

.koti-ref-poster__orbit--inner {
  width: 112px;
  height: 112px;
  border-style: dashed;
  border-color: rgba(var(--koti-poster-secondary), 0.54);
}

.koti-ref-poster:hover .koti-ref-poster__orbit--outer,
.koti-ref-poster:focus-visible .koti-ref-poster__orbit--outer {
  transform: translate(-50%, -50%) rotate(18deg) scale(1.06);
  border-color: rgba(var(--koti-poster-accent), 0.72);
}

.koti-ref-poster:hover .koti-ref-poster__orbit--inner,
.koti-ref-poster:focus-visible .koti-ref-poster__orbit--inner {
  transform: translate(-50%, -50%) rotate(-24deg) scale(0.96);
}

.koti-ref-poster__signal {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  transform: translate(-50%, -50%);
}

.koti-ref-poster__signal i {
  display: block;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(to top, rgb(var(--koti-poster-secondary)), rgb(var(--koti-poster-accent)));
  box-shadow: 0 0 13px rgba(var(--koti-poster-accent), 0.34);
}

.koti-ref-poster__signal i:nth-child(1) { height: 28px; }
.koti-ref-poster__signal i:nth-child(2) { height: 56px; }
.koti-ref-poster__signal i:nth-child(3) { height: 40px; }

.koti-ref-poster__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 28px 30px 30px;
}

.koti-ref-poster__eyebrow {
  color: rgba(var(--koti-poster-accent), 0.9);
  font: 500 0.69rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.koti-ref-poster h3 {
  margin: 19px 0 0;
  color: rgba(247, 250, 252, 0.99);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 3.5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.koti-ref-poster__content > strong {
  display: block;
  max-width: 470px;
  margin-top: 21px;
  color: rgba(219, 230, 239, 0.92);
  font-size: 1rem;
  line-height: 1.5;
}

.koti-ref-poster__content > p {
  max-width: 500px;
  margin: 12px 0 0;
  color: rgba(176, 191, 208, 0.76);
  font-size: 0.93rem;
  line-height: 1.64;
}

.koti-ref-poster__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 25px;
  color: rgba(235, 247, 248, 0.96);
  font: 500 0.72rem/1.3 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.koti-ref-poster__cta .koti-icon {
  color: rgb(var(--koti-poster-accent));
  transition: transform 200ms ease, filter 200ms ease;
}

.koti-ref-poster:hover .koti-ref-poster__cta .koti-icon,
.koti-ref-poster:focus-visible .koti-ref-poster__cta .koti-icon {
  transform: translate(5px, -5px);
  filter: drop-shadow(0 0 7px rgba(var(--koti-poster-accent), 0.52));
}

.koti-ref-session-process {
  padding: 80px 0;
  border-top: 1px solid rgba(119, 142, 170, 0.14);
}

.koti-ref-session-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(123, 145, 172, 0.15);
  border-bottom: 1px solid rgba(123, 145, 172, 0.15);
}

.koti-ref-session-process__grid > div {
  min-width: 0;
  padding: 32px 30px 36px 0;
}

.koti-ref-session-process__grid > div + div {
  padding-left: 30px;
  border-left: 1px solid rgba(123, 145, 172, 0.15);
}

.koti-ref-session-process__grid span {
  color: rgba(93, 214, 197, 0.86);
  font: 500 0.72rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.16em;
}

.koti-ref-session-process__grid h2 {
  margin: 20px 0 0;
  color: rgba(245, 248, 250, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.koti-ref-session-process__grid p {
  margin: 14px 0 0;
  color: rgba(188, 201, 216, 0.75);
  font-size: 0.96rem;
  line-height: 1.62;
}

.koti-ref-advisory-contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
  padding: 82px 0 42px;
  border-top: 1px solid rgba(119, 142, 170, 0.14);
  scroll-margin-top: 110px;
}

.koti-ref-advisory-contact__copy h2 {
  margin: 20px 0 0;
  color: rgba(247, 249, 251, 0.98);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 4.5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.koti-ref-advisory-contact__copy > p {
  margin-top: 24px;
}

.koti-ref-advisory-contact__copy ul {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.koti-ref-advisory-contact__copy li {
  position: relative;
  padding-left: 22px;
  color: rgba(208, 219, 230, 0.82);
  font-size: 0.96rem;
  line-height: 1.5;
}

.koti-ref-advisory-contact__copy li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(90, 218, 199, 0.86);
  box-shadow: 0 0 10px rgba(90, 218, 199, 0.38);
}

.koti-ref-advisory-contact .koti-email-panel--contact {
  max-width: 100%;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
}

.koti-ref-advisory-contact .koti-email-panel--linktree {
  min-height: 70px;
  margin-top: 12px;
  font-size: clamp(0.88rem, 1.3vw, 1.02rem);
}

@media (max-width: 980px) {
  .koti-ref-home-hero__actions {
    flex-wrap: wrap;
  }

  .koti-ref-mentorship__intro,
  .koti-ref-mentorship-hero__grid,
  .koti-ref-advisory-contact {
    grid-template-columns: 1fr;
  }

  .koti-ref-mentorship__intro > p {
    grid-column: 1;
    grid-row: auto;
    max-width: 720px;
  }

  .koti-ref-mentorship__grid {
    grid-template-columns: 1fr;
  }

  .koti-ref-service-card {
    min-height: 0;
  }

  .koti-ref-mentorship-hero__proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .koti-ref-mentorship-hero__proof > div {
    display: block;
    padding: 0 18px;
    border-right: 1px solid rgba(127, 151, 177, 0.12);
    border-bottom: 0;
  }

  .koti-ref-mentorship-hero__proof > div:first-child {
    padding-left: 0;
  }

  .koti-ref-mentorship-hero__proof > div:nth-child(3) {
    padding-right: 0;
    border-right: 0;
  }

  .koti-ref-mentorship-hero__proof span {
    display: block;
    margin-top: 7px;
  }

  .koti-ref-mentorship-hero__proof p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .koti-ref-mentorship {
    padding-top: 68px;
  }

  .koti-ref-services,
  .koti-ref-posters,
  .koti-ref-session-process,
  .koti-ref-advisory-contact {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .koti-ref-services__grid,
  .koti-ref-posters__grid,
  .koti-ref-session-process__grid,
  .koti-ref-mentorship-hero__proof {
    grid-template-columns: 1fr;
  }

  .koti-ref-poster {
    min-height: 0;
  }

  .koti-ref-poster__content {
    min-height: 320px;
  }

  .koti-ref-section__header,
  .koti-ref-mentorship__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .koti-ref-service-card {
    padding: 22px;
    border-radius: 18px;
  }

  .koti-ref-service-card__details > div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .koti-ref-mentorship-hero {
    padding-top: 48px;
  }

  .koti-ref-mentorship-hero__actions,
  .koti-ref-mentorship-hero__actions .koti-button,
  .koti-button--hero-mentorship {
    width: 100%;
  }

  .koti-ref-mentorship-hero__actions .koti-button,
  .koti-button--hero-mentorship {
    justify-content: center;
  }

  .koti-ref-mentorship-hero__proof > div,
  .koti-ref-mentorship-hero__proof > div:first-child,
  .koti-ref-mentorship-hero__proof > div:nth-child(3) {
    display: grid;
    grid-template-columns: 72px 1fr;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(127, 151, 177, 0.12);
  }

  .koti-ref-mentorship-hero__proof span {
    margin-top: 0;
  }

  .koti-ref-session-process__grid > div,
  .koti-ref-session-process__grid > div + div {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(123, 145, 172, 0.15);
  }

  .koti-ref-session-process__grid > div:last-child {
    border-bottom: 0;
  }

  .koti-ref-mentorship__footer > a {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .koti-ref-service-card,
  .koti-ref-service-card::before,
  .koti-ref-service-card::after,
  .koti-ref-service-card h3,
  .koti-ref-service-card__visual::after,
  .koti-ref-service-card__visual img,
  .koti-ref-service-card__link .koti-icon,
  .koti-ref-poster,
  .koti-ref-poster::after,
  .koti-ref-poster__visual::after,
  .koti-ref-poster__visual img,
  .koti-ref-poster__visual-label,
  .koti-ref-poster__orbit,
  .koti-ref-poster__cta .koti-icon {
    transition: none;
  }

  .koti-ref-service-card:hover,
  .koti-ref-service-card:focus-visible,
  .koti-ref-poster:hover,
  .koti-ref-poster:focus-visible {
    transform: none;
  }
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--contact {
  box-sizing: border-box;
  width: 100%;
  min-height: 72px;
  padding: 14px 18px;
  gap: 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.86rem, 0.46vw + 0.74rem, 1.02rem);
  line-height: 1.2;
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel__brand-mark {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--linktree {
  min-height: 64px;
  margin-top: 12px;
  border-color: rgba(90, 218, 199, 0.28);
  background:
    linear-gradient(135deg, rgba(90, 218, 199, 0.12), rgba(104, 148, 255, 0.08)),
    rgba(7, 11, 16, 0.5);
  color: rgba(245, 249, 252, 0.96);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.78rem, 0.34vw + 0.7rem, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--linktree:hover,
body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--linktree:focus-visible {
  border-color: rgba(90, 218, 199, 0.5);
  box-shadow: 0 18px 42px rgba(38, 208, 180, 0.1);
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--linktree .koti-icon:last-child {
  border-color: rgba(90, 218, 199, 0.32);
}

@media (max-width: 560px) {
  body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--contact {
    min-height: 60px;
    padding: 12px 14px;
  }

  body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--contact .koti-icon:first-child,
  body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel__brand-mark {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel--contact .koti-icon:last-child {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 8px;
  }
}

/* Recruiter-facing polish: richer proof objects, calmer typography, and smoother motion. */
body.koti-redesign-body {
  --koti-ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --koti-panel-border: rgba(160, 189, 219, 0.18);
  --koti-panel-border-strong: rgba(97, 214, 203, 0.34);
  --koti-readable: rgba(224, 233, 244, 0.86);
  --koti-muted-readable: rgba(190, 203, 218, 0.78);
}

body.koti-redesign-body .koti-reference {
  text-rendering: optimizeLegibility;
}

body.koti-redesign-body p,
body.koti-redesign-body li,
body.koti-redesign-body dd,
body.koti-redesign-body input,
body.koti-redesign-body textarea {
  color: var(--koti-readable);
}

body.koti-redesign-body .koti-ref-home-hero__summary,
body.koti-redesign-body .koti-ref-home-hero__lede,
body.koti-redesign-body .koti-ref-about-hero__summary,
body.koti-redesign-body .koti-ref-projects-hero__summary,
body.koti-redesign-body .koti-page-hero__summary,
body.koti-redesign-body .koti-ref-mentorship-hero__summary,
body.koti-redesign-body .koti-ref-services__intro,
body.koti-redesign-body .koti-ref-posters__intro {
  max-width: 820px;
  color: var(--koti-readable);
  line-height: 1.72;
}

body.koti-redesign-body .koti-ref-home-hero__recruiter,
body.koti-redesign-body .koti-ref-home-hero__meta,
body.koti-redesign-body .koti-ref-home-hero__kicker,
body.koti-redesign-body .koti-ref-page-label,
body.koti-redesign-body .koti-ref-section__eyebrow,
body.koti-redesign-body .koti-ref-projects-hero__eyebrow,
body.koti-redesign-body .koti-kicker {
  color: rgba(215, 230, 244, 0.84);
  letter-spacing: clamp(0.12em, 0.3vw, 0.2em);
}

body.koti-redesign-body .koti-button,
body.koti-redesign-body .koti-site-nav__link,
body.koti-redesign-body .koti-site-nav__cta,
body.koti-redesign-body .koti-ref-section__link,
body.koti-redesign-body .koti-inline-link,
body.koti-redesign-body .koti-ref-featured-row__link,
body.koti-redesign-body .koti-ref-project-row__link,
body.koti-redesign-body .koti-social-link,
body.koti-redesign-body .koti-email-panel {
  transition:
    transform 420ms var(--koti-ease-premium),
    color 220ms ease,
    border-color 220ms ease,
    background 320ms ease,
    box-shadow 420ms var(--koti-ease-premium),
    opacity 220ms ease;
}

body.koti-redesign-body .koti-button span:first-child,
body.koti-redesign-body .koti-site-nav__link,
body.koti-redesign-body .koti-site-nav__cta,
body.koti-redesign-body .koti-ref-section__link span:first-child,
body.koti-redesign-body .koti-ref-featured-row__link span:first-child,
body.koti-redesign-body .koti-ref-project-row__link span:first-child {
  overflow-wrap: anywhere;
}

body.koti-redesign-body .koti-ref-home-proof-band {
  border-color: var(--koti-panel-border-strong);
  background:
    radial-gradient(circle at 15% 10%, rgba(104, 148, 255, 0.18), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(51, 214, 179, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(10, 16, 25, 0.9), rgba(4, 8, 13, 0.94));
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.koti-redesign-body .koti-ref-home-proof-card {
  position: relative;
  min-height: 188px;
  padding: 24px;
  overflow: hidden;
  border-color: var(--koti-panel-border);
  background:
    linear-gradient(145deg, rgba(14, 22, 34, 0.78), rgba(6, 11, 18, 0.82)),
    rgba(8, 12, 18, 0.76);
}

body.koti-redesign-body .koti-ref-home-proof-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -48px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(83, 220, 207, 0.1);
  filter: blur(14px);
  pointer-events: none;
}

body.koti-redesign-body .koti-ref-proof-mark,
body.koti-redesign-body .koti-ref-focus-card__mark,
body.koti-redesign-body .koti-ref-service-card__brand img,
body.koti-redesign-body .koti-ref-poster__brand img,
body.koti-redesign-body .koti-ref-session-process__grid img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.koti-redesign-body .koti-ref-proof-mark {
  width: 32px;
  height: 28px;
  margin-bottom: 18px;
  opacity: 0.92;
}

body.koti-redesign-body .koti-ref-home-proof-card strong {
  display: block;
  line-height: 0.9;
}

body.koti-redesign-body .koti-ref-home-proof-card span,
body.koti-redesign-body .koti-ref-home-proof-card p {
  position: relative;
  z-index: 1;
}

body.koti-redesign-body .koti-ref-home-proof-card p,
body.koti-redesign-body .koti-ref-featured-row__content p,
body.koti-redesign-body .koti-ref-project-row__desc,
body.koti-redesign-body .koti-post-card__excerpt {
  color: var(--koti-muted-readable);
  line-height: 1.66;
}

body.koti-redesign-body .koti-ref-about-platform,
body.koti-redesign-body .koti-ref-about-focus-card,
body.koti-redesign-body .koti-ref-platform-mark,
body.koti-redesign-body .koti-post-panel,
body.koti-redesign-body .koti-ref-cert-card,
body.koti-redesign-body .koti-ref-recommendation {
  border-color: var(--koti-panel-border);
  background:
    linear-gradient(145deg, rgba(12, 20, 31, 0.76), rgba(5, 9, 15, 0.84)),
    rgba(8, 13, 20, 0.72);
}

body.koti-redesign-body .koti-ref-about-focus-card {
  position: relative;
  padding-top: 24px;
}

body.koti-redesign-body .koti-ref-focus-card__mark {
  width: 28px;
  height: 24px;
  margin-bottom: 16px;
  opacity: 0.9;
}

body.koti-redesign-body .koti-ref-about-focus-card h2 {
  margin-top: 0;
}

body.koti-redesign-body .koti-ref-service-card {
  min-height: 100%;
  border-color: var(--koti-panel-border);
  background:
    radial-gradient(circle at 18% 14%, rgba(103, 136, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(10, 18, 30, 0.88), rgba(4, 8, 14, 0.92));
  transform: translate3d(0, 0, 0);
  transition:
    transform 520ms var(--koti-ease-premium),
    border-color 320ms ease,
    box-shadow 520ms var(--koti-ease-premium),
    background 420ms ease;
}

body.koti-redesign-body .koti-ref-service-card:hover,
body.koti-redesign-body .koti-ref-service-card:focus-visible,
body.koti-redesign-body .koti-ref-poster:hover,
body.koti-redesign-body .koti-ref-poster:focus-visible,
body.koti-redesign-body .koti-ref-project-row:hover,
body.koti-redesign-body .koti-ref-featured-row:hover,
body.koti-redesign-body .koti-post-card:hover {
  transform: translateY(-4px);
}

body.koti-redesign-body .koti-ref-service-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(149, 184, 220, 0.2);
  border-radius: 999px;
  background: rgba(5, 10, 16, 0.58);
  color: rgba(226, 238, 248, 0.88);
  font: 700 0.72rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.koti-redesign-body .koti-ref-service-card__brand img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.94;
}

body.koti-redesign-body .koti-ref-service-card h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.02;
}

body.koti-redesign-body .koti-ref-service-card__details dd,
body.koti-redesign-body .koti-ref-service-card__meta span,
body.koti-redesign-body .koti-ref-service-card > p {
  color: var(--koti-muted-readable);
}

body.koti-redesign-body .koti-ref-poster__brand {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(var(--koti-poster-accent), 0.34);
  border-radius: 50%;
  background: rgba(3, 8, 13, 0.62);
  backdrop-filter: blur(10px);
  z-index: 2;
}

body.koti-redesign-body .koti-ref-poster__brand img {
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

body.koti-redesign-body .koti-ref-session-process__grid > div {
  position: relative;
  min-height: 210px;
  padding: 32px 30px;
  border: 1px solid var(--koti-panel-border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(10, 18, 30, 0.74), rgba(4, 8, 14, 0.86)),
    rgba(8, 13, 20, 0.72);
}

body.koti-redesign-body .koti-ref-session-process__grid > div + div {
  border-left: 1px solid var(--koti-panel-border);
}

body.koti-redesign-body .koti-ref-session-process__grid img {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  opacity: 0.9;
}

body.koti-redesign-body .koti-ref-session-process__grid span {
  color: rgba(105, 228, 207, 0.94);
}

body.koti-redesign-body .koti-ref-session-process__grid p,
body.koti-redesign-body .koti-ref-advisory-contact__copy > p,
body.koti-redesign-body .koti-ref-advisory-contact__copy li {
  color: var(--koti-muted-readable);
  font-size: clamp(1rem, 0.18vw + 0.96rem, 1.08rem);
}

body.koti-redesign-body .koti-ref-contact-form {
  border-color: var(--koti-panel-border);
  background:
    radial-gradient(circle at 12% 0%, rgba(104, 148, 255, 0.12), transparent 32%),
    rgba(5, 10, 16, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

body.koti-redesign-body .koti-ref-contact-form input,
body.koti-redesign-body .koti-ref-contact-form textarea {
  min-width: 0;
  border-color: rgba(155, 181, 211, 0.2);
  background: rgba(2, 7, 12, 0.58);
}

body.koti-redesign-body .koti-ref-contact-form input:focus,
body.koti-redesign-body .koti-ref-contact-form textarea:focus {
  border-color: rgba(105, 228, 207, 0.5);
  box-shadow: 0 0 0 3px rgba(105, 228, 207, 0.1);
}

body.koti-redesign-body .koti-ref-project-row,
body.koti-redesign-body .koti-ref-featured-row {
  border-color: rgba(135, 166, 204, 0.17);
  background:
    linear-gradient(110deg, rgba(8, 14, 23, 0.72), rgba(4, 8, 13, 0.44)),
    rgba(5, 9, 15, 0.58);
  transition:
    transform 520ms var(--koti-ease-premium),
    border-color 320ms ease,
    box-shadow 520ms var(--koti-ease-premium);
}

body.koti-redesign-body .koti-ref-project-row:hover,
body.koti-redesign-body .koti-ref-featured-row:hover {
  border-color: rgba(105, 228, 207, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

body.koti-redesign-body .koti-ref-journal-row {
  min-height: 76px;
}

body.koti-redesign-body .koti-ref-journal-row__title,
body.koti-redesign-body .koti-ref-project-row h2,
body.koti-redesign-body .koti-ref-featured-row h3,
body.koti-redesign-body .koti-post-card__title {
  overflow-wrap: anywhere;
}

body.koti-redesign-body .koti-rich-text {
  color: var(--koti-readable);
  font-size: clamp(1rem, 0.22vw + 0.98rem, 1.12rem);
}

body.koti-redesign-body .koti-rich-text p,
body.koti-redesign-body .koti-rich-text li {
  line-height: 1.82;
}

@media (max-width: 980px) {
  body.koti-redesign-body .koti-ref-home-proof-card {
    min-height: 0;
  }

  body.koti-redesign-body .koti-ref-session-process__grid > div,
  body.koti-redesign-body .koti-ref-session-process__grid > div + div {
    border-left: 1px solid var(--koti-panel-border);
  }
}

@media (max-width: 760px) {
  body.koti-redesign-body .koti-ref-home-hero__title {
    font-size: clamp(3.15rem, 16vw, 5.2rem);
  }

  body.koti-redesign-body .koti-ref-page-title,
  body.koti-redesign-body .koti-ref-page-title--projects,
  body.koti-redesign-body .koti-ref-page-title--journal,
  body.koti-redesign-body .koti-ref-page-title--contact,
  body.koti-redesign-body .koti-ref-page-title--recognition {
    font-size: clamp(2.8rem, 13.5vw, 4.7rem);
    letter-spacing: -0.02em;
  }

  body.koti-redesign-body .koti-ref-home-proof-band,
  body.koti-redesign-body .koti-ref-service-card,
  body.koti-redesign-body .koti-ref-poster,
  body.koti-redesign-body .koti-ref-contact-form {
    border-radius: 18px;
  }

  body.koti-redesign-body .koti-ref-session-process__grid > div {
    min-height: 0;
    padding: 24px;
  }

  body.koti-redesign-body .koti-ref-service-card__brand {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  body.koti-redesign-body .koti-button,
  body.koti-redesign-body .koti-site-nav__mobile-cta,
  body.koti-redesign-body .koti-email-panel {
    width: 100%;
    justify-content: center;
  }

  body.koti-redesign-body .koti-ref-home-hero__actions {
    gap: 10px;
  }

  body.koti-redesign-body .koti-ref-home-hero__summary,
  body.koti-redesign-body .koti-ref-home-hero__lede,
  body.koti-redesign-body .koti-ref-about-hero__summary,
  body.koti-redesign-body .koti-ref-projects-hero__summary,
  body.koti-redesign-body .koti-page-hero__summary,
  body.koti-redesign-body .koti-ref-mentorship-hero__summary {
    font-size: 1rem;
    line-height: 1.68;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.koti-motion-ready body.koti-redesign-body [data-koti-reveal] {
    transition:
      opacity 680ms var(--koti-ease-premium),
      transform 780ms var(--koti-ease-premium);
  }
}

/* Sitewide recruiter QA fixes: keep rich media/cards contained at every breakpoint. */
body.koti-redesign-body,
body.koti-redesign-body .koti-shell,
body.koti-redesign-body .koti-main,
body.koti-redesign-body .koti-reference,
body.koti-redesign-body .koti-ref-section,
body.koti-redesign-body .koti-ref-featured-list,
body.koti-redesign-body .koti-ref-featured-row,
body.koti-redesign-body .koti-ref-project-row,
body.koti-redesign-body .koti-ref-contact-grid,
body.koti-redesign-body .koti-ref-services-grid,
body.koti-redesign-body .koti-ref-posters__grid,
body.koti-redesign-body .koti-ref-about-focus__grid,
body.koti-redesign-body .koti-ref-home-proof-band__grid {
  min-width: 0;
  max-width: 100%;
}

body.koti-redesign-body .koti-reference {
  overflow-x: clip;
}

body.koti-redesign-body .koti-ref-featured-row__art,
body.koti-redesign-body .koti-ref-project-row__art,
body.koti-redesign-body .koti-ref-projects-hero__art,
body.koti-redesign-body .koti-ref-about-hero__art,
body.koti-redesign-body .koti-ref-service-card__visual,
body.koti-redesign-body .koti-ref-poster__visual {
  max-width: 100%;
  contain: paint;
}

body.koti-redesign-body .koti-ref-featured-row__art a,
body.koti-redesign-body .koti-ref-project-row__art a,
body.koti-redesign-body .koti-ref-featured-row__art img,
body.koti-redesign-body .koti-ref-project-row__art img,
body.koti-redesign-body .koti-ref-projects-hero__art img,
body.koti-redesign-body .koti-ref-about-hero__art img,
body.koti-redesign-body .koti-ref-service-card__visual img,
body.koti-redesign-body .koti-ref-poster__visual > img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.koti-redesign-body .koti-ref-featured-row__art a,
body.koti-redesign-body .koti-ref-project-row__art a {
  overflow: hidden;
}

body.koti-redesign-body .koti-ref-featured-row__art img,
body.koti-redesign-body .koti-ref-project-row__art img,
body.koti-redesign-body .koti-ref-projects-hero__art img,
body.koti-redesign-body .koti-ref-about-hero__art img {
  height: 100%;
  object-fit: cover;
}

body.koti-redesign-body .koti-ref-featured-row__art,
body.koti-redesign-body .koti-ref-project-row__art {
  aspect-ratio: 16 / 10;
}

body.koti-redesign-body .koti-ref-featured-row__content,
body.koti-redesign-body .koti-ref-project-row__content,
body.koti-redesign-body .koti-ref-service-card,
body.koti-redesign-body .koti-ref-poster__content,
body.koti-redesign-body .koti-ref-contact-copy,
body.koti-redesign-body .koti-ref-contact-form-card {
  overflow-wrap: anywhere;
}

body.koti-redesign-body .koti-email-panel__text,
body.koti-redesign-body .koti-ref-contact-method,
body.koti-redesign-body .koti-social-link,
body.koti-redesign-body .koti-ref-service-card__brand span {
  min-width: 0;
}

body.koti-redesign-body .koti-email-panel__text {
  font-size: clamp(1.3rem, 4.6vw, 2.85rem);
  line-height: 1.03;
}

body.koti-redesign-body .koti-ref-advisory-contact .koti-email-panel__text {
  font-size: clamp(1.28rem, 4.2vw, 2.45rem);
}

body.koti-redesign-body .koti-ref-project-row h2,
body.koti-redesign-body .koti-ref-featured-row h3,
body.koti-redesign-body .koti-ref-service-card h3,
body.koti-redesign-body .koti-ref-poster h3 {
  hyphens: auto;
}

@media (max-width: 980px) {
  body.koti-redesign-body .koti-ref-featured-row__art,
  body.koti-redesign-body .koti-ref-project-row__art {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  body.koti-redesign-body .koti-ref-featured-row__art,
  body.koti-redesign-body .koti-ref-project-row__art {
    aspect-ratio: 4 / 3;
  }

  body.koti-redesign-body .koti-site-nav__mobile-cta,
  body.koti-redesign-body .koti-email-panel,
  body.koti-redesign-body .koti-ref-contact-method,
  body.koti-redesign-body .koti-social-link {
    width: 100%;
    max-width: 100%;
  }

  body.koti-redesign-body .koti-ref-service-card__brand {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
