/* ==========================================================
   OSWORKS — single-page website
   Brand: charcoal #171b22 · orange #f56a0e · warm neutral / white
   No gradients, glow or heavy animation (per developer handover)
   ========================================================== */

:root {
  --ink: #171b22;          /* charcoal from logo */
  --ink-2: #3a4048;        /* body text */
  --muted: #5f646b;
  --orange: #f56a0e;       /* logo orange — fills, large text, lines */
  --orange-text: #c43f00;  /* orange for small text on light (AA contrast) */
  --paper: #fffdfc;
  --warm: #f2e9de;         /* warm neutral */
  --warm-2: #eaddca;
  --line: #ddd1c0;
  --radius: 14px;
  --wrap: 1140px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font: "Source Sans 3", "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1, h2, h3, .big-q, .question, .hero-support, .big, .managed-word { font-family: var(--serif); }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 500; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

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

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { display: block; height: 58px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink); }
.site-nav a:not(.btn):hover, .site-nav a.active { background: var(--warm); }
.site-nav a.active:not(.btn) { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block; background: var(--orange); color: var(--ink); font: inherit; font-weight: 700;
  padding: 14px 24px; border: 2px solid var(--orange); border-radius: 10px; text-decoration: none; cursor: pointer;
  line-height: 1.3; text-align: center; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.site-nav .btn:hover { color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link-arrow:hover { color: var(--orange-text); }
.ico-s { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- icons ---------- */
.ico, .flow-ico svg, .hub-node svg, .ro-need svg, .path-target svg {
  fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.ico .ac, .flow-ico .ac, .hub-node .ac, .ro-need .ac, .path-target .ac { stroke: var(--orange); }
.ico { width: 52px; height: 52px; margin-bottom: 14px; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--warm); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: .45em; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.question { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: .6em; }
.big-q { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; color: var(--ink); line-height: 1.2; margin: .2em 0 .8em; }
.big-q::before { content: ""; display: block; width: 56px; height: 5px; background: var(--orange); margin-bottom: 14px; }
.closing { margin-top: 32px; font-size: 1.15rem; color: var(--ink); max-width: 760px; }
.center { text-align: center; margin-top: 32px; }
.small { font-size: .95rem; }
.note { max-width: 760px; color: var(--muted); margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--line); }
.two-col { columns: 2; column-gap: 40px; margin-bottom: 8px; }
.two-col p { break-inside: avoid; }

.callout { background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.section.alt .callout { background: var(--paper); }
.callout.plain { background: transparent !important; border: 0; padding: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-label { font-weight: 800; color: var(--orange-text); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .8em !important; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 18px; }
.hero-support { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hub { position: relative; aspect-ratio: 1 / .9; max-width: 540px; margin-left: auto; width: 100%; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hub-core {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: var(--ink); padding: 8px; gap: 4px;
}
.hub-core svg { width: 46%; }
.hub-core span { font-size: .78rem; font-weight: 800; line-height: 1.15; }
.hub-node {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--warm); border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px 9px 10px;
  font-weight: 700; font-size: .95rem; color: var(--ink);
}
.hub-node svg { width: 28px; height: 28px; stroke-width: 3; }
.hub-node.n1 { left: 50%; top: 14%; }
.hub-node.n2 { left: 80%; top: 40%; }
.hub-node.n3 { left: 70%; top: 86%; }
.hub-node.n4 { left: 30%; top: 86%; }
.hub-node.n5 { left: 20%; top: 40%; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 18px; }
.cards-5 { grid-template-columns: repeat(6, 1fr); }
.cards-5 > li { grid-column: span 2; }
.cards-5 > li:nth-child(4), .cards-5.solutions > li:nth-child(4) { grid-column: 2 / span 2; }
.cards-5 > li:nth-child(5) { grid-column: 4 / span 2; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.section:not(.alt) .card { background: var(--warm); }
.cards > li > .card { height: 100%; }
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 0; color: var(--ink-2); font-size: 1rem; }
a.card { transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.card-cta { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-text); font-size: .95rem; }
.solution { scroll-margin-top: 90px; }
.solution h3 { font-size: 1.3rem; }
.product { margin-top: auto !important; padding-top: 18px; font-size: .9rem !important; color: var(--muted) !important; }
.product strong { color: var(--ink); }
.solution .product { border-top: 1px solid var(--line); margin-top: 18px !important; }
.benefits .card h3 { font-size: 1.1rem; }

/* ---------- flows (4-step & 5-step) ---------- */
.flow { display: grid; gap: 18px; counter-reset: step; }
.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow-5 { grid-template-columns: repeat(5, 1fr); }
.flow > li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 16px; counter-increment: step; }
.flow-4 > li { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.flow-4 strong { color: var(--ink); line-height: 1.25; }
.flow-ico { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: var(--warm); border-radius: 50%; margin-bottom: 8px; }
.flow-4 .flow-ico { margin-bottom: 0; }
.flow-ico svg { width: 30px; height: 30px; }
.flow-5 h3 { font-size: 1.1rem; margin-bottom: .35em; }
.flow-5 h3::before { content: counter(step) ". "; color: var(--orange-text); }
.flow-5 p { font-size: .95rem; margin: 0; }
/* arrows between steps */
.flow > li:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 14px; z-index: 2;
  border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: translateY(-50%) rotate(45deg);
}

/* ---------- contrast (installed vs used) ---------- */
.contrast { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-bottom: 8px; }
.contrast > div { border-radius: var(--radius); padding: 28px; }
.contrast-bad { background: var(--warm); border: 1px dashed #b9b2a2; }
.contrast-good { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.contrast-label { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.contrast-good .contrast-label { color: var(--orange); }
.xlist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.xlist svg { width: 20px; height: 20px; margin-top: 4px; flex: none; fill: none; stroke: var(--orange-text); stroke-width: 2.6; stroke-linecap: round; }
.blame { margin: 14px 0 0; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.big { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.3; margin: 0; color: #fff; }
.big em { font-style: normal; color: var(--orange); }

/* ---------- REALOFFICE ---------- */
.ro { background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.ro-head, .ro-list li { display: grid; grid-template-columns: 1.1fr .8fr 2fr; gap: 16px; align-items: center; padding: 16px 24px; }
.ro-head { background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.ro-list li { border-top: 1px solid var(--line); }
.ro-list li:nth-child(even) { background: var(--warm); }
.ro-list li:first-child { border-top: 0; }
.ro-need { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.ro-need svg { width: 34px; height: 34px; flex: none; }
.ro-sys b { display: inline-block; background: var(--ink); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .9rem; }
.ro-use { color: var(--ink-2); }

/* ---------- who manages ---------- */
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.layers { display: grid; gap: 8px; margin: 24px 0; max-width: 420px; }
.layer { border: 2px solid var(--ink); border-radius: 10px; padding: 12px 18px; font-weight: 700; color: var(--ink); background: var(--paper); text-align: center; }
.layer-os { background: var(--orange); border-color: var(--orange); font-size: 1.25rem; font-weight: 800; padding: 16px 18px; position: relative; }
.layer-os small { display: block; font-size: .8rem; font-weight: 600; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; color: var(--ink); font-weight: 600; }
.tick-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; fill: none; stroke: var(--orange-text); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.tick-list.two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 22px; }
.tick-list.big li { font-weight: 500; font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tick-list.big li:last-child { border-bottom: 0; }
.pull { margin-top: 24px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 800; color: var(--ink); line-height: 1.2; }

/* ---------- technology jargon ---------- */
.jargon { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.jargon li { padding: 6px 16px; border-radius: 999px; background: var(--warm); border: 1px dashed #b9b2a2; color: var(--muted); font-weight: 600; }

/* ---------- managed ---------- */
.managed { background: var(--ink); color: #e9e6df; padding: clamp(48px, 7vw, 80px) 0; }
.managed-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.managed-kicker { color: #fff; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 4px; }
.managed-word { color: var(--orange); font-size: clamp(3.4rem, 10vw, 6.5rem); font-weight: 800; letter-spacing: -.035em; margin: 0 0 12px; line-height: 1; }
.managed-text { font-size: 1.2rem; max-width: 460px; margin: 0; }
.managed-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #34383b; color: #fff; font-weight: 600; font-size: 1.1rem; }
.managed-list li:last-child { border-bottom: 0; }
.managed-list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- branching paths ---------- */
.paths { display: grid; grid-template-columns: 1.3fr 110px 1fr; align-items: stretch; margin-bottom: 8px; }
.path-list { display: grid; grid-auto-rows: 1fr; gap: 0; }
.path-list li { display: flex; align-items: center; background: var(--warm); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 5px 0; color: var(--ink-2); }
.path-list strong { color: var(--ink); margin-left: .3em; }
.path-lines { width: 100%; height: 100%; }
.path-lines path { fill: none; stroke: var(--orange); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.path-target { align-self: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.path-target svg { width: 52px; height: 52px; stroke: #fff; }
.path-target svg .ac { stroke: var(--orange); }
.path-target strong { font-size: 1.15rem; line-height: 1.25; }

/* ---------- systems ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tiles li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tile-cat { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tiles strong { color: var(--ink); font-size: 1.05rem; }
.systems-more { margin-top: 24px; }
.systems-more .tiles { grid-template-columns: 1fr 1fr 2fr; }
.tiles-quiet li { background: transparent; border-style: dashed; }

/* ---------- final CTA / form ---------- */
.cta { background: var(--warm); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-copy h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.contact-card { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: var(--radius); padding: 20px 24px; display: grid; gap: 4px; }
.contact-card strong { color: var(--ink); font-size: 1.15rem; }
.contact-card a { font-weight: 700; color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; width: fit-content; }
.contact-card a:hover { color: var(--orange-text); }
.contact-brand { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); line-height: 1.5; }

.enquiry { background: var(--paper); border: 1px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.form-intro { color: var(--muted); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid #b9b2a2; border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--orange); }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.err { color: #b3261e; font-size: .92rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .95rem; text-align: center; }
.form-ok { margin: 16px 0 0; padding: 14px 16px; background: #eaf6ec; border: 1px solid #2f7d3b; color: #174d20; border-radius: 10px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--warm); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer-brand img { height: 72px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { margin-bottom: .4em; color: var(--ink-2); }
.footer-tag strong { color: var(--ink); }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-bottom: 18px; }
.footer-links a { text-decoration: none; font-weight: 600; color: var(--ink); display: inline-block; padding: 4px 0; }
.footer-links a:hover { color: var(--orange-text); text-decoration: underline; }
.footer-contact a { font-weight: 700; }
.footer-base { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 28px; font-size: .9rem; color: var(--muted); }
.footer-base p { margin: 0; }

/* ---------- scroll reveal (only when JS is on; content never hidden otherwise) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hub { margin: 0 auto; }
  .flow-5 { grid-template-columns: repeat(3, 1fr); }
  .flow-5 > li:nth-child(3)::after { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .ro-head, .ro-list li { grid-template-columns: 1fr .8fr 1.6fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 8px; padding: 14px; }

  .two-col { columns: 1; }
  .cards-5 { grid-template-columns: 1fr 1fr; }
  .cards-5 > li, .cards-5 > li:nth-child(4), .cards-5 > li:nth-child(5), .cards-5.solutions > li:nth-child(4) { grid-column: auto; }
  .cards-5 > li:nth-child(5) { grid-column: 1 / -1; }

  .flow-4 { grid-template-columns: 1fr; }
  .flow-5 { grid-template-columns: 1fr; }
  .flow-4 > li { flex-direction: row; text-align: left; gap: 14px; }
  .flow-5 > li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; }
  .flow-5 .flow-ico { grid-row: span 2; }
  /* vertical arrows */
  .flow > li:not(:last-child)::after, .flow-5 > li:nth-child(3)::after {
    display: block; right: auto; left: 44px; top: auto; bottom: -17px; transform: rotate(135deg);
  }
  .flow-4 > li:not(:last-child)::after { left: 40px; }

  .contrast, .manage-grid, .managed-grid, .cta-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .paths { grid-template-columns: 1fr; }
  .path-lines { display: none; }
  .path-list li { margin: 4px 0; }
  .path-target { margin-top: 18px; position: relative; }
  .path-target::before { content: "↓"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); font-size: 1.8rem; font-weight: 800; color: var(--orange); }

  .ro-head { display: none; }
  .ro-list li { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .ro-sys { order: 0; }
  .ro-need { order: -1; }
  .tiles, .systems-more .tiles { grid-template-columns: 1fr 1fr; }
  .systems-more .tiles li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 48px; }
  .cards-5 { grid-template-columns: 1fr; }
  .cards-5 > li:nth-child(5) { grid-column: auto; }
  .tick-list.two { grid-template-columns: 1fr; }
  .tiles, .systems-more .tiles { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-arrow { justify-content: flex-start; }
  .btn { padding: 14px 18px; }
  .center .btn { width: 100%; }
  .callout { padding: 20px; }
  .enquiry { padding: 22px 18px; }
  .footer-links ul { grid-template-columns: 1fr; }

  /* hero illustration: simple grid on small screens, no overlapping labels */
  .hub { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hub-lines { display: none; }
  .hub-core { position: static; transform: none; width: auto; aspect-ratio: auto; grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 14px; gap: 12px; }
  .hub-core svg { width: 34px; }
  .hub-core span { font-size: .95rem; }
  .hub-node { position: static; transform: none; white-space: normal; }
  .hub-node.n3 { order: 5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  a.card:hover { transform: none; }
}

@media print {
  .site-header, .nav-toggle { position: static; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- problem cards: illustration tile + text ---------- */
#need .cards-5 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
#need .cards-5 > li, #need .cards-5 > li:nth-child(4), #need .cards-5 > li:nth-child(5) { grid-column: auto; }
#need .cards-5 > li:nth-child(5) { grid-column: 1 / -1; }
.card.problem { flex-direction: row; align-items: center; gap: 24px; padding: 20px; }
.card.problem .ill { flex: 0 0 170px; width: 170px; height: 138px; background: var(--warm-2); border-radius: 10px; padding: 6px; }
.card.problem .card-body { display: flex; flex-direction: column; align-items: flex-start; }
.card.problem h3 { font-size: 1.3rem; line-height: 1.2; }
.card.problem .card-cta { padding-top: 14px; margin-top: 0; }
@media (max-width: 760px) {
  #need .cards-5 { grid-template-columns: 1fr; }
  #need .cards-5 > li:nth-child(5) { grid-column: auto; }
  .card.problem { flex-direction: column; align-items: flex-start; }
  .card.problem .ill { width: 100%; flex-basis: auto; }
}

/* direction steps + hero art */
.flow-4 .ill { width: 100%; max-width: 170px; height: auto; background: var(--warm-2); border-radius: 10px; padding: 6px; }
.flow-4 > li { padding: 16px 14px 20px; gap: 14px; }
.flow-4 strong { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.hero-art { width: 100%; max-width: 600px; margin-left: auto; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* hero: real application logos around the managed core */
.hero-logos { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 540px; margin-left: auto; background: var(--warm); border-radius: 28px; }
.hl-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-lines line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hl-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 29%; aspect-ratio: 1; background: var(--paper); border: 3px solid var(--ink); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--ink); }
.hl-core svg { width: 44%; }
.hl-core span { font-size: .78rem; font-weight: 700; line-height: 1.15; padding: 0 6px; }
.hl-card { position: absolute; width: 39%; transform: translate(-50%, -50%); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 6px 18px rgba(90, 70, 40, .10); }
.hl-card img { max-width: 100%; width: auto; }
.hl-cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.hl-card.c1 { left: 26%; top: 18%; } .hl-card.c2 { left: 74%; top: 18%; }
.hl-card.c3 { left: 26%; top: 82%; } .hl-card.c4 { left: 74%; top: 82%; }
.hl-plane { background: #3f76ff; border-radius: 8px; padding: 10px 16px; display: inline-flex; }
.hl-twenty { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.hl-twenty b { font-weight: 600; }
@media (max-width: 900px) { .hero-logos { margin: 0 auto; } }
@media (max-width: 520px) {
  .hero-logos { aspect-ratio: auto; background: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hl-lines, .hl-core { display: none; }
  .hl-card { position: static; transform: none; width: 100%; }
}

/* small application logos (icon only) */
.app-ico { width: 28px; height: 28px; object-fit: contain; flex: none; }
.app-name { display: flex; align-items: center; gap: 10px; }
.tiles .app-name { margin-top: 2px; }
.ro-sys { display: inline-flex; align-items: center; gap: 10px; }
.ro-sys .app-ico { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px; width: 32px; height: 32px; }

/* hero: full-width illustration, text on the left; stacked on small screens */
.hero { position: relative; overflow: hidden; background: #fbf7f1; min-height: clamp(460px, 38vw, 600px); display: flex; align-items: center; }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: block; }
.hero-copy { max-width: 470px; }
.hero .lead { max-width: 470px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 0; }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero-copy, .hero .lead { max-width: none; }
  .hero-bg { position: static; display: block; height: auto; aspect-ratio: 4 / 3; object-position: 78% center; margin-top: 28px; }
}
/* solution cards: application logo */
.app-logo { display: block; width: 46px; height: 46px; object-fit: contain; margin-bottom: 16px; }
.solution .app-logo { border-radius: 10px; }

/* how-we-work timeline (no boxes) */
.timeline { gap: 0; counter-reset: step; }
.timeline > li { background: none; border: 0; border-radius: 0; padding: 0 18px 0 0; text-align: left; }
.timeline > li::after, .timeline > li:not(:last-child)::after { display: none; }
.timeline .flow-ico { display: none; }
.timeline > li::before { content: counter(step); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; font-family: var(--serif); font-size: 1.1rem; }
.timeline > li:not(:last-child)::before { box-shadow: none; }
.timeline > li:not(:last-child) { background: linear-gradient(var(--line), var(--line)) 40px 19px / calc(100% - 40px) 2px no-repeat; }
.timeline h3::before { content: none; }
.timeline h3 { font-size: 1.2rem; margin-bottom: .4em; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline > li { display: block; position: relative; padding: 0 0 26px 56px; background: none !important; }
  .timeline > li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .timeline > li:not(:last-child)::after { display: block; content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; height: auto; border: 0; transform: none; background: var(--line); }
}
/* layers diagram */
.layers { max-width: 460px; gap: 0; }
.layer { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 16px 22px; border-width: 2px; }
.layer-title { font-size: 1.1rem; font-weight: 800; font-family: var(--serif); }
.layer-sub { font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.layer-os { padding: 20px 22px; }
.layer-os .layer-title { font-size: 1.4rem; }
.layer-os .layer-sub { color: var(--ink); font-weight: 600; }
.layer-arrow { display: flex; justify-content: center; color: var(--orange-text); padding: 4px 0; }
.layer-arrow svg { width: 26px; height: 26px; }
/* contact: no box */
.contact-card { background: none; border: 0; border-radius: 0; padding: 0; }

/* footer: light, three columns */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-h { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a { text-decoration: none; font-weight: 500; color: var(--ink-2); display: inline-block; padding: 5px 0; }
.footer-col a:hover { color: var(--orange-text); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-base .to-top { font-weight: 700; color: var(--ink); text-decoration: none; }
.footer-base .to-top:hover { color: var(--orange-text); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* legal pages */
.legal { max-width: 800px; padding-top: 56px; padding-bottom: 72px; }
.legal-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin-bottom: 12px; }
.legal-date { color: var(--muted); font-size: .95rem; margin: 0; }
.legal section { margin-top: 32px; }
.legal h2 { font-size: 1.4rem; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin-top: 10px; }
.legal li::marker { color: var(--orange); }
.legal-contact { list-style: none !important; padding-left: 0 !important; }
.legal a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.footer-loc { display: inline-block; padding: 5px 0; color: var(--ink-2); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* hero: portrait mobile artwork — text sits in its empty upper area */
.hero-pic { display: contents; }
@media (max-width: 600px) {
  .hero { position: relative; background: #fbf5ec; padding: 36px 0 114vw; }
  .hero-pic { display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; line-height: 0; }
  .hero-pic .hero-bg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 941 / 1672; margin: 0; object-fit: cover; }
}

/* REALOFFICE: open row list — need → system, no table or dark header */
.ro { background: none; border: 0; border-radius: 0; overflow: visible; }
.ro-head { display: none; }
.ro-list { border-top: 2px solid var(--ink); }
.ro-list li, .ro-list li:nth-child(even) { background: none; border-top: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1.15fr 1fr 1.9fr; gap: 24px; padding: 22px 4px; }
.ro-need strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ro-need svg { width: 38px; height: 38px; }
.ro-need::after { content: "→"; margin-left: auto; color: var(--orange); font-weight: 700; font-size: 1.2rem; }
.ro-sys b { background: none; color: var(--ink); padding: 0; border-radius: 0; font-size: 1.05rem; font-weight: 700; }
.ro-sys .app-ico { width: 40px; height: 40px; border-radius: 10px; padding: 5px; }
.ro-use { font-size: .98rem; }
@media (max-width: 900px) {
  .ro-list li, .ro-list li:nth-child(even) { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .ro-need::after { display: none; }
}

/* footer: more room between columns and around the logo block */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 56px 72px; }
.footer-brand { padding-right: 24px; }
.footer-brand img { margin-bottom: 20px; }
.footer-h { margin-bottom: 22px; }
.footer-col ul { gap: 8px; }
@media (max-width: 1100px) { .footer-grid { gap: 40px 48px; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-brand { padding-right: 0; } }
.app-name { flex-wrap: wrap; }
.app-and { font-weight: 500; color: var(--muted); }
.app-pair { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.app-one { display: inline-flex; align-items: center; gap: 10px; }
.app-pair .app-and { font-size: .8rem; margin: -2px 0 -2px 38px; }

/* enquiry: embedded OpnForm */
.enquiry-embed { min-width: 0; }
.enquiry-embed iframe { display: block; width: 100%; border: 0; background: transparent; }

/* REALOFFICE: folder picker */
.ro-hint { color: var(--ink-2); margin: 0 0 22px; font-size: .95rem; }
.folders { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; }
.folder { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; transition: transform .2s ease; }
.folder:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px; }
.folder::before { content: ""; position: absolute; inset: 14px 0 0 0; background: color-mix(in srgb, var(--fc), #000 16%); border-radius: 4px 14px 14px 14px; }
.folder-tab { position: absolute; top: 0; left: 0; width: 44%; height: 24px; background: color-mix(in srgb, var(--fc), #000 16%); border-radius: 12px 14px 0 0; }
.folder::after { content: ""; position: absolute; left: 7px; right: 7px; top: 26px; height: 60px; background: linear-gradient(#fff, #e9ecef); border-radius: 8px; box-shadow: 0 -6px 0 -2px #f6f7f8; }
.folder-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 4px; min-height: 140px; margin-top: 48px; padding: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--fc), #fff 28%), var(--fc)); border-radius: 14px; color: #1c1c1c; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 22px -14px rgba(0,0,0,.45); }
.folder-body .app-ico { width: 38px; height: 38px; padding: 5px; background: var(--paper); border-radius: 10px; margin-bottom: 6px; }
.folder-body strong { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; }
.folder-body small { font-size: .85rem; opacity: .75; }
.folder:hover { transform: translateY(-4px); }
.folder[aria-selected="true"] { transform: translateY(-8px); }
.folder[aria-selected="true"] .folder-body { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 2px #1c1c1c, 0 16px 24px -12px rgba(0,0,0,.45); }
.folder[aria-selected="true"]::after { top: 16px; }
.ro-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 32px; align-items: center; margin-top: 30px; padding: 28px; background: var(--paper); border: 2px solid #1c1c1c; border-radius: 14px; }
.ro-panel[hidden] { display: none; }
.ro-panel-need { margin: 0 0 6px; color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.ro-panel h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--serif); font-size: 1.6rem; }
.ro-panel h3 .app-ico { width: 40px; height: 40px; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.ro-panel p { margin: 0; color: var(--ink-2); }
.ro-shot { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); cursor: zoom-in; }
.ro-zoom-hint { margin: 8px 0 0; font-size: .8rem; color: var(--ink-2); }
.shot-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.shot-dialog::backdrop { background: rgba(20,20,20,.82); }
.shot-dialog img { display: block; max-width: 96vw; max-height: 90vh; border-radius: 10px; background: var(--paper); }
.shot-dialog button { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 900px) {
  .ro-panel { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .folders { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .folders { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .folder:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .folder-body { min-height: 120px; padding: 14px 12px; }
  .folder-body strong { font-size: 1rem; }
  .ro-panel { margin-top: 18px; padding: 16px; gap: 14px; border-width: 1.5px; border-radius: 12px; }
  .ro-panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .ro-panel h3 .app-ico { width: 32px; height: 32px; }
  .ro-panel p { font-size: .95rem; }
}

/* phones: side-by-side fanned folders */
@media (max-width: 700px) {
  .ro-hint { margin-bottom: 16px; font-size: .9rem; }
  .folders { display: block; position: relative; height: 236px; margin: 18px 0 0; padding: 0; }
  .folder { z-index: calc(var(--i) + 1); isolation: isolate; position: absolute; top: 0; bottom: 0; left: calc(var(--i) * 12%); width: 52%; height: auto; margin: 0 !important; transform: none; justify-self: auto; grid-column: auto; }
  .folder:nth-child(1) { --i: 0; } .folder:nth-child(2) { --i: 1; } .folder:nth-child(3) { --i: 2; } .folder:nth-child(4) { --i: 3; } .folder:nth-child(5) { --i: 4; }
  .folder::before { inset: 12px 0 0 0; }
  .folder-tab { height: 20px; width: 40%; }
  .folder::after { top: 22px; height: 40px; }
  .folder-body { position: absolute; left: 0; right: 0; bottom: 0; top: 30px; height: auto; min-height: 0; margin: 0; padding: 12px 0 12px 5px; flex-direction: column; align-items: flex-start; gap: 10px; border-radius: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), -6px 0 12px -8px rgba(0,0,0,.4); }
  .folder-body .app-ico { width: 30px; height: 30px; padding: 4px; margin: 0; flex: none; }
  .folder-body strong { writing-mode: vertical-rl; font-size: .84rem; line-height: 1.1; align-self: flex-start; margin-left: 9px; white-space: nowrap; }
  .folder-body small { display: none; }
  .folder:last-child .folder-body { padding: 16px; gap: 8px; }
  .folder:last-child .folder-body strong { writing-mode: horizontal-tb; font-size: 1.1rem; white-space: normal; margin-left: 0; }
  .folder:last-child .folder-body small { display: block; }
  .folder:hover { transform: none; }
  .folder[aria-selected="true"] { transform: translateY(-14px); }
  .folder[aria-selected="true"]::after { top: 22px; }
}

/* footer: light theme, roomy spacing */
.site-footer { background: var(--warm); border-top: 1px solid var(--line); padding-top: 64px; color: var(--ink-2); }
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px 64px; padding-bottom: 56px; }
.site-footer .footer-brand { padding-right: 32px; display: block; }
.site-footer .footer-brand img { height: 72px; width: auto; max-width: none; margin-bottom: 22px; display: block; }
.site-footer .footer-brand p { color: var(--ink-2); line-height: 1.7; max-width: 34ch; margin: 0; }
.site-footer .footer-h { color: var(--ink); font-size: .78rem; letter-spacing: .14em; margin-bottom: 24px; }
.site-footer .footer-col ul { gap: 14px; }
.site-footer .footer-col a, .site-footer .footer-loc { color: var(--ink-2); padding: 0; font-weight: 500; }
.site-footer .footer-col a:hover { color: var(--orange-text); text-decoration: underline; }
.site-footer .footer-base { border-top: 1px solid var(--line); color: var(--muted); padding-top: 24px; padding-bottom: 32px; }
.site-footer .footer-base .to-top { color: var(--ink); }
.site-footer .footer-base .to-top:hover { color: var(--orange-text); }
@media (max-width: 1100px) { .site-footer .footer-grid { gap: 40px 48px; } }
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; } .site-footer .footer-brand { grid-column: 1 / -1; padding-right: 0; } }
@media (max-width: 560px) { .site-footer { padding-top: 48px; } .site-footer .footer-grid { grid-template-columns: 1fr; } .site-footer .footer-brand img { height: 60px; } }
.site-footer .footer-brand p + p { margin-top: .5em; }

/* REALOFFICE folders: beige, smaller */
.folder { --fc: #e9dcc3; }
.folder-body { min-height: 112px; padding: 12px 14px; }
.folder-body .app-ico { width: 32px; height: 32px; margin-bottom: 4px; }
.folder-body strong { font-size: .98rem; }
.folder-body small { font-size: .8rem; }
.folder::after { height: 48px; }
.folders { gap: 16px; }
@media (max-width: 700px) {
  .folders { height: 200px; }
  .folder { width: 48%; left: calc(var(--i) * 13%); }
  .folder-body { padding: 10px 0 10px 5px; gap: 6px; top: 28px; min-height: 0; }
  .folder-body .app-ico { width: 26px; height: 26px; padding: 3px; margin: 0; }
  .folder-body strong { font-size: .76rem; margin-left: 7px; }
  .folder:last-child .folder-body { padding: 12px; gap: 6px; }
  .folder:last-child .folder-body strong { font-size: .98rem; }
  .folder::after { height: 32px; }
}

/* Why open source: compact cards on phones */
@media (max-width: 700px) {
  .benefits { gap: 10px; }
  .benefits .card { padding: 14px 16px; border-radius: 12px; }
  .benefits .card .ico { width: 32px; height: 32px; margin-bottom: 6px; }
  .benefits .card h3 { font-size: 1rem; margin-bottom: 4px; }
  .benefits .card p { font-size: .9rem; line-height: 1.5; margin: 0; }
}

/* Layers diagram: compact on phones */
@media (max-width: 700px) {
  .layers { max-width: 100%; margin: 16px 0; }
  .layer { padding: 10px 14px; border-radius: 9px; gap: 0; }
  .layer-title { font-size: .95rem; }
  .layer-sub { font-size: .8rem; line-height: 1.35; }
  .layer-os { padding: 12px 14px; }
  .layer-os .layer-title { font-size: 1.1rem; }
  .layer-arrow { padding: 2px 0; }
  .layer-arrow svg { width: 20px; height: 20px; }
}

/* path target: OSWORKS mark, white on dark */
.path-logo { height: 52px; width: auto; }
@media (max-width: 700px) {
  .path-list li { padding: 9px 14px; border-radius: 10px; margin: 3px 0; font-size: .9rem; line-height: 1.4; }
  .path-target { padding: 14px; gap: 8px; margin-top: 16px; }
  .path-target::before { top: -30px; font-size: 1.5rem; }
  .path-logo { height: 40px; }
  .path-target strong { font-size: 1rem; }
}

/* Problem cards, direction steps, solution cards: smaller on phones */
@media (max-width: 700px) {
  .card.problem { padding: 12px; gap: 10px; border-radius: 12px; }
  .card.problem .ill { height: 96px; padding: 4px; }
  .card.problem h3 { font-size: 1.05rem; }
  .card.problem p { font-size: .88rem; line-height: 1.45; }
  .card.problem .card-cta { padding-top: 8px; font-size: .85rem; }

  .flow-4 { gap: 14px; }
  .flow-4 > li { padding: 8px 12px 8px 8px; gap: 12px; border-radius: 10px; }
  .flow-4 .ill { max-width: 92px; flex: 0 0 92px; padding: 3px; }
  .flow-4 strong { font-size: .95rem; }
  .flow-4 > li:not(:last-child)::after { left: 46px; bottom: -15px; }

  .card.solution { padding: 14px 16px; border-radius: 12px; }
  .solution h3 { font-size: 1.05rem; }
  .solution p { font-size: .88rem; line-height: 1.5; }
  .solution .app-logo, .solution .app-ico { width: 32px; height: 32px; }
  .solution .product { margin-top: 10px !important; padding-top: 10px; font-size: .85rem; }
}

/* callout labels: normal sentence case */
.callout-label.plain { text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 700; }

/* REALOFFICE panels: same size for every app on desktop */
@media (min-width: 901px) {
  .ro-shot { aspect-ratio: 1.7 / 1; object-fit: cover; object-position: top left; height: auto; }
  .ro-panel { min-height: 440px; }
}
