:root {
  --paper: #f4f2ed;
  --paper-deep: #ece9e2;
  --ink: #15171b;
  --muted: #676a6d;
  --blue: #154ccf;
  --blue-soft: #dce5fb;
  --line: rgba(21, 23, 27, .15);
  --cyan: #59d9ef;
  --sans: "Manrope", Arial, sans-serif;
  --note: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body[data-lang="en"] [data-lang-copy="tr"],
body[data-lang="tr"] [data-lang-copy="en"] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  padding: 0 clamp(24px, 7.5vw, 116px);
  border-bottom: 1px solid rgba(21, 23, 27, .08);
  background: rgba(244, 242, 237, .97);
}
.nameplate {
  width: fit-content;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.site-header nav { display: flex; align-items: center; gap: 38px; }
.site-header nav a {
  position: relative;
  color: #34363a;
  font-size: 13px;
  font-weight: 500;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { right: 0; }
.language-toggle {
  width: 42px;
  height: 34px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--blue);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(480px, .94fr) minmax(600px, 1.06fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding: 48px clamp(24px, 7.5vw, 116px) 36px;
}
.role {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(72px, 7.3vw, 118px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .82;
}
.hero-statement {
  max-width: 590px;
  margin: 24px 0 0;
  padding-top: 0;
  border-top: 0;
  font-size: clamp(25px, 2.25vw, 37px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.28;
}
.hero-socials {
  width: 108px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding-top: 13px;
  border-top: 3px solid var(--blue);
}
.hero-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition: color .18s ease, transform .18s ease;
}
.hero-socials i {
  font-size: 23px;
  line-height: 1;
}
.hero-socials a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}
.hero-socials a:focus-visible {
  color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button {
  min-width: 190px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.button-primary { color: #fff; background: var(--blue); }
.button:hover { transform: translateY(-2px); }
.button-secondary:hover { color: #fff; background: var(--blue); }

.evidence-board {
  --board-x: 0px;
  --board-y: 0px;
  position: relative;
  min-height: 470px;
  transform: translate3d(var(--board-x), var(--board-y), 0);
  transition: transform .35s ease-out;
}
.evidence-flow,
.evidence-note,
.evidence-receipt {
  background: #f8f6f1;
  border: 1px solid rgba(21, 23, 27, .08);
  box-shadow: 0 12px 22px rgba(36, 34, 29, .11);
}
.evidence-flow {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  min-height: 158px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 24px 30px;
  transform: rotate(-.25deg);
}
.evidence-flow > div { display: grid; justify-items: center; gap: 11px; text-align: center; }
.evidence-flow > div > i { color: var(--blue); font-size: 38px; }
.evidence-flow span { font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.flow-arrow { color: #6a6c70; font-size: 18px; }
.evidence-note {
  position: absolute;
  left: 4%;
  bottom: 16px;
  width: 37%;
  min-height: 240px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 30px;
  color: var(--blue);
  font-family: var(--note);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  transform: rotate(-3deg);
}
.evidence-note::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #183f95;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.evidence-receipt {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  min-height: 278px;
  padding: 22px 24px 18px;
  transform: rotate(1.4deg);
}
.evidence-receipt::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 28px;
  width: 18px;
  height: 45px;
  border: 3px solid #747474;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  transform: rotate(9deg);
}
.evidence-receipt header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}
.evidence-receipt header b { color: var(--blue); }
.evidence-receipt dl { margin: 12px 0; }
.evidence-receipt dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(21,23,27,.1);
  font-size: 8px;
}
.evidence-receipt dt { color: #6a6c70; }
.evidence-receipt dd { margin: 0; font-weight: 700; }
.evidence-receipt > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
}
.evidence-receipt > p i { font-size: 15px; }

.proof-strip {
  min-height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 clamp(24px, 7.5vw, 116px);
  padding: 0 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.25);
}
.proof-strip > div { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.proof-strip span { color: #55595e; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.proof-strip > div i { width: 3px; height: 3px; border-radius: 50%; background: #55595e; }
.proof-strip > a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 700; }

.featured-work,
.systems-index,
.writing-section,
.about-section {
  padding: clamp(100px, 10vw, 170px) clamp(24px, 7.5vw, 116px);
}
.section-head {
  display: grid;
  grid-template-columns: .6fr 1.25fr .75fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: 62px;
}
.section-head > p,
.about-title > p {
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.section-head h2,
.about-title h2 {
  margin: 0;
  font-size: clamp(43px, 4.5vw, 72px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .98;
}
.section-head > span {
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(560px, 2fr) minmax(250px, .78fr) minmax(250px, .78fr);
  gap: 16px;
}
.krynaris-card {
  position: relative;
  min-height: 430px;
  color: #f1f5f6;
  background: #05090c;
  overflow: hidden;
}
.krynaris-card > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .8;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.krynaris-card:hover > img:first-child { transform: scale(1.035); opacity: .95; }
.krynaris-content {
  position: relative;
  z-index: 1;
  width: 56%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 32px;
}
.krynaris-mark { width: 44px; height: 44px; object-fit: contain; margin-bottom: auto; }
.krynaris-content > p:first-of-type { margin: 0 0 12px; color: #76deef; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.krynaris-content h3 { margin: 0; font-size: clamp(42px, 4vw, 66px); font-weight: 600; letter-spacing: .02em; }
.feature-copy { max-width: 350px; margin: 14px 0 0; font-size: 20px; line-height: 1.4; }
.feature-proof { max-width: 350px; margin: 14px 0 0; color: #9caab0; font-size: 11px; line-height: 1.6; }
.krynaris-content nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.krynaris-content nav a { color: #6de3f6; font-size: 9px; font-weight: 700; border-bottom: 1px solid rgba(109,227,246,.4); }

.support-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background: #f7f5f0;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.support-card:hover { transform: translateY(-6px); border-color: var(--blue); background: #fff; }
.support-number { color: #9b9b97; font-size: 11px; font-weight: 700; }
.support-card > div:nth-child(2) > p:first-child { margin: 0 0 13px; color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.support-card h3 { margin: 0; font-size: 35px; letter-spacing: -.055em; }
.support-copy { margin: 16px 0 0; color: #666a6e; font-size: 14px; line-height: 1.6; }
.support-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.support-foot i:first-child { color: var(--blue); font-size: 30px; }
.support-foot i:last-child { font-size: 18px; }
.support-foot span { font-size: 7px; font-weight: 800; letter-spacing: .09em; }
.aegis-card { background: #f3eee5; }
.aegis-card .support-foot i:first-child { color: #9a6c1e; }

.systems-index { background: #181b21; color: #f5f4ef; }
.systems-index .section-head > span { color: #a8abb1; }
.system-list { border-top: 1px solid rgba(255,255,255,.18); }
.system-list a {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr .7fr auto;
  align-items: center;
  gap: 30px;
  min-height: 82px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: color .2s ease, padding .2s ease, background .2s ease;
}
.system-list a:hover { padding: 0 18px; color: #12151a; background: #e8e5dd; }
.system-list b { font-size: 25px; letter-spacing: -.04em; }
.system-list span { color: #a8abb1; font-size: 13px; }
.system-list a:hover span { color: #464b51; }
.system-list small { font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.system-list i { font-size: 18px; }

.writing-section { background: #dfe7f7; }
.writing-section .section-head > a { justify-self: end; display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 700; }
.writing-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.writing-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(21,23,27,.25);
}
.writing-card:not(:first-child) { padding-left: 28px; }
.writing-card > span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.writing-card h3 { max-width: 390px; margin: 34px 0 0; font-size: clamp(24px, 2.3vw, 37px); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.writing-card p { margin: auto 34px 0 0; color: #5b616a; font-size: 13px; line-height: 1.55; }
.writing-card > i { position: absolute; right: 24px; bottom: 24px; font-size: 21px; transition: transform .2s ease; }
.writing-card:hover > i { transform: translate(4px, -4px); }

.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.about-title h2 { max-width: 640px; margin-top: 34px; }
.about-copy { align-self: end; }
.about-copy > p { margin: 0; color: #4c5055; font-size: 18px; line-height: 1.75; }
.about-copy > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.about-copy > div span { padding: 7px 10px; border: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .08em; }

footer { padding: 100px clamp(24px, 7.5vw, 116px) 28px; color: #f2f2ef; background: #15171b; }
footer > p { margin: 0 0 16px; color: #8f949c; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
footer > a { width: fit-content; display: block; border-bottom: 3px solid var(--blue); font-size: clamp(48px, 7vw, 108px); font-weight: 700; letter-spacing: -.065em; line-height: 1.08; }
footer > div { display: flex; gap: 28px; margin-top: 110px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: 8px; font-weight: 700; letter-spacing: .09em; }
footer > div span { margin-right: auto; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1320px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-copy { max-width: 760px; }
  .evidence-board { width: min(760px, 100%); }
  .proof-strip { margin-top: 40px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .krynaris-card { grid-column: 1 / -1; }
  .section-head { grid-template-columns: .55fr 1.45fr; }
  .section-head > span, .section-head > a { grid-column: 2; justify-self: start !important; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; grid-template-columns: 1fr auto; gap: 12px; padding: 0 18px; }
  .site-header nav { display: none; }
  .language-toggle { grid-column: 2; grid-row: 1; }
  .hero { grid-template-columns: 1fr; gap: 54px; min-height: auto; padding: 66px 18px 32px; }
  .role { font-size: 8px; }
  .hero h1 { font-size: clamp(59px, 18vw, 82px); }
  .hero-statement { margin-top: 30px; font-size: 25px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .evidence-board { min-height: 560px; }
  .evidence-flow { grid-template-columns: repeat(5, 1fr); gap: 3px; min-height: 148px; padding: 20px 12px; }
  .flow-arrow { display: none; }
  .evidence-flow > div > i { font-size: 27px; }
  .evidence-flow span { font-size: 6px; }
  .evidence-note { left: 0; bottom: 5px; width: 46%; min-height: 325px; padding: 18px; font-size: 31px; }
  .evidence-receipt { width: 58%; min-height: 355px; padding: 18px 16px; }
  .evidence-receipt dl div { grid-template-columns: 1fr; gap: 2px; }
  .proof-strip { min-height: 100px; align-items: flex-start; flex-direction: column; gap: 12px; margin: 10px 18px 0; padding: 18px; }
  .proof-strip > div { gap: 9px; }
  .proof-strip span { font-size: 7px; }
  .featured-work, .systems-index, .writing-section, .about-section { padding: 90px 18px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .section-head > span, .section-head > a { grid-column: auto; }
  .section-head h2, .about-title h2 { font-size: 47px; }
  .featured-grid { grid-template-columns: 1fr; }
  .krynaris-card { grid-column: auto; min-height: 570px; }
  .krynaris-content { width: 100%; padding: 24px; }
  .krynaris-card > img:first-child { object-position: 66% center; opacity: .47; }
  .krynaris-mark { margin-bottom: auto; }
  .support-card { min-height: 340px; }
  .system-list a { grid-template-columns: 1fr auto; gap: 7px 14px; padding: 16px 0; }
  .system-list a > span { grid-column: 1; }
  .system-list a > small { grid-column: 1; }
  .system-list a > i { grid-column: 2; grid-row: 1 / span 3; }
  .writing-grid { grid-template-columns: 1fr; }
  .writing-card, .writing-card:not(:first-child) { min-height: 260px; padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(21,23,27,.25); }
  .about-section { grid-template-columns: 1fr; }
  footer { padding: 80px 18px 24px; }
  footer > div { flex-wrap: wrap; margin-top: 80px; }
  footer > div span { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* EHI corporate identity */
.brand-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;
}
.nameplate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nameplate img {
  width: 27px;
  height: 32px;
  object-fit: contain;
}
.nameplate span { white-space: nowrap; }
.hero h1.hero-brand-title {
  position: relative;
  width: min(680px, 100%);
  line-height: 1;
}
.hero-brand-title img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  .nameplate { gap: 8px; }
  .nameplate img { width: 23px; height: 28px; }
  .nameplate span { font-size: 13px; }
  .hero h1.hero-brand-title { width: min(100%, 520px); }
}
.footer-ehi-lockup {
  width: min(470px, 76vw);
  display: block;
  margin: 0 0 58px;
  border-bottom: 0 !important;
}
.footer-ehi-lockup img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  .footer-ehi-lockup { width: min(320px, 88vw); margin-bottom: 44px; }
}
.hero-ehi-mark {
  order: 0;
  display: block;
  width: 58px;
  height: 68px;
  margin: 0 0 22px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .hero-ehi-mark { width: 46px; height: 54px; margin-bottom: 18px; }
}
/* Calybris Core — foundational release card */
.calybris-core-card {
  grid-column: 1 / -1;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  color: #f3f4f1;
  background: #0a0f13;
  overflow: hidden;
}
.calybris-core-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 3.2vw, 50px);
  border-right: 1px solid rgba(255,255,255,.16);
}
.calybris-core-title { display: flex; align-items: center; gap: 18px; }
.calybris-core-title img { width: 58px; height: 68px; object-fit: contain; }
.calybris-core-title p { margin: 0 0 7px; color: #6bdabc; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.calybris-core-title h3 { margin: 0; font-size: clamp(42px, 4vw, 66px); font-weight: 620; letter-spacing: -.055em; line-height: .95; }
.calybris-core-copy { max-width: 760px; margin: 28px 0 0; color: #c1c8c5; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; }
.calybris-core-intro nav { display: flex; flex-wrap: wrap; gap: 22px; margin-top: auto; padding-top: 34px; }
.calybris-core-intro nav a { color: #71dfc2; border-bottom: 1px solid rgba(113,223,194,.42); font-size: 9px; font-weight: 750; letter-spacing: .04em; }
.calybris-release-manifest { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.7vw, 42px); color: #111719; background: #d9d7cf; }
.calybris-release-manifest::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: #61d6b8; }
.calybris-release-manifest header { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(17,23,25,.24); font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.calybris-release-manifest header b { color: #087960; }
.calybris-release-manifest > strong { margin: 22px 0 20px; font-size: clamp(64px, 7vw, 104px); font-weight: 650; letter-spacing: -.09em; line-height: .8; }
.calybris-release-manifest dl { margin: 0; }
.calybris-release-manifest dl div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 9px 0; border-top: 1px solid rgba(17,23,25,.16); }
.calybris-release-manifest dt { color: #65706e; font-size: 7px; font-weight: 800; letter-spacing: .09em; }
.calybris-release-manifest dd { margin: 0; font-size: 11px; font-weight: 650; }
.calybris-release-manifest > p { margin: auto 0 0; padding-top: 22px; color: #59615f; font-size: 11px; line-height: 1.55; }
@media (max-width: 1320px) {
  .calybris-core-card { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); }
}
@media (max-width: 760px) {
  .calybris-core-card { grid-column: auto; grid-template-columns: 1fr; }
  .calybris-core-intro { min-height: 430px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .calybris-core-title { align-items: flex-start; }
  .calybris-core-title img { width: 46px; height: 56px; }
  .calybris-release-manifest { min-height: 410px; }
}