/* ==========================================================================
   Cygnotech Labs — design tokens
   Values taken from the Figma file "Cygnotech Website Version 1".
   ========================================================================== */

:root {
  /* Surface */
  --cy-bg: #080c0c;
  --cy-bg-deep: #080d0e;
  --cy-card: rgba(14, 19, 19, 0.5);
  --cy-overlay: rgba(0, 0, 0, 0.2);

  /* Ink */
  --cy-text: #ffffff;
  --cy-text-muted: #c2c2c2;
  --cy-text-dim: #71717a;
  --cy-text-half: rgba(255, 255, 255, 0.5);

  /* Lines */
  --cy-line: rgba(255, 255, 255, 0.1);
  --cy-line-faint: rgba(255, 255, 255, 0.05);

  /* Brand gradient */
  --cy-g1: #9be785;
  --cy-g2: #4ceab0;
  --cy-g3: #2bf3f9;
  --cy-gradient: linear-gradient(90deg, var(--cy-g1) 0%, var(--cy-g2) 50.68%, var(--cy-g3) 100%);
  --cy-gradient-head: linear-gradient(90deg, #3dffb2 0%, #0e4e35 100%);

  /* Type */
  --cy-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --cy-font-alt: "Archivo", var(--cy-font);

  /* Metrics */
  --cy-shell: 1440px;
  --cy-gutter: 47px;
  --cy-radius: 16px;
  --cy-radius-sm: 8px;
  --cy-pill: 30px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cy-bg);
  color: var(--cy-text);
  font-family: var(--cy-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cy-g2); outline-offset: 3px; }

.cy-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.cy-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cy-g2); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.cy-skip:focus { left: 0; }

/* ==========================================================================
   Shell
   ========================================================================== */

.cy-shell {
  width: 100%;
  max-width: var(--cy-shell);
  margin-inline: auto;
  padding-inline: var(--cy-gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 33px;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cy-btn--grad {
  background: var(--cy-gradient);
  color: #000;
}
.cy-btn--grad:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(76, 234, 176, 0.28); }

.cy-btn--ghost {
  border: 1px solid var(--cy-g1);
  color: var(--cy-text);
}
.cy-btn--ghost:hover { background: rgba(155, 231, 133, 0.1); }

.cy-btn svg { width: 18px; height: 18px; }

/* Underlined text link with arrow */
.cy-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0 12px;
  border-bottom: 0.736px solid var(--cy-text);
  font-size: 16px;
  line-height: 1;
  color: var(--cy-text);
}
.cy-link-arrow svg { width: 24px; height: 24px; transform: rotate(-90deg); transition: transform 0.3s ease; }
.cy-link-arrow:hover svg { transform: rotate(-90deg) translateY(4px); }

/* ==========================================================================
   Header
   ========================================================================== */

.cy-header {
  position: absolute;
  inset-inline: 0;
  top: 35px;
  z-index: 20;
}

.cy-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cy-brand img { height: 32px; width: auto; }
.cy-brand__text { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

.cy-header__actions { display: flex; align-items: center; gap: 15px; }

.cy-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 19px;
}
.cy-nav a {
  padding: 0 8px;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--cy-text-muted);
  transition: color 0.2s ease;
}
.cy-nav a:hover,
.cy-nav .current-menu-item > a { color: var(--cy-text); }

/* ==========================================================================
   Hero
   ========================================================================== */

.cy-hero {
  position: relative;
  min-height: 845px;
  background: var(--cy-bg);
  overflow: hidden;
  isolation: isolate;
}

.cy-hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.cy-hero__art img,
.cy-hero__art svg { position: absolute; }

/* Soft glow behind the mark */
.cy-hero__glow {
  position: absolute;
  top: -92px;
  left: 595px;
  width: 284px;
  height: 246px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(43, 243, 249, 0.18) 0%, rgba(8, 12, 12, 0) 100%);
  filter: blur(60px);
}

