/* ============================================================
   Tuncay Sahin — website styles
   Palette: cream + deep navy + configurable accent (--accent)
   Fonts:   Space Grotesk (display) · IBM Plex Sans (body) · IBM Plex Mono
   ============================================================ */

:root {
  --bg: #F6F5F1;
  --ink: #17272F;
  --ink-soft: #2E3F49;
  --navy: #0E2A3F;
  --navy-deep: #0A2233;
  --line: #E5E2D9;
  --line-soft: #EDEAE1;
  --card: #FFFFFF;
  --muted: #6A7A85;
  --muted-2: #8B96A0;
  --on-dark: #EAF0F4;
  --on-dark-soft: #C7D3DB;
  --on-dark-mute: #9DB0BD;
  --accent: #E8722E;
  --wrap: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
::selection { background: #F6D3BC; color: var(--navy); }

.disp { font-family: 'Space Grotesk', sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.accent { color: var(--accent); }
.muted { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(22px, 5vw, 56px); }
.wrap-narrow { max-width: 820px; }

/* ---------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 42, 63, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.header-inner {
  min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--on-dark); padding: 14px 0; min-width: 0; }
.header-inner .brand { flex: 0 1 auto; }
.brand:hover { color: var(--on-dark); }
.brand-logo { height: var(--logo-h, 34px); width: auto; opacity: 0.95; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; white-space: nowrap; }
.brand-tagline { font-size: 11.5px; line-height: 1.35; opacity: 0.65; max-width: 340px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Wide screens: the nav keeps its natural width and the tagline lives off the
   leftover space. In the squeeze zone down to the hamburger menu (≤820px) the
   tagline is the first thing to go — it is decoration, the nav is not. */
@media (min-width: 1150px) { .header-inner .site-nav { flex-shrink: 0; } }
@media (max-width: 1149px) { .brand-tagline { display: none; } }

.site-nav {
  display: flex; gap: clamp(16px, 2.4vw, 30px);
  font-size: 12.5px; letter-spacing: 0.03em; align-items: center; flex-wrap: wrap;
}
.navlink { position: relative; color: var(--on-dark-mute); padding: 6px 0; transition: color 0.2s ease; }
.navlink:hover { color: var(--on-dark); }
.navlink.is-active { color: var(--accent); }
.navlink::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.26s ease;
}
.navlink:hover::after, .navlink.is-active::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 10px 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 0 clamp(22px, 5vw, 56px);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .site-nav.is-open { max-height: 60vh; padding: 14px clamp(22px, 5vw, 56px) 22px; }
  .navlink { font-size: 14px; padding: 10px 0; width: 100%; }
}

/* --------------------------------------------------------- sections */

.section { padding: clamp(58px, 8vw, 104px) 0; }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--border { border-bottom: 1px solid var(--line); }
.section--white { background: var(--card); }

.eyebrow {
  margin: 0 0 16px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow-sm { margin: 0 0 6px; font-size: 11.5px; letter-spacing: 0.1em; }
.label-sm { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

.section-head { max-width: 620px; margin-bottom: clamp(32px, 5vw, 52px); }
.h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.05; letter-spacing: -0.028em; color: var(--navy); }
.h3 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); }
.section-head .muted { margin-top: 14px; }

.lead { margin: 0 0 20px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); max-width: 660px; }
.prose { margin: 0 0 20px; font-size: 17px; line-height: 1.68; color: var(--ink-soft); max-width: 660px; }

/* ------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; }
.hero .wrap:first-child { padding-top: clamp(46px, 7vw, 84px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-eyebrow {
  display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 12px;
  letter-spacing: 0.14em; color: #7F97A6; margin-bottom: clamp(30px, 5vw, 56px);
}
.hero-title {
  margin: 0 0 clamp(28px, 4vw, 44px); font-size: clamp(40px, 6.6vw, 86px);
  line-height: 1.0; font-weight: 500; letter-spacing: -0.035em; max-width: 16ch;
}
.hero-lead { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.62; color: var(--on-dark-soft); max-width: 760px; }

.page-hero { padding: clamp(46px, 6vw, 80px) 0; }
.page-title { margin: 0 0 26px; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.0; font-weight: 500; letter-spacing: -0.03em; max-width: 18ch; }
.page-hero .hero-lead { color: var(--on-dark-soft); max-width: 720px; }

.stats { border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; margin-top: 8px; }
.stat { flex: 1 1 210px; padding: 22px 26px; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-label { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.1em; color: #7F97A6; }
.stat-value { margin: 0; font-size: 17px; font-weight: 500; }

/* ------------------------------------------------------------ split */

