/* CRUES website — vivid enterprise: warm headlines, gradient accents, precise copy. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/InterDisplay-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/InterDisplay-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/InterDisplay-ExtraBold.woff2") format("woff2"); }

:root {
  /* Brand */
  --navy: #111D30; --ocean: #0D707F; --ocean-deep: #0A3D59; --cyan: #2BB8CC; --light: #9FE8F2; --blue: #4169F5; --teal: #18B6A4; --cloud: #F4F7FB; --white: #FFFFFF;
  --grad: linear-gradient(100deg, var(--ocean) 0%, var(--cyan) 100%);
  --grad-deep: linear-gradient(160deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  --grad-soft: linear-gradient(100deg, rgba(13,112,127,.14), rgba(43,184,204,.14));
  /* Functional tokens */
  --ink: #111D30; --ink-2: #3D4A61; --ink-3: #6B7890;
  --line: #DDE4EE; --line-strong: #B9C3D3;
  --blue-text: #0D707F; --blue-hover: #0B5F6C; --blue-active: #094E59;
  --navy-2: #1A2A45; --navy-3: #243656; --on-navy: #D6DEEA; --on-navy-muted: #9FB0C8;
  --focus: #0D707F;
  --shadow-card: 0 1px 2px rgba(10,61,89,.05), 0 12px 32px rgba(10,61,89,.09);
  --shadow-card-hover: 0 2px 4px rgba(17,29,48,.06), 0 20px 48px rgba(17,29,48,.14);
  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --fs-3: 1.75rem; --fs-4: 1.3125rem; --fs-5: 1.0625rem; --fs-6: 0.9375rem; --fs-7: 0.8125rem;
  /* Layout */
  --measure: 66ch; --container: 1180px; --gutter: max(20px, env(safe-area-inset-left, 0px));
  --radius: 10px; --radius-lg: 18px; --pill: 999px;
}

*, *::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 { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: var(--fs-5); line-height: 1.6; font-feature-settings: "cv11", "ss01"; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.5rem); font-weight: 700; letter-spacing: -0.022em; line-height: 1.1; }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem); font-weight: 700; }
h3 { font-size: var(--fs-3); } h4 { font-size: var(--fs-4); }
p { margin: 0; max-width: var(--measure); } p + p { margin-top: 1em; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-3); }
.hl { color: var(--ocean); }
.hero .hl, .band.navy .hl { color: var(--cyan); }
.eyebrow { font-size: var(--fs-7); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.band { padding-block: clamp(64px, 8vw, 112px); }
.band.cloud { background: var(--cloud); }
.band.navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.band.navy .muted, .band.navy .lead { color: var(--on-navy); }
.band.navy .eyebrow { color: var(--light); }
.band.navy a { color: var(--white); }
.band.navy::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 85% 10%, rgba(13,112,127,.55), transparent 60%),
              radial-gradient(500px 360px at 10% 100%, rgba(159,232,242,.18), transparent 60%); }
.band.navy > .container { position: relative; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: var(--fs-6); padding: 10px 14px; border-radius: var(--pill); }
.nav a:hover { color: var(--ink); background: var(--cloud); }
.nav a[aria-current="page"] { color: var(--ocean); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav .cta { color: var(--ocean); background: transparent; border: 1.5px solid var(--ocean); margin-left: 10px; padding: 9px 20px; }
.nav .cta:hover { color: var(--white); background: var(--ocean); }
.nav .cta[aria-current="page"] { color: var(--white); background: var(--ocean); }
.nav .cta[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--pill); padding: 8px 14px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--radius); }
  .nav .cta { margin: 8px 0 0; text-align: center; border-radius: var(--pill); }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 140px); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 480px at 88% 0%, rgba(13,112,127,.7), transparent 62%),
              radial-gradient(640px 420px at 0% 100%, rgba(159,232,242,.22), transparent 62%); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero .eyebrow { color: var(--light); }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 22px; max-width: 54ch; color: var(--on-navy); }
.hero .actions { margin-top: 36px; }
.hero-art { justify-self: end; width: min(100%, 340px); }
.hero-art.framed { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); width: min(100%, 440px); }
@media (max-width: 820px) { .hero .container { grid-template-columns: 1fr; } .hero-art { justify-self: start; width: min(55%, 220px); order: -1; } .hero-art.framed { width: min(100%, 360px); } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: var(--pill); font-weight: 700; font-size: var(--fs-6); text-decoration: none; border: 1px solid transparent; transition: filter .15s ease, background-color .15s ease, border-color .15s ease; }
.btn.primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 24px rgba(13,112,127,.3); }
.btn.primary:hover { filter: brightness(1.07); color: var(--white); }
.btn.secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.hero .btn.secondary, .band.navy .btn.secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.hero .btn.secondary:hover, .band.navy .btn.secondary:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* Sections */
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { margin-top: 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }
.item { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.band.navy .item { border-top-color: var(--navy-3); }
.item h3 { font-size: var(--fs-4); margin-bottom: 10px; }
.item p { font-size: var(--fs-6); color: var(--ink-2); }
.band.navy .item p { color: var(--on-navy-muted); }
.item ul { margin: 10px 0 0; padding-left: 18px; font-size: var(--fs-6); color: var(--ink-2); }
.item li + li { margin-top: 4px; }

/* Cards */
.card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.card h3 { font-size: var(--fs-4); margin: 18px 0 10px; }
.card p { font-size: var(--fs-6); color: var(--ink-2); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; color: var(--blue-text); }
.card .icon svg { width: 24px; height: 24px; }
.band.cloud .card { border-color: transparent; }

/* Statistics */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-card); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: var(--fs-6); font-weight: 500; }

