/* ============================================================
   Ambolt AI — FINAL design (per the designer's Figma guide)
   Type: Bebas Neue Regular (display, uppercase, +2% tracking);
   Outfit for everything else (overskrift Bold, underoverskrift
   Regular, brødtekst Regular, info ExtraLight/Light).
   Palette 60/30/10: #060A13 / #FBFFFE / #1BBD40 + #2E8542,
   neutrals #E6E6E6 + #415562.
   ============================================================ */

:root {
  /* Design guide palette — primary 60% / secondary 30% / accents 10% */
  --topnav: #060a13;       /* Primær */
  --navy: #060a13;         /* Primær — dark sections/hero/footer */
  --navy-2: #121d30;       /* card surface on primary */
  --navy-3: #1a2942;
  --white: #fbfffe;        /* Sekundær */
  --grey: #f2f4f4;
  --ink: #060a13;          /* text on light = Primær */
  --ink-soft: #415562;     /* Neutral (text) */
  --dim: #9fb0c4;          /* muted text on navy */
  --green: #1bbd40;        /* Accent 1 */
  --green-dark: #2e8542;   /* Accent 2 */
  --spring-green-4: #04120a; /* Figma: navbar CTA text colour */
  --line: #e6e6e6;         /* Neutral (lines) */
  --line-dark: #22334d;
  --max: 1180px;
  --r: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { background: var(--white); color: var(--ink); font-family: "Outfit", "Segoe UI", sans-serif; font-size: 16.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 26px; }

h1, h2 { font-family: "Bebas Neue", "Outfit", sans-serif; font-weight: 400; letter-spacing: 0.02em; line-height: 1.05; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 6.6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 0.55em; }
h3 { font-family: "Outfit", sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35em; }
h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 12px; }
.accent { color: var(--green); }
p + p { margin-top: 1em; }
.small { font-size: 0.87rem; color: var(--ink-soft); }
.soft, .muted { color: var(--ink-soft); }

.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 20px; }
.on-dark .label { color: var(--green); }

/* ---------- top bar ---------- */
.topbar { background: var(--topnav); position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 20px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: #fff; font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav a.active { color: var(--green); }
/* Figma spec: navbar CTA — bg #28E553, text #04120A, Outfit SemiBold 15.7/25.87 */
.nav .btn {
  background: var(--green);
  color: var(--spring-green-4);
  font-family: "Outfit", sans-serif; font-weight: 600; font-style: normal;
  font-size: 15.7px; line-height: 25.87px; letter-spacing: 0;
  padding: 8px 22px; vertical-align: middle;
}
.nav .btn:hover { background: #3fee66; color: var(--spring-green-4); }
.nav .lang { border: 1px solid var(--line-dark); border-radius: 8px; padding: 4px 10px; font-size: 0.8rem; color: var(--dim); }
.nav .lang:hover { color: var(--green); border-color: var(--green); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; height: 2px; width: 22px; background: #fff;
  position: absolute; left: 9px; top: 19px;
}
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy);
    border-bottom: 1px solid var(--line-dark); padding: 8px 26px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--green); color: var(--navy); font-family: "Outfit", sans-serif; font-weight: 700; font-size: 0.95rem; padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer; }
.btn:hover { background: #3fee66; text-decoration: none; }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7); }
.btn.line:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn.line.dark-ctx { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.grey { background: var(--grey); }
.section.dark, .on-dark { background: var(--navy); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark .soft { color: var(--dim); }
.lede { font-size: 1.15rem; max-width: 44em; color: var(--ink-soft); }
.intro { max-width: 44em; color: var(--ink-soft); margin-bottom: 44px; font-size: 1.05rem; }
.on-dark .lede, .on-dark .intro { color: var(--dim); }
.center { text-align: center; }
.center .intro, .center .lede { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 130px 0 120px; text-align: center; }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6,10,19,0.2), rgba(6,10,19,0.78)); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .sub { margin: 24px auto 6px; max-width: 38em; color: #d6deea; font-size: 1.12rem; }
.hero .since { color: var(--dim); font-size: 0.95rem; margin-bottom: 34px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- stats strip ---------- */
.stats { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--line); }
.stats .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 820px) { .stats .row { grid-template-columns: 1fr 1fr; } }
.stats strong { display: block; font-family: "Outfit", sans-serif; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.stats span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 920px) { .cards, .cards.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards, .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--navy-2); border-radius: var(--r); padding: 28px 26px; }
/* dark-context cards (frontpage value section): borderless tinted panels with a
   green accent bar above the heading and a gentle lift on hover */
