/* ==========================================================
   Honono Studio — site styles
   Split hero with the logo on a striped "thunder" panel cut with a
   lightning-bolt edge. Colors live in assets/base.css.
   ========================================================== */
:root { --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* ---------- Header ---------- */
.site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; }
.nav-cta { min-height: 44px; padding: .5rem 1.25rem; }
.header-inner { gap: .75rem; }
.brand-name { white-space: nowrap; }
@media (max-width: 360px) {
  .nav-cta { padding-inline: .9rem; }
  .brand { gap: .45rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.lead { font-size: clamp(1.1rem, 2.1vw, 1.3rem); color: var(--text-muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Striped "thunder" panel behind the large logo, cut with a lightning-bolt edge */
.hero-art {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; min-height: 440px;
  background: var(--highlight); padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 18%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 16% 50%, 6% 50%);
}
.hero-art::before { /* diagonal "bolt" stripes */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 40px, rgb(255 255 255 / .2) 40px 80px);
}
.hero-art::after { /* white flash layer, animated in sync with the logo by base.css */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: #fff; opacity: 0;
}
.hero-logo { position: relative; z-index: 1; max-width: 460px; --logo-color: var(--ink); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  /* on phones the panel sits above the text and the bolt cuts across its bottom edge */
  .hero-art {
    order: -1; min-height: 0; padding: 2rem 1.5rem 3.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 58% 86%, 62% 80%, 0 100%);
  }
  .hero-logo { max-width: 300px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.section-intro { color: var(--text-muted); font-size: 1.15rem; max-width: 50ch; margin-bottom: 2.25rem; }

.contact { text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; background: var(--footer-bg); color: var(--footer-text);
  padding: calc(2.25rem + 10px) 0 2.25rem; font-size: .95rem;
}
.site-footer::before { /* thin striped "thunder" band, echoing the hero panel */
  content: ""; position: absolute; inset: 0 0 auto; height: 10px;
  background: var(--highlight)
    repeating-linear-gradient(-55deg, transparent 0 14px, rgb(255 255 255 / .35) 14px 28px);
}
.footer-inner { text-align: center; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--highlight); margin-left: .75rem; }

/* ---------- Coming soon ---------- */
.app-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem 2rem;
  max-width: 820px; margin-top: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.app-icon { width: 112px; height: 112px; }
.app-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; }
.app-body p { font-size: 1.15rem; margin: 0; text-wrap: pretty; }
.app-body .app-platforms {
  display: inline-block; margin-top: .75rem; font-size: .8rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
@media (max-width: 760px) {
  .app-card { grid-template-columns: 1fr; }
  .app-icon { width: 80px; height: 80px; }
}
.upcoming { padding-top: 0; }

/* ---------- Personal note ---------- */
.note { background: var(--surface); border-block: 1px solid var(--line); }
.note-inner { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem 4rem; align-items: start; }
.note-inner > .section-title { grid-column: 2; grid-row: 1; margin-bottom: 0; }
.note-photo { position: relative; grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; }
/* % margin resolves against the figure itself, so the photo always fits the ring */
.note-photo img { display: block; width: 76%; margin: 12%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.note-photo-label { /* yellow ring with the caption curving along its bottom */
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.note-photo-label circle { stroke: var(--highlight); stroke-width: 3; }
.note-photo-label text { font-size: 11px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; fill: var(--text); }
.note-body { grid-column: 2; grid-row: 2; border-left: 4px solid var(--highlight); padding-left: clamp(1.25rem, 3vw, 2rem); }
.note-body p { font-size: 1.15rem; max-width: 60ch; margin: 0 0 1.1rem; }
.note-body .note-sign { font-weight: 800; margin: 1.75rem 0 0; }
@media (max-width: 760px) {
  .note-inner { grid-template-columns: 1fr; }
  .note-inner > .section-title, .note-photo, .note-body { grid-column: 1; grid-row: auto; }
  .note-photo { width: 100%; max-width: 240px; justify-self: center; }
}

/* ---------- 404 page ---------- */
.notfound-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.notfound-art { width: min(100%, 340px); height: auto; margin-bottom: 1.75rem; }
.notfound-art .mountain { fill: none; stroke: var(--text); stroke-width: 8; stroke-linejoin: round; }
.notfound-art .bolt { fill: var(--highlight); stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.notfound .section-title { margin-bottom: 0; }

/* ---------- Privacy policy page ---------- */
.policy-inner { max-width: 68ch; }
.policy-meta { color: var(--text-muted); margin-bottom: 2rem; }
.policy h2 { font-size: 1.35rem; font-weight: 800; margin: 2.25rem 0 .5rem; }
.policy p { margin: 0 0 1rem; }