/* Product band */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } }
.product-art { border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.product-art { background: var(--grad-deep); }
.product-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 300px at 90% 0%, rgba(159,232,242,.28), transparent 62%), radial-gradient(380px 280px at 0% 100%, rgba(10,61,89,.5), transparent 62%); }
.product-art img { width: min(100%, 420px); position: relative; }

/* Photograph slots: supply real photographs; the fallback is the brand gradient. */
.photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); position: relative; box-shadow: var(--shadow-card); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,29,48,0) 55%, rgba(17,29,48,.55)); pointer-events: none; }

/* App frame illustration */
.app-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.app-frame .bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-7); color: var(--ink-3); }
.app-frame .bar img { height: 22px; }
.app-frame .body { display: grid; grid-template-columns: 56px 1fr; min-height: 220px; }
.app-frame .rail { background: var(--cloud); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px; }
.app-frame .rail i { width: 20px; height: 20px; border-radius: 6px; background: var(--line); display: block; }
.app-frame .rail img { width: 24px; height: 24px; }
.app-frame .content { padding: 16px; display: grid; gap: 10px; align-content: start; }
.app-frame .row { height: 12px; background: var(--cloud); border-radius: 6px; }
.app-frame .row.w1 { width: 60%; } .app-frame .row.w2 { width: 85%; } .app-frame .row.w3 { width: 45%; }

/* Tables and code */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-6); }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-2); font-size: var(--fs-7); letter-spacing: 0.04em; text-transform: uppercase; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; background: var(--cloud); padding: 2px 6px; border-radius: 4px; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line); vertical-align: -4px; margin-right: 8px; }

