/* Coasus Global Logistics — coasus.css
   Redesign, November 2026. Decisions: website/plan/metinler.md.
   Palette and type: context/brand-guideline.md, Part 2.
   No external requests: fonts and scripts are self-hosted, no analytics. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  color-scheme: light;

  /* Brand */
  --white: #FFFFFF;
  --ink: #373533;
  --ink-2: #6B6966;
  --magenta: #B52D71;
  --magenta-dark: #92235A;

  /* Derived from the charcoal */
  --surface: #F4F3F2;
  --surface-2: #ECEAE8;
  --line: #DEDCDA;
  --on-ink-2: #DEDCDA;

  --font: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 84rem;
  --gutter: 1.25rem;
  --radius-card: 12px;
  --radius-pill: 999px;
  --section: clamp(4rem, 8vw, 7rem);

  /* One motion language for the whole site */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 48rem) { body { font-size: 1.125rem; } }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--magenta); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta-dark); }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--magenta); color: var(--white); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; }
.skip:focus { left: 0; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--magenta-dark); color: var(--white); }
.btn--sm { padding: 0.65rem 1.15rem; font-size: 1rem; }
.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}
.link:hover { color: var(--magenta); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white); position: sticky; top: 0; z-index: 10;
  transition: transform 0.45s var(--ease), box-shadow 0.3s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; transition: min-height 0.35s var(--ease); }
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 10.5rem; height: auto; transition: width 0.35s var(--ease); }
/* Past the top of the page the bar slims down; it steps aside on the way down
   and returns on the way up (motion.js sets the two classes). */
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .wrap { min-height: 4rem; }
.site-header.is-scrolled .brand img { width: 8.25rem; }
.site-header.is-hidden { transform: translateY(-101%); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav-links a:hover { color: var(--magenta); }
.lang { display: flex; align-items: center; gap: 0.15rem; font-size: 0.9375rem; font-weight: 600; }
.lang a, .lang span { padding: 0.3rem 0.55rem; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink-2); }
.lang a:hover { color: var(--magenta); }
.lang [aria-current] { background: var(--surface); color: var(--ink); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  padding: 0.55rem 1.1rem;
  background: var(--surface); border-radius: var(--radius-pill);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--white); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  padding: 0.5rem var(--gutter) 1.75rem;
  border-bottom: 1px solid var(--line);
}
.menu-panel li a { display: block; padding: 0.85rem 0; color: var(--ink); font-weight: 600; font-size: 1.2rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel .lang { margin: 1.1rem 0; }
@media (max-width: 63.99rem) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.125rem, 8.6vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.06; }
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 36rem; margin-block: 1.5rem 2rem; }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 4.25vw, 3.75rem); }
  .hero h1 span { display: block; }
}

/* Globe */
.hero-globe { min-width: 0; }
.globe { position: relative; width: 100%; max-width: 38rem; aspect-ratio: 1; margin-inline: auto; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; opacity: 0; cursor: grab; transition: opacity 0.9s ease; }
.globe.is-dragging canvas { cursor: grabbing; }
.globe-fallback { position: absolute; inset: 6%; width: 88%; height: 88%; }
.globe.is-ready canvas { opacity: 1; }
.globe.is-ready .globe-fallback { display: none; }
.globe-tip {
  position: absolute; left: 0; top: 0; z-index: 2;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--ink); color: var(--white);
  font-size: 0.875rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  padding: 0.35rem 0.6rem; border-radius: 6px;
  pointer-events: none; opacity: 0;
}
.globe-tip.is-on { opacity: 1; }

