/* Nana Kusi Appiah personal website
   Colours, type and spacing live in the variables below. Change them here and the whole site follows. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --forest: #123D2B;
  --deep: #0C2A1E;
  --leaf: #2A7448;
  --gold: #E0A82E;
  --ochre: #7E5A10;
  --soil: #3A2A1C;
  --paper: #F2F4EA;
  --soft: #E6EADB;
  --ink: #18201B;
  --body: #33403A;
  --light: #DDE6DC;
  --muted: #A9BBAE;
  --line: #C9D0BE;
  --head: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --text: "DM Sans", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; color: inherit; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--deep); padding: 10px 16px; border-radius: 6px; font-weight: 700; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 96px 0; }
.sec-tight { padding: 64px 0; }
.dark { background: var(--forest); color: var(--paper); }
.deep { background: var(--deep); color: var(--paper); }
.soft { background: var(--soft); }
.soil { background: var(--soil); color: var(--paper); }
.dark p, .deep p, .soil p { color: var(--light); }
.dark a:not(.btn), .deep a:not(.btn), .soil a:not(.btn) { color: var(--gold); }
.dark a:not(.btn):hover, .deep a:not(.btn):hover { color: #F3C766; }

.eyebrow { display: block; margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre); }
.dark .eyebrow, .deep .eyebrow, .soil .eyebrow { color: var(--gold); }
.lead { font-size: 21px; line-height: 1.55; }
.note { font-size: 16px; color: #4D574F; }
.dark .note, .deep .note { color: var(--muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 48px; }
.section-head h2 { max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 28px; border-radius: 999px; font-family: var(--text); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: #ECBA4A; color: var(--deep); }
.btn-ghost { border-color: var(--light); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-dark { background: var(--forest); color: var(--paper); }
.btn-dark:hover { background: var(--deep); color: #fff; }
.btn-line { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-line:hover { background: var(--forest); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.arrow-link { font-weight: 700; color: var(--leaf); text-decoration: none; }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--forest); color: var(--paper); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 84px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -0.01em; color: var(--paper); text-decoration: none; padding: 10px 0; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px 28px; }
.nav a { color: var(--light); text-decoration: none; font-weight: 500; font-size: 17px; padding: 12px 0; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
.nav .btn { padding: 11px 22px; min-height: 46px; font-size: 16px; color: var(--deep); }
.nav .btn:hover { color: var(--deep); }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--light); color: var(--paper); border-radius: 999px; font: 700 16px var(--text); padding: 10px 18px; min-height: 46px; cursor: pointer; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .js .nav { display: none; }
  .js .site-header.open .nav { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { flex-direction: column; align-items: stretch; width: 100%; padding: 8px 0 24px; gap: 0; }
  .nav a { padding: 14px 0; border-top: 1px solid rgba(221,230,220,.18); font-size: 19px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .nav .btn { margin-top: 16px; border-top: 0; }
}

/* Hero */
.hero { padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .lead { margin: 0; color: var(--light); max-width: 580px; }
.hero-copy .eyebrow { margin: 0; }
.page-hero { padding: 64px 0 88px; }
.page-hero .lead { color: var(--light); max-width: 720px; margin: 24px 0 0; }

/* Photos */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: #CFD8C8; }
.photo figcaption { margin-top: 12px; font-size: 15px; line-height: 1.45; color: #4D574F; }
.dark .photo figcaption, .deep .photo figcaption { color: var(--muted); }
.ar-45 img { aspect-ratio: 4 / 5; }
.ar-34 img { aspect-ratio: 3 / 4; }
.ar-43 img { aspect-ratio: 4 / 3; }
.ar-32 img { aspect-ratio: 3 / 2; }
.ar-169 img { aspect-ratio: 16 / 9; }
.ar-11 img { aspect-ratio: 1 / 1; }
.ar-wide img { aspect-ratio: 21 / 9; }
.hero-photo img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }

/* Strip of names */
.seen { padding: 32px 0; border-bottom: 1px solid var(--line); }
.seen .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 34px; }
.seen .eyebrow { margin: 0; color: #4D574F; }
.seen span { font-weight: 700; color: var(--body); }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: 1.2fr 0.8fr; }
.split-top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stack > * + * { margin-top: 24px; }
.prose { max-width: 720px; }
.prose p { font-size: 19px; line-height: 1.7; color: var(--body); }
.prose p.big { font-size: 22px; line-height: 1.55; color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; margin-top: 48px; }
.stat strong { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--gold); }
.stat span { display: block; margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--light); max-width: 300px; }
.stats-light .stat strong { color: var(--forest); }
.stats-light .stat span { color: var(--body); }

