:root {
  --red: #f93839;
  --coral: #fa636c;
  --pink: #fb919d;
  --orange: #f7902f;
  --ink: #1c2433;
  --ink-soft: #4a5468;
  --line: #dde2ea;
  --mist: #f3f5f8;
  --paper: #ffffff;
  --red-text: #d42526;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 58ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Preview banner */
.preview-note { background: var(--ink); color: #fff; font-size: 0.875rem; text-align: center; padding: 6px var(--gutter); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 171px; height: 44px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); font-weight: 550; font-size: 0.975rem; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--coral); border-radius: 0; }
.lang { font-size: 0.9rem; color: var(--ink-soft); text-decoration: none; border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--radius); }
.lang:hover { border-color: var(--ink); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; border-radius: var(--radius); padding: 6px; cursor: pointer; line-height: 0; }
.menu-btn img { width: 30px; height: 32px; transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] img { transform: rotate(90deg); }
.menu-btn:hover { background: var(--mist); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--mist); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--coral); padding-left: 14px; }
  .nav .lang { margin-top: 12px; align-self: flex-start; border-bottom: 1px solid var(--line); }
  .site-header .wrap { position: relative; }
}

/* Buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 650; padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--red); font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero h1 { max-width: 15ch; }
.bars { display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 18px); height: clamp(220px, 32vw, 380px); justify-content: flex-end; }
.bars span { display: block; width: clamp(48px, 7vw, 92px); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.bars span:nth-child(1) { background: var(--red); height: 100%; }
.bars span:nth-child(2) { background: var(--coral); height: 78%; animation-delay: .12s; }
.bars span:nth-child(3) { background: var(--pink); height: 56%; animation-delay: .24s; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .bars { display: none; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink p { color: #c9d0dc; }
.section-ink a { color: var(--pink); }
.section-ink .btn { color: #fff; }
.section-head { margin-bottom: 40px; }
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Service list: colour key from the logo bars */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 56px; }
.service { padding: 4px 0 4px 24px; border-left: 6px solid var(--k, var(--red)); }
.service p { color: var(--ink-soft); margin-bottom: 0.6em; }
.service ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.service li { margin: 4px 0; }
.k1 { --k: var(--red); } .k2 { --k: var(--coral); } .k3 { --k: var(--pink); } .k4 { --k: var(--orange); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Products */
.product { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product .tag { color: var(--ink-soft); font-size: 0.95rem; margin-top: -4px; }
.product ul { margin: 0; padding-left: 1.1em; }
.product li { margin: 6px 0; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }

/* Course table */
.courses { width: 100%; border-collapse: collapse; }
.courses th, .courses td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.courses th { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.courses td:first-child { font-weight: 700; width: 34%; }
@media (max-width: 640px) {
  .courses thead { display: none; }
  .courses tr { display: block; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .courses td { display: block; border: 0; padding: 2px 0; width: auto !important; }
}

/* Industries / facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; }
.facts div { border-top: 2px solid var(--coral); padding-top: 14px; }
.facts dt { font-weight: 700; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ink-soft); }
.section-ink .facts dd { color: #c9d0dc; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; background: var(--paper); }

/* Two column text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* CTA band */
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 8px; max-width: 24ch; }
.cta-band p { margin: 0; }
.section-ink .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
form label { display: block; font-weight: 600; margin: 18px 0 6px; }
form input, form select, form textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid #b9c1ce; border-radius: var(--radius); background: #fff; color: var(--ink); }
form textarea { min-height: 150px; resize: vertical; }
form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.95rem; margin-top: 20px; }
form .check input { width: auto; margin-top: 5px; }
form .btn { margin-top: 24px; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; }
.address { font-style: normal; line-height: 1.8; }

/* Legal */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .todo { background: #fff4e5; border-left: 4px solid var(--orange); padding: 2px 6px; }
.draft-note { background: #fff4e5; border-left: 4px solid var(--orange); padding: 14px 18px; margin-bottom: 32px; max-width: 68ch; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d0dc; padding: 48px 0 32px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.footer-bars { display: flex; gap: 5px; align-items: flex-end; height: 26px; margin-bottom: 14px; }
.footer-bars i { display: block; width: 9px; }
.footer-bars i:nth-child(1) { background: var(--red); height: 100%; }
.footer-bars i:nth-child(2) { background: var(--coral); height: 78%; }
.footer-bars i:nth-child(3) { background: var(--pink); height: 56%; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid #36405a; padding-top: 20px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