/* Brand page */
.specimens { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.specimen { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 16px; display: flex; flex-direction: column; gap: 16px; align-items: center; min-width: 0; margin: 0; }
.specimen.cloud { background: var(--cloud); } .specimen.navy { background: var(--navy); border-color: var(--navy); } .specimen.white { background: var(--white); }
.specimen img { max-height: 96px; width: auto; }
.specimen figcaption { font-size: var(--fs-7); color: var(--ink-3); text-align: center; }
.specimen.navy figcaption { color: var(--on-navy-muted); }
.px-tests { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.px-tests figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.px-tests img { image-rendering: pixelated; }
.px-tests figcaption { font-size: var(--fs-7); color: var(--ink-3); }
.rules { columns: 2; column-gap: 40px; }
@media (max-width: 700px) { .rules { columns: 1; } }
.rules li { break-inside: avoid; margin-bottom: 10px; font-size: var(--fs-6); color: var(--ink-2); }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.download { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; }
.download:hover { border-color: var(--ink-3); color: inherit; }
.download strong { font-weight: 600; } .download span { font-size: var(--fs-7); color: var(--ink-3); }

/* Statement bands and company page */
.statement { max-width: 30ch; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }
.pillar { min-width: 0; padding: 8px 40px 8px 0; border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.pillar:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 820px) { .pillar { border-left: 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); } .pillar:first-child { border-top: 0; padding-top: 0; } }
.pillar .eyebrow { margin-bottom: 12px; color: var(--light); }
.pillar p, .pillar .statement { font-family: var(--font); font-size: var(--fs-4); font-weight: 400; line-height: 1.5; color: var(--white); letter-spacing: 0; max-width: 32ch; }
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }
.story p { font-size: var(--fs-5); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: var(--fs-6); color: var(--ink-2); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline strong { color: var(--blue-text); font-variant-numeric: tabular-nums; }
.founder { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; } }
.founder img { width: 200px; height: 200px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.founder .name { font-family: var(--font-display); font-size: var(--fs-3); font-weight: 700; letter-spacing: -0.01em; }
.founder .role { color: var(--ink-3); margin: 4px 0 20px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }
.value { min-width: 0; background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); }
.value h3 { font-size: var(--fs-4); margin-bottom: 8px; }
.value p { font-size: var(--fs-6); color: var(--ink-2); }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
@media (max-width: 700px) { .outcomes { grid-template-columns: 1fr; } }
.outcome { min-width: 0; padding-left: 18px; border-left: 3px solid var(--cyan); }
.outcome h3 { font-size: var(--fs-4); margin-bottom: 6px; }
.outcome p { font-size: var(--fs-6); color: var(--ink-2); }
.band.navy .outcome p { color: var(--on-navy-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid { align-items: start; }
.contact-stack { display: grid; gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); font-size: var(--fs-6); color: var(--ink-2); }
.contact-card h3 { font-size: var(--fs-4); color: var(--ink); margin-bottom: 16px; }
.contact-card p { font-size: var(--fs-6); }
.contact-card ul { margin: 12px 0 0; padding-left: 20px; } .contact-card li + li { margin-top: 6px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; }
.contact-card dt { color: var(--ink-3); } .contact-card dd { margin: 0; color: var(--ink); }
.copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font: inherit; font-size: var(--fs-7); font-weight: 600; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 12px; cursor: pointer; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink-3); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px 40px; font-size: var(--fs-6); border-top: 4px solid; border-image: var(--grad) 1; }
.site-footer .container { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 700px) { .site-footer .container { grid-template-columns: 1fr; } }
.site-footer img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer .slogan { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-4); margin-bottom: 8px; }
.site-footer h4 { color: var(--white); font-family: var(--font); font-size: var(--fs-7); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; } .site-footer li + li { margin-top: 8px; }
.site-footer a { color: var(--white); text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--navy-3); padding-top: 20px; font-size: var(--fs-7); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Illustrative product screens */
.screen { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card-hover); overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--ink); min-width: 0; }
.screen figcaption { padding: 8px 14px; font-size: 11px; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--cloud); }
.screen-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.screen-bar img { height: 22px; width: auto; }
.screen-crumb { font-weight: 600; color: var(--ink-2); }
.screen-user { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.screen-body { display: grid; grid-template-columns: 44px 1fr; }
.screen-nav { background: var(--cloud); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 14px; }
.screen-nav i { width: 18px; height: 18px; border-radius: 6px; background: var(--line); display: block; }
.screen-nav i.on { background: var(--grad); }
.screen-main { padding: 14px; min-width: 0; }
.screen-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.screen-head strong { font-size: 14px; } .screen-head span { color: var(--ink-3); }
.screen-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.screen-table th { text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.screen-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.screen-table td small { display: block; color: var(--ink-3); font-size: 10px; }
.screen-table tr:last-child td { border-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--pill); font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip svg { width: 10px; height: 10px; }
.chip.critical { background: #FBE9E7; color: #A8261F; }
.chip.warning { background: #FDF3E1; color: #8A5A0B; }
.chip.good { background: #E4F5EC; color: #1B6E47; }
.chip.info { background: #E6F2F4; color: #0B5F6C; }
.screen-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .screen-cols { grid-template-columns: 1fr; } .screen-user { display: none; } }
.screen-card { border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.screen-card.wide { grid-column: 1 / -1; }
.screen-card h4 { font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; margin-bottom: 8px; }
.screen-kv { display: grid; grid-template-columns: auto auto auto auto; gap: 4px 12px; align-items: baseline; margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.screen-kv strong { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.screen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.screen-list li { display: flex; align-items: center; gap: 8px; }
.screen-list small { margin-left: auto; color: var(--ink-3); white-space: nowrap; }
.tick { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; }
.tick.done { background: #1B6E47; border-color: #1B6E47; }
.tick.due { border-color: #8A5A0B; background: #FDF3E1; }
.spark { width: 100%; height: auto; display: block; }
.spark-base { stroke: var(--line); stroke-width: 1; }
.spark-area { fill: rgba(13,112,127,.12); }
.spark-line { fill: none; stroke: var(--ocean); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark-end { fill: var(--ocean); stroke: var(--white); stroke-width: 2; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi span { display: block; font-size: 10px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--ink-3); font-size: 10px; }
.bars { width: 100%; height: auto; display: block; }
.bar { fill: rgba(13,112,127,.35); }
.bar.today { fill: var(--ocean); }
.bar-l { font: 500 9px var(--font); fill: var(--ink-3); text-anchor: middle; }
.hero .screen { transform: rotate(-1.5deg); }
@media (max-width: 820px) { .hero .screen { transform: none; } }
.hero-screen { justify-self: stretch; width: 100%; max-width: 560px; }
@media (max-width: 820px) { .hero-screen { order: 1; margin-top: 8px; } }

/* Photograph rows. Until real photographs are supplied, slots show a labelled ocean panel. */
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.photo { margin: 0; }
.photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; color: var(--white); font-size: var(--fs-7); font-weight: 600; z-index: 1; }
.photo img { background: var(--grad-deep); }
.photo.missing img { display: none; }
.photo.missing::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-navy-muted); font-size: var(--fs-7); letter-spacing: .08em; text-transform: uppercase; background: var(--grad-deep); }
