/* deadline.tr — site styles
   Headings: Audiowide (SIL OFL), body: Instrument Sans (SIL OFL)
   Brand: ink #151717, signal red #DC2B1D, logo gradient #DE2A1B → #7A1514 */

@font-face { font-family: "Audiowide"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/audiowide-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Audiowide"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/audiowide-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@property --sweep { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --ink: #151717;
  --ink-2: #2a2d2e;
  --red: #DC2B1D;
  --red-hi: #DE2A1B;
  --red-lo: #7A1514;
  --red-deep: #B4231A;
  --paper: #FFFFFF;
  --mist: #F2F3F3;
  --line: #E3E4E5;
  --graphite: #5B5F62;
  --steel: #8A8E91;
  --ok: #1F7A4D;

  --f-display: "Audiowide", "Segoe UI", system-ui, sans-serif; /* closest open-licence match to the Neuropol logo face */
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-md: 1.0625rem;  /* 17 */
  --t-lg: 1.3125rem;  /* 21 */
  --t-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --t-2xl: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
  --t-3xl: clamp(2.125rem, 1.3rem + 3.4vw, 3.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --r-panel: clamp(22px, 5.4vw, 88px);
  --r-card: 22px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--t-md); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.15; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
/* Audiowide has one weight; a hairline outline brings large headings closer to the heavier Neuropol of the logo */
h1, h2, .hero__slogan, .closing { -webkit-text-stroke: .022em currentColor; paint-order: stroke fill; }
.closing + p { margin-top: 24px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + var(--gutter) * 2); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons & links */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: var(--t-md); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: var(--t-sm); }
.btn--block { width: 100%; }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-deep); }
.btn--ink:hover { --bg: var(--ink-2); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--white:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--outline-white { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--outline-white:hover { --bd: #fff; --bg: rgba(255,255,255,.1); }
.btn--ghost-ink { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost-ink:hover { --bd: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--red); text-decoration: none; }
.link .icon { transition: transform .25s var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: .2em; }
.link:hover .icon { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: .35em .85em; border-radius: 999px; background: var(--mist); font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .25s; }
/* blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand .wordmark { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav__item > a:hover { color: var(--red); }
.nav__item.is-active > a { color: var(--ink); font-weight: 600; }
.nav__item.is-active > a::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--red); border-radius: 2px; }
.nav__sub-toggle { display: none; }
.nav__sub { position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(21,23,23,.25);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--mist); color: var(--red); }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__group ul { list-style: none; }
.nav__group-title { display: block; padding: 6px 12px 8px; font-size: 13px; font-weight: 600; color: var(--graphite); }
@media (min-width: 1041px) {
  /* grouped dropdown (Projeler): one column per group, centred under the header so it never leaves the screen */
  .nav__item:has(> .nav__sub--groups) { position: static; }
  .nav__sub--groups { top: calc(100% - 8px); left: 50%; display: grid; grid-template-columns: repeat(3, max-content); gap: 0 8px; padding: 14px 10px; transform: translate(-50%, 6px); }
  .nav__item--has-sub:hover .nav__sub--groups, .nav__item--has-sub:focus-within .nav__sub--groups, .nav__item--has-sub.is-open .nav__sub--groups { transform: translate(-50%, 0); }
  /* bridges the gap between the menu item and the panel so hover is not lost on the way down */
  .nav__sub--groups::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 24px; }
  .nav__group + .nav__group { padding-left: 8px; border-left: 1px solid var(--line); }
  .nav__group-title { border-bottom: 1px solid var(--line); margin: 0 4px 6px; padding-inline: 8px; }
}
.nav__extra { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav__phone .icon { color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav__phone span { display: none; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--mist); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 24px; margin: 0; padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__item > a { flex: 1; padding: 16px 0; font-family: var(--f-display); font-size: var(--t-lg); border-radius: 0; }
  .nav__item.is-active > a::after { display: none; }
  .nav__item.is-active > a { color: var(--red); }
  .nav__sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; }
  .nav__sub-toggle .icon { transition: transform .2s; }
  .nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; display: none; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__item--has-sub:hover .nav__sub { display: none; }
  .nav__item--has-sub.is-open:hover .nav__sub { display: block; }
  .nav__group-title { padding: 12px 0 4px; }
  .nav__group:first-child .nav__group-title { padding-top: 0; }
  .nav__extra { flex-direction: column; align-items: stretch; }
  .nav__phone span { display: inline; }
  .nav__extra .btn { min-height: 52px; font-size: var(--t-md); }
  body.menu-open { overflow: hidden; }
}

/* ---------- sections */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--mist { background: var(--mist); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--t-2xl); }
.section-head p { font-size: var(--t-lg); color: var(--graphite); }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.h-small { font-size: var(--t-lg); letter-spacing: 0; margin-bottom: 18px; }

