/* Isoftke — brand site. Solid red / navy / white only. One typeface (Poppins). 1px solid rules, no shadows, no gradients, no transparency. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.9212f6f9860f.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.a09f2fccfee3.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.72993dddf88a.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.25b0e113ca7c.woff2") format("woff2"); }

:root {
  --red: #AF0606;
  --navy: #030D44;
  --white: #FFFFFF;
  --line: #030D44;
  --wrap: 1160px;
  --gap: clamp(1.25rem, 2.5vw, 1.75rem);
  --sec: clamp(1.75rem, 3vw, 2.5rem);
  --radius: 6px;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --font: Poppins, ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 16px/1.75 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.1rem; line-height: 1.35; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.red { color: var(--red); }

/* ---------- Building blocks ---------- */
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-size: .9rem; font-weight: 600;  color: var(--red); }
.kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.on-navy .kicker, .on-red .kicker { color: var(--white); }
.lead { font-size: 1.08rem; line-height: 1.75; }

.section { padding-block: var(--sec); }
.on-navy { background: var(--navy); color: var(--white); }
.on-red { background: var(--red); color: var(--white); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem var(--gap); align-items: end; margin-bottom: 1.25rem; }
.head h2 { margin: 0; }
.head > p { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border: 1px solid var(--red); border-radius: 4px; background: var(--red); color: var(--white); font: 500 .92rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--line { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--navy); color: var(--white); border-color: var(--white); }
.on-navy .btn--white:hover { background: var(--red); border-color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.go { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; font-size: .93rem; text-decoration: none; color: var(--red); }
.go .i { transition: transform .3s var(--ease); }
.go:hover .i { transform: translateX(4px); }
.on-navy .go, .on-red .go { color: var(--white); }

.chip { display: inline-block; padding: .4em .95em; border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.chip:hover, .chip.is-active { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); }
.header .wrap { display: flex; align-items: center; gap: 2rem; height: 76px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nav a { position: relative; padding: .55rem .8rem; font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--red); }
.nav .btn { margin-left: .8rem; padding: .65em 1.2em; }
.nav .btn, .nav .btn:hover { color: var(--white); }
.nav .btn::after { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .5rem 16px 2rem; background: var(--white); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; overflow-y: auto; }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .menu-open { overflow: hidden; }
  .nav a { padding: .95rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 1.5rem 0 0; font-size: 1rem; border-bottom: 1px solid var(--red); padding: 1em; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .55em; animation: rise .9s var(--ease) both; }
.hero .lead { max-width: 32em; animation: rise .9s .1s var(--ease) both; }
.hero .actions { animation: rise .9s .2s var(--ease) both; }
.place { display: flex; align-items: center; gap: .7rem; margin-top: 2.2rem; font-size: .88rem; font-weight: 500; animation: rise .9s .3s var(--ease) both; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.2s infinite; }
.on-navy .pulse { background: var(--white); } .on-navy .pulse::after { border-color: var(--white); }

/* Video hero */
.hero--video { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video .wrap { position: relative; display: block; }
.hero--video .lead { max-width: 40em; }
.hero--video .kicker { color: var(--white); }
.hero--video .red { color: var(--white); background: var(--red); padding: 0 .18em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero--video .btn:not(.btn--white):hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero--video .eco { background: var(--white); color: var(--navy); }
.hero--video .eco__top { border-bottom-color: var(--navy); }
.hero--video .eco__item { border-color: var(--navy); }
.hero--video .eco__item:hover { background: var(--navy); color: var(--white); }
.hero--video .eco__item:hover .i { color: var(--white); }
.hero--video .mono--white { background: var(--navy); color: var(--white); }

/* Ecosystem panel (hero visual) */
.eco { background: var(--navy); color: var(--white); border-radius: 8px; padding: clamp(1.3rem, 3vw, 1.8rem); animation: rise 1s .15s var(--ease) both; }
.eco__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--white); font-size: .8rem; font-weight: 600;  }
.eco__top span:last-child { display: inline-flex; align-items: center; gap: .5rem; letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: .8rem; }
.eco__list { display: grid; gap: .7rem; }
.eco__item { display: grid; grid-template-columns: 46px 1fr auto; gap: .95rem; align-items: center; padding: .85rem; border: 1px solid var(--white); border-radius: 6px; text-decoration: none; transition: background .25s, color .25s; animation: rise .8s var(--ease) both; }
.eco__item:nth-child(1) { animation-delay: .35s; } .eco__item:nth-child(2) { animation-delay: .45s; } .eco__item:nth-child(3) { animation-delay: .55s; }
.eco__item:hover { background: var(--white); color: var(--navy); }
.eco__item strong { display: block; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.eco__item small { font-size: .8rem; }
.eco__item .i { transition: transform .3s var(--ease), color .2s; }
.eco__item:hover .i { transform: translateX(3px); color: var(--red); }
.eco__item .mono { width: 46px; height: 46px; font-size: 1.1rem; }
.eco__foot { margin: 1.1rem 0 0; font-size: .82rem; }

.mono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; background: var(--red); color: var(--white); font-size: 1.2rem; font-weight: 600; }
.mono--white { background: var(--white); color: var(--navy); }
.mono--navy { background: var(--navy); color: var(--white); }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.p-card { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); transition: background .3s, color .3s, transform .35s var(--ease); scroll-margin-top: 100px; }
a.p-card:hover { transform: translateY(-4px); }
.p-card .mono { margin-bottom: 1.4rem; transition: transform .35s var(--ease); }
a.p-card:hover .mono { transform: rotate(-6deg); }
.p-card .sector { font-size: .82rem; font-weight: 600;  color: var(--red); margin-bottom: .3rem; }
.p-card h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.p-card .tagline { font-weight: 500; margin-bottom: .6rem; }
.p-card p { font-size: .93rem; margin: 0 0 1.2rem; }
.p-card .go { margin-top: auto; }
.on-navy .p-card { color: var(--navy); border-color: var(--white); }
.on-navy .p-card .go { color: var(--red); }
.more-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: var(--gap); padding: 1.1rem 1.4rem; border: 1px dashed var(--line); border-radius: var(--radius); font-size: .93rem; }
.more-note p { margin: 0; }

