/* SAIS — bright editorial system. Homepage layout remains content-first. */
@font-face {
  font-family: "SAIS Hero Heavy";
  src: url("../fonts/inter-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0000-052F, U+1E00-1EFF, U+2000-206F;
}
@font-face {
  font-family: "SAIS Hero Heavy";
  src: url("../fonts/noto-sans-georgian-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}
:root {
  --cd-radius: 30px;
}

html { scroll-behavior: smooth; }
body.sais-layout-home {
  --bg: var(--cd-bg);
  --bg-soft: #f4f4f0;
  --bg-dark: var(--cd-bg);
  --ink: var(--cd-ink);
  --ink-2: #3f403d;
  --ink-3: #666762;
  --line: var(--cd-line);
  --accent: var(--cd-orange);
  --accent-hover: var(--cd-orange-deep);
  --accent-bright: var(--cd-orange);
  --fw-regular: 500;
  --fw-medium: 600;
  --fw-semi: 700;
  --fw-bold: 800;
  background: var(--cd-bg);
  color: var(--cd-ink);
  overflow-x: hidden;
}
body.sais-layout-home :where(h1,h2,h3,h4,p) { text-shadow: none; }
body.sais-layout-home .wrap { width: min(100% - 64px, 1540px); max-width: none; }
body.sais-layout-home :where(h1,h2,h3,h4) { color: var(--cd-ink); font-weight: 800; letter-spacing: -.01em; }
body.sais-layout-home :where(p,li,span) { text-shadow: none; }
body.sais-layout-home .reveal { transition-duration: .65s; }
/* Let the content arrive cleanly on load and scroll, without the old blur/skew wave. */
@keyframes cd-content-enter {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.js body.sais-layout-home .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: none;
  animation: none;
  will-change: transform, opacity;
}
.js body.sais-layout-home .reveal.is-in {
  animation: cd-content-enter .82s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms) both;
}
.js body.sais-layout-home .reveal .reveal-part {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: none;
  animation: none;
  will-change: transform, opacity;
}
.js body.sais-layout-home .reveal.is-in .reveal-part {
  animation: cd-content-enter .72s cubic-bezier(.16, 1, .3, 1)
    calc(var(--reveal-delay, 0ms) + var(--reveal-part-delay, 0ms) + 90ms) both;
}
.js body.sais-layout-home .reveal.reveal-complete,
.js body.sais-layout-home .reveal.reveal-complete .reveal-part { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .js body.sais-layout-home .reveal,
  .js body.sais-layout-home .reveal.is-in,
  .js body.sais-layout-home .reveal .reveal-part,
  .js body.sais-layout-home .reveal.is-in .reveal-part {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
body.sais-layout-home .btn,
body.sais-layout-home .link-arrow { font-weight: 650; text-decoration: none; }
body.sais-layout-home .btn-primary { background: var(--cd-orange); color: #fff; border-color: var(--cd-orange); }
body.sais-layout-home .btn-primary:hover { background: var(--cd-orange-deep); border-color: var(--cd-orange-deep); }
body.sais-layout-home .link-arrow { color: var(--cd-ink); }
body.sais-layout-home .link-arrow:hover { color: var(--cd-orange-deep); }
body.sais-layout-home .link-arrow::after { color: var(--cd-orange); }

/* Navigation is a quiet, floating control on the same light canvas. */
body.sais-layout-home .topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}
body.sais-layout-home .topbar.is-stuck { background: transparent; border: 0; box-shadow: none; }
body.sais-layout-home .topbar .nav {
  width: max-content;
  max-width: calc(100% - 64px);
  min-height: 62px;
  gap: 20px;
  padding: 6px 12px 6px 22px;
  border-radius: 999px;
  background: rgba(248, 248, 245, .96);
  border: 1px solid rgba(9,9,9,.08);
  box-shadow: 0 6px 25px rgba(0,0,0,.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}
body.sais-layout-home .brand-logo {
  height: 27px;
  filter: brightness(0);
  opacity: 1;
}
body.sais-layout-home .nav-links { gap: 6px; margin-left: 0; }
body.sais-layout-home .nav-links a {
  padding-inline: 6px;
  color: #151515;
  font-size: clamp(.71rem, .62rem + .2vw, .87rem);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
body.sais-layout-home .nav-links a:not(.nav-cta) {
  min-height: 38px;
  font-size: clamp(.79rem, .7rem + .12vw, .9rem);
}
body.sais-layout-home .nav-links a:hover,
body.sais-layout-home .nav-links a[aria-current] { color: var(--cd-orange-deep); font-weight: 700; }
body.sais-layout-home .nav-links a.nav-cta,
body.sais-layout-home .nav-links a.nav-cta:hover {
  min-height: 44px;
  margin-left: 4px;
  padding: 8px 15px;
  background: var(--cd-orange);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
body.sais-layout-home .nav > .lang {
  order: 2;
  min-height: 34px;
  margin-left: 0;
  padding: 2px;
  border-color: rgba(0,0,0,.13);
  background: transparent;
  box-shadow: none;
}
body.sais-layout-home .nav > .lang button { min-width: 32px; min-height: 28px; padding-inline: 5px; font-size: .78rem; }
body.sais-layout-home .nav > .lang button { color: #595a55; }
body.sais-layout-home .nav > .lang button[aria-pressed="true"] { background: var(--cd-ink); color: #fff; box-shadow: none; }
body.sais-layout-home .icon-button { color: var(--cd-ink); }

/* First screen: orange and violet halftone with two light cut-out panels. */
body.sais-layout-home .cosmos-hero {
  display: block;
  min-height: 0;
  overflow: visible;
  padding: 18px 0 48px;
  border: 0;
  background: var(--cd-bg);
}
body.sais-layout-home .cosmos-hero::after { display: none; }
body.sais-layout-home .cosmos-hero__layout {
  position: relative;
  display: block;
  min-height: 590px;
  height: clamp(590px, calc(100svh - 112px), 790px);
  overflow: hidden;
  border-radius: 0 34px 0 34px;
  background: var(--cd-orange);
  isolation: isolate;
}
.sais-layout-home .hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle, var(--cd-secondary-deep) 0 3.5px, transparent 4px) 0 0 / 15px 15px,
    linear-gradient(120deg, var(--cd-violet) 8%, var(--cd-orange) 48%, var(--cd-violet) 79%, var(--cd-orange));
  animation: cd-hero-art-enter .9s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cd-hero-art-enter {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
.sais-layout-home .hero-art__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  filter: var(--cd-media-filter, none);
}
.sais-layout-home .cosmos-hero__copy { position: static; display: block; padding: 0; }
.sais-layout-home .hero-title-panel {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(65%, 1015px);
  padding: clamp(18px, 2vw, 32px) clamp(28px, 3vw, 48px) clamp(30px, 3vw, 46px);
  border-radius: 0 0 34px 0;
  background: var(--cd-bg);
}
.sais-layout-home .cosmos-kicker {
  color: var(--cd-orange-deep);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .09em;
}
.sais-layout-home .cosmos-hero h1 {
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  font-family: "SAIS Hero Heavy", "Inter", "Noto Sans Georgian", sans-serif;
  font-size: clamp(3.25rem, 4.8vw, 5.1rem);
  line-height: 1.06;
  font-weight: 900;
  overflow-wrap: anywhere;
  letter-spacing: -.014em;
}
html:is([lang="en"], [lang="ru"]) .sais-layout-home .cosmos-hero h1 { letter-spacing: -.04em; }
html[lang="ka"] .sais-layout-home .hero-title-break { display: none; }
@media (min-width: 701px) {
  html[lang="ka"] .sais-layout-home .cosmos-hero h1 { font-size: clamp(3.1rem, 4.4vw, 4.72rem); }
}
@media (min-width: 701px) and (max-width: 1000px) {
  html[lang="ka"] .sais-layout-home .hero-title-panel { width: 75%; }
  html[lang="ka"] .sais-layout-home .cosmos-hero h1 { font-size: clamp(2.35rem, 5vw, 3.05rem); }
}
.sais-layout-home .cosmos-hero h1 span { overflow-wrap: anywhere; }
.sais-layout-home .hero-action-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(43%, 560px);
  padding: clamp(26px, 3vw, 45px);
  border-radius: 30px 0 0 0;
  background: var(--cd-bg);
}
.sais-layout-home .cosmos-lead {
  max-width: 56ch;
  color: #343632;
  font-size: clamp(1rem, .83rem + .35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.58;
}
.sais-layout-home .hero-action-panel .cosmos-lead { margin: 0 0 24px; }
.sais-layout-home .cosmos-hero .btn-row { display: flex; align-items: center; gap: 18px; }
.sais-layout-home .cosmos-hero .btn { min-height: 48px; padding: 11px 19px; }
.sais-layout-home .cosmos-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 25px;
  padding-top: 26px;
  color: #535550;
  font-size: .82rem;
  font-weight: 700;
}
.sais-layout-home .cosmos-proof span:not(:last-child)::after { background: var(--cd-orange); }
.sais-layout-home .cosmos-scroll { display: none; }

/* All nine projects share one horizontal story, with native touch and mouse drag. */
.sais-layout-home .cosmos-section { padding-block: clamp(75px, 9vw, 150px); overflow: visible; }
.sais-layout-home .cosmos-section--full { display: block; min-height: 0; border: 0; }
.page-home.sais-layout-home .cosmos-projects { height: auto; min-height: 0; background: var(--cd-bg); }
body.sais-layout-home .cosmos-projects > .wrap { width: calc(100% - 120px); padding-inline: 0; }
.sais-layout-home .cosmos-projects::before,
.sais-layout-home .cosmos-projects::after { display: none; }
.sais-layout-home .works-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.sais-layout-home .projects-title {
  max-width: none;
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 6.6rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -.022em;
}
.sais-layout-home .works-heading__actions { display: flex; align-items: center; gap: 26px; padding-bottom: 8px; }
.sais-layout-home .project-controls { display: flex; gap: 8px; }
.sais-layout-home .project-control {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--cd-ink);
  background: var(--cd-paper);
  border: 1px solid var(--cd-line);
  border-radius: 50%;
  cursor: pointer;
  font: 700 1.35rem/1 var(--font);
  transition: background .2s, color .2s, transform .2s;
}
.sais-layout-home .project-control:hover:not(:disabled) { background: var(--cd-orange); color: #fff; transform: translateY(-2px); }
.sais-layout-home .project-control:disabled { opacity: .36; cursor: default; }
.sais-layout-home .works-grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  padding: 0 clamp(16px, 2.5vw, 32px) 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(16px, 2.5vw, 32px);
  scrollbar-width: thin;
  scrollbar-color: var(--cd-orange) transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.sais-layout-home .works-grid.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.sais-layout-home .work-card {
  flex: 0 0 clamp(320px, 30vw, 560px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 0;
  border-radius: var(--cd-radius);
  color: var(--cd-ink);
  background: var(--cd-paper);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .25s, box-shadow .25s;
}
.sais-layout-home .work-card:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(0,0,0,.09); }
.sais-layout-home .work-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #e9e9e7;
}
.sais-layout-home .work-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  filter: none;
  transition: transform .5s;
}
.sais-layout-home .work-card:hover img { transform: scale(1.035); }
.sais-layout-home .work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 23px 8px 8px; }
.sais-layout-home .work-card__meta h3 { margin: 0; font-size: clamp(1.3rem, 1.8vw, 1.9rem); line-height: 1.25; }
.sais-layout-home .work-card__meta span {
  flex: none;
  padding: 5px 9px;
  color: #40413d;
  background: #ededcc;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 750;
}
.sais-layout-home .work-card p { flex: 1; margin: 0 8px 24px; color: #494b47; font-size: .93rem; line-height: 1.56; }
.sais-layout-home .work-card__visit { display: flex; justify-content: space-between; align-items: center; margin: 0 8px 6px; padding-top: 16px; border-top: 1px solid var(--cd-line); color: var(--cd-ink); font-size: .87rem; font-weight: 750; }

/* Alternating editorial panels for the product-service stories. */
.sais-layout-home #services {
  position: relative;
  background-color: var(--cd-bg);
  background-image: radial-gradient(circle, rgba(110,112,108,.14) 2px, transparent 2.45px);
  background-size: 17px 17px;
}
.sais-layout-home .section-heading { margin-bottom: clamp(35px, 6vw, 90px); }
.sais-layout-home .section-heading__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cd-orange-deep);
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .09em;
}
.sais-layout-home .section-heading h2,
.sais-layout-home .cosmos-heading h2,
.sais-layout-home .cosmos-contact h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 6.8rem);
  line-height: 1.1;
  font-weight: 850;
}
.sais-layout-home .section-heading--center { text-align: center; }
.sais-layout-home .section-heading--center .cosmos-lead { margin: 18px auto 0; }
.sais-layout-home .service-stories { display: grid; gap: clamp(18px, 3vw, 46px); }
.sais-layout-home .service-story { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 15px; height: clamp(380px, 30vw, 450px); min-height: 0; }
.sais-layout-home .service-story--reverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.sais-layout-home .service-story--reverse .service-story__copy { order: 2; }
.sais-layout-home .service-story--reverse .service-story__art { order: 1; }
.sais-layout-home .service-story__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.5vw, 62px);
  border-radius: var(--cd-radius);
  background: var(--cd-paper);
}
.sais-layout-home .service-story__number {
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border-radius: 14px;
  background: var(--cd-ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
}
.sais-layout-home .service-story__copy h3 {
  margin: auto 0 16px;
  max-width: 14ch;
  font-size: clamp(2rem, 3vw, 3.8rem);
  line-height: 1.15;
}
.sais-layout-home .service-story__copy p { max-width: 52ch; margin: 0; color: #343632; font-size: clamp(1rem, 1.1vw, 1.18rem); line-height: 1.62; }
.sais-layout-home .service-story__art { min-width: 0; overflow: hidden; border-radius: var(--cd-radius); }
.sais-layout-home .service-story__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); background: var(--cd-violet); filter: var(--cd-media-filter, none); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sais-layout-home .service-story:nth-child(2) .service-story__art img,
.sais-layout-home .service-story:nth-child(4) .service-story__art img { background: var(--cd-orange); }
.sais-layout-home .service-story:hover .service-story__art img { transform: scale(1.095); }
.sais-layout-home .services-link { display: inline-flex; margin-top: 40px; padding: 16px 22px; border: 1px dotted #222; border-radius: 999px; background: var(--cd-paper); }

/* Process: four stages with visible rightward or downward progression. */
.sais-layout-home .cosmos-process { background: var(--cd-bg); }
.sais-layout-home .process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sais-layout-home .process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(340px, 25vw, 390px);
  padding: clamp(22px, 2vw, 34px);
  border: 0;
  border-radius: 28px;
  background: var(--cd-orange);
  color: #fff;
  text-align: left;
  font-family: var(--font);
}
.sais-layout-home .process-step:last-child { background: var(--cd-orange-deep); }
.sais-layout-home .process-step__top { font-size: .9rem; font-weight: 850; }
.sais-layout-home .process-step__art {
  display: block;
  width: min(100%, 292px);
  height: clamp(140px, 11vw, 178px);
  margin: 10px auto 12px;
  object-fit: contain;
  filter: var(--cd-media-filter, none);
  pointer-events: none;
}
.sais-layout-home .process-step__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -33px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 4px solid var(--cd-bg);
  border-radius: 50%;
  background: #fff;
  color: var(--cd-orange-deep);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}
