/* ============================================================
   Mai Olopade — shared styles
   Identity: adire indigo + brass gold + warm paper
   Mobile-first, responsive, accessible.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Mulish:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* palette */
  --ink:        #1c1b18;   /* warm near-black, body text */
  --indigo:     #20306a;   /* adire indigo, brand */
  --indigo-deep:#161f45;   /* deeper indigo, hero floor */
  --indigo-soft:#3a4a86;   /* lifted indigo for accents on dark */
  --paper:      #faf6ef;   /* warm light reading surface */
  --paper-2:    #f2ebde;   /* secondary paper, section bands */
  --brass:      #c0883b;   /* gold accent */
  --brass-deep: #9c6c28;   /* gold on light, for contrast */
  --clay:       #b0604a;   /* restrained warm accent (beauty note) */
  --line:       #e0d8c8;   /* hairline on paper */
  --line-dark:  rgba(255,255,255,.16);

  /* type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Mulish', system-ui, -apple-system, sans-serif;

  /* scale */
  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 14px; height: 14px;
  background: var(--brass);
  transform: rotate(45deg);   /* adire lozenge motif */
  display: inline-block;
  flex: none;
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--brass-deep); }
.nav-links { display: flex; gap: clamp(1rem, 4vw, 2.25rem); align-items: center; }
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.35rem 0;
  position: relative;
}
.nav-links a[aria-current="page"] { color: var(--brass-deep); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brass); transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn):focus-visible::after { width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 700; font-size: 0.98rem;
  text-decoration: none; cursor: pointer;
  padding: 0.8rem 1.4rem; border-radius: 2px;
  border: 1px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--indigo); color: var(--paper); }
.btn-primary:hover { background: var(--indigo-deep); }
.btn-gold { background: var(--brass); color: var(--ink); }
.btn-gold:hover { background: var(--brass-deep); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-dark); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: var(--paper); }

/* ---------- generic sections ---------- */
.band { padding-block: var(--section-y); }
.band--paper2 { background: var(--paper-2); }
.band--indigo { background: var(--indigo); color: var(--paper); }
.band--indigo .eyebrow { color: var(--brass); }
.band--indigo .eyebrow::before { background: var(--brass); }
.band--ink { background: var(--ink); color: var(--paper); }

h2.section-title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); max-width: 18ch; }
.lede { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); line-height: 1.5; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, var(--indigo-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.hero::after {  /* adire-inspired faint lozenge field */
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image:
    linear-gradient(45deg, var(--paper) 1px, transparent 1px),
    linear-gradient(-45deg, var(--paper) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 10vw, 7.5rem); }
.hero-name {
  font-family: var(--body); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.82rem; color: var(--brass); margin: 0 0 1.6rem;
}
.proverb {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.proverb-en {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 300;
  color: var(--brass);
  margin: 0 0 1.8rem;
}
.hero p.lede { max-width: 50ch; color: color-mix(in srgb, var(--paper) 92%, transparent); }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- "what I do" two-column ---------- */
.split { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); }
@media (min-width: 820px) { .split { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }

/* ---------- targeting strip ---------- */
.targets { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0 0; }
.chip {
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.5rem 1rem; border: 1px solid var(--brass);
  color: var(--brass); border-radius: 2px;
}
.chip--solid { background: var(--brass); color: var(--indigo-deep); }

/* ---------- off-time grid ---------- */
.offtime-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 700px) { .offtime-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .offtime-grid { grid-template-columns: repeat(3, 1fr); } }
.offtime-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
}
.offtime-illus {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; min-height: 116px; position: relative;
}
.offtime-illus::after {  /* faint adire lozenge field, ties to hero */
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image:
    linear-gradient(45deg, var(--paper) 1px, transparent 1px),
    linear-gradient(-45deg, var(--paper) 1px, transparent 1px);
  background-size: 22px 22px;
}
.offtime-illus svg { width: 60px; height: 60px; position: relative; z-index: 1; }
.offtime-illus svg .stroke { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offtime-illus svg .accent { fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.offtime-illus svg .accent-fill { fill: var(--brass); }
.offtime-body { padding: 1.35rem 1.4rem 1.5rem; }
.offtime-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.offtime-card .ph { color: var(--clay); font-weight: 600; font-style: italic; }

/* ---------- proof stories ---------- */
.epigraph {
  text-align: left; border-left: 3px solid var(--brass); padding-left: 1.3rem; margin-bottom: 2.5rem;
}
.epigraph .yo { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem,1rem+2vw,2rem); margin: 0 0 0.3rem; }
.epigraph .en { color: var(--brass-deep); font-weight: 500; margin: 0; }

.capability { border-top: 1px solid var(--line); padding-top: 2.2rem; margin-top: 2.6rem; }
.capability:first-of-type { border-top: none; margin-top: 1.5rem; padding-top: 0; }
.cap-title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.1rem); margin-bottom: 1.6rem; color: var(--indigo); }
.story { margin-bottom: 1.8rem; }
.story:last-child { margin-bottom: 0; }
.story h3 { font-size: 1.2rem; font-family: var(--body); font-weight: 700; margin-bottom: 0.5rem; }
.metric {
  display: inline-block; background: var(--paper-2); border: 1px dashed var(--brass-deep);
  color: var(--brass-deep); font-weight: 700; font-size: 0.85rem;
  padding: 0.3rem 0.7rem; border-radius: 2px; margin-bottom: 0.7rem;
}

/* ---------- contact ---------- */
.contact-hero { background: var(--indigo); color: var(--paper); }
.contact-grid { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.contact-card h3 { font-size: 1.3rem; color: var(--indigo); }
.contact-card .row { display: flex; flex-direction: column; gap: 0.55rem; }
.contact-link {
  text-decoration: none; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
}
.contact-card .contact-link:last-child { border-bottom: none; }
.contact-link:hover { color: var(--brass-deep); }
.contact-link .tag { color: var(--clay); }
.primary-cta-card {
  background: var(--brass); color: var(--indigo-deep);
  border: none; border-radius: 3px; padding: 2rem;
  text-align: center; margin-top: 2.2rem;
}
.primary-cta-card h2 { color: var(--indigo-deep); font-size: clamp(1.6rem,1.2rem+2vw,2.4rem); margin-bottom: 0.6rem; }
.primary-cta-card p { color: var(--indigo-deep); max-width: 46ch; margin: 0 auto 1.4rem; }

/* ---------- closing CTA ---------- */
.closer { text-align: center; }
.closer .yo-small { font-family: var(--display); font-style: italic; color: var(--brass); font-size: 1.15rem; margin-bottom: 0.6rem; }
.closer h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); max-width: 24ch; margin: 0 auto 1.6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--paper) 70%, transparent); padding-block: 2.5rem; font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer a { color: var(--brass); text-decoration: none; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- focus ---------- */
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- skip link ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--brass); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
