/* ==========================================================
   Sun Cloud Stack - site styles
   Colours are taken from the logo. Change them here only.
   ========================================================== */

/* Fonts are served from this site (no third-party requests). Both are
   variable fonts covering all the weights used below. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Saira"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/saira-latin.woff2") format("woff2");
}

:root {
  --bg: #1C293C;          /* matches the logo background */
  --bg-deep: #152031;
  --surface: #22324a;
  --surface-2: #2a3c57;
  --border: rgba(255, 255, 255, 0.09);
  --text: #F4F6F8;
  --muted: #A9B6C8;
  --amber: #F2A10C;
  --amber-hi: #F8B740;
  --teal: #3D8996;
  --teal-hi: #63B5C2;
  --aws: #FF9900;
  --azure: #3A96DD;

  --radius: 14px;
  --max: 1160px;
  --font-head: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-hi); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 820px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: #1a1a1a; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.82rem; font-weight: 600;
  color: var(--teal-hi); margin-bottom: 0.9em;
}
.accent { color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 24px;
  background: var(--amber); color: #1b1608;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  border: 2px solid var(--amber); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.btn:hover { background: var(--amber-hi); border-color: var(--amber-hi); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--teal-hi); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 41, 60, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; position: absolute; left: 11px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { content: ""; top: -7px; left: 0; }
.nav-toggle-bar::after { content: ""; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .site-nav .btn { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(242, 161, 12, 0.13), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(61, 137, 150, 0.18), transparent 60%),
    var(--bg);
}
.hero-inner > * { min-width: 0; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 36em; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  color: var(--muted); font-size: 0.95rem;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px rgba(242, 161, 12, 0.7);
}

/* Stack illustration */
.hero-visual { perspective: 1200px; }
.stack {
  display: flex; flex-direction: column; gap: 10px;
  transform: rotateX(18deg) rotateY(-16deg) rotateZ(2deg);
  transform-style: preserve-3d;
}
.layer {
  border-radius: 12px; padding: 16px 20px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: rise 0.7s ease-out forwards;
}
.layer span::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px;
  margin-right: 12px; vertical-align: 1px;
}
.l1 span::before { background: var(--amber); }
.l2 span::before { background: var(--amber-hi); }
.l3 span::before { background: var(--teal-hi); }
.l4 span::before { background: var(--teal); }
.l5 span::before { background: #8aa4c4; }
.l1 { animation-delay: 0.5s; margin-inline: 24px; }
.l2 { animation-delay: 0.4s; margin-inline: 18px; }
.l3 { animation-delay: 0.3s; margin-inline: 12px; }
.l4 { animation-delay: 0.2s; margin-inline: 6px; }
.l5 { animation-delay: 0.1s; }
.layer.base {
  animation-delay: 0s; justify-content: space-around;
  background: linear-gradient(135deg, rgba(61, 137, 150, 0.35), rgba(61, 137, 150, 0.15));
  border-color: rgba(99, 181, 194, 0.4);
  padding: 18px 20px;
}
.cloud-chip {
  padding: 6px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.cloud-chip::before, .tool-strip li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted);
}
.cloud-aws::before, .tool-strip .tool-aws::before { background: var(--aws); box-shadow: 0 0 8px rgba(255, 153, 0, 0.6); }
.cloud-azure::before, .tool-strip .tool-azure::before { background: var(--azure); box-shadow: 0 0 8px rgba(58, 150, 221, 0.6); }
@keyframes rise {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .layer { animation: none; opacity: 1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; width: 100%; margin: 8px auto 0; }
}

/* ---------- Platforms and tools strip ---------- */
.tool-strip { background: var(--bg-deep); border-block: 1px solid var(--border); padding: 20px 0; }
.tool-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px;
}
.tool-strip-inner { flex-wrap: nowrap; }
.tool-strip p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: none; }
.tool-strip .text-link { display: block; font-size: 0.88rem; }
.tool-strip li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }

/* Scrolling list of tools. Hover pauses it; reduced motion shows a static list. */
.marquee {
  flex: 1; min-width: 0; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  list-style: none; margin: 0; padding: 0 28px 0 0; flex: none;
  display: flex; gap: 28px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 760px) {
  .tool-strip-inner { flex-wrap: wrap; }
  .tool-strip p { display: flex; gap: 12px; align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; flex: 1; row-gap: 10px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--bg-deep); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head-split {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px clamp(32px, 6vw, 80px); align-items: end;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split > p { margin: 0; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; } }
.text-link { color: var(--amber); font-weight: 500; text-decoration: none; white-space: nowrap; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* Services */
.cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(242, 161, 12, 0.45); background: #263750; }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; flex: none;
  display: grid; place-items: center;
  background: rgba(242, 161, 12, 0.12); border: 1px solid rgba(242, 161, 12, 0.3);
}
.card-icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--amber);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Tabs (service areas) */
.tab-list {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 24px;
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: 999px;
}
.tab-list [role="tab"] {
  font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  color: var(--muted); background: transparent; border: 0; border-radius: 999px;
  padding: 10px 20px; cursor: pointer; transition: color 0.2s, background 0.2s;
}
.tab-list [role="tab"]:hover { color: var(--text); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--amber); color: #1b1608; }
.tab-panel:focus-visible { outline-offset: 6px; }
.tab-panel[hidden] { display: none; }
.js .tab-panel:not([hidden]) .card { animation: fade-up 0.35s ease-out both; }
.js .tab-panel .card:nth-child(2) { animation-delay: 0.04s; }
.js .tab-panel .card:nth-child(3) { animation-delay: 0.08s; }
.js .tab-panel .card:nth-child(4) { animation-delay: 0.12s; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .tab-list { display: flex; border-radius: 16px; }
  .tab-list [role="tab"] { flex: 1 1 auto; border-radius: 12px; padding: 10px 12px; font-size: 0.92rem; }
}