.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); }
.split-aside { flex: 1 1 260px; max-width: 340px; }
.split-body { flex: 3 1 460px; min-width: 0; }

.deflist { display: flex; flex-direction: column; margin-top: 28px; }
.deflist-row { padding: 20px 0; border-top: 1px solid var(--line); }
.deflist-term { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: var(--navy); }
.deflist-meta { margin: 0; font-size: 12.5px; color: var(--muted); }

.feature-card {
  background: var(--navy); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(34px, 4vw, 48px); display: flex; flex-direction: column; height: 100%;
}
.feature-text { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; font-weight: 400; letter-spacing: -0.02em; }
.feature-quote { margin: 36px 0 0; font-size: 13px; color: var(--on-dark-mute); line-height: 1.6; }

/* ------------------------------------------------------------ cards */

.grid-cards { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px;
  color: inherit;
}
.card-link { transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s ease, border-color 0.28s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(14,42,63,0.4); border-color: var(--navy); color: inherit; }
.card-num { font-size: 12px; color: #97A4AD; }
.card-title { margin: 16px 0 12px; font-size: 23px; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.14; }
.card-desc { margin: 0 0 22px; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); flex: 1; }
.card-cta { font-size: 12.5px; }

/* image-cards: a card variant with a 16:9 photo (optional overlaid caption). */
.imgcard { padding: 0; overflow: hidden; }
.imgcard-media { position: relative; aspect-ratio: 16 / 9; background: #EEF1F3; overflow: hidden; }
.imgcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgcard-tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 13px;
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  background: linear-gradient(to top, rgba(10, 34, 51, 0.82), rgba(10, 34, 51, 0));
}
.imgcard-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.imgcard-body .card-title { margin-top: 0; }

.service-card { padding: 30px 28px; transition: border-color 0.28s ease, box-shadow 0.28s ease; }
.service-card:hover { border-color: var(--navy); box-shadow: 0 16px 38px -26px rgba(14,42,63,0.45); }
.service-icon {
  width: 44px; height: 44px; border-radius: 8px; background: #FBF1E9;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--accent);
}
.service-card .card-title { margin-top: 0; font-size: 20px; }
.service-card .card-desc { margin-bottom: 18px; }

/* ---------------------------------------------------------- numrows */

.numrow { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.numrow-sm { grid-template-columns: 44px 1fr; padding: 18px 0; gap: 18px; }
.numrow-num { font-size: 14px; color: #B4BEC4; }
.numrow-title { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); }
.numrow-desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 620px; }
.numrow-sm p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }

/* ------------------------------------------------------------ chips */

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips-sm { gap: 8px; margin-top: auto; }
.chip {
  border: 1px solid #D8D4C8; background: var(--card); border-radius: 3px;
  padding: 11px 16px; font-size: 12.5px; color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chips-sm .chip { border-color: #E7E3D8; padding: 6px 10px; font-size: 11.5px; }
.chip:hover { border-color: var(--accent); color: var(--navy); }

/* ----------------------------------------------------------- twocol */

.twocol { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.twocol-gap { gap: 0 40px; }
.slashrow { margin: 0; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink); display: flex; gap: 12px; }
.miniblock { padding: 20px 0; border-top: 1px solid var(--line); }
.miniblock-title { margin: 0 0 5px; font-size: 16px; font-weight: 600; color: var(--navy); }
.miniblock-desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* -------------------------------------------------- consultancy list */

.linklist { display: flex; flex-direction: column; }
.linklist-row { margin: 0; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); display: flex; gap: 11px; }
.bigquote { margin: 0 auto; max-width: 820px; text-align: center; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.2; font-weight: 400; letter-spacing: -0.025em; color: var(--navy); }

/* -------------------------------------------------------- kennisbank */

/* search box above a collection index */
.kb-search { position: relative; margin: 0 0 clamp(20px, 3vw, 32px); }
.kb-search-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); pointer-events: none; transition: color 0.2s ease;
}
.kb-search:focus-within .kb-search-icon { color: var(--accent); }
.kb-search-input {
  width: 100%; padding: 12px 15px 12px 44px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink);
  font-family: inherit; font-size: 15px; line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kb-search-input::placeholder { color: var(--muted-2); }
