/* jonk.co.uk (20 Nov 2026) - Jonk Software Ltd. One stylesheet for the six main pages; built by ~/jonk_src/build.py.
   Navy and white with the wordmark's orange as the accent; Instrument Sans (self-hosted); works from 320px phones up. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --navy: #14234a; --navy-2: #1d3166; --navy-ink: #c9d3ea; --orange: #f39319; --orange-ink: #b35f00;
  --ink: #18202f; --body: #3b4456; --soft: #687287; --line: #e3e7ef; --tint: #f5f7fb; --paper: #fff;
  --radius: 10px; --shadow: 0 1px 2px rgba(20, 35, 74, .06), 0 10px 30px -14px rgba(20, 35, 74, .25);
  --sans: "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--paper); padding: 8px 12px; }
.skip:focus { left: 16px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

/* header: wordmark and menu */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand .name { font-size: 28px; letter-spacing: -.01em; color: var(--orange); }
.brand .name b { font-weight: 700; }
.brand .name span { font-weight: 400; }
.brand .tag { margin-top: 5px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.brand:hover .name { color: var(--orange); }
.menu { display: flex; gap: 4px; }
.menu a { padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.menu a:hover { background: var(--tint); color: var(--navy-2); }
.menu a[aria-current="page"] { color: var(--navy-2); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }

/* hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, #2b4a93 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--navy-ink); }
.hero .wrap { padding: clamp(48px, 8vw, 96px) 0 clamp(44px, 7vw, 84px); }
.hero h1 { color: #fff; max-width: 17em; }
.hero p.lede { max-width: 40em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--navy-ink); }
.kicker { display: inline-block; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.page-hero .wrap { padding: clamp(36px, 6vw, 64px) 0 clamp(30px, 5vw, 52px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--orange); color: #1b1300; }
.btn-primary:hover { background: #ffa634; color: #1b1300; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy); color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13px; color: #e8edf8; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* sections */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 46em; margin-bottom: 30px; }
.section-head p { color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -38px; position: relative; }
.fact { padding: 22px 22px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; color: var(--navy-2); letter-spacing: -.02em; }
.fact span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--body); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); color: var(--body); box-shadow: 0 1px 2px rgba(20, 35, 74, .06), 0 18px 36px -16px rgba(20, 35, 74, .35); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; background: #fff3e2; color: var(--orange-ink); }
.card .icon svg { width: 24px; height: 24px; }
.card p { font-size: 16px; }
.card .more { margin-top: auto; font-weight: 600; color: var(--navy-2); font-size: 15px; }
a.card:hover .more { color: var(--orange-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { max-width: 42em; }
.prose p { margin-bottom: 1.1em; }
.panel { padding: 24px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.big-stat { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 20px; }
.big-stat strong { font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--navy-2); letter-spacing: -.03em; }
.big-stat span { color: var(--soft); max-width: 22em; }

/* client logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.logos img { width: 150px; max-height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.logos li:hover img { filter: none; opacity: 1; }
.logos.small { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.logos-more { margin-top: 22px; }

/* product cards (APEX page) */
.product { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.product .mark { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 22px; color: #fff; background: var(--navy-2); }
.product .mark.lgb { background: #00a0aa; }

/* contact */
.contact-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 34px; align-items: center; padding: clamp(22px, 4vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.contact-card .portrait { display: block; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.contact-card .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3) translateY(4%); }   /* crop inside the photo's own ring */
.contact-card h2 { margin-bottom: 2px; }
.contact-card .role { color: var(--soft); margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--orange-ink); }
.contact-list a { font-weight: 500; }
.company { font-size: 14px; color: var(--soft); margin: 0; }

/* call to action band and footer */
.cta { background: var(--navy); color: var(--navy-ink); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 40px 0; }
.cta h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cta p { margin: 0; }
.site-foot { background: #0e1834; color: #9fabc6; font-size: 14px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding: 40px 0 28px; }
.site-foot h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.site-foot a { color: #dfe5f3; text-decoration: none; }
.site-foot a:hover { color: var(--orange); text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot .brand .name { font-size: 22px; }
.site-foot .brand .tag { color: #8f9bb8; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; font-size: 13px; color: #8390ad; }

@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .site-foot .about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-head { position: static; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 14px; min-height: 0; }
  .menu { width: calc(100% + 32px); margin: 0 -16px; padding: 0 12px 6px; overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { padding: 10px 10px; }
  .contact-card { grid-template-columns: 1fr; text-align: left; }
  .contact-card .portrait { width: 140px; height: 140px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-left: 0 !important; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* video (Oracle APEX page: the ARQUIVIS demonstration), 16:9 at any width */
.video-block { margin-top: clamp(36px, 6vw, 56px); max-width: 880px; }
.video-block > p { color: var(--soft); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-alt { margin-top: 10px; font-size: 14px; }
