/* ==========================================================================
   Wizy Yazılım — calm, editorial layout on warm limestone.
   Started from the "Caldera" style (refero.design): flat surfaces, big radii,
   one accent. Re-tinted to the Wizy logo (navy, blue, cyan) and set in
   Plus Jakarta Sans so the page reads before it impresses.
   ========================================================================== */

:root {
  /* palette (from the logo) */
  --ink: #123554;          /* logo navy: text, headings */
  --ink-deep: #0a1f36;     /* the two dark surfaces */
  --ink-soft: #4a5d71;     /* secondary text */
  --blue: #0b5fd6;         /* logo blue: the only accent colour in text */
  --blue-deep: #0638b8;
  --accent: #16c6f5;       /* logo cyan: primary buttons, halftone */
  --ice: #e1f1fb;          /* tags, quiet highlights */
  --limestone: #f8f7f4;    /* cards */
  --pumice: #ecece8;       /* canvas */
  --chalk: #ffffff;
  --line: rgba(18, 53, 84, 0.12);
  --line-strong: rgba(18, 53, 84, 0.28);

  /* type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* shape */
  --r-md: 18px;
  --r-card: 28px;
  --r-pill: 800px;

  /* layout */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(88px, 10vw, 144px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  background: var(--pumice);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
strong { font-weight: 600; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--chalk);
  padding: 12px 20px; border-radius: var(--r-pill); text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ---------- primitives ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.label {
  font: 500 12px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ice);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 6px 13px;
  font: 500 13px/1.3 var(--font);
  white-space: nowrap;
}
.tag--wrap { white-space: normal; }

.dot {
  flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.5; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font: 600 15px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--ink); color: var(--chalk); }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--chalk); background: transparent; }