/* Cards */
.card { display: flex; flex-direction: column; gap: 16px; }
.card .photo img { aspect-ratio: 4 / 3; }
.card h3 { margin-top: 8px; }
.card p { margin: 0; color: var(--body); }
.dark .card p, .deep .card p { color: var(--light); }
.card .meta { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ochre); }
.dark .card .meta, .deep .card .meta { color: var(--gold); }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.box h3 { margin-bottom: 12px; }
.box p:last-child { margin-bottom: 0; }
.dark .box { background: rgba(255,255,255,.06); border-color: rgba(221,230,220,.2); }
.step-num { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: var(--forest); color: var(--gold); font-family: var(--head); font-weight: 800; font-size: 22px; margin-bottom: 16px; }

/* News list */
.news { list-style: none; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 260px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 26px 0; text-decoration: none; color: var(--ink); }
.news a:hover .news-title { color: var(--leaf); text-decoration: underline; }
.news-src { font-size: 15px; font-weight: 700; color: var(--ochre); letter-spacing: 0.02em; }
.news-title { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; }
.news-go { font-weight: 700; color: var(--leaf); white-space: nowrap; }

/* Quote */
.quote { text-align: center; padding: 104px 0; }
.quote blockquote { margin: 0 auto; max-width: 940px; font-family: var(--head); font-weight: 800; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.02em; color: var(--paper); }
.quote cite { display: block; margin-top: 28px; font-family: var(--text); font-style: normal; font-size: 17px; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; border-left: 3px solid var(--gold); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 36px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: var(--forest); border: 3px solid var(--gold); }
.timeline .when { display: block; font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--forest); }
.timeline p { margin: 6px 0 0; color: var(--body); max-width: 640px; }
.dark .timeline .when { color: var(--gold); }
.dark .timeline p { color: var(--light); }
.dark .timeline li::before { background: var(--deep); }

/* Beliefs */
.beliefs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.beliefs li { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.18; letter-spacing: -0.01em; border-top: 4px solid var(--gold); padding-top: 20px; }

/* Lists */
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--body); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }
.dark .ticks li { color: var(--light); }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 14px 24px; margin: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--body); }

/* Stage list */
.stages { list-style: none; border-top: 1px solid rgba(221,230,220,.25); }
.stages li { display: grid; grid-template-columns: 150px 1fr; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid rgba(221,230,220,.25); }
.stages .when { font-weight: 700; color: var(--gold); }
.stages h3 { font-size: 23px; }
.stages p { margin: 6px 0 0; }