/* ---------- Two-column bands ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.duo h2 { margin-bottom: 0; }
.duo .lead { margin-bottom: 1em; }
.duo .lead:last-child { margin-bottom: 0; }

/* ---------- Bordered grid (principles, layers, tech, values) ---------- */
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cells--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { padding: clamp(1.3rem, 2.4vw, 1.7rem); border: 1px solid var(--line); border-radius: var(--radius); transition: background .3s, color .3s; }
.cell:hover { background: var(--navy); color: var(--white); }
.cell .n { display: block; font-size: .78rem; font-weight: 600; color: var(--red); margin-bottom: 1.2rem; transition: color .3s; }
.cell .ico { display: block; color: var(--red); margin-bottom: 1.1rem; transition: color .3s; }
.cell:hover .n, .cell:hover .ico { color: var(--white); }
.cell .ico .i { width: 26px; height: 26px; }
.cell h3 { margin-bottom: .45rem; }
.cell p { margin: 0 0 .5em; font-size: .92rem; line-height: 1.65; }
.cell p:last-child { margin-bottom: 0; }
.cell--tech { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; font-weight: 500; font-size: .95rem; }
.cell--tech .ico { margin: 0; }
.cell--tech .ico .i { width: 22px; height: 22px; }
.on-navy .cell { border-color: var(--white); }
.on-navy .cell:hover { background: var(--white); color: var(--navy); }
.on-navy .cell .n { color: var(--white); }
.on-navy .cell:hover .n { color: var(--red); }
.note { margin-top: 1.5rem; }

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo--wide { aspect-ratio: 21 / 8; }
.duo--media { align-items: center; }
.duo--media .photo { max-height: 380px; }

/* ---------- Partners (sliding logos) ---------- */
.partners { overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 1rem; animation: slide 70s linear infinite; }
.partners:hover .marquee { animation-play-state: paused; }
.marquee li { list-style: none; flex: none; display: grid; place-items: center; width: 190px; height: 104px; padding: 1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.marquee img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; transition: transform .4s var(--ease); }
.marquee li:hover img { transform: scale(1.06); }
@keyframes slide { to { transform: translateX(calc(-50% - .5rem)); } }

/* ---------- Statements ---------- */
.statement { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; margin: 0; }
.statement span { display: block; }