.kb-search-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
/* Results dim while a live search is in flight; without JS this never applies. */
.kb-results { transition: opacity 0.18s ease; }
.kb-results.is-loading { opacity: 0.45; }
.kb-search-meta { margin: -12px 0 22px; font-size: 12.5px; color: var(--muted); }
.kb-search-clear { margin-left: 10px; color: var(--accent); }
.kb-search-clear:hover { text-decoration: underline; }

.article-list { border-top: 1px solid #D8D4C8; }
.arow {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px);
  align-items: baseline; padding: 26px 16px; margin: 0 -16px;
  border-bottom: 1px solid var(--line); color: inherit;
  transition: background 0.22s ease, padding-left 0.28s cubic-bezier(0.22,1,0.36,1);
}
.arow:hover { background: var(--card); padding-left: 24px; color: inherit; }
/* Date and category stack, so a long category can never run into the title. */
.arow-meta {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  font-size: 11.5px; letter-spacing: 0.03em; color: var(--muted-2); padding-top: 5px;
}
.arow-cat { color: var(--muted); overflow-wrap: anywhere; }
.arow-main { min-width: 0; }
.arow-title { margin: 0 0 7px; font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em; color: var(--navy); }
.arow-summary { margin: 0; font-size: 15px; line-height: 1.55; color: #5D6B75; max-width: 640px; }
.arow-go { font-size: 14px; white-space: nowrap; padding-top: 4px; opacity: 0; transform: translateX(-8px); transition: opacity 0.25s ease, transform 0.25s ease; }
.arow:hover .arow-go { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .arow { grid-template-columns: 1fr; gap: 8px; }
  .arow-go { display: none; }
  .arow-meta { flex-direction: row; gap: 8px; flex-wrap: wrap; }
  .arow-cat::before { content: '· '; }
}

/* pagination under a collection index */
.pager { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px); margin-top: clamp(30px, 4vw, 48px); flex-wrap: wrap; }
.pager-step { font-size: 12.5px; color: var(--muted); }
.pager-step:hover { color: var(--accent); }
.pager-step.is-off { opacity: 0.35; pointer-events: none; }
.pager-nums { display: flex; align-items: center; gap: 4px; }
.pager-num {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); border: 1px solid transparent;
}
.pager-num:hover { color: var(--navy); border-color: var(--line); }
.pager-num.is-current { color: var(--navy); border-color: var(--navy); font-weight: 600; }
.pager-gap { color: var(--muted-2); padding: 0 2px; }

/* ---------------------------------------------------------- article */

.article-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 5vw, 72px); }
.backlink { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark-mute); margin-bottom: 30px; }
.backlink:hover { color: var(--on-dark); }
.article-title { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; }
.article-intro { margin: 0 0 8px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.62; color: var(--ink); font-weight: 500; }

