/* Petroff Ltd website draft — shared styles */
:root {
  --green: #209F4C;        /* logo green: buttons, accents on dark */
  --green-d: #17803C;      /* darker green: small text on white */
  --ink: #222222;
  --ink-2: #191919;
  --muted: #555B57;
  --line: #DFE2DF;
  --soft: #F3F4F3;
  --on-dark: #D2D5D3;
  --on-dark-2: #AEB2AF;
  --dark-line: #3D3D3D;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #FFFFFF; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--green-d); }
h1, h2, h3, h4 { font-family: Archivo, Inter, sans-serif; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #FFFFFF; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.dark { background: var(--ink); color: #FFFFFF; }
.darker { background: var(--ink-2); color: var(--on-dark); }
.soft { background: var(--soft); }
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--green-d); text-transform: uppercase; }
.dark .eyebrow { color: var(--green); }
.h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; }
.h3 { font-size: 22px; }
.lead { font-size: 18px; color: var(--muted); }
.dark .lead, .dark .muted { color: var(--on-dark); }
.muted { color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.head-row > p { max-width: 440px; color: var(--muted); }
.dark .head-row > p { color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: var(--ink); font: inherit; font-weight: 600; padding: 14px 24px; min-height: 48px; border: 0; border-radius: 3px; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 159, 76, .3); }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: #FFFFFF; border: 1px solid #707070; }
.btn-ghost:hover { color: #FFFFFF; box-shadow: none; border-color: #FFFFFF; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { color: #FFFFFF; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid #BFC4C0; }
.btn-outline:hover { box-shadow: none; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 600; }
.nudge { display: inline-block; transition: transform .25s ease; }
a:hover .nudge, .card:hover .nudge { transform: translateX(5px); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink-2); color: var(--on-dark); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #FFFFFF; }
.hdr { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.hdr.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav > a, .dd > a { position: relative; color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav > a::after, .dd > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav > a:hover::after, .dd > a:hover::after, .nav > a[aria-current]::after, .dd > a[aria-current]::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; padding: 11px 20px; min-height: 44px; }
.nav .btn::after { display: none; }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -18px; min-width: 270px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); padding: 8px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { padding: 10px 12px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--soft); color: var(--green-d); }
.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1px solid #BFC4C0; border-radius: 3px; font: inherit; font-weight: 600; padding: 10px 14px; min-height: 44px; cursor: pointer; color: var(--ink); }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .hdr-in { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .dd { width: 100%; }
  .nav > a, .dd > a { display: flex; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after, .dd > a::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .dd-menu a { padding: 10px 0; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
}

/* ---------- heroes ---------- */
.hero { overflow: hidden; }
.hero-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-weight: 800; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.01em; }
.hero .lead { color: var(--on-dark); font-size: 19px; max-width: 580px; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; height: 500px; }
.hero-media .block { position: absolute; left: 22px; top: 22px; right: -22px; bottom: -22px; background: var(--green); border-radius: var(--radius); }
.hero-media .frame { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: #333333; }
.hero-media .frame img, .media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -24px; top: 40px; background: #FFFFFF; color: var(--ink); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 14px 36px rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 2px; }
.hero-badge b { font-family: Archivo, sans-serif; font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--green-d); }
.hero-badge span { font-size: 13px; color: var(--muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--on-dark); }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }
.underline { position: relative; white-space: nowrap; }
.underline i { position: absolute; left: 0; right: .3em; bottom: -2px; height: 6px; background: var(--green); }
.crumbs { font-size: 14px; color: var(--on-dark-2); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.page-hero .hero-in { padding-top: 64px; padding-bottom: 88px; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 64px); }
.page-hero .hero-media { height: 440px; }
.text-hero .hero-in { padding-bottom: 72px; }
.text-hero .hero-copy { flex-basis: 100%; max-width: 860px; }
@media (max-width: 600px) {
  .hero-media, .page-hero .hero-media { height: 340px; }
  .hero-badge { left: 12px; top: 12px; }
}