/* Centre brand mark */
.cy-hero__mark {
  position: absolute;
  top: 224px;
  left: 50%;
  transform: translateX(calc(-50% + 30.67px));
  width: 400px;
  height: 453.684px;
}
.cy-hero__mark img { width: 100%; height: 100%; object-fit: contain; }

.cy-hero__body {
  position: relative;
  padding-top: 164px;
  max-width: 548px;
}

.cy-hero__title {
  font-size: 58px;
  font-weight: 300;
  line-height: 70px;
  letter-spacing: -0.01em;
}

.cy-hero__title-grad {
  display: block;
  background: var(--cy-gradient-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Rotating second line — one 70px line visible at a time */
.cy-rotator {
  display: block;
  height: 70px;
  overflow: hidden;
  font-size: 62px;
  font-weight: 500;
  line-height: 70px;
  color: var(--cy-text);
}
.cy-rotator__track { display: block; transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
.cy-rotator__item { display: block; height: 70px; white-space: nowrap; }

.cy-hero__cta { margin-top: 21px; }

/* Bottom strip: badge + summary */
.cy-hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 49px;
}
.cy-hero__foot-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.cy-badge {
  display: flex;
  align-items: stretch;
  width: 294px;
  min-height: 88px;
  border: 1px solid var(--cy-line);
  border-radius: var(--cy-radius-sm);
  overflow: hidden;
}
.cy-badge__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--cy-overlay);
  border-right: 1px solid var(--cy-line);
}
.cy-badge__left svg { width: 32px; height: 32px; opacity: 0.8; color: var(--cy-g2); }
.cy-badge__est {
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
}
.cy-badge__right {
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--cy-overlay);
}
.cy-badge__claim {
  max-width: 140px;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.cy-hero__summary {
  max-width: 292px;
  font-size: 15px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: 0.04em;
  color: var(--cy-text);
  opacity: 0.9;
}

/* ==========================================================================
   Motion
   ========================================================================== */

.cy-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.cy-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cy-reveal { opacity: 1; transform: none; transition: none; }
  .cy-rotator__track { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  :root { --cy-gutter: 32px; }
  .cy-hero__mark { width: 320px; height: 363px; transform: translateX(-50%); opacity: 0.7; }
}

@media (max-width: 900px) {
  .cy-hero { min-height: 0; padding-bottom: 64px; }
  .cy-hero__title { font-size: 40px; line-height: 50px; }
  .cy-rotator { height: 50px; font-size: 42px; line-height: 50px; }
  .cy-rotator__item { height: 50px; }
  .cy-hero__body { padding-top: 200px; max-width: none; }
  .cy-hero__mark { position: relative; top: 0; left: 0; transform: none; margin: 40px auto 0; }
  .cy-hero__foot { position: static; margin-top: 48px; }
  .cy-hero__foot-inner { flex-direction: column; }
  .cy-nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root { --cy-gutter: 20px; }
  .cy-hero__title { font-size: 32px; line-height: 40px; }
  .cy-rotator { height: 40px; font-size: 32px; line-height: 40px; }
  .cy-rotator__item { height: 40px; }
  .cy-hero__body { padding-top: 170px; }
  .cy-badge { width: 100%; }
}

/* ==========================================================================
   Intro
   ========================================================================== */

.cy-intro {
  position: relative;
  padding: 120px 0 40px;
  text-align: center;
}

.cy-intro__mark {
  width: 267px;
  margin: 0 auto 48px;
}
.cy-intro__mark img { width: 100%; height: auto; }

.cy-intro__lede {
  max-width: 855px;
  margin-inline: auto;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cy-text);
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.cy-services { padding: 96px 0; }

.cy-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.cy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 40px;
  background: var(--cy-card);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--cy-line-faint);
  border-radius: var(--cy-radius);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.cy-card:hover { border-color: rgba(155, 231, 133, 0.25); transform: translateY(-4px); }

