/* Paul Alain Nyoum portfolio: component styles.
   Layout utilities come from Tailwind (css/tailwind.css); the look lives here. */

@font-face { font-family: Bricolage; src: url("../assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Figtree; src: url("../assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --forest: #18231d;
  --forest-2: #22332a;
  --gold: #d99b37;
  --gold-soft: #f1d6a5;
  --ink: #191713;
  --muted: #615e55;
  --kicker: #7d5013;
  --line: rgba(37, 35, 28, .13);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(37, 29, 17, .10);
  --display: Bricolage, Arial, sans-serif;
  --body: Figtree, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(217, 155, 55, .35); }
:focus-visible { outline: 3px solid #b77b24; outline-offset: 4px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--gold-soft); }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: .7rem 1rem; background: #fff; border-radius: 10px; font-weight: 700; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { width: 1.1rem; height: 1.1rem; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(247, 243, 233, .97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(37, 35, 28, .08); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.1rem var(--display); letter-spacing: -.035em; white-space: nowrap; }
.brand svg { width: 38px; height: 38px; }
.nav-link { position: relative; font-size: .92rem; font-weight: 650; color: #5d5a52; transition: color .2s; }
.nav-link:hover, .nav-link[aria-current="true"] { color: var(--ink); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-link:hover::after, .nav-link[aria-current="true"]::after { transform: scaleX(1); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.mobile-menu { margin: 0 18px; padding: .6rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 253, 248, .97); box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: .85rem 1rem; border-radius: 12px; font: 650 1.2rem var(--display); letter-spacing: -.03em; }
.mobile-menu a:hover { background: #f3e5ca; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.45rem; border: 1px solid transparent; border-radius: 999px; font: 700 .92rem var(--body); cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--gold); color: #20180c; box-shadow: 0 8px 22px rgba(217, 155, 55, .24); }
.btn-primary:hover { background: #e7b35d; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: #2a3b31; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { min-height: 44px; padding: .6rem 1.15rem; }
.btn.header-cta { display: none; }
@media (min-width: 640px) { .btn.header-cta { display: inline-flex; } }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--forest); color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%; right: -240px; top: -380px; background: radial-gradient(circle, rgba(217, 155, 55, .3), transparent 68%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) .7px, transparent .7px); background-size: 18px 18px; opacity: .22; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; padding-block: 9.5rem 6rem; min-height: 700px; }
.pill { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; padding: .55rem .95rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #f0d9b2; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #8ed3a0; box-shadow: 0 0 0 4px rgba(142, 211, 160, .15); }
.hero h1 { margin: 0; font: 700 clamp(3.5rem, 8.4vw, 7.2rem) / .93 var(--display); letter-spacing: -.07em; }
/* The lamp: a pool of warm light follows the pointer across the name */
.lamp { --mx: 30%; --my: 40%; --r: 280px; background: radial-gradient(circle var(--r) at var(--mx) var(--my), #f2c06c 0%, #fff 40%, rgba(255, 255, 255, .84) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.hero-role { margin: 1.5rem 0 0; font: 700 clamp(1.5rem, 3vw, 2.1rem) / 1.15 var(--display); letter-spacing: -.04em; color: #e6b35e; }
.lead { max-width: 540px; margin: 1.3rem 0 2rem; color: rgba(255, 255, 255, .74); font-size: 1.1rem; line-height: 1.75; }
.socials { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin: 2.4rem 0 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 650; color: rgba(255, 255, 255, .78); }
.socials a { display: inline-flex; align-items: center; gap: .55rem; transition: color .2s; }
.socials a:hover { color: var(--gold-soft); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.art { position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 46% 54% 50% 50% / 38% 38% 62% 62%; overflow: hidden; background: linear-gradient(145deg, #e9c58c, #c77f37); box-shadow: 0 35px 90px rgba(0, 0, 0, .3); transform: rotate(3deg); }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transform: rotate(-3deg) scale(1.12); }
.art .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 800 6rem var(--display); color: rgba(255, 255, 255, .55); letter-spacing: -.06em; }
.art::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: inherit; pointer-events: none; }
.sticker { position: absolute; right: -1%; bottom: 8%; width: 118px; height: 118px; display: grid; place-items: center; padding: 1rem; text-align: center; border-radius: 50%; background: var(--paper); color: var(--ink); font: 700 1rem / 1.1 var(--display); transform: rotate(9deg); box-shadow: var(--shadow); }
.hero-note { position: absolute; left: -3%; bottom: 14%; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem .85rem .85rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; background: rgba(24, 35, 29, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .8rem; line-height: 1.35; }
.hero-note strong { display: block; font-size: .92rem; }
.hero-note span.cap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(217, 155, 55, .2); color: var(--gold-soft); flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.8rem; }
.section-head h2, .h2 { max-width: 700px; margin: 0; font: 700 clamp(2.5rem, 5vw, 4.2rem) / 1 var(--display); letter-spacing: -.065em; }
.section-head p { max-width: 360px; margin: 0; color: var(--muted); }
.kicker { display: block; margin-bottom: .9rem; color: var(--kicker); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.on-dark .kicker { color: #e6b35e; }

.prose { max-width: 620px; color: #4f4c44; font-size: 1.08rem; line-height: 1.85; }
.prose p { margin: 0 0 1.3rem; }
.steps { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.steps li::before { counter-increment: s; content: "0" counter(s); width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: #eaddc5; color: #6f4710; font-weight: 800; }
.steps h3 { margin: .1rem 0 0; font: 700 1.15rem var(--display); letter-spacing: -.02em; }
.steps p { margin: .2rem 0 0; color: var(--muted); }

.card { position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, .78); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(217, 155, 55, .5); }
.card h3 { margin: 0 0 .55rem; font: 700 1.5rem var(--display); letter-spacing: -.04em; }
.card p { margin: .4rem 0; color: var(--muted); }
.card .fit { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.tile { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.8rem; border-radius: 18px; background: #f3e5ca; color: #6f4710; }
.tag { display: inline-block; margin-top: .3rem; padding: .15rem .7rem; border-radius: 999px; background: #f3e5ca; color: #6f4710; font-size: .78rem; font-weight: 700; }

.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.svc-grid > .card { grid-column: span 2; }
.svc-grid > .card:nth-child(n+4) { grid-column: span 3; }

/* Work */
.work { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3.5rem; }
.work + .work { margin-top: 5rem; }
.work.flip { grid-template-columns: .85fr 1.15fr; }
.work.flip .shot-pair { order: 2; }
.shot { border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s; }
.shot:hover { transform: translateY(-6px) rotate(-.4deg); }
.shot .bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #efe8d8; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfc3a8; }
.shot img { display: block; width: 100%; height: auto; }
.shot-pair { position: relative; padding-bottom: 17%; }
.shot.second { position: absolute; right: -2%; bottom: 0; width: 58%; box-shadow: 0 28px 60px rgba(37, 29, 17, .22); }
.work h3 { margin: 0 0 .8rem; font: 700 clamp(1.9rem, 3.4vw, 2.7rem) / 1.02 var(--display); letter-spacing: -.055em; }
.work p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; }
.tags li { padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; color: #4f4c44; }
.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: #6f4710; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: gap .2s; }
.arrow-link:hover { gap: .85rem; }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius); background: #e9dfca; }
.invite h3 { margin: 0; font: 700 clamp(1.7rem, 3.4vw, 2.5rem) / 1.05 var(--display); letter-spacing: -.055em; }
.invite p { margin: .6rem 0 0; max-width: 34rem; color: #4f4c44; }

/* Process */
.step-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-cards .num { display: block; margin-bottom: 2.2rem; font: 700 3.4rem / .8 var(--display); letter-spacing: -.07em; color: #b3731a; }
.band { background: #e9dfca; }
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.skills h3 { margin: 0 0 .5rem; color: var(--kicker); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.skills p { margin: 0; font: 650 1.12rem / 1.45 var(--display); letter-spacing: -.02em; }

/* Contact */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.info-list { display: grid; gap: 1.8rem; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; }
.info-ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 17px; background: #eaddc5; color: #6f4710; }
.info-list h3 { margin: 0; font: 700 1.1rem var(--display); letter-spacing: -.02em; }
.info-list p, .info-list .val { margin: .2rem 0 0; color: var(--muted); }
.info-list a.val { display: block; width: fit-content; color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: rgba(217, 155, 55, .8); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.info-list a.val:hover { text-decoration-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 650; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--gold); background: var(--paper); }
.form-card { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.form-card h3 { margin: 0; font: 700 2rem var(--display); letter-spacing: -.05em; }
.form-card > p { margin: .5rem 0 1.6rem; color: var(--muted); }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.row { display: grid; gap: 0 1.2rem; }
label { font-weight: 700; font-size: .88rem; }
input, select, textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1px solid #8c8878; border-radius: 12px; background: #fffefa; color: var(--ink); font: inherit; }
textarea { min-height: 130px; resize: vertical; }
::placeholder { color: #6d6a60; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 3px solid #d99b37; outline-offset: 1px; border-color: #b77b24; }
.status { min-height: 1.5em; margin: 0; font-size: .9rem; color: #4f4c44; }

/* ---------- Footer ---------- */
.site-footer { padding: 4.5rem 0 1.6rem; background: #17221c; color: rgba(255, 255, 255, .74); }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-grid p { max-width: 25rem; color: rgba(255, 255, 255, .6); }
.footer-grid h2 { margin: 0 0 1rem; color: #e9c58c; font: 700 .95rem var(--display); }
.footer-grid ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.footer-grid a:hover { color: #e9c58c; }
.footer-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.footer-pills a { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .85rem; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.footer-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45; display: flex; align-items: center; justify-content: center; height: 3.5rem; min-width: 3.5rem; padding: 0 .9rem; border-radius: 999px; background: #0f7a41; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); visibility: hidden; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background-color .2s ease, visibility 0s linear .25s; }
.wa-float svg { width: 1.75rem; height: 1.75rem; fill: currentColor; flex: none; }
.wa-float.is-shown { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
@media (min-width: 1280px) { .wa-float { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; } }
.wa-float:hover { background: #0b6535; transform: translateY(-2px); }
.wa-label { display: none; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font-size: .875rem; font-weight: 700; transition: max-width .3s ease, opacity .3s ease, margin .3s ease; }
@media (min-width: 768px) { .wa-label { display: inline; } .wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 11rem; opacity: 1; margin-left: .6rem; } }

/* Reveal on scroll (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 8rem 4rem; gap: 2.5rem; min-height: 0; }
  .hero-visual { min-height: 0; padding-bottom: 1rem; }
  .art { width: min(78vw, 380px); }
  .hero-note { left: 0; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid > .card, .svc-grid > .card:nth-child(n+4) { grid-column: span 1; }
  .svc-grid > .card:last-child { grid-column: 1 / -1; }
  .work, .work.flip { grid-template-columns: 1fr; gap: 2rem; }
  .work.flip .shot-pair { order: 0; }
  .step-cards, .skills { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .section-head { display: block; }
  .section-head p { margin-top: .8rem; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 36px)); }
  .header-inner { height: 68px; }
  .svc-grid, .step-cards, .skills { grid-template-columns: 1fr; }
  .svc-grid > .card:last-child { grid-column: auto; }
  .card { padding: 1.6rem; }
  .invite { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sticker { width: 96px; height: 96px; font-size: .85rem; right: 0; }
  .hero-note { bottom: 4%; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 30px); }
  .brand { font-size: 1rem; }
  .hero h1 { font-size: 3.3rem; }
  .hero .btn { width: 100%; }
  .form-card { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .shot:hover, .wa-float:hover { transform: none !important; }
}

.links{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;align-items:center}
