/* seunsogbesan.com
   Brand: seun-career/pack/05-your-brand.md (web notes in ../brand-web.md).
   Mobile first: base styles are the phone layout; min-width queries add the rest. */

@font-face {
  font-family: "Carlito";
  src: url("../assets/fonts/carlito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Carlito";
  src: url("../assets/fonts/carlito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Primitives: her brand colours */
  --evergreen: #1D5C57;
  --evergreen-deep: #174A46;
  --evergreen-night: #13403C;
  --evergreen-soft: #2A6A64;
  --marigold: #E3A33C;
  --ink: #222A30;
  --ink-soft: #3A464E;
  --slate: #5E6B73;
  --mist: #EEF4F2;
  --paper: #FFFFFF;
  --hairline: #D3E0DC;

  /* Type: Carlito is the metric twin of Calibri, the font on her CV and emails */
  --font: "Carlito", Calibri, "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Display serif for the web only: headings, numbers and the logo's S's (OFL, assets/fonts) */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --text--2: 0.8125rem;
  --text--1: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  --text-0: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --text-2: clamp(1.45rem, 1.2rem + 1.1vw, 2.05rem);
  --text-3: clamp(1.75rem, 1.35rem + 1.9vw, 2.85rem);
  --text-5: clamp(3.05rem, 1.75rem + 6.4vw, 6.1rem);

  /* Space and layout */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --section-pad: clamp(3.75rem, 8vw, 7rem);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(19, 64, 60, 0.06), 0 10px 30px -12px rgba(19, 64, 60, 0.18);
  /* A small leaf, the shape of her logo, used for bullets */
  --leaf-big: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='37 18 191 262'%3E%3Cpath d='M128 280C268 253.8 252 96.6 128 18 28 86.1-12 248.6 128 280Z'/%3E%3C/svg%3E");
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 13.5C2 8 5.5 3 13.5 2.5 14 10.5 9 14 2.5 13.5Z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
strong { font-weight: 700; }
a { color: var(--evergreen); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--marigold); color: var(--ink); }
.sep { color: var(--marigold); padding-inline: 0.15em; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--mist { background: var(--mist); }
.section--evergreen { position: relative; overflow: hidden; background: var(--evergreen); color: var(--mist); }
/* A large, quiet leaf in the corner of the green section */
.section--evergreen::before { content: ""; position: absolute; right: -6rem; top: -5rem; width: 26rem; height: 40rem; background: var(--evergreen-soft); opacity: 0.55; transform: rotate(28deg); -webkit-mask: var(--leaf-big) center / contain no-repeat; mask: var(--leaf-big) center / contain no-repeat; pointer-events: none; }
.section--evergreen > .container { position: relative; }
.section--evergreen :focus-visible { outline-color: var(--paper); }

/* Section label: letter-spaced caps with a thin marigold rule, as on her CV */
.label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-size: var(--text--2);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.label::after { content: ""; flex: none; width: 3.5rem; height: 2px; border-radius: 1px; background: var(--marigold); }
.section--evergreen .label { color: var(--mist); }

.statement {
  max-width: 22ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  font-family: var(--display);
  font-size: clamp(1.95rem, 1.4rem + 2.3vw, 3.2rem);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.section--evergreen .statement { color: var(--paper); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 4px;
  background: var(--evergreen);
  color: var(--paper);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.btn:hover { background: var(--evergreen-deep); }
.btn svg { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .btn svg { transition: background-color 0.15s ease, transform 0.15s ease; }
  .btn:hover svg { transform: translate(2px, -2px); }
}
.link-quiet {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link-quiet:hover { border-bottom-width: 2px; }

/* ---------- Top bar ---------- */
.topbar { padding-block: 1.15rem; border-bottom: 1px solid var(--hairline); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--evergreen); text-decoration: none; }
.brand img { width: 1.6rem; height: auto; }
.brand span { font-family: var(--display); font-size: 1.2rem; font-weight: 560; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: var(--text--1); font-weight: 700; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--evergreen); text-decoration: underline; }
.nav .nav__out { color: var(--evergreen); }
.nav__in { display: none; }
@media (min-width: 720px) { .nav__in { display: inline; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(3.75rem, 8vw, 6.5rem); }
.hero__grid { display: grid; gap: 0; }
.hero__name {
  font-family: var(--display);
  font-size: clamp(3.2rem, 1.8rem + 6.6vw, 6.6rem);
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--evergreen);
  text-wrap: balance;
}
.hero__bar { width: 3.5rem; height: 5px; margin-top: clamp(1.1rem, 2.2vw, 1.6rem); border-radius: 1px; background: var(--marigold); }
.hero__role { margin-top: clamp(1.5rem, 3vw, 2.1rem); font-size: var(--text-1); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.hero__line {
  max-width: 20ch;
  margin-top: 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__intro { max-width: 60ch; margin-top: 1.1rem; color: var(--ink-soft); }
.facts { display: flex; flex-wrap: wrap; gap: 0.55rem 1.6rem; margin-top: 1.6rem; font-size: var(--text--1); font-weight: 700; }
.facts li { display: flex; align-items: center; gap: 0.6rem; }
.facts li::before { content: ""; flex: none; width: 0.8rem; height: 0.8rem; background: var(--marigold); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.9rem; margin-top: 2.1rem; }

/* The picture: a wide flat lay below the hero text, regulator's side left, industry's right */
.scene { position: relative; isolation: isolate; margin-top: clamp(2.75rem, 6vw, 4.5rem); margin-right: 14px; }
.scene picture { display: block; }
.scene img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--evergreen); }
.scene::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1.5px solid var(--marigold); border-radius: var(--radius); }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); row-gap: 0; align-items: start; }
  .hero__head { grid-column: 1 / -1; }
  .hero__lead { margin-top: 0.4rem; }
  .hero__body .hero__intro { margin-top: clamp(1.5rem, 3vw, 2.1rem); }
  .scene { margin-right: 20px; }
  .scene::before { inset: 20px -20px -20px 20px; }
}