.article-body { font-size: 17px; }
.article-body h2 { margin: 44px 0 14px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.2; }
.article-body h3 { margin: 32px 0 12px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: var(--navy); }
.article-body p { margin: 0 0 18px; line-height: 1.72; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); line-height: 1.7; }
.article-body li { margin-bottom: 6px; }
.article-body a { text-decoration: underline; }
.article-body code { font-family: 'IBM Plex Mono', monospace; font-size: 0.92em; background: #ECEAE2; padding: 2px 6px; border-radius: 4px; color: var(--navy); }
.article-body pre {
  background: var(--navy); color: #D8E4EC; border-radius: var(--radius);
  padding: 22px 24px; margin: 0 0 24px; overflow-x: auto;
  font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; line-height: 1.7;
}
.article-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.article-body blockquote {
  margin: 0 0 24px; border-left: 3px solid var(--accent); background: #FBF1E9;
  padding: 16px 22px; border-radius: 0 4px 4px 0;
}
.article-body blockquote p { margin: 0; font-size: 15px; line-height: 1.6; color: #5A3921; }
.article-body figure { margin: 0 0 24px; }
.article-body figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.article-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; }
.article-body pre::-webkit-scrollbar { height: 8px; }
.article-body pre::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 8px; }
.article-foot { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------------------------------------------------------- contact */

.contact-grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); }
.contact-aside { flex: 1 1 260px; max-width: 340px; }
.contact-aside .deflist-row { border-top: 1px solid var(--line); }
.contact-email { font-size: 18px; font-weight: 500; color: var(--navy); }
.contact-email:hover { color: var(--accent); }
.contact-place { margin: 0; font-size: 18px; font-weight: 500; color: var(--navy); }
.contact-quote { margin-top: 26px; font-size: 14.5px; line-height: 1.6; }
.contact-main { flex: 2 1 440px; min-width: 0; }

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  font-family: 'IBM Plex Sans', sans-serif; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid #D8D4C8; border-radius: 4px; padding: 13px 15px;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-accent {
  align-self: flex-start; background: var(--accent); color: var(--navy); border: none;
  padding: 15px 30px; border-radius: 3px; font-size: 16px; font-weight: 600;
  cursor: pointer; letter-spacing: -0.01em; display: inline-block;
}
.btn-accent:hover { background: #F0854A; color: var(--navy); }

.contact-success { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: clamp(34px, 5vw, 52px); }
.contact-success-title { margin: 0 0 12px; font-size: 26px; font-weight: 600; color: var(--accent); }
.contact-success p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on-dark-soft); }
.form-error { background: #FBE8E4; border: 1px solid #E7B7AC; color: #8A2B18; padding: 14px 18px; border-radius: 4px; margin: 0 0 22px; font-size: 15px; }

/* ----------------------------------------------------------- footer */

.site-footer { background: var(--navy-deep); color: var(--on-dark-mute); }
.site-footer .wrap { padding-top: clamp(46px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 40px); }
.footer-top { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); justify-content: space-between; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand { flex: 1 1 300px; max-width: 380px; }
.footer-brand .brand { padding: 0; margin-bottom: 20px; }
.footer-intro { margin: 0; font-size: 15px; line-height: 1.62; color: #8496A3; }
.footer-col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-head { margin: 0 0 5px; font-size: 11px; letter-spacing: 0.1em; color: #5F7383; }
.footer-col a { color: #B3C0CA; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: 11.5px; color: #6E8293; }
.footer-bottom .disclaimer { font-size: 11px; line-height: 1.6; color: #5F7383; max-width: 520px; text-align: right; }
@media (max-width: 640px) { .footer-bottom .disclaimer { text-align: left; } }

/* -------------------------------------------------- language toggle + banner */

.lang-toggle { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; }
.lang-toggle a { padding: 3px 8px; border-radius: 5px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--on-dark-mute); }
.lang-toggle a:hover { color: var(--on-dark); }
.lang-toggle a.is-active { background: rgba(255,255,255,0.12); color: var(--on-dark); }

.lang-banner { background: #EEF1F3; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.lang-banner .wrap { padding-top: 11px; padding-bottom: 11px; }

/* ----------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* Per-section animation variants: the CMS tags the outer <section> with
   data-anim (default is the fade-up above; "none" disables the reveal). */
[data-anim="fade-in"] .reveal:not(.in) { transform: none; }
[data-anim="slide-left"] .reveal:not(.in) { transform: translateX(-30px); }
[data-anim="slide-right"] .reveal:not(.in) { transform: translateX(30px); }
[data-anim="zoom"] .reveal:not(.in) { transform: scale(0.94); }
[data-anim="none"] .reveal { opacity: 1; transform: none; transition: none; }

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

/* ------------------------------------------- generic (blueprint-only) section */

.section-generic .generic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.section-generic .generic-card { border: 1px solid rgba(128,128,128,0.25); border-radius: 10px; padding: 20px; }
.section-generic .generic-img { max-width: 100%; border-radius: 10px; margin: 16px 0; }

/* -------------------------------------------------------------- cta */

.cta-card {
  background: var(--navy); color: var(--on-dark); border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px); display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 26px 48px;
}
.cta-main { flex: 1 1 380px; max-width: 640px; }
.cta-title { margin: 0; font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.cta-text { margin: 14px 0 0; font-size: 16px; line-height: 1.62; color: var(--on-dark-soft); max-width: 560px; }

/* -------------------------------------------------------------- faq */

.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  list-style: none; cursor: pointer; display: flex; align-items: baseline;
  justify-content: space-between; gap: 20px; padding: 20px 0;
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; color: var(--navy);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: '+'; flex-shrink: 0; color: var(--accent); font-size: 22px; line-height: 1; transition: transform 0.25s ease; }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 22px; }
.faq-a p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); max-width: 680px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------- testimonials */

.tstm-mark { font-size: 46px; line-height: 0.6; color: var(--accent); display: block; margin: 8px 0 18px; }
.tstm-quote { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.tstm-who { display: flex; flex-direction: column; gap: 2px; }
.tstm-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.tstm-role { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------- timeline */

.timeline { position: relative; max-width: 720px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.section--white .tl-item::before { box-shadow: 0 0 0 4px var(--card); }
.tl-period { margin: 0 0 6px; font-size: 11.5px; letter-spacing: 0.08em; }
.tl-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--navy); }
.tl-desc { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); max-width: 560px; }

/* ---------------------------------------------------------- pricing */

.price-name { margin: 0 0 14px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price-amount { margin: 0 0 8px; font-size: clamp(30px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.price-period { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); font-family: 'IBM Plex Sans', sans-serif; }
.price-desc { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.price-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); display: flex; gap: 10px; }
.price-list li::before { content: '\2014'; color: var(--accent); flex-shrink: 0; }
.price-btn { display: inline-block; text-align: center; border: 1px solid var(--navy); border-radius: 3px; padding: 12px 22px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.price-btn:hover { background: var(--navy); color: var(--on-dark); }
.price-card--hl { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.price-card--hl .price-name { color: var(--on-dark-mute); }
.price-card--hl .price-amount { color: var(--on-dark); }
.price-card--hl .price-period, .price-card--hl .price-desc { color: var(--on-dark-soft); }
.price-card--hl .price-list li { border-top-color: rgba(255,255,255,0.12); color: var(--on-dark-soft); }
.price-card--hl .price-btn { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.price-card--hl .price-btn:hover { background: #F0854A; }
.price-footnote { margin-top: 18px; font-size: 12.5px; }

/* --------------------------------------------------- image + text */

.imgtext { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.imgtext-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; background: var(--card); }
.imgtext--flip .imgtext-media { order: 2; }
.imgtext-body .h3 { margin-bottom: 16px; }
.imgtext-cta { display: inline-block; margin-top: 8px; font-size: 13px; }

/* ---------------------------------------------------------- gallery */

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.gallery-cap { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------ image banner */

.imgbanner { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.imgbanner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgbanner-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,51,0.92) 0%, rgba(10,34,51,0.64) 55%, rgba(10,34,51,0.36) 100%); }
.imgbanner .wrap { position: relative; }
.imgbanner-title { margin: 0 0 16px; font-size: clamp(28px, 4vw, 46px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; max-width: 18ch; }
.imgbanner-text { margin: 0 0 26px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.62; color: var(--on-dark-soft); max-width: 560px; }

/* ------------------------------------------------------------- team */

.team-card { padding: 0; overflow: hidden; }
.team-photo { aspect-ratio: 1 / 1; background: #EEF1F3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.team-name { margin: 0 0 4px; font-size: 19px; }
.team-role { margin: 0 0 12px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.team-body .card-desc { margin: 0; }

/* ------------------------------------------------------------ logos */

.logos-head { text-align: center; margin-bottom: 26px; }
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(28px, 5vw, 56px); }
.logo-item { font-size: clamp(17px, 2vw, 22px); font-weight: 600; letter-spacing: -0.01em; color: var(--muted-2); }

/* "not translated" toast — unobtrusive, self-dismissing, never blocks the page */
.lang-toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 200; display: flex; align-items: center; gap: 12px;
  max-width: min(560px, calc(100vw - 32px));
  padding: 12px 14px 12px 18px; border-radius: 10px;
  background: rgba(10, 34, 51, 0.94); color: #EAF0F4;
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.6);
  font-size: 13.5px; line-height: 1.45;
}
.lang-toast-text { flex: 1; min-width: 0; }
.lang-toast-close {
  flex-shrink: 0; background: none; border: 0; cursor: pointer;
  color: #9DB0BD; font-size: 20px; line-height: 1; padding: 2px 4px;
}
.lang-toast-close:hover { color: #fff; }
@media (max-width: 560px) { .lang-toast { left: 16px; right: 16px; transform: none; max-width: none; } }
