/* KAZIKOL v6 — mobile-first refinements layered over the existing identity. */
@media (max-width: 850px) {
  html { scroll-padding-top: 82px; }
  .nav { min-width: 0; }
  .nav-links { z-index: 110; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
  .nav-link { display: flex; align-items: center; min-height: 50px; }
  .menu-toggle { flex: 0 0 48px; width: 48px; height: 48px; position: relative; z-index: 111; }
  .site-header.mobile-open { background: #100b1c; }
  .hero-grid { min-width: 0; }
  .hero-visual { pointer-events: none; }
  .hero-copy { min-width: 0; }
  .section-title { overflow-wrap: normal; }
  .release-grid { align-items: stretch; }
  .track-embed { max-width: 100%; }
}
@media (max-width: 680px) {
  :root { --header: 66px; }
  .container { width: calc(100% - 36px); max-width: 560px; }
  .nav { gap: 12px; }
  .brand { gap: 9px; }
  .brand-glyph { font-size: 27px; }
  .brand-word { font-size: 13px; letter-spacing: .13em; }
  .nav-links { top: var(--header); padding: 13px 18px max(18px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 22px 35px #0008; }
  .nav-link { border-bottom: 1px solid #ffffff0e; font-size: 15px; padding-inline: 16px; }
  .nav-link:last-child { border: 0; }
  .nav-link::after { left: 16px; }
  .nav-link.is-active::after, .nav-link:hover::after { right: calc(100% - 82px); }
  .hero { min-height: 0; padding: calc(var(--header) + 42px) 0 80px; overflow: hidden; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 0; z-index: 3; }
  .hero-visual { position: absolute; z-index: 0; width: min(83vw, 360px); aspect-ratio: 1; top: 2px; right: -34%; margin: 0; opacity: .24; filter: saturate(.7); }
  .visual-top-label, .visual-bottom-label, .visual-cross, .visual-ring { display: none; }
  .hero-halo { opacity: .08; }
  .eyebrow { white-space: normal; line-height: 1.7; font-size: 9px; letter-spacing: .11em; gap: 9px; margin-bottom: 30px; max-width: 100%; }
  .eyebrow-line { flex: 1 1 12px; min-width: 9px; max-width: 24px; }
  .hero-title { font-size: clamp(52px, 14.3vw, 90px); letter-spacing: -.098em; line-height: .93; margin-bottom: 21px; }
  .hero-title-top { font-size: clamp(20px, 5.5vw, 29px); padding-left: 3px; line-height: 1.4; margin-bottom: 5px; }
  .hero-name { width: max-content; max-width: none; }
  .hero-name-period { margin-left: .075em; }
  .hero-tagline { max-width: 350px; font-size: clamp(11px, 3.2vw, 13px); line-height: 1.6; letter-spacing: .025em; margin-bottom: 17px; }
  .hero-description { font-size: 14px; line-height: 1.78; max-width: 335px; margin-bottom: 25px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; min-height: 52px; padding: 13px 15px; font-size: 11px; justify-content: space-between; }
  .hero-footnote { margin-top: 30px; font-size: 9px; letter-spacing: .11em; gap: 12px; }
  .hero-footnote-line { flex: 0 0 28px; }
  .scroll-cue { bottom: 22px; font-size: 8px; }
  .scroll-mouse { height: 25px; width: 17px; }
  .marquee-bar { padding-block: 12px; }
  .about-section, .music-section, .projects-section, .socials-section, .contact-section { padding: 74px 0; }
  .section-intro { margin-bottom: 31px; }
  .section-index { font-size: 9px; }
  .section-title { font-size: clamp(40px, 11vw, 65px); line-height: 1.035; letter-spacing: -.073em; }
  .section-heading-row { gap: 16px; margin-bottom: 26px; }
  .section-description { font-size: 13px; line-height: 1.7; }
  .about-layout { gap: 35px; }
  .about-portrait { width: min(100%, 355px); max-width: 100%; margin-inline: auto; }
  .portrait-frame { margin-left: 0; }
  .portrait-tag { right: 0; }
  .portrait-serial { font-size: 8px; line-height: 1.5; }
  .about-copy .section-title { margin-bottom: 18px; }
  .about-lead { font-size: clamp(19px, 5.5vw, 24px); line-height: 1.4; }
  .body-copy { font-size: 14px; line-height: 1.8; }
  .about-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .mini-card { min-width: 0; padding: 12px 9px; }
  .mini-card strong { font-size: 9px; }
  .mini-card>span:last-child { font-size: 10px; line-height: 1.4; }
  .spotify-feature { padding: 12px; border-radius: 14px; margin-bottom: 22px; }
  .spotify-feature-head { gap: 8px; flex-wrap: wrap; margin-bottom: 13px; }
  .spotify-feature-head h3 { font-size: 13px; }
  .spotify-feature-head a { font-size: 10px; }
  .spotify-feature iframe { max-width: 100%; }
  .release-grid { grid-template-columns: 1fr; gap: 14px; }
  .release-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto; align-items: start; column-gap: 14px; row-gap: 0; padding: 13px; border-radius: 15px; transform: none; }
  .release-cover { grid-column: 1; grid-row: 1 / span 3; width: 108px; aspect-ratio: 1; border-radius: 10px; }
  .release-badge { top: 7px; left: 7px; font-size: 7px; padding: 4px 7px; }
  .release-info { display: contents; }
  .release-meta { grid-column: 2; grid-row: 1; margin: 1px 0 3px; font-size: 9px; }
  .release-info h3 { grid-column: 2; grid-row: 2; font-size: clamp(17px, 4.6vw, 22px); line-height: 1.15; margin: 0 0 5px; overflow-wrap: anywhere; }
  .release-artist { grid-column: 2; grid-row: 3; font-size: 12px; margin: 0; }
  .release-actions { grid-column: 1 / -1; grid-row: 4; margin-top: 13px; }
  .release-link { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 13px; font-size: 10px; font-weight: 700; }
  .track-embed, .release-actions + .track-embed { grid-column: 1 / -1; grid-row: 5; width: 100%; height: 152px; min-width: 0; margin-top: 12px; border-radius: 12px; }
  .release-card:hover { transform: none; }
  .music-bottom { flex-wrap: wrap; gap: 15px; margin-top: 25px; padding-top: 20px; }
  .music-bottom p { flex-basis: calc(100% - 75px); }
  .project-grid { gap: 13px; }
  .project-card, .project-future { min-height: 350px; padding: 21px; }
  .project-symbol { top: 55px; }
  .project-future .future-symbol { top: 75px; }
  .project-details h3 { font-size: 35px; }
  .project-details p { min-height: 0; max-width: 310px; }
  .social-grid { gap: 11px; }
  .social-tile { min-height: 82px; padding: 13px 15px; gap: 14px; }
  .social-name { font-size: 16px; }
  .social-icon { width: 48px; height: 48px; }
  .contact-layout { gap: 25px; }
  .contact-copy .section-title { font-size: clamp(55px, 14.5vw, 83px); }
  .contact-intro { font-size: 14px; line-height: 1.75; }
  .email-box { margin-top: 23px; }
  .email-box a { font-size: clamp(17px, 5.1vw, 24px); }
  .form-card { padding: 22px 17px; border-radius: 15px; }
  .form-card h3 { font-size: 25px; }
  .form-subtitle { line-height: 1.65; }
  .form-row { grid-template-columns: minmax(0,1fr); gap: 0; }
  .form-field input, .form-field select, .form-field textarea { min-height: 52px; font-size: 16px; padding: 13px 14px; }
  .form-field textarea { min-height: 145px; }
  .form-field label { font-size: 13px; }
  .form-setup { font-size: 12px; }
  .form-submit { min-height: 54px; font-size: 10px; }
  .footer { padding: 32px 0 25px; }
  .footer-logo { font-size: 45px; }
  .footer-top { gap: 10px; padding-bottom: 24px; }
  .footer-top p { font-size: 9px; line-height: 1.7; }
  .footer-bottom { gap: 10px; line-height: 1.7; }
  /* Avoid animated transforms affecting text and iframe touch targets. */
  .release-card, .social-tile, .project-card { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 30px); }
  .hero-title { font-size: 14.1vw; }
  .hero-tagline { font-size: 10.5px; }
  .eyebrow { font-size: 8px; letter-spacing: .06em; }
  .release-card { grid-template-columns: 94px minmax(0,1fr); column-gap: 11px; padding: 10px; }
  .release-cover { width: 94px; }
  .release-info h3 { font-size: 17px; }
  .social-tile { padding: 12px; }
  .about-mini-grid { grid-template-columns: 1fr; }
  .mini-card { flex-direction: row; align-items: center; gap: 10px; }
  .mini-card>span:last-child { margin-left: auto; }
}
@media (hover: none) and (pointer: coarse) {
  .button:hover, .project-card:hover, .social-tile:hover, .release-card:hover { transform: none; }
  .release-cover img { transition: none; }
  .release-card:hover .release-cover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual, .hero-name { animation: none !important; }
}
/* Protect the headline and paragraph from translucent artwork on narrow viewports. */
@media (max-width: 680px) {
  .hero-visual { right: -45%; top: 26px; width: min(73vw, 320px); opacity: .13; -webkit-mask-image: linear-gradient(90deg,transparent 3%,#000 72%); mask-image: linear-gradient(90deg,transparent 3%,#000 72%); }
  .visual-ambient { opacity: .08; filter: blur(60px); }
  .hero-sculpture { animation: none; filter: none; }
}

/* v7: same pictograms on iOS and Android, generous touch areas. */
@media (max-width:600px) { .social-arrow svg { width:19px;height:19px; } .mini-icon svg { width:24px;height:24px; } .social-tile { min-height:88px; } }