/* Steps: a single row joined by a line */
.steps {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr);
}
.steps li {
  position: relative; padding: 24px 22px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(34, 50, 74, 0.4));
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; right: -19px; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--teal-hi), transparent);
}
.steps h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.steps p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.step-num {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 2rem; line-height: 1; margin-bottom: 12px;
  color: transparent; -webkit-text-stroke: 1.5px var(--teal-hi);
}
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Principles */
.principles {
  list-style: none; margin: 0; padding: 26px 0 0;
  border-top: 1px solid var(--border);
  display: grid; gap: 22px 28px; grid-template-columns: repeat(4, 1fr);
}
.principles li { padding-left: 34px; position: relative; }
.principles li::before,
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1608' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.principles h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.principles p { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* FAQ: two columns on wide screens */
.faq { display: grid; gap: 12px 18px; grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq details {
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
  padding: 0 22px; transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(99, 181, 194, 0.45); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--amber); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* Contact */
.contact {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(242, 161, 12, 0.1), transparent 60%),
    var(--bg-deep);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-direct { margin-top: 28px; color: var(--muted); }
.email-link {
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem;
  color: var(--amber); text-decoration: none; overflow-wrap: anywhere;
}
.email-link:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 7px; padding: 0; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-deep); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px;
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal-hi); box-shadow: 0 0 0 3px rgba(99, 181, 194, 0.2);
}
.field.invalid input, .field.invalid textarea { border-color: #e5735f; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: var(--bg-deep);
  font-size: 0.92rem; transition: all 0.15s;
}
.chip input:checked + span { background: rgba(242, 161, 12, 0.16); border-color: var(--amber); color: var(--amber-hi); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

.form-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
.form-status { margin: 10px 0 0; min-height: 1.5em; font-size: 0.95rem; color: var(--muted); }
.form-status.ok { color: var(--teal-hi); }
.form-status.err { color: #f0907e; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px;
  padding-bottom: 36px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer p { color: var(--muted); font-size: 0.92rem; margin: 0; max-width: 34em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links h2 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--teal-hi); margin: 0 0 4px;
}
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--text); }
.footer-meta { border-top: 1px solid var(--border); padding-block: 18px 22px; }
.footer-meta p { font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.site-nav a[aria-current="page"] { color: var(--text); }

/* ---------- Inner pages ---------- */
.page-hero {
  padding: clamp(48px, 7vw, 84px) 0 clamp(32px, 4vw, 48px);
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(242, 161, 12, 0.11), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(61, 137, 150, 0.15), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Long-form text such as the privacy policy */
.prose h2 { font-size: 1.4rem; margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #cdd6e2; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--amber); }

/* Our work */
.engagements { display: grid; gap: 20px; }
.engagement {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 3.5vw, 34px);
}
.engagement-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.engagement-head .card-icon { margin: 0; }
.engagement-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0; }
.case-meta {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-hi); margin: 0 0 4px;
}
.engagement-lead { color: var(--muted); font-size: 1.04rem; max-width: 52em; }
.engagement-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.engagement-cols h3 { font-size: 1rem; margin-bottom: 0.7em; }
@media (max-width: 700px) { .engagement-cols { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 0.95rem; }
.ticks li::before { width: 18px; height: 18px; background-size: 12px; }

.tech-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.tech-group {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.tech-group:first-child { grid-row: span 2; }
.tech-group h3 { font-size: 1.02rem; margin-bottom: 14px; }
.tech-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chips li {
  padding: 5px 12px; border-radius: 999px; font-size: 0.88rem;
  background: var(--bg-deep); border: 1px solid rgba(255, 255, 255, 0.1); color: #d5dde8;
}
@media (max-width: 700px) { .tech-group:first-child { grid-row: auto; } }

.testimonials-head { margin-top: 64px; }
.testimonials { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.testimonial {
  margin: 0; padding: 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
}
.testimonial blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.testimonial blockquote p::before { content: "\201C"; color: var(--amber); font-family: var(--font-head); font-size: 2.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 0.92rem; }
.testimonial figcaption span { color: var(--muted); }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
}
.cta-band h2 { margin-bottom: 0.3em; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: var(--muted); }

/* Gentle fade-in as sections scroll into view (JavaScript adds .reveal) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .tab-panel .card { animation: none; }
}

/* 404 page */
.notfound { text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound-logo { height: 60px; width: auto; margin: 0 auto 32px; }
.notfound-action { margin-top: 32px; }

/* Contact form spam trap: kept off-screen rather than display:none,
   so simple bots still see and fill it. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