.cy-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cy-radius-sm);
  background: linear-gradient(90deg, rgba(155, 231, 133, 0.2) 0%, rgba(76, 234, 176, 0.2) 50.68%, rgba(43, 243, 249, 0.2) 100%);
  color: var(--cy-g2);
}
.cy-card__icon svg { width: 20px; height: 20px; }

.cy-card__title {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.008em;
}

.cy-card__text {
  font-size: 14px;
  line-height: 22.75px;
  letter-spacing: -0.011em;
  color: var(--cy-text-dim);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.cy-stats { padding: 24px 0 128px; }

.cy-stats__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 64px;
}

.cy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--cy-line-faint);
}
.cy-stat:last-child { border-right: 0; }

.cy-stat__value {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.0027em;
  background: var(--cy-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cy-stat__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cy-text-dim);
}

@media (max-width: 900px) {
  .cy-intro { padding-top: 72px; }
  .cy-intro__lede { font-size: 22px; }
  .cy-services { padding: 64px 0; }
  .cy-services__grid { grid-template-columns: 1fr; gap: 20px; }
  .cy-card { padding: 28px; }
  .cy-stats { padding-bottom: 80px; }
  .cy-stats__row { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .cy-stat { border-right: 0; }
  .cy-stat__value { font-size: 48px; }
}

@media (max-width: 600px) {
  .cy-intro__lede { font-size: 19px; }
  .cy-intro__mark { width: 180px; margin-bottom: 32px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.cy-footer {
  position: relative;
  padding: 63px 0 40px;
  background: var(--cy-bg);
  overflow: hidden;
  isolation: isolate;
}

.cy-footer__mark {
  position: absolute;
  top: 51px;
  left: 65.9%;
  width: 400px;
  height: auto;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

.cy-footer__brand { display: inline-block; }
.cy-footer__brand img { height: 38px; width: auto; }

.cy-footer__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 607px;
  margin-top: 46px;
}

.cy-footer__heading {
  font-size: 75px;
  font-weight: 500;
  line-height: 80px;
  letter-spacing: -0.032em;
  color: #a9a3a3;
}
.cy-footer__heading-grad {
  background: var(--cy-gradient-head);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cy-footer__text {
  max-width: 607px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
  color: #9ca3af;
}

.cy-btn--lg { height: 38px; padding: 10px 20px; font-size: 18px; letter-spacing: -0.03em; }

/* Four-column grid with the green rule */
.cy-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 88px;
  border: 1px solid var(--cy-g1);
  padding: 0 31px;
}

.cy-fcol {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 32px 48px;
}
.cy-fcol + .cy-fcol { border-left: 1px solid var(--cy-g1); padding-left: 33px; }

.cy-fcol__title {
  font-size: 13px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.129em;
  text-transform: uppercase;
  color: var(--cy-text);
}

.cy-fcol__body {
  max-width: 246px;
  font-size: 16px;
  line-height: 22.75px;
  color: #a9a9a9;
}
a.cy-fcol__body { transition: color 0.2s ease; }
a.cy-fcol__body:hover { color: var(--cy-text); }

.cy-fcol__pair { display: flex; flex-direction: column; gap: 6.5px; }

.cy-fcol__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.cy-fcol__list { display: flex; flex-direction: column; gap: 12px; }
.cy-fcol__list a {
  font-size: 16px;
  line-height: 20px;
  color: #a9a9a9;
  transition: color 0.2s ease;
}
.cy-fcol__list a:hover { color: var(--cy-text); }

.cy-fcol--social .cy-fcol__list { gap: 11.5px; }

.cy-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cy-social svg { width: 20px; height: 20px; flex: none; }

.cy-footer__legal {
  margin-top: 42px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 20px;
  color: #a9a3a3;
}

@media (max-width: 1100px) {
  .cy-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cy-fcol:nth-child(3) { border-left: 0; padding-left: 32px; }
  .cy-fcol:nth-child(n + 3) { border-top: 1px solid var(--cy-g1); }
}

@media (max-width: 900px) {
  .cy-footer__heading { font-size: 48px; line-height: 54px; }
  .cy-footer__mark { width: 240px; left: auto; right: -40px; opacity: 0.35; }
  .cy-footer__grid { grid-template-columns: 1fr; padding: 0 20px; margin-top: 56px; }
  .cy-fcol { padding: 28px 0; }
  .cy-fcol + .cy-fcol { border-left: 0; border-top: 1px solid var(--cy-g1); padding-left: 0; }
  .cy-footer__legal { padding-left: 0; font-size: 14px; }
}

@media (max-width: 600px) {
  .cy-footer__heading { font-size: 36px; line-height: 42px; }
  .cy-footer__text { font-size: 16px; }
}

/* ==========================================================================
   Light sections — shared
   ========================================================================== */

.cy-link-arrow--dark { border-bottom-color: #1e1e1e; color: #1e1e1e; }
.cy-link-arrow--dark svg { transform: none; }
.cy-link-arrow--dark:hover svg { transform: translateX(4px); }
.cy-link-arrow--sm { font-size: 13px; padding: 4px 0 7px; }
.cy-link-arrow--sm svg { width: 16px; height: 16px; }

/* ==========================================================================
   Impact
   ========================================================================== */

.cy-impact {
  padding: 104px 0 80px;
  background: #fff;
  color: #1e1e1e;
}

.cy-impact__head { text-align: center; margin-bottom: 56px; }

.cy-impact__title {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.012em;
}

.cy-impact__sub {
  max-width: 334px;
  margin: 14px auto 0;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.03em;
}

.cy-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 328px));
  gap: 30px;
  justify-content: center;
}

.cy-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 367px;
  padding: 20px 18px;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}