/* ---------- placeholders (photos still needed) ---------- */
.ph { position: relative; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #E6E9E6 0 12px, #EEF0EE 12px 24px); }
.dark .ph, .hero .ph { background: repeating-linear-gradient(135deg, #333333 0 14px, #2D2D2D 14px 28px); }
.ph span { position: absolute; left: 14px; bottom: 14px; font-size: 13px; color: var(--muted); }
.dark .ph span, .hero .ph span { color: var(--on-dark-2); }

/* ---------- clients ticker & photo strip ---------- */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.list { display: flex; align-items: center; }
.client { font-family: Archivo, sans-serif; font-weight: 700; font-size: 20px; color: #3F4441; white-space: nowrap; padding: 0 26px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.clients { padding: 30px 0; }
.clients .eyebrow { color: var(--muted); letter-spacing: .14em; margin-bottom: 16px; }
.strip .track { animation-duration: 80s; }
.strip .list { gap: 16px; padding-right: 16px; align-items: stretch; }
.tile { width: 280px; height: 340px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: #E6E9E6; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.06); }
@media (max-width: 600px) { .tile { width: 220px; height: 270px; } }

/* ---------- cards ---------- */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .10); border-color: var(--green); }
.card .media { position: relative; height: 200px; overflow: hidden; }
.card .media img, .card .media .ph { transition: transform .8s var(--ease); }
.card:hover .media img { transform: scale(1.06); }
.card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card .num { font-family: Archivo, sans-serif; font-weight: 700; color: var(--green-d); font-size: 14px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; }
.card .grow { flex-grow: 1; }
.card a.cover { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.svc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; }
.tag { align-self: flex-start; background: var(--ink); color: #FFFFFF; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; border-radius: 2px; text-transform: uppercase; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s ease, transform .3s var(--ease); }
.feature:hover { border-color: var(--green); transform: translateY(-4px); }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; background: #E6F4EA; color: var(--green-d); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); font-size: 15px; }
.dark .feature { background: #2A2A2A; border-color: #3A3A3A; }
.dark .feature p { color: var(--on-dark); }
.dark .feature .ico { background: rgba(32, 159, 76, .18); color: #5CCB82; }

/* ---------- split (image + copy) ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > .copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .pic { flex: 1 1 440px; min-width: 0; height: 440px; border-radius: var(--radius); overflow: hidden; position: relative; }
.split.reverse { flex-direction: row-reverse; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 3px; color: var(--green-d); }
.dark .checks svg { color: var(--green); }
.bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: #3F4441; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; border-top: 2px solid #444444; padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.soft .step, .section:not(.dark) .step { border-top-color: var(--line); }
.step .line { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--green); transform-origin: left; transition: transform 1.3s var(--ease) .25s; }
.step b { font-family: Archivo, sans-serif; font-size: 14px; color: var(--green-d); }
.dark .step b { color: var(--green); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; }
.dark .step p { color: var(--on-dark); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; }
.stat { position: relative; border-top: 2px solid #444444; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.stat .line { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--green); transform-origin: left; transition: transform 1.3s var(--ease) .25s; }
.stat strong { font-family: Archivo, sans-serif; font-weight: 800; font-size: 60px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--on-dark); }

/* ---------- values list ---------- */
.values { display: flex; flex-direction: column; }
.value { border-top: 1px solid var(--line); padding: 22px 12px; display: flex; gap: 20px; transition: background-color .25s ease; }
.value:last-child { border-bottom: 1px solid var(--line); }
.value:hover { background: var(--soft); }
.value b { font-family: Archivo, sans-serif; color: var(--green-d); width: 32px; flex-shrink: 0; }
.value h3 { font-size: 21px; margin-bottom: 4px; }
.value p { color: var(--muted); }

/* ---------- projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid #BFC4C0; background: #FFFFFF; color: var(--ink); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.project { display: flex; flex-wrap: wrap; background: #FFFFFF; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s ease, opacity .3s ease; }
.project:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.project .media { flex: 1 1 420px; min-height: 340px; position: relative; overflow: hidden; }
.project .media img { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.project:hover .media img { transform: scale(1.05); }
.project .body { flex: 1 1 460px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.project .meta { color: var(--muted); font-size: 14px; }
.project.hide { display: none; }
.projects-list { display: flex; flex-direction: column; gap: 28px; }

/* ---------- timeline ---------- */
.timeline { display: flex; flex-direction: column; border-left: 2px solid var(--line); margin-left: 8px; }
.tl { position: relative; padding: 0 0 36px 32px; }
.tl::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--green); }
.tl b { font-family: Archivo, sans-serif; font-size: 15px; color: var(--green-d); }
.tl h3 { font-size: 21px; margin: 4px 0 6px; }
.tl p { color: var(--muted); }

/* ---------- people ---------- */
.person { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: #E6F4EA; color: var(--green-d); display: flex; align-items: center; justify-content: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.person h3 { font-size: 19px; }
.person p { color: var(--muted); font-size: 15px; }

/* ---------- news ---------- */
.post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.post .media { height: 230px; border-radius: var(--radius); overflow: hidden; }
.post .media img { transition: transform .8s var(--ease); }
.post:hover .media img { transform: scale(1.05); }
.post .meta { font-size: 13px; color: var(--muted); }
.post h3 { font-size: 21px; line-height: 1.3; }
.post:hover h3 { color: var(--green-d); }
.post p { color: var(--muted); font-size: 15px; }
.post.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; align-items: center; }
.post.featured .media { height: 380px; }
.post.featured h3 { font-size: clamp(26px, 2.6vw, 36px); }

/* ---------- jobs ---------- */
.job { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; transition: border-color .3s ease, transform .3s var(--ease); }
.job:hover { border-color: var(--green); transform: translateY(-3px); }
.job .info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 6px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }

/* ---------- forms ---------- */
.form { background: #FFFFFF; color: var(--ink); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form.bordered-form { border: 1px solid var(--line); }
.form .two { display: flex; flex-wrap: wrap; gap: 18px; }
.form label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px; border: 1px solid #BFC4C0; border-radius: 3px; background: #FFFFFF; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green-d); outline: 2px solid rgba(32, 159, 76, .25); }
.form textarea { resize: vertical; min-height: 120px; }
.form .note { font-size: 13px; color: var(--muted); }
.form .done { display: none; background: #E6F4EA; color: #12672F; border-radius: 3px; padding: 14px 16px; font-weight: 600; }
.form.sent .done { display: block; }
.form [aria-invalid="true"] { border-color: #B42318; }
.split-form { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split-form > .copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.split-form > .form { flex: 1 1 480px; min-width: 0; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.contact-lines .big { font-family: Archivo, sans-serif; font-weight: 700; font-size: 24px; text-decoration: none; }
.dark .contact-lines a { color: #FFFFFF; }
.dark .contact-lines span, .dark .contact-lines a.small { color: var(--on-dark); }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.info-card .ico { color: var(--green-d); }
.info-card a { font-weight: 600; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose p, .prose li { color: #3F4441; margin-bottom: 12px; }
.prose ul { padding-left: 20px; margin: 0 0 12px; }

.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose ol { padding-left: 22px; margin: 0 0 12px; }
.article { margin: 0 auto; }
.article-img { height: 380px; border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article > p:first-of-type { font-size: 19px; color: var(--ink); }
@media (max-width: 600px) { .article-img { height: 240px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; max-width: 640px; }
.cta-band p { font-size: 18px; margin-top: 10px; max-width: 600px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink-2); color: var(--on-dark); font-size: 15px; }
.ftr .wrap { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.ftr-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.ftr-cols > div, .ftr-cols > nav { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; }
.ftr-cols > div:first-child { flex: 2 1 280px; gap: 14px; }
.ftr-cols .h { color: #FFFFFF; font-weight: 600; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: #FFFFFF; text-decoration: underline; }
.ftr .logo img { height: 60px; }
.ftr-bottom { border-top: 1px solid var(--dark-line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-dark-2); }

/* =========================================================
   Animations
   ========================================================= */
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.load { animation: up .9s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; }
.d4 { animation-delay: .38s; } .d5 { animation-delay: .48s; } .d6 { animation-delay: .6s; }
.hero-media .block { animation: up 1s var(--ease) .15s both; }
.hero-media .frame { animation: wipe 1.2s cubic-bezier(.75, 0, .2, 1) .3s both; }
.hero-media .frame img { animation: kenburns 9s var(--ease) .3s both; }

/* homepage hero slideshow: photos cross-fade with a slow zoom */
.hero-media .slides .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; animation: none; }
.hero-media .slides .slide.on { opacity: 1; animation: kenburns 7s ease-out both; }
.dots { position: absolute; right: 14px; bottom: -48px; display: flex; gap: 6px; }
.dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .3s ease, transform .3s ease; }
.dot.on::before { background: #FFFFFF; transform: scale(1.3); }
.dot:hover::before { background: rgba(255, 255, 255, .8); }
@media (max-width: 600px) { .dots { right: 0; } }
.underline i { transform-origin: left; animation: grow .9s cubic-bezier(.75, 0, .2, 1) 1s both; }
.hero-badge { animation: up .8s var(--ease) 1.2s both, float 6s ease-in-out 2.2s infinite; }

/* scroll reveal — only hides things once the script has started */
.js-anim [data-reveal] { opacity: 0; }
.js-anim [data-reveal].in { opacity: 1; animation: rise .9s var(--ease) backwards; }
.js-anim .stat .line, .js-anim .step .line { transform: scaleX(0); }
.js-anim .in .line, .js-anim .in.step .line { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .track { width: auto; }
  .list { flex-wrap: wrap; row-gap: 10px; }
  .dup { display: none; }
}
