:root {
  --background: #ffffff;
  --surface: #fbf4ef;
  --text: #21050d;
  --muted: #76676b;
  --accent: #7a102b;
  --line: #eadbd5;
  --soft-line: #f2e8e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.page-shell {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 120px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* HERO */
.case-hero { overflow: visible; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 62%);
  align-items: center;
  gap: 34px;
  min-height: 610px;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy .eyebrow { margin-bottom: 38px;font-size:large; }

h1 {
  margin: 0;
  font-size: clamp(66px, 7vw, 92px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
.category {
  margin: 30px 0 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lead {
  max-width: 410px;
  margin: 0;
  color: #4d4d4d;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.75;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: #777;
  font-size: 15px;
  letter-spacing: .04em;
}
.hero-tags span:not(:last-child)::after {
  content: "·";
  margin-left: 22px;
  color: #bababa;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--text);
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.primary-link:hover { background: var(--text); color: #fff; transform: translateY(-2px); }
.text-link {
  color: #5f5f5f;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid #bdbdbd;
  padding-bottom: 4px;
}

/* DEVICES */
.devices {
  position: relative;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 88px;
}
.devices::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 186, 164, .18), rgba(255,255,255,0) 68%);
}
.laptop {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  filter: drop-shadow(0 28px 25px rgba(20, 20, 20, .16));
}
.laptop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 10px;
  border: 6px solid #171717;
  border-bottom-width: 14px;
  border-radius: 18px 18px 7px 7px;
  background: #0b0b0b;
}
.laptop-screen::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #333;
  transform: translateX(-50%);
}
.laptop-base {
  position: relative;
  width: 112%;
  height: 18px;
  margin-left: -6%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #d2d2d2, #797979 52%, #3c3c3c);
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 43%;
  width: 14%;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #a4a4a4;
}
.phone {
  display: block;
  position: absolute;
  z-index: 2;
  right: -4px;
  bottom: 30px;
  width: 172px;
  padding: 8px;
  border: 3px solid #141414;
  border-radius: 31px;
  background: #0c0c0c;
  box-shadow: 0 24px 34px rgba(20, 20, 20, .22);
}

.mobile-showcase-frame {
  width: min(440px, 100%);
  margin-inline: auto;
  padding: 9px;
  border-width: 7px;
  border-bottom-width: 7px;
  border-radius: 48px;
}
.mobile-showcase-frame::before {
  top: 15px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #090909;
}
.mobile-showcase-frame .showcase-preview {
  aspect-ratio: 9 / 18;
  border-radius: 35px;
}
.mobile-showcase-item .showcase-caption {
  width: min(760px, 100%);
  margin-inline: auto;
}
.phone-screen {
  overflow: hidden;
  aspect-ratio: 9 / 19.2;
  border-radius: 22px;
  background: #eee;
}
.phone-notch {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  width: 62px;
  height: 17px;
  border-radius: 999px;
  background: #090909;
  transform: translateX(-50%);
}

/* Scrollable previews */
.scroll-preview {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 129, 88, .65) transparent;
  cursor: grab;
  touch-action: pan-y;
}
.scroll-preview:active { cursor: grabbing; }
.scroll-preview::-webkit-scrollbar { width: 5px; }
.scroll-preview::-webkit-scrollbar-track { background: transparent; }
.scroll-preview::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(185, 129, 88, .65); }
.laptop-screen.scroll-preview img,
.phone-screen.scroll-preview img {
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.scroll-hint {
  position: sticky;
  z-index: 6;
  left: 50%;
  bottom: 12px;
  display: table;
  margin: -38px auto 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(18,18,18,.7);
  color: #fff;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity .25s ease;
}
.scroll-preview.is-scrolled .scroll-hint,
.scroll-preview:hover .scroll-hint { opacity: 0; }
.phone .scroll-hint { bottom: 8px; margin-bottom: 7px; padding: 5px 8px; font-size: 6px; }

/* PROJECT META */
.project-meta {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.4fr 1.15fr 1.15fr;
  margin-top: 48px;
  padding: 38px 0 0;
  border-top: 1px solid var(--line);
}
.meta-item { padding-right: 24px; }
.meta-item + .meta-item { padding-left: 24px; border-left: 1px solid var(--soft-line); }
.meta-label {
  margin: 0 0 14px;
  color: #999;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.meta-value {
  margin: 0;
  color: #343434;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

/* IDENTITY */
.design-system { padding: 190px 0 70px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  column-gap: 70px;
  align-items: end;
  margin-bottom: 86px;
}
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 34px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(54px, 6vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
}
.section-heading > p:last-child {
  max-width: 500px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
}
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  row-gap: 100px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.identity-block { min-width: 0; }
.palette-block { grid-column: 1 / -1; }
.block-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 38px;
}
.block-title span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
}
.block-title h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.swatch-item { min-width: 0; }
.swatch {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  margin-bottom: 15px;
  border: 1px solid rgba(20,20,20,.08);
}
.swatch-white { background: #fff; }
.swatch-cream { background: #fbf4ef; }
.swatch-beige { background: #c78b3e; }
.swatch-black { background: #4d0013; }
.swatch-item strong,
.swatch-item small { display: block; }
.swatch-item strong { margin-bottom: 5px; font-size: 16px; font-weight: 500; }
.swatch-item small { color: #888; font-size: 15px; font-weight: 300; }

.type-specimens { display: grid; gap: 0; }
.type-specimen {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  min-height: 134px;
  border-top: 1px solid var(--soft-line);
}
.type-specimen:last-child { border-bottom: 1px solid var(--soft-line); }
.type-preview { font-size: 58px; line-height: 1; }
.serif-specimen .type-preview { font-family: "Playfair Display", Georgia, serif; }
.sans-specimen .type-preview { font-family: "DM Sans", Arial, sans-serif; }
.type-specimen strong,
.type-specimen small { display: block; }
.type-specimen strong { margin-bottom: 8px; font-size: 19px; font-weight: 500; }
.type-specimen small { color: #858585; font-size: 16px; font-weight: 300; line-height: 1.5; }

.tools-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.tool-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 88px;
  border-top: 1px solid var(--soft-line);
}
.tool-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--soft-line); }
.tool-item > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d7d7d4;
  border-radius: 50%;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
}
.tool-item strong,
.tool-item small { display: block; }
.tool-item strong { margin-bottom: 4px; font-size: 16px; font-weight: 500; }
.tool-item small { color: #888; font-size: 15px; font-weight: 300; line-height: 1.5; }

@media (max-width: 960px) {
  .phone { right: -34px; }
  .page-shell { width: min(100% - 36px, 780px); }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 650px; }
  .lead { max-width: 560px; }
  .devices { min-height: 500px; justify-content: center; padding-right: 58px; }
  .project-meta { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .meta-item:nth-child(4) { padding-left: 0; border-left: 0; }
  .meta-item:nth-child(n+4) { padding-top: 28px; border-top: 1px solid var(--soft-line); }
  .section-heading { grid-template-columns: 1fr; row-gap: 30px; }
  .section-heading > p:last-child { max-width: 620px; }
  .identity-grid { grid-template-columns: 1fr; row-gap: 84px; }
  .palette-block { grid-column: auto; }
}

@media (max-width: 620px) {
  .phone { right: -8px; }
  .page-shell { width: min(100% - 28px, 480px); padding-top: 38px; }
  .hero-grid { min-height: auto; gap: 48px; }
  .hero-copy .eyebrow { margin-bottom: 26px; }
  h1 { font-size: 62px; }
  .category { font-size: 10px; line-height: 1.6; }
  .lead { font-size: 19px; line-height: 1.7; }
  .hero-tags span:not(:last-child)::after { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .devices { min-height: 330px; padding-right: 34px; }
  .laptop { width: 100%; }
  .laptop-screen { padding: 6px; border-width: 4px; border-bottom-width: 9px; border-radius: 10px 10px 4px 4px; }
  .laptop-base { height: 11px; }
  .phone { right: -2px; bottom: 10px; width: 106px; padding: 5px; border-width: 2px; border-radius: 20px; }
  .phone-screen { border-radius: 14px; }
  .phone-notch { top: 7px; width: 40px; height: 10px; }
  .project-meta { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .meta-item { padding-right: 12px; }
  .meta-item + .meta-item { padding-left: 12px; }
  .meta-item:nth-child(3), .meta-item:nth-child(5) { padding-left: 0; border-left: 0; }
  .meta-item:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--soft-line); }
  .meta-item:nth-child(4) { border-left: 1px solid var(--soft-line); }
  .design-system { padding-top: 125px; }
  .section-heading { margin-bottom: 58px; }
  .section-heading .eyebrow { margin-bottom: 4px; }
  .section-heading h2 { font-size: 48px; }
  .section-heading > p:last-child { font-size: 16px; line-height: 1.75; }
  .identity-grid { row-gap: 70px; padding-top: 30px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .type-specimen { grid-template-columns: 88px 1fr; }
  .tools-list { grid-template-columns: 1fr; }
  .tool-item:nth-last-child(-n+2) { border-bottom: 0; }
  .tool-item:last-child { border-bottom: 1px solid var(--soft-line); }
}

/* CASE STUDY SECTIONS */
.case-section { padding: 125px 0 70px; }
.case-section + .case-section {
  padding-top: 145px;
  overflow: visible;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.challenge-item { min-width: 0; padding-right: 26px; }
.challenge-item + .challenge-item { padding-left: 26px; border-left: 1px solid var(--soft-line); }
.challenge-item .meta-value { max-width: 220px; }

.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.goal-item {
  position: relative;
  min-height: 255px;
  padding: 42px 48px 42px 0;
  border-bottom: 1px solid var(--soft-line);
}
.goal-item:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--soft-line); }
.goal-number,
.flow-number {
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
}
.goal-item h3,
.flow-step h3 {
  margin: 0 0 14px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.goal-item p,
.flow-step p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.user-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flow-step {
  position: relative;
  min-width: 0;
  min-height: 275px;
  padding: 40px 28px 42px 0;
}
.flow-step + .flow-step { padding-left: 28px; border-left: 1px solid var(--soft-line); }
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42px;
  right: -10px;
  z-index: 2;
  width: 20px;
  background: var(--background);
  color: #b7b7b2;
  text-align: center;
  font-size: 15px;
}

@media (max-width: 960px) {
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-item { padding: 30px 24px 34px 0; border-bottom: 1px solid var(--soft-line); }
  .challenge-item + .challenge-item { padding-left: 24px; }
  .challenge-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .user-flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(3) { border-left: 0; }
  .flow-step:nth-child(n+3) { border-top: 1px solid var(--soft-line); }
  .flow-step:nth-child(2)::after { display: none; }
}

@media (max-width: 620px) {
  .case-section { padding-top: 95px; }
  .case-section + .case-section { padding-top: 110px; }
  .challenge-grid,
  .goals-grid,
  .user-flow { grid-template-columns: 1fr; }
  .challenge-item,
  .challenge-item + .challenge-item {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--soft-line);
  }
  .goal-item,
  .goal-item:nth-child(even) {
    min-height: auto;
    padding: 34px 0 38px;
    border-left: 0;
  }
  .goal-number,
  .flow-number { margin-bottom: 30px; }
  .goal-item h3,
  .flow-step h3 { font-size: 24px; }
  .flow-step,
  .flow-step + .flow-step {
    min-height: auto;
    padding: 32px 0 36px;
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }
  .flow-step:first-child { border-top: 0; }
  .flow-step::after { display: none; }
}
\n\n/* SHOWCASE */\n.showcase-list { display: grid; gap: 118px; }\n.showcase-item { min-width: 0; }\n.showcase-preview {\n  width: 100%;\n  aspect-ratio: 16 / 9.5;\n  overflow-y: auto;\n  border: 1px solid var(--line);\n  border-radius: 22px;\n  background: #f3f1ee;\n  box-shadow: 0 24px 70px rgba(26, 22, 18, .10);\n}\n.showcase-preview img {\n  width: 100%;\n  height: auto;\n  max-width: none;\n  user-select: none;\n  -webkit-user-drag: none;\n}\n.showcase-preview .scroll-hint {\n  bottom: 18px;\n  margin-top: -42px;\n  margin-bottom: 14px;\n  font-size: 8px;\n}\n.showcase-caption {\n  display: grid;\n  grid-template-columns: minmax(150px, .6fr) minmax(0, 1.4fr);\n  gap: 48px;\n  padding-top: 28px;\n}\n.showcase-caption .meta-label { margin-top: 6px; }\n.showcase-caption h3 {\n  margin: 0 0 10px;\n  font-size: 29px;\n  font-weight: 500;\n  letter-spacing: -.025em;\n}\n.showcase-caption p:last-child {\n  max-width: 620px;\n  margin: 0;\n  color: var(--muted);\n  font-size: 16px;\n  font-weight: 300;\n  line-height: 1.7;\n}\n\n@media (max-width: 960px) {\n  .showcase-list { gap: 90px; }\n  .showcase-preview { aspect-ratio: 16 / 10; border-radius: 18px; }\n}\n\n@media (max-width: 620px) {\n  .showcase-list { gap: 68px; }\n  .showcase-preview { aspect-ratio: 4 / 3; border-radius: 14px; }\n  .showcase-caption { grid-template-columns: 1fr; gap: 8px; padding-top: 20px; }\n  .showcase-caption .meta-label { margin: 0 0 4px; }\n  .showcase-caption h3 { font-size: 24px; }\n}\n
/* SHOWCASE — framed, scrollable screens inspired by the HERO mockup */
.showcase-list {
  gap: 128px;
}

.showcase-frame {
  position: relative;
  width: 100%;
  padding: 12px;
  border: 6px solid #171717;
  border-bottom-width: 14px;
  border-radius: 24px 24px 10px 10px;
  background: #0b0b0b;
  filter: drop-shadow(0 28px 25px rgba(20, 20, 20, .14));
}

.showcase-frame::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: 5px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 12px 12px 4px 4px;
  background: #eee;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 129, 88, .65) transparent;
}

.showcase-preview::-webkit-scrollbar { width: 5px; }
.showcase-preview::-webkit-scrollbar-track { background: transparent; }
.showcase-preview::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(185, 129, 88, .65);
}

.showcase-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.showcase-preview .scroll-hint {
  position: sticky;
  z-index: 9;
  left: 50%;
  bottom: 16px;
  display: table;
  margin: -42px auto 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(18,18,18,.72);
  color: #fff;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
  transition: opacity .25s ease;
}

.showcase-preview.is-scrolled .scroll-hint,
.showcase-preview:hover .scroll-hint { opacity: 0; }

@media (max-width: 960px) {
  .showcase-list { gap: 94px; }
  .showcase-frame {
    padding: 9px;
    border-width: 5px;
    border-bottom-width: 12px;
    border-radius: 19px 19px 8px 8px;
  }
  .showcase-preview {
    aspect-ratio: 16 / 10;
    border-radius: 9px 9px 3px 3px;
  }
}

@media (max-width: 620px) {
  .showcase-list { gap: 72px; }
  .showcase-frame {
    padding: 6px;
    border-width: 4px;
    border-bottom-width: 9px;
    border-radius: 12px 12px 5px 5px;
  }
  .showcase-frame::before {
    top: 3px;
    width: 4px;
    height: 4px;
  }
  .showcase-preview {
    aspect-ratio: 4 / 3;
    border-radius: 6px 6px 2px 2px;
  }
  .showcase-preview .scroll-hint {
    bottom: 10px;
    margin-bottom: 8px;
    padding: 6px 9px;
    font-size: 7px;
  }
  .mobile-showcase-frame {
    width: min(330px, 92%);
    padding: 6px;
    border-width: 5px;
    border-radius: 36px;
  }
  .mobile-showcase-frame::before {
    top: 10px;
    width: 54px;
    height: 14px;
  }
  .mobile-showcase-frame .showcase-preview {
    aspect-ratio: 9 / 18;
    border-radius: 27px;
  }
}


/* RELATED CASE STUDIES */
.related-section { padding-bottom: 40px; }
.related-heading { margin-bottom: 72px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.related-card {
  min-width: 0;
  text-decoration: none;
}
.related-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.related-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(12,12,12,.08));
  pointer-events: none;
}
.related-visual-jakanie {
  background: linear-gradient(145deg, #e7f0f4, #cbdde6 58%, #b8ced9);
}
.related-visual-sylwia {
  background: linear-gradient(145deg, #f5efe7, #dfd0bd 58%, #c9b297);
}
.related-visual-beauty {
  background: linear-gradient(145deg, #f0e8e1, #dac9bc 58%, #c3ab9c);
}
.related-mark {
  position: relative;
  z-index: 1;
  color: rgba(20,20,20,.82);
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -.06em;
}
.related-index,
.related-arrow {
  position: absolute;
  z-index: 2;
  top: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
}
.related-index { left: 22px; color: rgba(20,20,20,.56); }
.related-arrow {
  right: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(20,20,20,.22);
  border-radius: 50%;
  font-size: 16px;
  letter-spacing: 0;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.related-copy { padding-top: 22px; }
.related-copy .meta-label { margin-bottom: 12px; }
.related-copy h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.03em;
}
.related-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}
.related-card:hover .related-visual {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(25,20,16,.12);
}
.related-card:hover .related-arrow {
  transform: rotate(45deg);
  background: var(--text);
  color: #fff;
}

@media (max-width: 960px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); }
  .related-visual { min-height: 340px; }
}

