/* Ogutu Neville — solid colors, shared spacing, content-first layouts. */
:root {
  color-scheme: dark;
  --bg: #151715;
  --surface: #1d201d;
  --surface-hover: #262a26;
  --text: #f2f0e9;
  --muted: #b9bcb3;
  --accent: #dbb98a;
  --border: #3c413a;
  --font: 'DM Sans', system-ui, sans-serif;
  --display: 'Outfit', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --section-space: clamp(56px, 7vw, 96px);
  --gap: 24px;
  --card-space: clamp(20px, 2.5vw, 32px);
  --header-height: 80px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--header-height) + 24px); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button, input, textarea { border-radius: 4px; }
button { border: 0; background: transparent; }
button:disabled { cursor: wait; opacity: .65; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
.hidden, [hidden] { display: none !important; }
.container { width: min(1160px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.container > *, .header__inner > *, .footer > *, .about-inner > *, .contact-grid > * { min-width: 0; }
.section { padding-block: var(--section-space); border-top: 1px solid var(--border); }
.section-header { max-width: 760px; margin-bottom: 40px; }
.section-header .kicker { margin-bottom: 12px; }
.section-header .h2 { margin-bottom: 16px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.kicker { color: var(--accent); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.muted, .about-bio { color: var(--muted); }
.text-accent { color: var(--accent); }
.maxw { max-width: 64ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--border); border-radius: 4px; font-weight: 600; line-height: 1.45; text-align: center; transition: background-color .15s, border-color .15s; }
.btn--primary { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.btn--primary:hover { background: #e9cda7; border-color: #e9cda7; }
.btn--outline:hover, .btn--ghost:hover, .btn--clear:hover { background: var(--surface-hover); border-color: var(--muted); }
.btn--block { width: 100%; }
.skip-link { position: fixed; left: var(--gutter); top: 12px; z-index: 100; padding: 12px 20px; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
.header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 16px; }
.brand__name { font-family: var(--display); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.brand__dot { color: var(--accent); }
.brand__detail { color: var(--muted); font-size: .75rem; }
.nav__list { display: flex; align-items: center; gap: 24px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--muted); border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link.is-active { color: var(--text); border-color: var(--accent); }
.nav__mobile-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); }
.mobile-menu { border-top: 1px solid var(--border); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
.mobile-menu__list { width: min(1160px, calc(100% - var(--gutter) * 2)); margin-inline: auto; display: grid; padding-block: 12px 20px; }
.mobile-menu .nav__link { display: flex; min-height: 48px; }
.hero { padding-block: var(--section-space); }
.hero-term { max-width: 920px; }
.hero .kicker { margin-bottom: 28px; }
.hero__title { display: flex; flex-direction: column; }
.hero__hello { font-family: var(--font); font-weight: 400; font-size: 1.1rem; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.hero__name { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.1; margin-bottom: 20px; }
.hero__role { font-size: clamp(1.7rem, 3.2vw, 2.75rem); color: var(--accent); line-height: 1.2; }
.hero__subtitle { max-width: 60ch; margin-top: 24px; color: var(--muted); font-size: 1.0625rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.social, .footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.social { margin-top: 24px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; font-size: 1.1rem; }
.icon-btn:hover { color: var(--text); background: var(--surface-hover); }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text .btn { align-self: flex-start; margin-top: 4px; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat-card { padding: var(--card-space); border: 1px solid var(--border); border-radius: 6px; }
.stat-card__num { display: block; font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; margin-bottom: 12px; }
.stat-card__num sup { font-size: .5em; color: var(--accent); }
.stat-card__label { font-size: .75rem; color: var(--muted); }
.tech-stack { display: grid; gap: 32px; }
.tech-category__label { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: .875rem; }
.tech-chip img { width: 22px; height: 22px; }
.services-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.service-card, .price, .tcard, .contact-info { padding: var(--card-space); border: 1px solid var(--border); border-radius: 6px; background: var(--surface); min-width: 0; }
.service-card__icon { font-size: 1.5rem; color: var(--accent); margin-bottom: 24px; }
.service-card__kicker { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.service-card__title { font-size: 1.4rem; margin-bottom: 20px; }
.service-card__list { display: grid; gap: 12px; color: var(--muted); font-size: .875rem; }
.service-card__list li { position: relative; padding-left: 16px; }
.service-card__list li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { min-height: 44px; padding: 9px 16px; border: 1px solid var(--border); font-size: .875rem; }
.filter-btn:hover { background: var(--surface-hover); }
.filter-btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--gap); }
.project { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); overflow: hidden; }
.project__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
.project__front { padding: var(--card-space) var(--card-space) 0; }
.project__type { font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.project__body { padding: 8px var(--card-space) var(--card-space); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.project__tag { font-size: 1.5rem; }
.project__desc, .project__result { color: var(--muted); font-size: .875rem; }
.project__result { display: flex; align-items: start; gap: 8px; }
.project__result i { margin-top: 5px; color: var(--accent); flex-shrink: 0; }
.project__tools h4 { font-family: var(--font); font-size: .75rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.project__tools ul { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .75rem; color: var(--muted); }
.project__link { display: inline-flex; align-items: center; align-self: start; gap: 10px; min-height: 44px; margin-top: auto; color: var(--accent); font-weight: 600; font-size: .875rem; text-underline-offset: 5px; }
.project__link:hover { text-decoration: underline; }
.projects-cta { margin-top: 32px; }
.projects-cta .btn { margin-top: 16px; }
.price { display: flex; flex-direction: column; align-items: start; position: relative; }
.price--popular { border-color: var(--accent); }
.price__top { display: none; }
.price__badge { position: absolute; top: var(--card-space); right: var(--card-space); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 12px; }
.price h3 { font-size: 1.5rem; margin-bottom: 12px; }
.price > .muted { font-size: .875rem; min-height: 2.9em; }
.price__value { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.3; margin-block: 24px; }
.price ul { display: grid; gap: 12px; font-size: .875rem; color: var(--muted); margin-bottom: 32px; }
.price .btn { margin-top: auto; }
.pricing-footer { display: grid; gap: 24px; margin-top: 32px; }
.pricing-footer__note { display: flex; gap: 12px; align-items: start; color: var(--muted); font-size: .875rem; }
.pricing-footer__note i { margin-top: 6px; color: var(--accent); }
.pricing-footer__custom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: var(--card-space); border: 1px solid var(--border); border-radius: 6px; }
.pricing-footer__custom p { max-width: 60ch; color: var(--muted); }
.pricing-footer__custom .btn { flex-shrink: 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.tcard { display: flex; flex-direction: column; gap: 24px; }
.tquote { font-size: 1rem; }
.twho { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.twho > div { min-width: 0; }
.tavatar { width: 48px; height: 48px; flex-shrink: 0; object-fit: cover; border-radius: 50%; }
.tname { font-weight: 600; font-size: .875rem; }
.trole { font-size: .75rem; color: var(--muted); }
.tlink:hover { color: var(--accent); text-decoration: underline; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: start; gap: 48px; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-label { display: grid; gap: 8px; font-size: .875rem; font-weight: 500; min-width: 0; }
.field { display: block; width: 100%; min-width: 0; padding: 12px 14px; min-height: 48px; color: var(--text); background: var(--surface); border: 1px solid var(--border); font-size: 1rem; }
.field:hover { border-color: var(--muted); }
.field--textarea { resize: vertical; min-height: 160px; }
.form-status:empty { display: none; }
.form-status { color: #efb6a5; font-size: .875rem; }
.contact-info > .muted { margin-bottom: 24px; }
.info-list { display: grid; gap: 24px; }
.info { display: flex; gap: 16px; align-items: start; min-width: 0; }
.info > div { min-width: 0; }
.info__icon { width: 20px; flex-shrink: 0; color: var(--accent); padding-top: 3px; }
.info__title { font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.info .muted { font-size: .875rem; color: var(--text); overflow-wrap: anywhere; }
.info a:hover { color: var(--accent); text-decoration: underline; }
.success { padding: var(--card-space); border: 1px solid var(--border); border-radius: 6px; }
.success__icon { color: var(--accent); margin-bottom: 16px; }
.success h3 { margin-bottom: 12px; }
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__copy { font-size: .75rem; color: var(--muted); }
@media (max-width: 1100px) {
  .brand__detail { display: none; }
  .about-inner { gap: 32px; }
  .contact-grid { gap: 32px; }
}
@media (max-width: 900px) {
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  .service-card, .price { padding: var(--card-space); }
  .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pricing-footer__custom { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; --gap: 20px; }
  .nav__list--desktop { display: none; }
  .js .nav__mobile-btn { display: inline-flex; }
  html:not(.js) .mobile-menu.hidden { display: block !important; }
  .hero .kicker { max-width: 28ch; }
  .projects-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 32px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .hero__subtitle { font-size: 1rem; }
  .hero__role br { display: none; }
  .tech-chip { padding-inline: 12px; }
  .pricing-footer__custom .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { color-scheme: light; --bg: white; --surface: white; --text: black; --muted: #333; --accent: #55442e; --border: #bbb; }
  .site-header { position: static; }
  .nav, .mobile-menu, .hero__cta, .social, .project-filters, .contact-form, .footer__social { display: none !important; }
  .section, .hero { padding-block: 24px; }
  .project, .tcard, .service-card, .price { break-inside: avoid; }
}

.testimonials-cta { margin-top: 32px; }

/* Creative direction: the same warm accent, softer shapes and purposeful motion. */
:root { --ease-out: cubic-bezier(.16,1,.3,1); --card-radius: 26px; }
body { background: #151b18; }
.site-header { background: #151b18; }
html:not(.js) .site-header { position: static; }
.btn { border-radius: 999px; transition: transform .25s var(--ease-out), background-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #0003; }
.btn:active { transform: translateY(0); }
.nav__mobile-btn { border-radius: 50%; }
.hero { min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; position: relative; isolation: isolate; overflow: clip; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 48px; align-items: center; }
.hero-term { display: flex; flex-direction: column; gap: 22px; }
.hero-term__line { font-family: ui-monospace, monospace; font-size: .8rem; color: var(--muted); }
.hero-term__arrow { color: var(--accent); margin-right: 10px; }
.hero-term__caret { display: inline-block; color: var(--accent); animation: caret-blink 1s steps(1) infinite; }
.hero-term__caret.is-done { display: none; }
.hero-term__caret--end { line-height: 1; font-size: 1.5rem; }
.hero-term__caret--end.is-final { opacity: .5; }
.hero-status { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font: .75rem/1.65 ui-monospace, monospace; }
.status-dot { width: 9px; height: 9px; position: relative; flex: 0 0 auto; }
.status-dot__core { position: absolute; inset: 0; border-radius: 50%; background: #78c99a; }
.status-dot__ping { position: absolute; inset: 0; border: 1px solid #78c99a; border-radius: 50%; animation: status-ping 2.4s ease-out infinite; }
.hero__name { font-weight: 700; font-size: clamp(2.6rem, 5.8vw, 4.8rem); }
.hero__role { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.hero__hello { font: .85rem/1.5 ui-monospace, monospace; color: var(--accent); }
.hero__subtitle { margin-top: 0; }
.hero__title [data-text], .hero__subtitle[data-text] { display: grid; }
.hero__title [data-text]::before, .hero__subtitle[data-text]::before { content: attr(data-text); grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.type-text { grid-area: 1 / 1; }
.hero__cta { margin-top: 0; align-items: flex-start; }
.cta-lead { width: 100%; color: var(--muted); font: .72rem/1.6 ui-monospace, monospace; }
.cta-lead__arrow { color: var(--accent); font-size: 1.2rem; }
.cta-lead__key { padding: 2px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--text); font: inherit; }
.cta-big { gap: 12px; }
.cta-big__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #15171514; }
.hero .social { margin-top: 0; }
.hero.is-typing .hero-status, .hero.is-typing .hero__cta, .hero.is-typing .social { opacity: 0; transform: translateY(8px); }
.hero .hero-status, .hero .hero__cta, .hero .social { transition: opacity .6s, transform .6s var(--ease-out); }
.hero.is-typing .is-revealed { opacity: 1; transform: none; }
.hero-art { position: relative; width: 230px; height: 300px; }
.hero-art__orbit { position: absolute; width: 220px; height: 220px; top: 40px; left: 0; border: 1px dashed #dbb98a50; border-radius: 50%; animation: orbit-turn 45s linear infinite; }
.hero-art__core { position: absolute; inset: 72px 28px; border: 1px solid #dbb98a55; border-radius: 50%; display: grid; place-items: center; background: #263129; color: var(--accent); font: 3.3rem ui-monospace, monospace; animation: float-bubble 7s ease-in-out infinite; }
.hero-art__label { position: absolute; padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; background: #252d27; font-size: .75rem; box-shadow: 0 8px 16px #0002; animation: float-bubble 6s ease-in-out infinite; }
.hero-art__label--1 { top: 28px; left: -10px; color: #a4d2b4; }
.hero-art__label--2 { top: 130px; right: -18px; color: #dbb98a; animation-delay: -2s; }
.hero-art__label--3 { bottom: 12px; left: 16px; color: #bdc6df; animation-delay: -4s; }
.section { position: relative; isolation: isolate; background: var(--section-bg, #18211d); transition: background-color 1.2s ease; border-color: #ffffff09; overflow: clip; }
.section > .container { position: relative; z-index: 1; }
.section::before { content: ''; position: absolute; pointer-events: none; width: clamp(140px, 19vw, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--bubble-color, #dbb98a06); top: 40px; right: -65px; z-index: -1; border: 1px solid #ffffff04; animation: float-bubble 12s ease-in-out infinite; animation-play-state: paused; }
.section:nth-of-type(2n)::before { right: auto; left: -85px; top: 40%; width: clamp(160px, 24vw, 360px); animation-delay: -5s; }
.section.is-in-view::before { animation-play-state: running; }
#about { --section-bg: #1b251f; --bubble-color: #9bc0a608; }
#skills { --section-bg: #1b2229; --bubble-color: #a7bdd909; }
#expertise { --section-bg: #25271f; --bubble-color: #dbb98a08; }
#projects { --section-bg: #18221f; --bubble-color: #a4cdb80a; }
#pricing { --section-bg: #29231e; --bubble-color: #dbb98a09; }
#testimonials { --section-bg: #20232b; --bubble-color: #c5b7d807; }
#contact { --section-bg: #1a2823; --bubble-color: #9ecdb00a; }
.section-header .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #dbb98a0c; border: 1px solid #dbb98a20; border-radius: 999px; }
.section-header .kicker::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.stat-card, .service-card, .price, .tcard, .contact-info, .success { border-radius: var(--card-radius); background: #ffffff03; }
.stat-card { border-radius: 22px; transition: transform .4s var(--ease-out), background-color .4s; }
.stat-card:hover { transform: translateY(-5px) rotate(-1deg); background: #ffffff07; }
.stat-card__num { color: var(--accent); }
.tech-chip { border-radius: 999px; background: #ffffff04; transition: transform .35s var(--ease-out), border-color .35s, background-color .35s; }
.tech-chip:hover { transform: translateY(-5px); background: #ffffff0a; border-color: var(--tech-color, #dbb98a); }
.tech-chip img { transition: transform .45s var(--ease-out); }
.tech-chip:hover img { transform: rotate(-12deg) scale(1.2); }
.is-in-view .tech-chip { animation: chip-arrive .7s var(--ease-out) both; animation-delay: calc(var(--chip-index, 0) * 55ms); }
.is-in-view .tech-chip img { animation: icon-bob 5s ease-in-out infinite; animation-delay: calc(var(--chip-index, 0) * -350ms); }
.tech-chip:hover img { animation-play-state: paused; }
.service-card { transition: transform .4s var(--ease-out), border-color .4s; }
.service-card:hover { transform: translateY(-7px); border-color: var(--accent); }
.service-card__icon { display: inline-flex; justify-content: center; align-items: center; width: 56px; height: 56px; background: #dbb98a0c; border: 1px solid #dbb98a20; border-radius: 18px; }
.filter-btn { border-radius: 999px; transition: transform .25s, background-color .25s; }
.filter-btn:hover { transform: translateY(-2px); }
.project { border-radius: var(--card-radius); background: #ffffff03; transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; }
.project:hover, .project:focus-within { border-color: #dbb98a65; box-shadow: 0 14px 28px #0002; }
.project__preview { display: block; width: 100%; padding: 12px; background: #121a17; border-bottom: 1px solid var(--border); border-radius: 0; position: relative; cursor: zoom-in; text-align: left; }
.browser-bar { display: flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 5px 10px; }
.browser-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #747d75; }
.browser-bar > span:nth-child(1) { background: #ec847d; }
.browser-bar > span:nth-child(2) { background: #dbbd73; }
.browser-bar > span:nth-child(3) { background: #8ebc91; }
.browser-bar small { color: #b9bcb3; font: .62rem ui-monospace, monospace; margin-left: 8px; flex: 1; }
.browser-bar i { color: var(--accent); font-size: .75rem; }
.project__image-frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #0f1512; }
.project__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; object-position: center; border: 0; border-radius: 0; }
.preview-hint { display: block; text-align: right; margin: 10px 4px 0; color: var(--muted); font-size: .65rem; }
.project__front { padding-top: 24px; }
.project__tag { font-size: 1.45rem; }
.project__category { font-size: .68rem; color: var(--accent); }
.project__tools li { padding: 3px 9px; border-radius: 999px; background: #ffffff06; }
.project__link { padding: 0 16px; border: 1px solid #dbb98a30; border-radius: 999px; margin-top: 4px; background: #dbb98a08; }
.project__link:hover { background: #dbb98a14; text-decoration: none; }
.projects-summary { color: var(--muted); font-size: .8rem; margin: -12px 0 24px; }
.project-empty { color: var(--muted); padding: 32px; border: 1px solid var(--border); border-radius: 24px; }
.price { --tier: #a5cbb1; --tier-bg: #22382d; background: var(--tier-bg); border-color: color-mix(in srgb, var(--tier) 25%, transparent); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s; }
.price:nth-child(2) { --tier: #dbb98a; --tier-bg: #3b3023; }
.price:nth-child(3) { --tier: #c6b4df; --tier-bg: #302a3d; }
.price::before { content: ''; width: 150px; height: 150px; border-radius: 50%; background: var(--tier); opacity: .07; position: absolute; right: -40px; top: -55px; transition: transform .6s var(--ease-out); pointer-events: none; }
.price:hover, .price:focus-within { transform: translateY(-9px); border-color: var(--tier); box-shadow: 0 18px 30px #0003; }
.price:hover::before { transform: scale(1.5) translate(-8px, 8px); }
.price__eyebrow { font: .65rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--tier); margin-bottom: 24px; }
.price__badge { color: var(--tier); top: 20px; right: 20px; font-size: .6rem; border: 1px solid #dbb98a55; border-radius: 999px; padding: 4px 8px; background: #302719; }
.price h3 { font-size: 1.8rem; }
.price__value { color: var(--tier); }
.price .btn { border-color: var(--tier); color: var(--tier); background: transparent; }
.price .btn:hover, .price--popular .btn { background: var(--tier); color: #151715; }
.pricing-footer__custom { border-radius: 24px; background: #ffffff03; }
.tcard { transition: transform .4s var(--ease-out); }
.tcard:hover { transform: translateY(-5px); }
.field { border-radius: 16px; background: #ffffff04; transition: border-color .25s, background-color .25s; }
.field:focus { background: #ffffff08; border-color: var(--accent); }
.contact-info { background: #ffffff04; }
.info__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #dbb98a10; padding: 0; }
.icon-btn { border-radius: 50%; width: 46px; height: 46px; background: #ffffff04; transition: transform .3s var(--ease-out), background-color .3s; }
.icon-btn:hover { transform: translateY(-4px) rotate(-5deg); }
.icon-btn img { width: 22px; height: 22px; object-fit: contain; }
.icon-btn--gmail { background: #ffffff; border-color: #ffffff; }
.icon-btn--gmail:hover { background: #f1f3f4; }
.icon-btn--phone { color: #94d5af; background: #264332; border-color: #94d5af40; }
.icon-btn--whatsapp { color: #25d366; background: #173d29; border-color: #25d36650; }
.icon-btn--whatsapp:hover { color: #112e1d; background: #25d366; }
.icon-btn--x { color: white; background: black; border-color: #555; }
.icon-btn--x:hover { background: #222; }
.icon-btn--tiktok { color: white; background: #080808; border-color: #5d404b; }
.icon-btn--tiktok i { text-shadow: -1.2px -.5px #25f4ee, 1.2px .5px #fe2c55; }
.screenshot-dialog { position: fixed; inset: 0; margin: auto; width: min(1200px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 1px solid var(--border); border-radius: 24px; color: var(--text); background: #17211c; box-shadow: 0 25px 90px #0009; }
.screenshot-dialog::backdrop { background: #060b09dc; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
.dialog-heading p { color: var(--muted); font-size: .75rem; margin-top: 6px; }
.dialog-close { display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; }
.dialog-close:hover { background: #ffffff0b; }
.dialog-image { width: 100%; max-height: calc(100dvh - 260px); height: auto; object-fit: contain; border-radius: 14px; background: #101713; }
.dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.dialog-footer a { color: var(--accent); font-size: .8rem; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.dialog-footer a:hover { text-decoration: underline; }
.motion-ready { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out), transform .4s var(--ease-out), border-color .4s, box-shadow .4s; transition-delay: var(--reveal-delay, 0ms); }
.motion-ready.is-visible { opacity: 1; translate: 0 0; }
@keyframes caret-blink { 50% { opacity: 0; } }
@keyframes status-ping { 0% { transform: scale(1); opacity: .8; } 75%,100% { transform: scale(2.5); opacity: 0; } }
@keyframes float-bubble { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes icon-bob { 0%,80%,100% { translate: 0 0; rotate: 0deg; } 88% { translate: 0 -4px; rotate: -7deg; } 94% { translate: 0 0; rotate: 4deg; } }
@keyframes chip-arrive { from { opacity: 0; transform: translateY(15px) scale(.95); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .hero__inner { grid-template-columns: 1fr; } .hero-art { display: none; } }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero__name { font-size: clamp(2.6rem, 8vw, 4rem); }
  .hero-status { font-size: .68rem; }
  .hero-term { gap: 18px; }
  .section::before { animation: none; }
}
@media (max-width: 540px) {
  :root { --card-radius: 22px; }
  .hero__cta { align-items: stretch; }
  .cta-big__icon { display: none; }
  .cta-big { padding-inline: 14px; }
  .cta-lead { font-size: .67rem; }
  .screenshot-dialog { padding: 16px; border-radius: 20px; }
  .dialog-image { max-height: calc(100dvh - 230px); }
  .price__badge { top: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-ready { opacity: 1; translate: 0 0; transform: none; }
  .hero.is-typing .hero-status, .hero.is-typing .hero__cta, .hero.is-typing .social { opacity: 1; transform: none; }
}
@media print {
  .motion-ready { opacity: 1; translate: 0 0; transform: none; }
  .hero-art, .section::before, .preview-hint { display: none; }
  .hero__inner { display: block; }
}
.dialog-open { overflow: hidden; }
.filter-enter { animation: project-filter-in .45s var(--ease-out); }
@keyframes project-filter-in { from { opacity: .4; scale: .98; } to { opacity: 1; scale: 1; } }

.section { border-top: 0; }
.section-wave { position: absolute; inset: -1px 0 auto; width: 100%; height: 36px; pointer-events: none; z-index: 0; }
@media (max-width: 760px) { .section-wave { height: 24px; } }

.tech-chip { transition: translate .35s var(--ease-out), border-color .35s, background-color .35s; }
.tech-chip:hover { translate: 0 -5px; }

/* Revision: tighter first view, readable content, direct project navigation. */
:root {
  --muted: #c6c9c0;
  --section-space: clamp(32px, 3vw, 44px);
  --card-space: clamp(20px, 2vw, 26px);
  --gap: 22px;
  --header-height: 72px;
}
body { font-size: 1.0625rem; line-height: 1.65; }
.hero { min-height: 0; padding-block: 32px 36px; display: block; }
.hero__inner { display: block; }
.hero-term { max-width: 960px; gap: 14px; }
.hero__hello { font-size: .9375rem; margin-bottom: 4px; }
.hero__name { font-size: clamp(2.75rem, 5vw, 4.5rem); margin-bottom: 10px; }
.hero__role { font-size: clamp(1.375rem, 2.25vw, 1.875rem); line-height: 1.3; }
.hero__subtitle { font-size: 1.0625rem; max-width: 65ch; line-height: 1.65; }
.hero-status { font-size: .8125rem; }
.hero-term__line { font-size: .875rem; }
.hero__cta { gap: 12px; }
.hero-art, .section-wave { display: none; }
.section::before, .section::after, .price::before { content: none; display: none; }
.section-header { margin-bottom: 26px; }
.section-header .kicker { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: .8125rem; letter-spacing: .08em; }
.section-header .kicker::before { content: none; display: none; }
.section-header .kicker { margin-bottom: 8px; }
.section-header .h2 { margin-bottom: 10px; }
.h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); }
.about-inner { gap: 32px; }
.about-text { gap: 14px; }
.about-bio, .section-header .muted { font-size: 1rem; }
.stat-card__label, .tech-category__label { font-size: .8125rem; }
.tech-stack { gap: 24px; }
.tech-category__label { margin-bottom: 12px; }
.tech-chip { font-size: .9375rem; }
.service-card__list, .price ul, .price > .muted { font-size: .9375rem; }
.service-card__icon { margin-bottom: 18px; }
.service-card__title { margin-bottom: 16px; }
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
a.project { cursor: pointer; text-decoration: none; }
a.project:hover, a.project:focus-visible { border-color: var(--accent); transform: translateY(-4px); }
a.project:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.project__preview { cursor: inherit; padding: 10px; }
.browser-bar { min-height: 24px; padding: 0 3px 8px; }
.browser-bar small { margin: 0; font-size: .6875rem; }
.project__image-frame { aspect-ratio: 16 / 10; border-radius: 14px; }
.project__front { padding: 18px 20px 0; }
.project__type { font-size: .75rem; letter-spacing: .04em; }
.project__body { padding: 8px 20px 20px; gap: 12px; }
.project__tag { font-size: 1.375rem; line-height: 1.25; }
.project__desc { font-size: .9375rem; line-height: 1.65; color: var(--muted); }
.project__link { display: flex; align-items: center; align-self: stretch; justify-content: space-between; margin-top: auto; border: 0; border-radius: 0; padding: 8px 0 0; min-height: 40px; background: transparent; font-size: .875rem; }
a.project:hover .project__link { background: transparent; }
.project__link i { font-size: .8125rem; }
.projects-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.projects-cta .btn { margin-top: 0; }
.project-filters { margin-bottom: 24px; }
.projects-summary { margin: -8px 0 20px; font-size: .9375rem; }
.portfolio-section { padding-block: 36px 44px; }
.portfolio-page .section-header { max-width: 760px; }
.portfolio-page .site-footer { background: #18221f; }
.price__eyebrow { font-size: .75rem; margin-bottom: 18px; }
.price__badge { border: 0; background: transparent; padding: 0; font-size: .6875rem; }
.price__value { margin-block: 18px; }
.price ul { margin-bottom: 24px; }
.pricing-footer { margin-top: 24px; gap: 18px; }
.pricing-footer__note { font-size: .9375rem; }
.trole { font-size: .8125rem; }
.testimonials-cta { margin-top: 24px; }
.contact-grid { gap: 32px; }
.info__title, .info .muted { font-size: .9375rem; }
.field-label { font-size: .9375rem; }
.site-footer { border-top: 0; padding-block: 20px; background: #1a2823; }
.footer__copy { font-size: .8125rem; }
.icon-btn--phone { color: #7cb8ff; background: #15375d; border-color: #4e9cfb70; }
.icon-btn--phone:hover { color: #c5e0ff; background: #204b7b; }
.info:has(.fa-phone) .info__icon { color: #7cb8ff; background: #15375d; }
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; --gap: 18px; }
  .hero { padding-block: 24px 28px; }
  .hero-term { gap: 12px; }
  .hero-status { font-size: .75rem; }
  .hero__name { font-size: clamp(2.75rem, 8vw, 3.75rem); }
  .section-header { margin-bottom: 22px; }
  .hero__subtitle { font-size: 1rem; }
  .about-inner { gap: 24px; }
  .project__body { padding: 8px 18px 18px; }
  .project__front { padding: 18px 18px 0; }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  a.project:hover, a.project:focus-visible { transform: none; }
}

/* VS Code Dark+ color roles: editor surfaces and readable syntax accents. */
:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --surface: #252526;
  --surface-hover: #2d2d30;
  --text: #f0f0f0;
  --muted: #c5c5c5;
  --accent: #dcdcaa;
  --border: #454545;
  --syntax-keyword: #569cd6;
  --syntax-variable: #9cdcfe;
  --syntax-string: #ce9178;
  --syntax-type: #4ec9b0;
  --syntax-function: #dcdcaa;
  --syntax-control: #c586c0;
  --syntax-comment: #93b879;
  --code-font: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
body { background: var(--bg); }
.site-header { background: #181818; }
.brand__dot, .nav__link.is-active { color: var(--syntax-variable); }
.nav__link:hover, .nav__link.is-active { border-color: var(--syntax-keyword); }
.hero { background: #1e1e1e; }
.hero__title { font-family: var(--code-font); letter-spacing: -.045em; }
.hero__name { font-size: clamp(2.05rem, 4.2vw, 3.65rem); font-weight: 700; }
.hero__hello { font-family: var(--code-font); color: var(--syntax-keyword); }
.hero__role { color: var(--syntax-type); font-size: clamp(1.25rem, 2.15vw, 1.75rem); font-weight: 500; }
.hero-term__arrow, .hero-status { color: var(--syntax-comment); }
.hero-term__cmd { color: var(--syntax-function); }
.hero-term__caret { color: var(--syntax-variable); }
.hero__subtitle { color: var(--muted); }
.kicker { font-family: var(--code-font); color: var(--syntax-comment); font-weight: 500; }
.text-accent { color: var(--syntax-type); }
#about { --section-bg: #232323; }
#skills { --section-bg: #1e1e1e; }
#expertise { --section-bg: #252526; }
#projects { --section-bg: #1e1e1e; }
#pricing { --section-bg: #252526; }
#testimonials { --section-bg: #202020; }
#contact { --section-bg: #252526; }
.btn--primary { color: #ffffff; background: #007acc; border-color: #007acc; }
.btn--primary:hover { color: #ffffff; background: #0068ae; border-color: #0068ae; }
.btn--outline:hover, .btn--ghost:hover, .btn--clear:hover { background: #2d2d30; border-color: var(--syntax-keyword); }
.cta-big__icon { background: #ffffff14; }
.stat-card__num { color: var(--syntax-variable); }
.stat-card__num sup { color: var(--syntax-string); }
.tech-category__label { color: var(--syntax-function); }
.service-card, .stat-card, .tcard, .contact-info { background: #ffffff03; }
.service-card__icon { color: var(--syntax-type); background: #4ec9b00c; border-color: #4ec9b025; }
.service-card--blue .service-card__icon { color: var(--syntax-variable); background: #9cdcfe0c; border-color: #9cdcfe25; }
.service-card--amber .service-card__icon { color: var(--syntax-string); background: #ce91780c; border-color: #ce917825; }
.service-card__kicker { color: var(--syntax-comment); }
.project { background: #252526; }
.project__preview { background: #181818; }
.project__image-frame { background: #202020; }
.project__type { color: var(--syntax-string); font-family: var(--code-font); }
.project__tag { color: var(--syntax-variable); }
.project__link { color: var(--syntax-function); }
a.project:hover, a.project:focus-visible { border-color: var(--syntax-keyword); box-shadow: 0 10px 24px #0003; }
.filter-btn.is-active { background: #007acc; color: #fff; border-color: #007acc; }
.price { --tier: #4ec9b0; --tier-bg: #203632; }
.price:nth-child(2) { --tier: #9cdcfe; --tier-bg: #24374a; }
.price:nth-child(3) { --tier: #dcdcaa; --tier-bg: #363526; }
.price__badge { color: var(--tier); }
.price .btn { color: var(--tier); background: transparent; border-color: var(--tier); }
.price--popular .btn, .price .btn:hover { background: var(--tier); color: #1e1e1e; }
.info__icon { color: var(--syntax-variable); background: #9cdcfe0a; }
.field { background: #1e1e1e; }
.field:focus { border-color: var(--syntax-keyword); background: #222222; }
.site-footer { background: #252526; }
.portfolio-page .site-footer { background: #1e1e1e; }
@media (max-width: 760px) {
  .hero__name { font-size: clamp(2.05rem, 6.5vw, 3rem); }
  .hero__role { font-size: clamp(1.2rem, 4vw, 1.55rem); }
}
.hero-term__line { display: flex; align-items: center; flex-wrap: wrap; min-height: 32px; }
.tech-chip--mariadb img { width: 66px; height: 28px; }
.tech-category__note { color: var(--muted); font-size: .9375rem; margin-top: 12px; max-width: 70ch; }
.tech-chip img { object-fit: contain; }

/* Contact identity: use the original profile portrait and official Gmail asset. */
.contact-info .info { align-items: center; }
.contact-info .info__icon { width: 48px; height: 48px; flex: 0 0 48px; }
.info__icon--portrait { overflow: hidden; border-radius: 50%; background: #1e1e1e; }
.info__icon--portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; scale: 1.65; transform-origin: 50% 28%; }
.info__icon--gmail { background: #ffffff; }
.info__icon--gmail img { width: 26px; height: 26px; object-fit: contain; }

/* Larger viewports get larger reading sizes, with a bounded line length. */
@media screen and (min-width: 1921px) {
  :root {
    font-size: clamp(16px, calc(.625vw + 4px), 24px);
    --gutter: clamp(48px, 2.5vw, 72px);
    --header-height: clamp(72px, 3.75vw, 108px);
    --section-space: clamp(44px, 2.2917vw, 66px);
  }
  .container, .mobile-menu__list {
    width: min(clamp(1160px, calc(30vw + 584px), 1740px), calc(100% - var(--gutter) * 2));
  }
  .hero-term { max-width: 60rem; }
  .hero { padding-block: 2rem 2.25rem; }
  .hero__name { font-size: 3.65rem; }
  .hero__role { font-size: 1.75rem; }
  .section-header { max-width: 48rem; }
  .contact-info .info__icon { width: 3rem; height: 3rem; flex-basis: 3rem; }
  .info__icon--gmail img { width: 1.625rem; height: 1.625rem; }
}
.info__icon--portrait { position: relative; display: block; }
.info__icon--portrait img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }

/* Section rhythm: short text entrances followed by a responsive card stagger. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .motion-ready {
    opacity: 0;
    translate: 0 24px;
    transition-property: opacity, translate, transform, border-color, box-shadow, background-color;
    transition-duration: .65s, .7s, .3s, .3s, .3s, .3s;
    transition-timing-function: var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0s, 0s, 0s, 0s;
  }
  .motion-heading { translate: 0 14px; }
  .motion-ready.is-visible { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .motion-ready { translate: 0 32px; transition-duration: .7s, .8s, .25s, .25s, .25s, .25s; }
  .motion-heading { translate: 0 24px; }
  .motion-card { translate: var(--entry-x, 0px) 28px; }
  .motion-ready.is-visible { translate: 0 0; }
}
@media print {
  .motion-ready { opacity: 1 !important; translate: none !important; }
}

/* Mobile navigation slides beneath the header; labels remain large and high contrast. */
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 8px; }
.mobile-menu__title { font: 600 1.125rem var(--code-font); color: var(--syntax-variable); }
.mobile-menu__close { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; }
.mobile-menu__cta { display: block; margin: 16px 24px 24px; padding: 16px; border: 1px solid #4ec9b060; border-radius: 16px; background: #20332f; color: #f0f0f0; font-weight: 600; }
.mobile-menu__cta span { display: block; color: #80decb; font-size: .875rem; margin-top: 6px; overflow-wrap: anywhere; }
.js .mobile-menu { display: none; }
.menu-backdrop { display: none; }
@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  .js .site-header { z-index: 60; }
  .js .menu-backdrop { display: block; position: fixed; inset: var(--menu-top, calc(var(--header-height) + 1px)) 0 0; z-index: 40; background: #0009; opacity: 0; transition: opacity .25s ease; }
  .js .menu-backdrop.is-open { opacity: 1; }
  .js .mobile-menu {
    display: block; position: fixed; z-index: 50; top: var(--menu-top, calc(var(--header-height) + 1px)); right: 0;
    width: min(360px, 90vw); height: calc(100dvh - var(--menu-top, calc(var(--header-height) + 1px))); max-height: none;
    padding-bottom: env(safe-area-inset-bottom); border: 1px solid #454545; border-right: 0;
    border-radius: 22px 0 0 22px; background: #252526; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), visibility .25s;
  }
  .js .mobile-menu.is-open { transform: translateX(0); visibility: visible; }
  .js .mobile-menu__close { display: inline-flex; }
  .mobile-menu__list { width: auto; padding: 8px 16px; margin: 0; gap: 4px; }
  .mobile-menu .nav__link { min-height: 54px; padding: 10px 16px; border: 0; border-radius: 12px; font-size: 1.125rem; font-weight: 600; color: #f0f0f0; line-height: 1.4; }
  .mobile-menu .nav__link:hover, .mobile-menu .nav__link:focus-visible, .mobile-menu .nav__link.is-active { background: #153b54; color: #b8e3ff; }
}
@media (prefers-reduced-motion: reduce) { .js .mobile-menu, .js .menu-backdrop { transition: none; } }