.card:not(.on-light) { transition: opacity 0.45s, transform 0.3s, box-shadow 0.3s, background 0.3s; }
.card:not(.on-light)::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--green); margin-bottom: 18px; }
.card:not(.on-light):hover { transform: translateY(-4px); background: var(--navy-3); box-shadow: 0 14px 30px rgba(6,10,19,0.45); }
@media (prefers-reduced-motion: reduce) { .card:not(.on-light):hover { transform: none; } }
.card h3 { color: #fff; }
.card p { color: var(--dim); font-size: 0.93rem; }
.card a.more { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 600; font-size: 0.9rem; }
/* light context cards */
.section:not(.dark) .card.on-light, .card.on-light { background: var(--navy); border: 0; }
/* metal-ball icons on "Why choose" cards */
.card .ball { width: 40px; height: auto; margin-bottom: 14px; }

/* ---------- industry photo cards ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6,10,19,0.1) 30%, rgba(6,10,19,0.72)); }
.ind .t { z-index: 2; }
.ind .t { position: relative; z-index: 1; padding: 22px 24px; }
.ind h3 { color: #fff; }
.ind p { color: var(--dim); font-size: 0.9rem; }
.ind a { display: inline-block; margin-top: 10px; color: var(--green); font-weight: 600; font-size: 0.88rem; }

/* ---------- selected work ---------- */
.feature { display: grid; grid-template-columns: 6fr 6fr; border-radius: var(--r); overflow: hidden; background: var(--navy-2); border: 1px solid var(--line-dark); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature .txt { padding: 44px 42px; color: #fff; }
.feature .cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; margin: 12px 0 14px; }
.feature p { color: var(--dim); }
.feature ul.checks { list-style: none; margin: 18px 0 26px; }
.feature ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; color: #fff; font-size: 0.95rem; }
.feature ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.feature .ph { min-height: 320px; background: var(--navy-3); }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; }

.work-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 860px) { .work-tiles { grid-template-columns: 1fr; } }
.wt { position: relative; border-radius: var(--r); overflow: hidden; min-height: 190px; display: flex; align-items: flex-end; background: var(--navy-2); }
.wt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.wt .t { position: relative; z-index: 1; padding: 20px 22px; }
.wt .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.wt h3 { color: #fff; font-size: 1.02rem; margin-top: 4px; }
.wt.green { background: var(--green); align-items: center; justify-content: center; }
.wt.green .t { padding: 0; }
.wt.green h3 { color: var(--navy); font-size: 1.2rem; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.quote::before { content: "“"; font-family: Georgia, serif; font-size: 2.6rem; line-height: 0.6; color: var(--green); margin-bottom: 14px; }
.quote p { color: #e6ecf4; font-size: 0.95rem; flex: 1; }
.quote .who { margin-top: 18px; font-size: 0.88rem; }
.quote .who strong { display: block; color: #fff; }
.quote .who span { color: var(--dim); }
.quote a { display: inline-block; margin-top: 10px; color: var(--green); font-size: 0.88rem; font-weight: 600; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.step .num { font-family: "Bebas Neue", "Outfit", sans-serif; font-size: 2.3rem; font-weight: 400; color: var(--green); }
.step h3 { margin-top: 6px; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split img { border-radius: var(--r); }
.split ul { margin: 1em 0 1em 1.3em; }
.split li { margin-bottom: 0.5em; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 84px 0 64px; }
.page-hero h1 { color: #fff; overflow-wrap: break-word; }
@media (max-width: 480px) { .page-hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); } }
.page-hero .lede { color: var(--dim); margin-top: 20px; }
.breadcrumbs { font-size: 0.84rem; color: var(--dim); margin-bottom: 18px; }
.breadcrumbs a { color: var(--dim); }
.breadcrumbs a:hover { color: var(--green); }

/* ---------- case rows (cases page) ---------- */
.case-group { margin-top: 48px; }
.case-group h3.area { font-family: "Outfit", sans-serif; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green-dark); padding-bottom: 10px; border-bottom: 2px solid var(--navy); }
.case-row { display: grid; grid-template-columns: 3fr 6fr 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.case-row h3 { font-size: 1.12rem; }
.case-row h3 a { color: var(--ink); }
.case-row h3 a:hover { color: var(--green-dark); text-decoration: none; }
.case-row p { font-size: 0.94rem; color: var(--ink-soft); }
.case-row .go { text-align: right; font-size: 1.2rem; }
@media (max-width: 720px) { .case-row { grid-template-columns: 1fr; gap: 6px; } .case-row .go { display: none; } }
.also { margin-top: 14px; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- news cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { background: var(--grey); border-radius: var(--r); padding: 26px 24px; }
.news-card h3 { font-size: 1rem; }
.news-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- trust cards ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 30px; }
.trust-card .mark { font-family: "Outfit", sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.trust-card h3 { color: #fff; }
.trust-card p { color: var(--dim); font-size: 0.94rem; }
.trust-card a { color: var(--green); }

/* ---------- forms ---------- */
.form { max-width: 560px; }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin: 16px 0 6px; }
/* Figma: filled fields — bg #EEF2F7, uniform azure-80 border */
.form input, .form textarea { width: 100%; background: #eef2f7; border: 1px solid #bbc7db; border-radius: 10px; color: var(--ink); padding: 12px 15px; font-family: inherit; font-size: 1rem; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green-dark); outline-offset: -1px; }
.form button { margin-top: 22px; }

/* ---------- prose (about, cases, services) ---------- */
.prose { max-width: 740px; }
.prose blockquote { border-left: 3px solid var(--green); padding: 4px 0 4px 22px; margin: 1.6em 0; color: var(--ink-soft); }
.prose .quote-who, blockquote .quote-who { display: block; font-size: 0.88rem; color: var(--green-dark); margin-top: 12px; font-weight: 500; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--r); background: #000; margin: 1.8em 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose h2 { font-size: 1.45rem; margin-top: 1.9em; }
.prose ul { margin: 1em 0 1em 1.35em; }
.prose img { border-radius: var(--r); margin: 1.8em 0 0.5em; }
figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r); }
.team-card strong { display: block; margin-top: 10px; font-size: 0.94rem; }
.team-card span { font-size: 0.84rem; color: var(--ink-soft); }

/* small dark subtitle under section headings (Figma) */
.sublabel { font-size: 0.88rem; color: var(--ink); margin: -4px 0 14px; }

/* hairline separators between dark bands */
.hairline-top { border-top: 1px solid var(--line-dark); }

/* green bullet list on dark bands */
.green-dots { list-style: none; margin: 1em 0; }
.green-dots li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.green-dots li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- CTA band (Figma: bg-soft-2 #0B1322 + green radial glow from bottom) ---------- */
.cta-band { background: radial-gradient(55% 70% at 50% 100%, rgba(40,229,83,0.13) 0%, rgba(40,229,83,0) 100%), #0b1322; border-top: 1px solid var(--line-dark); color: #fff; padding: 96px 0; text-align: center; }
.cta-band h2 { color: #fff; max-width: 20em; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--dim); max-width: 42em; margin: 0 auto 30px; }
.cta-band a:not(.btn) { color: var(--green); }

/* ---------- footer ---------- */
.footer { background: var(--topnav); color: #fff; padding: 60px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr 1.5fr; gap: 32px; }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--dim); }
.footer a { display: block; color: #fff; font-size: 0.92rem; padding: 2px 0; }
.footer a:hover { color: var(--green); text-decoration: none; }
.footer .small { margin-top: 10px; color: var(--dim); font-weight: 300; }
.foot-legal { font-weight: 300; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.84rem; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a { display: inline; color: var(--dim); }

/* ============ components from the designer's inner pages ============ */

/* light trust cards (Trust page, 2x2) */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--grey); border-radius: var(--r); padding: 32px 30px; }
.tcard h3 { font-size: 1.3rem; }
.tcard .sub { font-weight: 700; font-size: 0.95rem; margin: 4px 0 10px; }
.tcard p { color: var(--ink-soft); font-size: 0.94rem; }
.tcard .checks { list-style: none; margin: 16px 0 18px; }
.tcard .checks li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 0.92rem; color: var(--ink); }
.tcard .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dark); font-weight: 700; }
.tcard a { font-size: 0.9rem; }

/* press list rows */
.press-list { border-top: 2px solid var(--green); }
.press-item { display: grid; grid-template-columns: 64px 170px 1fr 150px; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 820px) { .press-item { grid-template-columns: 64px 1fr; } .press-item .ext { grid-column: 2; text-align: left; } }
.logo-sq { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 0.72rem; color: var(--navy); overflow: hidden; }
.logo-sq img { max-width: 78%; max-height: 78%; object-fit: contain; }
.press-item .src { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 6px; }
.press-item .src span { display: block; color: #9aa7b8; margin-top: 3px; }
.press-item h3 { font-family: "Outfit", sans-serif; font-size: 1.06rem; font-weight: 700; }
.press-item p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 4px; }
.press-item .ext { text-align: right; font-size: 0.88rem; padding-top: 6px; }
.press-item .ext a { display: block; margin-bottom: 6px; }

/* case cards (Cases page, 3x3: logo area + powered strip + navy body) */
.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .ccards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ccards { grid-template-columns: 1fr; } }
.ccard { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.ccard .logo-area { background: #fff; height: 148px; flex: none; display: flex; align-items: center; justify-content: center; padding: 22px; border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0; }
.ccard .logo-area.dark { background: var(--navy-3); }
.ccard .logo-area.lav { background: #f2ecfb; }     /* Helseboka */
.ccard .logo-area.cream { background: #f8f3e7; }   /* EKTOS */
.ccard .logo-area.cover { padding: 0; }
.ccard .logo-area.cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.ccard .logo-area img { max-height: 54px; width: auto; max-width: 70%; object-fit: contain; }
.ccard .logo-area .logotext { font-family: "Outfit", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; text-align: center; color: var(--navy); font-size: 0.9rem; }
.ccard .powered { background: #fff; border-top: 1px solid var(--line); text-align: center; padding: 8px 0 12px; }
.ccard .powered small { display: block; font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.ccard .powered img { height: 11px; margin: 0 auto; }
.ccard .powered-name { font-family: "Bebas Neue", "Outfit", sans-serif; font-size: 0.95rem; letter-spacing: 0.06em; color: #090c12; line-height: 1; }
.ccard .body { padding: 20px 22px 26px; background: var(--navy); height: 100%}
/* Figma: hashtag — Outfit Regular 10px, +1.34px tracking, #28E553 */
.ccard .tag { color: var(--green); font-family: "Outfit", sans-serif; font-weight: 400; font-style: normal; font-size: 10px; line-height: 1; letter-spacing: 1.34px; vertical-align: middle; }
.ccard h3 { color: #fff; margin-top: 6px; font-size: 1.02rem; }
.ccard p { color: var(--dim); font-size: 0.9rem; }
/* Figma: View case — Outfit SemiBold 15.2/25, #28E553 */
.ccard .body a { color: var(--green); font-family: "Outfit", sans-serif; font-weight: 600; font-style: normal; font-size: 15.2px; line-height: 25px; letter-spacing: 0; vertical-align: middle; margin-top: 12px; display: inline-block; }

/* dark info cards (Contact page right column) */
.dcard { background: var(--navy); border-radius: var(--r); padding: 26px 28px; margin-bottom: 20px; }
.dcard h3 { color: #fff; }
.dcard p { color: var(--dim); font-size: 0.95rem; }
.dcard a { color: var(--green); }

/* green divider rule (between sections on Cases page) */
.rule-green { border: 0; border-top: 2px solid var(--green); margin: 0 auto; max-width: var(--max); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s, transform 0.45s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }


/* ---------- trusted-by logo strip (frontpage bottom, on dark) ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; justify-content: center; }
.logo-strip img { height: 38px; width: 128px; object-fit: contain; filter: grayscale(1) brightness(3); opacity: 0.72; transition: 0.2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ============ contact touchpoints (sitewide) ============ */

/* topbar phone number */
.nav .nav-tel { color: var(--green); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.nav .nav-tel:hover { color: #fff; text-decoration: none; }

/* pre-footer contact band with quick message form */
.contact-band { background: radial-gradient(55% 70% at 50% 100%, rgba(27,189,64,0.13) 0%, rgba(27,189,64,0) 100%), #0b1322; border-top: 1px solid var(--line-dark); color: #fff; padding: 84px 0; }
.cb-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .cb-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-band h2 { color: #fff; }
.contact-band .cb-grid > div > p { color: var(--dim); max-width: 34em; }
.cb-phone { margin-top: 22px; }
.cb-phone a { font-family: "Outfit", sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: #fff; }
.cb-phone a:hover { color: var(--green); text-decoration: none; }
.cb-links a { color: var(--green); font-weight: 600; }
.cb-links a + a { margin-left: 7px; }
.cb-links a:first-child { margin-right: 7px; }
.cb-form { max-width: none; }
.cb-form label { color: #fff; }

/* sticky mobile call button */
.call-fab { display: none; }
@media (max-width: 700px) {
  .call-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); box-shadow: 0 10px 24px rgba(6,10,19,0.4); }
  .call-fab svg { width: 24px; height: 24px; fill: var(--navy); }
}

/* inline CTA at the end of case/service content */
.talk-cta { margin-top: 40px; padding: 20px 24px; background: var(--grey); border-left: 3px solid var(--green); border-radius: 0 var(--r) var(--r) 0; font-size: 0.98rem; }
.talk-cta a { font-weight: 600; }

/* ============ frontpage: HCAI model, quote rotation, offering refs ============ */

/* Human-centric AI section */
.hcai-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hcai-grid { grid-template-columns: 1fr; gap: 36px; } }
.hcai-svg { width: 100%; max-width: 560px; height: auto; margin: 0 auto; display: block; }
.hcai-list { list-style: none; }
.hcai-list li { position: relative; padding-left: 22px; margin-bottom: 20px; color: var(--ink-soft); font-size: 0.97rem; }
.hcai-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hcai-list strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }

/* reference line on offering cards */
.card .refs { margin-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* quote rotation fade */
.quote { transition: opacity 0.5s; }
.quote.q-fade { opacity: 0; }

/* offerings list links on dark band */
.section.dark .green-dots a { color: var(--green); font-weight: 600; }

/* ---------- equal-height statement cards ---------- */
/* Clamp each statement to 7 lines and reserve fixed space for attribution and the
   case link, so the rotation never changes the height of the section. A click/tap
   expands a truncated statement (…) to its full length. */
.quote p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(7 * 1.65em); }
.quote.open p { display: block; -webkit-line-clamp: none; overflow: visible; }
.quote .who { min-height: calc(3 * 1.65em); }
.quote .qlink-spacer { visibility: hidden; display: inline-block; margin-top: 10px; font-size: 0.88rem; font-weight: 600; }
.q-more { display: block; background: none; border: 0; padding: 0; margin: 12px 0 0; text-align: left; color: var(--green); font-family: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.q-more:hover { text-decoration: underline; }
.q-nav { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.q-btn { width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1px solid var(--line-dark); color: #fff; font-size: 1.05rem; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.q-btn:hover { border-color: var(--green); color: var(--green); }

/* video panel in the Selected work feature card */
.feature .ph { position: relative; }
.feature .ph iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .feature .ph:has(iframe) { min-height: 0; aspect-ratio: 16 / 9; } }

/* self-hosted video in prose (case pages) */
.prose video { display: block; width: 100%; border-radius: var(--r); background: #000; margin: 1.8em 0 0.5em; }
.prose figure:first-child video { margin-top: 0; }

/* certification badge in the top-right corner of a trust card */
.tcard { position: relative; }
.tcard-badge { position: absolute; top: 24px; right: 26px; width: 72px; height: auto; }
@media (max-width: 560px) { .tcard-badge { width: 64px; } }
