/* HeyDavid: static site styles (brand blue #0054ff + logo pink, Lato as on the original Divi site) */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lato-900-latin.woff2") format("woff2"); }

:root {
  --blue: #0054ff;
  --blue-dark: #0040c4;
  --navy: #0b1533;
  --pink: #ee6d93;
  --pink-dark: #c9466d;
  --sky: #8ec7f4;
  --ink: #1b2236;
  --muted: #5b6478;
  --line: #e3e8f2;
  --tint: #f3f7ff;
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 76px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 900; color: var(--pink-dark); margin-bottom: .8rem; }
.eyebrow.light { color: #ffd1de; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 12px 28px; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  font: 900 .85rem/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .78rem; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0,84,255,.8); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 28px -14px rgba(0,0,0,.5); }
.btn-white:hover { background: #ffe3eb; color: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { width: clamp(140px, 15vw, 172px); height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--blue); border-bottom-color: var(--pink); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 48px; height: 48px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; margin: auto; }
@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(11,21,51,.3);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(238,109,147,.45), transparent 42%), radial-gradient(circle at 0% 100%, rgba(142,199,244,.35), transparent 45%), var(--blue); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.01em; margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 540px; }
.hero-media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(11,21,51,.35)); }
.row-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.hero.nf { min-height: 60vh; display: flex; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero-media { max-width: 620px; } }
@media (max-width: 420px) { .row-actions .btn { flex: 1 1 100%; } }

/* Bands */
.band { padding: clamp(64px, 8vw, 110px) 0; }
.band.tint { background: var(--tint); }
.band.blue { background: radial-gradient(circle at 100% 0%, rgba(238,109,147,.35), transparent 40%), var(--navy); color: #fff; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.sub-head { margin: clamp(40px, 5vw, 64px) 0 20px; font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }

/* Services */
.services-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service:hover { border-color: #c7d6ff; box-shadow: 0 18px 36px -24px rgba(0,84,255,.55); transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #e8efff; color: var(--blue); margin-bottom: 16px; }
.service-icon svg { width: 28px; height: 28px; }
.service p { margin: 0; color: var(--muted); font-size: .98rem; }
.services-art { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 20px); }
.services-art img { width: 100%; max-width: 380px; margin: 0 auto; }
@media (max-width: 980px) { .services-layout { grid-template-columns: 1fr; } .services-art { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Work */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px -32px rgba(11,21,51,.55); display: flex; flex-direction: column; }
.project-media { display: block; overflow: hidden; background: var(--line); cursor: zoom-in; border-bottom: 1px solid var(--line); }
.project-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .4s; }
.project-media:hover img { transform: scale(1.03); }
.project-body { padding: 22px 26px 26px; }
.project-body .eyebrow { margin-bottom: .4rem; }
.project-body h3 { font-size: 1.3rem; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; background: var(--line); cursor: zoom-in; box-shadow: 0 16px 32px -26px rgba(11,21,51,.6); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-art img { width: 100%; max-width: 500px; margin: 0 auto; }
.about h3 { margin-top: 2rem; }
.about p:not(.eyebrow) { color: var(--muted); }
.skills { display: grid; gap: 16px; margin: 1.6rem 0 0; }
.skills li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.skill-name { font-weight: 900; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.skill-pct { font-weight: 700; color: var(--blue); font-size: .9rem; }
.bar { grid-column: 1 / -1; height: 10px; background: #e8efff; border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--pink)); }
.w90 { width: 90%; } .w60 { width: 60%; } .w20 { width: 20%; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-art { order: 2; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; padding: clamp(24px, 3vw, 36px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.quote > svg { width: 36px; height: 36px; color: var(--pink); margin-bottom: 12px; }
.quote blockquote { margin: 0; font-size: 1.08rem; color: rgba(255,255,255,.9); }
.quote figcaption { margin-top: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--sky); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: var(--muted); }
.contact-links { display: grid; gap: 14px; margin-top: 24px; }
.contact-links a { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-links a svg { width: 1.4em; height: 1.4em; color: var(--blue); }
.contact-links a:hover { color: var(--blue); }
.contact-form { background: var(--tint); padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 4px; }
.field em { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfd8ea; border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,84,255,.15); }
.field [aria-invalid="true"] { border-color: #c62828; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; }
.form-status { margin: 12px 0 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #1b7a3a; }
.form-status.err { color: #b42318; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(11,21,51,.96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(11,21,51,.9); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-close svg { width: 26px; height: 26px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .9rem; color: rgba(255,255,255,.75); margin: 0; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-count { bottom: 24px; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); font-size: .95rem; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-grid h2 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid li { margin-bottom: .4rem; }
.footer-logo { width: 170px; margin-bottom: 16px; background: #fff; padding: 10px 14px; border-radius: 10px; box-sizing: content-box; }
.site-footer a { display: inline-flex; align-items: center; gap: .6em; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #ffd1de; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 calc(18px + env(safe-area-inset-bottom)); font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bar .wrap { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.footer-bar a { color: rgba(255,255,255,.75); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } .footer-bar .wrap { padding-right: 70px; } }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