@media (max-width: 620px) {
  .related-heading { margin-bottom: 50px; }
  .related-grid { grid-template-columns: 1fr; gap: 58px; }
  .related-card:last-child { grid-column: auto; max-width: none; }
  .related-visual { min-height: 300px; border-radius: 16px; }
  .related-index { left: 18px; top: 18px; }
  .related-arrow { right: 18px; top: 18px; }
  .related-copy { padding-top: 18px; }
  .related-copy h3 { font-size: 25px; }
}


/* HERO — centered and more visible scroll controls */
.hero-preview-wrap {
  position: relative;
  width: 100%;
}

.hero-scroll-hint {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0;
  padding: 12px 19px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 999px;
  background: rgba(14, 14, 14, .86);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .38), 0 2px 9px rgba(0, 0, 0, .28);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease, transform .25s ease;
}

.hero-preview-wrap.has-scrolled .hero-scroll-hint {
  opacity: 0;
  transform: translate(-50%, -44%);
}

.phone .hero-scroll-hint {
  top: 50%;
  bottom: auto;
  margin: 0;
  padding: 8px 11px;
  font-size: 8px;
  letter-spacing: .11em;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .42), 0 2px 7px rgba(0, 0, 0, .30);
}

@media (max-width: 620px) {
  .hero-scroll-hint {
    padding: 9px 14px;
    font-size: 10px;
  }
  .phone .hero-scroll-hint {
    padding: 6px 8px;
    font-size: 6px;
  }
}


