:root {
  --ink: #1a1a1a;
  --dark: #2b2b2b;
  --muted: #666;
  --line: #e4e4e4;
  --accent: #0a66c2; /* LinkedIn blue */
  --bg: #fafafa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}

.hero-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 3px solid rgba(255,255,255,0.55);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero h1 {
  font-size: 30pt;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero .tagline {
  margin-top: 8px;
  font-size: 12pt;
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 10.5pt;
  border-radius: 999px;
  transition: opacity 0.15s ease;
}

.btn-linkedin:hover { opacity: 0.88; }

/* Content */
.section {
  padding: 48px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 9pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 16px;
}

.section p {
  font-size: 11pt;
  color: #333;
}

.section p + p { margin-top: 14px; }

footer {
  text-align: center;
  padding: 32px 0 48px;
  font-size: 8.5pt;
  color: #999;
}

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 24pt; }
}

/* ─── Innovation Fellowship page ─── */

.eyebrow {
  display: inline-block;
  font-size: 8pt;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 10.5pt;
  border-radius: 6px;
  transition: opacity 0.15s ease;
}

.btn-primary:hover { opacity: 0.85; }

.video-placeholder {
  border: 1px dashed #ccc;
  border-radius: 10px;
  background: #fff;
  padding: 48px 20px;
  text-align: center;
  color: #999;
  font-size: 10pt;
}

.video-embed {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 960 / 1707;
  height: auto;
  border: 0;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.doc-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease;
}

.doc-card:hover { border-color: #999; }

.doc-card .doc-name {
  font-size: 10pt;
  font-weight: 600;
}

.doc-card .doc-type {
  font-size: 8pt;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .doc-grid { grid-template-columns: 1fr; }
}

/* ─── Document viewer pages ─── */

.view-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--dark);
  color: #fff;
  font-size: 9.5pt;
  gap: 12px;
}

.view-bar a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  white-space: nowrap;
}

.view-bar a:hover { opacity: 1; text-decoration: underline; }

.view-bar .view-title {
  font-weight: 600;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preface {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 0 24px;
  font-size: 10.5pt;
  color: #333;
}

.preface h2 {
  font-size: 9pt;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.preface p { margin-bottom: 10px; }

.preface ol {
  padding-left: 20px;
  margin: 10px 0 4px;
}

.preface li { margin-bottom: 4px; }

.pdf-frame {
  display: block;
  width: 100%;
  height: 85vh;
  border: none;
  margin-top: 18px;
}

/* ─── Innovation Fellowship page ───
   Light palette matching adeccogroup.com/innovationfoundation:
   pale warm background, dark navy text, terracotta orange accent. */

body.if-page { background: #f5f4f2; }

/* Their question / his answer, as the literal opening statement of the page */

.if-hero { padding: 50px 0 10px; }

.if-question, .if-answer {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 30pt;
  line-height: 1.25;
  color: #16232e;
}

.if-question { text-align: left; }
.if-answer { text-align: right; margin-top: 40px; }

.ifword { font-weight: 700; color: #c1502e; }

.if-attribution {
  font-size: 8.5pt;
  letter-spacing: 0.5px;
  color: #8a8377;
  margin-top: 10px;
}

.if-attribution.left { text-align: left; }

.if-attribution.right {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.if-name {
  font-weight: 700;
  color: #16232e;
  font-size: 9.5pt;
  letter-spacing: 0.2px;
}

.if-photo-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #c1502e;
  flex-shrink: 0;
}

.if-photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Motivation flow */

.motivation-flow { padding: 34px 0 10px; }
.motivation-flow p { font-size: 11pt; color: #33302b; margin-bottom: 20px; }

.motivation-tagline {
  text-align: center;
  font-size: 19pt;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #16232e;
  margin: 36px 0;
}

.together-title {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 19pt;
  color: #16232e;
  margin: 46px 0 30px;
}

.together-visual {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 22px;
  text-align: center;
}

.together-step {
  flex: 1;
  max-width: 190px;
  font-size: 9.5pt;
  color: #45403a;
  line-height: 1.5;
}

.together-step .icon { display: block; margin: 0 auto 10px; }
.together-step strong { color: #16232e; font-weight: 700; }

.together-subline {
  text-align: center;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 12.5pt;
  color: #6b6459;
  margin-bottom: 40px;
}

.if-signature {
  margin: 30px 0 10px;
  padding-top: 20px;
  border-top: 1px solid #e2ddd5;
  font-size: 9.5pt;
  color: #6b6459;
  line-height: 1.6;
}

.if-signature strong { color: #16232e; }

/* Illustrated flight-route map: breaks out of the narrow column to full width */

.flyer-map-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f5f4f2;
  padding: 40px 0 4px;
  margin-bottom: 8px;
}

.flyer-map-label {
  text-align: center;
  font-size: 7.5pt;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a8377;
  margin-bottom: 6px;
}

.flyer-map-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.flyer-map-inner svg { width: 100%; height: auto; display: block; }

.flyer-map-inner .land { fill: #e2ddd6; stroke: #d2cabd; stroke-width: 0.6; }
.flyer-map-inner .leader { stroke: #c7c0b5; stroke-width: 1; stroke-dasharray: 2,2; }
.flyer-map-inner .leg-main { fill: none; stroke: #c1502e; stroke-width: 2.6; stroke-linecap: round; }
.flyer-map-inner .leg-secondary { fill: none; stroke: #c1502e; stroke-width: 1.1; stroke-linecap: round; opacity: 0.45; }
.flyer-map-inner .plane path { fill: #c1502e; }
.flyer-map-inner .pin { fill: #c1502e; stroke: #f5f4f2; stroke-width: 1.5; }
.flyer-map-inner .pin-home { fill: #16232e; }
.flyer-map-inner .loc { color: #16232e; fill: #16232e; }
.flyer-map-inner .loc-label { font-size: 12.5px; font-weight: 600; fill: #16232e; letter-spacing: 0.2px; font-family: -apple-system, "Segoe UI", Arial, Helvetica, sans-serif; }

.flyer-download {
  display: block;
  text-align: center;
  margin: 24px 0 8px;
  font-size: 8.3pt;
  color: #8a8377;
  text-decoration: underline;
}

.flyer-download:hover { color: #16232e; }

@media (max-width: 600px) {
  .if-question, .if-answer { font-size: 19pt; }
  .motivation-tagline { font-size: 16pt; }
  .together-visual { gap: 18px; }
}