.cy-panel--dark { background: #111617; color: #fff; }
.cy-panel--light { background: #f3f3f3; color: #000; text-align: center; }

.cy-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cy-panel__label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}
.cy-panel--light .cy-panel__label { color: #000; text-align: left; }
.cy-panel__label--right { text-align: right; }

.cy-panel__foot { display: flex; align-items: center; gap: 35px; }
.cy-panel--light .cy-panel__foot { flex-direction: column; gap: 24px; }

.cy-panel__text {
  max-width: 174px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3;
}
.cy-panel--light .cy-panel__text { max-width: 271px; }

.cy-panel__metric { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.cy-panel__value {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.1;
}
.cy-panel__value--grad {
  background: linear-gradient(180deg, #baf2ff 0%, #0680fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cy-panel__unit { font-size: 14px; }

.cy-panel__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}
.cy-panel__ring .cy-panel__value { font-size: 50px; color: #000; }

.cy-clients { margin-top: 80px; text-align: center; }

.cy-clients__label {
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #3f3c3c;
}

.cy-clients__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin-top: 28px;
}
.cy-clients__row img { max-height: 68px; width: auto; }

/* ==========================================================================
   Featured works
   ========================================================================== */

.cy-works {
  position: relative;
  padding: 66px 0 90px;
  background: #fff;
  color: #1e1e1e;
  overflow: hidden;
}

.cy-works__rule {
  height: 1px;
  margin: 0 33px 74px;
  background: rgba(30, 30, 30, 0.15);
}

.cy-works__inner {
  display: grid;
  grid-template-columns: 424px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.cy-works__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 130px 0 0 81px;
  border-right: 1px solid rgba(30, 30, 30, 0.15);
  min-height: 620px;
}

.cy-works__title {
  max-width: 375px;
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: 0.01em;
}

.cy-works__track {
  display: flex;
  gap: 82px;
  padding: 0 47px 24px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.cy-work {
  flex: 0 0 452px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cy-work--low { margin-top: 101px; }

.cy-work__media {
  display: block;
  height: 269px;
  border-radius: 6.22px;
  overflow: hidden;
  background: #ececec;
  box-shadow: 6px 4px 15px 0 rgba(0, 0, 0, 0.1);
}
.cy-work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.cy-work__media:hover img { transform: scale(1.04); }

.cy-work__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 37px;
}

.cy-work__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
}

.cy-work__text {
  max-width: 240px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #6b7280;
}

/* ==========================================================================
   Client stories
   ========================================================================== */

.cy-stories {
  padding: 59px 0 72px;
  background: #f3f3f3;
  color: #1e1e1e;
}

.cy-stories__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(30, 30, 30, 0.15);
}

.cy-stories__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: 0.01em;
}

.cy-stories__sub {
  max-width: 311px;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.03em;
}

.cy-stories__body { position: relative; margin-top: 46px; }

.cy-story { display: none; grid-template-columns: 432px minmax(0, 1fr); gap: 71px; margin: 0; }
.cy-story.is-active { display: grid; }

.cy-story__media {
  width: 432px;
  height: 432px;
  overflow: hidden;
  background: #e3e3e3;
}
.cy-story__media img { width: 100%; height: 100%; object-fit: cover; }

.cy-story__content { position: relative; padding-top: 40px; }

.cy-story__content::before {
  content: "\201D";
  position: absolute;
  top: -40px;
  right: 24px;
  font-size: 200px;
  line-height: 1;
  color: rgba(30, 30, 30, 0.12);
  pointer-events: none;
}

.cy-story__quote {
  max-width: 787px;
  margin: 0;
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 35px;
  letter-spacing: 0.025em;
  color: #000;
}

.cy-story__by { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.cy-story__name { font-size: 20px; font-weight: 500; line-height: 24px; }
.cy-story__role { font-size: 16px; line-height: 18px; }

.cy-stories__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  padding-left: 503px;
}

.cy-stories__nav { display: flex; border: 0.6px solid #d9d9d9; }
.cy-stories__nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 42px;
  color: #1e1e1e;
  transition: background 0.2s ease;
}
.cy-stories__nav button:first-child { border-right: 0.6px solid #d9d9d9; }
.cy-stories__nav button:hover { background: rgba(0, 0, 0, 0.04); }
.cy-stories__nav svg { width: 18px; height: 18px; }

@media (max-width: 1200px) {
  .cy-works__inner { grid-template-columns: 1fr; }
  .cy-works__aside { padding: 0 0 0 var(--cy-gutter); border-right: 0; min-height: 0; }
  .cy-works__track { padding-left: var(--cy-gutter); gap: 40px; }
  .cy-work--low { margin-top: 0; }
  .cy-stories__foot { padding-left: 0; }
}

@media (max-width: 900px) {
  .cy-impact { padding: 72px 0 56px; }
  .cy-impact__title { font-size: 34px; }
  .cy-impact__sub { font-size: 17px; }
  .cy-impact__grid { grid-template-columns: 1fr; gap: 20px; }
  .cy-works__title { font-size: 38px; line-height: 42px; }
  .cy-work { flex-basis: 320px; }
  .cy-work__media { height: 190px; }
  .cy-stories__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cy-stories__title { font-size: 38px; line-height: 42px; }
  .cy-story { grid-template-columns: 1fr; gap: 32px; }
  .cy-story__media { width: 100%; height: auto; aspect-ratio: 1; }
  .cy-story__quote { font-size: 19px; line-height: 29px; }
  .cy-story__content::before { font-size: 120px; top: -24px; }
  .cy-clients__row { gap: 24px; }
}

/* Story without a photo — the quote takes the full width */
.cy-story--flat.is-active { grid-template-columns: minmax(0, 1fr); }
.cy-story--flat .cy-story__content { padding-top: 24px; }
.cy-story--flat .cy-story__quote { max-width: 787px; }
.cy-story--flat + .cy-stories__foot,
.cy-stories__body:has(.cy-story--flat.is-active) + .cy-stories__foot { padding-left: 0; }
