/* Dejora Technologies Limited — shared site styles (static pages + WordPress theme)
   Layout and palette follow the Dejora sample design. One typeface throughout: EB Garamond. */

@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/eb-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --primary: #173f8a;
  --secondary: #0d766e;
  --aws: #0d766e;
  --font-body: "EB Garamond", Garamond, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-heading: var(--font-body);
  --radius: 14px;

  /* light values first (fallback), then light-dark() where supported */
  --page: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #eaf0f8;
  --text: #14243b;
  --muted: #52647c;
  --border: #d9e2ef;
  --accent-soft: #e5eeff;
  --link: #173f8a;
  --btn: #173f8a;
  --btn-hover: #112f68;
  --head-bg: rgba(255, 255, 255, 0.94);
  --success-bg: #dff6ef;
  --success-text: #145c56;
  --error-bg: #fbeaea;
  --shadow: 0 20px 55px rgba(19, 48, 88, 0.12);
}
@supports (color: light-dark(#000, #fff)) {
  :root {
    --page: light-dark(#f5f8fc, #0e1622);
    --surface: light-dark(#ffffff, #171f2c);
    --surface-alt: light-dark(#eaf0f8, #202b3a);
    --text: light-dark(#14243b, #f0f5fc);
    --muted: light-dark(#52647c, #b3c0d2);
    --border: light-dark(#d9e2ef, #354355);
    --accent-soft: light-dark(#e5eeff, #263c5b);
    --link: light-dark(#173f8a, #9bbeff);
    --btn: light-dark(#173f8a, #2f62c4);
    --btn-hover: light-dark(#112f68, #4575d6);
    --head-bg: light-dark(rgba(255, 255, 255, 0.94), rgba(17, 25, 37, 0.94));
    --success-bg: light-dark(#dff6ef, #173e3a);
    --success-text: light-dark(#145c56, #b9f5e6);
    --error-bg: light-dark(#fbeaea, #4a1f22);
    --shadow: 0 20px 55px light-dark(rgba(19, 48, 88, 0.12), rgba(0, 0, 0, 0.45));
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.2rem; line-height: 1.6; background: var(--page); color: var(--text); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.band-dark :focus-visible, .site-footer :focus-visible, .proof-strip :focus-visible, .topbar :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text); font-weight: 500; letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1.04; letter-spacing: -0.02em; margin: 1.3rem 0 1.25rem; max-width: 12em; }
h1 span { color: var(--link); }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.1; margin: 0.6rem 0 0.9rem; }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--btn); color: #fff; padding: 0.75rem 1rem; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--primary); color: #fff; font-size: 0.91rem; letter-spacing: 0.02em; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--head-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.5rem; position: relative; }
.brand img { height: 2.8rem; width: auto; }
.navlinks { display: flex; align-items: center; gap: 1.6rem; color: var(--muted); font-size: 1.03rem; font-weight: 600; }
.navlinks a { padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.navlinks a:hover { color: var(--secondary); }
.navlinks a[aria-current="page"] { color: var(--text); border-bottom-color: var(--secondary); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.menu-toggle { display: none; border: 1px solid var(--border); border-radius: 8px; padding: 0.55rem 0.85rem; background: var(--surface); color: var(--text); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.15rem; border-radius: 9px; border: 1px solid transparent; font-weight: 700; font-size: 1.05rem; line-height: 1.2; cursor: pointer; transition: transform 0.18s ease, background 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #0a5f58; }
.btn-aws { background: var(--aws); color: #fff; }
.btn-aws:hover { background: #0a5a54; }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--link); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section.alt { background: var(--surface-alt); }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head p, .section-intro { color: var(--muted); font-size: 1.16rem; margin: 0; }
.kicker { color: var(--secondary); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
@supports (color: light-dark(#000, #fff)) { .kicker { color: light-dark(#0d766e, #5fd1c4); } }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; border-radius: 999px; background: var(--accent-soft); color: var(--link); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -130px; top: -210px; background: radial-gradient(circle, var(--accent-soft), transparent 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 3.4rem; }
.hero-copy { max-width: 38rem; color: var(--muted); font-size: 1.28rem; line-height: 1.75; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 2rem; color: var(--muted); font-size: 0.93rem; }
.trust-row li { display: flex; gap: 0.45rem; align-items: center; }
.trust-row svg { width: 1rem; height: 1rem; color: var(--secondary); flex: none; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 26rem; }
.visual-card { position: relative; z-index: 1; width: min(100%, 27.5rem); padding: 1.6rem; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.visual-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.visual-head strong { font-size: 1.03rem; }
.status { font-size: 0.71rem; font-weight: 800; letter-spacing: 0.04em; color: var(--success-text); background: var(--success-bg); border-radius: 999px; padding: 0.4rem 0.6rem; white-space: nowrap; }
.cloud-map { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.25rem 0; }
.cloud-tile { border: 1px solid var(--border); border-radius: 13px; padding: 1rem; min-height: 7.6rem; background: var(--surface); }
.cloud-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; color: #fff; font-weight: 800; font-size: 0.91rem; margin-bottom: 0.9rem; }
.cloud-icon svg { width: 1.2rem; height: 1.2rem; }
.cloud-tile strong { display: block; font-size: 0.97rem; margin-bottom: 0.3rem; }
.cloud-tile small { color: var(--muted); font-size: 0.82rem; line-height: 1.5; display: block; }
.tile-ms { background: #2463a8; } .tile-aws { background: var(--aws); } .tile-ai { background: #0d766e; } .tile-doc { background: #7656b8; }
.visual-foot { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem; border-radius: 12px; background: var(--surface-alt); }
.visual-foot .mini-check { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--secondary); color: #fff; flex: none; }
.visual-foot .mini-check svg { width: 1rem; height: 1rem; }
.visual-foot strong { display: block; font-size: 0.89rem; line-height: 1.35; margin-bottom: 0.15rem; }
.visual-foot small { color: var(--muted); font-size: 0.82rem; }
.float-note { position: absolute; right: -8px; bottom: 1.8rem; z-index: 2; padding: 0.85rem 1.05rem; border-radius: 13px; background: var(--secondary); color: #fff; box-shadow: var(--shadow); font-size: 0.89rem; font-weight: 700; }
.float-note small { display: block; font-weight: 500; opacity: 0.88; margin-top: 0.2rem; }

.proof-strip { background: var(--primary); color: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; padding-block: 1.5rem; }
.proof { display: flex; align-items: center; gap: 0.75rem; font-size: 0.93rem; font-weight: 600; line-height: 1.4; }
.proof-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: rgba(255, 255, 255, 0.14); flex: none; }
.proof-icon svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Cards ---------- */
.icon-box { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 13px; background: var(--accent-soft); color: var(--link); margin-bottom: 1.3rem; flex: none; }
.icon-box svg { width: 1.5rem; height: 1.5rem; }
.card { display: flex; flex-direction: column; height: 100%; padding: 1.7rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.card p { color: var(--muted); font-size: 1.06rem; line-height: 1.7; margin: 0; }
.card .more { margin-top: auto; padding-top: 1.2rem; color: var(--link); font-size: 0.93rem; font-weight: 700; }
.card .more::after { content: " →"; }
.tag { align-self: flex-start; margin-bottom: 1rem; padding: 0.3rem 0.6rem; border-radius: 6px; background: var(--accent-soft); color: var(--link); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

/* ---------- Carousel ---------- */
.carousel { --gap: 1.1rem; position: relative; }
.carousel-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; padding: 0.5rem 0.25rem 1.5rem; margin-inline: -0.25rem; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); min-width: 0; scroll-snap-align: start; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.carousel-buttons { display: flex; gap: 0.5rem; }
.carousel-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.carousel-btn:hover:not(:disabled) { border-color: var(--link); background: var(--accent-soft); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn svg { width: 1.15rem; height: 1.15rem; }
.carousel-dots { display: flex; gap: 0.2rem; align-items: center; }
.carousel-dot { width: 1.5rem; height: 1.5rem; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.carousel-dot::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--border); transition: background 0.2s, transform 0.2s; }
.carousel-dot[aria-current="true"]::before { background: var(--secondary); transform: scale(1.35); }
.carousel-play { display: none; }
.carousel[data-autoplay] .carousel-play { display: grid; }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.carousel-head .section-head { margin-bottom: 0; }

/* ---------- Ecosystem panels ---------- */
.cloud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cloud-panel { position: relative; padding: 2.1rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.cloud-panel::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -65px; top: -75px; background: var(--accent-soft); }
.cloud-panel > * { position: relative; z-index: 1; }
.cloud-label { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.7rem; border-radius: 8px; background: var(--surface-alt); font-size: 0.82rem; font-weight: 800; }
.cloud-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }
.cloud-label.is-aws i { background: var(--aws); }
.cloud-panel h3 { font-size: 2rem; margin: 1.2rem 0 0.75rem; }
.cloud-panel p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.feature-list { display: grid; gap: 0.7rem; margin: 1.3rem 0 1.7rem; }
.feature-list li { display: flex; gap: 0.65rem; font-size: 1.05rem; line-height: 1.5; }
.feature-list li::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.12rem; background: var(--secondary); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / contain no-repeat; }
.note { margin: 1.3rem 0 0; color: var(--muted); font-size: 0.89rem; line-height: 1.65; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.process-step { padding-top: 1.3rem; border-top: 2px solid var(--border); counter-increment: step; }
.process-step::before { content: "0" counter(step); display: block; margin-bottom: 0.9rem; color: var(--secondary); font-size: 0.89rem; font-weight: 800; letter-spacing: 0.1em; }
.process-step h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin: 0; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 4rem; }
.split-visual { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 21rem; padding: 2rem; border-radius: 22px; background: var(--primary); color: #fff; }
.split-visual::before, .split-visual::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; width: 360px; height: 360px; }
.split-visual::after { width: 250px; height: 250px; }
.split-visual > div { position: relative; z-index: 1; text-align: center; }
.quote-mark { font-family: var(--font-heading); font-size: 5.5rem; line-height: 0.7; opacity: 0.6; }
.split-visual blockquote { max-width: 22rem; margin: 1rem auto 0; font-family: var(--font-heading); font-size: 1.85rem; line-height: 1.25; font-weight: 500; }
.split-copy p { color: var(--muted); font-size: 1.12rem; line-height: 1.8; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.value-list strong { display: block; font-size: 1.03rem; margin-bottom: 0.25rem; }
.value-list span { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }

/* ---------- Services page rows ---------- */
.service-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem 4rem; padding-block: 2.2rem; border-top: 1px solid var(--border); scroll-margin-top: 7rem; }
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.service-row p { color: var(--muted); }
.checks { display: grid; gap: 0.5rem; }
.checks li { position: relative; padding-left: 1.5rem; font-size: 1.08rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.7rem; height: 2px; background: var(--secondary); }
.always { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem 1.8rem; border-radius: var(--radius); background: var(--accent-soft); }
.always h4 { font-family: var(--font-body); font-size: 0.93rem; font-weight: 800; margin: 0 0 0.25rem; letter-spacing: 0; }
.always p { margin: 0; }

/* ---------- Tiers table ---------- */
.table-wrap { overflow-x: auto; }
.tiers { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tiers th, .tiers td { padding: 1.05rem 1.3rem; text-align: left; border-bottom: 1px solid var(--border); }
.tiers thead th { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 500; border-bottom: 2px solid var(--text); vertical-align: bottom; }
.tiers tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.tiers td { font-size: 1.25rem; font-weight: 600; }
.tiers .is-popular { background: var(--accent-soft); }
.tiers .badge { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.tiers tfoot td { border-bottom: 0; }
.tiers .btn { padding: 0.6rem 0.9rem; font-size: 0.97rem; }

/* ---------- CTA + contact ---------- */
.cta-band { padding: 0 0 5.5rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.8rem; border-radius: 20px; background: var(--secondary); color: #fff; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 0.6rem; max-width: 38rem; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 40rem; }
.cta-inner .btn { flex: none; background: #fff; color: #145c56; }
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 16em; margin-top: 0.9rem; }
.page-hero .section-intro { max-width: 40rem; font-size: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.2rem; align-items: start; }
.contact-details { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.contact-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-item .icon-box { width: 2.6rem; height: 2.6rem; margin: 0; border-radius: 11px; }
.contact-item .icon-box svg { width: 1.2rem; height: 1.2rem; }
.contact-item strong { display: block; font-size: 1.03rem; margin-bottom: 0.2rem; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 1.03rem; line-height: 1.6; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--link); text-decoration: underline; }
.contact-form { padding: 1.8rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.91rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 0.8rem 0.85rem; border: 1px solid var(--border); border-radius: 8px; background: var(--page); color: var(--text); font-size: 1.08rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--link); outline-offset: 0; border-color: var(--link); }
.field textarea { min-height: 8rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; background: var(--success-bg); color: var(--success-text); font-size: 1.08rem; }
.notice.is-error { background: var(--error-bg); color: var(--text); border-left: 4px solid #c0392b; }
.notice[hidden] { display: none; }
.newsletter { display: flex; flex-wrap: wrap; gap: 0.7rem; max-width: 32rem; margin-top: 1.2rem; }
.newsletter input[type="email"] { flex: 1 1 14rem; padding: 0.8rem 0.9rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: #101e32; color: #f0f5fc; padding: 3.5rem 0 1.5rem; font-size: 1.03rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 2.4rem; }
.footer-grid img { height: 2.9rem; width: auto; margin-bottom: 1.1rem; }
.site-footer p { color: #b4c1d2; line-height: 1.8; margin: 0 0 0.6rem; max-width: 22rem; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.97rem; font-weight: 700; color: #fff; margin: 0 0 1rem; letter-spacing: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: #b4c1d2; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid #2a3a50; padding-top: 1.2rem; color: #9faec2; font-size: 0.89rem; display: grid; gap: 0.4rem; }
.legal p { max-width: none; margin: 0; color: #9faec2; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .navlinks { gap: 1rem; font-size: 0.97rem; }
  .hero-grid { gap: 1.5rem; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex-basis: calc((100% - var(--gap)) / 2); }
  .split { gap: 2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 560px); }
  .topbar-inner { justify-content: center; text-align: center; min-height: 34px; }
  .topbar-inner span:first-child { display: none; }
  .nav-bar { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .navlinks { display: none; position: absolute; top: 100%; left: -16px; right: -16px; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 16px 1.2rem; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 1.14rem; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  .navlinks a[aria-current="page"] { border-bottom-color: var(--border); }
  .hero-grid, .split, .cloud-grid, .contact-grid, .service-row, .always, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 24rem; margin-top: 0.5rem; }
  .visual-card { padding: 1.2rem; }
  .float-note { right: 0; bottom: 0.4rem; }
  .card-grid, .process-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex-basis: 86%; }
  .field.full { grid-column: auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .cta-inner .btn { width: 100%; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .value-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-grid > :last-child { grid-column: auto; }
  .tiers th, .tiers td { padding: 0.8rem 0.65rem; }
  .tiers thead th { font-size: 1.42rem; }
  .tiers td { font-size: 1.08rem; }
}
@media (max-width: 400px) { h1 { font-size: 2.5rem; } .cloud-map { gap: 0.5rem; } .cloud-tile { padding: 0.75rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .carousel-track { scroll-behavior: auto; }
}
@media print { .topbar, .site-header, .site-footer, .carousel-controls { display: none; } }

/* ---------- Article cards (home carousel + WordPress theme) ---------- */
.post-card { padding: 0; overflow: hidden; }
.post-card > :not(.post-thumb) { margin-inline: 1.5rem; }
.post-card .tag { margin-top: 1.3rem; }
.post-card .more { padding-bottom: 1.5rem; }
.post-thumb { aspect-ratio: 16 / 10; width: 100%; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 1.4rem; }

/* ---------- Small-screen fixes ---------- */
.footer-grid > * { min-width: 0; }
.site-footer a, .site-footer li { overflow-wrap: anywhere; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
h1 { max-width: 14em; }
.hero-visual { padding-bottom: 2rem; }
.float-note { right: 1.2rem; bottom: 0.2rem; }
@media (max-width: 760px) { .float-note { right: 0.6rem; bottom: 0; } }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
.hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-slider.is-ready .hero-slide { opacity: 0; visibility: hidden; }
.hero-slider.is-ready .hero-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-slider .hero { height: 100%; padding-bottom: clamp(5rem, 8vw, 6.5rem); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 1.4rem; z-index: 5; pointer-events: none; }
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-controls > .container > * { pointer-events: auto; }
.hero-controls .carousel-btn { width: 2.5rem; height: 2.5rem; }
.hero-slider.is-dark .carousel-dot::before { background: rgba(255, 255, 255, 0.4); }
.hero-slider.is-dark .carousel-dot[aria-current="true"]::before { background: #fff; }
.hero-slider.is-dark .carousel-btn { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero-slider.is-dark .carousel-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.28); }
.hero-slide-counter { display: none; }

/* coloured slides (evergreen and campaign) */
.hero.theme-blue, .hero.theme-teal, .hero.theme-aws, .hero.theme-navy { color: #fff; }
.hero.theme-blue { background: linear-gradient(135deg, #0f2d66, #173f8a 60%, #2457b8); }
.hero.theme-navy { background: linear-gradient(135deg, #0a1b3d, #173f8a); }
.hero.theme-teal { background: linear-gradient(135deg, #07423d, #0d766e); }
.hero.theme-aws { background: linear-gradient(135deg, #053b38, #0d766e); }
.hero[class*="theme-"]::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%); }
.hero[class*="theme-"] h1, .hero[class*="theme-"] h2 { color: #fff; }
.hero[class*="theme-"] .hero-copy { color: rgba(255, 255, 255, 0.86); }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 1.2rem 0 1.1rem; max-width: 14em; }
.badge-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hero[class*="theme-"] .btn-light { background: #fff; color: #0a1b3d; border-color: #fff; }
.hero[class*="theme-"] .btn-light:hover { background: #e5eeff; }
.hero[class*="theme-"] .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero[class*="theme-"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.slide-card { width: min(100%, 27rem); padding: 1.6rem; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 20px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); }
.slide-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.9rem; }
.slide-card .checks li { color: #fff; font-size: 1.05rem; padding-block: 0.15rem; }
.slide-card .checks li::before { background: #fff; }
.slide-card .note { color: rgba(255, 255, 255, 0.8); }
.slide-card .ends { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-weight: 600; }
.slide-image { width: min(100%, 30rem); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.slide-image img { width: 100%; height: auto; }
.hero-list { display: grid; gap: 0.5rem; }
.hero-list li { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 1.1rem; }
.hero-list li:first-child { border-top: 0; }
.hero-list svg { width: 1.1rem; height: 1.1rem; flex: none; }

/* ---------- Campaign banner (top of every page) and band (in page) ---------- */
.promo-banner { background: var(--secondary); color: #fff; }
.promo-banner.theme-blue { background: #173f8a; }
.promo-banner.theme-navy { background: #0a1b3d; }
.promo-banner.theme-aws { background: #0d766e; }
.promo-banner.theme-teal { background: #0d766e; }
.promo-banner .container { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 2.9rem; padding-block: 0.35rem; text-align: center; position: relative; }
.promo-banner p { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.promo-banner a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-banner a:hover { color: #fff; text-decoration-thickness: 2px; }
.promo-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 50%; }
.promo-close:hover { background: rgba(255, 255, 255, 0.2); }
.promo-close svg { width: 1.1rem; height: 1.1rem; }
.promo-banner[hidden] { display: none; }
.campaign-band-wrap { padding-block: 2rem 0; }
.campaign-band-wrap[hidden] { display: none; }
.campaign-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem 2.5rem; padding: clamp(1.6rem, 3vw, 2.5rem); border-radius: 20px; color: #fff; background: linear-gradient(135deg, #0f2d66, #173f8a); overflow: hidden; }
.campaign-band.theme-teal { background: linear-gradient(135deg, #07423d, #0d766e); }
.campaign-band.theme-aws { background: linear-gradient(135deg, #053b38, #0d766e); }
.campaign-band.theme-navy { background: linear-gradient(135deg, #0a1b3d, #173f8a); }
.campaign-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.7rem 0 0.4rem; }
.campaign-band p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 40rem; }
.campaign-band .btn { background: #fff; color: #0a1b3d; }
.campaign-band img { width: 12rem; height: 8rem; object-fit: cover; border-radius: 14px; }
@media (max-width: 760px) {
  .campaign-band { grid-template-columns: 1fr; }
  .campaign-band img { width: 100%; height: auto; max-height: 12rem; }
  .promo-banner .container { padding-inline: 2.4rem; }
  .promo-banner p { font-size: 0.98rem; }
  .hero-controls { bottom: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none !important; } }
.hero-slider .hero { display: flex; align-items: center; }
.hero-slider .hero > .container { flex: 0 1 auto; }
@media (max-width: 760px) { .hero-slider .hero { align-items: flex-start; } }

/* ---------- Icon tiles (one word + icon) ---------- */
.icon-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.icon-tiles li { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.08); font-size: 1.25rem; font-weight: 500; color: #fff; }
.icon-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.tile-ic svg { width: 1.35rem; height: 1.35rem; }
.nav-bar .navlinks a { font-size: 1.05rem; }

/* ================= v4: sleek, colourful, in motion ================= */
@keyframes dj-spin { to { transform: rotate(360deg); } }
@keyframes dj-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes dj-pulse { 0%, 100% { box-shadow: 0 0 0 .5rem rgba(255,255,255,.18), 0 18px 40px -12px rgba(0,0,0,.45); } 50% { box-shadow: 0 0 0 1.1rem rgba(255,255,255,.07), 0 18px 40px -12px rgba(0,0,0,.45); } }
@keyframes dj-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.btn { border-radius: 999px; }
.card { border-radius: 18px; box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(23, 63, 138, .45); }
.section-head h2 { letter-spacing: -0.015em; }

/* colourful icons */
.icon-box { background: linear-gradient(135deg, var(--g1, #2f7bff), var(--g2, #22d3ee)); color: #fff; border-radius: 14px; box-shadow: 0 12px 22px -12px var(--g1, #2f7bff); }
.icon-box svg { animation: dj-bob 5s ease-in-out infinite; }
.icon-box[data-ic="spark"] svg { animation: dj-spin 14s linear infinite; }
.icon-box[data-ic="grid"] { --g1: #2f7bff; --g2: #22d3ee; }
.icon-box[data-ic="flow"] { --g1: #373737; --g2: #0047AB; }
.icon-box[data-ic="cloud"] { --g1: #1d6fe0; --g2: #22d3ee; }
.icon-box[data-ic="shield"] { --g1: #0d766e; --g2: #14b8a6; }
.icon-box[data-ic="spark"] { --g1: #173f8a; --g2: #4f8bff; }
.icon-box[data-ic="doc"] { --g1: #0891b2; --g2: #5eead4; }
.icon-box[data-ic="learn"] { --g1: #1d4ed8; --g2: #0ea5e9; }
.icon-box[data-ic="mail"] { --g1: #0047AB; --g2: #2f7bff; }
.icon-box[data-ic="phone"] { --g1: #0d766e; --g2: #2dd4bf; }
.icon-box[data-ic="pin"] { --g1: #173f8a; --g2: #22d3ee; }
.icon-box[data-ic="clock"] { --g1: #1d4ed8; --g2: #38bdf8; }
.card:nth-child(2n) .icon-box svg { animation-delay: -1.4s; }
.card:nth-child(3n) .icon-box svg { animation-delay: -2.8s; }

/* hero: bigger type, colour and motion */
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero .hero-title { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.06; letter-spacing: -0.018em; }
.hero.theme-navy { background: linear-gradient(120deg, #0a1b3d, #0047AB 55%, #1d6fe0); background-size: 220% 220%; animation: dj-shift 16s ease-in-out infinite; }
.hero.theme-violet { background: linear-gradient(120deg, #14181d, #373737 50%, #0b4fb3); background-size: 220% 220%; animation: dj-shift 16s ease-in-out infinite; color: #fff; }
.hero.theme-aws { background: linear-gradient(120deg, #053b38, #0d766e 55%, #14a3a0); background-size: 220% 220%; animation: dj-shift 16s ease-in-out infinite; }
.hero.theme-violet h1, .hero.theme-violet h2 { color: #fff; }
.hero.theme-violet .hero-copy { color: rgba(255,255,255,.86); }
.hero.theme-violet .btn-light { background: #fff; color: #14181d; border-color: #fff; }
.hero[class*="theme-"]::after, .hero.is-brand::after { content: ""; position: absolute; width: 46rem; height: 46rem; right: -14rem; top: 50%; margin-top: -23rem; border-radius: 50%; pointer-events: none; filter: blur(70px); background: conic-gradient(rgba(34,211,238,.4), rgba(47,123,255,.4), rgba(20,184,166,.4), rgba(0,71,171,.4), rgba(34,211,238,.4)); animation: dj-spin 30s linear infinite; }
.hero.is-brand::after { opacity: .45; }
.promo-banner.theme-violet, .campaign-band.theme-violet { background: linear-gradient(135deg, #14181d, #373737); }

/* orbit visual */
.orbit { --s: min(26rem, 84vw); --r: calc(var(--s) * .37); position: relative; width: var(--s); height: var(--s); margin: 0; display: grid; place-items: center; }
.orbit-glow { position: absolute; inset: 8%; border-radius: 50%; filter: blur(44px); opacity: .4; background: conic-gradient(#0047AB, #2f7bff, #22d3ee, #14b8a6, #2f7bff, #0047AB); animation: dj-spin 22s linear infinite; }
.orbit-track { position: absolute; inset: calc(50% - var(--r)); border-radius: 50%; border: 1.5px dashed currentColor; opacity: .28; animation: dj-spin 60s linear infinite; }
.orbit-track.t2 { inset: calc(50% - var(--r) * .6); border-style: dotted; opacity: .2; animation-direction: reverse; animation-duration: 40s; }
.orbit-ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; animation: dj-spin 48s linear infinite; }
.orbit-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit-in { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: dj-spin 48s linear infinite reverse; }
.orbit-bubble { position: absolute; left: -1.75rem; top: -1.75rem; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 12px 24px -8px var(--g1), 0 0 0 4px rgba(255,255,255,.22); }
.orbit-bubble svg { width: 1.55rem; height: 1.55rem; }
.orbit-lbl { position: absolute; left: 0; top: 2.1rem; transform: translateX(-50%); white-space: nowrap; font-size: 1.05rem; font-weight: 600; color: inherit; }
.orbit-hub { position: relative; z-index: 1; display: grid; place-items: center; width: calc(var(--s) * .25); aspect-ratio: 1; border-radius: 50%; background: #fff; animation: dj-pulse 3.6s ease-in-out infinite; }
.orbit-hub img { width: 56%; height: auto; }
.orbit-cap { position: absolute; left: 0; right: 0; bottom: -1.9rem; text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero.is-brand .orbit-hub { box-shadow: 0 0 0 .5rem rgba(23,63,138,.1), 0 18px 40px -14px rgba(23,63,138,.5); animation: none; }
@media (max-width: 760px) {
  .orbit { --s: min(22rem, 86vw); --r: calc(var(--s) * .35); }
  .orbit-bubble { left: -1.5rem; top: -1.5rem; width: 3rem; height: 3rem; }
  .orbit-bubble svg { width: 1.3rem; height: 1.3rem; }
  .orbit-lbl { top: 1.85rem; font-size: .95rem; }
}

/* belief and delivery figures */
.belief { background: linear-gradient(120deg, #0a1b3d, #0047AB 60%, #0d766e); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.belief-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.belief-grid > * { min-width: 0; }
.belief-quote { margin: 0; }
.belief .kicker { color: #9cc4ff; }
.belief blockquote { margin: .8rem 0 0; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.18; font-weight: 500; text-wrap: balance; color: #fff; }
.belief-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding-left: clamp(1.2rem, 3vw, 3rem); border-left: 1px solid rgba(255,255,255,.25); }
.belief-stats strong { display: block; font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 500; line-height: 1; background: linear-gradient(135deg, #9ccbff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.belief-stats > div > span { display: block; margin-top: .4rem; font-size: 1.1rem; opacity: .9; }
.belief-stats small { grid-column: 1 / -1; letter-spacing: .12em; text-transform: uppercase; opacity: .7; font-size: .8rem; }
@media (max-width: 860px) { .belief-grid { grid-template-columns: 1fr; } .belief-stats { border-left: 0; padding-left: 0; } }

@media (prefers-reduced-motion: reduce) {
  .orbit-glow, .orbit-track, .orbit-ring, .orbit-in, .orbit-hub, .icon-box svg, .hero::after, .hero[class*="theme-"] { animation: none !important; }
}

.row-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 0; }

/* distinct motion per slide: 2 = counter-clockwise with breathing icons, 3 = swinging pendulum */
@keyframes dj-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes dj-sway { from { transform: rotate(-38deg); } to { transform: rotate(38deg); } }
.orbit.is-rev .orbit-ring { animation: dj-spin 30s linear infinite reverse; }
.orbit.is-rev .orbit-in { animation: dj-spin 30s linear infinite; }
.orbit.is-rev .orbit-bubble { animation: dj-breathe 3s ease-in-out infinite; }
.orbit.is-rev .orbit-node:nth-child(2n) .orbit-bubble { animation-delay: -1s; }
.orbit.is-rev .orbit-node:nth-child(3n) .orbit-bubble { animation-delay: -2s; }
.orbit.is-sway .orbit-ring { animation: dj-sway 6s ease-in-out infinite alternate; }
.orbit.is-sway .orbit-in { animation: dj-sway 6s ease-in-out infinite alternate-reverse; }
.orbit.is-sway .orbit-track { animation-duration: 25s; }
@media (prefers-reduced-motion: reduce) { .orbit .orbit-bubble { animation: none !important; } }

/* ===== v5: photo panels with context cards (replaces the orbit motion) ===== */
.photo-panel { position: relative; width: min(100%, 30rem); margin: 0; }
.photo-img { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, #0047AB, #0d766e); box-shadow: 0 30px 60px -30px rgba(0, 20, 60, .6); }
.photo-img::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.55), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 22px); }
.ph-note { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 1rem; text-align: center; color: rgba(255,255,255,.85); }
.ph-note svg { width: 2.2rem; height: 2.2rem; }
.ph-note em { font-size: 1rem; }
.photo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip-cards { list-style: none; margin: 0; padding: 0; }
.chip-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .65rem 1rem .65rem .65rem; border-radius: 16px; background: #fff; color: #14243b; box-shadow: 0 18px 36px -16px rgba(0, 20, 60, .55); max-width: 17rem; }
.chip-card strong { display: block; font-size: 1.08rem; font-weight: 600; line-height: 1.2; }
.chip-card small { display: block; font-size: .9rem; color: #52627a; line-height: 1.25; }
.chip-ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.chip-ic svg { width: 1.3rem; height: 1.3rem; }
.chip-card.c1 { top: 8%; left: -2rem; }
.chip-card.c2 { top: 42%; right: -2rem; }
.chip-card.c3 { bottom: -1.2rem; left: 8%; }
@media (max-width: 760px) {
  .photo-panel { margin-bottom: 1.6rem; }
  .chip-card { padding: .5rem .8rem .5rem .5rem; max-width: 14.5rem; }
  .chip-card strong { font-size: .98rem; } .chip-card small { font-size: .82rem; }
  .chip-card.c1 { left: -.4rem; } .chip-card.c2 { right: -.4rem; }
}
.ph-note { position: absolute; right: 1rem; bottom: .8rem; display: block; padding: 0; text-align: right; max-width: 55%; }
.ph-note svg { display: none; }
.ph-note em { font-size: .85rem; opacity: .8; }
.ph-note { top: .8rem; bottom: auto; max-width: 38%; line-height: 1.2; }
.ph-note em { display: block; }
/* portrait photo panels (slides 2 and 3) */
.photo-panel { width: min(100%, 20rem); }
.photo-img { aspect-ratio: 277 / 562; max-height: 30rem; width: 100%; }
.chip-card.c1 { left: -4.5rem; }
.chip-card.c2 { right: -4.5rem; }
.chip-card.c3 { left: -2rem; }
@media (max-width: 760px) { .photo-panel { width: min(100%, 17rem); } .chip-card.c1 { left: -.4rem; } .chip-card.c2 { right: -.4rem; } .chip-card.c3 { left: .4rem; } }

/* ===== slide 1: orbit around a photo / slide 4: floating cards around a photo ===== */
@keyframes dj-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.orbit.has-photo { --s: min(29rem, 86vw); --r: calc(var(--s) * .435); }
.orbit-hub.has-photo { width: calc(var(--s) * .46); overflow: hidden; animation: none; box-shadow: 0 0 0 .4rem rgba(255,255,255,.7), 0 26px 50px -18px rgba(0, 30, 90, .6); }
.orbit-hub.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.orbit.has-photo .orbit-glow { inset: 4%; }
@media (max-width: 760px) { .orbit.has-photo { --s: min(22rem, 88vw); --r: calc(var(--s) * .42); } }
.photo-halo { position: absolute; inset: -10% -28%; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none;
  background: conic-gradient(#22d3ee, #14b8a6, #2f7bff, #0047AB, #22d3ee); animation: dj-spin 26s linear infinite reverse; }
.photo-panel.is-float .photo-img { position: relative; }
.photo-panel.is-float .chip-card { animation: dj-float 5s ease-in-out infinite; }
.photo-panel.is-float .chip-card.c2 { animation-delay: -1.7s; }
.photo-panel.is-float .chip-card.c3 { animation-delay: -3.4s; }
@media (prefers-reduced-motion: reduce) { .photo-halo, .photo-panel.is-float .chip-card { animation: none !important; } }
.orbit.has-photo .orbit-cap { display: none; }

/* ===== Insights library (preview of WordPress layout) ===== */
.preview-note { display: inline-block; margin: 1rem 0 0; padding: .4rem .8rem; border-radius: 8px; background: var(--accent-soft); color: var(--link); font-size: .95rem; }
.lib-bar { margin-bottom: 1.4rem; }
.lib-search { display: flex; align-items: center; gap: .7rem; max-width: 36rem; padding: .2rem 1rem; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); }
.lib-search svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--muted); }
.lib-search input { flex: 1; min-width: 0; padding: .75rem 0; border: 0; background: transparent; color: var(--text); font-size: 1.1rem; }
.lib-search input:focus { outline: none; }
.lib-search:focus-within { border-color: var(--link); }
.lib-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.lib-tab { padding: .7rem 1.1rem; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.lib-tab.is-active { color: var(--link); border-bottom-color: var(--link); }
.lib-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lib-chip { padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .98rem; cursor: pointer; }
.lib-chip.is-active { background: var(--btn); border-color: var(--btn); color: #fff; }
.lib-count { margin: 1.4rem 0 1rem; color: var(--muted); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.lib-item[hidden] { display: none; }
.lib-card { display: flex; flex-direction: column; gap: .9rem; height: 100%; color: inherit; }
.lib-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; color: #fff; padding: 1rem 38% 1rem 1rem; }
.lib-media.t-article { background: linear-gradient(135deg, #0047AB, #2f7bff); }
.lib-media.t-campaign { background: linear-gradient(135deg, #0d766e, #14b8a6); }
.lib-media.t-ebook { background: linear-gradient(135deg, #1f2937, #373737 55%, #0b4fb3); }
.lib-media img { position: absolute; top: 0; right: 0; width: 36%; height: 100%; object-fit: cover; }
.lib-icon { position: absolute; top: .9rem; left: .9rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: #fff; color: #14243b; }
.lib-icon svg { width: 1.3rem; height: 1.3rem; }
.lib-kicker { position: absolute; left: 1rem; bottom: 4.6rem; font-size: .9rem; opacity: .9; }
.lib-title { position: absolute; left: 1rem; right: 38%; bottom: .9rem; font-size: 1.28rem; line-height: 1.12; font-weight: 500; }
.lib-meta { display: flex; flex-direction: column; gap: .35rem; }
.lib-meta strong { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.lib-meta > span { color: var(--muted); }
.lib-meta small { color: var(--muted); font-size: .92rem; }
.lib-meta em { font-style: normal; font-weight: 700; color: var(--link); }
.lib-card:hover .lib-meta strong { text-decoration: underline; }
.lib-empty { padding: 2rem; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.lib-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lib-form-wrap > * { min-width: 0; }
.lib-form { display: grid; gap: .5rem; padding: 1.6rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.lib-form label { font-weight: 600; }
.lib-form input { padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font-size: 1.05rem; }
.lib-form .btn { margin-top: .8rem; justify-self: start; }
@media (max-width: 860px) { .lib-form-wrap { grid-template-columns: 1fr; } }
.lib-media { display: flex; flex-direction: column; justify-content: flex-end; gap: .25rem; }
.lib-kicker, .lib-title { position: static; }
.lib-title { font-size: 1.15rem; }