/* Unified centered scroll controls — HERO + showcase */
.hero-scroll-hint,
.showcase-scroll-hint {
  position: absolute;
  z-index: 30;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0;
  padding: 13px 21px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  background: #fff;
  color: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24), 0 3px 10px rgba(0, 0, 0, .13);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease, transform .25s ease;
}

.showcase-frame { position: relative; }

.hero-preview-wrap.has-scrolled .hero-scroll-hint,
.showcase-frame.has-scrolled .showcase-scroll-hint {
  opacity: 0;
  transform: translate(-50%, -44%);
}

/* Do not hide controls merely on hover — only after actual scrolling. */
.scroll-preview:hover .scroll-hint,
.showcase-preview:hover .scroll-hint {
  opacity: 1;
}
.hero-preview-wrap.has-scrolled .hero-scroll-hint,
.showcase-frame.has-scrolled .showcase-scroll-hint {
  opacity: 0;
}

.phone .hero-scroll-hint {
  top: 50%;
  bottom: auto;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .26), 0 2px 8px rgba(0, 0, 0, .14);
}

@media (max-width: 620px) {
  .hero-scroll-hint,
  .showcase-scroll-hint {
    padding: 11px 16px;
    font-size: 11px;
  }
  .phone .hero-scroll-hint {
    padding: 8px 11px;
    font-size: 8px;
  }
}

