/* Portfolio site (campusgrid.cloud): editorial layout, navy and blue on a cool off-white page.
   Plus Jakarta Sans for headlines and figures, Inter for text. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2"); }

:root {
  --bg: #F5F7FB; --tint: #EAEFF8; --card: #FFFFFF;
  --ink: #0B1B3A; --ink-2: #33415C; --dim: #5B6780; --rule: rgba(11, 27, 58, 0.12);
  --blue: #2563EB; --blue-2: #1D4ED8; --sky: #7DB4FF;
  --navy: #0A1630; --navy-2: #102247; --navy-line: rgba(255, 255, 255, 0.12);
  --serif: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--blue); color: #fff; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 200; padding: 0.5rem 1rem; background: var(--ink); color: #fff; border-radius: 0.5rem; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }

/* Reading progress */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--sky)); transform-origin: 0 50%; transform: scaleX(var(--read, 0)); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s; }
.btn:hover { transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.7); }
.btn--blue:hover { background: var(--blue-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.link { font-weight: 600; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease), color 0.3s; }
.link::after { content: " →"; }
.link:hover { color: var(--blue); background-size: 0 1px; background-position: 100% 100%; }
.link--light { color: #fff; }
.link--light:hover { color: var(--sky); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease); }
.nav.is-solid { background: rgba(245, 247, 251, 0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--rule); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 700; letter-spacing: -0.01em; }
.brand__mono { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 0.6rem; background: var(--ink); color: #fff;
  font: 700 0.95rem/1 var(--serif); letter-spacing: 0.02em; }
.brand__mono--sm { width: 1.6rem; height: 1.6rem; border-radius: 0.45rem; font-size: 0.72rem; background: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 1.75rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display: none; }

/* Opening */
.hero { padding: 10rem 0 5rem; position: relative; overflow: hidden;
  background: radial-gradient(60rem 30rem at 85% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(125, 180, 255, 0.14), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 4rem 4rem; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.hero .wrap { position: relative; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.hero__meta span { padding: 0.35rem 0.85rem; border: 1px solid var(--rule); border-radius: 999px; background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta span:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__title { font: 700 clamp(2.75rem, 6.2vw, 5.75rem)/1.02 var(--serif); letter-spacing: -0.035em; }
.hero__title em { color: var(--blue); font-style: normal; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.line + .line > span { transition-delay: 0.12s; }
.is-ready .line > span { transform: none; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--ink-2); max-width: 36rem; }
.hero__cta { display: flex; align-items: center; gap: 1.75rem; margin-top: 2rem; }
.spec { background: var(--card); border: 1px solid var(--rule); border-radius: 1.25rem; padding: 0.5rem 1.75rem;
  box-shadow: 0 30px 60px -40px rgba(11, 27, 58, 0.35); }
.spec div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.spec dd { font: 700 1.5rem/1.1 var(--serif); color: var(--ink); }
.spec div:last-child dd { font-size: 1.05rem; color: var(--blue); }

/* Fade-in for the opening */
.hero__meta, .hero__grid { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) 0.35s, transform 1s var(--ease) 0.35s; }
.is-ready .hero__meta, .is-ready .hero__grid { opacity: 1; transform: none; }
.hero__meta { transition-delay: 0s; }

/* Tech names */
.marquee { border-block: 1px solid var(--rule); background: var(--card); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font: 600 1.4rem/1 var(--serif); color: var(--ink-2); padding: 0 1.6rem; white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: 0.7rem; color: var(--blue); margin-left: 3.2rem; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chapters */
.sec { padding: 4rem 0; }
.sec--tint { background: var(--tint); }
.sec__grid { display: grid; grid-template-columns: 11rem 1fr; gap: 3rem; }
.sec__index { position: sticky; top: 6.5rem; align-self: start; display: flex; flex-direction: column; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.sec__index b { font: 600 3.25rem/1 var(--serif); letter-spacing: -0.02em; color: var(--blue); text-transform: none; }
.sec__head { max-width: 50rem; margin-bottom: 4rem; }
.sec__head h2, .about__text h2, .contact h2 { font: 700 clamp(2.25rem, 4.4vw, 3.75rem)/1.05 var(--serif); letter-spacing: -0.03em; }
.sec__head h2 em, .contact h2 em { color: var(--blue); font-style: normal; }
.sec__head p { margin-top: 1.4rem; font-size: 1.12rem; color: var(--ink-2); max-width: 42rem; }
.sub { margin: 5rem 0 1.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.figures li { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--rule); }
.figures li:not(:nth-child(3n + 1)) { padding-left: 2rem; border-left: 1px solid var(--rule); }
.figures b { display: block; font: 600 clamp(3rem, 5.5vw, 4.75rem)/1 var(--serif); letter-spacing: -0.04em; color: var(--ink); }
.figures li:nth-child(-n + 2) b { color: var(--blue); }
.figures li > span { display: block; margin-top: 0.6rem; color: var(--dim); font-size: 0.95rem; }

/* What I deliver: an index of rows */
.index { border-top: 1px solid var(--ink); }
.index__row { display: grid; grid-template-columns: 3rem 15rem 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--rule); transition: background 0.35s var(--ease), padding 0.35s var(--ease); }
.index__row:hover { background: var(--card); padding-left: 1.25rem; padding-right: 1.25rem; }
.index__no { font: 600 1.4rem/1 var(--serif); color: var(--blue); }
.index__row h4 { font: 700 1.4rem/1.2 var(--serif); letter-spacing: -0.01em; }
.index__row p { color: var(--ink-2); }
.index__row ul, .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }
.index__row ul li, .tags li { padding: 0.25rem 0.65rem; border-radius: 999px; background: rgba(37, 99, 235, 0.08); color: var(--blue-2);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap; }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; gap: 0.25rem 0; font: 600 clamp(1.6rem, 3vw, 2.6rem)/1.35 var(--serif); letter-spacing: -0.02em; }
.sectors li { display: inline-flex; align-items: baseline; transition: color 0.3s; }
.sectors li:not(:last-child)::after { content: "/"; margin: 0 0.9rem; color: rgba(11, 27, 58, 0.2); }
.sectors li:hover { color: var(--blue); }
.sectors sup { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.06em; color: var(--blue); margin-right: 0.45rem; vertical-align: super; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.steps li:nth-child(n + 2) { border-top-color: var(--rule); }
.steps i { display: block; font: 500 4.5rem/1 var(--serif); color: var(--blue); }
.steps b { display: block; margin: 1rem 0 0.5rem; font: 700 1.35rem/1.2 var(--serif); }
.steps span { color: var(--ink-2); font-size: 0.97rem; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rules li { padding: 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 1rem; color: var(--ink-2); font-size: 0.95rem; }
.rules b { display: block; margin-bottom: 0.4rem; color: var(--ink); font: 700 1.15rem/1.25 var(--serif); }
.rules b::before { content: "✓"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: 0.55rem; border-radius: 50%;
  background: var(--blue); color: #fff; font: 700 0.7rem/1 var(--sans); vertical-align: 0.15em; }

/* Case study: the dark band */
.sec--dark { background: radial-gradient(50rem 30rem at 100% 0%, rgba(37, 99, 235, 0.28), transparent 70%), var(--navy); color: #fff; }
.sec--dark .sec__index { color: rgba(255, 255, 255, 0.55); }
.sec--dark .sec__index b, .sec--dark .sec__head h2 em { color: var(--sky); }
.sec--dark .sec__head p { color: rgba(255, 255, 255, 0.72); }
.arch { display: grid; grid-template-columns: 1fr 15rem 1fr; gap: 2rem; align-items: center; }
.arch__side { display: grid; gap: 0.9rem; }
.arch__node { padding: 1rem 1.2rem; border: 1px solid var(--navy-line); border-radius: 0.9rem; background: rgba(255, 255, 255, 0.04); position: relative; }
.arch__side:first-child .arch__node::after, .arch__side:last-child .arch__node::before { content: ""; position: absolute; top: 50%; width: 2rem; height: 1px;
  background: linear-gradient(90deg, rgba(125, 180, 255, 0), rgba(125, 180, 255, 0.7)); }
.arch__side:first-child .arch__node::after { left: 100%; }
.arch__side:last-child .arch__node::before { right: 100%; transform: scaleX(-1); }
.arch__node b { display: block; font-weight: 600; }
.arch__node span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.58); }
.arch__hub { aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 0.35rem; padding: 1.5rem;
  background: radial-gradient(circle at 30% 25%, #2E5BD8, #12306F 70%); box-shadow: 0 0 0 10px rgba(125, 180, 255, 0.08), 0 0 0 22px rgba(125, 180, 255, 0.04), 0 30px 80px -20px rgba(37, 99, 235, 0.8); }
.arch__hub b { font: 700 1.35rem/1.15 var(--serif); }
.arch__hub span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); }
.arch__hub em { justify-self: center; margin-top: 0.4rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: #fff; color: var(--navy); font: 600 0.72rem/1.4 var(--sans); }
.decisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 4rem 0; }
.card { padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.04); transition: background 0.3s, border-color 0.3s; }
.card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(125, 180, 255, 0.4); }
.card h3 { margin: 1rem 0 0.5rem; font: 700 1.15rem/1.25 var(--serif); }
.card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }
.card__icon { display: block; width: 2.4rem; height: 2.4rem; border-radius: 0.7rem; background: rgba(125, 180, 255, 0.14); position: relative; }
.card__icon::after { content: ""; position: absolute; inset: 0.55rem; background: var(--sky); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.shot { display: block; border-radius: 1rem; overflow: hidden; border: 1px solid var(--navy-line); background: var(--navy-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); transition: transform 0.5s var(--ease); cursor: zoom-in; }
.shot:hover { transform: translateY(-4px); }
.shot__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--navy-line); }
.shot__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.shot__bar span { margin-left: 0.8rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.shot--art { border-color: rgba(125, 180, 255, 0.22); box-shadow: 0 0 0 1px rgba(125, 180, 255, 0.08), 0 50px 120px -50px rgba(37, 99, 235, 0.9); }
.case__more { margin-top: 2rem; }

/* Tech stack */
.tech { border-top: 1px solid var(--ink); }
.tech__group { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.tech__group h3 { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.logos { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.95rem 0.55rem 0.7rem; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--card); font-size: 0.88rem; font-weight: 600; color: var(--ink-2); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.logo:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 10px 24px -16px var(--brand); }
.logo i { width: 1.35rem; height: 1.35rem; background: var(--brand); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.logo--oracle i, .logo--aws i { width: 2.2rem; }
.tags { justify-content: flex-start; }
.tags li { font-size: 0.85rem; padding: 0.45rem 0.9rem; }

/* Credentials */
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.3rem; padding: 2rem 1rem 1.6rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: 1.1rem; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.badge:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(11, 27, 58, 0.45); }
.badge img { width: 6.5rem; height: 6.5rem; object-fit: contain; margin-bottom: 1rem; }
.badge b { font: 700 1.02rem/1.3 var(--serif); }
.badge span { font-size: 0.8rem; color: var(--dim); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about__quote { font: 500 clamp(1.8rem, 3.2vw, 2.75rem)/1.2 var(--serif); letter-spacing: -0.02em; color: var(--ink);
  padding-left: 1.75rem; border-left: 3px solid var(--blue); }
.about__text h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: 1.25rem; }
.about__text p { color: var(--ink-2); font-size: 1.05rem; }
.about__text p + p { margin-top: 1rem; }

/* Contact and footer */
.contact { background: radial-gradient(50rem 30rem at 0% 100%, rgba(37, 99, 235, 0.3), transparent 70%), var(--navy); color: #fff; padding-top: 8rem; }
.sec__index--light { position: static; color: rgba(255, 255, 255, 0.55); margin-bottom: 1.5rem; }
.sec__index--light b { color: var(--sky); }
.contact h2 { font-size: clamp(2.75rem, 6.5vw, 6rem); max-width: 60rem; }
.contact h2 em { color: var(--sky); }
.contact .wrap > p:not(.kicker):not(.sec__sub) { margin-top: 1.5rem; max-width: 38rem; font-size: 1.15rem; color: rgba(255, 255, 255, 0.72); }
.contact__mail { display: inline-flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-bottom: 0.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font: 600 clamp(1.6rem, 3.6vw, 3rem)/1.2 var(--serif); letter-spacing: -0.02em; transition: color 0.3s, border-color 0.3s; }
.contact__mail span { transition: transform 0.4s var(--ease); }
.contact__mail:hover { color: var(--sky); border-color: var(--sky); }
.contact__mail:hover span { transform: translateX(0.5rem); }
.foot { margin-top: 7rem; border-top: 1px solid var(--navy-line); }
.foot__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.75rem 2rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.foot__inner span:first-child { display: inline-flex; align-items: center; gap: 0.6rem; color: rgba(255, 255, 255, 0.85); }

/* Screenshot viewer */
.zoom { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.zoom::backdrop { background: rgba(10, 22, 48, 0.85); backdrop-filter: blur(6px); }
.zoom img { max-height: 88vh; border-radius: 0.8rem; }
.zoom__close { position: fixed; top: 1.25rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Smaller screens */
@media (max-width: 1100px) {
  .nav__links { gap: 1.1rem; font-size: 0.86rem; }
  .index__row { grid-template-columns: 2.5rem 1fr; }
  .index__row p, .index__row ul { grid-column: 2; justify-content: flex-start; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .decisions, .rules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule); border-radius: 50%; background: var(--card); cursor: pointer; }
  .nav__toggle i, .nav__toggle i::before, .nav__toggle i::after { display: block; width: 1.1rem; height: 2px; background: var(--ink); position: relative; }
  .nav__toggle i::before, .nav__toggle i::after { content: ""; position: absolute; left: 0; }
  .nav__toggle i::before { top: -6px; }
  .nav__toggle i::after { top: 6px; }
  .nav__links { position: absolute; top: 4.5rem; left: 1rem; right: 1rem; flex-direction: column; align-items: stretch; gap: 0; padding: 0.75rem;
    background: var(--card); border: 1px solid var(--rule); border-radius: 1rem; box-shadow: 0 30px 60px -30px rgba(11, 27, 58, 0.4); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.75rem 1rem; }
  .nav__links .btn { justify-content: center; margin-top: 0.5rem; }
  .hero { padding-top: 8rem; }
  .hero__grid, .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .sec { padding: 3.25rem 0; }
  .sec__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .sec__index { position: static; flex-direction: row; align-items: baseline; gap: 0.8rem; }
  .sec__index b { font-size: 2.25rem; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figures li, .figures li:not(:nth-child(3n + 1)) { padding: 1.5rem 1rem 1.5rem 0; border-left: 0; }
  .figures li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; }
  .arch__hub { width: 14rem; justify-self: center; order: -1; }
  .arch__node::before, .arch__node::after { display: none; }
  .tech__group { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 1.25rem; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .steps, .decisions, .rules { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .hero__cta { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line > span, .hero__meta, .hero__grid, .reveal { transform: none; opacity: 1; }
}

/* Cinematic scenes: the opening, the case study and the contact band use generated film stills (assets/img/bg),
   with film grain, a slow push-in and, in the opening, letterbox bars that open on load. */
.cine { position: relative; isolation: isolate; overflow: hidden; }
.cine::after { content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite; }
.cine > .wrap { position: relative; z-index: 2; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
@keyframes push { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero.cine { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 9rem 0 6rem; background: var(--navy); color: #fff; }
.hero.cine::before { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(10, 22, 48, 0.92) 0%, rgba(10, 22, 48, 0.55) 45%, rgba(10, 22, 48, 0.1) 75%),
    linear-gradient(0deg, rgba(10, 22, 48, 0.95) 0%, rgba(10, 22, 48, 0) 35%),
    url("../img/bg/hero.jpg") 70% center / cover no-repeat;
  transform: scale(1.12); animation: push 14s var(--ease) 0.2s forwards; }
.hero__bar { position: absolute; left: 0; right: 0; height: 12vh; z-index: 3; background: #000; transition: transform 1.6s var(--ease) 0.15s; }
.hero__bar--top { top: 0; transform-origin: top; }
.hero__bar--bottom { bottom: 0; transform-origin: bottom; }
.is-ready .hero__bar { transform: scaleY(0); }
.hero.cine .hero__meta span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero.cine .hero__meta span:first-child { background: #fff; color: var(--navy); border-color: #fff; }
.hero.cine .hero__title { color: #fff; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.45); }
.hero.cine .hero__title em { color: var(--sky); font-size: 1.4em; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.hero.cine .lead { color: rgba(255, 255, 255, 0.76); }
.hero.cine .link { color: #fff; }
.hero.cine .link:hover { color: var(--sky); }
.hero.cine .spec { background: rgba(10, 22, 48, 0.45); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hero.cine .spec div { border-bottom-color: rgba(255, 255, 255, 0.12); }
.hero.cine .spec div:last-child { border-bottom: 0; }
.hero.cine .spec dt { color: rgba(255, 255, 255, 0.55); }
.hero.cine .spec dd { color: #fff; }
.hero.cine .spec div:last-child dd { color: var(--sky); }

/* Navigation over the dark opening, until the page scrolls */
.nav:not(.is-solid) .brand { color: #fff; }
.nav:not(.is-solid) .brand__mono { background: #fff; color: var(--navy); }
.nav:not(.is-solid) .nav__links { color: rgba(255, 255, 255, 0.82); }
.nav:not(.is-solid) .nav__links a:not(.btn):hover { color: #fff; }
.nav:not(.is-solid) .btn--ink { background: #fff; color: var(--navy); }
.nav:not(.is-solid) .btn--ink:hover { background: var(--sky); }
@media (max-width: 900px) {
  .nav:not(.is-solid) .nav__links { color: var(--ink-2); }
  .nav:not(.is-solid) .btn--ink { background: var(--ink); color: #fff; }
}

.contact.cine { background: linear-gradient(180deg, rgba(10, 22, 48, 0.85) 0%, rgba(10, 22, 48, 0.35) 60%, rgba(10, 22, 48, 0.75) 100%),
  url("../img/bg/contact.jpg") center bottom / cover no-repeat, var(--navy); }
.contact.cine .foot { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg { transform: none; }
  .hero__bar { display: none; }
}

/* Opening, two columns: headline on the left, certifications on the right, key figures in one strip below */
.hero.cine { padding: 6.75rem 0 2.5rem; }
.hero.cine > .wrap { width: 100%; }
.hero.cine .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; margin-top: 0; }
.hero.cine .hero__meta { margin-bottom: 1.75rem; }
.hero.cine .hero__title { font-size: clamp(2.4rem, 3.7vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; }
@media (min-width: 561px) { .hero.cine .hero__title .line { white-space: nowrap; } }
@media (min-width: 561px) and (max-width: 900px) { .hero.cine .hero__title { font-size: 6vw; } }
.hero.cine .lead { margin-top: 1.6rem; font-size: 1.1rem; max-width: 35rem; text-align: justify; }
.creds { padding: 1.6rem; border-radius: 1.4rem; border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s; }
.is-ready .creds { opacity: 1; transform: none; }
.creds__title { margin-bottom: 1.1rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.creds__title b { color: #fff; font-weight: 700; }
.creds__list { display: grid; gap: 0.5rem; }
.creds__list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0.75rem; border-radius: 0.9rem; background: rgba(10, 22, 48, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06); transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.creds__list li:hover { background: rgba(37, 99, 235, 0.22); border-color: rgba(125, 180, 255, 0.35); transform: translateX(4px); }
.creds__list img { width: 2.9rem; height: 2.9rem; object-fit: contain; flex: none; padding: 0.2rem; border-radius: 0.7rem; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6); }
.creds__list span { display: flex; flex-direction: column; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); line-height: 1.35; }
.creds__list span b { font: 600 0.98rem/1.3 var(--serif); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(2.5rem, 6vh, 4.5rem); border-top: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0; transition: opacity 1s var(--ease) 0.7s; }
.is-ready .facts { opacity: 1; }
.facts div { padding: 1.25rem 1rem 0 0; }
.facts div + div { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.facts dd { margin-top: 0.3rem; font: 700 1.6rem/1.15 var(--serif); letter-spacing: -0.02em; color: #fff; }
.facts div:last-child dd { font-size: 1.1rem; line-height: 1.6; color: var(--sky); }
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero.cine .hero__grid { grid-template-columns: 1fr; }
  .creds { margin-top: 0; }
  .hero.cine { padding-top: 7rem; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div, .facts div + div { padding: 1rem 0.75rem 0 0; border-left: 0; }
  .facts div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
}
@media (prefers-reduced-motion: reduce) { .creds, .facts { opacity: 1; transform: none; } }

/* Work: the figures as tiles, then the eight services as cards, both across the full width */
.work .sec__head { margin-bottom: 3.5rem; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(11rem, auto); gap: 1rem; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem 1.75rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: 1.4rem; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11, 27, 58, 0.45); }
.tile b { font: 700 clamp(2.6rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -0.04em; color: var(--ink); }
.tile > span { margin-top: 0.5rem; font-weight: 600; color: var(--ink-2); }
.tile small { margin-top: 0.4rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.tile--hero { grid-column: span 2; grid-row: span 2; border: 0; color: #fff;
  background: linear-gradient(200deg, rgba(10, 22, 48, 0.15) 0%, rgba(10, 22, 48, 0.85) 62%, var(--navy) 100%), url("../img/bg/hero.jpg") 80% center / cover no-repeat, var(--navy); }
.tile--hero b { font-size: clamp(5rem, 9vw, 8.5rem); color: #fff; }
.tile--hero > span { font-size: 1.2rem; color: #fff; }
.tile--blue { grid-column: span 2; border: 0; background: radial-gradient(30rem 16rem at 100% 0%, rgba(125, 180, 255, 0.55), transparent 70%), linear-gradient(135deg, var(--blue-2), #3B82F6); }
.tile--blue b, .tile--blue > span { color: #fff; }
.tile--blue small { color: rgba(255, 255, 255, 0.8); }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem; }
.tile--wide > span { margin-top: 0; max-width: 14rem; }
.tile--ink { background: var(--ink); border-color: var(--ink); }
.tile--ink b { color: var(--sky); }
.tile--ink > span { color: rgba(255, 255, 255, 0.8); }
.tile b span { font: inherit; color: inherit; }

.services { margin-top: 6rem; }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.services__head h3 { font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--serif); letter-spacing: -0.03em; }
.services__head p { color: var(--dim); max-width: 27rem; text-align: right; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.svc { position: relative; display: flex; flex-direction: column; padding: 1.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: 1.25rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.svc::before { content: ""; position: absolute; inset: 0 1.6rem auto; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.svc:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 30px 60px -36px rgba(37, 99, 235, 0.55); }
.svc:hover::before { transform: scaleX(1); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.svc__icon { display: block; width: 3rem; height: 3rem; border-radius: 0.9rem; background: rgba(37, 99, 235, 0.09); position: relative; transition: background 0.4s; }
.svc__icon::after { content: ""; position: absolute; inset: 0.75rem; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background 0.4s; }
.svc:hover .svc__icon { background: var(--blue); }
.svc:hover .svc__icon::after { background: #fff; }
.svc__no { font: 700 0.85rem/1 var(--serif); color: rgba(11, 27, 58, 0.25); letter-spacing: 0.05em; }
.svc h4 { font: 700 1.15rem/1.25 var(--serif); letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.svc p { flex: 1; font-size: 0.93rem; color: var(--ink-2); }
.svc ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.25rem; }
.svc ul li { padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 0.74rem; font-weight: 600; }
.svc__icon--design { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Cpath d='M2 2l7.6 7.6'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
.svc__icon--website { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cpath d='M2 7h20M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.svc__icon--landing { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.svc__icon--multisite { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E"); }
.svc__icon--rebuild { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.8-3.8a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9l-3.8 3.8z'/%3E%3C/svg%3E"); }
.svc__icon--store { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.svc__icon--systems { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E"); }
.svc__icon--ai { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M19 9h3M19 15h3M2 9h3M2 15h3'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-row: span 1; min-height: 15rem; }
  .services__head { flex-direction: column; align-items: start; }
  .services__head p { text-align: left; }
}
@media (max-width: 560px) {
  .bento, .services__grid { grid-template-columns: 1fr; }
  .tile--hero, .tile--blue, .tile--wide { grid-column: auto; }
}

/* Chapter header block: a numbered tag, the headline, a subheading and the paragraph, stacked */
.sec__grid { display: block; }
.sec__head .kicker, .kicker { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0 0 1.5rem; padding: 0.35rem 1rem 0.35rem 0.35rem;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--card); box-shadow: 0 8px 20px -14px rgba(11, 27, 58, 0.35);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); max-width: none; }
.kicker b { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.5rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-2), #3B82F6); color: #fff; font: 700 0.8rem/1 var(--serif); letter-spacing: 0.02em; }
.sec--tint .kicker { background: #fff; }
.sec--dark .sec__head .kicker, .kicker--light { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.85);
  box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sec__head .sec__sub, .sec__sub { margin-top: 1rem; font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--serif); letter-spacing: -0.01em; color: var(--blue-2); max-width: 44rem; }
.sec--dark .sec__head .sec__sub, .contact .sec__sub { color: var(--sky); }
.sec__head .sec__sub + p { margin-top: 0.9rem; }
.about .about__text .sec__sub { margin: -0.4rem 0 1.1rem; font: 600 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--serif); color: var(--blue-2); }
.contact .kicker { margin-bottom: 1.75rem; }
.contact .sec__sub { margin-top: 1.25rem; font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* Chapter headers use the full width of the page */
.sec__head, .sec__head p, .sec__head .sec__sub, .contact h2, .contact .wrap > p { max-width: none; }

/* Sectors: ten cards, five across */
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.sector { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 15rem; padding: 1.5rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: 1.25rem; transition: transform 0.45s var(--ease), box-shadow 0.45s, background 0.45s, border-color 0.45s; }
.sector::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 14rem; height: 14rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%); opacity: 0; transition: opacity 0.45s; pointer-events: none; }
.sector:hover { transform: translateY(-6px); background: var(--navy); border-color: var(--navy); box-shadow: 0 34px 60px -34px rgba(11, 27, 58, 0.7); }
.sector:hover::after { opacity: 1; }
.sector__no { position: absolute; top: 1.3rem; right: 1.4rem; font: 700 0.8rem/1 var(--serif); letter-spacing: 0.06em; color: rgba(11, 27, 58, 0.25); transition: color 0.45s; }
.sector__icon { display: block; width: 3rem; height: 3rem; border-radius: 0.9rem; background: rgba(37, 99, 235, 0.09); position: relative; transition: background 0.45s; }
.sector__icon::after { content: ""; position: absolute; inset: 0.75rem; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background 0.45s; }
.sector h3 { margin-top: 1.6rem; min-height: 2.5em; display: flex; align-items: flex-start; font: 700 1.12rem/1.25 var(--serif); letter-spacing: -0.01em; color: var(--ink); transition: color 0.45s; }
.sector p { margin-top: 0.5rem; font-size: 0.88rem; line-height: 1.5; color: var(--dim); transition: color 0.45s; }
.sector:hover .sector__icon { background: var(--blue); }
.sector:hover .sector__icon::after { background: #fff; }
.sector:hover h3 { color: #fff; }
.sector:hover p { color: rgba(255, 255, 255, 0.7); }
.sector:hover .sector__no { color: var(--sky); }
.sector__icon--education { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 2 9 2 12 0v-5'/%3E%3Cpath d='M22 10v6'/%3E%3C/svg%3E"); }
.sector__icon--health { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3Cpath d='M3.5 12h4l2-3 3 6 2-3h6'/%3E%3C/svg%3E"); }
.sector__icon--estate { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 9h1M14 9h1M9 13h1M14 13h1M10 21v-4h4v4'/%3E%3C/svg%3E"); }
.sector__icon--tech { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M19 9h3M19 15h3M2 9h3M2 15h3'/%3E%3C/svg%3E"); }
.sector__icon--retail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.sector__icon--pro { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 13h20'/%3E%3C/svg%3E"); }
.sector__icon--marketing { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v3a1 1 0 0 0 1 1h3l5 4V6L7 10H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M19 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.sector__icon--security { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6l-8-3z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3Cpath d='M12 13.5V16'/%3E%3C/svg%3E"); }
.sector__icon--media { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m14.3 3.3-4.6 8M20.5 9h-9.2M17.9 18.3l-4.6-8M9.7 20.7l4.6-8M3.5 15h9.2M6.1 5.7l4.6 8'/%3E%3C/svg%3E"); }
.sector__icon--events { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3Cpath d='m9 15.5 2 2 4-4'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } .sector { min-height: 13rem; } }
@media (max-width: 440px) { .sector-grid { grid-template-columns: 1fr; } .sector { min-height: 0; } .sector h3 { min-height: 0; } }

/* Approach: the process as a connected timeline, then the landing-page panel with an annotated phone */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; height: 2px; background: var(--rule); }
.process::after { content: ""; position: absolute; top: 1.25rem; left: 1.25rem; right: 1.25rem; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform 1.6s var(--ease) 0.2s; }
.process.is-in::after, .process:not(.reveal)::after { --fill: 1; }
.process > li { position: relative; z-index: 1; }
.process__dot { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--card); border: 2px solid var(--blue);
  color: var(--blue); font: 700 0.95rem/1 var(--serif); box-shadow: 0 0 0 6px var(--bg); }
.process > li:hover .process__dot { background: var(--blue); color: #fff; }
.process__card { margin-top: 1.5rem; padding: 1.6rem; height: calc(100% - 4rem); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 1.25rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.process > li:hover .process__card { transform: translateY(-6px); border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 30px 60px -36px rgba(37, 99, 235, 0.55); }
.process__icon { display: block; width: 3rem; height: 3rem; border-radius: 0.9rem; background: rgba(37, 99, 235, 0.09); position: relative; }
.process__icon::after { content: ""; position: absolute; inset: 0.75rem; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.process__card h3 { margin: 1.25rem 0 0.5rem; font: 700 1.3rem/1.2 var(--serif); letter-spacing: -0.02em; }
.process__card p { flex: 1; font-size: 0.93rem; color: var(--ink-2); }
.process__card ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.25rem; }
.process__card ul li { padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--tint); color: var(--ink-2); font-size: 0.74rem; font-weight: 600; }
.process__icon--understand { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M11 8v3l2 2'/%3E%3C/svg%3E"); }
.process__icon--architect { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='8.5' y='14' width='7' height='7' rx='1'/%3E%3Cpath d='M6.5 10v2h11v-2M12 12v2'/%3E%3C/svg%3E"); }
.process__icon--build { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6M8 6l-6 6 6 6'/%3E%3Cpath d='m14 4-4 16'/%3E%3C/svg%3E"); }
.process__icon--run { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01M11 7.5h6M11 16.5h6'/%3E%3C/svg%3E"); }

.lp { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; margin-top: 5rem; padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 1.75rem; color: #fff; background: radial-gradient(40rem 26rem at 90% 10%, rgba(37, 99, 235, 0.45), transparent 70%), var(--navy); }
.lp__eyebrow { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.lp__text h3 { margin: 0.75rem 0 2rem; font: 700 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--serif); letter-spacing: -0.03em; }
.lp__rules { display: grid; gap: 0.75rem; counter-reset: rule; }
.lp__rules li { counter-increment: rule; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 1rem; padding: 1rem 1.1rem; border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); transition: background 0.3s, border-color 0.3s; }
.lp__rules li::before { content: counter(rule); grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: #F59E0B; color: var(--navy); font: 700 0.9rem/1 var(--serif); }
.lp__rules li:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(125, 180, 255, 0.35); }
.lp__rules b { font: 700 1.05rem/1.3 var(--serif); }
.lp__rules span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.68); }
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .process::before, .process::after { display: none; }
  .lp { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .process::after { transform: none; } }

/* Approach step illustrations (generated), full width at the top of each card */
.process__card { padding-top: 0; overflow: hidden; }
.process__art { display: grid; place-items: center; margin: 0 -1.6rem; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1.2px) 0 0 / 14px 14px, #EEF3FC; }
.process__art img { width: 82%; height: auto; transition: transform 0.6s var(--ease); }
.process > li:hover .process__art img { transform: translateY(-4px) scale(1.04); }

.svc__icon--seo { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='m21 21-5.5-5.5'/%3E%3Cpath d='m7 12.5 2.5-2.5 2 2 3-3.5'/%3E%3C/svg%3E"); }
.svc__icon--marketing { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11v3a1 1 0 0 0 1 1h3l5 4V6L7 10H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M19 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.svc__icon--audit { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.svc__icon--cloud { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H8a5 5 0 1 1 1.2-9.9A6 6 0 0 1 20.6 11 4 4 0 0 1 17.5 19z'/%3E%3C/svg%3E"); }

/* Certifications without the outer card: the rows stand on their own as glass tiles */
.creds { margin-top: 2.25rem; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.creds__title { margin-bottom: 1rem; }
.creds__list { gap: 0.6rem; }
.creds__list li { padding: 0.7rem 0.9rem; background: rgba(10, 22, 48, 0.5); border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8); }

/* Opening: room for the descender of the larger blue line, and highlighted words in the intro */
.hero.cine .hero__title .line { padding-bottom: 0.2em; margin-bottom: -0.12em; }
.hero.cine .lead strong { color: #fff; font-weight: 600; }

/* Work: the agency-partner strip between the figures and the services */
.agency { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; margin-top: 1rem;
  padding: 2rem 2.25rem; border-radius: 1.4rem; color: #fff;
  background: radial-gradient(30rem 18rem at 100% 0%, rgba(37, 99, 235, 0.5), transparent 70%), linear-gradient(120deg, var(--navy), var(--navy-2)); }
.agency__icon { display: block; width: 4rem; height: 4rem; border-radius: 1.1rem; background: rgba(125, 180, 255, 0.14); position: relative; }
.agency__icon::after { content: ""; position: absolute; inset: 1rem; background: var(--sky); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }
.agency__eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.agency h3 { margin: 0.35rem 0 0.5rem; font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--serif); letter-spacing: -0.02em; }
.agency__text > p:last-child { color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; max-width: 44rem; }
.agency__points { display: grid; gap: 0.5rem; }
.agency__points li { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.9rem; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; font-weight: 600; }
.agency__points li::before { content: "✓"; display: inline-grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #F59E0B; color: var(--navy); font-size: 0.65rem; font-weight: 800; }
@media (max-width: 1000px) { .agency { grid-template-columns: auto 1fr; } .agency__points { grid-column: 1 / -1; display: flex; flex-wrap: wrap; } }
@media (max-width: 560px) { .agency { grid-template-columns: 1fr; padding: 1.75rem; } }

/* Landing-pages block: generated film still behind the text */
.lp.cine { grid-template-columns: 1fr; min-height: 34rem; align-items: center;
  background: linear-gradient(90deg, rgba(10, 22, 48, 0.96) 0%, rgba(10, 22, 48, 0.82) 38%, rgba(10, 22, 48, 0.25) 70%, rgba(10, 22, 48, 0.1) 100%),
    url("../img/bg/landing.jpg") 70% center / cover no-repeat, var(--navy); }
.lp.cine .lp__text { position: relative; z-index: 2; max-width: 40rem; }
.lp.cine .lp__rules li { background: rgba(10, 22, 48, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 900px) {
  .lp.cine { background: linear-gradient(180deg, rgba(10, 22, 48, 0.55) 0%, rgba(10, 22, 48, 0.92) 55%), url("../img/bg/landing.jpg") 75% top / cover no-repeat, var(--navy); }
}

/* Case study: figures, the story in three steps, infographic beside the app list, decisions and a closing bar */
.case__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 2.5rem; border-block: 1px solid var(--navy-line); }
.case__stats li { padding: 1.5rem 1.5rem 1.5rem 0; }
.case__stats li + li { padding-left: 1.5rem; border-left: 1px solid var(--navy-line); }
.case__stats b { display: block; font: 700 clamp(2.2rem, 3.6vw, 3rem)/1 var(--serif); letter-spacing: -0.03em; color: #fff; }
.case__stats li:nth-child(3) b { color: var(--sky); }
.case__stats span { display: block; margin-top: 0.4rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.story li { position: relative; padding: 1.5rem; border-radius: 1.1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--navy-line); }
.story li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -0.95rem; z-index: 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem;
  margin-top: -0.8rem; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8rem; }
.story__tag { display: inline-block; margin-bottom: 0.7rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgba(125, 180, 255, 0.14); color: var(--sky);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.story li:last-child .story__tag { background: rgba(245, 158, 11, 0.16); color: #FBBF24; }
.story p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.case__main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.case__main .shot { height: 100%; display: grid; place-items: center; }
.case__main .shot { background: #0A1630; }
.case__main .shot img { width: 100%; height: 100%; object-fit: contain; }
.apps { display: grid; gap: 0.45rem; }
.apps li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; padding: 0.7rem 1rem; border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--navy-line); transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.apps li:hover { background: rgba(37, 99, 235, 0.18); border-color: rgba(125, 180, 255, 0.35); transform: translateX(4px); }
.apps b { font: 700 0.98rem/1.25 var(--serif); }
.apps span { grid-column: 1; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }
.apps em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--sky); white-space: nowrap; text-align: right; }
.apps__hub { background: linear-gradient(120deg, rgba(37, 99, 235, 0.45), rgba(37, 99, 235, 0.15)) !important; border-color: rgba(125, 180, 255, 0.45) !important; }
.case__subtitle { margin: 3.5rem 0 1.25rem; font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--serif); letter-spacing: -0.02em; }
.sec--dark .decisions { margin: 0; }
.card { position: relative; }
.card__no { position: absolute; top: 1.3rem; right: 1.4rem; font: 700 0.8rem/1 var(--serif); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.3); }
.case__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); }
.case__cta b { display: block; font: 700 1.25rem/1.2 var(--serif); }
.case__cta span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 1000px) {
  .case__main { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story li:not(:last-child)::after { content: "↓"; top: auto; bottom: -0.95rem; right: 50%; margin: 0 -0.8rem 0 0; }
}
@media (max-width: 700px) {
  .case__stats { grid-template-columns: repeat(2, 1fr); }
  .case__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .case__cta { flex-direction: column; align-items: flex-start; }
  .apps em { grid-column: 1; grid-row: auto; text-align: left; margin-top: 0.25rem; }
}

/* Tech stack: category cards in a four-column grid, logos as square tiles */
.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stack__card { grid-column: span 1; display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; background: var(--card); border: 1px solid var(--rule); border-radius: 1.25rem;
  transition: box-shadow 0.4s, border-color 0.4s; }
.stack__card:hover { border-color: rgba(37, 99, 235, 0.25); box-shadow: 0 30px 60px -40px rgba(37, 99, 235, 0.5); }
.stack__card--wide { grid-column: span 2; }
.stack__card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.stack__card h3 { font: 700 1.2rem/1.2 var(--serif); letter-spacing: -0.01em; }
.stack__card header p { margin-top: 0.2rem; font-size: 0.85rem; color: var(--dim); }
.stack__count { display: grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 0.5rem; border-radius: 999px; background: var(--tint);
  color: var(--blue-2); font: 700 0.85rem/1 var(--serif); }
.stack .logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: 0.6rem; }
.stack .logo { flex-direction: column; justify-content: center; gap: 0.55rem; padding: 0.95rem 0.4rem 0.75rem; border-radius: 0.95rem; background: #F7F9FD;
  border: 1px solid transparent; font-size: 0.76rem; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.2; }
.stack .logo:hover { background: #fff; border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 14px 28px -18px var(--brand); }
.stack .logo i { width: 2rem; height: 2rem; }
.stack .logo--aws i { width: 2.6rem; }
.stack .logo--oracle i { width: 4.6rem; height: 2rem; }
.stack .logo--mysql i { width: 2.8rem; height: 2.2rem; }
.stack .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stack .tags li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; border-radius: 0.75rem; background: #F7F9FD;
  color: var(--ink-2); font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.stack .tags li::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 50%; flex: none;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 0.7rem no-repeat; }
@media (max-width: 1000px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stack { grid-template-columns: 1fr; } .stack__card--wide { grid-column: auto; } }

/* About: profile card with availability, then the story and how I work */
.about2 { display: grid; grid-template-columns: 22rem 1fr; gap: 2.5rem; align-items: start; }
.profile { position: sticky; top: 6rem; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.75rem 1.75rem;
  border-radius: 1.5rem; color: #fff; overflow: hidden;
  background: radial-gradient(22rem 16rem at 100% 0%, rgba(37, 99, 235, 0.55), transparent 70%), linear-gradient(160deg, var(--navy-2), var(--navy)); }
.profile__mono { display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 1.6rem; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #3B82F6, var(--blue-2)); box-shadow: 0 0 0 8px rgba(125, 180, 255, 0.1), 0 20px 40px -16px rgba(37, 99, 235, 0.9);
  font: 800 2.1rem/1 var(--serif); letter-spacing: -0.03em; }
.profile__name { font: 700 1.4rem/1.2 var(--serif); letter-spacing: -0.02em; }
.profile__role { margin-top: 0.2rem; font-size: 0.9rem; color: var(--sky); font-weight: 600; }
.profile__facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 1.5rem 0; border-block: 1px solid var(--navy-line); }
.profile__facts li { padding: 0.9rem 0.25rem; }
.profile__facts li + li { border-left: 1px solid var(--navy-line); }
.profile__facts b { display: block; font: 700 1.35rem/1.1 var(--serif); }
.profile__facts li > span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); }
.status { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.85rem 1rem; border-radius: 1rem; text-align: left;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.status b { display: block; font-size: 0.92rem; }
.status span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.status__dot { position: relative; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18); }
.status--light { display: flex; width: fit-content; margin-top: 1.5rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); }
.status--light b { display: inline; }
.status--light span { color: rgba(255, 255, 255, 0.85); }
.contact .status--light + .contact__mail { display: flex; width: fit-content; margin-top: 2rem; }
.contact .wrap > p.status { max-width: none; font-size: 0.95rem; }
.about2__quote { margin-bottom: 1.5rem; padding: 0 0 0 1.5rem; border-left: 4px solid var(--blue); font: 600 clamp(1.4rem, 2.4vw, 2rem)/1.3 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.about2__body > p { font-size: 1.05rem; color: var(--ink-2); }
.about2__body > p + p { margin-top: 1rem; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.terms li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: 1.1rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.terms li:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 24px 50px -34px rgba(37, 99, 235, 0.55); }
.terms__icon { grid-row: span 2; display: block; width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; background: rgba(37, 99, 235, 0.09); position: relative; }
.terms__icon::after { content: ""; position: absolute; inset: 0.7rem; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.terms b { font: 700 1.05rem/1.3 var(--serif); }
.terms span { font-size: 0.9rem; color: var(--dim); }
.terms__icon--job { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cpath d='M2 13h20'/%3E%3C/svg%3E"); }
.terms__icon--time { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.terms__icon--remote { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.terms__icon--referral { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12l2 2 4-4'/%3E%3Cpath d='M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18z'/%3E%3Cpath d='M19 5l2-2M5 5 3 3'/%3E%3C/svg%3E"); }
@media (max-width: 1000px) { .about2 { grid-template-columns: 1fr; } .profile { position: static; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }

/* Contact: introduction on the left, how an introduction works on the right */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; align-items: center; }
.contact .contact__intro > p:not(.kicker):not(.sec__sub):not(.status) { margin-top: 1.5rem; max-width: 36rem; font-size: 1.1rem; color: rgba(255, 255, 255, 0.72); }
.contact h2 { font-size: clamp(2.2rem, 4.5vw, 4.1rem); }
@media (min-width: 561px) { .contact h2 { white-space: nowrap; } }
.contact .contact__mail { display: flex; width: fit-content; margin-top: 2.25rem; font-size: clamp(1.4rem, 2.6vw, 2.25rem); }
.contact .contact__intro .status--light { margin-top: 1.75rem; }
.brief { position: relative; padding: 2rem; border-radius: 1.5rem; background: rgba(10, 22, 48, 0.55); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.brief__eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.brief__steps { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: step; }
.brief__steps li { position: relative; counter-increment: step; padding: 0 0 1.25rem 3.25rem; }
.brief__steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; font-size: 0.78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.brief__steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.1rem; top: 2.5rem; bottom: 0.25rem; width: 1px; background: rgba(255, 255, 255, 0.16); }
.brief__steps b { display: block; font-size: 1rem; color: #fff; }
.brief__steps span { display: block; margin-top: 0.25rem; font-size: 0.88rem; line-height: 1.55; color: rgba(255, 255, 255, 0.68); }
.brief__fit { margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.brief__fit > b { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.brief__fit ul { list-style: none; margin: 0.85rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.brief__fit li { position: relative; padding-left: 1.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.brief__fit li::before { content: ""; position: absolute; left: 0.15rem; top: 0.2rem; width: 0.4rem; height: 0.75rem; border: solid var(--sky);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .brief { padding: 1.5rem; }
}

/* Case study: live neural-network background (drawn by site.js on canvas[data-neural]) */
.sec--dark.cine.case--neural { background: radial-gradient(60rem 36rem at 85% 0%, rgba(37, 99, 235, 0.32), transparent 70%),
  radial-gradient(50rem 30rem at 0% 100%, rgba(125, 180, 255, 0.14), transparent 70%), var(--navy); }
.neural { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 85%, transparent 100%); }

/* About: justified body text with key words in bold */
.about2__body > p { text-align: justify; }
.about2__body > p strong { font-weight: 600; color: var(--ink); }

.terms li { grid-template-rows: auto 1fr; align-content: start; }
.terms span { align-self: start; margin-top: 0.2rem; }

/* Contact: bold words in the note */
.contact .contact__intro p strong { color: #fff; font-weight: 600; }

/* Case study: the four decisions as light cards on the dark section */
.decisions .card { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.decisions .card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 36px 70px -30px rgba(37, 99, 235, 0.7); }
.decisions .card h3 { color: var(--ink); }
.decisions .card p { color: var(--dim); }
.decisions .card__icon { background: rgba(37, 99, 235, 0.09); }
.decisions .card__icon::after { background: var(--blue); }
.decisions .card__no { color: rgba(11, 27, 58, 0.28); }

/* Case study: challenge, approach and result as an illustrated three-step infographic on light cards */
.story { gap: 1.5rem; }
.story li { display: flex; flex-direction: column; padding: 1rem 1rem 1.5rem; background: #fff; border-color: #fff; color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.story__art { margin: 0 0 1.25rem; padding: 0.75rem; border-radius: 0.8rem; aspect-ratio: 32 / 17;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 1px, transparent 1.2px) 0 0 / 14px 14px, var(--tint); }
.story__art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.story li > .story__tag, .story li > h3, .story li > p { margin-left: 0.5rem; margin-right: 0.5rem; }
.story__tag { align-self: flex-start; background: rgba(37, 99, 235, 0.09); color: var(--blue-2); }
.story li:last-child .story__tag { background: rgba(22, 163, 74, 0.12); color: #15803D; }
.story h3 { margin-bottom: 0.4rem; font: 700 1.2rem/1.25 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.story p { font-size: 0.92rem; color: var(--dim); }
.story li:not(:last-child)::after { top: 28%; margin-top: -1rem; right: -1.2rem; width: 2rem; height: 2rem; background: var(--blue); color: #fff; border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px rgba(125, 180, 255, 0.4); }
@media (max-width: 900px) {
  .story li:not(:last-child)::after { top: auto; bottom: -1.35rem; right: 50%; margin: 0 -1rem 0 0; }
}

/* Contact: the "Fully committed" badge on a light chip */
.contact .status--light { background: #fff; border-color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.contact .status--light span { color: var(--dim); }
.contact .status--light b { color: var(--ink); }
.contact .status--light .status__dot { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }

/* Opening, redesigned: one eyebrow line, the headline, and a profile card with certifications and practice areas */
.hero__eyebrow { display: flex; align-items: center; gap: 0.85rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62); }
.hero__eyebrow b { color: #fff; font-weight: 700; }
.hero__eyebrow i { width: 2.5rem; height: 1px; background: linear-gradient(90deg, var(--sky), transparent); }
.hero.cine .hero__grid { align-items: center; }
.idcard { position: relative; padding: 1.5rem; border-radius: 1.5rem; background: rgba(10, 22, 48, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85); }
.idcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(160deg, rgba(125, 180, 255, 0.55), transparent 40%, transparent 70%, rgba(37, 99, 235, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.idcard__head { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.idcard__mono { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 0.9rem; font: 800 1.05rem/1 var(--serif); color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.9); }
.idcard__head > div { display: flex; flex-direction: column; min-width: 0; }
.idcard__head > div b { font: 700 1.1rem/1.2 var(--serif); color: #fff; }
.idcard__head > div span { font-size: 0.85rem; color: var(--sky); }
.idcard__status { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; padding: 0.35rem 0.75rem; border-radius: 999px; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; color: var(--ink); background: #fff; }
.idcard__status i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22); }
.idcard__block { padding-top: 1.25rem; }
.idcard__label { margin-bottom: 0.85rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.idcard__badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.idcard__badges li { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0.75rem 0.35rem 0.65rem; border-radius: 0.9rem; text-align: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s; }
.idcard__badges li:hover { transform: translateY(-4px); background: rgba(37, 99, 235, 0.2); border-color: rgba(125, 180, 255, 0.4); }
.idcard__badges img { width: 4.75rem; height: 4.75rem; object-fit: contain; padding: 0.2rem; border-radius: 0.9rem; background: #fff; }
@media (max-width: 640px) { .idcard__badges img { width: 3.9rem; height: 3.9rem; } }
.idcard__badges span { font-size: 0.72rem; font-weight: 600; line-height: 1.25; color: rgba(255, 255, 255, 0.85); }
.idcard__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.idcard__tags li { padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.facts { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .hero__eyebrow { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .hero__eyebrow i { display: none; }
  .idcard { padding: 1.15rem; }
  .idcard__head { flex-wrap: wrap; }
  .idcard__status { margin-left: 0; }
  .idcard__badges { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(4) { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* Opening without the profile card: one column, larger headline */
.hero.cine .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero.cine .hero__title { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }
.hero.cine .lead { max-width: 46rem; font-size: 1.15rem; }

/* Profile band before Work: the profile card laid out wide, on its own navy panel */
.profile-band { padding: 4rem 0 0; }
.idcard--wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 2.5rem; align-items: start; padding: 2rem;
  background: radial-gradient(40rem 20rem at 100% 0%, rgba(37, 99, 235, 0.35), transparent 70%), radial-gradient(30rem 16rem at 0% 100%, rgba(125, 180, 255, 0.12), transparent 70%), var(--navy);
  box-shadow: 0 40px 80px -40px rgba(10, 22, 48, 0.55); }
.idcard--wide .idcard__head { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 1.1rem 0.9rem; align-self: stretch;
  padding: 0 2rem 0 0; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.idcard--wide .idcard__head > div b { white-space: nowrap; }
.idcard--wide .idcard__status { grid-column: 1 / -1; justify-self: start; margin: 0; }
.idcard--wide .idcard__block { padding-top: 0; }
.idcard--wide .idcard__badges { gap: 0.5rem; }
@media (max-width: 1100px) {
  .idcard--wide { grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
  .idcard--wide .idcard__head { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; padding: 0 0 1.25rem; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .idcard--wide .idcard__status { grid-column: auto; justify-self: end; }
}
@media (max-width: 760px) {
  .profile-band { padding-top: 3rem; }
  .idcard--wide { grid-template-columns: 1fr; padding: 1.25rem; }
  .idcard--wide .idcard__head { grid-template-columns: auto 1fr; }
  .idcard--wide .idcard__status { grid-column: 1 / -1; justify-self: start; }
}

/* Profile band: practice tags as a full-width row along the bottom of the card */
.idcard--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); }
.idcard--wide .idcard__badges { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.idcard--wide .idcard__practice { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); }
.idcard--wide .idcard__practice .idcard__label { margin: 0; flex: none; }
.idcard--wide .idcard__practice .idcard__tags { flex: 1; justify-content: space-between; }
.idcard--wide .idcard__practice .idcard__tags li { flex: 1 1 auto; text-align: center; }
@media (max-width: 1100px) {
  .idcard--wide { grid-template-columns: 1fr; }
  .idcard--wide .idcard__practice { margin-top: 0; }
}
@media (max-width: 760px) {
  .idcard--wide .idcard__practice { flex-direction: column; align-items: flex-start; gap: 0.85rem; padding-top: 1.25rem; }
  .idcard--wide .idcard__practice .idcard__tags { justify-content: flex-start; }
  .idcard--wide .idcard__practice .idcard__tags li { flex: 0 1 auto; }
}
@media (max-width: 560px) {
  .idcard--wide .idcard__badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.idcard__status { gap: 0.65rem; padding: 0.5rem 0.9rem 0.5rem 0.75rem; border-radius: 0.8rem; }
.idcard__status > span { display: flex; flex-direction: column; line-height: 1.25; }
.idcard__status b { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.idcard__status em { font-style: normal; font-size: 0.74rem; font-weight: 500; color: var(--dim); }

.profile .status { align-items: flex-start; }
.profile .status .status__dot { margin-top: 0.35rem; }

/* Case study on a light background: the moving network in blue on tint, white cards, the diagram and the closing bar stay navy */
.case--light { position: relative; isolation: isolate; overflow: hidden; }
.case--light > .wrap { position: relative; z-index: 2; }
.case--light .case__stats { border-color: var(--rule); }
.case--light .case__stats li + li { border-left-color: var(--rule); }
.case--light .case__stats b { color: var(--ink); }
.case--light .case__stats li:nth-child(3) b { color: var(--blue); }
.case--light .case__stats span { color: var(--dim); }
.case--light .story li, .case--light .decisions .card { border: 1px solid var(--rule); box-shadow: 0 24px 50px -34px rgba(10, 22, 48, 0.35); }
.case--light .story li:not(:last-child)::after { border-color: var(--tint); box-shadow: none; }
.case--light .shot--art { border-color: var(--navy); box-shadow: 0 40px 80px -40px rgba(10, 22, 48, 0.55); }
.case--light .apps li { background: #fff; border-color: var(--rule); }
.case--light .apps li:hover { background: #fff; border-color: rgba(37, 99, 235, 0.35); }
.case--light .apps b { color: var(--ink); }
.case--light .apps span { color: var(--dim); }
.case--light .apps em { color: var(--blue-2); }
.case--light .apps__hub { background: linear-gradient(120deg, var(--blue), var(--blue-2)) !important; border-color: var(--blue) !important; }
.case--light .apps__hub b, .case--light .apps__hub em { color: #fff; }
.case--light .apps__hub span { color: rgba(255, 255, 255, 0.78); }
.case--light .case__subtitle { color: var(--ink); }
.case--light .decisions { margin: 0; }
.case--light .case__cta { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 30px 60px -34px rgba(10, 22, 48, 0.6); }
.case--light .case__cta span { color: rgba(255, 255, 255, 0.65); }

/* About: the profile card on white */
.profile { background: #fff; color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 30px 60px -36px rgba(10, 22, 48, 0.35); }
.profile__role { color: var(--blue); }
.profile__mono { color: #fff; box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.08), 0 20px 40px -16px rgba(37, 99, 235, 0.7); }
.profile__facts { border-color: var(--rule); }
.profile__facts li + li { border-left-color: var(--rule); }
.profile__facts b { color: var(--ink); }
.profile__facts li > span { color: var(--dim); }
.profile .status { background: var(--tint); border-color: var(--rule); }
.profile .status b { color: var(--ink); }
.profile .status span { color: var(--dim); }
.profile .status .status__dot { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2); }

/* Every body paragraph justified (labels, kickers, subheadings and status lines keep their own alignment) */
main p:not(.kicker):not(.sec__sub):not([class*="eyebrow"]):not([class*="label"]):not(.status):not(.hero__meta) { text-align: justify; hyphens: manual; }

/* Key words in bold across the page: darker on light sections, white on dark ones */
main p strong { font-weight: 600; color: var(--ink); }
.hero p strong, .sec--dark p strong, .contact p strong, .lp p strong, .agency p strong, .tile--ink p strong { color: #fff; }

/* Sectors: an illustration at the top of each card, in the same style as the Approach cards */
.sector__art { display: grid; place-items: center; margin: -1.5rem -1.5rem 0; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #F3F7FF, #E9F0FC); }
.sector__art img { width: 86%; height: auto; transition: transform 0.6s var(--ease); }
.sector:hover .sector__art img { transform: translateY(-4px) scale(1.05); }
.sector__no { z-index: 1; top: 0.75rem; right: 0.75rem; padding: 0.3rem 0.55rem; border-radius: 999px; background: #fff; border: 1px solid var(--rule); color: var(--dim); }
.sector:hover .sector__no { background: var(--navy); border-color: var(--navy); }
.sector h3 { margin-top: 1.25rem; }
.sector:hover .sector__art { border-bottom-color: transparent; }

/* Menu: larger text with an icon before each link; always on screen (no longer hides while scrolling down) */
.nav__links { gap: 1.6rem; font-size: 1.02rem; font-weight: 500; }
.nav__links a { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav__icon { flex: none; width: 1.05rem; height: 1.05rem; background: currentColor; opacity: 0.85; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.nav__links a:not(.btn):hover .nav__icon { opacity: 1; }
.nav__links .btn { font-size: 0.98rem; }
.nav.is-hidden { transform: none; }
.nav__icon--work { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.nav__icon--sectors { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.nav__icon--approach { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='18' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Cpath d='M8.5 18H14a4 4 0 0 0 0-8h-4a4 4 0 0 1 0-8h5.5'/%3E%3C/svg%3E"); }
.nav__icon--case { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.nav__icon--stack { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E"); }
.nav__icon--about { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.2-4 4.3-6 8-6s6.8 2 8 6'/%3E%3C/svg%3E"); }
.nav__icon--contact { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
@media (max-width: 1280px) { .nav__links { gap: 1.15rem; font-size: 0.96rem; } }

/* Services: an illustration at the top of each card, in the same style as Sectors and Approach */
.svc { overflow: hidden; }
.svc::before { z-index: 2; }
.svc__art { display: grid; place-items: center; margin: -1.6rem -1.6rem 1.25rem; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--rule);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #F3F7FF, #E9F0FC); }
.svc__art img { width: 86%; height: auto; transition: transform 0.6s var(--ease); }
.svc:hover .svc__art img { transform: translateY(-4px) scale(1.05); }
.svc__no { position: absolute; z-index: 1; top: 0.75rem; right: 0.75rem; padding: 0.3rem 0.6rem; border-radius: 999px; background: #fff; border: 1px solid var(--rule); color: var(--dim); font-size: 0.78rem; }

/* Services illustrations in greyscale; colour returns on hover */
.svc__art { background: radial-gradient(circle, rgba(15, 23, 42, 0.1) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #F7F8FA, #EEF0F3); }
.svc__art img { filter: grayscale(1); transition: transform 0.6s var(--ease), filter 0.5s; }
.svc:hover .svc__art img { filter: none; }

/* Sectors illustrations in greyscale too; colour returns on hover */
.sector__art { background: radial-gradient(circle, rgba(15, 23, 42, 0.1) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #F7F8FA, #EEF0F3); }
.sector__art img { filter: grayscale(1); transition: transform 0.6s var(--ease), filter 0.5s; }
.sector:hover .sector__art img { filter: none; }

/* Approach illustrations in greyscale too; colour returns on hover */
.process__art { background: radial-gradient(circle, rgba(15, 23, 42, 0.1) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #F7F8FA, #EEF0F3); }
.process__art img { filter: grayscale(1); transition: transform 0.6s var(--ease), filter 0.5s; }
.process > li:hover .process__art img { filter: none; }

/* Opening: looping smart-city video behind the headline, darkened on the left and bottom so the text stays readable */
.hero__bg { background: var(--navy) url("../video/hero-poster.jpg") center / cover no-repeat; transform: none; animation: none; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 48, 0.94) 0%, rgba(10, 22, 48, 0.78) 38%, rgba(10, 22, 48, 0.35) 70%, rgba(10, 22, 48, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 22, 48, 0.96) 0%, rgba(10, 22, 48, 0) 38%),
    linear-gradient(180deg, rgba(10, 22, 48, 0.7) 0%, rgba(10, 22, 48, 0) 22%); }
@media (max-width: 760px) {
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 22, 48, 0.75) 0%, rgba(10, 22, 48, 0.82) 50%, rgba(10, 22, 48, 0.96) 100%); }
}

/* Profile band: cinematic data-centre night scene behind the card, darkened on the left for the name and status */
.idcard--wide { background: linear-gradient(90deg, rgba(10, 22, 48, 0.92) 0%, rgba(10, 22, 48, 0.7) 35%, rgba(10, 22, 48, 0.35) 70%, rgba(10, 22, 48, 0.45) 100%),
    linear-gradient(0deg, rgba(10, 22, 48, 0.75) 0%, rgba(10, 22, 48, 0) 45%),
    url("../img/bg/profile.jpg") 70% 62% / cover no-repeat, var(--navy); }
.idcard--wide .idcard__badges li, .idcard--wide .idcard__tags li { background: rgba(10, 22, 48, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }@media (max-width: 760px) {
  .idcard--wide { background: linear-gradient(180deg, rgba(10, 22, 48, 0.82) 0%, rgba(10, 22, 48, 0.88) 100%), url("../img/bg/profile.jpg") 70% center / cover no-repeat, var(--navy); }
}

/* Logos (Simple Icons CC0; AWS, Oracle and Jetstream from Devicon MIT) and case-study icons */
.card__icon--key { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M10.8 12.2 20 3M17 6l3 3M14 9l2 2'/%3E%3C/svg%3E"); }
.card__icon--users { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.5 3.4-5.5 6.5-5.5s5.7 2 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M17 14.5c2.3 0 4 1.5 4.5 4'/%3E%3C/svg%3E"); }
.card__icon--reset { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); }
.card__icon--shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8 8 9 4.6-1 8-4.5 8-9V6l-8-3z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.logo--nextdotjs { --logo: url("../img/tech/nextdotjs.svg"); --brand: #000000; }
.logo--angular { --logo: url("../img/tech/angular.svg"); --brand: #DD0031; }
.logo--react { --logo: url("../img/tech/react.svg"); --brand: #61DAFB; }
.logo--svelte { --logo: url("../img/tech/svelte.svg"); --brand: #FF3E00; }
.logo--typescript { --logo: url("../img/tech/typescript.svg"); --brand: #3178C6; }
.logo--alpinedotjs { --logo: url("../img/tech/alpinedotjs.svg"); --brand: #8BC0D0; }
.logo--tailwindcss { --logo: url("../img/tech/tailwindcss.svg"); --brand: #06B6D4; }
.logo--bootstrap { --logo: url("../img/tech/bootstrap.svg"); --brand: #7952B3; }
.logo--sass { --logo: url("../img/tech/sass.svg"); --brand: #CC6699; }
.logo--php { --logo: url("../img/tech/php.svg"); --brand: #777BB4; }
.logo--laravel { --logo: url("../img/tech/laravel.svg"); --brand: #FF2D20; }
.logo--livewire { --logo: url("../img/tech/livewire.svg"); --brand: #4E56A6; }
.logo--inertia { --logo: url("../img/tech/inertia.svg"); --brand: #9553E9; }
.logo--jetstream { --logo: url("../img/tech/jetstream.svg"); --brand: #6875F5; }
.logo--nodedotjs { --logo: url("../img/tech/nodedotjs.svg"); --brand: #5FA04E; }
.logo--express { --logo: url("../img/tech/express.svg"); --brand: #000000; }
.logo--go { --logo: url("../img/tech/go.svg"); --brand: #00ADD8; }
.logo--mysql { --logo: url("../img/tech/mysql.svg"); --brand: #4479A1; }
.logo--postgresql { --logo: url("../img/tech/postgresql.svg"); --brand: #4169E1; }
.logo--shopify { --logo: url("../img/tech/shopify.svg"); --brand: #7AB55C; }
.logo--flutter { --logo: url("../img/tech/flutter.svg"); --brand: #02569B; }
.logo--googlecloud { --logo: url("../img/tech/googlecloud.svg"); --brand: #4285F4; }
.logo--aws { --logo: url("../img/tech/aws.svg"); --brand: #FF9900; }
.logo--oracle { --logo: url("../img/tech/oracle.svg"); --brand: #F80000; }
.logo--linux { --logo: url("../img/tech/linux.svg"); --brand: #FCC624; }
.logo--ubuntu { --logo: url("../img/tech/ubuntu.svg"); --brand: #E95420; }
.logo--nginx { --logo: url("../img/tech/nginx.svg"); --brand: #009639; }
.logo--apache { --logo: url("../img/tech/apache.svg"); --brand: #D22128; }
.logo--docker { --logo: url("../img/tech/docker.svg"); --brand: #6172FF; }
.logo--git { --logo: url("../img/tech/git.svg"); --brand: #F03C2E; }
.logo--letsencrypt { --logo: url("../img/tech/letsencrypt.svg"); --brand: #2C9BD6; }
.logo--oracle i, .logo--aws i { width: 3.25rem; }
