/* Yorkwell Petroleum: site styles */
:root {
  /* Brand palette */
  --navy: #000080;
  --deep: #1C2E5D;
  --gold: #CA9703;
  --gold-dark: #B8860B;
  --gold-bright: #FFB800;
  /* Accents */
  --red: #B3202A;
  --wine: #6E1A33;
  --wine-deep: #4D1224;
  /* Neutrals */
  --ink: #101828;
  --muted: #344054;
  --soft: #475467;
  --line: #D9DEE8;
  --bg-soft: #F4F6FA;
  --on-deep: #E3E8F3;
  --sans: "Hanken Grotesk", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Georgia, "Songti SC", "Noto Serif SC", "Times New Roman", serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
[id] { scroll-margin-top: 120px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.topbar { position: relative; z-index: 60; background: var(--wine-deep); color: #F4E9ED; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0 24px; padding-top: 4px; padding-bottom: 4px; }
.topbar__group { display: flex; align-items: center; gap: 0 22px; }
.topbar a { color: #F4E9ED; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__contact { padding: 11px 0; }
.topbar a.topbar__profile { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--gold-bright); }
.topbar a.topbar__profile:hover { color: #fff; }

/* Language switch: flags only */
.flag { display: block; flex: 0 0 auto; width: 30px; height: 20px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.lang { position: relative; }
.lang > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; color: #fff; cursor: pointer; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { border-color: #fff; }
.lang[open] > summary svg:last-child { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #CDD5E1; border-radius: 6px; box-shadow: 0 12px 28px rgba(16, 24, 40, .22); }
.lang__menu a { display: flex; align-items: center; justify-content: center; width: 56px; height: 44px; border-radius: 4px; }
.lang__menu a:hover { background: var(--bg-soft); }
.lang__menu a[aria-current="true"] { background: var(--bg-soft); box-shadow: inset 0 0 0 2px var(--gold); }
.lang__menu .flag { box-shadow: 0 0 0 1px rgba(16, 24, 40, .28); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--red); box-shadow: 0 2px 12px rgba(16, 24, 40, .1); }
.header .wrap, .topbar .wrap { max-width: 1440px; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; flex: 0 0 auto; }
.brand img { display: block; height: 58px; width: auto; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; background: #fff; border: 1px solid #8894A8; border-radius: 4px; font: 600 16px var(--sans); color: var(--ink); cursor: pointer; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: flex; align-items: center; min-height: 48px; padding: 12px 8px; background: none; border: 0; font: 600 16px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); }
.nav__sub-toggle { display: flex; align-items: center; justify-content: center; width: 28px; min-height: 48px; margin-left: -8px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav__sub { display: none; position: absolute; left: 0; top: 100%; z-index: 70; min-width: 270px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 6px 6px; box-shadow: 0 14px 30px rgba(16, 24, 40, .16); }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { display: block; }
.nav__sub a { display: block; padding: 11px 12px; border-radius: 4px; color: var(--ink); font-weight: 500; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--bg-soft); color: var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: 4px; font: 700 17px var(--sans); text-decoration: none; cursor: pointer; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--deep); color: #fff; }
.btn--ghost { background: rgba(16, 24, 40, .3); color: #fff; border: 1px solid rgba(255, 255, 255, .7); font-weight: 600; }
.btn--ghost:hover { background: rgba(16, 24, 40, .6); color: #fff; }
.nav .btn { min-height: 48px; padding: 12px 16px; margin-left: 8px; font-size: 16px; white-space: nowrap; }

/* Hero slider */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; }
.hero__slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; display: flex; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28, 46, 93, .88) 0%, rgba(28, 46, 93, .72) 42%, rgba(28, 46, 93, .3) 68%, rgba(28, 46, 93, .04) 100%); }
.slide .wrap { position: relative; z-index: 2; width: 100%; min-height: 640px; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero__title, .hero__text, .page-hero h1, .page-hero .lede { text-shadow: 0 1px 14px rgba(10, 20, 45, .45); }
.hero__title { max-width: 820px; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.hero__text { max-width: 640px; font-size: 20px; line-height: 1.5; color: #EEF1F8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.photo-note { margin: 0; padding: 2px 8px; font-size: 12px; letter-spacing: .03em; color: #fff; background: rgba(16, 24, 40, .5); border-radius: 2px; }

/* Sections */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--wine { background: var(--wine); color: #fff; }
.section--deep { background: var(--deep); color: #fff; }
.section__head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); }
.eyebrow::before { content: ""; flex: 0 0 auto; width: 28px; height: 3px; background: var(--gold); }
.section--wine .eyebrow, .hero .eyebrow, .profile .eyebrow { color: var(--gold-bright); }
.section--wine .eyebrow::before, .hero .eyebrow::before, .profile .eyebrow::before { background: var(--gold-bright); }
.hero .eyebrow { font-size: 14px; font-weight: 600; }
.section h2 { font-size: clamp(30px, 3vw, 42px); }
.lede { font-size: 19px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-weight: 700; color: var(--navy); }
.more svg, .row svg, .tile__label svg { flex: 0 0 auto; transition: transform .2s; }
.more:hover svg, .row:hover svg, .tile:hover .tile__label svg { transform: translateX(4px); }
.note, .caption { font-size: 15px; color: var(--soft); }
.between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; }
.between .note { max-width: 760px; }

/* Photographs */
.media__fig img, .feature__fig img, .strip img, .tile img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; background: var(--bg-soft); }
.media__fig figcaption, .feature__fig figcaption, .strip figcaption, .tiles__note { margin-top: 8px; font-size: 13px; color: var(--soft); }

/* Home: services */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 72px; align-items: start; }
.feature__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feature__fig { width: 100%; margin-top: 16px; }
.rows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--deep); }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 0 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row__num { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--gold-dark); }
.row h3 { font-size: 24px; line-height: 1.2; }
.row p { margin-top: 8px; font-size: 16.5px; color: var(--muted); }
.row svg { margin-top: 8px; color: var(--navy); }
.row:hover { color: var(--ink); }
.row:hover h3 { color: var(--navy); }

/* Home: products */
.strip__imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.strip figcaption { text-align: right; }
.plist { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 64px; border-top: 2px solid var(--deep); }
.plist a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; height: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.plist__num { padding-top: 5px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--soft); }
.plist__body b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.plist__body span { display: block; margin-top: 2px; font-size: 15.5px; color: var(--muted); }
.plist a:hover b { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Photo tiles */
.tiles { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 32px 24px; }
.tiles--n3 { --cols: 3; }
.tile { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.tile__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.tile__label svg { color: var(--navy); }
.tile__text { font-size: 16px; color: var(--muted); }
.tile:hover { color: var(--ink); }
.tile:hover .tile__label { color: var(--navy); }
.diagram + .tiles { margin-top: 48px; }
.tiles__note { text-align: right; }
.related h2 { margin-bottom: 28px; font-size: clamp(24px, 2.2vw, 30px); }
.related.section { padding: 64px 0; }

/* News, product links, glossary */
.between--head { align-items: flex-end; margin: 0 0 32px; }
.between--head .section__head { margin-bottom: 0; }
.product__more { grid-column: 2; }
.product__more a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.glossary { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 2px solid var(--deep); }
.glossary > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.glossary dd { margin: 6px 0 0; font-size: 16.5px; color: var(--muted); }
.glossary > div:target { background: var(--bg-soft); box-shadow: -12px 0 0 var(--bg-soft), 12px 0 0 var(--bg-soft); }
.tiles--n5 { --cols: 5; }

/* Process steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--gold); counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; color: var(--gold-dark); }
.section--wine .steps li::before { color: var(--gold-bright); }
.steps h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; }
.steps p { font-size: 16px; color: var(--muted); }
.section--wine .steps p { color: #F4E9ED; }

/* Company profile block */
.profile { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px 64px; align-items: center; color: #fff; }
.content > .profile { padding: 48px; background: var(--deep); }
.profile__cover { display: block; }
.profile__cover img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.profile__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.profile h2 { font-size: clamp(28px, 3vw, 40px); }
.profile__text > p { max-width: 560px; font-size: 18px; color: var(--on-deep); }
.profile__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.profile__text > p.profile__note { font-size: 14px; }

/* Leadership */
.lead { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.lead__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead__card { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 36px; background: var(--bg-soft); border-top: 4px solid var(--gold); }
.lead__name { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; }
.lead__role { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.links { display: flex; flex-wrap: wrap; gap: 0 28px; }

.contact { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.contact__intro { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__side { flex: 1 1 420px; min-width: 0; }
.details { margin: 0; width: 100%; }
.details > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid #CDD5E1; }
.details > div:last-child { border-bottom: 1px solid #CDD5E1; }
.details dt { font-size: 14px; color: var(--soft); }
.details dd { margin: 0; font-weight: 600; }

/* Inner pages: banner */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 400px; background: var(--deep); color: #fff; border-bottom: 4px solid var(--gold); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28, 46, 93, .92) 0%, rgba(28, 46, 93, .76) 42%, rgba(28, 46, 93, .3) 70%, rgba(28, 46, 93, .04) 100%); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 72px; padding-bottom: 60px; display: flex; flex-direction: column; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #D5DCEB; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #A9B6D2; }
.crumbs a { color: #fff; }
.page-hero h1 { max-width: 860px; font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.01em; }
.page-hero .lede { max-width: 760px; color: #EEF1F8; font-size: 20px; }

/* Inner pages: content blocks */
.content > :not(:first-child) { margin-top: 72px; }
.prose { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.content > .prose:first-child { padding-top: 0; border-top: 0; }
.prose > h2 { font-size: clamp(26px, 2.4vw, 34px); }
@media (min-width: 961px) { .prose > h2 { position: sticky; top: 112px; align-self: start; } }
.prose--plain > .prose__body { grid-column: 2; }
.prose__body { min-width: 0; }
.prose__body > :not(:first-child) { margin-top: 18px; }
.prose__body > p { font-size: 18px; color: var(--muted); }
.prose__body > p.note { font-size: 15px; color: var(--soft); }

.media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; align-items: center; }
.media--flip .media__fig { order: 2; }
.media__text > h2 { font-size: clamp(26px, 2.4vw, 34px); }
.media__text > p { margin-top: 16px; font-size: 18px; color: var(--muted); }

.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--deep); border-bottom: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 24px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.facts dd { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.1; color: var(--deep); }

.list { margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); font-size: 18px; color: var(--muted); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before { content: ""; position: absolute; left: 2px; top: 26px; width: 12px; height: 3px; background: var(--red); }
.defs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.defs > div { padding: 18px 0; border-top: 1px solid var(--line); }
.defs dt { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.defs dd { margin: 6px 0 0; font-size: 16.5px; color: var(--muted); }
.record { margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--deep); }
.record > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 24px; border-top: 1px solid var(--line); }
.record > div:first-child { border-top: 0; }
.record dt { flex: 0 0 290px; max-width: 100%; color: var(--soft); font-size: 16px; }
.record dd { flex: 1 1 240px; margin: 0; font-weight: 600; }
.products { display: grid; border-top: 2px solid var(--deep); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.product h3 { font-size: 22px; grid-row: span 3; }
.product p { font-size: 16px; color: var(--muted); }
.product__spec b { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { padding: 14px 20px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { padding-top: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); border-bottom: 2px solid var(--deep); }
.table tbody th { width: 46%; font-weight: 600; }
.table td { color: var(--muted); }

.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.prose__body > .faq__item:not(:first-child) { margin-top: 0; }
.faq__item summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 auto; width: 24px; font-size: 26px; font-weight: 400; line-height: 1; text-align: center; color: var(--gold-dark); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--navy); }
.faq__item p { padding: 0 44px 20px 0; font-size: 17px; color: var(--muted); }

/* Diagrams */
.diagram { padding: 40px; background: var(--bg-soft); border-top: 3px solid var(--gold); }
.diagram > h2, .diagram > h3 { margin-bottom: 28px; font-size: clamp(22px, 2vw, 28px); }
.diagram > figcaption { margin-top: 24px; max-width: 820px; font-size: 15px; color: var(--soft); }

.flow { --cols: 4; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px 28px; counter-reset: flow; }
.flow--n5 { --cols: 5; }
.flow--n6 { --cols: 6; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--deep); counter-increment: flow; overflow-wrap: break-word; hyphens: auto; }
.flow li::before { content: counter(flow, decimal-leading-zero); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--soft); }
.flow li b { font-size: 16.5px; line-height: 1.25; }
.flow li span { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 15px; height: 14px; transform: translateY(-50%); background: var(--gold-dark); clip-path: polygon(0 36%, 52% 36%, 52% 0, 100% 50%, 52% 100%, 52% 64%, 0 64%); }
.flow li.is-on { background: var(--deep); border-color: var(--deep); border-top-color: var(--gold-bright); color: #fff; }
.flow li.is-on span { color: var(--on-deep); }
.flow li.is-on::before { color: var(--gold-bright); }
.flow--chain li::before { content: none; }
.flow--chain li .flow__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.flow--chain li.is-on .flow__tag { color: var(--gold-bright); }
.flow--chain li b { font-family: var(--serif); font-size: 19px; font-weight: 600; }

.hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.hub__col { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.hub__col--left { padding-right: 36px; }
.hub__col--right { padding-left: 36px; }
.hub__col li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); }
.hub__col li::after { content: ""; position: absolute; top: 50%; width: 36px; height: 2px; margin-top: -1px; background: var(--gold-dark); }
.hub__col--left li::after { right: -37px; }
.hub__col li::before { content: ""; position: absolute; top: -8px; bottom: -8px; width: 2px; background: var(--gold-dark); }
.hub__col--left li::before { right: -38px; }
.hub__col--right li::before { left: -38px; }
.hub__col li:first-child::before { top: 50%; }
.hub__col li:last-child::before { bottom: 50%; }
.hub__col--right li::after { left: -37px; }
.hub__col b { font-size: 17px; line-height: 1.25; }
.hub__col span { font-size: 15px; color: var(--muted); }
.hub__center { position: relative; display: flex; align-items: center; justify-content: center; width: 190px; aspect-ratio: 1; margin: 0 36px; padding: 22px; border: 3px solid var(--gold); border-radius: 50%; background: var(--deep); color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; text-align: center; }
.hub__center::before, .hub__center::after { content: ""; position: absolute; top: 50%; width: 36px; height: 2px; margin-top: -1px; background: var(--gold-dark); }
.hub__center::before { right: calc(100% + 3px); }
.hub__center::after { left: calc(100% + 3px); }

.lanes { --n: 4; }
.lanes__heads, .lanes__lines, .lanes__steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.lanes__heads span { justify-self: center; max-width: calc(100% - 16px); padding: 10px 18px; background: var(--deep); border-bottom: 3px solid var(--gold); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; text-align: center; }
.lanes__body { position: relative; padding: 20px 0 10px; }
.lanes__lines { position: absolute; inset: 0; }
.lanes__lines span { justify-self: center; border-left: 2px dashed #AEB8CC; }
.lanes__steps { position: relative; margin: 0; padding: 0; list-style: none; row-gap: 16px; counter-reset: lane; }
.lanes__step { --inset: calc(50% / var(--span)); display: flex; flex-direction: column; align-items: center; gap: 6px; counter-increment: lane; }
.lanes__route { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lanes__text { max-width: calc(100% - 2 * var(--inset) - 20px); padding: 2px 10px; background: var(--bg-soft); font-size: 15.5px; line-height: 1.35; text-align: center; }
.lanes__text::before { content: counter(lane) ". "; font-weight: 700; color: var(--deep); }
.lanes__arrow { position: relative; align-self: stretch; height: 2px; margin: 0 var(--inset); background: var(--deep); }
.lanes__arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 11px; height: 12px; transform: translateY(-50%); background: var(--deep); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.lanes__step.is-back .lanes__arrow::after { right: auto; left: 0; clip-path: polygon(100% 0, 0 50%, 100% 100%); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deep); }
.form h2 { font-size: 26px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { font: 17px/1.5 var(--sans); color: var(--ink); min-height: 48px; padding: 10px 14px; border: 1px solid #8894A8; border-radius: 4px; background: #fff; width: 100%; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-error { display: none; padding: 14px 16px; background: #FBEBEC; border: 1px solid var(--red); border-radius: 4px; color: #7A1219; font-weight: 600; }
.form-error:target { display: block; }

.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { font-size: clamp(28px, 2.6vw, 38px); }
.cta p { margin-top: 10px; max-width: 620px; color: var(--on-deep); }

/* Footer */
.footer { background: var(--deep); color: #C9D2E6; border-top: 4px solid var(--gold); }
.footer .wrap { max-width: 1440px; padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 56px; }
.footer a { color: #C9D2E6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 56px; padding: 32px 36px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--gold); border-radius: 6px; }
.newsletter__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter h2 { font-size: 28px; color: #fff; }
.newsletter p { font-size: 16px; }
.newsletter form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.newsletter label { font-size: 14px; font-weight: 600; color: #fff; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 10px 14px; font: 17px var(--sans); color: var(--ink); background: #fff; border: 1px solid #A9B6D2; border-radius: 4px; }
.footer__main { display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(0, 4fr); gap: 48px 64px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer__logo { display: block; }
.footer__logo img { display: block; width: 240px; height: auto; }
.footer__tagline { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.35; color: #fff; max-width: 300px; }
.footer__contact { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold-bright); }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.footer .footer__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 4px; }
.footer .footer__btn:hover { text-decoration: none; background: rgba(255, 255, 255, .08); border-color: var(--gold-bright); }
.footer .footer__profile { color: var(--gold-bright); }
.footer__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 28px; align-content: start; }
.footer__col { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 8px; }
.footer__col h2 { align-self: end; font-family: var(--sans); font-size: 12.5px; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__col ul { margin: 0; padding: 0; list-style: none; }
.footer__col a { display: block; padding: 7px 0; font-size: 15.5px; line-height: 1.4; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #AEB9D2; }
.footer__legal p { font-size: 14px; color: #AEB9D2; }
.footer__policies { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__policies a { display: inline-block; padding: 8px 0; color: #AEB9D2; }
@media (max-width: 1240px) {
  .footer__main { grid-template-columns: minmax(0, 1fr); }
  .footer__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px 56px; }
  .footer__logo, .footer__tagline { grid-column: 1; }
  .footer__contact, .footer__actions { grid-column: 2; }
  .footer__contact { grid-row: 1; }
  .footer__actions { grid-row: 2; padding-top: 0; }
}
@media (max-width: 960px) {
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer .wrap { padding-top: 44px; gap: 44px; }
  .newsletter { padding: 24px 20px; }
  .footer__brand { display: flex; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* Smaller screens */
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); box-shadow: 0 16px 30px rgba(16, 24, 40, .18); padding: 12px 32px 24px; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1 1 auto; padding: 14px 0; }
  .nav__sub-toggle { display: none; }
  .nav__sub, .nav__item:hover > .nav__sub { display: block; position: static; flex: 0 0 100%; min-width: 0; padding: 0 0 10px 16px; border: 0; box-shadow: none; }
  .nav .btn { margin: 18px 0 0; width: 100%; }
  .flow--n5, .flow--n6 { --cols: 3; }
}
/* Spanish and French menu labels are longer, so the menu button takes over sooner */
@media (max-width: 1400px) {
  .nav-toggle:is(:lang(es), :lang(fr)) { display: inline-flex; }
  .nav:is(:lang(es), :lang(fr)) { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); box-shadow: 0 16px 30px rgba(16, 24, 40, .18); padding: 12px 32px 24px; }
  .nav:is(:lang(es), :lang(fr)).is-open { display: block; }
  .nav__list:is(:lang(es), :lang(fr)) { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item:is(:lang(es), :lang(fr)) { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link:is(:lang(es), :lang(fr)) { flex: 1 1 auto; padding: 14px 0; }
  .nav__sub-toggle:is(:lang(es), :lang(fr)) { display: none; }
  .nav__sub:is(:lang(es), :lang(fr)), .nav__item:is(:lang(es), :lang(fr)):hover > .nav__sub { display: block; position: static; flex: 0 0 100%; min-width: 0; padding: 0 0 10px 16px; border: 0; box-shadow: none; }
  .nav:is(:lang(es), :lang(fr)) .btn { margin: 18px 0 0; width: 100%; }
}
@media (max-width: 960px) {
  .feature, .media { grid-template-columns: minmax(0, 1fr); }
  .media--flip .media__fig { order: 0; }
  .prose { grid-template-columns: minmax(0, 1fr); }
  .prose--plain > .prose__body { grid-column: 1; }
  .tiles, .tiles--n3, .tiles--n5 { --cols: 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .flow, .flow--n5, .flow--n6 { --cols: 2; }
  .profile { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 32px 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }
  .content > :not(:first-child) { margin-top: 56px; }
  .brand img { height: 48px; }
  .topbar__contact { display: none; }
  .slide::before { background: rgba(28, 46, 93, .74); }
  .slide .wrap { min-height: 560px; padding-top: 64px; padding-bottom: 72px; }
  .hero__text { font-size: 18px; }
  .page-hero { min-height: 320px; }
  .page-hero::before { background: rgba(28, 46, 93, .76); }
  .page-hero .wrap { padding-top: 48px; padding-bottom: 60px; }
  .page-hero .lede { font-size: 18px; }
  .strip__imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .strip__imgs img:first-child { grid-column: 1 / -1; }
  .plist { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .row { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 0 12px; }
  .defs { grid-template-columns: minmax(0, 1fr); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product h3 { grid-row: auto; }
  .product__more { grid-column: 1; }
  .diagram { padding: 28px 20px; }
  .content > .profile { padding: 32px 24px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile__cover { max-width: 200px; }
  .nav { padding-left: 20px; padding-right: 20px; }
  .form { padding: 24px 20px; }
  .list li, .prose__body > p, .media__text > p { font-size: 17px; }

  .hub { grid-template-columns: minmax(0, 1fr); }
  .hub__center { order: -1; width: auto; aspect-ratio: auto; margin: 0; padding: 16px; border-radius: 4px; }
  .hub__center::before, .hub__center::after { content: none; }
  .hub__col--left, .hub__col--right { margin-left: 18px; padding: 14px 0 0 22px; border-left: 2px solid var(--gold-dark); }
  .hub__col li::before { content: none; }
  .hub__col--left li::after, .hub__col--right li::after { left: -23px; right: auto; width: 22px; }

  .lanes__heads, .lanes__lines, .lanes__arrow { display: none; }
  .lanes__body { padding: 0; }
  .lanes__steps { display: block; }
  .lanes__step { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .lanes__route { position: static; display: block; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
  .lanes__text { display: block; max-width: none; padding: 0; background: none; font-size: 16px; text-align: left; }
}
@media (max-width: 560px) {
  .tiles, .tiles--n3, .tiles--n5 { --cols: 1; }
  .related .tiles { --cols: 2; gap: 24px 14px; }
  .related .tile__label { font-size: 16.5px; }
  .flow, .flow--n5, .flow--n6 { --cols: 1; gap: 26px; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%) rotate(90deg); }
  .facts dd { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .more svg, .row svg, .tile__label svg { transition: none; }
}
@media print {
  .topbar, .header, .newsletter, .cta, .related { display: none; }
}

/* ===== Related pages: text link cards (no repeated photos) ===== */
.linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.linkcard { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 108px; padding: 20px 52px 20px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.linkcard__label { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.linkcard__text { font-size: 15px; color: var(--muted); }
.linkcard__text:empty { display: none; }
.linkcard svg { position: absolute; right: 20px; top: 24px; color: var(--navy); transition: transform .2s; }
.linkcard:hover { color: var(--ink); border-color: var(--deep); border-left-color: var(--gold); box-shadow: 0 10px 24px rgba(16, 24, 40, .08); transform: translateY(-2px); }
.linkcard:hover svg { transform: translateX(4px); }

/* ===== Homepage: operations as icon cards ===== */
.optiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.optile { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--deep); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.optile .ico { color: var(--gold-dark); }
.optile__label { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.optile__label svg { color: var(--navy); transition: transform .2s; }
.optile__text { font-size: 15.5px; color: var(--muted); }
.optile:hover { color: var(--ink); border-top-color: var(--gold); box-shadow: 0 12px 28px rgba(16, 24, 40, .08); }
.optile:hover .optile__label svg { transform: translateX(4px); }
.js .optiles .ico path, .js .optiles .ico circle { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s ease; }
.optiles.is-in .ico path, .optiles.is-in .ico circle { stroke-dashoffset: 0; }
@media (max-width: 960px) { .optiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .optiles { grid-template-columns: minmax(0, 1fr); } }

/* ===== Animated SVG diagrams ===== */
.anim-diagram { margin: 0; }
.anim-diagram figcaption { margin-top: 12px; font-size: 14.5px; color: var(--soft); }
.anim-diagram__hint { display: none; }
.hubwrap { margin-top: 64px; }
.anim-diagram--hub { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; padding: 36px 40px; background: var(--bg-soft); border-top: 3px solid var(--gold); }
.anim-diagram--hub figcaption { margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.anim-diagram__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; color: var(--ink); }
@media (max-width: 960px) { .anim-diagram--hub { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; } }
@media (max-width: 600px) {
  .anim-diagram--hub { padding: 18px 0; }
  .anim-diagram--hub .anim-diagram__art { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 8px; }
  .anim-diagram--hub .dgm { width: 560px; max-width: none; }
  .anim-diagram--hub figcaption { padding: 0 16px; }
  .anim-diagram--hub .anim-diagram__hint { display: block; font-size: 14.5px; font-style: italic; }
}
.dgm { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.dgm text { fill: var(--ink); }
.dgm__path { fill: none; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; animation: dash-flow 1.2s linear infinite; }
.dgm__path--pay { stroke: var(--deep); animation-direction: reverse; }
.dgm__path--prod { stroke: var(--gold-dark); }
.dgm__link { stroke: #A7B3CC; stroke-width: 1.6; stroke-dasharray: 4 6; animation: dash-flow 2s linear infinite; }
.dgm__dot--pay { fill: var(--deep); }
.dgm__dot--prod { fill: var(--gold); stroke: #fff; stroke-width: 2; }
.dgm__dot--trunk { fill: var(--gold-bright); stroke: var(--deep); stroke-width: 2; }
.dgm__flowlabel { font-size: 17px; font-weight: 700; fill: var(--deep); }
.dgm .dgm__flowlabel--prod { fill: #7F5D07; }
.dgm__party { fill: #fff; stroke: var(--deep); stroke-width: 2; }
.dgm__partytitle { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.dgm .dgm__partysub { font-size: 13.5px; fill: var(--soft); }
.dgm__core { fill: var(--deep); stroke: var(--gold); stroke-width: 4; }
.dgm .dgm__coretitle { font-family: var(--serif); font-size: 21px; font-weight: 600; fill: #fff; }
.dgm__pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.dgm__pulse--late { animation-delay: 1.5s; }
.dgm__pill { fill: #fff; stroke: #C9D2E6; stroke-width: 1.5; }
.dgm__pilltext { font-size: 16px; font-weight: 600; }
.dgm__trunk { fill: none; stroke: var(--deep); stroke-width: 10; stroke-linecap: round; opacity: .9; }
.dgm__branch { fill: none; stroke: var(--gold-dark); stroke-width: 2.5; stroke-dasharray: 6 9; animation: dash-flow 1.4s linear infinite; animation-delay: var(--d, 0s); }
.dgm__branch--direct { stroke: var(--deep); stroke-dasharray: 2 8; stroke-width: 3; stroke-linecap: round; }
.dgm__src { fill: var(--deep); }
.dgm .dgm__srctext { font-family: var(--serif); font-size: 21px; font-weight: 600; fill: #fff; }
.dgm__proc { fill: #fff; stroke: var(--gold); stroke-width: 3; }
.dgm__proctext { font-size: 18px; font-weight: 700; }
.dgm__prod { fill: #fff; stroke: #C9D2E6; stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.dgm__prodtext { font-size: 17px; font-weight: 600; }
.dgm__chev { fill: none; stroke: var(--navy); stroke-width: 2; }
.dgm__prodlink:hover .dgm__prod, .dgm__prodlink:focus .dgm__prod { fill: #F2F5FB; stroke: var(--deep); }
.dgm__prodlink:focus { outline: none; }
.dgm__prodlink:focus-visible .dgm__prod { stroke: var(--navy); stroke-width: 3; }
.js [data-animate] .dgm__prod, .js [data-animate] .dgm__prodtext, .js [data-animate] .dgm__chev { opacity: 0; transition: opacity .5s ease var(--d, 0s); }
.js [data-animate].is-in .dgm__prod, .js [data-animate].is-in .dgm__prodtext, .js [data-animate].is-in .dgm__chev { opacity: 1; }
.dgm__prodlink:nth-of-type(1) * { --d: .1s; } .dgm__prodlink:nth-of-type(2) * { --d: .2s; } .dgm__prodlink:nth-of-type(3) * { --d: .3s; }
.dgm__prodlink:nth-of-type(4) * { --d: .4s; } .dgm__prodlink:nth-of-type(5) * { --d: .5s; } .dgm__prodlink:nth-of-type(6) * { --d: .6s; } .dgm__prodlink:nth-of-type(7) * { --d: .7s; }
.anim-diagram--scroll { padding: 28px 28px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); margin-bottom: 36px; }
@media (max-width: 760px) {
  .anim-diagram--scroll { padding: 18px 0 14px; }
  .anim-diagram__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 16px 8px; }
  .anim-diagram__scroll .dgm { width: 760px; max-width: none; }
  .anim-diagram--scroll figcaption { padding: 0 16px; }
  .anim-diagram__hint { display: block; margin-top: 4px; font-style: italic; }
}
@keyframes dash-flow { to { stroke-dashoffset: -48; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* ===== Page diagrams come in one after another ===== */
.flow-wrap { position: relative; }
.js .diagram .flow li, .js .diagram .hub__col li, .js .diagram .lanes__step { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; transition-delay: calc(var(--i, 0) * 140ms + 100ms); }
.js .diagram.is-in .flow li, .js .diagram.is-in .hub__col li, .js .diagram.is-in .lanes__step { opacity: 1; transform: none; }
.js .diagram .hub__col--right li { transition-delay: calc(var(--i, 0) * 140ms + 420ms); }
.js .diagram .lanes__arrow { transform: scaleX(0); transform-origin: left center; transition: transform .6s ease calc(var(--i, 0) * 140ms + 300ms); }
.js .diagram .lanes__step.is-back .lanes__arrow { transform-origin: right center; }
.js .diagram.is-in .lanes__arrow { transform: scaleX(1); }
.diagram.is-in .flow li:not(:last-child)::after { animation: nudge 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 180ms); }
.diagram.is-in .flow li.is-on { animation: glow 2.8s ease-in-out infinite; }
.diagram.is-in .hub__center { animation: hubring 3s ease-out infinite; }
.flow__runner { display: none; }
.flow--chain + .flow__runner { display: block; position: relative; height: 4px; margin-top: 18px; border-radius: 2px; background: linear-gradient(90deg, var(--deep), var(--gold)); opacity: .25; }
.flow--chain + .flow__runner::after { content: ""; position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(255, 184, 0, .25); opacity: 0; }
.diagram.is-in .flow--chain + .flow__runner { opacity: 1; background: linear-gradient(90deg, rgba(28, 46, 93, .25), rgba(202, 151, 3, .35)); }
.diagram.is-in .flow--chain + .flow__runner::after { opacity: 1; animation: run 6s cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes nudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(4px, -50%); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); } 50% { box-shadow: 0 0 0 6px rgba(255, 184, 0, .22); } }
@keyframes hubring { 0% { box-shadow: 0 0 0 0 rgba(202, 151, 3, .45); } 100% { box-shadow: 0 0 0 22px rgba(202, 151, 3, 0); } }
@keyframes run { 0% { left: 0; } 100% { left: calc(100% - 14px); } }
@media (max-width: 560px) {
  .flow--chain + .flow__runner { display: none; }
  .diagram.is-in .flow li:not(:last-child)::after { animation: none; }
}

/* Process steps: the gold line draws across, step by step */
.js .steps li { position: relative; border-top-color: rgba(202, 151, 3, .25); opacity: 0; transform: translateY(12px); transition: opacity .5s ease calc(var(--i, 0) * 220ms), transform .5s ease calc(var(--i, 0) * 220ms); }
.js .steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .7s ease calc(var(--i, 0) * 220ms + 200ms); }
.js .steps.is-in li { opacity: 1; transform: none; }
.js .steps.is-in li::after { transform: scaleX(1); }
.js .section:not(.section--wine) .steps li::after { background: var(--gold); }

/* ===== Company profile: drawn document (About page) ===== */
.profile__doc { position: relative; display: block; width: 100%; max-width: 240px; aspect-ratio: 210 / 297; margin: 0 auto; }
.profile__sheet { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; background: #fff; border-top: 10px solid var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .3s ease; }
.profile__sheet--2 { transform: translate(10px, 10px) rotate(2deg); opacity: .5; }
.profile__sheet--3 { transform: translate(20px, 18px) rotate(4deg); opacity: .25; }
.profile__sheet img { width: 70%; height: auto; }
.profile__sheet b { margin-top: 18px; font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--deep); }
.profile__sheet i { display: block; height: 7px; border-radius: 4px; background: #E3E8F3; }
.profile__sheet i.short { width: 60%; }
.profile__doc:hover .profile__sheet:last-child { transform: translateY(-6px); }

/* ===== Forms: shared controls ===== */
.section--form { background: var(--bg-soft); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.field__label { font-size: 15px; font-weight: 600; }
.field input[aria-invalid], .field select[aria-invalid], .field textarea[aria-invalid] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(0, 0, 128, .35); outline-offset: 1px; border-color: var(--navy); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--deep); }
.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; display: inline-flex; }
.seg input, .chip input, .pcard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #8894A8; border-radius: 999px; background: #fff; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.seg--sm span { min-height: 40px; padding: 6px 14px; font-size: 14.5px; }
.seg input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.seg input:focus-visible + span, .chip input:focus-visible + span, .pcard input:focus-visible + .pcard__box { outline: 3px solid rgba(0, 0, 128, .4); outline-offset: 2px; }
.seg input[aria-invalid] + span { border-color: var(--red); }

/* ===== Make an inquiry ===== */
.inq { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.inq__form { position: relative; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.inq__errors { padding: 18px 20px; background: #FBEBEC; border: 1px solid var(--red); border-left: 5px solid var(--red); border-radius: 4px; color: #7A1219; }
.inq__errors:focus { outline: 3px solid rgba(179, 32, 42, .35); }
.inq__errors-title { font-weight: 700; }
.inq__errors ul { margin: 8px 0 0; padding-left: 20px; }
.inq__errors a { color: #7A1219; font-weight: 600; }
.isec { position: relative; margin: 0; min-width: 0; padding: 30px 32px 32px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.isec:not(:last-child)::after { content: ""; position: absolute; left: 51px; bottom: -25px; width: 2px; height: 24px; background: #C9D2E6; }
.isec__head { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 6px; }
.isec__head + * { clear: both; }
.isec__num { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); border: 2px solid var(--gold); color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600; transition: background .3s, color .3s; }
.isec.is-done .isec__num { background: var(--gold); color: var(--ink); }
.isec__title { font-family: var(--serif); font-size: 27px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.isec__hint { margin: 0 0 22px 54px; color: var(--muted); font-size: 16px; }
.isec > .form__row, .isec > .field, .isec > .consent { margin-top: 20px; }
.isec__intent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.isec__intent-label { font-weight: 600; margin-right: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.pcard { position: relative; display: block; cursor: pointer; }
.pcard__box { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; grid-template-rows: auto auto; gap: 2px 12px; align-items: start; height: 100%; padding: 16px; border: 1px solid #C3CBDA; border-radius: 6px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.pcard .pico { grid-row: 1 / span 2; color: var(--gold-dark); }
.pcard__name { font-weight: 700; line-height: 1.3; }
.pcard__spec { grid-column: 2; font-size: 13.5px; line-height: 1.4; color: var(--soft); }
.pcard .chk { grid-column: 3; grid-row: 1; width: 24px; height: 24px; padding: 3px; border: 1.5px solid #8894A8; border-radius: 50%; color: transparent; transition: background .15s, border-color .15s, color .15s; }
.pcard:hover .pcard__box { border-color: var(--deep); }
.pcard input:checked + .pcard__box { border-color: var(--deep); background: #F2F5FB; box-shadow: inset 0 0 0 1px var(--deep); }
.pcard input:checked + .pcard__box .chk { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pcard input[aria-invalid] + .pcard__box { border-color: var(--red); }
.pcard--other .pcard__box { border-style: dashed; }
.other-name { margin-top: 16px; max-width: 420px; }
.other-name[hidden] { display: none; }
.qempty { margin: 0; padding: 22px; border: 1.5px dashed #C3CBDA; border-radius: 6px; color: var(--soft); text-align: center; }
.qempty[hidden] { display: none; }
.qrows { display: flex; flex-direction: column; gap: 14px; }
.qrow { padding: 18px 20px 20px; border: 1px solid #C3CBDA; border-left: 4px solid var(--gold); border-radius: 6px; background: #FBFCFE; }
.qrow[hidden] { display: none; }
.qrow.is-new { animation: rowin .5s ease; }
@keyframes rowin { from { opacity: 0; transform: translateY(-8px); background: #FFF6DC; } to { opacity: 1; transform: none; background: #FBFCFE; } }
.qrow__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.qrow__head .pico { color: var(--gold-dark); }
.qrow__name { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.qrow__remove { display: none; margin-left: auto; padding: 6px 10px; border: 0; background: none; color: var(--navy); font: 600 14.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.is-live .qrow__remove { display: inline-block; }
.qrow__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px 20px; }
.qrow__spec { grid-column: 1 / -1; }
.qty { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 1.35fr); }
.field .qty input { min-width: 0; border-radius: 4px 0 0 4px; }
.field .qty select { min-width: 0; border-left: 0; border-radius: 0 4px 4px 0; background-color: #F2F5FB; font-size: 15.5px; font-weight: 600; }
@media (max-width: 1240px) and (min-width: 1101px), (max-width: 520px) {
  .qty { grid-template-columns: minmax(0, 1fr); }
  .field .qty input { border-radius: 4px 4px 0 0; }
  .field .qty select { border-left: 1px solid #8894A8; border-top: 0; border-radius: 0 0 4px 4px; }
}
.terms { display: flex; flex-direction: column; gap: 14px; }
.terms__label { margin: 0 0 8px; font-size: 14.5px; font-weight: 700; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip span { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid #8894A8; border-radius: 6px; background: #fff; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip b { font-size: 16px; letter-spacing: .04em; color: var(--ink); }
.chip:hover span { border-color: var(--deep); }
.chip input:checked + span { background: var(--deep); border-color: var(--deep); color: #DCE3F1; }
.chip input:checked + span b { color: var(--gold-bright); }
.chip input[aria-invalid] + span { border-color: var(--red); }
.chip--advise { align-self: flex-start; }
.chip--advise span { border-style: dashed; font-weight: 600; color: var(--ink); }

/* Incoterms explainer: who pays and who carries the risk, stage by stage */
.ex { margin-top: 24px; padding: 22px 24px 18px; border-radius: 6px; background: #F4F6FA; border: 1px solid var(--line); }
.ex__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.ex__title { margin: 0; font-weight: 700; color: var(--soft); font-size: 14.5px; }
.ex__term { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ex__term b { color: var(--deep); margin-right: 6px; }
.ex__track { display: grid; grid-template-columns: 70px repeat(6, minmax(0, 1fr)); grid-template-rows: auto 42px 42px; gap: 6px; }
.ex__axis, .ex__stage { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 6px; }
.ex__axis span { align-self: center; font-size: 13.5px; font-weight: 700; color: var(--soft); }
.ex__label { align-self: end; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.ex__cell { display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 12.5px; font-weight: 700; transition: background-color .45s ease calc(var(--i, 0) * 70ms), color .45s ease calc(var(--i, 0) * 70ms); }
.ex__cell.is-s { background: var(--gold); color: var(--ink); }
.ex__cell.is-b { background: var(--deep); color: #fff; }
.ex__stage.is-transfer::before { content: ""; position: absolute; left: -5px; top: 0; bottom: -4px; width: 4px; border-radius: 2px; background: var(--red); animation: mark .45s ease; }
.ex__stage.is-transfer::after { content: ""; position: absolute; left: -9px; top: -4px; border: 6px solid transparent; border-top-color: var(--red); }
@keyframes mark { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ex.is-empty .ex__track, .ex.is-empty .ex__facts { opacity: .35; }
.ex__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 18px 0 0; }
.ex__facts dt { font-size: 13.5px; font-weight: 700; color: var(--soft); }
.ex__facts dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; }
.ex__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.ex__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.sw--s { background: var(--gold); } .sw--b { background: var(--deep); } .sw--x { width: 4px; background: var(--red); }
.ex__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--soft); }
.isec__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.isec__note { flex: 1 1 260px; margin: 0; font-size: 14.5px; color: var(--soft); }

/* Live summary */
.isum { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.isum__card { padding: 24px; border-radius: 6px; background: var(--deep); color: #DCE3F1; box-shadow: 0 18px 40px rgba(16, 24, 40, .18); }
.isum__title { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; }
.isum__progress { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.isum__bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.isum__bar span { display: block; width: 0; height: 100%; background: var(--gold-bright); transition: width .5s ease; }
.isum__count { font-size: 13.5px; }
.isum__steps { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.isum__steps a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: #DCE3F1; text-decoration: none; font-weight: 600; }
.isum__steps a::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; transition: background .3s, border-color .3s; }
.isum__steps li.is-done a::before { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: inset 0 0 0 3px var(--deep); }
.isum__steps a:hover { color: #fff; text-decoration: underline; }
.isum__list { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 12px; }
.isum__list dt { font-size: 13px; font-weight: 700; color: var(--gold-bright); }
.isum__list dd { margin: 2px 0 0; font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.isum__list ul { margin: 0; padding-left: 18px; }
.isum__send { width: 100%; margin-top: 20px; }
.isum__next { padding: 20px 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.isum__nexttitle { margin: 0 0 8px; font-weight: 700; }
.isum__next ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.ibar { display: none; }
@media (max-width: 1100px) {
  .inq { grid-template-columns: minmax(0, 1fr); }
  .isum { position: static; }
  .isum__send { display: none; }
  .ibar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--deep); color: #fff; box-shadow: 0 -8px 24px rgba(16, 24, 40, .2); transition: transform .3s ease; }
  .ibar.is-away { transform: translateY(110%); }
  .ibar__text { font-size: 14.5px; font-weight: 600; }
}
@media (max-width: 720px) {
  .isec { padding: 22px 18px 24px; }
  .isec:not(:last-child)::after { left: 37px; }
  .isec__hint { margin-left: 0; }
  .isec__title { font-size: 23px; }
  .qrow__grid { grid-template-columns: minmax(0, 1fr); }
  .ex { padding: 18px 14px 14px; }
  .ex__track { grid-template-columns: minmax(0, 1fr) 76px 76px; grid-template-rows: none; }
  .ex__axis, .ex__stage { grid-column: 1 / -1; grid-row: auto; grid-template-columns: subgrid; grid-template-rows: none; }
  .ex__cell { min-height: 36px; }
  .ex__label { align-self: center; font-size: 13.5px; }
  .ex__stage.is-transfer::before { left: 0; right: 0; top: -5px; bottom: auto; width: auto; height: 3px; }
  .ex__stage.is-transfer::after { left: -6px; top: -9px; border-top-color: transparent; border-left-color: var(--red); }
  .ex__facts { grid-template-columns: minmax(0, 1fr); }
  .chip span { padding: 8px 12px; }
}

/* ===== Contact Us ===== */
.cx { display: flex; flex-direction: column; gap: 40px; }
.cx__board { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.cx__board > div:first-child, .cx__lead { min-width: 0; }
.cx__board { align-items: stretch; }
.cx__lead h2 { font-size: clamp(28px, 2.8vw, 38px); color: #fff; }
.cx__lead p { margin-top: 10px; max-width: 560px; color: var(--on-deep); }
.cx__board > .cx__lead { grid-column: 1; }
.cx__board { grid-template-areas: "lead routes" "ways routes" "li routes"; }
.cx__lead { grid-area: lead; padding: 36px 36px 0; background: var(--deep); border-radius: 6px 6px 0 0; }
.cx__ways { grid-area: ways; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 24px 36px; background: var(--deep); }
.cx__linkedin { grid-area: li; display: flex; align-items: center; gap: 10px; padding: 0 36px 32px; background: var(--deep); border-radius: 0 0 6px 6px; color: var(--gold-bright); font-weight: 700; text-decoration: none; }
.cx__linkedin:hover { color: #fff; text-decoration: underline; }
.cx__board > .cx__routes { grid-area: routes; }
.cx__board { row-gap: 0; }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 2px 14px; padding: 18px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
a.way:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-bright); color: #fff; }
.way__icon { grid-row: 1 / span 3; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 184, 0, .14); color: var(--gold-bright); }
.way__icon svg { width: 22px; height: 22px; }
.way__label { font-size: 13.5px; font-weight: 700; color: var(--gold-bright); }
.way__value { font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.way__status:empty { display: none; }
.way__status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13.5px; color: #DCE3F1; }
.way__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9AA6BF; }
.way__status.is-open::before { background: #3DDC84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 100% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } }
.cx__routes { display: flex; flex-direction: column; gap: 14px; padding: 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.cx__routes h2 { font-size: 26px; }
.routes { display: flex; flex-direction: column; gap: 10px; }
.route { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 48px 16px 18px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.route__title { font-weight: 700; font-size: 17px; }
.route__text { font-size: 14.5px; color: var(--muted); }
.route svg { position: absolute; right: 16px; top: 50%; margin-top: -8px; color: var(--navy); transition: transform .2s; }
.route:hover { border-color: var(--deep); background: #F7F9FC; color: var(--ink); }
.route:hover svg { transform: translateX(4px); }
.route--main { background: #FFF8E6; border-color: var(--gold); border-left: 5px solid var(--gold); }
.route--main .route__title { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.cx__msg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; scroll-margin-top: 110px; }
.cx__msgintro h2 { font-size: clamp(26px, 2.4vw, 34px); }
.cx__msgintro > p { margin-top: 10px; color: var(--muted); }
.cx__pin { position: relative; height: 200px; margin-top: 28px; border-radius: 6px; overflow: hidden; background-color: var(--deep); background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px; background-position: center; }
.cx__dot, .cx__pulse { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.cx__dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--gold-bright); box-shadow: 0 0 0 5px rgba(255, 184, 0, .3); }
.cx__pulse { width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid var(--gold-bright); animation: radar 3s ease-out infinite; }
.cx__pulse--late { animation-delay: 1.5s; }
@keyframes radar { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(9); opacity: 0; } }
.cx__where { margin-top: 16px; font-size: 15.5px; color: var(--muted); }
.cx__form { border-radius: 6px; }
@media (max-width: 1100px) {
  .cx__board { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "ways" "li" "routes"; }
  .cx__board > .cx__routes { margin-top: 24px; }
}
@media (max-width: 860px) {
  .cx__msg { grid-template-columns: minmax(0, 1fr); }
  .cx__pin { height: 140px; }
}
@media (max-width: 640px) {
  .cx__lead { padding: 28px 20px 0; }
  .cx__ways { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .cx__linkedin { padding: 0 20px 26px; }
  .cx__routes { padding: 24px 18px; }
}

/* Reduced motion: everything shows at once and stays still */
@media (prefers-reduced-motion: reduce) {
  .dgm *, .diagram *, .diagram, .steps li, .steps li::after, .optiles *, .qrow, .ex__cell, .ex__stage::before, .cx__pulse, .way__status::before, .isum__bar span { animation: none !important; transition: none !important; }
  .js .diagram .flow li, .js .diagram .hub__col li, .js .diagram .lanes__step, .js .steps li, .js [data-animate] .dgm__prod, .js [data-animate] .dgm__prodtext, .js [data-animate] .dgm__chev { opacity: 1; transform: none; }
  .js .diagram .lanes__arrow, .js .steps li::after { transform: none; }
  .js .optiles .ico path, .js .optiles .ico circle { stroke-dashoffset: 0; }
  .cx__pulse { display: none; }
}

/* Form status messages and the newsletter consent box */
.form-status { margin: 0; padding: 12px 14px; border-radius: 4px; background: #E8F5EC; border: 1px solid #2E7D4F; color: #14532D; font-weight: 600; }
.form-status.is-bad { background: #FBEBEC; border-color: var(--red); color: #7A1219; }
.form-status[hidden] { display: none; }
.footer .form-status { margin-top: 10px; }
.consent--dark { margin-top: 12px; font-size: 14.5px; color: #C9D2E6; }
.footer .consent--dark a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer .consent--dark a:hover { color: var(--gold-bright); }
.consent--dark input { accent-color: var(--gold); }
.newsletter .consent--dark { font-weight: 400; }
@media (max-width: 1100px) { .ibar:not([hidden]) { padding-right: 92px; } }