/* v7 — clearer pairing between each title and its screen */
.showcase-list {
  gap: 150px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
}

.showcase-caption {
  order: 1;
  padding: 0 0 44px;
  border-top: 1px solid var(--soft-line);
  padding-top: 30px;
}

.showcase-frame {
  order: 2;
}

.showcase-item:first-child .showcase-caption {
  border-top: 0;
  padding-top: 0;
}

@media (max-width: 960px) {
  .showcase-list { gap: 118px; }
  .showcase-caption { padding-bottom: 36px; }
}

@media (max-width: 620px) {
  .showcase-list { gap: 88px; }
  .showcase-caption {
    padding-top: 24px;
    padding-bottom: 28px;
  }
}


/* v8 — wider 1300 px presentation and clearer treatment/offer previews */
.showcase-item:nth-child(1) .showcase-preview img,
.showcase-item:nth-child(2) .showcase-preview img {
  image-rendering: auto;
}
@media (min-width: 961px) {
  .showcase-preview { aspect-ratio: 16 / 9; }
}

.site-header{position:fixed;top:0;left:0;width:100%;z-index:1000;transition:.3s;background:transparent}
.site-header.scrolled{background:#faf9f9;border-bottom:1px solid #ececec}
.nav-wrap{max-width:1400px;margin:0 auto;padding:26px 40px;display:flex;justify-content:space-between;align-items:center}
.logo{font-size:2rem;font-weight:700;color:#111;text-decoration:none}
.desktop-nav{display:flex;gap:48px}
.desktop-nav a,.mobile-menu a{color:#111;text-decoration:none}
.hamburger{display:none;background:none;border:0;flex-direction:column;gap:5px}
.hamburger span{width:24px;height:2px;background:#111;display:block}
.mobile-menu{display:none;flex-direction:column;padding:20px 40px;background:#faf9f9}
.mobile-menu.open{display:flex}
@media(max-width:768px){
.desktop-nav{display:none}
.hamburger{display:flex}
.nav-wrap{padding:20px}
.logo{font-size:1.7rem}
}


.cs-header{position:relative;z-index:100;background:transparent;padding:24px 0 18px}
.cs-container{max-width:1400px;margin:0 auto;padding:0 48px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.cs-brand{justify-self:start;display:block}
.cs-brand span{display:block;width:160px;height:42px;background:url('assets/tkinteractive-logo-black.png') left center/contain no-repeat}
.cs-nav{position:fixed;z-index:101;top:24px;left:50%;transform:translateX(-50%);display:flex;padding:5px;border-radius:999px;background:rgba(250,251,253,.78);border:1px solid rgba(129,145,175,.18);box-shadow:0 16px 42px rgba(45,65,98,.08),inset 0 1px rgba(255,255,255,.8);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.cs-nav a{color:#121317;text-decoration:none;font:500 14px Inter,sans-serif;padding:10px 22px;border-radius:999px;white-space:nowrap}
.cs-nav a.active{color:#224ce8;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(34,76,232,.25),0 3px 13px rgba(34,76,232,.05)}


/* Header interaction */
.cs-header {
  transition: background-color .28s ease, box-shadow .28s ease, padding .28s ease;
}
.cs-header.is-scrolled {
  background: transparent;
  box-shadow: none;
}
.cs-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: #eef2ff;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.cs-menu-toggle i {
  position:absolute;
  left:13px;
  top:17px;
  width:18px;
  height:1px;
  background:#224ce8;
  transition: transform .25s ease, opacity .2s ease;
}
.cs-menu-toggle i:nth-child(2){top:25px}
.cs-menu-toggle.is-open i:nth-child(1){transform:translateY(4px) rotate(45deg)}
.cs-menu-toggle.is-open i:nth-child(2){transform:translateY(-4px) rotate(-45deg)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

@media (max-width: 760px) {
  .cs-header { padding: 20px 0 16px; }
  .cs-header.is-scrolled { padding: 20px 0 16px; }
  .cs-container { padding: 0 22px; position: relative; grid-template-columns:1fr auto; }
  .cs-brand span { width: 160px; height: 38px; }
  .cs-menu-toggle { display: block; position:fixed; top:18px; right:22px; }
  .cs-nav {
    position: fixed;
    top: 72px;
    left: auto;
    right: 22px;
    transform: translateY(-8px);
    width: 190px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 22px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(129,145,175,.18);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(17,17,17,.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .cs-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .cs-nav a {
    font-size: 14px;
    padding: 12px 16px;
    border-bottom: 0;
  }
  .cs-nav a:last-child { border-bottom: 0; }
}

/* Lumi Dental mobile presentation */
.showcase-frame.mobile-showcase-frame {
  width: min(440px, 100%);
  margin-inline: auto;
  padding: 9px;
  border-width: 7px;
  border-bottom-width: 7px;
  border-radius: 48px;
}
.showcase-frame.mobile-showcase-frame::before {
  top: 15px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background: #090909;
}
.showcase-frame.mobile-showcase-frame .showcase-preview {
  aspect-ratio: 9 / 18;
  border-radius: 35px;
}

@media (max-width: 620px) {
  .showcase-frame.mobile-showcase-frame {
    width: min(330px, 92%);
    padding: 6px;
    border-width: 5px;
    border-radius: 36px;
  }
  .showcase-frame.mobile-showcase-frame::before {
    top: 10px;
    width: 54px;
    height: 14px;
  }
  .showcase-frame.mobile-showcase-frame .showcase-preview {
    aspect-ratio: 9 / 18;
    border-radius: 27px;
  }
}

/* Final mobile section — presentation layout matching Verdant Energy */
.lumi-mobile-section {
  overflow: visible;
  padding-bottom: 90px;
}
.lumi-mobile-presentation {
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
  gap: clamp(60px, 8vw, 130px);
  align-items: start;
}
.lumi-mobile-presentation + .lumi-mobile-presentation {
  margin-top: clamp(110px, 12vw, 180px);
}
.lumi-mobile-presentation--reverse {
  grid-template-columns: 1fr minmax(320px, 44%);
}
.lumi-mobile-presentation--reverse .mobile-notes {
  grid-column: 1;
  grid-row: 1;
}
.lumi-mobile-presentation--reverse .mobile-device {
  grid-column: 2;
  grid-row: 1;
}
.lumi-mobile-presentation .mobile-device {
  position: relative;
  isolation: isolate;
  width: min(480px, calc(100% - 72px));
  margin-inline: auto;
  border-radius: 54px;
  background: transparent;
  box-shadow: 0 28px 54px rgba(77, 0, 19, .14);
  overflow: visible;
}
.lumi-mobile-presentation .mobile-device::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 139, 62, .18), transparent 68%);
  filter: blur(22px);
}
.lumi-mobile-presentation .mobile-device img {
  width: 100%;
  height: auto;
  border-radius: 42px;
}
.lumi-mobile-presentation .mobile-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: center;
  margin: 0;
  border: 0;
}
.lumi-mobile-presentation .mobile-notes article {
  padding: 34px 32px;
  border-top: 1px solid var(--soft-line);
}
.lumi-mobile-presentation .mobile-notes article:nth-child(even) {
  border-left: 1px solid var(--soft-line);
}
.lumi-mobile-presentation .mobile-notes span {
  color: var(--accent);
}

@media (max-width: 960px) {
  .lumi-mobile-presentation { grid-template-columns: 1fr; }
  .lumi-mobile-presentation .mobile-device { width: min(480px, 80%); }
  .lumi-mobile-presentation--reverse .mobile-device {
    grid-column: 1;
    grid-row: 1;
  }
  .lumi-mobile-presentation--reverse .mobile-notes {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .lumi-mobile-presentation .mobile-device {
    width: 86%;
    border-radius: 34px;
    box-shadow: 0 22px 40px rgba(77, 0, 19, .14);
  }
  .lumi-mobile-presentation .mobile-device::before { inset: 8% -5%; }
  .lumi-mobile-presentation .mobile-device img { border-radius: 27px; }
  .lumi-mobile-presentation .mobile-notes { grid-template-columns: 1fr; }
  .lumi-mobile-presentation .mobile-notes article,
  .lumi-mobile-presentation .mobile-notes article:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }
}
