/* Pixeley Gallery homepage. Built 1:1 against the 1440px desktop mockup. */

:root {
  --navy: #2e476f;
  --navy-card: #29476d;
  --navy-text: #2d4a7a;
  --mist: #dee7ee;
  --card: #f2f2f2;
  --lime: #f0fab5;
  --forest: #184f3a;
  --forest-text: #1d5236;
  --cream: #faebd6;
  --sun: #f5db6d;
  --gold: #f3dc6e;
  --pixel-blue: #9ab8e3;
  --check: #2ecc71;
  --ink: #000;
  --gray: #6e6e6e;
  --white: #fff;

  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --wrap: 1296px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pixel { font-family: var(--pixel); font-weight: 400; }

/* Image frames */
.ph { position: relative; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > img.contain { object-fit: contain; }
.ph > img.contain-left { object-fit: contain; object-position: left center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; cursor: pointer; font-weight: 600; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--white { background: var(--white); color: var(--ink); height: 52px; padding: 0 19px; border-radius: 10px; font-size: 19px; }
.btn--white:hover { background: #e9edf2; }
.btn--ghost { color: var(--white); height: 55px; padding: 0 17px; border-radius: 10px; font-size: 19px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--pill { border-radius: 999px; font-weight: 500; }
.btn--mist { background: var(--mist); color: var(--navy-text); height: 80px; width: 285px; font-size: 34px; }
.btn--mist:hover { background: #fff; }
.btn--cream { background: var(--cream); color: var(--forest); height: 80px; width: 287px; font-size: 33px; }
.btn--cream:hover { background: #fff5e6; }
.btn--sm { background: var(--forest); color: var(--white); height: 36px; padding: 0 24px; border-radius: 5px; font-size: 19px; font-weight: 500; }
.btn--sm:hover { background: #0f3a2a; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.nav-wrap { display: flex; align-items: center; height: 116px; padding: 0 30px 0 37px; }
.nav-logo { width: 130px; height: 70px; flex: none; }
.nav-logo > img { object-fit: contain; object-position: left center; }
.nav-menu { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 57px; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .drop-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 23px; font-size: 19px; font-weight: 500; color: var(--white); background: none; border: 0; cursor: pointer; }
.nav-links > li:first-child > a { padding-left: 0; }
.drop-btn svg { width: 11px; height: 9px; fill: currentColor; transition: transform .2s ease; }
.drop { position: absolute; top: 100%; left: 12px; min-width: 230px; padding: 8px; background: var(--white); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.drop a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 16px; font-weight: 500; color: var(--ink); }
.drop a:hover { background: var(--mist); }
.has-drop:hover .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .drop-btn svg, .has-drop.open .drop-btn svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-signin { color: var(--white); font-size: 19px; font-weight: 500; }
.nav-signin:hover, .nav-links > li > a:hover, .drop-btn:hover { color: var(--gold); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; height: 843px; background: #05080d; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg > img { filter: grayscale(.45) contrast(1.05); }
.hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(3,6,12,.55); }
.hero-inner { position: relative; z-index: 3; text-align: center; padding-top: 200px; }
.hero-title { font-size: 122px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.hero-title .pixel { color: var(--gold); letter-spacing: 0; font-size: 1.02em; }
.hero-sub { margin-top: 44px; font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.hero-cta { display: flex; justify-content: center; gap: 19px; margin-top: 56px; }

/* Logo strip */
.logo-strip { position: relative; height: 121px; padding-bottom: 6px; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.logo-strip:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 180px; padding-right: 180px; }
.marquee-group > * { flex: none; }
.logo-strip .ph { width: 72px; height: 48px; }
.logo-strip .ph > img { object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: var(--wrap); margin: 0 auto; padding: 0 0 45px; }
.services-col { display: grid; gap: 36px; }
.svc { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--card); }
.svc-head { height: 172px; padding: 36px 36px 0; }
.svc h2 { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.svc p { margin-top: 13px; font-size: 19.5px; line-height: 1.45; font-weight: 600; color: var(--gray); max-width: 560px; }
.svc-media { height: 216px; background: var(--mist); }
.svc-media--photo > img { object-position: 50% 30%; }
.svc-media > img.contain { inset: 20px 0; height: calc(100% - 40px); }
.svc--tall .svc-media { flex: 1; height: auto; }
.svc-media > img.contain { inset: 14px 0; height: calc(100% - 28px); }
.svc-media--web > img.contain { inset: 38px 0; height: calc(100% - 76px); }

/* Problems and solutions bands */
.band { position: relative; text-align: center; }
.band--problems { background: var(--lime); padding: 83px 0 66px; margin-top: 57px; }
.band--solutions { background: var(--mist); padding: 63px 0 72px; }
.band-title { font-size: 48px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; max-width: 1300px; margin: 0 auto; }
.band--problems .band-title { color: var(--forest-text); max-width: 1320px; }
.band--solutions .band-title { color: var(--navy-text); }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1370px; margin: 58px auto 0; }
.band--solutions .icon-grid { margin-top: 64px; }
.icon-grid li { display: flex; flex-direction: column; align-items: center; }
.icon { width: 210px; height: 214px; }
.icon-grid p { margin-top: 60px; font-size: 32px; line-height: 1.3; font-weight: 400; letter-spacing: -.005em; }
.band--solutions .icon-grid p { margin-top: 72px; }

.deco { position: absolute; z-index: 5; pointer-events: none; }
.deco--prob-tl { width: 120px; height: 100px; left: 10px; top: -48px; }
.deco--prob-br { width: 110px; height: 96px; right: 22px; bottom: -48px; }

/* About */
.about { max-width: var(--wrap); margin: 0 auto; padding: 60px 0 40px; }
.about-title { font-size: 48px; font-weight: 700; letter-spacing: -.025em; margin-left: -10px; }
.about-card { position: relative; margin-top: 52px; height: 728px; border-radius: 16px; background: var(--navy-card); display: flex; flex-direction: column; align-items: center; }
.deco--about { width: 150px; height: 118px; left: 50%; top: -58px; margin-left: 2px; transform: translateX(-50%); }
.about-art { display: flex; align-items: center; gap: 34px; margin-top: 150px; margin-left: 0; }
.about-mushroom { width: 345px; height: 385px; }
.about-pixel { color: var(--pixel-blue); font-size: 142px; line-height: .8; letter-spacing: 0; padding-top: 0; text-align: center; }
.about-pixel .l1 { font-size: 1.38em; line-height: .82; }
.about-pixel .l2 { font-size: .88em; }
.about-card .btn { margin-top: 64px; }
.about-note { margin-top: 40px; text-align: center; font-size: 23px; color: #707070; }

/* Expert services */
.expert { position: relative; display: flex; background: var(--forest); height: 596px; color: var(--white); }
.expert-photo { width: 916px; height: 530px; margin-top: 42px; flex: none; }
.expert-copy { padding: 68px 0 0 38px; max-width: 470px; }
.expert h2 { max-width: 440px; font-size: 38px; font-weight: 700; line-height: 1.26; letter-spacing: -.02em; }
.expert p { margin-top: 30px; font-size: 23px; line-height: 1.38; font-weight: 500; }
.expert .btn { margin-top: 38px; }
.deco--expert-br { width: 145px; height: 150px; right: 22px; bottom: 0; }
.deco--expert-bl { width: 140px; height: 110px; left: 12px; bottom: -62px; }

/* How can we help */
.help { padding: 68px 0 50px; }
.help-title { text-align: center; font-size: 58px; font-weight: 700; letter-spacing: -.025em; }
.help-grid { display: flex; align-items: flex-start; margin-top: 55px; }
.help-art { width: 540px; height: 450px; flex: none; margin-top: 4px; }
.checklist { margin-left: 75px; }
.checklist li { position: relative; padding-left: 100px; font-size: 27px; font-weight: 500; letter-spacing: -.005em; line-height: 1.2; }
.checklist li + li { margin-top: 52px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: -2px; width: 46px; height: 36px; background: var(--check);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 36'%3E%3Cpath d='M2 18l6-6 9 9L38 0l6 6-27 27z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 36'%3E%3Cpath d='M2 18l6-6 9 9L38 0l6 6-27 27z'/%3E%3C/svg%3E") center/contain no-repeat; }

.book { display: flex; width: 756px; height: 168px; margin: 38px auto 0; border-radius: 12px; overflow: hidden; background: var(--sun); box-shadow: 0 6px 12px rgba(0,0,0,.2); }
.book-art { width: 181px; flex: none; background: var(--forest); }
.book-art > img.contain { inset: 20px 12px; width: calc(100% - 24px); height: calc(100% - 40px); }
.book-copy { padding: 23px 26px 0; }
.book h3 { font-size: 28.5px; font-weight: 700; letter-spacing: -.03em; }
.book p { margin-top: 12px; font-size: 20px; font-weight: 600; color: #5a5840; }
.book .btn { margin-top: 13px; }

/* Contact */
.contact { display: grid; grid-template-columns: 560px 692px; justify-content: space-between; background: var(--navy); color: var(--mist); padding: 56px 58px 28px 62px; }
.contact-cloud { width: 384px; height: 228px; margin: 0 0 0 100px; }
.contact-info h2 { margin-top: 46px; font-size: 50px; font-weight: 700; letter-spacing: -.035em; }
.contact-info h3 { margin-top: 34px; font-size: 37px; font-weight: 700; letter-spacing: -.02em; }
.contact-info h2 + h3 { margin-top: 30px; }
.contact-info p { margin-top: 6px; font-size: 28px; line-height: 1.2; font-weight: 400; max-width: 540px; }
.contact-info p + h3 { margin-top: 46px; }
.contact-info .addr { max-width: none; }
.contact-info a:hover { color: var(--white); text-decoration: underline; }
.follow { display: flex; align-items: center; gap: 30px; margin-top: 6px; }
.follow h2 { font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.socials { display: flex; gap: 22px; }
.socials a { display: block; width: 32px; height: 32px; color: var(--mist); }
.socials a:hover { color: var(--white); }
.socials svg { width: 100%; height: 100%; }
.form-intro { margin-top: 36px; font-size: 28.5px; font-weight: 400; letter-spacing: -.005em; }
.contact-form { display: grid; gap: 34px; margin-top: 15px; }
.row-2 { display: grid; grid-template-columns: 330px 336px; justify-content: space-between; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; height: 64px; padding: 0 28px; background: transparent; border: 2px solid #e6ecf3; border-radius: 0; font-size: 24.5px; color: var(--white); }
.contact-form textarea { height: 184px; padding: 18px 28px; resize: vertical; display: block; }
.contact-form ::placeholder { color: #a9b6c9; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .invalid { border-color: #ff9a9a; }
.select select { appearance: none; -webkit-appearance: none; cursor: pointer; color: #a9b6c9; }
.select select.chosen { color: var(--white); }
.select select option { color: var(--ink); }
.select { position: relative; display: block; }
.select::after { content: ""; position: absolute; left: 212px; top: 50%; width: 14px; height: 14px; margin-top: -5px; background: #a9b6c9; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M0 0l7 5 7-5v4l-7 10L0 4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M0 0l7 5 7-5v4l-7 10L0 4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.select.chosen::after { left: auto; right: 26px; }
.hp { position: absolute; left: -9999px; }
.btn--send { width: 210px; height: 62px; margin-top: -4px; background: var(--mist); color: var(--navy-text); font-size: 28px; }
.btn--send svg { width: 30px; height: 30px; color: var(--ink); }
.btn--send:hover { background: #fff; }
.btn--send[disabled] { opacity: .6; cursor: wait; }
.form-status { min-height: 1.4em; margin-top: -18px; font-size: 18px; }
.form-status.ok { color: #b9f5cf; }
.form-status.err { color: #ffc2c2; }

/* Footer */
.footer { position: relative; background: var(--navy); color: var(--mist); padding: 0 0 36px; overflow: hidden; }
.footer-inner { display: flex; justify-content: space-between; max-width: 1296px; margin: 0 auto; padding-top: 50px; border-top: 1.5px solid #aeb9c9; }
.footer-brand { margin-left: -12px; }
.footer-logo { display: inline-flex; align-items: center; gap: 22px; height: 100px; }
.footer-logo img { width: 172px; height: auto; }

/* Wordmark built in type */
.wordmark { font-family: var(--pixel); font-weight: 400; display: inline-block; line-height: .9; letter-spacing: -.01em; }
.wordmark b { font-weight: 400; padding: 0 .06em; }
.wordmark--footer { font-size: 40px; color: var(--white); }
.wordmark--footer b { background: var(--white); color: var(--navy); }
.wordmark--strip { font-size: 21px; color: #8fb0de; text-align: left; width: 72px; }
.wordmark--strip b { background: #8fb0de; color: var(--white); }
.footer-brand > p { margin-top: 44px; font-size: 17.5px; font-weight: 600; line-height: 1.45; max-width: 600px; }
.socials--sm { margin-top: 16px; gap: 22px; }
.socials--sm a { width: 28px; height: 28px; }
.copy { margin-top: 70px; font-size: 13.5px; font-weight: 500; color: #b8c3d3; }
.footer-cols { display: grid; grid-template-columns: 192px 192px 120px; margin-top: 20px; margin-right: -30px; }
.footer-cols h4 { font-size: 18px; font-weight: 600; }
.footer-cols ul { margin-top: 30px; display: grid; gap: 12px; }
.footer-cols a { font-size: 18.5px; line-height: 1.2; font-weight: 400; display: inline-block; max-width: 140px; }
.footer-cols a:hover { color: var(--white); text-decoration: underline; }
.deco--footer { width: 226px; height: 180px; right: 22px; bottom: -14px; }

/* Tablet */
@media (max-width: 1340px) {
  .about-pixel { font-size: 110px; }
  .services, .about { padding-left: 24px; padding-right: 24px; }
  .about-title { margin-left: 0; }
  .footer-inner { margin: 0 24px; }
  .footer-brand { margin-left: 0; }
  .footer-cols { margin-right: 0; }
  .contact { grid-template-columns: 1fr 1fr; gap: 48px; padding-left: 24px; padding-right: 24px; }
  .contact-cloud { margin-left: 40px; }
  .row-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .expert-photo { width: 60%; }
  .help-art { width: 38%; }
  .checklist { margin-left: 40px; margin-right: 24px; }
  .about-pixel { font-size: 110px; }
  .about-mushroom { width: 280px; height: 312px; }
}

@media (max-width: 1080px) {
  .nav-wrap { padding: 0 20px; height: 88px; }
  .nav-logo { width: 100px; height: 54px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
  .nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-menu { position: absolute; top: 88px; left: 12px; right: 12px; margin: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; background: #0d1422; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.4); display: none; }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links > li > a, .drop-btn, .nav-links > li:first-child > a { padding: 12px 8px; width: 100%; justify-content: space-between; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: rgba(255,255,255,.06); }
  .drop a { color: var(--white); }
  .drop a:hover { background: rgba(255,255,255,.1); }
  .has-drop:hover .drop { display: none; }
  .has-drop.open .drop { display: block; }
  .nav-actions { justify-content: space-between; padding: 8px; }

  .hero { height: auto; min-height: 640px; padding-bottom: 80px; }
  .hero-inner { padding: 150px 20px 0; }
  .hero-title { font-size: clamp(54px, 11vw, 110px); }
  .hero-sub { font-size: 21px; margin-top: 28px; }

  .services { grid-template-columns: 1fr; }
  .svc--tall .svc-media { height: 420px; flex: none; }
  .svc-head { height: auto; padding-bottom: 28px; }

  .band-title { font-size: 30px; padding: 0 24px; }
  .logo-strip { height: 96px; }
  .marquee-group { gap: 96px; padding-right: 96px; }
  .marquee { animation-duration: 24s; }
  .about-title { font-size: 36px; }
  .expert h2 { font-size: 30px; max-width: none; }
  .band-title br { display: none; }
  .icon-grid { gap: 20px; padding: 0 24px; margin-top: 44px; }
  .band--solutions .icon-grid { margin-top: 44px; }
  .icon { width: 140px; height: 144px; }
  .icon-grid p, .band--solutions .icon-grid p { margin-top: 26px; font-size: 21px; }

  .about-card { height: auto; padding: 100px 24px 48px; }
  .about-art { flex-direction: column; margin: 0; }
  .about-pixel { font-size: clamp(64px, 14vw, 110px); text-align: center; }

  .expert { flex-direction: column; height: auto; padding-bottom: 90px; }
  .expert-photo { width: 100%; height: 56vw; margin-top: 32px; }
  .expert-copy { padding: 40px 24px 0; max-width: none; }

  .help { padding-left: 24px; padding-right: 24px; }
  .help-title { font-size: 40px; }
  .help-grid { flex-direction: column; align-items: center; }
  .help-art { width: 100%; max-width: 440px; height: 340px; }
  .help-art > img.contain-left, .expert-photo > img.contain-left { object-position: center; }
  .checklist { margin: 40px 0 0; }
  .checklist li { padding-left: 64px; font-size: 21px; }
  .checklist li::before { width: 36px; height: 28px; }
  .checklist li + li { margin-top: 30px; }
  .book { width: 100%; max-width: 756px; height: auto; }
  .book-copy { padding-bottom: 22px; }

  .contact { grid-template-columns: 1fr; padding: 56px 24px; }
  .contact-cloud { margin: 0 auto; width: 300px; height: 178px; }
  .follow { flex-wrap: wrap; gap: 16px; }
  .follow h2 { font-size: 32px; }
  .contact-info h2 { font-size: 38px; }
  .contact-info .addr br { display: none; }
  .contact-info h3 { font-size: 28px; }
  .contact-info p, .form-intro { font-size: 22px; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-logo img { width: 140px; }
  .wordmark--footer { font-size: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); padding-bottom: 150px; }
  .copy { margin-top: 36px; }
}


/* Tablet: keep two-column rhythm where it still fits */
@media (min-width: 701px) and (max-width: 1080px) {
  .services { grid-template-columns: 1fr 1fr; gap: 24px; }
  .services-col { gap: 24px; }
  .svc--tall .svc-media { flex: 1; height: auto; min-height: 300px; }
  .about-art { flex-direction: row; gap: 28px; }
  .about-mushroom { width: 230px; height: 256px; }
  .about-pixel { font-size: 76px; }
  .help-grid { flex-direction: row; align-items: center; }
  .help-art { width: 38%; height: 300px; margin-left: -24px; }
  .help-art > img.contain-left { object-position: left center; }
  .checklist { margin: 0 0 0 28px; }
  .contact { grid-template-columns: 1fr 1.25fr; gap: 40px; }
  .contact-cloud { width: 240px; height: 142px; margin: 0; }
  .contact-info h2 { font-size: 32px; }
  .contact-info h3 { font-size: 24px; }
  .contact-info p, .form-intro { font-size: 19px; }
  .follow h2 { font-size: 28px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 19px; height: 54px; padding: 0 18px; }
  .contact-form textarea { height: 150px; padding: 14px 18px; }
}

@media (max-width: 600px) {
  .nav-actions .btn--white { height: 44px; font-size: 17px; }
  .logo-strip .ph { width: 54px; height: 36px; }
  .wordmark--strip { font-size: 16px; width: 54px; }
  .marquee-group { gap: 56px; padding-right: 56px; }
  .hero-sub { font-size: 18px; }
  .btn--mist, .btn--cream { width: 220px; height: 64px; font-size: 26px; }
  .row-2 { grid-template-columns: 1fr; gap: 34px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 19px; padding-left: 18px; padding-right: 18px; }
  .select::after { left: 180px; }
  .book { flex-direction: column; }
  .book-art { width: 100%; height: 140px; }
  .icon-grid { gap: 10px; padding: 0 12px; }
  .icon { width: 84px; height: 86px; }
  .icon-grid p, .band--solutions .icon-grid p { margin-top: 18px; font-size: 15px; line-height: 1.35; }
  .icon-grid p br { display: none; }
  .band-title { font-size: 26px; }
  .band--problems { padding-top: 64px; padding-bottom: 56px; }
  .band--solutions { padding-top: 56px; padding-bottom: 56px; }
  .hero { min-height: 600px; }
  .hero-inner { padding-top: 132px; }
  .svc-head { padding: 26px 24px 22px; }
  .svc h2 { font-size: 23px; }
  .svc p { font-size: 16.5px; }
  .svc--tall .svc-media { height: 360px; }
  .help-title { font-size: 34px; }
  .help-grid { margin-top: 32px; }
  .help-art { height: 250px; }
  .about { padding-top: 48px; }
  .about-card { padding-top: 80px; }
  .contact-cloud { width: 240px; height: 142px; }
  .contact-info h2 { font-size: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .deco--prob-tl, .deco--prob-br, .deco--expert-bl { transform: scale(.7); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ============ V1.1 motion ============ */
/* Stepped timing keeps the motion in the same low-frame-rate spirit as the pixel art. */

/* Hero intro: one orchestrated sequence on load */
.hero-title .line { display: inline-block; overflow: hidden; padding: 0 .04em .06em; margin-bottom: -.06em; vertical-align: top; }
.hero-title .line > span { display: inline-block; }
html.js .hero-bg > img { animation: heroZoom 2.6s cubic-bezier(.2,.7,.2,1) both; }
html.js .site-header { animation: fadeDown .7s ease .1s both; }
html.js .hero-title .line > span { animation: riseIn .9s cubic-bezier(.2,.8,.2,1) both; }
html.js .hero-title .line:nth-of-type(1) > span { animation-delay: .25s; }
html.js .hero-title .line:nth-of-type(2) > span { animation-delay: .4s; }
.hero-title .type { position: relative; display: inline-block; }
html.js .hero-title .type { animation: typeOn .8s steps(8, end) 1s both; }
.hero-title .type::after { content: ""; position: absolute; right: -.22em; bottom: .14em; width: .14em; height: .62em; background: var(--gold); opacity: 0; }
html.js .hero-title .type::after { animation: caret .5s steps(1) 1s 5; }
html.js .hero-sub { animation: fadeUp .7s ease 1.55s both; }
html.js .hero-cta { animation: fadeUp .7s ease 1.7s both; }

@keyframes heroZoom { from { transform: scale(1.1); opacity: .2; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { transform: translateY(105%); } to { transform: none; } }
@keyframes typeOn { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -40% -20% 0); } }
@keyframes caret { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveals: stepped rise, once per element */
html.js [data-reveal], html.js [data-stagger] > li { opacity: 0; transform: translateY(28px); }
html.js [data-reveal].in, html.js [data-stagger] > li.in { animation: pixelIn .56s steps(7, end) var(--d, 0s) both; }
@keyframes pixelIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Problem icons glitch once as they land; solution icons pop */
.band--problems .icon-grid li.in .icon { animation: glitch .5s steps(2, end) calc(var(--d, 0s) + .5s) 2; }
.band--solutions .icon-grid li.in .icon { animation: pop .5s steps(4, end) calc(var(--d, 0s) + .45s) both; }
@keyframes glitch { 0% { transform: translate(0); } 25% { transform: translate(-6px, 2px); } 50% { transform: translate(5px, -3px); } 75% { transform: translate(-3px, 0); } 100% { transform: translate(0); } }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* Checklist ticks stamp in after each line */
.checklist li::before { transform-origin: 20% 80%; }
html.js .checklist li::before { transform: scale(0); }
html.js .checklist li.in::before { animation: stamp .4s steps(4, end) calc(var(--d, 0s) + .3s) both; }
@keyframes stamp { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: scale(1); } }

/* Stickers idle like two-frame sprites */
.deco > img { animation: sway 1.6s steps(1, end) infinite; transform-origin: 50% 80%; }
.deco--prob-br > img, .deco--expert-bl > img { animation-delay: -.8s; }
.deco--expert-br > img, .deco--footer > img { animation-name: squash; animation-duration: 1.8s; transform-origin: 50% 100%; }
.deco--about > img { animation-duration: 1.2s; }
@keyframes sway { 0% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes squash { 0% { transform: scale(1, 1); } 50% { transform: scale(1.04, .96); } }
.book-art > img { animation: bob 1.4s steps(1, end) infinite; }
@keyframes bob { 0% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Hover responses */
.svc-media > img { transition: transform .35s steps(4, end); }
.svc:hover .svc-media > img { transform: scale(1.05); }
.btn--white:hover, .btn--mist:hover, .btn--cream:hover, .btn--send:hover, .btn--sm:hover { transform: translateY(-2px); }
.btn--send:hover svg { animation: fly .5s steps(3, end) both; }
@keyframes fly { 50% { transform: translate(4px, -4px); } 100% { transform: none; } }
.about-mushroom > img { transition: transform .3s steps(3, end); }
.about-card:hover .about-mushroom > img { transform: rotate(-4deg) translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-stagger] > li { opacity: 1; transform: none; }
  html.js .checklist li::before { transform: none; }
  *, *::before, *::after { animation: none !important; }
}
