/* GBSoft company layer: hero work wall, partner logos, services, şirketler, about, contact asks */
.kick { font-size: 14px; font-weight: 500; color: var(--p-muted); letter-spacing: .01em; margin: 0; }
.ground-surface .kick, #cityvision .kick { color: var(--p-muted); }

/* hero: the work wall */
.hw { position: relative; min-height: 520px; }
.hw__cv { position: absolute; left: 0; top: 0; width: 82%; background: #0b1b3f; border-radius: var(--r-lg); padding: 10px; box-shadow: 0 30px 60px -30px rgba(11,27,63,.55); }
.hw__cv video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--r-lg) - 6px); }
.hw__bar { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px 6px; color: #fff; font-size: 13px; }
.hw__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hw__tag i { width: 8px; height: 8px; border-radius: 50%; background: #f26a1b; box-shadow: 0 0 0 4px rgba(242,106,27,.25); }
.hw__ev { color: #c8d0e0; font-family: var(--font-mono); font-size: 12px; transition: opacity .25s, transform .25s; }
.hw__ev.is-out { opacity: 0; transform: translateY(4px); }
.hw__bar .cv-pause { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.hw__bar .cv-pause svg { width: 14px; height: 14px; }
.hw__ph { position: absolute; aspect-ratio: 1320 / 2868; border-radius: 30px; padding: 6px; background: #0b1b3f; box-shadow: 0 0 0 1px rgba(11,27,63,.2), 0 34px 60px -28px rgba(11,27,63,.6); }
.hw__scr { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #fff; }
.hw__scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hw__ph--vb { width: 27%; right: 27%; bottom: 0; transform: rotate(-3deg); }
.hw__ph--db { width: 29%; right: 0; bottom: 18px; transform: rotate(3deg); z-index: 2; }
.hw__name { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; background: #fff; color: #0b1b3f; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(11,27,63,.45); }
.hw .hw__cv, .hw .hw__ph { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .7s; }
html.m-enter:not(.m-enter-done) .hw__ph--vb { transform: translateY(40px) rotate(-3deg); opacity: 0; }
html.m-enter:not(.m-enter-done) .hw__ph--db { transform: translateY(60px) rotate(3deg); opacity: 0; }
.hw__ph--vb:hover { transform: rotate(-1deg) translateY(-6px); } .hw__ph--db:hover { transform: rotate(1deg) translateY(-6px); }

/* partner logos under the hero */
.logos { display: flex; align-items: center; gap: var(--s-6); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid #e6e9ef; }
.logos__t { font-size: 13px; color: var(--p-muted); white-space: nowrap; }
.logos__row { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); list-style: none; margin: 0; padding: 0; }
.logos__row li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #0b1b3f; }
.logos__row img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid #e6e9ef; }

/* services */
.svc { margin-top: var(--s-7); row-gap: var(--gutter, 24px); }
.svc__card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }
.svc__card h3 { margin: var(--s-2) 0 0; }
.svc__card p { margin: 0; color: var(--p-muted); }
.svc__ico { display: flex; gap: 8px; }
.svc__ico img { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #f2f4f8; }
.svc__ico svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #0b1b3f; color: #fff; }
.svc__work { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s-3); }
.svc__work a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #f2f4f8; color: #0b1b3f; text-decoration: none; transition: background .2s, color .2s; }
.svc__work a:hover { background: #0b1b3f; color: #fff; }

/* belediye module list */
.mods { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.mods li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid #e3e8f0; color: #0b1b3f; }

/* şirketler */
.sir__shots { position: relative; min-height: 560px; }
.sir__ph { width: 44%; }
.sir__ph--a { left: 6%; top: 0; transform: rotate(-2deg); }
.sir__ph--b { right: 4%; top: 60px; transform: rotate(2deg); }
.more { margin-top: var(--s-8, 64px); border-top: 1px solid #e6e9ef; padding-top: var(--s-6); display: grid; grid-template-columns: 200px 1fr; gap: var(--s-6); }
.more__h { margin: 0; font-size: 18px; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-4) var(--s-6); }
.more__list b { display: block; font-weight: 500; color: #0b1b3f; }
.more__list span { font-size: 14px; color: var(--p-muted); }

/* about */
.stack-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stack-row img { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 0; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: var(--s-5) 0; border-top: 1px solid #dfe4ec; }
.steps li:last-child { border-bottom: 1px solid #dfe4ec; }
.steps li::before { content: "0" counter(st); grid-row: span 2; font: 500 15px var(--font-mono); color: #f26a1b; padding-top: 3px; }
.steps b { font: var(--display-weight) 22px/1.2 var(--font-display); color: #0b1b3f; }
.steps span { color: var(--p-muted); }

/* contact asks */
.asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.asks a { font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.asks a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

@media (max-width: 1023px) {
  .hw { min-height: 460px; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hw { min-height: 0; aspect-ratio: 1 / 1.08; margin-top: var(--s-6); flex: none !important; }
  .hw__cv { width: 92%; padding: 7px; border-radius: 18px; }
  .hw__cv video { border-radius: 12px; }
  .hw__bar { font-size: 12px; padding-bottom: 7px; } .hw__ev { display: none; }
  .hw__ph { border-radius: 20px; padding: 4px; } .hw__scr { border-radius: 16px; }
  .hw__ph--vb { width: 34%; right: 34%; } .hw__ph--db { width: 36%; bottom: 8px; }
  .hw__name { font-size: 11px; padding: 4px 8px; }
  .logos { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .logos__row { gap: 12px 18px; } .logos__row li { font-size: 13px; } .logos__row img { width: 30px; height: 30px; }
  .sir__shots { min-height: 0; aspect-ratio: 1 / 1.05; margin-top: var(--s-6); }
  .sir__ph { width: 46%; }
  .svc__card { padding: var(--s-5); }
}
@media (prefers-reduced-motion: reduce) { .hw .hw__cv, .hw .hw__ph, .hw__ev { transition: none; } }
.hero__media.hw { background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }

.svc .svc__work a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f0; color: #0b1b3f; text-decoration: none; }
.svc .svc__work a:hover { background: #0b1b3f; border-color: #0b1b3f; color: #fff; }
.svc .svc__ico img { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f0; box-sizing: border-box; }
.sir__shots { min-height: 640px; }
.sir__ph { width: 38%; }
.sir__ph--a { left: 10%; } .sir__ph--b { right: 6%; top: 56px; }
@media (max-width: 760px) { .sir__shots { min-height: 0; } .sir__ph { width: 44%; } .sir__ph--a { left: 2%; } .sir__ph--b { right: 2%; } }

/* team and office, under the steps */
.team { margin-top: var(--s-8, 64px); padding-top: var(--s-6); border-top: 1px solid #dfe4ec; display: grid; grid-template-columns: 200px 1fr auto; gap: var(--s-6); align-items: start; }
.team__h { margin: 0; font-size: 18px; }
.team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.team__list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.team__av { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: #0b1b3f; color: #fff; display: grid; place-items: center; font: 500 15px var(--font-display); letter-spacing: .02em; }
.team__list b { font-weight: 500; color: #0b1b3f; align-self: end; }
.team__list li > span:last-child { font-size: 14px; color: var(--p-muted); align-self: start; }
.team__office { margin: 0; display: flex; gap: 10px; font-size: 14px; color: var(--p-muted); max-width: 240px; }
.team__office svg { width: 18px; height: 18px; flex: none; color: #f26a1b; margin-top: 2px; }
.team__office b { display: block; font-weight: 500; color: #0b1b3f; }
@media (max-width: 1023px) { .team { grid-template-columns: 1fr; } .team__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team__list { grid-template-columns: 1fr; } }

/* other work: a compact list in the DurmusBaba column */
#sirketler .more { margin-top: var(--s-3); padding-top: var(--s-4); border-top: 1px solid #e6e9ef; display: block; }
#sirketler .more__h { font-size: 14px; font-weight: 500; color: var(--p-muted); margin: 0 0 var(--s-2); }
#sirketler .more__list { display: grid; grid-template-columns: 1fr; gap: 0; }
#sirketler .more__list li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 15px; }
#sirketler .more__list li:last-child { border-bottom: 0; }
#sirketler .more__list b { display: inline; }
#sirketler .more__list span { text-align: right; }
#sirketler .t-lead { font-size: 18px; }
@media (max-width: 560px) { #sirketler .more__list li { flex-direction: column; gap: 0; } #sirketler .more__list span { text-align: left; } }

/* ===== v16: services pictures, logo marquee, analysis sheet, CityVision tabs, DurmusBaba rail, phone CTA ===== */
.svc__card { padding: 0 0 var(--s-5); overflow: hidden; }
.svc__card > :not(.svc__pic) { margin-inline: var(--s-5); }
.svc__pic { position: relative; height: 150px; margin: 0 0 var(--s-2); overflow: hidden; background: #e9edf3; }
.svc__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.svc__card:hover .svc__pic img { transform: scale(1.03); }
.svc__pic--map img { object-position: 45% 55%; transform: scale(1.6); }
.svc__card:hover .svc__pic--map img { transform: scale(1.66); }
.svc__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #0b1b3f; color: #fff; font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(11,27,63,.6); white-space: nowrap; }
.svc__pin::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f26a1b; margin-right: 7px; vertical-align: 1px; }
.svc__pic--phones { display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding-top: 18px; background: linear-gradient(#eef2f8, #e3e9f2); }
.svc__pic--phones img { width: 34%; height: auto; border-radius: 14px; border: 4px solid #0b1b3f; box-shadow: 0 14px 24px -14px rgba(11,27,63,.6); }
.svc__pic--phones img:last-child { margin-top: 16px; }
.svc__pic--shop { background: #fff; }
.svc__pic--shop img { object-position: 50% 14%; }
.svc__ico { margin-top: var(--s-2); }
.svc__ico img, .svc__ico svg { width: 36px !important; height: 36px !important; padding: 7px !important; }
.svc__card h3 { font-size: 19px; }
.svc__card p { font-size: 15px; }

/* logos: one row; a marquee on phones */
.logos__vp { min-width: 0; flex: 1; display: flex; justify-content: flex-end; }
.logos__row li.is-copy { display: none; }

/* CityVision tabs */
.cvg { display: flex; flex-direction: column; gap: var(--s-3); }
.cvg__tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f0; align-self: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.cvg__tabs::-webkit-scrollbar { display: none; }
.cvg__tabs button { flex: none; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--p-muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.cvg__tabs button[aria-selected="true"] { background: #0b1b3f; color: #fff; }
.cvg__tabs button:focus-visible { outline: 2px solid #f26a1b; outline-offset: 2px; }
.cvg__frame { position: relative; aspect-ratio: 3 / 2; }
.cvg__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.cvg__frame img.is-on { opacity: 1; }

/* other work as a fold */
#sirketler details.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
#sirketler details.more > summary::-webkit-details-marker { display: none; }
#sirketler details.more > summary span { font-size: 12px; background: #f2f4f8; color: #0b1b3f; border-radius: 999px; padding: 1px 8px; }
.sir__ph--c { display: none; }

/* analysis "more" button only on phones */
.mx__more { display: none; }

/* phone CTA bar */
.mcta { display: none; }

@media (max-width: 1023px) and (min-width: 761px) { .svc__card.span-3 { grid-column: span 6; } }

@media (max-width: 760px) {
  /* sections size to their content on phones: no empty screen tails */
  main > :is(section, .section):not(.hero) { min-height: 0 !important; }
  .nav__actions { display: none; }

  /* hero: buttons side by side, one video, one phone */
  .hero .btn-row { flex-direction: row; align-items: center; width: auto; gap: var(--s-4); }
  .hero .btn-row > .btn--primary { width: auto; flex: none; }
  .hero__lead { font-size: 17px; }
  .hw { aspect-ratio: 1 / .92; }
  .hw__cv { width: 100%; }
  .hw__ph--vb { display: none; }
  .hw__ph--db { width: 40%; right: 4%; bottom: 0; }

  /* logos: an endless row */
  .logos { gap: var(--s-3); margin-top: var(--s-6); }
  .logos__vp { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .logos__row { flex-wrap: nowrap; width: max-content; gap: 28px; padding-right: 28px; animation: logos 26s linear infinite; }
  .logos__row li.is-copy { display: flex; }
  .logos__row li { white-space: nowrap; }

  /* services: a swipe rail */
  .svc { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter, 24px) * -1); padding: 0 var(--gutter, 24px) 8px; scroll-padding: 0 var(--gutter, 24px); scrollbar-width: none; }
  .svc::-webkit-scrollbar { display: none; }
  .svc > .svc__card { flex: 0 0 82%; scroll-snap-align: start; }
  .svc__pic { height: 140px; }

  /* belediye: heading, map, then the words; the analysis rides on the map as a sheet */
  #belediye .wrap > .grid--top { display: contents; }
  #belediye .wrap { gap: var(--s-5); }
  #belediye .wrap > .grid--top > :first-child { order: 1; }
  #belediye .mx { order: 2; margin-top: 0; }
  #belediye .wrap > .grid--top > :last-child { order: 3; }
  .mx { border-radius: 18px; }
  .mx__bar { padding: 10px 14px; }
  .mx__svg { height: 330px !important; }
  .mx__map { border-bottom: 0 !important; }
  .mx__side { position: relative; z-index: 2; margin: -64px 10px 10px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 -6px 30px -12px rgba(11,27,63,.35); border: 1px solid #e3e8f0; gap: 12px; }
  .mx__more { display: block; position: absolute; right: 12px; top: 12px; border: 0; background: #f2f4f8; color: #0b1b3f; font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
  .mx__side .mx__head { padding-right: 96px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .mx:not(.is-more) .mx__kpis, .mx:not(.is-more) .mx-trend, .mx:not(.is-more) .mx-insight, .mx:not(.is-more) .mx-cat:nth-child(n+3) { display: none; }
  .mx__kpis { order: 5; } .mx-trend { order: 6; } .mx-insight { order: 7; }

  /* CityVision: heading, pictures, then the words; rows stack */
  #cityvision .grid--top { display: flex; flex-direction: column; gap: var(--s-5); }
  #cityvision .grid--top > .stack-6 { display: contents; }
  #cityvision .kick { order: 1; } #cityvision h2 { order: 2; margin-top: 0; } #cityvision .cvg { order: 3; }
  #cityvision .t-lead { order: 4; margin: 0; } #cityvision .rows { order: 5; margin: 0; } #cityvision .link { order: 6; margin: 0; align-self: flex-start; }
  #cityvision .rows > li { grid-template-columns: 1fr; gap: 2px; padding-block: 12px; }
  #cityvision .rows .rows__value { text-align: left; color: var(--p-muted); }
  .cvg__tabs { align-self: stretch; }
  .cvg__tabs button { font-size: 13px; padding: 7px 12px; }

  /* DurmusBaba: heading, a rail of three screens, then the words */
  #sirketler .grid--top { display: flex; flex-direction: column; gap: var(--s-5); }
  #sirketler .grid--top > .stack-5 { display: contents; }
  #sirketler .kick { order: 1; } #sirketler h2 { order: 2; margin: 0; } .sir__shots { order: 3; }
  #sirketler .t-lead { order: 4; margin: 0; } #sirketler .mods { order: 5; margin: 0; } #sirketler .more { order: 6; margin: 0; }
  .sir__shots { aspect-ratio: auto !important; min-height: 0 !important; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter, 24px) * -1); padding: 6px var(--gutter, 24px) 18px; scroll-padding: 0 var(--gutter, 24px); scrollbar-width: none; margin-top: 0 !important; }
  .sir__shots::-webkit-scrollbar { display: none; }
  .sir__ph, .sir__ph--a, .sir__ph--b, .sir__ph--c { position: relative; display: block; inset: auto; transform: none; flex: 0 0 56%; width: auto !important; scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(11,27,63,.15), 0 18px 30px -20px rgba(11,27,63,.6); }

  /* phone CTA */
  .mcta { display: flex; position: fixed; z-index: 50; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); justify-content: center; align-items: center; gap: 8px;
    height: 52px; border-radius: 14px; background: #f26a1b; color: #111; font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(11,27,63,.55);
    transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .mcta svg { width: 14px; height: 14px; }
  .mcta.is-on { transform: none; }
  footer.closing { padding-bottom: calc(var(--padb, 48px) + 80px) !important; }
}
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__row { animation: none !important; } .logos__vp { overflow-x: auto !important; }
  .cvg__frame img, .mcta, .svc__pic img { transition: none; }
}
@media (max-width: 760px) {
  .nav .nav__actions { display: none !important; }
  .hero .btn-row { flex-direction: row !important; align-items: center !important; width: auto !important; flex-wrap: wrap; }
  .hero .btn-row > .btn { width: auto !important; }
}
@media (max-width: 760px) { .hero .btn-row { display: flex !important; flex-wrap: nowrap !important; gap: 18px !important; } .hero .btn-row > .btn--secondary { padding-inline: 0; } }
@media (max-width: 760px) { .nav .nav__toggle { margin-left: auto; } }
@media (max-width: 760px) { .nav .nav__bar { justify-content: space-between; } .nav .nav__logo { margin-right: auto; } }
.svc__pic--web { background: linear-gradient(#eef2f8, #e3e9f2); padding: 16px 18px 0; }
.svc__win { height: 100%; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; box-shadow: 0 10px 24px -14px rgba(11,27,63,.5); display: flex; flex-direction: column; }
.svc__winbar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f5f7fb; border-bottom: 1px solid #e6e9ef; flex: none; }
.svc__winbar i { width: 7px; height: 7px; border-radius: 50%; background: #d5dbe5; }
.svc__winbar span { margin-left: 8px; font-size: 11px; color: #5d6b85; background: #fff; border: 1px solid #e6e9ef; border-radius: 6px; padding: 1px 10px; flex: 1; text-align: center; }
.svc__pic--web .svc__win img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: 30% 40%; }
.svc__card:hover .svc__pic--web img { transform: none; }
.logos:not(.is-live) .logos__row { animation-play-state: paused; }

/* the GBSoft wordmark (brand file, navy on light, white on the dark footer) */
.nav__logo--img { display: inline-flex; align-items: center; line-height: 0; }
.nav__logo--img img { height: 30px; width: auto; display: block; }
footer .nav__logo--img img { height: 34px; }
@media (max-width: 760px) { .nav__logo--img img { height: 26px; } }

/* closing wordmark: "gbsoft" types in letter by letter, then the big blue dot drops and lands */
.endmark { margin: clamp(48px, 6vw, 96px) 0 clamp(20px, 2.4vw, 36px); }
.endmark + .footer__legal { margin-top: 0; }
.endmark svg { display: block; width: 100%; height: auto; overflow: visible; }
.endmark__l { opacity: 0; transform: translateY(14%); transform-box: fill-box; }
.endmark__dot { fill: #004cfd; transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(-330%); }
.endmark.is-in .endmark__l { animation: em-type .42s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * .16s); }
.endmark.is-in .endmark__dot { animation: em-drop 1.05s linear forwards; animation-delay: 1.15s; }
@keyframes em-type {
  0% { opacity: 0; transform: translateY(14%); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes em-drop { /* falls, squashes on the baseline, bounces once, settles */
  0% { opacity: 1; transform: translateY(-330%); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  42% { transform: translateY(0) scale(1.16, .8); animation-timing-function: cubic-bezier(0,.55,.45,1); }
  62% { transform: translateY(-24%) scale(.95, 1.06); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  80% { transform: translateY(0) scale(1.06, .93); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .endmark__l, .endmark__dot { opacity: 1; transform: none; animation: none !important; }
}
/* the closing grows with its wordmark instead of clipping it */
footer.closing#contact { height: auto !important; min-height: 0; }
footer.closing#contact > .wrap { height: auto; }