/* ---------- Journal & work cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem var(--gap); }
.post-card, .project { display: flex; flex-direction: column; text-decoration: none; }
.media { position: relative; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1rem; border-radius: 5px; background: var(--navy); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .media img, .project:hover .media img { transform: scale(1.04); }
.media--plain { display: flex; align-items: flex-end; padding: 1.2rem; color: var(--white); }
.media--red { background: var(--red); }
.media--plain strong { font-size: 1.05rem; font-weight: 600; line-height: 1.35; max-width: 18ch; }
.project .media { aspect-ratio: 2.2/1; background: var(--white); border: 1px solid var(--line); }
.project .media img { object-position: top center; }
.card-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-bottom: .4rem; font-size: .8rem; font-weight: 600;  color: var(--red); }
.post-card h3, .project h3 { font-size: 1.02rem; margin-bottom: .4rem; transition: color .2s; }
.post-card:hover h3, .project:hover h3 { color: var(--red); }
.post-card p, .project p { margin: 0; font-size: .9rem; line-height: 1.65; }

.toolbar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; padding: .7rem 1rem .7rem 2.5rem; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .9rem; color: var(--navy); background: var(--white); }
.search input:focus { outline: 2px solid var(--red); outline-offset: 0; }
.search > .i { position: absolute; left: .95rem; top: 50%; translate: 0 -50%; color: var(--red); }
.search .spinner { position: absolute; right: 1rem; top: 50%; margin-top: -.5em; }
.load-more { grid-column: 1 / -1; display: flex; justify-content: center; }
.empty { grid-column: 1 / -1; padding: 3rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding-block: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem clamp(2rem, 5vw, 4rem); align-items: end; }
.page-head h1 { margin: 0; animation: rise .9s var(--ease) both; }
.page-head .intro { animation: rise .9s .12s var(--ease) both; }
.page-head .intro p:last-child { margin-bottom: 0; }
.page-head--single .wrap { grid-template-columns: 1fr; max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: .83rem; font-weight: 500; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--red); }
.crumbs span::before { content: "/"; margin-right: .5rem; color: var(--red); }

/* ---------- Article ---------- */
.article { max-width: 740px; margin-inline: auto; }
.article-head { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.article-head h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); animation: rise .9s var(--ease) both; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .86rem; font-weight: 500; }
.article-meta span { display: inline-flex; align-items: center; gap: .4em; }
.article-meta .i { color: var(--red); }
.article-cover { max-width: 960px; margin: 0 auto 3rem; }
.article-cover img { width: 100%; border-radius: 6px; }
.progress { position: fixed; top: 0; left: 0; z-index: 60; height: 3px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.prose { font-size: 1.03rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--red); font-weight: 500; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--red); }
.prose img { border-radius: 5px; }
.prose figure { margin: 2.5rem 0; }
.prose blockquote { margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--red); font-size: 1.12rem; font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose pre { padding: 1.2rem; overflow-x: auto; background: var(--navy); color: var(--white); border-radius: 5px; font-size: .86rem; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .65rem .85rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--navy); color: var(--white); }
.prose .eyebrow { margin-top: 2.5rem; font-size: .75rem; font-weight: 600;  color: var(--red); }
.prose .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.prose .card { padding: 1.1rem; border: 1px solid var(--line); border-radius: 5px; }
.prose .card h3 { margin-top: 0; font-size: 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-size: .88rem; font-weight: 500; }
.share a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; transition: background .2s, color .2s, border-color .2s; }
.share a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.aside { position: sticky; top: 100px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
.aside h4 { font-size: .9rem;  color: var(--red); margin-bottom: .5rem; }
.aside ul { list-style: none; margin: 0; padding: 0; }
.aside li a { display: block; padding: .6rem 0; font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.aside li a:hover { color: var(--red); }

/* ---------- Forms ---------- */
.panel { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 8px; }
.form { display: grid; gap: 1.1rem; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; margin-bottom: .3rem; font-size: .83rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--navy); font: inherit; font-size: .93rem; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; }
.field .err { margin: .35rem 0 0; color: var(--red); font-size: .83rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.success { padding: .5rem 0; animation: rise .6s var(--ease) both; }
.success h3 { font-size: 1.4rem; }
.htmx-indicator { opacity: 0; transition: opacity .2s; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
.spinner { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; gap: .95rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list .mono { width: 42px; height: 42px; border-radius: 5px; }
.contact-list .mono .i { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: .8rem; font-weight: 600;  color: var(--red); }
.contact-list a, .contact-list span { font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--red); }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem var(--gap); align-items: center; }
.cta .actions { justify-content: flex-end; margin: 0; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(3.5rem, 7vw, 4.5rem); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer .logo img { height: 52px; margin-bottom: 1.1rem; }
.footer .claim { font-size: 1.1rem; font-weight: 600; margin-bottom: .3rem; }
.footer p { max-width: 26em; font-size: .9rem; }
.footer h4 { font-size: .9rem;  color: var(--red); margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.footer li a { text-decoration: none; transition: color .2s; }
.footer li a:hover { color: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.3rem; border-top: 1px solid var(--line); font-size: .8rem; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: var(--red); }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.htmx-added { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 70%, 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-delay: 0s !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { flex-wrap: wrap; width: auto; justify-content: center; animation: none; }
  .marquee li[aria-hidden="true"] { display: none; }
  .hero__video { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .page-head .wrap, .duo, .cta, .layout, .head { grid-template-columns: 1fr; }
  .head { align-items: start; }
  .cta .actions { justify-content: flex-start; }
  .cards, .grid, .cells, .cells--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header .wrap { height: 68px; }
  .nav { inset: 68px 0 0; }
  .logo img { height: 42px; }
  .cards, .grid, .cells, .cells--3, .cells--2, .form .row2, .footer-top { grid-template-columns: 1fr; }
  .marquee li { width: 150px; height: 86px; }
  .marquee img { max-height: 52px; }
  .photo--wide { aspect-ratio: 16 / 10; }
}
