/* UNITRADE DWC-LLC — site styles */
:root {
  /* Brand + surfaces */
  --red: #e32025;
  --red-dark: #b8171c;
  --ink: #1c2126;
  --steel: #262d34;
  --steel-2: #313a43;
  --line: #dfe3e8;
  --bg: #ffffff;
  --bg-alt: #f3f5f7;
  --radius: 4px;
  --wrap: 1440px;

  /* Text colours — light backgrounds */
  --text-strong: #1c2126;   /* headings, emphasis */
  --text: #46505a;          /* all body copy */
  --text-muted: #6f7a84;    /* captions, meta, hints */
  /* Text colours — dark / red backgrounds */
  --on-dark-strong: #ffffff;
  --on-dark: #c8d0d7;

  /* Fonts */
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* Type scale — every text element uses one of these */
  --fs-display: clamp(2.5rem, 5vw, 4rem);      /* page titles (h1) */
  --fs-title: clamp(2rem, 3.4vw, 2.75rem);     /* section titles (h2) */
  --fs-heading: 1.5rem;                         /* card / block headings (h3) */
  --fs-lead: 1.25rem;                           /* intro paragraphs, taglines */
  --fs-body: 1.0625rem;                         /* body copy (17px) */
  --fs-small: .9375rem;                         /* card copy, captions, footer (15px) */
  --fs-label: .9375rem;                         /* uppercase labels: nav, buttons, eyebrows */
  --ls-label: .1em;                             /* one letter-spacing for every uppercase label */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-dark); }