.regions { max-width: 38rem; margin: 1.25rem auto 0; }
.regions-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.region-tabs { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; background: var(--surface); border-radius: 1.5rem; }
.region-tabs button {
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  color: var(--ink); background: transparent;
  border: 0; border-radius: var(--radius-pill);
  padding: 0.55rem 1rem; cursor: pointer;
}
@media (max-width: 30rem) { .region-tabs button { padding: 0.5rem 0.7rem; font-size: 0.9375rem; } }
.region-tabs button:hover { color: var(--magenta); }
.region-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.region-panel { margin-top: 0.9rem; }
.region-name { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.2rem; }
.region-panel p { font-size: 1.0625rem; line-height: 1.5; }
.js .region-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js .region-panels { min-height: 4.9rem; }
.globe-hint { font-size: 0.9375rem; color: var(--ink-2); }
html:not(.js) .globe-hint { display: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); padding-block: clamp(2rem, 4vw, 3rem); }
.trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0; }
.trust li { position: relative; padding: 0.25rem 1rem 0.25rem 1.25rem; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: #CFCCC9; transform-origin: top;
}
.trust-num {
  display: flex; align-items: center; height: 1em;
  font-size: clamp(2.75rem, 5.2vw, 4.25rem); font-weight: 700; line-height: 1;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  margin-bottom: 0.6rem;
}
.trust-num i { font-style: normal; color: var(--magenta); }
.trust-num svg { width: 0.82em; height: 0.82em; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trust-num svg .ring { stroke: var(--ink); stroke-width: 2.5; }
.trust-num svg .tick { stroke: var(--magenta); stroke-width: 3.5; }
.trust-label { display: block; font-weight: 600; line-height: 1.3; max-width: 14rem; }
@media (min-width: 56rem) {
  .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust li { padding-left: 1.75rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section h2, .band h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; margin-top: 1rem; }

/* Services: six equal cards */
.cards { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  display: block; height: 100%;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.75rem 2rem;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.45s var(--ease);
}
.card:hover { background: var(--surface-2); color: var(--ink); transform: translateY(-4px); }
.card h3 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 0.7rem; transition: color 0.25s ease; }
.card:hover h3 { color: var(--magenta); }
.card p { font-size: 1.0625rem; line-height: 1.5; }

/* Line icons: drawn in the logo's flat, two-colour language */
.card-icon { width: 3.5rem; height: 2.5rem; margin-bottom: 1.5rem; overflow: visible; }
.card-icon path, .card-icon circle, .card-icon rect { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-icon .accent { fill: var(--magenta); stroke: none; transition: transform 0.45s var(--ease); }
.card-icon .accent-line { stroke: var(--magenta); }
.card-icon .dot { fill: var(--white); stroke: none; }
.card-icon .dot { transition: transform 0.45s var(--ease); }
.card:hover .card-icon .accent, .card:hover .card-icon .dot { transform: translateX(3px); }
svg .pop { transform-box: fill-box; transform-origin: center; }
.section--services { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Country ribbon: the sixteen served countries, in the site's own heading type */
.marquee { overflow: hidden; padding-block: 0 clamp(3rem, 6vw, 5rem); }
.marquee-inner { display: flex; width: max-content; will-change: transform; }
.marquee-track { display: flex; flex: 0 0 auto; }
.marquee-track li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--ink);
}
.marquee-track li::after {
  content: ""; flex: 0 0 auto; width: 0.2em; height: 0.2em; margin-inline: 0.75em;
  border-radius: 50%; background: var(--magenta);
}

/* Technology band */
.band { padding-block: var(--section); }
.band--ink { background: var(--ink); color: var(--white); }
.band--ink h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.03em; max-width: 21ch; }
.band--ink p { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; color: var(--on-ink-2); max-width: 42rem; margin-top: 1.75rem; }
.tech-grid { display: grid; gap: 2.5rem; align-items: center; }
.tech-art { aspect-ratio: 4 / 3; min-width: 0; }
.tech-art canvas { width: 100%; height: 100%; }
html:not(.js) .tech-art { display: none; }
@media (min-width: 64rem) {
  .tech-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3.5rem; }
  .tech-art { aspect-ratio: 5 / 4; }
}

/* Why Coasus.
   Without script: a heading and a two-column list.
   With script (.has-art): the heading and one picture stay in place on wide screens
   while the four reasons scroll past; the picture changes with the reason in view. */
.why { display: grid; gap: 2.5rem; }
.why-list { display: grid; gap: 2.25rem 3rem; }
.why-list h3 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.why-list p { font-size: 1.0625rem; }
@media (min-width: 40rem) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 3.5rem; } }

