/* TIBER.info — independent, responsive editorial design. No external font/runtime dependencies. */
:root {
  color-scheme: light;
  --navy: #00102E;
  --navy-dark: #000B20;
  --navy-mid: #063549;
  --ink: #00102E;
  --muted: #596575;
  --teal: #A5290B;
  --bright: #FF002D;
  --mist: #F4F5F7;
  --soft: #F4F5F7;
  --line: #DCE1E9;
  --white: #ffffff;
  --container: 1152px;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
main { overflow: clip; min-height: 55vh; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: #005c63; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #21b6ad; outline-offset: 3px; }
::selection { color: #082833; background: #8de7db; }
.wrap { max-width: var(--container); width: calc(100% - 64px); margin-inline: auto; }
.narrow { max-width: 790px; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--bright); margin: 0 0 18px; line-height: 1.5; }
.eyebrow.dark { color: var(--teal); }
h1, h2, h3, h4 { font-family: inherit; line-height: 1.19; letter-spacing: -.035em; }
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 790; }
h2 { font-size: clamp(1.95rem, 3.25vw, 3.1rem); font-weight: 760; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.skip { position: absolute; top: -120px; left: 16px; z-index: 100; padding: 12px 20px; background: white; color: black; }
.skip:focus { top: 10px; }

/* Global chrome */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); border-bottom: 1px solid #e2e9e9; }
.topbar { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.brand { display: inline-flex; flex-direction: column; width: max-content; color: var(--navy); text-decoration: none; font-size: 1.68rem; font-weight: 830; letter-spacing: -.065em; line-height: 1.08; }
.brand span { color: var(--teal); }
.brand small { display: block; font-size: .56rem; font-weight: 660; letter-spacing: .10em; color: #667d84; margin-top: 5px; }
.brand:hover, .brand:hover span { text-decoration: none; }
.topbar nav { display: flex; align-items: center; gap: clamp(12px,2vw,30px); }
.topbar nav a { position: relative; text-decoration: none; color: var(--ink); font-weight: 720; font-size: .87rem; padding-block: 8px; white-space: nowrap; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--teal); }
.topbar nav a[aria-current="page"]::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: -18px; background: var(--teal); border-radius: 4px; }
.topbar nav .nav-search { border: 1px solid var(--line); border-radius: 7px; padding: 9px 14px; }
.nav-search span { font-size: 1.25em; line-height: 0; margin-left: 4px; }
.menu-button { display: none; background: var(--white); color: var(--navy); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-weight: 750; }
.footer { background: var(--navy-dark); color: #bdd0d5; padding: 76px 0 24px; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,.65fr) minmax(0,.9fr); gap: clamp(35px,6vw,100px); }
.footer .brand { color: #fff; }
.footer .brand span { color: var(--bright); }
.footer-main p { max-width: 385px; margin: 20px 0; color: #b8ced0; font-size: .93rem; }
.footer-independent { max-width: 380px; display: block; font-size: .76rem; color: #85a0a8; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links strong { font-size: .77rem; color: #6ce1d5; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: #d8e5e6; font-size: .92rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copyright { display: flex; justify-content: space-between; gap: 18px; margin-top: 62px; padding-top: 22px; border-top: 1px solid #284a58; color: #9db8bd; font-size: .77rem; }

/* Reusable design language */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 7px; padding: 14px 23px; font-weight: 800; text-decoration: none; font-size: .88rem; line-height: 1.45; min-height: 48px; transition: transform .18s ease, background-color .18s ease; }
.button:hover { text-decoration: none; transform: translateY(-2px); }
.button-primary { color: #052934; background: var(--bright); }
.button-primary:hover { color: #052934; background: #93ece2; }
.button-outline { border: 1px solid #7c999f; color: white; }
.button-outline:hover { color: white; background: #ffffff19; }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { color: white; background: #204959; }
.button-secondary { background: #e4f0ee; color: var(--navy); }
.button-secondary:hover { color: var(--navy); background: #d2eae7; }
.inline-link, .text-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 820; font-size: .92rem; color: var(--teal); text-decoration: none; border-bottom: 2px solid #aad7d4; padding-bottom: 6px; }
.inline-link:hover, .text-link:hover { border-color: var(--teal); text-decoration: none; }
.text-lead { color: #2e515b; font-size: 1.15rem; line-height: 1.8; }
.content-section { padding-top: clamp(64px, 7vw, 105px); padding-bottom: clamp(65px, 7vw, 110px); }
.soft-section { background: var(--soft); }
.section-title { max-width: 740px; margin: 0 0 36px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 35px; }
.section-heading > div > h2 { max-width: 760px; }
.section-heading > div > p:not(.eyebrow) { max-width: 650px; color: var(--muted); margin: 16px 0 0; }
.section-heading.compact { margin-bottom: 38px; }
.section-heading.compact h2 { max-width: 720px; }
.info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.info-card { border: 1px solid var(--line); padding: 31px 28px; background: white; border-radius: 11px; }
.info-card-index { color: var(--teal); font-size: .79rem; font-weight: 850; letter-spacing: .08em; display: block; margin-bottom: 26px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.info-card p { color: var(--muted); font-size: .92rem; }
.check-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; line-height: 1.55; }
.check-list li::before { content: '✓'; display: grid; place-items: center; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #dcf4ed; color: #077d75; font-weight: 900; font-size: .82rem; }

/* Homepage */
.home-hero { position: relative; background: linear-gradient(118deg, #00102E, #063549); color: white; isolation: isolate; }
.home-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 0% 100%, #265e6c80, transparent 58%); opacity: .7; z-index: -1; }
.hero-layout { min-height: 650px; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: center; gap: clamp(36px,5vw,82px); padding-block: 96px; }
.hero-copy { z-index: 1; }
.hero-copy h1 { font-size: clamp(2.9rem, 4.6vw, 4.25rem); line-height: 1.09; letter-spacing: -.058em; max-width: 680px; }
.hero-copy h1 span { color: #75e0d4; }
.hero-copy h1 .hero-framework { color: inherit; white-space: nowrap; }
.hero-lead { font-size: clamp(1.05rem,1.45vw,1.2rem); line-height: 1.8; color: #d2e5e6; max-width: 510px; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-note { margin-top: 44px; letter-spacing: .13em; color: #9dc6ca; font-weight: 800; font-size: .69rem; }
.hero-visual { position: relative; height: 500px; border: 1px solid #527984; border-radius: 200px 12px 12px 12px; overflow: hidden; box-shadow: 0 28px 65px #0005; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#091d2bcc,transparent 55%); pointer-events: none; }
.hero-visual img { height: 100%; width: 100%; object-fit: cover; display: block; object-position: center; }
.visual-caption { position: absolute; z-index: 1; left: 34px; bottom: 29px; color: #fff; display: flex; flex-direction: column; line-height: 1.5; }
.visual-caption strong { font-size: 1.11rem; }
.visual-caption span:last-child { font-size: .89rem; color: #d2e9e9; }
.caption-line { height: 3px; width: 42px; background: var(--bright); margin-bottom: 15px; }
.pillar-section { border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding-block: 48px; }
.pillar { padding: 10px 32px; border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar-label { display: block; font-size: .7rem; color: var(--teal); font-weight: 800; letter-spacing: .15em; margin-bottom: 17px; }
.pillar h2 { font-size: 1.25rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.feature-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.93fr); align-items: center; gap: clamp(40px,7vw,115px); padding-block: 112px; }
.story-image { height: 455px; position: relative; }
.story-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.framework-photo img { object-position: 75% center; }
.image-overline { position: absolute; left: 25px; bottom: 26px; font-size: .68rem; font-weight: 850; letter-spacing: .15em; color: white; background: #102a3cdd; padding: 9px 14px; border-radius: 3px; }
.story-content h2 { max-width: 520px; margin-bottom: 25px; }
.story-content p:not(.eyebrow) { color: var(--muted); line-height: 1.84; }
.story-content .inline-link { margin-top: 19px; }
.story-soft { background: #f0f6f4; }
.feature-story.story-reverse { display: block; padding-block: 100px; }
.feature-story-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr); align-items: center; gap: clamp(40px,9vw,160px); }
.story-side-panel { min-height: 346px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); border-radius: 12px; color: #d8e9ea; padding: 40px; position: relative; overflow: hidden; }
.story-side-panel::before { content: ''; height: 320px; width: 320px; position: absolute; border: 1px solid #67cdc633; border-radius: 50%; right: -60px; top: -145px; box-shadow: 0 0 0 45px #65c3bd13,0 0 0 100px #65c3bd0b; }
.side-number { margin-bottom: auto; color: var(--bright); letter-spacing: .15em; font-weight: 850; font-size: .8rem; }
.story-side-panel p { max-width: 250px; font-size: 1.18rem; font-weight: 730; line-height: 1.5; }
.story-side-panel a { color: var(--bright); text-decoration: none; font-size: .83rem; font-weight: 770; }
.latest-section { background: #fff; padding: 110px 0 116px; }
.latest-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex-shrink: 0; }
.content-section.home-trainer { padding-bottom: 0; }
.home-contact { background: var(--navy); color: #fff; padding-block: 105px; }
.home-contact-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); gap: clamp(42px,8vw,130px); align-items: start; }
.home-contact-copy { padding-top: 55px; }
.home-contact-copy h2 { max-width: 445px; }
.home-contact-copy > p:not(.eyebrow) { color: #c3dadc; max-width: 420px; margin-top: 24px; line-height: 1.8; }
.home-email { display: inline-block; color: #7fe4db; font-size: 1.05rem; font-weight: 800; margin-top: 12px; }
.home-email:hover { color: #a9fff1; }

/* Page hero and prose */
.title-band { color: #fff; padding: 72px 0 78px; background: linear-gradient(117deg, #00102E, #063549); position: relative; overflow: hidden; }
.title-band::after { content: ''; position: absolute; border: 1px solid #b7e9e52b; width: 360px; height: 360px; border-radius: 50%; right: -100px; bottom: -275px; box-shadow: 0 0 0 65px #adedea0d, 0 0 0 130px #adedea08; pointer-events: none; }
.title-band h1 { max-width: 950px; font-size: clamp(2.55rem,4vw,4rem); position: relative; z-index: 1; }
.title-band .band-description { max-width: 675px; font-size: 1.12rem; line-height: 1.75; margin-top: 19px; color: #d0e5e5; }
.page-body { background: #fff; }
.page-body .content-section > h2 { margin-bottom: 25px; }
.page-body .prose { line-height: 1.85; color: #3a5560; }
.page-body .prose p { margin-bottom: 20px; }
.article-masthead { padding: 78px 0 70px; }
.article-masthead h1 { font-size: clamp(2.3rem,4.25vw,3.65rem); }
.breadcrumb { color: #b4f3e9; text-decoration: none; font-weight: 740; font-size: .8rem; display: inline-block; margin-bottom: 34px; }
.byline { color: #c4dade; margin: 21px 0 0; font-size: .88rem; }
.tagline { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; color: #ddf9f5; border: 1px solid #75b0b7; border-radius: 100px; font-size: .74rem; text-decoration: none; line-height: 1.5; }
.tag:hover { color: #fff; background: #ffffff1e; }
.tag-dark { color: #126873; border-color: #b6d2d5; }
.tag-dark:hover { color: #07565c; background: #e5f3f2; }
.article-body { padding: 55px 0 78px; font-size: 1.06rem; line-height: 1.9; overflow-wrap: anywhere; color: #2c4450; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3, .article-body h4 { margin: 2.05em 0 .64em; }
.article-body h2 { font-size: clamp(1.45rem,2vw,1.8rem); color: var(--navy); }
.article-body h3 { font-size: 1.3rem; color: var(--navy); }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.35em; }
.article-body li { margin: .4em 0; padding-left: .13em; }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.article-body a { overflow-wrap: anywhere; }
.article-body blockquote { border-left: 4px solid #40bfb6; margin: 28px 0; padding: 22px 26px; background: #f0f7f6; color: #385763; }
.article-body figure { margin: 30px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 9px; }
.article-body .featured-figure { margin: -3px 0 41px; }
.article-body .featured { display: block; object-fit: cover; width: 100%; max-height: 465px; }
.article-body figcaption { color: var(--muted); text-align: center; font-size: .83rem; }
.article-body iframe { max-width: 100%; }
.article-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: .7rem; text-align: left; }
.post-tags { margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .84rem; }
.post-tags strong { display: block; color: var(--navy); margin-bottom: 9px; }
.after-article { display: flex; justify-content: space-between; gap: 20px; font-weight: 800; padding: 0 0 84px; font-size: .87rem; }
.after-article a { text-decoration: none; }

/* Journal and search */
.card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: 0 6px 20px #143e4808; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 35px #143e481a; text-decoration: none; }
.card-image { height: 215px; background: #e4efee; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; display: block; }
.article-card:hover .card-image img { transform: scale(1.035); }
.card-text { display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; padding: 27px 30px 28px; }
.card-date { font-size: .7rem; font-weight: 830; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 13px; }
.article-card h3 { font-size: clamp(1.15rem,1.7vw,1.42rem); margin: 0 0 12px; }
.article-card p { color: var(--muted); font-size: .88rem; line-height: 1.74; margin: 0 0 23px; max-height: 6.9em; overflow: hidden; }
.read-more { margin-top: auto; color: var(--teal); font-size: .85rem; font-weight: 840; }
.listing { padding-block: 77px 105px; }
.pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; font-weight: 780; }
.search-box { padding: 68px 0 100px; }
.search-box label { display: block; font-size: .9rem; font-weight: 800; margin-bottom: 13px; }
.search-box input { width: 100%; border: 1px solid #a9c2c6; border-radius: 9px; padding: 16px 19px; box-shadow: 0 4px 15px #122d370b; }
#status { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.search-results { display: grid; }
.result { display: block; border-bottom: 1px solid var(--line); padding: 22px 0; text-decoration: none; }
.result small { display: block; font-size: .75rem; color: var(--teal); font-weight: 750; }
.result strong { color: var(--navy); display: block; font-size: 1.16rem; margin: 4px 0; }
.result p { color: var(--muted); margin: 0; }

/* Documentation library */
.docs-intro-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.9fr); gap: clamp(40px,8vw,110px); align-items: start; }
.docs-intro-grid h2 { max-width: 740px; margin-bottom: 26px; }
.docs-intro-grid > div > p:not(.eyebrow) { color: var(--muted); }
.docs-jump { display: flex; flex-direction: column; background: var(--navy); color: #fff; border-radius: 11px; padding: 28px 31px; }
.docs-jump > span { color: var(--bright); font-size: .68rem; letter-spacing: .17em; font-weight: 820; margin-bottom: 13px; }
.docs-jump a { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #345463; color: #fff; font-size: .89rem; font-weight: 720; padding: 15px 0; text-decoration: none; }
.docs-jump a:hover { color: var(--bright); }
.docs-jump a span { color: #b1d3d3; font-size: .71rem; white-space: nowrap; font-weight: 500; }
.docs-section { scroll-margin-top: 85px; }
.section-count { align-self: flex-start; color: var(--teal); background: #e0f1ee; font-weight: 830; letter-spacing: .1em; font-size: .67rem; padding: 8px 12px; white-space: nowrap; border-radius: 3px; }
.docs-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.doc-card { display: flex; flex-direction: column; min-height: 247px; text-decoration: none; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 10px; padding: 24px; transition: transform .16s,border-color .16s; }
.doc-card:hover { text-decoration: none; transform: translateY(-3px); color: var(--ink); border-color: #76b9b4; }
.doc-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; color: #79939b; font-size: .71rem; font-weight: 800; }
.doc-filetype { color: var(--teal); background: #e8f5f1; border-radius: 3px; padding: 3px 8px; font-size: .67rem; letter-spacing: .1em; font-weight: 900; }
.doc-card h3 { margin-bottom: 13px; font-size: 1.1rem; line-height: 1.32; }
.doc-card p { font-size: .81rem; line-height: 1.65; color: var(--muted); max-height: 5em; overflow: hidden; margin-bottom: 16px; }
.doc-link { color: var(--teal); font-size: .82rem; font-weight: 830; margin-top: auto; }
.docs-grid-legacy .doc-card { min-height: 180px; }
.country-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.country-link { display: flex; flex-direction: column; gap: 4px; padding: 19px; background: #f5f8f7; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.country-link:hover { background: #e7f5f1; text-decoration: none; }
.country-link span { font-size: .87rem; color: var(--ink); }
.country-link strong { font-size: .76rem; color: var(--teal); }
.section-footnote { max-width: 860px; margin-top: 25px; color: var(--muted); font-size: .86rem; }
.sector-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.sector-card { padding: 28px; background: var(--soft); border: 1px solid var(--line); border-radius: 11px; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; color: var(--ink); text-decoration: none; }
.sector-card h3 { font-size: 1.27rem; }
.sector-card p { color: var(--muted); font-size: .9rem; }
.sector-card:hover { text-decoration: none; color: var(--ink); border-color: #7ebbb7; }

/* About */
.about-intro-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: clamp(40px,9vw,115px); align-items: start; }
.about-intro-grid .inline-link { margin-top: 8px; }
.person-card { margin: 0; position: relative; background: var(--navy); border-radius: 10px; overflow: hidden; color: white; }
.person-card img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 27%; }
.person-card figcaption { padding: 22px 26px 25px; display: flex; flex-direction: column; line-height: 1.5; }
.person-card figcaption strong { font-size: 1.16rem; }
.person-card figcaption span { font-size: .84rem; color: #c8dddd; }
.service-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.78fr); gap: 75px; align-items: center; }
.service-copy h2 { max-width: 600px; margin-bottom: 24px; }
.service-copy > p:not(.eyebrow) { color: var(--muted); }
.service-copy .button { margin-top: 13px; }
.service-image img { display: block; width: 100%; height: 510px; object-fit: cover; border-radius: 9px; }

/* Training */
.training-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.81fr); gap: clamp(40px,7vw,105px); align-items: center; }
.training-lead h2 { max-width: 610px; margin-bottom: 25px; }
.training-lead > p:not(.eyebrow) { color: var(--muted); }
.stacked-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.training-image { position: relative; }
.training-image img { width: 100%; height: 515px; object-fit: cover; display: block; border-radius: 10px; }
.training-image-label { position: absolute; bottom: 22px; right: 22px; left: 22px; padding: 17px 20px; border-radius: 6px; background: #0c2e3ddd; color: white; font-weight: 770; line-height: 1.55; font-size: .88rem; }
.training-points { grid-template-columns: repeat(3,minmax(0,1fr)); }
.trainer-section { display: grid; grid-template-columns: minmax(0,.45fr) minmax(0,1fr); gap: clamp(40px,9vw,120px); align-items: center; }
.trainer-photo img { width: 100%; height: 390px; border-radius: 10px; object-fit: cover; object-position: 50% 27%; }
.trainer-bio h2 { margin-bottom: 26px; }
.trainer-bio p:not(.eyebrow) { color: var(--muted); }
.trainer-bio .inline-link { margin-top: 15px; }
.simple-cta { background: var(--navy); color: white; }
.simple-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 60px; }
.simple-cta h2 { max-width: 640px; font-size: clamp(1.7rem,2.7vw,2.6rem); }

/* Contact and training registration forms */
.contact-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: clamp(36px,8vw,112px); align-items: start; }
.contact-details h2 { margin-bottom: 24px; }
.contact-details > p:not(.eyebrow) { color: var(--muted); }
.contact-method { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.contact-detail-label { display: block; color: var(--teal); font-size: .69rem; letter-spacing: .15em; font-weight: 830; margin-bottom: 8px; }
.contact-method > a { font-size: 1.08rem; font-weight: 790; text-decoration: none; }
.contact-method address { font-style: normal; line-height: 1.9; color: #38545b; }
.contact-aside { padding: 22px; background: var(--soft); border-radius: 8px; font-size: .9rem; margin-top: 40px; }
.training-registration { padding-top: 78px; }
.registration-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); gap: 76px; margin-bottom: 55px; align-items: start; }
.registration-intro h2 { max-width: 640px; margin-bottom: 22px; }
.registration-intro p:not(.eyebrow) { color: var(--muted); }
.training-highlights { background: var(--navy); border-radius: 12px; color: #fff; padding: 32px 34px; }
.training-highlights h3 { color: #fff; font-size: 1.24rem; margin-bottom: 17px; }
.training-highlights .check-list { margin: 0; font-size: .88rem; }
.training-highlights .check-list li { color: #dce9e8; }
.training-highlights .check-list li::before { background: #215a5f; color: #a7f3e7; }
.registration-form-shell { max-width: 840px; margin: 0 auto; }
.form-section { background: var(--white); border: 1px solid #d1e0e1; border-radius: 12px; padding: clamp(24px,4.5vw,44px); box-shadow: 0 12px 38px #0c30401a; }
.form-section h2 { font-size: clamp(1.45rem,2vw,1.9rem); margin: 0 0 15px; }
.form-section > p { color: var(--muted); font-size: .92rem; }
.lead-form { display: grid; gap: 21px; margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label, .form-fieldset legend { color: var(--navy); font-size: .88rem; font-weight: 760; }
.form-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 17px; }
.form-section-legend { display: block; padding-bottom: 10px !important; margin-bottom: 5px; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.1rem !important; }
.form-field :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) { display: block; width: 100%; border: 1px solid #afc1c4; background: white; color: var(--ink); border-radius: 6px; padding: 12px 13px; line-height: 1.48; font-size: .95rem; }
.form-field select[multiple] { min-height: 98px; }
.form-field :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea):focus { border-color: var(--teal); }
.form-field :is(input[type=radio],input[type=checkbox]) { accent-color: var(--teal); height: 1.09em; width: 1.09em; margin-right: 5px; }
.form-field input[type=range] { width: 100%; accent-color: var(--teal); }
.form-options { gap: 12px; }
.form-options label { font-size: .89rem; color: #385660; font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 23px; }
.choice-row label { display: inline-flex; align-items: center; gap: 5px; }
.range-labels { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.form-help { font-size: .8rem; color: var(--muted); margin: 0; }
.form-bot-field { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.required { color: #a83328; }
.optional { color: var(--muted); font-weight: 500; }
.form-note { font-size: .77rem; color: var(--muted); margin: 0; line-height: 1.6; }
.form-submit { width: max-content; min-width: 175px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: white; border: 0; padding: 14px 24px; font-weight: 780; border-radius: 7px; font-size: .92rem; transition: background .2s; }
.form-submit:hover { background: #005e67; }
.home-contact-panel .form-section { margin: 0; color: var(--ink); border: none; }
.home-contact-panel .home-form h2 { color: var(--navy); }
.registration-form-shell .form-section { box-shadow: none; background: var(--soft); }
.empty { padding: 105px 0; }
.empty h1 { font-size: 2.7rem; margin-bottom: 20px; }
.empty a { display: inline-block; margin-top: 20px; font-weight: 800; }
.demo-banner { padding: 10px 20px; background: #fff0d5; text-align: center; color: #754c00; font-weight: 800; font-size: .84rem; }
code { background: #eff5f5; color: #183840; border-radius: 3px; padding: .15em .3em; }
pre { background: var(--navy); color: white; padding: 24px; overflow-x: auto; }
pre code { background: none; color: inherit; }

@media(max-width:1050px) {
  .topbar nav { gap: 15px; }
  .topbar nav a { font-size: .81rem; }
  .hero-layout { gap: 35px; }
  .hero-visual { height: 450px; }
  .docs-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .country-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:850px) {
  .wrap { width: calc(100% - 44px); }
  .topbar { gap: 16px; }
  .brand { font-size: 1.5rem; }
  .brand small { font-size: .51rem; }
  .topbar nav { gap: 12px; }
  .topbar nav a { font-size: .76rem; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr .85fr; padding-block: 70px; }
  .hero-copy h1 { font-size: clamp(2.3rem,4.5vw,3.2rem); }
  .hero-visual { height: 390px; border-radius: 120px 10px 10px; }
  .pillar-grid { gap: 15px; }
  .pillar { padding-inline: 16px; }
  .feature-story, .feature-story-inner { gap: 38px; }
  .info-grid, .training-points { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { gap: 30px; }
  .docs-intro-grid { grid-template-columns: 1fr; }
  .docs-jump { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 20px; }
  .docs-jump > span { grid-column: 1/-1; }
  .training-intro, .service-section { gap: 35px; }
  .training-image img { height: 420px; }
}
@media(max-width:680px) {
  html { scroll-padding-top: 75px; }
  .wrap { width: calc(100% - 36px); }
  .topbar { min-height: 72px; }
  .topbar nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; padding: 10px 18px 23px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 14px 25px #102c3b1a; flex-direction: column; align-items: stretch; gap: 0; }
  .topbar nav.visible { display: flex; }
  .topbar nav a { font-size: .94rem; padding: 12px 4px; }
  .topbar nav a[aria-current="page"]::after { display: none; }
  .topbar nav .nav-search { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 4px; }
  .menu-button { display: inline-flex; gap: 9px; align-items: center; }
  .hero-layout, .feature-story, .feature-story-inner, .home-contact-grid, .about-intro-grid, .service-section, .training-intro, .trainer-section, .contact-layout, .registration-intro { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 65px 52px; gap: 45px; }
  .hero-copy h1 { font-size: clamp(2.75rem,10vw,4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-visual { height: 330px; max-width: 490px; border-radius: 115px 10px 10px; }
  .hero-note { margin-top: 27px; }
  .pillar-grid { grid-template-columns: 1fr; padding: 24px 0; gap: 0; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); padding: 23px 0; }
  .pillar:last-child { border-bottom: none; }
  .feature-story, .feature-story.story-reverse { padding-block: 70px; }
  .story-image { height: 330px; }
  .feature-story-inner { gap: 38px; }
  .story-side-panel { min-height: 265px; }
  .latest-section { padding: 80px 0; }
  .home-contact { padding-block: 70px; }
  .home-contact-copy { padding-top: 0; }
  .card-grid, .info-grid, .training-points, .docs-grid, .country-grid, .sector-grid, .form-grid { grid-template-columns: 1fr; }
  .card-image { height: 215px; }
  .title-band { padding: 54px 0 60px; }
  .title-band h1 { font-size: 2.65rem; }
  .article-body { padding: 42px 0 54px; font-size: 1rem; }
  .content-section { padding-block: 65px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .docs-jump { display: flex; }
  .docs-grid-legacy .doc-card { min-height: 140px; }
  .doc-card { min-height: 190px; }
  .person-card { max-width: 390px; }
  .service-image img, .training-image img { height: 330px; }
  .trainer-photo img { max-width: 390px; }
  .simple-cta-inner { flex-direction: column; align-items: flex-start; }
  .registration-intro { gap: 28px; margin-bottom: 30px; }
  .form-section { padding: 23px 19px; }
  .footer { padding-top: 58px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1/-1; }
  .copyright { flex-direction: column; margin-top: 42px; gap: 7px; }
}
@media(max-width:430px) {
  .hero-copy h1 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section-count { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div:first-child { grid-column: auto; }
  .after-article { flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* TLPT course overview */
.training-visual {
  position: relative; min-width: 0; border-radius: 16px; overflow: hidden;
  color: #fff; background: radial-gradient(ellipse at 95% 5%, #2197a0 0, transparent 40%), linear-gradient(142deg,#0a4352 0%,#126e7d 74%,#218b91 100%);
  border: 1px solid rgba(5,45,54,.12); box-shadow: 0 21px 46px rgba(9,55,67,.16);
}
.training-visual::before, .training-visual::after { content:""; position:absolute; border-radius: 50%; border:1px solid rgba(255,255,255,.11); pointer-events:none; }
.training-visual::before { width: 350px; height: 350px; right: -240px; top: -190px; }
.training-visual::after { width: 240px; height: 240px; right: -148px; top: -135px; }
.ctlpt-panel { position: relative; z-index: 1; display:flex; flex-direction:column; gap: 24px; padding: clamp(26px,3.4vw,38px); }
.ctlpt-heading h3 { font-size:clamp(1.48rem,2.2vw,2.05rem); line-height:1.23; margin:0; max-width: 420px; color:#fff; }
.ctlpt-stages { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ctlpt-stage { display:flex; flex-direction:column; gap:5px; min-width:0; padding:15px; border:1px solid rgba(255,255,255,.17); border-radius:11px; background:rgba(3,37,48,.29); }
.ctlpt-stage strong { display:block; font-size:.95rem; line-height:1.35; color:#fff; }
.ctlpt-stage > span:last-child { font-size:.77rem; line-height:1.45; color:#d1e8e8; }
@media(max-width:850px) { .ctlpt-panel { padding:24px; gap:20px; } .ctlpt-stage { padding:13px; } }
@media(max-width:680px) { .training-visual { max-width:560px; } .ctlpt-panel { padding:28px; } }
@media(max-width:390px) { .ctlpt-panel { padding:22px; } .ctlpt-stages { gap:9px; } .ctlpt-stage { padding:11px; } .ctlpt-stage strong { font-size:.84rem; } }

/* Original TIBER.info brand restoration — based on exported Elementor post-741/post-556 and kit-697 CSS. */
/* Original dominant colours: navy #00102E, action red #FF002D, off-white #F4F5F7.
   Elementor's global kit also specifies deep blue-green #063549 and dark red #A5290B. */
:root { --brand-navy: #00102E; --brand-red: #FF002D; --brand-blue-green: #063549; --brand-dark-red: #A5290B; }
body { color: var(--ink); }
a { color: var(--brand-dark-red); }
a:hover { color: #811E0B; }
:focus-visible { outline-color: var(--brand-red); }
::selection { background: #ffd6de; color: var(--brand-navy); }
.brand span, .footer .brand span { color: var(--brand-red); }
.topbar nav a[aria-current="page"]::after { background: var(--brand-red); }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--brand-dark-red); }
.footer { background: var(--brand-navy); }
.footer-links strong { color: #ff6f85; }
.footer .eyebrow { color: #ff6f85; }
.button-primary, .form-submit { background: var(--brand-red); color: var(--brand-navy); }
.button-primary:hover, .form-submit:hover { background: #da0028; color: #fff; }
.button-secondary { background: #f2edf0; color: var(--brand-navy); }
.button-secondary:hover { background: #e9e0e7; color: var(--brand-navy); }
.button-dark { background: var(--brand-navy); }
.button-dark:hover { background: var(--brand-blue-green); }
.inline-link, .text-link, .read-more, .doc-link, .card-date, .pillar-label, .info-card-index, .section-count, .doc-filetype, .country-link strong { color: var(--brand-dark-red); }
.inline-link, .text-link { border-bottom-color: #f9b9c4; }
.inline-link:hover, .text-link:hover { border-bottom-color: var(--brand-red); }
.eyebrow { color: #ff6f85; }
.eyebrow.dark { color: var(--brand-dark-red); }
.hero-copy h1 span, .home-email { color: #ff627c; }
.home-email:hover { color: #ffb9c5; }
.home-hero::before { background: radial-gradient(ellipse at 0% 100%, rgba(255,0,45,.19), transparent 58%); }
.hero-note { color: #d4c9d5; }
.hero-visual { border-color: #506079; }
.hero-visual::after { background: linear-gradient(0deg,rgba(0,16,46,.78),transparent 55%); }
.story-soft { background: var(--soft); }
.story-side-panel::before { border-color: #ff002d44; box-shadow: 0 0 0 45px #ff002d13, 0 0 0 100px #ff002d08; }
.title-band::after { border-color: #ffb8c333; box-shadow: 0 0 0 65px #ff002d0d, 0 0 0 130px #ff002d08; }
.article-body blockquote { border-left-color: var(--brand-red); background: #faf2f4; }
.docs-jump { background: var(--brand-navy); }
.docs-jump > span, .side-number, .story-side-panel a { color: #ff6f85; }
.section-count, .doc-filetype { background: #fff0f2; }
.check-list li::before { background: #ffe7eb; color: var(--brand-dark-red); }
.doc-card:hover, .sector-card:hover { border-color: #e7a6b1; }
.country-link { background: #F4F5F7; }
.country-link:hover { background: #f9edf0; }
.home-contact { background: var(--brand-navy); }
.training-highlights { background: var(--brand-navy); }
.training-highlights .check-list li::before { background: #653041; color: #ffabb8; }
/* TLPT course overview in the site colours. */
.training-visual { background: radial-gradient(ellipse at 95% 5%,rgba(255,0,45,.22),transparent 42%),linear-gradient(142deg,#00102E 0%,#063549 85%,#00102E 100%); }
.ctlpt-stage { background: rgba(0,11,31,.43); border-color: rgba(255,255,255,.18); }