.btn--ghost:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn__arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* logo */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img { width: auto; height: 42px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  pointer-events: none;
}
.nav { pointer-events: auto; }
.nav__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--limestone);
  border-radius: var(--r-pill);
  padding: 6px 8px 6px 20px;
  transition: background-color 0.3s var(--ease);
}
.site-header.is-scrolled .nav__bar {
  background: rgba(248, 247, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a:not(.btn) {
  display: inline-block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color 0.2s, color 0.2s;
}
.nav__links a:not(.btn):hover,
.nav__links a[aria-current="true"] { background: var(--pumice); color: var(--ink); }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  position: relative;
}
.nav__toggle-bars,
.nav__toggle-bars::before {
  position: absolute;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--chalk);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle-bars { top: 18px; }
.nav__toggle-bars::before { content: ""; left: 0; right: 0; top: 7px; }
.site-header[data-open] .nav__toggle-bars { top: 21px; transform: rotate(45deg); }
.site-header[data-open] .nav__toggle-bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1080px) {
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    left: var(--gutter); right: var(--gutter);
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 16px;
    background: var(--limestone);
    border-radius: 24px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header[data-open] .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links li:not(.nav__cta-mobile) { border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn) {
    display: block;
    padding: 15px 6px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    border-radius: 0;
  }
  .nav__links a:not(.btn):hover,
  .nav__links a[aria-current="true"] { background: transparent; color: var(--blue); }
  .nav__cta-mobile { display: block; margin-top: 14px; }
  .nav__cta-mobile .btn { width: 100%; }
  .site-header[data-open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 54, 0.4);
    pointer-events: auto;
  }
}
@media (max-width: 520px) {
  .logo__img { height: 36px; }
  .nav__bar { padding-left: 16px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding-top: 100px;
}
.hero__copy {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 56px) 0 24px;
}
.hero__title { margin: 24px 0 0; font-weight: 600; }
.hero__display {
  display: block;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.05;
}
.hero__display .line { display: block; }
.hero__display mark { background: none; color: var(--blue); }
.hero__display .line:nth-child(3) mark {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 45%, #13a8e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subline {
  display: block;
  margin-top: 22px;
  max-width: 24em;
  font: 500 clamp(18px, 1.55vw, 22px)/1.4 var(--font);
  letter-spacing: -0.01em;
}
.hero__lede {
  max-width: 36em;
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-soft);
}
.hero__points {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  max-width: 36em;
}
.hero__points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
}
.hero__points li::before {
  content: "";
  flex: none;
  width: 11px; height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-3px) rotate(-45deg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero__art {
  grid-column: 8 / -1;
  position: relative;
  min-height: 540px;
  border-radius: var(--r-card);
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 90% 110%, rgba(22, 198, 245, 0.45) 0%, rgba(22, 198, 245, 0) 60%),
    linear-gradient(160deg, var(--blue-deep) 0%, #082a7a 55%, var(--ink-deep) 100%);
  color: var(--chalk);
  isolation: isolate;
}
.halftone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.hero__art-top {
  position: absolute;
  top: 22px; left: 22px; right: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hero__art-top .label { color: var(--chalk); }
.hero__art-top .label:first-child {
  background: var(--limestone);
  color: var(--ink);
  padding: 7px 11px;
  border-radius: var(--r-pill);
}
.hero__art-hint { opacity: 0.7; padding: 7px 0; }
.hero__steps {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.hero__steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font: 500 14px/1 var(--font);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.hero__steps li span { font: 500 11px/1 var(--mono); opacity: 0.7; }
.hero__steps li.is-active { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

/* entrance */
.js .hero__copy > *, .js .hero__display .line, .js .hero__subline, .js .hero__art {
  animation: rise 0.9s var(--ease) both;
}
.js .hero__title { animation: none; }
.js .hero__tag { animation-delay: 0.05s; }
.js .hero__display .line:nth-child(1) { animation-delay: 0.1s; }
.js .hero__display .line:nth-child(2) { animation-delay: 0.16s; }
.js .hero__display .line:nth-child(3) { animation-delay: 0.22s; }
.js .hero__subline { animation-delay: 0.3s; }
.js .hero__lede { animation-delay: 0.36s; }
.js .hero__points { animation-delay: 0.42s; }
.js .hero__actions { animation-delay: 0.48s; }
.js .hero__art { animation: art-in 1.1s var(--ease) 0.15s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes art-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 940px) {
  .hero { padding-top: 88px; }
  .hero__copy, .hero__art { grid-column: 1 / -1; }
  .hero__copy { padding: 24px 0 12px; }
  .hero__display { font-size: min(11.5vw, 68px); }
  .hero__art { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .hero { gap: 12px; }
  .hero__title { margin-top: 20px; }
  .hero__subline { margin-top: 16px; }
  .hero__actions { margin-top: 26px; width: 100%; gap: 8px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 14px 16px; }
  .hero__art { aspect-ratio: 1 / 1; border-radius: 24px; margin-top: 8px; }
  .hero__art-top { top: 14px; left: 14px; right: 14px; }
  .hero__art-hint { display: none; }
  .hero__steps { left: 12px; right: 12px; bottom: 12px; gap: 6px; }
  .hero__steps li { justify-content: center; padding: 9px 6px; font-size: 13px; gap: 6px; }
}
@media (hover: none) {
  .hero__art-hint { display: none; }
}

/* ==========================================================================
   Reference logos
   ========================================================================== */
.logos { margin-top: clamp(56px, 7vw, 96px); }
.logos__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 0 4px 16px;
}
.logos__note { font-size: 14.5px; color: var(--ink-soft); }
.logos__card {
  background: var(--limestone);
  border-radius: var(--r-card);
  overflow: hidden;
}
.logos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.logos__item {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.logos__item:nth-child(4n) { border-right: 0; }
.logos__item:nth-last-child(-n + 4) { border-bottom: 0; }
.logos__item:hover { background: var(--chalk); }
.logos__name {
  font: 600 clamp(16px, 1.5vw, 20px)/1.2 var(--font);
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.logos__item:hover .logos__name { color: var(--ink); }
.logos__item img { max-height: 40px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.logos__item:hover img { filter: none; opacity: 1; }

@media (max-width: 760px) {
  .logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos__item { min-height: 84px; }
  .logos__item:nth-child(4n) { border-right: 1px solid var(--line); }
  .logos__item:nth-child(2n) { border-right: 0; }
  .logos__item:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .logos__item:nth-last-child(-n + 2) { border-bottom: 0; }
  .logos__card { border-radius: 24px; }
}

/* ==========================================================================
   Intro + stats
   ========================================================================== */
.intro {
  padding-top: var(--section-gap);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.intro__label { grid-column: 1 / span 3; padding-top: 10px; }
.intro__text {
  grid-column: 4 / -1;
  font-size: clamp(21px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.intro__text .w { transition: opacity 0.5s var(--ease); }
.js .intro__text .w { opacity: 0.22; }
.js .intro__text .w.is-on { opacity: 1; }
@media (max-width: 760px) {
  .intro__label, .intro__text { grid-column: 1 / -1; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 72px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0 6px 22px;
  border-left: 1px solid var(--line-strong);
}
.stat__num { font-size: clamp(38px, 3.8vw, 52px); line-height: 1; color: var(--blue); }
.stat__label { font-size: 15px; max-width: 14em; color: var(--ink-soft); }
@media (max-width: 940px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 520px) {
  .stat { padding-left: 14px; }
  .stat__label { font-size: 14px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-top: var(--section-gap); }

.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section__head .label { grid-column: 1 / -1; }
.section__head .section__title { grid-column: 1 / span 7; }
.section__head .section__aside { grid-column: 8 / -1; }

.section__title {
  font-size: clamp(32px, 4.2vw, 56px);
  margin-top: 14px;
}
.section__aside {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 32em;
}

@media (max-width: 860px) {
  .section__head .section__title,
  .section__head .section__aside { grid-column: 1 / -1; }
}

/* ---------- services ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-card);
  background: var(--limestone);
  transition: background-color 0.35s var(--ease);
}
.card:hover { background: var(--chalk); }
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.card__ref { font-size: 12.5px; color: var(--ink-soft); }
.card__title { font-size: clamp(21px, 1.8vw, 25px); margin-top: 14px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  text-decoration: none;
}
.card__link span { display: inline-block; transition: transform 0.25s var(--ease); }
.card__link:hover span { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips li {
  font: 500 12.5px/1 var(--font);
  padding: 7px 11px;
  border-radius: var(--r-pill);
  background: var(--pumice);
  color: var(--ink-soft);
}

@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Odak Ajans band ---------- */
.brandband {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: var(--r-card);
  border: 1px solid var(--line-strong);
}
.brandband__copy {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.brandband__copy p:not(.label) { color: var(--ink-soft); max-width: 34em; }
.brandband__title { font-size: clamp(28px, 3vw, 38px); }
.brandband__list { grid-column: 8 / -1; align-self: center; }
.brandband__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.brandband__list li:first-child { border-top: 1px solid var(--line); }
.brandband__list strong { font-size: 16px; }
.brandband__list span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) {
  .brandband__copy, .brandband__list { grid-column: 1 / -1; }
  .brandband__list { margin-top: 8px; }
}
@media (max-width: 520px) { .brandband { border-radius: 24px; } }

/* ---------- references ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { background: var(--limestone); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--chalk); }

.work { border-bottom: 1px solid var(--line); }
.work__row { border-top: 1px solid var(--line); }
.work__row[hidden] { display: none; }
.work__open {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1fr) 170px;
  gap: 24px;
  align-items: center;
  width: 100%;
  padding: 24px 20px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: background-color 0.3s var(--ease);
}
.work__open:hover, .work__open:focus-visible { background: var(--limestone); }
.work__num { font: 500 12.5px/1 var(--mono); color: var(--ink-soft); }
.work__head { display: flex; flex-direction: column; gap: 6px; }
.work__client { font-size: 13px; color: var(--ink-soft); }
.work__title { font-size: clamp(18px, 1.6vw, 22px); transition: color 0.3s; }
.work__open:hover .work__title { color: var(--blue); }
.work__desc { color: var(--ink-soft); font-size: 15px; }
.work__tag { justify-self: end; }

@media (max-width: 860px) {
  .work__open {
    grid-template-columns: 34px 1fr;
    gap: 8px 12px;
    padding: 22px 6px;
  }
  .work__num { grid-row: 1; padding-top: 4px; align-self: start; }
  .work__head, .work__desc { grid-column: 2; }
  .work__tag { grid-column: 2; justify-self: start; white-space: normal; margin-top: 4px; }
}

/* ---------- reference dialog ---------- */
.modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--limestone);
  color: var(--ink);
  overflow: auto;
}
.modal::backdrop { background: rgba(10, 31, 54, 0.55); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 0.35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px); } }
.modal__inner { position: relative; padding: clamp(26px, 4vw, 40px); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.modal__close:hover { background: var(--ink); color: var(--chalk); }
.modal__client { padding-right: 56px; font-size: 13px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-family: var(--font); }
.modal__title { font-size: clamp(24px, 2.8vw, 32px); margin: 8px 0 14px; padding-right: 40px; }
.modal__body h4 { font: 600 15px/1.3 var(--font); margin: 22px 0 4px; }
.modal__body p { color: var(--ink-soft); }
.ref-detail__meta { font-size: 14.5px; }
.ref-detail__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.ref-detail__metrics div { padding: 14px 16px; border-radius: var(--r-md); background: var(--chalk); }
.ref-detail__metrics dt { font-size: 13px; color: var(--ink-soft); }
.ref-detail__metrics dd { margin: 4px 0 0; font: 600 19px/1.2 var(--font); letter-spacing: -0.02em; color: var(--blue); }
.ref-detail__role { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.modal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--ink-deep);
  color: var(--chalk);
  font-size: 15px;
}
@media (max-width: 560px) {
  .ref-detail__metrics { grid-template-columns: 1fr; }
  .modal__foot .btn { width: 100%; }
}

/* ---------- founder ---------- */
.founder {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.founder__card {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 400px;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: var(--r-card);
  background:
    radial-gradient(circle at center, rgba(22, 198, 245, 0.2) 0 1px, transparent 1.4px) 0 0 / 14px 14px,
    linear-gradient(160deg, #0b3a8f, var(--ink-deep));
  color: var(--chalk);
}
.founder__card .label { color: rgba(255, 255, 255, 0.7); }
.founder__name { font-size: clamp(44px, 5vw, 68px); margin-top: auto; }
.founder__years { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.founder__years .display { font-size: 28px; color: var(--accent); }
.founder__links { display: flex; flex-wrap: wrap; gap: 8px; }
.founder__bio {
  grid-column: 7 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
  color: var(--ink-soft);
}
.founder__lead { font-size: clamp(18px, 1.55vw, 21px); font-weight: 500; line-height: 1.5; color: var(--ink); }
.founder__chips { margin-top: 4px; }
.founder__bio .chips li { background: var(--limestone); }
@media (max-width: 940px) {
  .founder__card, .founder__bio { grid-column: 1 / -1; }
  .founder__card { min-height: 320px; }
  .founder__bio { margin-top: 16px; }
}
@media (max-width: 520px) { .founder__card { border-radius: 24px; min-height: 290px; } }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.8vw, 34px);
  border-radius: var(--r-card);
  background: var(--limestone);
}
.principle__word { font-size: clamp(24px, 2.2vw, 30px); color: var(--blue); }
.principle__title { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.principle p:last-child { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .principle { border-radius: 24px; } }

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.process__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.process__intro .section__title { margin-top: 0; }
.steps { grid-column: 7 / -1; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-size: 26px;
  line-height: 1.2;
  color: var(--line-strong);
  transition: color 0.5s var(--ease);
}
.step.is-active .step__num { color: var(--blue); }
.step__title { font-size: clamp(19px, 1.7vw, 23px); margin-bottom: 8px; }
.step p { color: var(--ink-soft); max-width: 34em; }
.step__out {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--limestone);
  font-size: 14px;
  color: var(--ink) !important;
}
.step__out span {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--ice);
  font: 500 11px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 860px) {
  .process__intro { position: static; grid-column: 1 / -1; margin-bottom: 16px; }
  .steps { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .step { grid-template-columns: 40px 1fr; gap: 10px; padding: 26px 0; }
  .step__num { font-size: 21px; }
}

/* ---------- estimator ---------- */
.estimator {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(26px, 3.6vw, 48px);
  border-radius: var(--r-card);
  background: var(--limestone);
}
.estimator__copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 18px; }
.estimator__copy .section__title { margin-top: 0; }
.est-form { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.est-form legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-block;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.choice:hover span { background: var(--pumice); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.choice input[type="checkbox"]:checked + span { background: var(--ice); border-color: var(--blue); color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

.result {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  background: var(--ink-deep);
  color: var(--limestone);
  overflow: hidden;
}
.result__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.result__bar .label { color: rgba(255, 255, 255, 0.7); }
.result__badge {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--ink);
  text-align: right;
}
.result__list { flex: 1; padding: 6px 20px; }
.result__list div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.result__list div:last-child { border-bottom: 0; }
.result__list dt { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.result__list dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.5; }
.result__list dd.is-fresh { animation: fresh 0.6s var(--ease); }
@keyframes fresh { from { color: var(--accent); } }
.result__cta { margin: 0 20px 20px; white-space: normal; text-align: center; }

@media (max-width: 940px) {
  .estimator__copy, .result { grid-column: 1 / -1; }
  .result { margin-top: 12px; }
}
@media (max-width: 520px) {
  .estimator { border-radius: 24px; }
  .choice span { font-size: 14px; padding: 9px 13px; }
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.faq__intro { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 20px; }
.faq__intro .section__title { margin-top: 0; }
.faq__list { grid-column: 7 / -1; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: clamp(16.5px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s;
}
.faq__item summary:hover::after { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--ice); border-color: var(--blue); color: var(--ink); }
.faq__item p { padding: 0 56px 24px 0; color: var(--ink-soft); max-width: 42em; }

@media (max-width: 860px) {
  .faq__intro, .faq__list { grid-column: 1 / -1; }
  .faq__item p { padding-right: 0; }
}

/* ---------- contact ---------- */
.contact-wrap { padding-top: var(--section-gap); }
.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(26px, 4.5vw, 64px);
  border-radius: var(--r-card);
  background: var(--ink-deep);
  color: var(--chalk);
}
.contact .label { color: rgba(255, 255, 255, 0.65); }
.contact__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__title { font-size: clamp(34px, 4.2vw, 56px); }
.contact__lede { color: rgba(255, 255, 255, 0.75); max-width: 26em; }
.contact__info { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact__info div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
}
.contact__info dt { font-size: 13px; color: rgba(255, 255, 255, 0.55); padding-top: 1px; }
.contact__info dd { margin: 0; }
.contact__info a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: color 0.2s, border-color 0.2s; }
.contact__info a:hover { color: var(--accent); border-color: var(--accent); }
.contact__nda { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); max-width: 30em; }

.form { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15.5px;
  color: var(--chalk);
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(255, 255, 255, 0.45); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.07); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select select option { color: var(--ink); }
.select::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, 0.72); cursor: pointer; }
.consent input { flex: none; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.consent input[aria-invalid="true"] { outline: 2px solid #ff8a7a; outline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.form__status { font-size: 14.5px; color: rgba(255, 255, 255, 0.85); min-height: 1.5em; }
.form__status.is-error { color: #ff9f93; }

@media (max-width: 940px) {
  .contact__copy, .form { grid-column: 1 / -1; }
  .form { margin-top: 20px; }
}
@media (max-width: 560px) {
  .contact { border-radius: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .contact__info div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 28px; overflow: hidden; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px;
}
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 16px; color: var(--ink-soft); max-width: 28em; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__cols .label { margin-bottom: 6px; }
.footer__cols a { text-decoration: none; font-size: 15px; overflow-wrap: anywhere; color: var(--ink-soft); transition: color 0.2s; }
.footer__cols a:hover { color: var(--blue); }

/* The full logo, drawn in halftone: the logo shape masks a dot pattern in the brand gradient. */
.footer__mark {
  width: min(100%, 820px);
  aspect-ratio: 720 / 242;
  margin: clamp(48px, 7vw, 80px) auto 28px;
  opacity: 0.8;
  background: linear-gradient(60deg, var(--blue-deep), var(--blue) 45%, var(--accent));
  -webkit-mask:
    url("../brand/wizy-logo.svg") center / contain no-repeat,
    radial-gradient(circle at center, #000 0 38%, transparent 42%) 0 0 / 7px 7px;
  -webkit-mask-composite: source-in;
  mask:
    url("../brand/wizy-logo.svg") center / contain no-repeat,
    radial-gradient(circle at center, #000 0 38%, transparent 42%) 0 0 / 7px 7px;
  mask-composite: intersect;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__mark { -webkit-mask-size: contain, 5px 5px; mask-size: contain, 5px 5px; }
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), background-color 0.35s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .intro__text .w { opacity: 1; }
}
