/* ============================================================
   CYBERSECURITY (Services) — page-specific styles
   Figma node 2252:45252. Built on the AI Enablement pattern,
   scoped to .cy-page with the .cy-* prefix. Shared atoms (tokens,
   buttons, breadcrumb, .intone-scrollband) come from the DS.

   FULLY FLUID — no fixed max-width cap (supports all device sizes).
   Sections fill the viewport within --gutter; long-form text keeps a
   ch-based measure for readability only.
   ============================================================ */

.cy-page {
  --gutter: clamp(20px, 4vw, 50px);
  --gold: var(--ds-gold, #f6b43f);
  --navy: var(--ds-navy, #1e2e4c);
  --ink:  var(--ds-dark-900, #141414);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--t-bg);
  overflow-x: clip;
}

@media (scripting: enabled) {
  .cy-page .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
  }
}
.cy-page .reveal.in { opacity: 1; transform: none; }

.cy-page a:focus-visible,
.cy-btn:focus-visible,
.cy-cta__btn:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}

/* ── shared atoms ── */
.cy-kicker {
  font-family: var(--ds-font-heading);
  font-size: clamp(13px, 1.1vw, 16px); font-weight: 500; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--t-text-muted, #5b6472); margin: 0 0 clamp(18px, 2.2vw, 32px);
}
.cy-h2 {
  font-family: var(--ds-font-heading);
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.16;
  text-transform: uppercase; color: var(--t-text); margin: 0; max-width: 24ch;
}
.cy-h2--italic { font-style: italic; max-width: none; }
.cy-h2--big { font-size: clamp(30px, 4.4vw, 56px); }
.cy-body {
  font-family: var(--ds-font-heading);
  font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; line-height: 1.5;
  color: var(--t-text); margin: 0 0 16px; max-width: 68ch;
}
.cy-lead {
  font-family: var(--ds-font-heading);
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 400; line-height: 1.5;
  color: var(--t-text); margin: 0 0 clamp(28px, 3.5vw, 48px); max-width: 90ch;
}
.cy-ghost {
  font-family: var(--ds-font-heading);
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 300; line-height: 1.36;
  text-transform: uppercase; color: #a3abb6; margin: clamp(20px, 3vw, 36px) 0 0;
}
.cy-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; border: 2px solid var(--ink); padding: 16px 32px;
  font-family: var(--ds-font-heading); font-size: clamp(16px, 1.5vw, 26px); font-weight: 600;
  line-height: normal; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cy-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }

/* gold-bar list (shared by problem, platform cols, why) */
.cy-goldlist { list-style: none; margin: clamp(20px, 2.4vw, 32px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cy-goldlist li {
  background: var(--t-surface); border-left: 6px solid var(--gold);
  padding: 16px 20px 16px 22px;
  font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); font-weight: 500;
  line-height: 1.4; color: var(--t-text);
  transition: transform 0.3s ease, border-left-width 0.3s ease;
}
.cy-goldlist li:hover { transform: translateX(6px); border-left-width: 12px; }

/* split section head (left label, right lead pinned to the end) */
.cy-split-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px);
  align-items: start; margin-bottom: clamp(32px, 4.5vw, 64px);
}
.cy-split-head__label {
  font-family: var(--ds-font-heading); font-size: clamp(20px, 2vw, 24px); font-weight: 700;
  line-height: 1.15; text-transform: uppercase; color: var(--t-text); margin: 0;
}
.cy-split-head__label--big { font-size: clamp(24px, 3.2vw, 42px); }
.cy-split-head__lead {
  font-family: var(--ds-font-heading); font-size: clamp(16px, 1.6vw, 18px); font-weight: 600;
  line-height: 1.3; color: var(--t-text); margin: 0;
  justify-self: end; text-align: right; max-width: 32ch;
}