.sais-layout-home .process-step:last-child .process-step__arrow {
  top: clamp(22px, 2vw, 34px);
  right: clamp(22px, 2vw, 34px);
  transform: none;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  color: #fff;
}
.sais-layout-home .process-step__copy { display: grid; gap: 15px; margin-top: auto; }
.sais-layout-home .process-step__copy strong { color: #fff; font-size: clamp(1.45rem, 2vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.sais-layout-home .process-step__copy > span { color: rgba(255,255,255,.94); font-size: .91rem; line-height: 1.56; }

/* Academy and forum are distinct destinations, not decorative filler. */
.sais-layout-home .cosmos-offers { background: var(--cd-bg); }
.sais-layout-home .cosmos-offers .cosmos-stage { display: block; }
.sais-layout-home .cosmos-offers .cosmos-content { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.sais-layout-home .cosmos-feature { position: relative; min-height: clamp(390px, 36vw, 530px); padding: clamp(34px, 4vw, 60px); border: 0; border-radius: var(--cd-radius); overflow: hidden; grid-template-rows: auto minmax(auto, 1fr) auto auto; align-content: stretch; gap: 18px; color: #fff; text-decoration: none; cursor: pointer; }
.sais-layout-home .cosmos-feature:focus-visible { outline: 3px solid var(--cd-ink); outline-offset: 4px; }
.sais-layout-home .cosmos-feature:hover .link-arrow::after,
.sais-layout-home .cosmos-feature:focus-visible .link-arrow::after { transform: translateX(3px); }
.sais-layout-home .cosmos-feature:first-child { background: var(--cd-violet); }
.sais-layout-home .cosmos-feature:last-child { background: var(--cd-orange); }
.sais-layout-home .cosmos-feature::before { content: ""; position: absolute; width: 50%; aspect-ratio: 1; top: -15%; right: -6%; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.08), 0 0 0 56px rgba(255,255,255,.05); }
.sais-layout-home .cosmos-feature h2 { max-width: 17ch; color: #fff; font-size: clamp(2.15rem, 3.5vw, 4.4rem); line-height: 1.15; font-weight: 850; }
.sais-layout-home .cosmos-feature .cosmos-kicker { color: #fff; }
.sais-layout-home .cosmos-feature .cosmos-lead { color: rgba(255,255,255,.94); max-width: 48ch; }
.sais-layout-home .cosmos-feature .link-arrow { color: #fff; }
.sais-layout-home .cosmos-feature .link-arrow::after { color: #fff; }

/* FAQ and contact remain fully legible on the same warm page. */
.sais-layout-home .cosmos-questions { background: var(--cd-bg); }
.sais-layout-home .cosmos-questions .cosmos-narrow { width: min(100% - 64px, 1100px); max-width: none; margin-inline: auto; }
.sais-layout-home .cosmos-heading { margin-bottom: 40px; }
.sais-layout-home .faq { gap: 10px; max-width: none; border: 0; }
.sais-layout-home .faq-item,
.sais-layout-home .faq-item[open] { border: 1px solid rgba(0,0,0,.08); border-radius: 20px; background: var(--cd-paper); box-shadow: none; }
.sais-layout-home .faq-item summary { padding: 23px 28px; color: var(--cd-ink); font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 750; }
.sais-layout-home .faq-item summary::after { border-color: var(--cd-orange); right: 30px; }
.sais-layout-home .faq-item__body { padding: 0 28px 25px; color: #454742; }
.sais-layout-home .faq-item__body p { color: #454742; font-size: 1rem; line-height: 1.6; }
.sais-layout-home .cosmos-contact { border: 0; background: var(--cd-bg); }
.sais-layout-home .cosmos-contact__layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 18px; align-items: stretch; }
.sais-layout-home .cosmos-contact__copy { position: relative; top: auto; min-width: 0; display: flex; flex-direction: column; justify-content: end; gap: 24px; min-height: 500px; padding: clamp(32px, 4vw, 62px); border-radius: var(--cd-radius); background: var(--cd-orange); }
.sais-layout-home .cosmos-contact__copy::before { content: ""; position: absolute; top: 6%; left: 9%; width: 70%; aspect-ratio: 1.7; border-radius: 50%; border: 2px dotted rgba(255,255,255,.58); transform: rotate(-18deg); }
.sais-layout-home .cosmos-contact h2 { position: relative; max-width: 11ch; color: #fff; font-size: clamp(2.5rem,4.2vw,5.2rem); }
html[lang="ka"] .sais-layout-home .cosmos-contact__copy h2 { max-width: none; overflow-wrap: normal; word-break: normal; }
@media (min-width: 701px) {
  html[lang="ka"] .sais-layout-home .cosmos-contact__copy h2 { font-size: clamp(2.4rem, 3.6vw, 4.65rem); }
}
@media (min-width: 701px) and (max-width: 1000px) {
  html[lang="ka"] .sais-layout-home .cosmos-contact__copy h2 { font-size: 3.4vw; }
}
.sais-layout-home .cosmos-contact__copy .cosmos-lead { position: relative; max-width: 36ch; color: #fff; }
.sais-layout-home .cosmos-contact .form-grid { align-content: center; min-width: 0; padding: clamp(26px, 3vw, 50px); border-radius: var(--cd-radius); background: var(--cd-paper); }
.sais-layout-home .cosmos-contact .label,
.sais-layout-home .cosmos-contact .check { color: var(--cd-ink); }
.sais-layout-home .cosmos-contact :is(.input,.select,.textarea) { color: var(--cd-ink); background: #ecece8; border-color: rgba(0,0,0,.12); }
.sais-layout-home .cosmos-contact :is(.input,.textarea)::placeholder { color: #777973; }
.sais-layout-home .cosmos-contact .link-brand { color: var(--cd-orange-deep); }
.sais-layout-home .cosmos-contact .btn-primary { color: #fff; }

body.sais-layout-home .footer { position: relative; background: #101010; border: 0; }
body.sais-layout-home .footer .brand-logo { filter: brightness(0) invert(1); }
body.sais-layout-home .footer :is(h3,.footer__col a,.footer__bottom a,.footer__about,.footer__legal,.footer__bottom) { color: #d5d5d1; }
body.sais-layout-home .footer a:hover { color: var(--cd-footer-link); }

/* Keep the assistant's invitation visible beside the robot on the homepage. */

@media (max-width: 1100px) {
  body.sais-layout-home .topbar .nav { width: min(100% - 28px, 1120px); max-width: none; padding-inline: 18px; }
  body.sais-layout-home .nav-links { background: var(--cd-paper); border: 1px solid rgba(0,0,0,.1); border-radius: 20px; box-shadow: 0 20px 35px rgba(0,0,0,.12); }
  body.sais-layout-home .nav-links a { color: var(--cd-ink); font-size: .96rem; }
  body.sais-layout-home .nav-links a:hover { color: var(--cd-orange-deep); }
  body.sais-layout-home .nav-links a.nav-cta { margin-left: 0; }
  body.sais-layout-home .nav > .lang { margin-left: auto; }
  body.sais-layout-home .nav-links a:not(.nav-cta) { font-size: .79rem; padding-inline: 3px; }
  .sais-layout-home .hero-title-panel { width: 69%; }
  .sais-layout-home .hero-action-panel { width: 52%; }
  .sais-layout-home .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sais-layout-home .process-step { min-height: 300px; }
  .sais-layout-home .process-step__art { height: 145px; }
  .sais-layout-home .process-step:nth-child(2) .process-step__arrow {
    top: auto;
    right: auto;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .sais-layout-home .process-step:nth-child(3) .process-step__arrow { display: grid; }
}

@media (max-width: 700px) {
  body.sais-layout-home .cosmos-projects > .wrap { width: calc(100% - 28px); }
  .sais-layout-home #services > .wrap { padding-inline: 0; }
  body.sais-layout-home .wrap,
  body.sais-layout-home .topbar .nav,
  .sais-layout-home .cosmos-questions .cosmos-narrow { width: min(100% - 28px, 1540px); }
  body.sais-layout-home .wrap { padding-inline: 0; }
  body.sais-layout-home .topbar { padding-top: 8px; }
  body.sais-layout-home .topbar .nav { min-height: 50px; gap: 8px; padding: 5px 9px; }
  body.sais-layout-home .brand-logo { height: 19px; }
  body.sais-layout-home .nav > .lang { margin-left: auto; margin-right: 3px; }
  body.sais-layout-home .nav > .lang { min-height: 31px; }
  body.sais-layout-home .nav > .lang button { min-width: 27px; min-height: 25px; font-size: .71rem; }
  body.sais-layout-home .cosmos-hero { padding-top: 10px; padding-bottom: 14px; }
  body.sais-layout-home .cosmos-hero__layout { height: clamp(510px, 68svh, 600px); min-height: 0; border-radius: 0 24px 0 24px; }
  .sais-layout-home .hero-title-panel { width: 100%; padding: 18px 17px 23px; border-radius: 0 0 25px 0; }
  .sais-layout-home .cosmos-kicker { font-size: .68rem; }
  .sais-layout-home .cosmos-hero h1 { font-size: clamp(1.65rem, 7.4vw, 2.65rem); line-height: 1.07; margin-top: 8px; }
  html[lang="ka"] .sais-layout-home .cosmos-hero h1 { font-size: clamp(1.27rem, 6.35vw, 2.45rem); }
  .sais-layout-home .hero-action-panel { width: min(91%, 430px); padding: 17px 18px 19px; border-radius: 24px 0 0 0; }
  .sais-layout-home .hero-action-panel .cosmos-lead { margin-bottom: 12px; font-size: .86rem; line-height: 1.47; }
  .sais-layout-home .cosmos-hero .btn-row { flex-wrap: wrap; gap: 8px 10px; }
  .sais-layout-home .cosmos-hero .btn { min-height: 44px; padding: 9px 14px; font-size: .8rem; }
  .sais-layout-home .cosmos-hero .link-arrow { font-size: .82rem; }
  .sais-layout-home .cosmos-proof { justify-content: center; gap: 5px 12px; padding-top: 15px; font-size: .65rem; }
  .sais-layout-home .cosmos-proof span:not(:last-child)::after { margin-left: 14px; }
  .sais-layout-home .cosmos-section { padding-block: 36px; }
  .sais-layout-home .works-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 15px; }
  .sais-layout-home .projects-title { font-size: clamp(2.05rem, 7.2vw, 3rem); }
  .sais-layout-home .works-heading__actions { width: 100%; justify-content: space-between; padding-bottom: 0; }
  .sais-layout-home .project-control { width: 40px; height: 40px; }
  .sais-layout-home .works-grid { gap: 10px; padding-bottom: 10px; }
  .sais-layout-home .work-card { flex-basis: min(74vw, 350px); padding: 10px; border-radius: 20px; }
  .sais-layout-home .work-card__media { border-radius: 13px; }
  .sais-layout-home .work-card__meta { flex-wrap: wrap; gap: 5px; margin: 12px 4px 6px; }
  .sais-layout-home .work-card__meta h3 { font-size: 1.14rem; }
  .sais-layout-home .work-card__meta span { font-size: .6rem; }
  .sais-layout-home .work-card p { margin: 0 4px 11px; font-size: .78rem; line-height: 1.38; }
  .sais-layout-home .work-card__visit { margin: 0 4px 3px; padding-top: 10px; font-size: .76rem; }
  .sais-layout-home .section-heading { margin-bottom: 22px; }
  .sais-layout-home .section-heading h2,
  .sais-layout-home .cosmos-heading h2 { font-size: clamp(2.05rem, 7.5vw, 3rem); }
  .sais-layout-home .service-stories { gap: 12px; }
  .sais-layout-home .service-story,
  .sais-layout-home .service-story--reverse { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); height: auto; min-height: 220px; gap: 0; border-radius: 20px; overflow: hidden; }
  .sais-layout-home .service-story--reverse { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .sais-layout-home .service-story__copy,
  .sais-layout-home .service-story--reverse .service-story__copy { min-height: 0; padding: 15px 14px; border-radius: 0; }
  .sais-layout-home .service-story__copy { order: 0; }
  .sais-layout-home .service-story--reverse .service-story__copy { order: 2; }
  .sais-layout-home .service-story__art,
  .sais-layout-home .service-story--reverse .service-story__art { order: 0; height: auto; border-radius: 0; }
  .sais-layout-home .service-story__number { width: 34px; height: 34px; border-radius: 9px; font-size: .7rem; }
  .sais-layout-home .service-story__copy h3 { margin: auto 0 7px; font-size: clamp(1.18rem, 4.6vw, 1.65rem); line-height: 1.13; overflow-wrap: anywhere; }
  .sais-layout-home .service-story__copy p { font-size: .83rem; line-height: 1.4; }
  .sais-layout-home .services-link { margin-top: 19px; padding: 12px 16px; }
  .sais-layout-home .section-heading--center .cosmos-lead { margin-top: 11px; font-size: .88rem; line-height: 1.42; }
  .sais-layout-home .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sais-layout-home .process-step { min-height: 232px; padding: 15px; border-radius: 20px; }
  .sais-layout-home .process-step__art { width: min(100%, 160px); height: 94px; margin: 0 auto 5px; }
  .sais-layout-home .process-step__copy { gap: 6px; }
  .sais-layout-home .process-step__copy strong { font-size: clamp(1.1rem, 4.5vw, 1.45rem); }
  .sais-layout-home .process-step__copy > span { font-size: .79rem; line-height: 1.38; }
  .sais-layout-home .process-step__arrow { right: -19px; width: 32px; height: 32px; border-width: 3px; font-size: 1.2rem; }
  .sais-layout-home .process-step:nth-child(2) .process-step__arrow { bottom: -19px; left: 50%; }
  .sais-layout-home .process-step:last-child .process-step__arrow { top: 14px; right: 14px; width: 31px; height: 31px; }
  .sais-layout-home .cosmos-offers .cosmos-content { grid-template-columns: minmax(0,1fr); }
  .sais-layout-home .cosmos-offers .cosmos-content { gap: 12px; }
  .sais-layout-home .cosmos-feature { min-height: 242px; padding: 22px; gap: 9px; border-radius: 20px; }
  .sais-layout-home .cosmos-feature h2 { font-size: clamp(1.65rem, 6.4vw, 2.4rem); line-height: 1.12; }
  .sais-layout-home .cosmos-feature .cosmos-lead { font-size: .84rem; line-height: 1.43; }
  .sais-layout-home .cosmos-feature .link-arrow { font-size: .82rem; }
  .sais-layout-home .cosmos-contact__layout { grid-template-columns: minmax(0,1fr); }
  .sais-layout-home .cosmos-contact__layout { gap: 12px; }
  .sais-layout-home .cosmos-contact__copy { min-height: 220px; padding: 24px; gap: 12px; border-radius: 20px; }
  .sais-layout-home .cosmos-contact h2 { font-size: clamp(2rem, 7.2vw, 3rem); }
  .sais-layout-home .cosmos-contact__copy .cosmos-lead { font-size: .89rem; line-height: 1.45; }
  .sais-layout-home .cosmos-contact .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 21px; border-radius: 20px; }
  .sais-layout-home .cosmos-contact .form-grid .span-2 { grid-column: 1 / -1; }
  .sais-layout-home .cosmos-heading { margin-bottom: 20px; }
  .sais-layout-home .faq-item summary { padding: 17px 20px; font-size: .94rem; }
  .sais-layout-home .faq-item summary::after { right: 20px; }
  .sais-layout-home .faq-item__body { padding: 0 20px 18px; }
}

@media (max-width: 359px) {
  .sais-layout-home .service-story { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
  .sais-layout-home .service-story--reverse { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
  .sais-layout-home .service-story__copy,
  .sais-layout-home .service-story--reverse .service-story__copy { padding: 13px 11px; }
  .sais-layout-home .service-story__copy h3 { font-size: 1.05rem; }
  .sais-layout-home .service-story__copy p { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sais-layout-home .hero-art,
  .sais-layout-home .hero-art__video { animation: none; }
  .sais-layout-home .work-card,
  .sais-layout-home .service-story__art img { transition: none; }
}