.why-art { position: relative; background: var(--surface); border-radius: var(--radius-card); overflow: hidden; }
.why-art .scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; }
.why-art .scene.is-on { opacity: 1; }
.why.has-art .why-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.why.has-art .why-list li { padding-block: 2.25rem; border-top: 1px solid var(--line); }
.why.has-art .why-list li:first-child { padding-top: 0; border-top: 0; }
.why-art--inline { aspect-ratio: 16 / 10; margin-bottom: 1.5rem; }
.why-side .why-art { display: none; }
@media (min-width: 64rem) {
  .why.has-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 5rem; align-items: start; }
  .why.has-art .why-side { position: sticky; top: 6.5rem; }
  .why.has-art .why-side .why-art { display: block; aspect-ratio: 1; width: min(100%, calc(100vh - 15rem)); min-width: 16rem; margin-top: 2rem; }
  .why-art--inline { display: none; }
  /* Each reason is one scroll step, centred beside the picture */
  .why.has-art .why-list li, .why.has-art .why-list li:first-child {
    min-height: 44vh; padding-block: 1.5rem; border-top: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
  .why.has-art .why-list { padding-bottom: 14vh; }
  .why.has-art .why-list h3 { font-size: 2rem; margin-bottom: 0.9rem; }
  .why.has-art .why-list p { font-size: 1.1875rem; max-width: 34rem; }
  .why.has-art .why-list li > h3, .why.has-art .why-list li > p { opacity: 0.32; transition: opacity 0.45s ease; }
  .why.has-art .why-list li.is-active > h3, .why.has-art .why-list li.is-active > p { opacity: 1; }
}