/* ════ 1. HERO ════ */
.cy-hero { background: var(--t-bg); padding: clamp(80px, 12vw, 100px) var(--gutter) clamp(40px, 5vw, 72px); }
.cy-hero__inner { margin: 0 auto; }
.cy-hero__rule { display: block; height: 1px; margin-bottom: clamp(28px, 4vw, 56px); }
.cy-hero .cy-kicker { margin-bottom: clamp(18px, 2vw, 28px); }
.cy-hero__title {
  font-family: var(--ds-font-heading); font-size: clamp(40px, 7vw, 96px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; max-width: 18ch; color: var(--t-text);
}
.cy-hero__title.is-clip-text {
  filter: brightness(0.65);
  background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed;
  background-size: cover; background-position: center top;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.cy-hero__band {
  margin: clamp(32px, 5vw, 60px) auto 0; height: clamp(150px, 20vw, 280px);
  background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed;
}


/* ════ 2. INTRO ════ */
.cy-intro { background: var(--t-bg); padding: clamp(40px, 5vw, 72px) var(--gutter); }
.cy-intro__inner { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 64px); }
.cy-intro__head { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.cy-intro__lead {
  font-family: var(--ds-font-heading); font-size: clamp(18px, 1.8vw, 24px); font-weight: 400;
  line-height: 1.4; color: var(--t-text); margin: 0; max-width: 90ch;
}
.cy-intro__media { overflow: hidden; aspect-ratio: 1280 / 436; }
.cy-intro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }


/* ── shared "framed row" primitives (image + text panel, edge-to-edge,
   used by §3, §4, §6). Outer background is the light "frame" colour;
   the panel itself is either tinted or a white/bordered card. ── */
.cy-framed-row { background: var(--t-surface); }
.cy-panel { padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.cy-panel--tint { background: var(--t-surface); }
.cy-panel--bordered { background: var(--t-bg); border: 1px solid var(--t-border-strong, #ececf0); }
.cy-h2--navy { color: var(--navy); }
[data-theme="dark"] .cy-h2--navy { color: var(--t-text); }
.cy-goldlist--white li { background: var(--t-bg); }

/* ════ 3. DISCONNECTED SECURITY DOESN'T FEEL BROKEN. UNTIL IT MATTERS. ════ */
.cy-problem__inner {
  display: grid; grid-template-columns: clamp(280px, 30vw, 460px) minmax(0, 1fr);
  align-items: stretch;
}
.cy-problem__media { overflow: hidden; min-height: 320px; }
.cy-problem__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-problem__text .cy-goldlist { margin: clamp(16px, 2vw, 24px) 0; }


/* ════ 4. A SINGLE, ACCOUNTABLE CAPABILITY ════ */
.cy-model__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 480px);
  align-items: stretch;
}
.cy-model__text .cy-h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.cy-model__media { overflow: hidden; min-height: 320px; }
.cy-model__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-highlights { display: flex; flex-direction: column; gap: clamp(12px, 1.5vw, 16px); margin: 0 0 clamp(24px, 3vw, 40px); }
.cy-highlight { background: var(--t-surface); border: 1px solid var(--gold); padding: clamp(20px, 2.2vw, 32px); }
[data-theme="dark"] .cy-highlight { background: var(--t-surface-raised, #141416); }
.cy-highlight__label { display: block; font-family: var(--ds-font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-text-muted, #5b6472); margin-bottom: 10px; }
.cy-highlight__title { font-family: var(--ds-font-heading); font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.25; color: var(--t-text); margin: 0 0 10px; }
.cy-highlight__body { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.5; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 5. SIX PILLARS (gold-bar cards) ════ */
.cy-pillars { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.cy-pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
}
.cy-pillar {
  background: var(--t-surface); border-left: 6px solid var(--gold);
  padding: clamp(24px, 2.2vw, 36px); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-left-width 0.3s ease;
}
.cy-pillar:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); border-left-width: 12px; }
.cy-pillar__kicker { font-family: var(--ds-font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-text-muted, #5b6472); margin-bottom: 12px; }
.cy-pillar__title { font-family: var(--ds-font-heading); font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; line-height: 1.2; color: var(--t-text); margin: 0 0 14px; }
.cy-pillar__body { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.5; color: var(--t-text-muted, #5b6472); margin: 0 0 16px; }
.cy-pillar__list { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cy-pillar__list li {
  position: relative; padding-left: 18px;
  font-family: var(--ds-font-heading); font-size: clamp(13px, 1.35vw, 15px); line-height: 1.4; color: var(--t-text);
}
.cy-pillar__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--gold); }

/* Inline links to sub-pages — clean gold underline (no background — the gold
   highlight was removed 2026-07-13 as it hurt readability). */
.cy-pillar__title a,
.cy-intro__lead a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
  transition: text-decoration-thickness 0.2s ease, color 0.2s ease;
}
.cy-pillar__title a:hover,
.cy-intro__lead a:hover {
  color: var(--gold-dark);
  text-decoration-thickness: 3px;
}
.cy-pillar__title a::after,
.cy-intro__lead a::after {
  content: '';
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 3px;
  vertical-align: -0.08em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M10 5l3 3-3 3' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M10 5l3 3-3 3' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}


/* ════ 6. BUILT FOR MICROSOFT-CENTRIC ENVIRONMENTS / POWERED BY INTONEGLADIUS® ════ */
.cy-platform__row { display: grid; grid-template-columns: clamp(280px, 34vw, 520px) minmax(0, 1fr); align-items: stretch; }
.cy-platform__row--reverse { grid-template-columns: minmax(0, 1fr) clamp(280px, 34vw, 520px); }
.cy-platform__row--reverse .cy-platform__row-text { order: 0; }
.cy-platform__row--reverse .cy-platform__row-media { order: 1; }
.cy-platform__row-media { overflow: hidden; min-height: 320px; }
.cy-platform__row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-platform__row-text .cy-h2 { margin-bottom: clamp(20px, 2.4vw, 32px); }
.cy-platform__row-text a { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .cy-platform__row-text a { color: var(--gold); }


/* ════ 7. HOW WE DELIVER (stepper) ════ */
.cy-process { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.cy-process__head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.cy-process__head .cy-h2 { font-size: clamp(34px, 5.5vw, 72px); }
.cy-process__intro { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.6vw, 24px); line-height: 1.4; color: var(--t-text); margin: 0 0 clamp(40px, 5vw, 72px); max-width: 70ch; }
.cy-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.5vw, 24px); position: relative; }
.cy-steps::before { content: ""; position: absolute; top: clamp(24px, 3vw, 32px); left: 10%; right: 10%; height: 1px; background: var(--gold); }
.cy-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cy-step__num {
  width: clamp(48px, 6vw, 64px); height: clamp(48px, 6vw, 64px); display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--gold); background: var(--t-bg);
  font-family: var(--ds-font-heading); font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; color: var(--t-text);
  position: relative; z-index: 1; margin-bottom: clamp(16px, 2vw, 28px);
}
.cy-step__title { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.8vw, 22px); font-weight: 700; text-transform: uppercase; color: var(--t-text); margin-bottom: 12px; }
.cy-step__desc { font-family: var(--ds-font-heading); font-size: clamp(13px, 1.3vw, 16px); line-height: 1.4; color: var(--t-text-muted, #5b6472); max-width: 22ch; }


/* ════ 9. WHAT CHANGES (5 cards) ════ */
.cy-changes { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.cy-changes__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.cy-change-card {
  background: var(--t-surface); padding: clamp(24px, 2vw, 40px) clamp(18px, 1.4vw, 24px);
  min-height: clamp(320px, 32vw, 460px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.cy-change-card:hover { transform: translateY(-6px); box-shadow: var(--t-shadow, 0 18px 48px rgba(9,16,29,0.12)); }
.cy-change-card__title { font-family: var(--ds-font-heading); font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; line-height: 1.2; text-transform: uppercase; color: var(--t-text); margin: 0 0 16px; }
.cy-change-card__body { font-family: var(--ds-font-heading); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.45; color: var(--t-text-muted, #5b6472); margin: 0; }


/* ════ 10. WHY INTONE ════ */
.cy-why { background: var(--t-bg); padding: clamp(40px, 5vw, 80px) var(--gutter); }
.cy-why__inner { display: grid; grid-template-columns: clamp(280px, 30vw, 440px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.cy-why__media { overflow: hidden; min-height: 320px; }
.cy-why__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-why__text { display: flex; flex-direction: column; justify-content: center; }
.cy-why__text .cy-h2 { margin-bottom: clamp(20px, 2.4vw, 32px); }
.cy-why__intro { font-weight: 600; margin-bottom: 4px; }


/* ════ 11. CTA — clip-text over image ════ */
.cy-cta { background: var(--t-bg); }
.cy-cta__panel { padding: clamp(48px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.cy-cta__lead { font-family: var(--ds-font-heading); font-size: clamp(16px, 1.6vw, 24px); font-weight: 400; color: var(--t-text-muted, #5b6472); margin: 0 0 clamp(16px, 2vw, 28px); text-transform: uppercase; letter-spacing: 0.02em; }
.cy-cta__title {
  font-family: var(--ds-font-heading); font-size: clamp(32px, 5.4vw, 64px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase; color: var(--t-text); margin: 0 0 clamp(24px, 3vw, 40px); max-width: 20ch;
}
.cy-cta__title.is-clip-text {
  filter: brightness(0.65);
  background-color: var(--t-text); background-repeat: no-repeat; background-attachment: fixed;
  background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.cy-cta__sub { font-family: var(--ds-font-heading); font-size: clamp(15px, 1.5vw, 24px); font-weight: 400; line-height: 1.4; color: var(--t-text); margin: 0 0 clamp(28px, 3vw, 40px); max-width: 60ch; }
.cy-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 clamp(28px, 3vw, 44px);
  background: var(--ink); color: #fff; font-family: var(--ds-font-heading); font-size: clamp(16px, 1.5vw, 26px); font-weight: 600;
  text-transform: uppercase; text-decoration: none; transition: background 0.25s ease, color 0.25s ease;
}
.cy-cta__btn:hover { background: var(--gold); color: #141414; }
.cy-cta__band { height: clamp(160px, 22vw, 300px); background-repeat: no-repeat; background-size: cover; background-position: center; background-attachment: fixed; }


/* ════ DARK MODE ════ */
[data-theme="dark"] .cy-ghost { color: rgba(255, 255, 255, 0.22); }
[data-theme="dark"] .cy-btn { background: #f4f6f9; color: #141414; border-color: #f4f6f9; }
[data-theme="dark"] .cy-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; }
[data-theme="dark"] .cy-cta__btn { background: #f4f6f9; color: #141414; }
[data-theme="dark"] .cy-cta__btn:hover { background: var(--gold); color: #141414; }


/* ════ RESPONSIVE ════ */
@media (hover: none), (max-width: 1024px) {
  .cy-hero__title.is-clip-text, .cy-hero__band,
  .cy-cta__title.is-clip-text, .cy-cta__band { background-attachment: scroll; }
}
@media (max-width: 1024px) {
  .cy-pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .cy-changes__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  /* Increase top padding to clear fixed header (~64px) + absolute breadcrumb (~48px). */
  .cy-hero { padding-top: clamp(110px, 20vw, 130px); }
  .cy-hero__title.is-clip-text {
    background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset;
    -webkit-text-fill-color: var(--t-text); color: var(--t-text);
  }
  .cy-split-head { grid-template-columns: 1fr; }
  .cy-split-head__lead { justify-self: start; text-align: left; }
  .cy-problem__inner { grid-template-columns: 1fr; }
  .cy-problem__media { order: -1; aspect-ratio: 16/9; min-height: 0; }
  .cy-model__inner { grid-template-columns: 1fr; }
  .cy-model__media { order: -1; aspect-ratio: 16/9; min-height: 0; }
  .cy-pillars__grid { grid-template-columns: 1fr; }
  .cy-platform__row,
  .cy-platform__row--reverse { grid-template-columns: 1fr; }
  .cy-platform__row-media { order: -1; aspect-ratio: 16/9; min-height: 0; }
  .cy-platform__row--reverse .cy-platform__row-media { order: -1; }
  .cy-platform__row--reverse .cy-platform__row-text { order: 1; }
  .cy-steps { grid-template-columns: 1fr; gap: 28px; }
  .cy-steps::before { display: none; }
  .cy-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
  .cy-step__num { margin-bottom: 0; flex: 0 0 auto; }
  .cy-step__desc { max-width: none; }
  .cy-changes__grid { grid-template-columns: repeat(2, 1fr); }
  .cy-change-card { min-height: 0; }
  .cy-why__inner { grid-template-columns: 1fr; }
  .cy-why__media { order: -1; aspect-ratio: 16/9; min-height: 0; }
}
@media (max-width: 560px) {
  .cy-changes__grid { grid-template-columns: 1fr; }
  .cy-cta__title.is-clip-text {
    background-image: none !important; background-color: transparent; -webkit-background-clip: unset; background-clip: unset;
    -webkit-text-fill-color: var(--t-text); color: var(--t-text);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cy-page .reveal { opacity: 1; transform: none; transition: none; }
  .cy-hero__title.is-clip-text, .cy-hero__band,
  .cy-cta__title.is-clip-text, .cy-cta__band { background-attachment: scroll; }
  .cy-page *, .cy-page *::before { transition: none !important; }
}
.cy-midcta { background: var(--t-surface); padding: clamp(28px, 3.5vw, 44px) var(--gutter); }
.cy-midcta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 28px); }
.cy-midcta__text { font-family: var(--ds-font-heading); font-size: clamp(17px, 2.4vw, 38px); font-weight: 600; line-height: 1.3; max-width: 46ch; margin: 0; color: var(--t-text); }
@media (max-width: 860px) { .cy-midcta__inner { flex-direction: column; align-items: flex-start; } }