/* ---------- hero monitor (the one loud element) */
.hero { padding: 12px; }
.monitor {
  --px: 70%; --py: 30%;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h) - 24px), 880px);
  display: grid; grid-template-rows: 1fr auto;
  border-radius: var(--r-panel);
  color: #fff;
  background:
    radial-gradient(600px circle at var(--px) var(--py), rgba(255,255,255,.12), transparent 60%),
    linear-gradient(90deg, var(--red-hi), var(--red-lo));
}
/* ECG paper grid */
.monitor::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), #000 70%);
}
.monitor__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 64px) 0;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__kicker { font-family: var(--f-body); font-size: var(--t-md); font-weight: 600; letter-spacing: 0; line-height: 1.4; color: rgba(255,255,255,.88); max-width: 34ch; }
.hero__slogan {
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.6rem, 1rem + 7.2vw, 8.25rem); line-height: 1; letter-spacing: -.025em;
  max-width: 11ch;
}
.hero__slogan span { display: inline-block; }
.hero__lead { margin-top: clamp(18px, 2.4vw, 28px); max-width: 52ch; font-size: var(--t-lg); line-height: 1.5; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 34px); }

.ecg { position: relative; z-index: 1; height: clamp(170px, 30vh, 300px); margin-top: clamp(8px, 2vw, 24px); }
.ecg__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ecg__svg polyline { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ecg__line { stroke: #fff; stroke-width: 2.5px; }
.ecg__buffer { stroke: rgba(255,255,255,.5); stroke-width: 2px; stroke-dasharray: 2 7; }
.ecg__glow { stroke: #fff; stroke-width: 6px; opacity: .55; }
.ecg__pen { position: absolute; left: var(--delivery); top: 60.8%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.22), 0 0 24px 6px rgba(255,255,255,.55); }
.ecg__deadline, .ecg__delivery { position: absolute; display: grid; gap: 2px; font-size: var(--t-xs); line-height: 1.25; white-space: nowrap; }
.ecg__deadline b, .ecg__delivery b { font-family: var(--f-display); font-weight: 500; font-size: var(--t-sm); letter-spacing: 0; }
.ecg__deadline time, .ecg__delivery time { opacity: .8; font-variant-numeric: tabular-nums; }
.ecg__deadline { left: 95.6%; top: 4%; bottom: 8%; transform: translateX(-100%); padding-right: 12px; text-align: right; align-content: start; }
.ecg__deadline::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; border-right: 2px dashed rgba(255,255,255,.75); }
.ecg__delivery { left: var(--delivery); top: 60.8%; transform: translate(-50%, 22px); text-align: center; }
.ecg__gap { position: absolute; left: var(--delivery); right: 4.4%; top: 60.8%; transform: translateY(-34px); text-align: center; font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.ecg__gap::before { content: ""; position: absolute; left: 10px; right: 2px; top: calc(100% + 4px); height: 7px; border: 1.5px solid rgba(255,255,255,.75); border-bottom: 0; border-radius: 4px 4px 0 0; }

/* intro animation states (only when JS runs and motion is OK) */
.js .ecg.is-drawing .ecg__deadline, .js .ecg.is-drawing .ecg__delivery, .js .ecg.is-drawing .ecg__gap { opacity: 0; }
.js .ecg .ecg__deadline, .js .ecg .ecg__delivery, .js .ecg .ecg__gap { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .ecg.is-done .ecg__gap { transition-delay: .35s; }
.js .hero__slogan.is-pre span { opacity: 0; transform: translateY(.35em); }
.hero__slogan span { transition: opacity .7s var(--ease), transform .8s var(--ease); }
.hero__slogan span:nth-child(2) { transition-delay: .09s; }
.hero__slogan span:nth-child(3) { transition-delay: .18s; }

@media (max-width: 640px) {
  .hero { padding: 8px; }
  .monitor { min-height: calc(100svh - var(--header-h) - 16px); }
  .hero__lead { font-size: var(--t-md); }
  .hero__actions .btn { flex: 1 1 auto; }
  .ecg { height: 150px; }
  .ecg__gap { display: none; }
  .ecg__deadline { padding-right: 8px; }
  .ecg__delivery { transform: translate(-70%, 18px); }
}

/* ---------- scenes (before / after switch) */
.scenes__head { display: flex; align-items: end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.scenes__head h2 { font-size: var(--t-2xl); max-width: 16ch; }
.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); }
.switch button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.switch button[data-view="after"][aria-pressed="true"] { background: var(--red); }
.no-js .switch { display: none; }
.scenes__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; column-gap: clamp(16px, 2.5vw, 32px); row-gap: 0; }
.scene { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 18px; padding: 28px 0 0; border-top: 2px solid var(--ink); transition: border-color .4s; }
.scene__q { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.25; letter-spacing: 0; transition: color .4s; }
.scene__a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: var(--t-lg); line-height: 1.45; }
.scene__a .icon { margin-top: .2em; color: var(--red); width: 1.4em; height: 1.4em; }
.js .scene__a { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js [data-view="after"] .scene { border-top-color: var(--red); }
.js [data-view="after"] .scene__q { font-family: var(--f-body); font-size: var(--t-md); font-weight: 500; letter-spacing: 0; color: var(--steel); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.js [data-view="after"] .scene__a { opacity: 1; transform: none; font-family: var(--f-display); font-size: var(--t-lg); line-height: 1.35; letter-spacing: 0; }
.js [data-view="after"] .scene__a .icon { width: 1.1em; height: 1.1em; margin-top: .15em; }
.js [data-view="after"] .scene:nth-child(2) .scene__a { transition-delay: .08s; }
.js [data-view="after"] .scene:nth-child(3) .scene__a { transition-delay: .16s; }
.scenes__end { margin-top: clamp(28px, 4vw, 44px); font-size: var(--t-lg); color: var(--graphite); }
@media (max-width: 860px) { .scenes__list { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 28px; } .scene { grid-row: auto; grid-template-rows: auto; } .js [data-view="now"] .scene__a { display: none; } }

/* ---------- about */
.about { background: var(--ink); color: #fff; }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__intro h2 { font-size: var(--t-2xl); }
.about__tally { margin-top: 28px; font-size: var(--t-xl); line-height: 1.45; color: rgba(255,255,255,.75); max-width: 24ch; }
.about__tally .num { font-family: var(--f-display); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.about__list { margin: 0; display: grid; gap: 0; }
.about__list > div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px 32px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.16); }
.about__list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.about__list dt { font-family: var(--f-display); font-weight: 500; color: #ff6a5c; font-size: var(--t-md); }
.about__list dd { margin: 0; color: rgba(255,255,255,.82); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__list > div { grid-template-columns: 1fr; } }

/* ---------- services */
.service { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.service:last-child { padding-bottom: 0; }
.service__text { display: grid; gap: 20px; justify-items: start; }
.service__text h3 { font-size: var(--t-xl); }
.service__text h3 a { text-decoration: none; }
.service__text h3 a:hover { color: var(--red); }
.service__text > p { color: var(--graphite); }
.service--custom .service__text { order: 2; }
.service--custom { grid-template-columns: 7fr 5fr; }
@media (max-width: 960px) { .service, .service--custom { grid-template-columns: 1fr; } .service--custom .service__text { order: 0; } }

/* method: a real 3-step sequence */
.method { list-style: none; counter-reset: m; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.method li { counter-increment: m; position: relative; padding: 64px 20px 0 0; }
.method li::before { content: counter(m); position: absolute; top: 0; left: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); font-family: var(--f-display); font-weight: 600; background: #fff; z-index: 1; }
.method li::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; border-top: 2px dashed var(--line); }
.method li:last-child::before { background: var(--red); border-color: var(--red); color: #fff; }
.method li:last-child::after { display: none; }
.method h3, .method h4 { font-size: var(--t-lg); margin-bottom: 8px; }
.method p { color: var(--graphite); font-size: var(--t-sm); }
.method--tall { grid-template-columns: 1fr; }
.method--tall li { padding: 0 0 36px 72px; }
.method--tall li::after { top: 44px; bottom: 0; left: 21px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
.method--tall li:last-child { padding-bottom: 0; }
@media (max-width: 640px) {
  .method { grid-template-columns: 1fr; }
  .method li { padding: 0 0 28px 64px; }
  .method li::after { top: 44px; bottom: 0; left: 21px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
}

/* ---------- audit demo */
.audit { position: relative; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(21,23,23,.35); overflow: hidden; }
.audit__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink); color: #fff; font-size: var(--t-sm); }
.audit__dots { display: flex; gap: 6px; } .audit__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.audit__dots i:first-child { background: var(--red); }
.audit__title { font-weight: 600; }
.audit__badge { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: var(--t-xs); }
.audit__body { display: grid; grid-template-columns: 1fr 220px; }
.audit__qs { list-style: none; counter-reset: q; }
.q { counter-increment: q; padding: 16px 18px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.q:last-child { border-bottom: 0; }
.q__text { font-weight: 500; line-height: 1.4; }
.q__text::before { content: counter(q) ". "; color: var(--steel); font-variant-numeric: tabular-nums; }
.q__btns { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.q__btns button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: var(--t-sm); font-weight: 600; cursor: pointer; transition: all .2s; }
.q__btns button .icon { width: 1em; height: 1em; }
.q__btns button:hover { border-color: var(--ink); }
.q__btns [data-a="ok"][aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.q__btns [data-a="nok"][aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.q.is-nok { background: #fdf1f0; }
.audit__side { display: grid; gap: 16px; align-content: start; padding: 18px; border-left: 1px solid var(--line); background: var(--mist); }
.score { position: relative; width: 132px; height: 132px; margin: 4px auto 0; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 10; }
.score__track { stroke: var(--line); }
.score__val { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 0 100; opacity: 0; transition: stroke-dasharray .7s var(--ease), stroke .4s, opacity .3s; }
.score.has-value .score__val { opacity: 1; }
.score.is-low .score__val { stroke: var(--red); }
.score__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score__num { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.score__label { font-size: var(--t-xs); color: var(--graphite); margin-top: 4px; }
.actions__title { font-size: var(--t-xs); font-weight: 600; color: var(--graphite); margin-bottom: 6px; }
.actions__list { list-style: none; display: grid; gap: 6px; font-size: var(--t-xs); line-height: 1.35; }
.actions__list li { padding: 8px 10px; border-radius: 10px; background: #fff; border-left: 3px solid var(--red); animation: pop .35s var(--ease); }
.actions__list li small { display: block; color: var(--graphite); }
.actions__list .actions__empty { border-left-color: var(--line); color: var(--graphite); animation: none; }
.audit__hint { font-size: var(--t-xs); color: var(--graphite); text-align: center; }
.toast { position: absolute; left: 50%; bottom: 16px; z-index: 3; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--t-sm); white-space: nowrap; transition: opacity .3s, transform .3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.report { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 20px; background: rgba(21,23,23,.55); }
.report[hidden] { display: none; }
.report__sheet { width: min(100%, 420px); max-height: 100%; overflow: auto; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.3); animation: sheet .5s var(--ease); }
.report__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.report__title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); }
.report__meta { font-size: var(--t-xs); color: var(--graphite); }
.report__score { font-family: var(--f-display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--ok); }
.report__score.is-low { color: var(--red); }
.report__score small { font-size: .45em; color: var(--steel); }
.report__rows { list-style: none; display: grid; gap: 6px; padding: 12px 0; font-size: var(--t-sm); }
.report__rows li { display: flex; gap: 8px; align-items: flex-start; }
.report__rows .icon { margin-top: .2em; }
.report__rows .ok .icon { color: var(--ok); } .report__rows .nok .icon { color: var(--red); }
.report__sign { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 8px 0 12px; border-bottom: 1px solid var(--line); font-size: var(--t-xs); color: var(--graphite); }
.report__sign svg { width: 150px; height: 48px; }
.report__sign path { fill: none; stroke: #1d3fa8; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sign 1.4s .3s var(--ease) forwards; }
.report__note { margin: 12px 0 14px; font-size: var(--t-xs); color: var(--graphite); }
@keyframes sign { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
@keyframes sheet { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 560px) {
  .audit__body { grid-template-columns: 1fr; }
  .audit__side { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: 120px 1fr; align-items: center; }
  .score { width: 112px; height: 112px; margin: 0; }
  .audit__side .btn, .audit__hint { grid-column: 1 / -1; }
  .audit__badge { display: none; }
}

/* ---------- project / flow demo */
.case { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.case__text { display: grid; gap: 20px; justify-items: start; }
.case__text h3 { font-size: var(--t-xl); }
.case__text h3 a { text-decoration: none; }
.case__text h3 a:hover { color: var(--red); }
.case__text > p { color: var(--graphite); }
.case--page { grid-template-columns: 5fr 7fr; }
.case + .case { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .case, .case--page { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: minmax(200px, 5fr) 7fr; gap: 20px; align-items: start; }
.flow__steps { list-style: none; display: grid; gap: 4px; position: relative; }
.flow__step { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 6px 12px 6px 6px; border: 0; border-radius: 999px; background: transparent; text-align: left; font-weight: 500; color: var(--graphite); cursor: pointer; transition: background-color .25s, color .25s; }
.flow__step:hover { color: var(--ink); background: var(--mist); }
.flow__n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600; background: #fff; transition: all .25s; }
.flow__step.is-done { color: var(--ink); }
.flow__step.is-done .flow__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow__step.is-active { color: var(--ink); background: var(--mist); font-weight: 600; }
.flow__step.is-active .flow__n { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(220,43,29,.15); }
.wo { position: relative; display: grid; gap: 14px; align-content: start; min-height: 330px; padding: 22px; border-radius: var(--r-card); background: var(--ink); color: #fff; overflow: hidden; }
.wo::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(220,43,29,.45), transparent 70%); pointer-events: none; }
.wo__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wo__id { font-family: var(--f-display); font-weight: 500; }
.wo__status { padding: 4px 12px; border-radius: 999px; background: var(--red); font-size: var(--t-xs); font-weight: 600; white-space: nowrap; }
.wo__status.is-final { background: var(--ok); }
.wo__plates { display: flex; gap: 8px; flex-wrap: wrap; }
.wo__plates span { padding: 3px 10px 3px 18px; border-radius: 6px; background: #fff; color: var(--ink); font-weight: 700; font-size: var(--t-sm); letter-spacing: .04em; font-variant-numeric: tabular-nums; position: relative; }
.wo__plates span::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: 6px 0 0 6px; background: #1d3fa8; }
.wo__pane { display: none; gap: 12px; }
.wo__pane.is-active { display: grid; animation: pop .4s var(--ease); }
.no-js .wo__pane { display: grid; }
.wo__headline { font-size: var(--t-lg); font-weight: 600; }
.wo__dl { margin: 0; display: grid; gap: 6px; font-size: var(--t-sm); }
.wo__dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.12); }
.wo__dl dt { color: rgba(255,255,255,.65); } .wo__dl dd { margin: 0; }
.wo__sms { max-width: 300px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); font-size: var(--t-sm); line-height: 1.4; animation: pop .4s .25s var(--ease) both; }
.wo__sms-from { display: block; font-size: var(--t-xs); font-weight: 700; color: var(--red); margin-bottom: 2px; }
.wo__track { position: relative; height: 34px; margin: 6px 0; }
.wo__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255,255,255,.35); }
.wo__track::after { content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid #fff; }
.wo__track-dot { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(220,43,29,.3); }
.wo__pane.is-active .wo__track-dot { animation: drive 1.6s var(--ease) forwards; }
@keyframes drive { to { left: calc(100% - 16px); } }
.wo__small { font-size: var(--t-sm); color: rgba(255,255,255,.7); }
.wo__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wo__photos span { aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 6px; border-radius: 8px; font-size: var(--t-xs); background: linear-gradient(135deg, #3a3f41, #24282a); position: relative; overflow: hidden; animation: pop .35s var(--ease) both; }
.wo__photos span::before { content: ""; position: absolute; left: 18%; right: 18%; top: 34%; height: 26%; border-radius: 10px 10px 4px 4px; border: 2px solid rgba(255,255,255,.45); }
.wo__photos span:nth-child(2) { animation-delay: .1s; } .wo__photos span:nth-child(3) { animation-delay: .2s; } .wo__photos span:nth-child(4) { animation-delay: .3s; }
.wo__km { font-variant-numeric: tabular-nums; font-size: var(--t-sm); }
.wo__km b { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.14); }
.wo__stamp { justify-self: start; padding: 6px 16px; border: 3px solid #4fd18b; border-radius: 10px; color: #4fd18b; font-family: var(--f-display); font-weight: 600; font-size: var(--t-xl); transform: rotate(-6deg); animation: stamp .45s var(--ease); }
@keyframes stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.6); } }
.wo__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; height: 110px; align-items: end; }
.wo__bars span { position: relative; height: 100%; display: flex; align-items: end; justify-content: center; font-size: var(--t-xs); color: rgba(255,255,255,.7); padding-top: 4px; }
.wo__bars span::before { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: calc(var(--h) - 22px); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--red-hi), var(--red-lo)); transform-origin: bottom; animation: grow .7s var(--ease) both; }
.wo__bars span:nth-child(2)::before { animation-delay: .08s; } .wo__bars span:nth-child(3)::before { animation-delay: .16s; } .wo__bars span:nth-child(4)::before { animation-delay: .24s; }
@keyframes grow { from { transform: scaleY(0); } }
.wo__progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: auto; }
.wo__progress i { display: block; height: 100%; width: 16.66%; background: #fff; border-radius: 4px; transition: width .5s var(--ease); }
.wo__replay { justify-self: start; border: 0; background: none; color: rgba(255,255,255,.75); font-size: var(--t-sm); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 4px 0; }
.wo__replay:hover { color: #fff; }
.no-js .wo__replay, .no-js .wo__progress { display: none; }
@media (max-width: 720px) {
  .flow { grid-template-columns: 1fr; }
  .flow__steps { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .flow__step { justify-content: center; padding: 6px; font-size: 0; gap: 0; }
  .flow__step .flow__n { font-size: var(--t-sm); }
}

/* ---------- references */
.refs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.refs__item { display: grid; place-items: center; gap: 10px; padding: 26px 20px; background: var(--paper); min-height: 128px; }
.section--mist .refs__item { background: var(--mist); }
.refs__item img { max-height: 58px; max-width: min(132px, 100%); width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.refs__item:hover img { filter: none; opacity: 1; }
/* Home shows 16 logos: fixed 8/4/2 columns so rows always fill */
.refs--home { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 1200px) { .refs--home { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .refs--home { grid-template-columns: repeat(2, 1fr); } }
.refs__name { font-size: var(--t-xs); color: var(--graphite); text-align: center; }

/* ---------- posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.post-row { display: grid; gap: 16px; align-content: start; }
.post-row__media { display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--mist); }
.post-row__img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.post-row:hover .post-row__img { transform: scale(1.03); }
.post-row__meta { display: flex; gap: 12px; font-size: var(--t-sm); color: var(--graphite); }
.post-row__meta span { color: var(--red); font-weight: 600; }
.post-row__title { font-size: var(--t-lg); line-height: 1.3; letter-spacing: 0; }
.post-row__title a { text-decoration: none; }
.post-row__title a:hover { color: var(--red); }
.post-row__text { display: grid; gap: 10px; }
.post-row__text > p:last-child { color: var(--graphite); font-size: var(--t-sm); }
.post-list { display: grid; gap: clamp(32px, 4vw, 56px); }
.post-list .post-row { grid-template-columns: minmax(200px, 4fr) 8fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.post-list--compact { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-list--compact .post-row { grid-template-columns: 1fr; }
.post-list--compact .post-row__media { display: none; }
@media (max-width: 900px) { .post-grid, .post-list--compact { grid-template-columns: 1fr; } .post-list .post-row { grid-template-columns: 1fr; } }
.plain-list { list-style: none; border-top: 1px solid var(--line); }
.plain-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.plain-list a:hover span { color: var(--red); }
.plain-list time { color: var(--graphite); font-size: var(--t-sm); white-space: nowrap; }

/* ---------- CTA panel */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 7fr 5fr; gap: 32px 48px; align-items: end; padding: clamp(32px, 6vw, 72px); border-radius: var(--r-panel); color: #fff; background: linear-gradient(90deg, var(--red-hi), var(--red-lo)); }
.cta-panel__ecg { position: absolute; left: 0; right: 0; top: 18%; height: 64%; width: 100%; z-index: -1; opacity: .3; }
.cta-panel__ecg polyline { fill: none; stroke: #fff; stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cta-panel h2 { font-size: var(--t-2xl); max-width: 18ch; }
.cta-panel__text p { margin-top: 16px; max-width: 48ch; color: rgba(255,255,255,.88); font-size: var(--t-lg); }
.cta-panel__actions { display: grid; gap: 12px; justify-items: start; }
.cta-panel__line { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.cta-panel__line:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- page hero (subpages) */
.page-hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 0; }
.page-hero h1 { margin-top: 20px; font-size: var(--t-3xl); max-width: 20ch; }
.page-hero__lead { margin-top: 20px; max-width: 60ch; font-size: var(--t-lg); color: var(--graphite); }
.page-hero__switch { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--mist); }
.page-hero__switch a { padding: 8px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.page-hero__switch a[aria-current] { background: var(--ink); color: #fff; }
.page-hero--404 { padding-bottom: 0; min-height: 50vh; }
.page-hero--404 .btn { margin-top: 28px; }
.pulse-rule { width: 100%; height: clamp(56px, 8vw, 110px); margin-top: clamp(32px, 5vw, 56px); }
.pulse-rule polyline { fill: none; stroke: var(--red); stroke-width: 2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.pulse-rule--flat { height: 40px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--t-sm); color: var(--graphite); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article__meta { display: flex; gap: 14px; margin-top: 20px; color: var(--graphite); font-size: var(--t-sm); }
.article__meta span { color: var(--red); font-weight: 600; }

/* ---------- content layouts */
.split { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--t-xl); margin-top: 1.8em; }
.prose h3 { font-size: var(--t-lg); margin-top: 1.6em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); text-underline-offset: .18em; }
.prose strong { font-weight: 650; }
.article { padding-top: clamp(32px, 4vw, 56px); }
.article__cover { margin: 0 0 40px; border-radius: 18px; overflow: hidden; background: var(--mist); }
.article__cover img { width: 100%; max-height: 420px; object-fit: contain; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.article__tags span { padding: 4px 12px; border-radius: 999px; background: var(--mist); font-size: var(--t-sm); color: var(--graphite); }

.svc-list { display: grid; }
.svc { display: grid; grid-template-columns: 220px 1fr; gap: 16px 48px; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__n { font-family: var(--f-display); font-size: var(--t-md); color: var(--red); padding-top: .35em; }
.svc > div { display: grid; gap: 18px; justify-items: start; max-width: 760px; }
.svc h2 { font-size: var(--t-2xl); }
.svc h2 a { text-decoration: none; } .svc h2 a:hover { color: var(--red); }
.svc p { color: var(--graphite); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }

.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-card); overflow: hidden; }
.features li { padding: 28px; background: #fff; }
.features h3 { font-size: var(--t-md); margin-bottom: 8px; letter-spacing: 0; }
.features p { color: var(--graphite); font-size: var(--t-sm); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.gallery-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.gallery-split h2 { font-size: var(--t-2xl); }
@media (max-width: 860px) { .gallery-split { grid-template-columns: 1fr; } }
.facts { margin: 28px 0 0; display: grid; gap: 0; }
.facts > div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.facts dt { font-weight: 600; color: var(--red); font-size: var(--t-sm); }
.facts dd { margin: 0; font-size: var(--t-lg); }
.facts--row { margin: 0; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts--row > div { border-top: 2px solid var(--ink); }
.facts--row dd { font-size: var(--t-md); }
@media (max-width: 860px) { .facts--row { grid-template-columns: 1fr; gap: 0; } }
.phones { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; align-items: flex-start; }
.phone { margin: 0; flex: 0 1 260px; }
.phone:nth-child(2) { margin-top: 48px; }
.phone img { border-radius: 28px; border: 8px solid var(--ink); background: var(--ink); box-shadow: 0 30px 60px -30px rgba(21,23,23,.5); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; width: 100%; }
.phone figcaption { margin-top: 12px; font-size: var(--t-sm); color: var(--graphite); text-align: center; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.spec h3 { font-size: var(--t-md); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); }
.spec ul { list-style: none; display: grid; gap: 8px; color: var(--graphite); }
.spec li { padding-left: 18px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--red); }
@media (max-width: 860px) { .spec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } }
.closing { margin-top: clamp(40px, 5vw, 64px); max-width: 40ch; font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.35; letter-spacing: 0; }
.audit-wrap .h-small { margin-bottom: 16px; }

/* ---------- İSG-İBYS */
.screen { margin: 0; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(21,23,23,.35); }
.screen__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--ink); color: #fff; font-size: var(--t-xs); font-weight: 600; }
.screen img { display: block; width: 100%; height: auto; }
.screen a { display: block; cursor: zoom-in; }
.screen--wide { grid-column: 1 / -1; }
.screen--phone { width: min(100%, 340px); justify-self: center; border-radius: 28px; }
.screen--code { min-width: 0; background: var(--ink-2); border-color: var(--ink-2); }
.screen--code pre { margin: 0; padding: 22px 24px; overflow-x: auto; color: #EDEEEE; font: 500 .875rem/1.7 ui-monospace, "Cascadia Code", Consolas, monospace; tab-size: 2; }
.screen--code .code__c { color: #9A9EA1; }
.screen figcaption { padding: 14px 18px; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--graphite); }
.isg-shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: start; }
@media (max-width: 760px) { .isg-shots { grid-template-columns: 1fr; } }
.kpis { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.kpis > div { display: grid; gap: 4px; padding: 22px 24px; background: #fff; }
.kpis dt { font-size: var(--t-sm); font-weight: 600; color: var(--graphite); padding-left: 12px; border-left: 3px solid var(--red); }
.kpis dd { margin: 0; padding-left: 15px; font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.isg-kpi__note { margin-top: 14px; font-size: var(--t-xs); color: var(--graphite); }

/* ---------- contact */
.contact__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .contact__info { grid-template-columns: 1fr; gap: 0; } }
.contact__card { padding: 24px 0; border-top: 2px solid var(--ink); }
.contact__card .h-small { margin-bottom: 8px; color: var(--red); font-size: var(--t-md); }
.contact__card p + .link { margin-top: 10px; }
.contact__big { font-family: var(--f-display); font-size: var(--t-lg); text-decoration: none; letter-spacing: 0; overflow-wrap: anywhere; }
.contact__big:hover { color: var(--red); }

/* ---------- payment pages: bank account + billing info */
.pay { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .pay { grid-template-columns: 1fr; } }
.copy-card { border: 2px solid var(--ink); border-radius: var(--r-card); overflow: hidden; background: var(--paper); }
.copy-list { margin: 0; }
.copy-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label act" "val act" "parts act";
  column-gap: 20px; align-items: center; padding: 22px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.copy-item.is-flash { background: #EEF7F2; }
.copy-item__label { grid-area: label; font-size: var(--t-sm); font-weight: 600; color: var(--graphite); }
.copy-item__val { grid-area: val; margin: 4px 0 0; font-size: var(--t-lg); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; transition: color .3s; }
.js .copy-item__val { cursor: copy; }
.copy-item.is-flash .copy-item__val { color: var(--ok); }
/* lead row (IBAN): button beside the label so the value gets the full width */
.copy-item:first-child { grid-template-areas: "label act" "val val" "parts parts"; }
.copy-item:first-child .copy-item__val { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); }
.iban, .num { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.iban > span:not(:last-child) { margin-right: .4em; }
.copy-item__act { grid-area: act; margin: 0; }
.copy-item__parts { grid-area: parts; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }

.copy-btn, .copy-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; cursor: pointer; white-space: nowrap;
  border: 2px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.copy-btn { min-height: 46px; padding: .55em 1.15em; font-size: var(--t-sm); }
.copy-chip { min-height: 40px; padding: .35em .9em; font-size: var(--t-sm); background: var(--mist); border-width: 1px; }
.copy-chip small { font-size: var(--t-xs); font-weight: 400; color: var(--graphite); }
.copy-chip .icon { width: 1em; height: 1em; color: var(--graphite); }
.copy-btn:hover, .copy-chip:hover { border-color: var(--ink); }
.copy-btn:active, .copy-chip:active { transform: translateY(1px); }
.copy-btn.is-copied, .copy-chip.is-copied { background: var(--ok); border-color: var(--ok); color: #fff; }
.copy-chip.is-copied small, .copy-chip.is-copied .icon { color: #fff; }
.copy-card .icon--check { display: none; }
.copy-card .is-copied .icon--check { display: block; }
.copy-card .is-copied .icon--copy { display: none; }
.copy-card .btn.is-copied { --bg: var(--ok); }
.copy-card__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 20px clamp(18px, 3vw, 32px); background: var(--mist); }
.no-js .copy-item__act, .no-js .copy-card__foot, .no-js .copy-item__parts { display: none; }
@media (max-width: 560px) {
  .copy-item { grid-template-areas: "label act" "val val" "parts parts"; row-gap: 6px; padding-block: 18px; }
  .copy-item__act { align-self: start; }
  .copy-btn { min-height: 42px; padding-inline: .95em; }
  .copy-card__foot .btn { flex: 1 1 100%; }
}

.pay__aside { display: grid; gap: 28px; justify-items: start; }
.pay-note { padding-top: 20px; border-top: 2px solid var(--ink); }
.pay-note--warn { border-top-color: var(--red); }
.pay-note .h-small { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--red); font-size: var(--t-md); }
.pay-note p { color: var(--graphite); }
.pay-note a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pay-note a:hover { color: var(--red); }

/* ---------- about page */
.page-hero__jump { margin-top: 24px; }
.about__intro .link { margin-top: 28px; color: #ff6a5c; }
/* one document: preview beside its facts; more: a grid of preview-over-facts */
.docs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.doc { display: grid; gap: 28px; align-content: start; }
.docs--single { grid-template-columns: 1fr; }
.docs--single .doc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .docs--single .doc { grid-template-columns: 1fr; } }
/* the first page lies on a mist desk like a printed sheet and lifts toward the pointer */
.doc__sheet { position: relative; display: block; padding: clamp(20px, 4vw, 48px); border-radius: var(--r-card); background: var(--mist); }
.doc__sheet img { width: 100%; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(21,23,23,.12), 0 28px 48px -30px rgba(21,23,23,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
/* in the grid every desk has the same shape, so portrait and landscape pages line up and their facts start level */
.docs:not(.docs--single) .doc__sheet { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.docs:not(.docs--single) .doc__sheet img { width: auto; max-width: 100%; max-height: 100%; }
/* sheet, title, issuer, text, facts and links share rows across the line, whatever each text's length */
@supports (grid-template-rows: subgrid) {
  /* the list's row gap would sit between every subgrid row, so space between lines of documents comes from the links' margin */
  .docs:not(.docs--single) { row-gap: 14px; }
  .docs:not(.docs--single) .doc__actions { margin-bottom: clamp(34px, 5vw, 58px); }
  .docs:not(.docs--single) .doc { grid-row: span 6; grid-template-rows: subgrid; row-gap: 14px; justify-items: start; }
  .docs:not(.docs--single) .doc__body { display: contents; }
  .docs:not(.docs--single) .doc__sheet { justify-self: stretch; margin-bottom: 14px; }
  .docs:not(.docs--single) .doc__text { align-self: start; }
}
.doc__sheet:hover img { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(21,23,23,.1), 0 44px 60px -34px rgba(21,23,23,.5); }
.doc__open { position: absolute; right: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--t-sm); font-weight: 600; transition: background-color .2s; }
.doc__sheet:hover .doc__open { background: var(--red); }
.doc__body { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.doc__body h3 { font-size: var(--t-xl); }
.doc__issuer { margin-top: -6px; color: var(--red); font-weight: 600; font-size: var(--t-sm); }
.doc__text { color: var(--graphite); max-width: 48ch; }
.doc__facts { margin: 10px 0 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.doc__facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.doc__facts dt { font-size: var(--t-xs); color: var(--graphite); }
.doc__facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.doc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 14px; }
.doc__size { margin-left: .15em; padding-left: .65em; border-left: 1px solid rgba(255,255,255,.35); font-size: var(--t-xs); font-weight: 500; color: rgba(255,255,255,.75); }
@media (max-width: 420px) { .doc__facts { grid-template-columns: 1fr; } }
.facts--4 { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.facts--4 > div { align-content: start; }
@media (max-width: 1000px) { .facts--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts--4 { grid-template-columns: 1fr; } }
.kunye__link { margin-top: 24px; }
/* signal red is 4.3:1 on mist; the deeper red keeps labels and links readable there */
.section--mist .facts--4 dt, .section--mist .kunye__link { color: var(--red-deep); }

/* ---------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-top: clamp(56px, 8vw, 96px); font-size: var(--t-sm); }
.site-footer__grid { display: grid; grid-template-columns: 4fr 3fr 2fr 2fr; gap: 40px; }
.site-footer__logo { width: 168px; }
.site-footer__slogan { margin-top: 20px; font-family: var(--f-display); color: #fff; font-size: var(--t-md); }
.site-footer__title { font-family: var(--f-body); font-size: var(--t-sm); font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 16px; }
.site-footer__contact { font-style: normal; display: grid; gap: 14px; }
.site-footer__contact a { display: flex; gap: 12px; text-decoration: none; }
.site-footer__contact .icon { color: #ff6a5c; margin-top: .2em; }
.site-footer a:hover { color: #fff; }
.site-footer__links { list-style: none; display: grid; gap: 10px; }
.site-footer__links a { text-decoration: none; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 72px); padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.site-footer__pay { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }
.site-footer__pay a { color: #fff; font-weight: 600; text-decoration: none; }
.site-footer__pay a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .site-footer__bottom { flex-wrap: wrap; }
  .site-footer__bottom p { flex-basis: 100%; order: 1; }
  .site-footer__pay { margin-left: 0; flex: 1; }
  .site-footer__pay a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ecg__glow { display: none; }
}

@media print {
  .site-header, .site-footer, .cta-panel, .hero__actions, .copy-item__act, .copy-item__parts, .copy-card__foot { display: none; }
  .monitor { color: var(--ink); background: none; min-height: 0; }
}