/* Video */
.video { max-width: 380px; width: 100%; }
.video-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.video-play img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .3s ease; }
.video-wide { max-width: 640px; }
.video-wide .video-play img { aspect-ratio: 16 / 9; }
.video-play:hover img { transform: scale(1.03); }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,42,30,0) 45%, rgba(12,42,30,.65) 100%); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.play::before { content: ""; position: absolute; left: 33px; top: 25px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent var(--deep); }
.video-label { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; font-weight: 700; font-size: 17px; text-align: left; line-height: 1.35; }
.video iframe { display: block; width: 100%; border: 0; border-radius: var(--radius); background: #fff; }
.video-caption { margin-top: 14px; font-size: 16px; line-height: 1.5; }
.video-caption a { font-weight: 700; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 16px; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; padding: 13px 15px; min-height: 52px; border: 1.5px solid #7A8B7C; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--forest); }
.hp { display: none; }
.form .btn { justify-self: start; }
.cta-buttons { justify-content: flex-end; }
.pull { margin: 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--gold); font-family: var(--head); font-weight: 700; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); }
.dark .pull, .deep .pull { color: var(--paper); }
.pull cite { display: block; margin-top: 14px; font-family: var(--text); font-weight: 500; font-style: normal; font-size: 16px; letter-spacing: 0; color: #4D574F; }
.dark .pull cite, .deep .pull cite { color: var(--muted); }
.roles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.roles li { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.roles strong { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); }
.roles span { font-size: 16px; color: #4D574F; }
.focus .card .photo img { aspect-ratio: 4 / 3; }
.qcard { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.38; letter-spacing: -0.005em; color: var(--ink); border-top: 4px solid var(--gold); }
.qcard cite { font-family: var(--text); font-weight: 500; font-style: normal; font-size: 15px; letter-spacing: 0; color: #4D574F; }
.qcard.box-dark { color: var(--paper); border-top-color: var(--gold); }
.qcard.box-dark cite { color: var(--muted); }
.areas-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.areas-nav .btn { min-height: 46px; padding: 10px 20px; font-size: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr; } }
.box-dark { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.box-dark p, .box-dark .ticks li { color: var(--light); }
.box-dark h3 { color: var(--paper); }
.stats-4 { grid-template-columns: repeat(4, 1fr); margin-top: 64px; }
.form-light, .dark .box.form-light { background: var(--paper); border: 0; }
.dark .form-light .field label { color: var(--ink); }
@media (max-width: 900px) { .stats-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cta-buttons { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--deep); color: var(--light); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-name { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--paper); }
.site-footer p { color: var(--muted); font-size: 16px; margin: 10px 0 0; }
.site-footer h2 { font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 8px; }
.foot-links a { color: var(--light); text-decoration: none; font-size: 17px; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(221,230,220,.18); font-size: 15px; color: var(--muted); }

/* Social icons */
.social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--forest); font-weight: 700; text-decoration: none; }
.social a:hover { border-color: var(--forest); }
.social svg { width: 20px; height: 20px; flex: none; }
.dark .social a, .deep .social a { background: transparent; color: var(--paper); border-color: rgba(221,230,220,.45); }
.dark .social a:hover, .deep .social a:hover { border-color: var(--gold); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .photo img { aspect-ratio: 1 / 1; }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; }

/* Responsive */
@media (max-width: 1080px) {
  .news a { grid-template-columns: 1fr auto; }
  .news-src { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .sec { padding: 72px 0; }
  .hero { padding: 32px 0 72px; }
  .hero-grid, .split, .split-wide { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 520px; }
  .grid-3, .beliefs { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .stages li { grid-template-columns: 1fr; }
  .order-first-sm { order: -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 60px 0; }
  .lead { font-size: 19px; }
  .grid-2, .form { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat span { font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .news-title { font-size: 20px; }
  .news-go { display: none; }
  .news a { grid-template-columns: 1fr; }
  .box { padding: 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav .btn { width: auto; }
  .foot-grid { grid-template-columns: 1fr; }
  .video { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .video-play img { transition: none; }
}

.invite-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding: 28px 32px; border-radius: var(--radius); background: var(--soft); }
.invite-strip p { margin: 0; font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); max-width: 640px; }
.nav .btn[aria-current="page"] { box-shadow: none; }

/* Laptop and desktop tuning: keep the whole first screen visible on common laptops (1280x720, 1366x768) */
@media (min-width: 901px) {
  h1 { font-size: clamp(44px, 4.4vw, 66px); }
  .hero { padding: 40px 0 72px; }
  .hero-copy { gap: 22px; }
  .hero-photo img { max-height: min(72vh, 640px); }
  .page-hero { padding: 56px 0 72px; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding: 28px 0 56px; }
  h1 { font-size: clamp(42px, 4vw, 58px); }
  .hero-copy .lead { font-size: 19px; }
  .hero-photo img { max-height: calc(100vh - 150px); }
  .page-hero { padding: 36px 0 56px; }
}
/* Large desktop screens: use more of the width and scale text up slightly */
@media (min-width: 1800px) {
  .wrap { max-width: 1380px; }
  body { font-size: 19px; }
  h1 { font-size: 78px; }
  h2 { font-size: 56px; }
  .lead { font-size: 23px; }
  .hero-photo img { max-height: 720px; }
}
.sec-tight .lead { max-width: 760px; }
