@font-face {
  font-family: 'Turret';
  src: url('assets/fonts/Turret1853-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'RobotoCond';
  src: url('assets/fonts/Roboto_Condensed-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'RobotoCond';
  src: url('assets/fonts/Roboto_Condensed-Black.ttf') format('truetype');
  font-weight: 900;
}

@page {
  size: 1920px 1080px;
  margin: 0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background: #0062A8;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  width: 1920px;
  height: 1080px;
  background:
    radial-gradient(ellipse 90% 70% at 78% 32%, rgba(6,157,229,0.35) 0%, rgba(6,157,229,0) 55%),
    linear-gradient(135deg, #0062A8 0%, #1a7ab5 50%, #0062A8 100%);
  color: #ffffff;
  page-break-after: always;
  overflow: hidden;
  padding: 60px 80px;
}

.page:last-child { page-break-after: auto; }

/* blueprint frame: a single bordered box with rounded corners */
.frame {
  position: absolute;
  top: 36px;
  left: 36px;
  right: 36px;
  bottom: 36px;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}

/* legacy individual rules — kept for any old chrome callers */
.frame-top, .frame-bottom {
  position: absolute;
  left: 36px;
  right: 36px;
  height: 2px;
  background: rgba(255,255,255,0.95);
  z-index: 1;
}
.frame-top { top: 36px; }
.frame-bottom { bottom: 36px; }

.frame-left, .frame-right {
  position: absolute;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: rgba(255,255,255,0.95);
  z-index: 1;
}
.frame-left { left: 36px; }
.frame-right { right: 36px; }

.vline {
  position: absolute;
  top: 36px;
  width: 2px;
  background: rgba(255,255,255,0.55);
}
.vline.short { background: rgba(255,255,255,0.4); }

/* Typography */
.eyebrow {
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0 0 14px 0;
}
.eyebrow.dark { color: rgba(0,0,0,0.55); }

h1.headline, .headline {
  font-family: 'Turret', 'PlayfairDisplay', serif;
  font-weight: 700;
  font-size: 92px;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 32px 0;
}
h1.headline.small { font-size: 72px; }
h1.headline.xs { font-size: 56px; }

h2.section-title {
  font-family: 'Turret', serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 18px 0;
}
h2.section-title.sm { font-size: 32px; }

/* h3.display — Turret display panel header. Use on panel/section headers
   where the label is a single short word and you want it to feel like a
   proper title rather than the all-caps RobotoCond label style. */
h3.display {
  font-family: 'Turret', serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.05;
  margin: 0 0 18px 0;
  color: #ffffff;
}
h3.display.lg { font-size: 44px; }
h3.display.sm { font-size: 28px; }

h3 {
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  color: #ffffff;
}

p, .body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin: 0 0 14px 0;
}
.body.lg { font-size: 21px; line-height: 1.5; }
.body.sm { font-size: 15px; line-height: 1.45; }
.body.xs { font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.75); }

/* Layout helpers */
.intro { max-width: 540px; }
.intro p { font-size: 17px; line-height: 1.55; }

.page-meta {
  position: absolute;
  bottom: 56px;
  left: 80px;
  display: flex;
  gap: 24px;
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.page-no {
  position: absolute;
  bottom: 56px;
  right: 80px;
  font-family: 'RobotoCond', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}

.sidebar-label {
  position: absolute;
  left: 60px;
  top: 60%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-family: 'Turret', serif;
  font-weight: 700;
  font-size: 64px;
  white-space: nowrap;
  color: rgba(255,255,255,0.92);
}

/* Card / panel styling */
.panel {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 10px 10px 60px 10px;
  padding: 28px 32px;
  position: relative;
}
.panel.dark { background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.55); }
.panel.solid { background: rgba(0,40,80,0.55); border: none; }
.panel.light { background: #ffffff; color: #1E1F29; border: none; }
.panel.light p { color: #1E1F29; }
.panel.light h3 { color: #1E1F29; }

/* rolling-hill curve corner (top-left) */
.rolling-hill {
  display: none;
}

/* FoF lockup top right */
.fof {
  position: absolute;
  top: 60px;
  right: 80px;
  text-align: right;
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.15;
}
.fof .small { font-weight: 500; opacity: 0.8; font-size: 11px; }

/* Marine container for the Founded on Fairness lockup (top-right) */
.fof-block {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 220px;
  height: 110px;
  background: #ffffff;
  border-bottom-left-radius: 36px;
  border-top-right-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px 16px 36px;
  box-sizing: border-box;
  z-index: 2;
}
.fof-block .fof-img {
  position: static;
  height: 56px;
  width: auto;
  display: block;
}

/* Legacy floating FoF (kept for any callers that pass fof=False or legacy chrome) */
.fof-img {
  position: absolute;
  top: 60px;
  right: 80px;
  height: 36px;
  width: auto;
  display: block;
}

/* Bottom-right marine quarter-circle frame */
.bottom-right-curve {
  position: absolute;
  right: 36px;
  bottom: 36px;
  width: 200px;
  height: 200px;
  background: #003F71;
  border-top-left-radius: 200px;
  pointer-events: none;
  z-index: 2;
}

.logo-mark {
  position: absolute;
  bottom: 60px;
  left: 80px;
  font-family: 'RobotoCond', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  line-height: 1.1;
  text-transform: uppercase;
}
.logo-mark .b { font-weight: 500; opacity: 0.85; font-size: 9.5px; }

/* Pillars tiles */
.tile-grid {
  display: grid;
  gap: 18px;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin: 14px 0;
}

/* small chips */
.chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 100px;
  font-family: 'RobotoCond', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin: 0 6px 6px 0;
}
.chip.green { background: #2ec06b; border-color: #2ec06b; color: #062B14; }
.chip.red { background: #e25963; border-color: #e25963; color: #2A0A0E; }

/* p12 Voice in practice — DO / DON'T tags */
.tag {
  display: inline-block;
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffffff;
}
.card.do .tag {
  color: #8be6b1;
}
.card.dont .tag {
  color: #ff9aa3;
}
.card {
  padding: 18px 22px;
  border-radius: 6px 6px 28px 6px;
  margin-bottom: 14px;
}
.card.do {
  border-left: 3px solid #2ec06b;
  background: rgba(46, 192, 107, 0.06);
}
.card.dont {
  border-left: 3px solid #e25963;
  background: rgba(226, 89, 99, 0.05);
}

/* p15 Glossary — tighter rows so the long table fits above the castle */
#p15 table.matrix th, #p15 table.matrix td { padding: 7px 14px; }
#p15 table.matrix th { font-size: 16px; padding-bottom: 10px; }
#p15 table.matrix td { font-size: 14px; line-height: 1.35; }

/* p43 Asset library — slightly tighter rows */
#p43 table.matrix th, #p43 table.matrix td { padding: 11px 12px; }
#p43 table.matrix td { font-size: 13px; line-height: 1.35; }

/* Tables for matrices */
table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #ffffff;
}
table.matrix th, table.matrix td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  vertical-align: top;
}
table.matrix th {
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,0.55);
  color: #ffffff;
}

/* Page-specific overrides for tighter layouts (p16: logo showcase, p24: structured panels) */
#p16 .body,
#p16 p {
  font-size: 19px;
  line-height: 1.5;
}
#p16 .body.lg {
  font-size: 21px;
  line-height: 1.5;
}

#p24 .body,
#p24 p {
  font-size: 19px;
  line-height: 1.5;
}
#p24 .body.lg {
  font-size: 21px;
  line-height: 1.5;
}


/* Iconography downloads — print version: chips render as small labels, button as solid call-out */
.icon-dl {
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 2px;
}
.icon-dl-all {
  display: inline-block;
  font-family: 'RobotoCond', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #001f3a;
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
}