/* Scene drawing */
.scene .land { fill: #DDDBD9; }
.scene .served { fill: var(--magenta); stroke: var(--surface); stroke-width: 1.5; stroke-linejoin: round; }
.scene .lane-case { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.scene .lane { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .edge { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.scene .stop { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.scene .node { fill: var(--magenta); stroke: var(--surface); stroke-width: 2; }
.scene .hub { fill: var(--white); stroke: var(--magenta); stroke-width: 3.5; }
.scene .thin { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .rail { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.scene .fill-magenta { fill: var(--magenta); }
.scene .fill-white { fill: var(--white); }
.scene .fill-ink { fill: var(--ink); }
.scene .road-dash { fill: none; stroke: var(--white); stroke-width: 3; stroke-dasharray: 22 20; }
.scene .road-edge { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.5; }

/* Closing call */
.band--surface { background: var(--surface); }
.closing { max-width: 44rem; margin-inline: auto; text-align: center; }
.closing p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; margin-block: 1rem 2rem; }
.route { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.route svg { width: 100%; height: auto; overflow: visible; }
.route-base { fill: none; stroke: #C4C1BE; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.route-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.route-stop { fill: var(--surface); stroke: #B5B2AF; stroke-width: 2; transition: stroke 0.3s ease; }
.route-stop.is-on { stroke: var(--ink); }
.route-hub { fill: var(--white); stroke: var(--magenta); stroke-width: 3.5; }
.route-end { fill: var(--surface); stroke: #B5B2AF; stroke-width: 2.5; transition: fill 0.3s ease, stroke 0.3s ease; }
.route-end.is-on { fill: var(--magenta); stroke: var(--magenta); }
.route-head { fill: var(--magenta); }
html:not(.js) .route { display: none; }

/* ---------- Inner pages (services, lanes, about, contact) ---------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2rem, 6.4vw, 2.75rem); line-height: 1.1; }
@media (min-width: 64rem) { .page-hero h1 { font-size: clamp(2.4rem, 3.5vw, 3.25rem); } }
.page-hero--solo .hero-grid { grid-template-columns: minmax(0, 48rem); }
.hero-art {
  background: var(--surface); border-radius: var(--radius-card);
  aspect-ratio: 4 / 3; display: grid; place-items: center; min-width: 0;
}
.hero-art .card-icon { width: 56%; height: auto; margin: 0; }
.hero-art .card-icon path, .hero-art .card-icon circle, .hero-art .card-icon rect { stroke-width: 1.1; }
.hero-art--six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10% 8%; padding: 12% 10%; }
.hero-art--six .card-icon { width: 100%; }
.hero-art--six .card-icon path, .hero-art--six .card-icon circle, .hero-art--six .card-icon rect { stroke-width: 1.6; }
/* About page: the CO·A·SUS name as a 3D object. motion.js stacks depth layers
   behind each letter group (.is-3d), tilts it with the pointer and cycles the
   three words. Without the script the flat name still shows. */
.hero-art--name {
  position: relative; overflow: hidden; perspective: 70rem; container-type: inline-size;
  aspect-ratio: 5 / 4; touch-action: pan-y;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #FFFFFF 0%, var(--surface) 72%);
}
@media (min-width: 64rem) {
  .page-hero:has(.hero-art--name) .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
}
.wm {
  display: flex; align-items: center; gap: 0.06em; margin-top: -4%;
  font-size: clamp(3rem, 17cqi, 8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  color: var(--ink); transform-style: preserve-3d;
  transform: rotateX(var(--rx, -6deg)) rotateY(var(--ry, -14deg));
}
.wm-g { position: relative; transform-style: preserve-3d; transform: translateZ(var(--lift, 0px)); transition: transform 0.5s cubic-bezier(.2, .8, .2, 1); }
.wm-t { position: relative; display: block; transform-style: preserve-3d; }
.wm.is-3d .wm-t { color: transparent; }
.wm-t i { position: absolute; inset: 0; font-style: normal; transform: translateZ(calc(var(--k) * -0.014em)); color: hsl(30 4% calc(24% - var(--k) * 0.45%)); }
.wm-t i.f {
  transform: none; color: transparent;
  background: linear-gradient(110deg, #2C2A28 0%, #3E3B38 38%, #6A6662 50%, #3E3B38 62%, #2C2A28 100%) var(--sheen, 50%) 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text;
}
.wm-g.is-on { --lift: 0.28em; }
.wm-g.is-on .wm-t i { color: hsl(330 55% calc(26% - var(--k) * 0.5%)); }
.wm-g.is-on .wm-t i.f { color: transparent; background-image: linear-gradient(110deg, #7E1E4E 0%, var(--magenta) 40%, #D45A97 50%, var(--magenta) 60%, #7E1E4E 100%); }
.wm-dot {
  flex: none; width: 0.19em; height: 0.19em; margin: 0 0.08em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F08BBE 0%, var(--magenta) 46%, #5E1438 100%);
  box-shadow: 0 0.05em 0.1em rgba(94, 20, 56, 0.35);
  transform: translateZ(0.12em);
}
.motion .wm-dot { animation: wm-pulse 3.2s ease-in-out infinite; }
.motion .wm-dot + .wm-g + .wm-dot { animation-delay: -1.6s; }
@keyframes wm-pulse { 0%, 100% { transform: translateZ(0.12em) scale(1); } 50% { transform: translateZ(0.22em) scale(1.14); } }
.wm-cap {
  position: absolute; left: 50%; top: 100%; margin-top: 0.5rem;
  font-size: clamp(0.8125rem, 3.4cqi, 1.125rem); font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2);
  white-space: nowrap; opacity: 0; transform: translate(-50%, 0.4rem);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, .8, .2, 1); pointer-events: none;
}
.wm-cap b { color: var(--magenta); font-weight: 800; }
.wm-g.is-on .wm-cap { opacity: 1; transform: translate(-50%, 0); }
.wm-floor {
  position: absolute; left: 22%; right: 22%; bottom: 17%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(55, 53, 51, 0.2), rgba(55, 53, 51, 0));
  transform: translateX(var(--fx, 0px)) scaleX(var(--fs, 1));
}
/* TİO certificate card on the About page */
.doc-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem 1.5rem; align-items: start;
  margin-top: 2rem; padding: 1.75rem; background: var(--surface); border-radius: var(--radius-card); max-width: 46rem;
}
.doc-card__icon { width: 2.75rem; height: auto; fill: none; stroke: var(--magenta); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.doc-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.doc-card__by { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.doc-card dl { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-top: 1.1rem; }
.doc-card dt { font-size: 0.8125rem; color: var(--ink-2); letter-spacing: 0.02em; }
.doc-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.doc-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.4rem; }
.doc-card__code { margin-top: 0.9rem; font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 30rem) { .doc-card { grid-template-columns: minmax(0, 1fr); padding: 1.35rem; } }
.section--surface { background: var(--surface); }
.section--tight { padding-top: 0; }
.section--flush { padding-bottom: 0; }
.feat-grid { display: grid; gap: 2.25rem 2.5rem; }
@media (min-width: 40rem) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .feat-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.feat-grid > li { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.feat-grid h3 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.feat-grid p { font-size: 1.0625rem; }
.feat-grid .link { display: inline-block; margin-top: 1rem; }
.name-word { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.75rem; }
.name-word b { color: var(--magenta); }
.prose { max-width: 48rem; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; }
.prose + .prose { margin-top: 1rem; }
.card-more { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--magenta); }
.lane-line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.75rem 2rem; background: var(--ink); color: var(--white); border-radius: var(--radius-card);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 600; line-height: 1.4;
}
.lane-line a { color: var(--white); white-space: nowrap; }
.more { margin-top: 2.5rem; }
.more h2 { font-size: 1.125rem; letter-spacing: 0; margin-bottom: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pills a {
  display: inline-block; padding: 0.6rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.section--surface .pills a { background: var(--white); }
.pills a:hover { background: var(--magenta); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 0 2rem; }
.chips li { padding: 0.55rem 1rem; background: var(--white); border-radius: var(--radius-pill); font-weight: 600; font-size: 1rem; }
.channels { display: grid; gap: 1.5rem 2.5rem; margin: 0; }
@media (min-width: 40rem) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.channels dt { font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.2rem; }
.channels dd { margin: 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.channels a { color: var(--ink); text-decoration: none; }
.channels a:hover { color: var(--magenta); }
.faq-list { max-width: 52rem; border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; font-size: 1.6rem; font-weight: 400; color: var(--magenta); }
.faq[open] summary::after { content: "\2013"; }
.faq p { padding-bottom: 1.5rem; max-width: 46rem; }
.legal-box { font-size: 1rem; line-height: 1.7; color: var(--ink-2); margin-top: 1.5rem; }
.legal-box .unvan { color: var(--ink); font-weight: 600; }
.closing .actions { justify-content: center; }
.nav-links a[aria-current], .menu-panel li a[aria-current] { color: var(--magenta); }
/* Where a list sits directly under the page headline its items are h2, not h3 */
.section .feat-grid h2, .section .card h2 { font-size: 1.375rem; letter-spacing: -0.01em; }
.section .feat-grid h2 { margin-bottom: 0.6rem; }
.section .card h2 { margin-bottom: 0.7rem; transition: color 0.25s ease; }
.card:hover h2 { color: var(--magenta); }
.page-hero .regions-bar { justify-content: center; }
.prose.note { margin-top: 2.25rem; }
/* Privacy notice (/tr/kvkk/, /privacy/): long legal text, set for reading */
.page-hero:has(+ .section .notice) { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.notice { max-width: 46rem; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.notice h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em;
  margin: 3rem 0 1rem; scroll-margin-top: 6rem;
}
.notice h2[id] { padding-top: 2.5rem; border-top: 1px solid var(--surface-2); }
.notice p { margin: 0 0 1rem; }
.notice ul { margin: 0 0 1.25rem; padding-left: 1.25rem; list-style: disc; }
.notice ul li { margin-bottom: 0.35rem; padding-left: 0.25rem; }
.notice ul li::marker { color: var(--magenta); }
.notice strong { font-weight: 700; }
.notice a { overflow-wrap: anywhere; }
.notice-toc { display: grid; gap: 0.6rem; margin: 1.25rem 0 0.5rem; padding: 1.5rem 1.75rem; list-style: decimal inside; background: var(--surface); border-radius: var(--radius-card); font-weight: 600; }
.notice-toc li::marker { color: var(--magenta); }
.notice-toc a { color: var(--ink); text-decoration: none; }
.notice-toc a:hover { color: var(--magenta); text-decoration: underline; }
.band--surface .more { margin-top: 3.5rem; text-align: center; }
.band--surface .pills { justify-content: center; }
.band--surface .pills a { background: var(--white); }
.band--surface .pills a:hover { background: var(--magenta); }
/* Four steps: one line that fills as the visitor scrolls (motion.js sets --f and .is-on) */
.steps { list-style: none; margin: 0; }
.steps > li { position: relative; border-top: 0; padding-top: 1.9rem; }
.steps > li::before, .steps > li::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; }
.steps > li::before { background: #C4C1BE; }
.steps > li::after { background: var(--ink); transform-origin: left; }
.step-dot { position: absolute; left: 0; top: 0; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--magenta); border: 2px solid var(--magenta); }
@media (min-width: 64rem) { .steps > li:not(:last-child)::before, .steps > li:not(:last-child)::after { right: -2.5rem; } }
.motion .steps > li::after { transform: scaleX(var(--f, 0)); }
.motion .steps > li:not(.is-on) .step-dot { background: var(--white); border-color: #B5B2AF; }
.motion .steps .step-dot { transition: background-color 0.3s ease, border-color 0.3s ease; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding-block: 4rem 2.5rem; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #55524F; }
@media (min-width: 56rem) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-name { color: var(--white); font-weight: 700; font-size: 1.125rem; }
.footer-tag { color: var(--white); font-size: 1.25rem; font-weight: 600; line-height: 1.3; max-width: 24rem; margin-top: 0.75rem; }
.thesis-strap { font-size: 0.9375rem; letter-spacing: 0.04em; margin-top: 1.25rem; }
.thesis-strap b { color: var(--white); font-weight: 700; }
.footer-top h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: 0.75rem; }
.footer-top ul { display: grid; gap: 0.45rem; }
.footer-in { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-in svg { flex: none; width: 1rem; height: 1rem; }
.legal-id { padding-top: 1.75rem; font-size: 0.875rem; line-height: 1.7; }
.legal-id .unvan { color: var(--white); font-weight: 600; }

/* ---------- Motion ----------
   The .motion class is set in the page head only when the visitor has not asked
   for reduced motion. Without it every element simply sits in its final place.
   Each element moves once, on entering the view (motion.js adds .is-in). */

/* Headings: words rise from behind a mask, line after line */
.motion [data-split]:not(.is-split) { visibility: hidden; }
.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.16em; margin-block: -0.16em; }
.motion [data-split] .w > span { display: inline-block; transform: translateY(118%); transition: transform 1s var(--ease); }
.motion [data-split].is-in .w > span { transform: none; }

/* Everything else: a short rise and fade */
.motion [data-reveal] {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Lines and marks that draw themselves */
.motion .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .is-in .draw, .motion .is-on .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-io) var(--d, 0s); }
.motion .pop { transform: scale(0); }
.motion .is-in .pop, .motion .is-on .pop { transform: scale(1); transition: transform 0.6s var(--ease) var(--d, 0s); }
.motion .fade { opacity: 0; }
.motion .is-in .fade, .motion .is-on .fade { opacity: 1; transition: opacity 0.7s ease var(--d, 0s); }

.motion .trust li::before { transform: scaleY(0); transition: transform 0.9s var(--ease) var(--d, 0s); }
.motion .trust li.is-in::before { transform: scaleY(1); }
.motion .is-in .card:hover .card-icon .accent,
.motion .is-in .card:hover .card-icon .dot { transform: translateX(3px); transition: transform 0.45s var(--ease); }

/* Scene loops run only while their scene is showing */
.motion .scene.is-on .cargo { animation: scene-cargo 6s linear infinite; }
.motion .scene.is-on .ping { animation: scene-ping 6s linear infinite; animation-delay: var(--at, 0s); }
.motion .scene.is-on .road-dash { animation: scene-road 0.75s linear infinite; }
.motion .scene .drive { transform: translateX(-300px); }
.motion .scene.is-on .drive { transform: none; transition: transform 1.4s var(--ease) 0.15s; }
@keyframes scene-cargo {
  0% { transform: translateX(0); opacity: 0; }
  4% { opacity: 1; }
  80% { transform: translateX(280px); opacity: 1; }
  93% { transform: translateX(280px); opacity: 1; }
  100% { transform: translateX(280px); opacity: 0; }
}
@keyframes scene-ping {
  0%, 10% { stroke: #B52D71; stroke-width: 2.75; }
  24%, 100% { stroke: #6B6966; stroke-width: 1.5; }
}
@keyframes scene-road { to { stroke-dashoffset: 42; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
