/*
Theme Name: Adriaan Brits Studio
Theme URI: https://www.adriaanbrits.com/
Description: Gutenberg-first investor relations and reputation communications theme.
Author: Adriaan Brits
Version: 1.0.1
Text Domain: adriaan-studio
*/

:root {
  --ab-ink: #102033;
  --ab-navy: #0a2540;
  --ab-blue: #1c5d99;
  --ab-teal: #087e7b;
  --ab-gold: #d7aa4a;
  --ab-cream: #f6f3ed;
  --ab-soft: #f4f7fa;
  --ab-muted: #647386;
  --ab-line: #dce4eb;
  --ab-white: #fff;
  --ab-shadow: 0 24px 70px rgba(10,37,64,.14);
  --ab-radius: 20px;
  --ab-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ab-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ab-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ab-teal); }
img { max-width: 100%; height: auto; }
.ab-wrap { width: min(calc(100% - 40px), var(--ab-width)); margin-inline: auto; }
.ab-skip { position: fixed; top: -80px; left: 16px; z-index: 9999; padding: 10px 15px; color: var(--ab-ink); background: #fff; }
.ab-skip:focus { top: 16px; }

.ab-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(220,228,235,.9); backdrop-filter: blur(14px); }
.ab-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ab-brand { display: inline-flex; flex-direction: column; color: var(--ab-navy); text-decoration: none; line-height: 1; }
.ab-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: -.025em; }
.ab-brand span { margin-top: 7px; color: var(--ab-muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ab-nav { display: flex; align-items: center; gap: 27px; font-size: 14px; font-weight: 750; }
.ab-nav a { color: var(--ab-ink); text-decoration: none; }
.ab-nav a:hover { color: var(--ab-blue); }
.ab-nav__button { padding: 11px 18px; color: #fff !important; background: var(--ab-navy); border-radius: 999px; }
.ab-nav__button:hover { background: var(--ab-blue); }
.ab-menu-toggle { display: none; border: 0; background: transparent; color: var(--ab-ink); font-size: 25px; cursor: pointer; }

.ab-hero { position: relative; min-height: 690px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--ab-navy); }
.ab-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,23,41,.98) 0%, rgba(7,33,58,.91) 46%, rgba(7,33,58,.48) 78%, rgba(7,33,58,.45) 100%), url('https://www.adriaanbrits.com/wp-content/uploads/2023/03/breaking-news-investor-relations-financial-adriaan-brits.png') center/cover no-repeat; }
.ab-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48%; height: 5px; background: var(--ab-gold); }
.ab-hero__content { position: relative; max-width: 770px; padding: 96px 0; }
.ab-eyebrow { margin: 0 0 20px; color: #f0c96f; font-size: 13px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.ab-hero h1 { margin: 0 0 24px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px,6.2vw,82px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.ab-hero__lead { max-width: 690px; margin: 0 0 34px; color: rgba(255,255,255,.82); font-size: 21px; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.ab-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.ab-button:hover { transform: translateY(-2px); }
.ab-button--gold { color: var(--ab-navy); background: var(--ab-gold); }
.ab-button--ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.ab-button--navy { color: #fff; background: var(--ab-navy); }

.ab-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--ab-line); border-bottom: 1px solid var(--ab-line); }
.ab-proof__item { padding: 24px 18px; text-align: center; background: #fff; }
.ab-proof__item strong { display: block; color: var(--ab-navy); }
.ab-proof__item span { color: var(--ab-muted); font-size: 13px; }
.ab-section { padding: 86px 0; }
.ab-section--soft { background: var(--ab-soft); }
.ab-section--cream { background: var(--ab-cream); }
.ab-section__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.ab-section__head h2 { max-width: 690px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4.5vw,54px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.ab-section__head p { max-width: 520px; margin: 0; color: var(--ab-muted); }
.ab-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.ab-portrait { position: relative; }
.ab-portrait::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 68%; height: 72%; background: var(--ab-gold); border-radius: var(--ab-radius); }
.ab-portrait img { position: relative; display: block; width: 100%; border-radius: var(--ab-radius); box-shadow: var(--ab-shadow); }
.ab-intro__copy h2 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px,4.3vw,52px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.ab-intro__copy p { margin: 0 0 22px; color: var(--ab-muted); }
.ab-services { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
.ab-service { min-height: 275px; padding: 28px; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); box-shadow: 0 10px 30px rgba(10,37,64,.05); }
.ab-service__number { display: block; margin-bottom: 45px; color: var(--ab-gold); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.ab-service h3 { margin: 0 0 11px; font-size: 21px; line-height: 1.25; }
.ab-service p { margin: 0; color: var(--ab-muted); font-size: 15px; }
.ab-reputation { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.ab-reputation__image { overflow: hidden; border-radius: var(--ab-radius); box-shadow: var(--ab-shadow); }
.ab-reputation__image img { display: block; width: 100%; }
.ab-reputation__copy h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px,4.5vw,56px); font-weight: 500; line-height: 1.08; }
.ab-reputation__copy p { color: var(--ab-muted); }
.ab-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ab-pillar { padding: 30px; color: #fff; background: var(--ab-navy); border-radius: var(--ab-radius); }
.ab-pillar span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 30px; color: var(--ab-navy); background: var(--ab-gold); border-radius: 50%; font-weight: 900; }
.ab-pillar h3 { margin: 0 0 9px; font-size: 22px; }
.ab-pillar p { margin: 0; color: rgba(255,255,255,.69); font-size: 15px; }
.ab-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ab-card { overflow: hidden; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); }
.ab-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#d9e4ec,#f4ead4); }
.ab-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ab-card__body { padding: 24px; }
.ab-card__meta { margin-bottom: 9px; color: var(--ab-teal); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ab-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.ab-card h3 a { color: var(--ab-ink); text-decoration: none; }
.ab-card p { margin: 0; color: var(--ab-muted); font-size: 14px; }
.ab-agency { padding: 55px; color: #fff; background: linear-gradient(120deg,var(--ab-navy),#173e61); border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ab-agency h2 { margin: 0 0 10px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; }
.ab-agency p { max-width: 710px; margin: 0; color: rgba(255,255,255,.7); }
.ab-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.ab-contact h2 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 48px; font-weight: 500; line-height: 1.08; }
.ab-contact__intro p { color: var(--ab-muted); }
.ab-form { padding: 34px; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); box-shadow: var(--ab-shadow); }
.ab-form label { color: var(--ab-ink); font-size: 14px; font-weight: 750; }
.ab-form input:not([type="submit"]), .ab-form textarea, .ab-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--ab-line); border-radius: 9px; font: inherit; }
.ab-form input[type="submit"] { padding: 12px 23px; color: #fff; background: var(--ab-navy); border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }

.ab-titlebar { padding: 72px 0 64px; color: #fff; background: linear-gradient(120deg,#071d31,#123e64); }
.ab-breadcrumb { margin-bottom: 15px; color: rgba(255,255,255,.62); font-size: 13px; }
.ab-breadcrumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.ab-titlebar h1 { max-width: 960px; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px,5.3vw,66px); font-weight: 500; line-height: 1.07; letter-spacing: -.04em; }
.ab-titlebar__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: rgba(255,255,255,.66); font-size: 14px; }
.ab-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(240px,1fr); gap: 64px; align-items: start; padding-top: 60px; padding-bottom: 86px; }
.ab-content { min-width: 0; }
.ab-content > *:first-child { margin-top: 0; }
.ab-content h1 { font-size: 40px; }
.ab-content h2, .ab-content h3, .ab-content h4 { margin: 1.65em 0 .55em; color: var(--ab-navy); line-height: 1.22; letter-spacing: -.025em; }
.ab-content h2 { font-family: Georgia, "Times New Roman", serif; font-size: 33px; font-weight: 500; }
.ab-content h3 { font-size: 24px; }
.ab-content h5 { color: var(--ab-muted); font-size: 18px; }
.ab-content p, .ab-content ul, .ab-content ol { margin: 0 0 1.25em; }
.ab-content blockquote { margin: 30px 0; padding: 22px 27px; border-left: 4px solid var(--ab-gold); background: var(--ab-cream); }
.ab-content img { border-radius: 14px; }
.ab-content iframe, .ab-content video { width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 14px; }
.ab-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.ab-content td, .ab-content th { padding: 10px 12px; border: 1px solid var(--ab-line); }
.ab-featured { margin: -22px 0 42px; overflow: hidden; border-radius: var(--ab-radius); box-shadow: var(--ab-shadow); }
.ab-featured img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.ab-sidebar { position: sticky; top: 108px; }
.ab-sidebar__box { padding: 26px; background: var(--ab-soft); border: 1px solid var(--ab-line); border-radius: var(--ab-radius); }
.ab-sidebar__box + .ab-sidebar__box { margin-top: 18px; }
.ab-sidebar h2 { margin: 0 0 13px; font-size: 18px; }
.ab-sidebar p { margin: 0 0 16px; color: var(--ab-muted); font-size: 14px; }
.ab-sidebar ul { margin: 0; padding: 0; list-style: none; }
.ab-sidebar li + li { margin-top: 9px; }
.ab-sidebar a { color: var(--ab-ink); font-size: 14px; text-decoration: none; }
.ab-sidebar .ab-button--navy { color: #fff; }
.ab-author { display: flex; gap: 16px; margin-top: 48px; padding: 24px; background: var(--ab-soft); border-radius: var(--ab-radius); }
.ab-author img { width: 58px; height: 58px; border-radius: 50%; }
.ab-author strong { display: block; }
.ab-author p { margin: 4px 0 0; color: var(--ab-muted); font-size: 14px; }
.ab-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; padding-top: 25px; border-top: 1px solid var(--ab-line); }
.ab-pager a { display: block; padding: 16px; color: var(--ab-ink); border: 1px solid var(--ab-line); border-radius: 11px; text-decoration: none; }
.ab-pager__next { text-align: right; }
.ab-related { padding: 68px 0 84px; background: var(--ab-soft); }
.ab-related h2 { margin: 0 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.ab-empty { padding: 100px 0; text-align: center; }

.ab-footer { padding: 62px 0 28px; color: rgba(255,255,255,.72); background: #061828; }
.ab-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.ab-footer h2, .ab-footer h3 { margin-top: 0; color: #fff; }
.ab-footer h2 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.ab-footer h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.ab-footer p { max-width: 480px; font-size: 14px; }
.ab-footer ul { margin: 0; padding: 0; list-style: none; }
.ab-footer li + li { margin-top: 8px; }
.ab-footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.ab-footer a:hover { color: #fff; }
.ab-footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 980px) {
  .ab-intro, .ab-reputation, .ab-contact, .ab-layout { grid-template-columns: 1fr; }
  .ab-services { grid-template-columns: repeat(2,1fr); }
  .ab-cards { grid-template-columns: repeat(2,1fr); }
  .ab-sidebar { position: static; }
}
@media (max-width: 760px) {
  .ab-wrap { width: min(calc(100% - 28px), var(--ab-width)); }
  .ab-header__inner { min-height: 68px; }
  .ab-menu-toggle { display: block; }
  .ab-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 22px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--ab-line); box-shadow: var(--ab-shadow); }
  .ab-nav.is-open { display: flex; }
  .ab-nav__button { text-align: center; }
  .ab-hero { min-height: 610px; }
  .ab-hero__content { padding: 75px 0; }
  .ab-hero h1 { font-size: 47px; }
  .ab-hero__lead { font-size: 18px; }
  .ab-proof, .ab-services, .ab-pillars, .ab-cards, .ab-footer__grid { grid-template-columns: 1fr; }
  .ab-section { padding: 62px 0; }
  .ab-section__head { display: block; }
  .ab-section__head p { margin-top: 13px; }
  .ab-intro, .ab-reputation, .ab-contact { gap: 42px; }
  .ab-agency { display: block; padding: 32px; }
  .ab-agency .ab-button { margin-top: 22px; }
  .ab-titlebar { padding: 52px 0 48px; }
  .ab-layout { gap: 44px; padding-top: 42px; }
  .ab-pager { grid-template-columns: 1fr; }
  .ab-pager__next { text-align: left; }
}