strong { color: var(--text-strong); font-weight: 600; }
h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--text-strong);
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-title); }
h3, .h3 { font-size: var(--fs-heading); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* One uppercase label style: eyebrows, nav, buttons, links, tags, small headings */
.label, .eyebrow, .nav a, .btn, .link-arrow, .app-nav a, .num, .tag, .info-card dt, .site-footer h4, .compare h4, .doc-label {
  font-family: var(--head);
  font-weight: 600;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  line-height: 1.3;
}

/* Utilities */
.small { font-size: var(--fs-small); }
.muted { color: var(--text-muted); }
.mt { margin-top: 24px; }
.mb-lg { margin-bottom: 56px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 46em; }
.tagline { font-family: var(--head); font-weight: 500; font-size: var(--fs-heading); line-height: 1.3; color: var(--text-strong); margin-bottom: 1.1em; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid var(--red);
  background: var(--red); color: #fff; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { text-decoration: none; color: var(--red-dark); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Top bar */
.topbar { background: var(--ink); color: var(--on-dark); font-size: var(--fs-small); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-links, .topbar .tb-info { display: flex; gap: 24px; }

/* Header — logo left, menu right, both aligned to the content edges */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,25,30,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 88px; }
.brand { flex-shrink: 0; }
.brand img { height: 42px; width: auto; max-width: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav a {
  display: block; padding: 32px 10px 29px; text-decoration: none; color: var(--text-strong);
  border-bottom: 3px solid transparent; white-space: nowrap; letter-spacing: .06em;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .nav-extra { display: none; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  width: 46px; height: 42px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
/* Desktop: logo + menu centred together as one group */
@media (min-width: 1261px) {
  .site-header .wrap { justify-content: center; gap: 22px; }
  .nav ul { margin-right: -10px; }
  /* nudge the whole group left (less on narrower screens so the logo never touches the edge) */
  .brand, .nav { translate: calc(-1 * min(var(--nav-shift), max(0px, (100vw - 1240px) / 2))) 0; }
}
:root { --nav-shift: 80px; }   /* how far the logo + menu sit left of centre */

@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { min-height: 76px; }
  .brand img { height: 42px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(20,25,30,.12); display: none; max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: var(--ls-label); }
  .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .nav .nav-extra { display: block; }
}
@media (max-width: 760px) {
  .topbar .tb-info span.addr, .topbar .tb-links { display: none; }
  .brand img { height: 42px; }
  .site-header .wrap { min-height: 68px; }
}

/* Dark surfaces share one text treatment */
.hero, .page-hero, .section.dark, .info-card, .site-footer, .sector.feature, .feature-cta {
  color: var(--on-dark);
}
.hero :is(h1, h2, h3, h4, strong),
.page-hero :is(h1, h2, h3, h4, strong),
.section.dark :is(h1, h2, h3, h4, strong),
.info-card :is(h3, strong),
.site-footer :is(h4, strong),
.sector.feature h3, .feature-cta h3 { color: var(--on-dark-strong); }
.hero figcaption, .section.dark figcaption { color: var(--on-dark); }


/* Hero (home) */
.hero { position: relative; overflow: hidden; background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, var(--steel) 0%, var(--ink) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero p { max-width: 36em; }
.hero .tagline em { color: var(--red); font-style: normal; }
.hero .tagline, .page-hero .tagline { color: var(--on-dark); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; } }

/* Page hero (inner) */
.page-hero { border-bottom: 4px solid var(--red); background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, var(--steel) 0%, var(--ink) 100%); }
.page-hero .wrap { padding-top: 64px; padding-bottom: 68px; }
.page-hero h1 { max-width: 18em; }
.crumbs { font-size: var(--fs-small); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--steel); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.group-title { margin-bottom: 24px; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; } }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid.c4, .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
a.card { text-decoration: none; color: var(--text); }
a.card:hover, .card.hoverable:hover { box-shadow: 0 14px 34px rgba(20,25,30,.09); transform: translateY(-2px); }
a.card:hover::before, .card.hoverable:hover::before { transform: scaleX(1); }
.card p { font-size: var(--fs-small); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card .icon { width: 64px; height: 64px; color: var(--ink); margin-bottom: 22px; }
.num { color: var(--red); margin-bottom: 10px; }

.card.mini { padding: 22px 24px; flex-direction: row; align-items: center; gap: 16px; }
.card.mini .icon { width: 40px; height: 40px; margin: 0; color: var(--red); flex-shrink: 0; }
.card.mini h3 { margin: 0; }

.card-red { background: var(--red); border-color: var(--red); color: #fff; }
.card-red h3, .card-red .link-arrow { color: #fff; }
.card-red p { color: #fff; opacity: .9; }
.card-red::before { background: var(--ink); }

/* Feature grid (numbered advantages / benefits) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features > div { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.features p { font-size: var(--fs-small); margin: 0; }
.features .feature-cta { background: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.feature-cta p { margin-bottom: 16px; }
.feature-cta .link-arrow { color: #fff; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Check lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px 32px; }
.checks.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checks.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .checks.cols-2, .checks.cols-3 { grid-template-columns: 1fr; } }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border: 2px solid var(--red); border-radius: 2px;
  background: linear-gradient(var(--red), var(--red)) center / 6px 6px no-repeat;
}

/* Tiles (product lists) — same text style as body copy, emphasised */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.tiles li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius);
  padding: 16px 20px; font-weight: 600; color: var(--text-strong);
}

/* Figures */
.fig { color: var(--ink); }
.hero .fig, .section.dark .fig { color: var(--on-dark); }
.fig .s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fig .s1 { fill: none; stroke: currentColor; stroke-width: 1; opacity: .45; }
.fig .a { fill: var(--red); }
.fig .as { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fig .f { fill: currentColor; }
.fig .soft { fill: currentColor; opacity: .08; }
.section.dark .fig .soft { opacity: .12; }
.fig .pad { fill: currentColor; opacity: .35; }
.fig .water { fill: #4a90c2; opacity: .35; }
.fig .grid-l { stroke: currentColor; stroke-width: 1; opacity: .07; }
.fig .t { fill: currentColor; font: 600 12px var(--head); letter-spacing: .1em; }
.fig .ta { fill: var(--red); font: 600 12px var(--head); letter-spacing: .1em; }
figure { margin: 0; }
figcaption { font-size: var(--fs-small); color: var(--text-muted); margin-top: 14px; }
.figure-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.alt .figure-box { background: #fff; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.compare figure.good { border-color: var(--red); box-shadow: inset 0 4px 0 var(--red); }
.compare h4 { color: var(--text-strong); margin: 16px 0 4px; }
.compare figcaption { margin-top: 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Application blocks */
.app-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.app-nav a { text-decoration: none; color: var(--text-strong); border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 40px; }
.app-nav a:hover { border-color: var(--red); color: var(--red); }
.app { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.app:nth-of-type(even) .app-fig { order: -1; }
.app .app-fig { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; } .app:nth-of-type(even) .app-fig { order: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li .dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff;
  font-family: var(--head); font-weight: 700; font-size: var(--fs-lead); position: relative; z-index: 1; margin-bottom: 20px;
}
.steps li::before { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 2px; background: rgba(127,127,127,.35); }
.steps li:last-child::before { display: none; }
.steps p { font-size: var(--fs-small); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 76px; min-height: 54px; }
  .steps li .dot { position: absolute; left: 0; top: 0; }
  .steps li::before { left: 26px; top: 54px; bottom: -28px; right: auto; width: 2px; height: auto; }
}

/* CTA band */
.cta-band { background: var(--red); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #fff; opacity: .9; font-size: var(--fs-lead); }
.cta-band .btn { background: #fff; color: var(--red-dark); border-color: #fff; flex-shrink: 0; }
.cta-band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 860px) { .cta-band .wrap { flex-direction: column; align-items: flex-start; } }

.callout {
  border: 1px solid var(--line); border-left: 6px solid var(--red); background: #fff; border-radius: var(--radius);
  padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 28px;
}
.callout p { margin: 0; }
.callout .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 760px) { .callout { flex-direction: column; align-items: flex-start; padding: 28px; } }

/* Sectors */
.sector .icon { width: 52px; height: 52px; color: var(--red); margin-bottom: 18px; }
.sector.feature { grid-column: span 2; background: var(--ink); border-color: var(--ink); }
.sector.feature p { font-size: var(--fs-body); max-width: 34em; }
@media (max-width: 640px) { .sector.feature { grid-column: auto; } }

/* Downloads */
.dl { flex-direction: row; gap: 20px; align-items: flex-start; }
.dl .doc-ic { width: 48px; height: 60px; flex-shrink: 0; color: var(--red); }
.dl .dl-body { display: flex; flex-direction: column; height: 100%; }
.tag { color: var(--text-muted); margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
@media (max-width: 600px) { .form { padding: 24px; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: var(--fs-small); color: var(--text-strong); }
.field label .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-body); padding: 12px 14px; border: 1px solid #c8cfd6; border-radius: var(--radius); background: #fff; color: var(--text-strong); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field textarea { min-height: 130px; resize: vertical; }
.upload {
  border: 2px dashed #c8cfd6; border-radius: var(--radius); padding: 26px; text-align: center; background: var(--bg-alt); position: relative;
  transition: border-color .15s, background .15s;
}
.upload.drag { border-color: var(--red); background: #fff5f5; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload strong { display: block; font-size: var(--fs-body); }
.upload span { color: var(--text-muted); font-size: var(--fs-small); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: var(--fs-small); color: var(--text-muted); }
.file-list li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.form-note { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: #fff6e0; border: 1px solid #f0d58a; font-size: var(--fs-small); color: var(--text-strong); }
.form-note.show { display: block; }
.form-note.ok { background: #eaf7ee; border-color: #9ed4ae; }

.info-card { background: var(--ink); border-radius: var(--radius); padding: 36px; }
.info-card dl { margin: 0; }
.info-card dt { color: var(--red); margin-top: 20px; }
.info-card dd { margin: 4px 0 0; }
.info-card a { color: #fff; }
.info-card .btn { margin-top: 28px; width: 100%; justify-content: center; }
.placeholder { background: #fff3c4; color: #6b5300; padding: 0 6px; border-radius: 3px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); font-size: var(--fs-small); }
.site-footer .wrap { padding-top: 72px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 58px; width: auto; margin-bottom: 18px; }
.site-footer h4 { margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Photos */
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1280 / 566; object-fit: cover; }

.page-hero.has-photo { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,33,38,.96) 0%, rgba(28,33,38,.86) 45%, rgba(28,33,38,.5) 100%);
}
.page-hero.has-photo .wrap { position: relative; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { color: var(--text-strong); font-weight: 600; margin-top: 12px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.app .photo-fig { padding: 0; overflow: hidden; margin: 0; }
.app .photo-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.sector.feature { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.sector.feature .sector-text { padding: 36px 32px; }
/* photo fills the card height set by the text, without driving it */
.sector.feature .sector-photo { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .sector.feature { grid-template-columns: 1fr; }
  .sector.feature .sector-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; order: -1; }
}