/* ---------- Both sides of the table ---------- */
.sides { display: grid; }
.side { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.side__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--text--2);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evergreen);
}
.side__head::before { content: ""; flex: none; width: 0.85rem; height: 0.85rem; background: var(--marigold); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.role + .role { margin-top: 1.6rem; }
.role__when { font-size: var(--text--1); color: var(--slate); font-variant-numeric: tabular-nums; }
.role__org { margin-top: 0.2rem; font-family: var(--display); font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 540; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.role__title { margin-top: 0.25rem; font-size: var(--text--1); font-weight: 700; line-height: 1.4; color: var(--evergreen); }
.role__proof { margin-top: 0.65rem; color: var(--ink-soft); }

/* Her logo joins the 2 sides: one S on each side of the vein */
.sides__link { position: relative; display: grid; place-items: center; height: 5.5rem; }
.sides__link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dotted var(--marigold); }
.sides__link img { position: relative; width: 2.6rem; height: auto; padding: 0.55rem 0.7rem; box-sizing: content-box; border-radius: 50%; background: var(--mist); }

@media (min-width: 900px) {
  .sides { grid-template-columns: minmax(0, 1fr) 6rem minmax(0, 1fr); align-items: stretch; }
  .sides__link { height: auto; }
  .sides__link::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px dotted var(--marigold); }
}

/* Career strip, to scale in months */
.journey { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.journey__caption { margin-bottom: 0.9rem; font-size: var(--text--1); color: var(--slate); }
.journey__bar { display: flex; gap: 4px; height: 12px; }
.seg { flex: var(--m) 1 0%; border-radius: 6px; }
.seg--industry { background: var(--evergreen); }
.seg--regulator { background: var(--marigold); }
.journey__labels { display: grid; gap: 0.45rem; margin-top: 0.9rem; font-size: var(--text--1); }
.journey__labels li { display: flex; align-items: baseline; gap: 0.5rem; }
.journey__labels li::before { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-radius: 2px; transform: translateY(0.05em); }
.journey__labels .is-industry::before { background: var(--evergreen); }
.journey__labels .is-regulator::before { background: var(--marigold); }
.journey__labels strong { color: var(--ink); }
.journey__labels span { color: var(--slate); }

@media (min-width: 720px) {
  .journey__labels { display: flex; gap: 3px; }
  .journey__labels li { flex: var(--m) 1 0%; min-width: 0; flex-direction: column; gap: 0.1rem; }
  .journey__labels li::before { display: none; }
}

.training { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); font-size: var(--text--1); color: var(--ink-soft); }

