:root {
  color-scheme: light;
  --ink: #152538;
  --ink-soft: #34485c;
  --muted: #66798a;
  --line: #dfe6eb;
  --paper: #f4f7fa;
  --white: #ffffff;
  --blue: #285af4;
  --blue-dark: #142b43;
  --lime: #d5fb55;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .75rem 1rem; background: var(--lime); color: var(--ink); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-inline: max(32px, calc((100vw - 1160px) / 2)); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(21,37,56,.08); backdrop-filter: blur(14px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: .82rem; font-weight: 800; letter-spacing: .11em; }
.wordmark-mark { display: block; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 6%; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.main-nav a, .header-contact, .site-footer a { transition: color .2s ease; }
.main-nav a:hover, .header-contact:hover, .site-footer a:hover { color: var(--blue); }
.header-contact { color: var(--ink); font-size: .88rem; font-weight: 700; }
.header-contact span { padding-left: 5px; color: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr); gap: clamp(48px, 8vw, 110px); align-items: center; padding-block: clamp(70px, 9vw, 122px) clamp(78px, 10vw, 136px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-rule { width: 27px; height: 2px; flex: 0 0 auto; background: var(--blue); }
.eyebrow-separator { color: #a8b3bc; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { max-width: 780px; margin-bottom: 23px; font-size: clamp(2.8rem, 5.9vw, 5.3rem); font-weight: 700; letter-spacing: -.065em; line-height: 1.04; }
.hero h1 span, .section-heading h2 span, .work-heading h2 span, .about-copy h2 span, .contact-inner h2 span { color: var(--blue); }
.hero-intro { max-width: 650px; margin-bottom: 29px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 0 19px; border-radius: 8px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.inline-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-meta .inline-icon { width: 18px; height: 18px; }
.linkedin-icon { fill: currentColor; stroke: none; }
.whatsapp-icon { fill: currentColor; stroke: none; }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 18px rgba(40,90,244,.16); }
.button-primary:hover { background: #1749e4; box-shadow: 0 12px 24px rgba(40,90,244,.23); }
.button-quiet { color: var(--ink); background: var(--paper); }
.button-quiet:hover { background: #e9eff4; }
.button-whatsapp { color: #16764a; background: #eaf7ef; }
.button-whatsapp:hover { background: #ddf1e4; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 36px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.hero-meta a { color: var(--ink); }
.hero-meta a { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta a:hover { color: var(--blue); }
.meta-divider { width: 1px; height: 16px; background: var(--line); }

.hero-visual { position: relative; max-width: 350px; justify-self: end; width: 100%; padding: 0 18px 25px 0; }
.hero-visual::before { position: absolute; content: ""; top: 23px; right: 0; width: 81%; height: 83%; border-radius: 4px 24px 4px 24px; background: var(--lime); }
.photo-frame { position: relative; z-index: 1; overflow: hidden; width: 100%; aspect-ratio: .79; border-radius: 4px 22px 4px 22px; background: #23334a; box-shadow: 0 22px 52px rgba(21,37,56,.18); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.photo-caption { position: absolute; z-index: 2; bottom: 5px; left: -27px; display: flex; align-items: center; gap: 11px; padding: 12px 17px 12px 12px; border: 1px solid rgba(21,37,56,.08); border-radius: 9px; background: white; box-shadow: 0 10px 30px rgba(21,37,56,.12); }
.caption-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 7px; color: white; background: var(--blue-dark); font-family: var(--font-display); font-weight: 800; }
.photo-caption strong, .photo-caption small { display: block; }
.photo-caption strong { font-family: var(--font-display); font-size: .76rem; }
.photo-caption small { margin-top: 2px; color: var(--muted); font-size: .68rem; }
.visual-index { position: absolute; z-index: 2; top: 11px; right: -3px; color: var(--ink); font-family: var(--font-display); font-size: .69rem; font-weight: 800; letter-spacing: .09em; writing-mode: vertical-rl; }

.proof-band { background: var(--paper); border-block: 1px solid #e8edf1; }
.proof-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(145px, .8fr); align-items: center; gap: 20px; width: min(1160px, calc(100% - 64px)); min-height: 120px; margin-inline: auto; }
.proof-item { display: flex; align-items: center; gap: 13px; min-width: 0; }
.proof-item strong { color: var(--blue); font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.06em; }
.proof-item span { max-width: 145px; color: var(--ink-soft); font-size: .78rem; font-weight: 600; line-height: 1.38; }

.section-block { padding-block: clamp(88px, 11vw, 145px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 45px; }
.section-heading .eyebrow { align-self: start; min-width: 185px; margin-top: 14px; }
.section-heading h2, .work-heading h2, .about-copy h2, .contact-inner h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.45rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.1; }
.section-heading h2 { flex: 1; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 380px; padding: clamp(25px, 3.1vw, 39px); border: 1px solid var(--line); border-radius: 13px; background: white; }
.service-card-us { background: linear-gradient(140deg, #f7f9ff 0%, #fff 54%); }
.service-card-bd { background: linear-gradient(140deg, #f8faed 0%, #fff 58%); }
.card-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.card-topline span:first-child { color: var(--blue); }
.service-card-bd .card-topline span:first-child { color: #728e00; }
.service-card h3 { margin: 34px 0 13px; font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
.card-description { max-width: 440px; margin-bottom: 19px; color: var(--ink-soft); font-size: .96rem; line-height: 1.65; }
.service-list { display: grid; gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .86rem; }
.service-list li { position: relative; padding-left: 20px; }
.service-list li::before { position: absolute; left: 0; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); content: ""; }
.service-card-bd .service-list li::before { background: #819d09; }
.text-link { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-top: auto; color: var(--blue); font-size: .88rem; font-weight: 700; }
.text-link:hover { color: #123ec5; }
.service-card-bd .text-link { color: #617b00; }

.work-section { padding-block: clamp(78px, 9vw, 118px); background: var(--blue-dark); color: white; }
.work-layout { display: block; }
.work-heading { margin-bottom: 42px; }
.eyebrow-light { color: #aab9c7; }
.eyebrow-light .eyebrow-rule { background: var(--lime); }
.work-heading h2 span { color: var(--lime); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { display: flex; flex-direction: column; min-height: 480px; padding: clamp(25px, 3vw, 36px); border: 1px solid rgba(255,255,255,.17); border-radius: 13px; background: rgba(255,255,255,.06); }
.project-meta { display: flex; justify-content: space-between; gap: 12px; color: #b5c4d1; font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.project-brand-tile { display: grid; place-items: center; height: 158px; margin-top: 22px; overflow: hidden; border-radius: 9px; background: #fff; }
.project-brand-tile img { width: 100%; height: 100%; padding: 12px 18px; object-fit: contain; }
.project-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.anatomy-title-row { min-height: 132px; }
.project-title-row h3 { margin: 0 0 3px; font-size: 1.75rem; letter-spacing: -.05em; }
.project-title-row p { margin: 0; color: #c1cdd7; font-size: .86rem; }
.project-symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: var(--blue-dark); background: var(--lime); font-family: var(--font-display); font-size: .95rem; font-weight: 800; letter-spacing: -.05em; }
.project-description { margin: 25px 0 18px; color: #d2dce4; font-size: .94rem; line-height: 1.75; }
.project-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.project-stack span { padding: 5px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #e0e7ec; font-size: .72rem; font-weight: 600; }
.project-link { display: inline-flex; align-self: flex-start; gap: 9px; margin-top: auto; color: var(--lime); font-size: .88rem; font-weight: 700; }
.project-link:hover { color: white; }

.about-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(50px, 9vw, 125px); padding-block: clamp(86px, 11vw, 145px); }
.about-copy h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.6vw, 3rem); }
.about-copy > p:not(.eyebrow) { max-width: 490px; margin-bottom: 22px; color: var(--ink-soft); line-height: 1.8; }
.about-details { border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: 118px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.detail-label { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-row strong, .detail-row span:not(.detail-label) { display: block; }
.detail-row strong { margin-bottom: 2px; font-family: var(--font-display); font-size: .91rem; font-weight: 700; }
.detail-row strong:not(:first-child) { margin-top: 12px; }
.detail-row div > span { color: var(--muted); font-size: .83rem; }
.tool-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-list span { padding: 6px 10px; border: 1px solid #e2e8ed; border-radius: 6px; background: var(--paper); color: var(--ink-soft); font-size: .77rem; font-weight: 600; line-height: 1.35; }
.skill-list { row-gap: 9px; }
.tools-groups { display: grid; gap: 16px; }
.tool-group-label { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }

.contact-section { padding-block: clamp(70px, 8vw, 105px); background: var(--blue); color: white; }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-inner h2 { font-size: clamp(2.2rem, 4.4vw, 3.75rem); }
.contact-inner h2 span { color: var(--lime); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #e1ff7c; box-shadow: 0 12px 24px rgba(9,34,87,.18); }
.button-contact-outline { border: 1px solid rgba(255,255,255,.42); color: white; background: transparent; }
.button-contact-outline:hover { border-color: var(--lime); background: rgba(255,255,255,.08); }
.button-contact-outline .whatsapp-icon { color: #67e994; }
.button-contact-outline .linkedin-icon { color: #a9ccff; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; color: var(--muted); font-size: .76rem; }
.footer-wordmark { color: var(--ink); font-size: .7rem; }
.footer-wordmark .wordmark-mark { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0,1fr) minmax(240px,.66fr); gap: 45px; }
  .hero h1 { font-size: clamp(2.65rem, 6.5vw, 4.4rem); }
  .proof-inner { grid-template-columns: repeat(3, 1fr); padding-block: 24px; }
  .about-section { gap: 50px; }
  .project-card { min-height: 500px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 74px; }
  .section-shell { width: min(100% - 40px, 520px); }
  .site-header { min-height: 68px; padding-inline: 20px; }
  .wordmark { gap: 8px; font-size: .72rem; }
  .wordmark-mark { width: 30px; height: 30px; }
  .main-nav { display: none; }
  .header-contact { font-size: .82rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 43px; padding-block: 64px 70px; }
  .eyebrow { margin-bottom: 18px; font-size: .66rem; letter-spacing: .1em; }
  .hero h1 { margin-bottom: 19px; font-size: clamp(2.65rem, 11vw, 4rem); }
  .hero-intro { margin-bottom: 22px; font-size: 1rem; line-height: 1.7; }
  .button { min-height: 46px; padding-inline: 15px; font-size: .84rem; }
  .hero-meta { margin-top: 27px; font-size: .76rem; }
  .hero-visual { max-width: 330px; margin: 0 auto; padding: 0 14px 22px 0; }
  .photo-frame { aspect-ratio: .93; }
  .photo-frame img { object-position: center 26%; }
  .photo-caption { left: -9px; bottom: 3px; padding: 10px 12px 10px 10px; }
  .photo-caption strong { font-size: .72rem; }
  .photo-caption small { font-size: .64rem; }
  .visual-index { right: -1px; }
  .proof-inner { grid-template-columns: 1fr; gap: 15px; width: min(100% - 40px, 520px); padding-block: 21px; }
  .proof-item { gap: 13px; }
  .proof-item strong { min-width: 67px; font-size: 1.65rem; }
  .proof-item span { max-width: unset; font-size: .79rem; }
  .section-block { padding-block: 75px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { margin: 0 0 18px; }
  .section-heading h2, .work-heading h2, .contact-inner h2 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .service-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { min-height: unset; padding: 24px 22px; }
  .service-card h3 { margin-top: 28px; font-size: 1.68rem; }
  .card-description { font-size: .92rem; }
  .service-list { font-size: .83rem; }
  .work-section { padding-block: 73px; }
  .work-heading { margin-bottom: 28px; }
  .project-grid { grid-template-columns: 1fr; gap: 13px; }
  .project-card { min-height: 0; padding: 23px 21px; }
  .project-brand-tile { height: 132px; }
  .anatomy-title-row { min-height: 112px; }
  .project-title-row h3 { font-size: 1.55rem; }
  .project-description { font-size: .88rem; }
  .about-section { grid-template-columns: 1fr; gap: 37px; padding-block: 75px; }
  .about-copy h2 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .about-copy > p:not(.eyebrow) { font-size: .94rem; }
  .detail-row { grid-template-columns: 91px 1fr; gap: 14px; padding-block: 19px; }
  .detail-label { font-size: .68rem; }
  .detail-row strong { font-size: .83rem; }
  .detail-row div > span { font-size: .77rem; }
  .contact-section { padding-block: 67px; }
  .contact-inner { display: grid; gap: 29px; }
  .contact-actions { gap: 10px; }
  .site-footer { flex-wrap: wrap; justify-content: space-between; min-height: 95px; padding-block: 17px; font-size: .69rem; }
  .site-footer > span { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