/* ---------- Volume with judgement ---------- */
.figures { display: grid; gap: 2.25rem; margin-bottom: clamp(2.75rem, 5vw, 3.75rem); }
.figure { position: relative; padding-top: 1.25rem; border-top: 1px solid rgba(238, 244, 242, 0.28); }
.figure::before { content: ""; position: absolute; top: -2px; left: 0; width: 2.5rem; height: 3px; background: var(--marigold); }
.figure__num {
  font-family: var(--display);
  font-size: clamp(3.4rem, 2.3rem + 4vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variant-numeric: lining-nums;
}
.figure__about { margin-right: 0.45rem; font-family: var(--font); font-size: var(--text-0); font-weight: 400; letter-spacing: 0; color: var(--mist); }
.figure__text { max-width: 30ch; margin-top: 0.75rem; color: var(--mist); }

.stories { display: grid; gap: 1.25rem; }
.story { padding: clamp(1.5rem, 3vw, 2.2rem); border-top: 3px solid var(--marigold); border-radius: var(--radius); background: var(--evergreen-deep); }
.story h3 { font-family: var(--display); font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); font-weight: 520; line-height: 1.2; color: var(--paper); }
.story p { margin-top: 0.6rem; color: var(--mist); }

@media (min-width: 760px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
@media (min-width: 900px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Same discipline, new code ---------- */
.lede { max-width: 62ch; margin-top: -0.75rem; margin-bottom: 2.25rem; font-size: var(--text-1); line-height: 1.5; color: var(--ink-soft); }
.carry { display: grid; gap: 1rem; }
.carry li { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; align-items: center; align-content: start; padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--mist); }
.carry .icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--paper); color: var(--evergreen); }
.carry .icon svg { width: 1.6rem; height: 1.6rem; }
.carry li > p { grid-column: 2; }
.carry h3 { font-family: var(--display); font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); font-weight: 540; line-height: 1.2; color: var(--evergreen); }
.carry p { margin-top: 0.3rem; color: var(--ink-soft); }
.closing { max-width: 62ch; margin-top: 2.25rem; font-size: var(--text-1); line-height: 1.5; }
.closing strong { color: var(--evergreen); }
@media (min-width: 700px) { .carry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }

/* ---------- Lifting people up ---------- */
.people { display: grid; gap: 1.15rem 3rem; }
.people li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); }
.people li::before { content: ""; position: absolute; top: 0.45em; left: 0; width: 0.8rem; height: 0.8rem; background: var(--marigold); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
@media (min-width: 860px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.contact .statement { max-width: 20ch; }
.contact__text { max-width: 54ch; font-size: var(--text-1); line-height: 1.5; color: var(--ink-soft); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.9rem; margin-top: 2rem; }
@media (min-width: 900px) {
  .contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: end; }
  .contact .statement { margin-bottom: 0; }
  .contact__body { padding-left: 2.5rem; border-left: 2px solid var(--marigold); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 2.25rem; background: var(--evergreen-night); color: var(--mist); font-size: var(--text--1); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__brand img { width: 1.45rem; height: auto; }
.site-footer__brand strong { font-family: var(--display); font-size: 1.15rem; font-weight: 540; color: var(--paper); }
.site-footer a { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }

/* ---------- Print: a clean one-pager if someone prints it ---------- */
@media print {
  .scene, .sides__link, .hero__actions, .contact__actions { display: none; }
  .section--evergreen, .site-footer { background: none; color: var(--ink); }
  .section--evergreen .statement, .figure__num, .story h3 { color: var(--ink); }
  .figure__about, .figure__text, .story p { color: var(--ink-soft); }
  .section { padding-block: 1.5rem; }
}
