/* JP Fanclub — photo-first, short copy, no AI-kit chrome */

:root {
  --red: #c4121a;
  --ink: #1c1410;
  --mute: #5c4a3c;
  --paper: #f4efe8;
  --line: #ddd0c0;
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--red);
}

.logo img {
  width: 1.35rem;
  height: auto;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.top nav a {
  text-decoration: none;
  color: var(--mute);
}

.top nav a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.2rem 2.5rem;
  max-width: 56rem;
  margin: 0 auto;
  align-items: center;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 11vw, 3rem);
  line-height: 0.92;
  color: var(--red);
}

.hero__brand img {
  width: clamp(2.2rem, 8vw, 3rem);
  height: auto;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 700;
}

.hero__lede {
  margin: 0 0 1.2rem;
  max-width: 28rem;
  color: var(--mute);
}

.hero__shot {
  margin: 0;
}

.hero__shot img {
  width: 100%;
  border: 1px solid var(--line);
}

.hero__shot figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--mute);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border: 0;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.07);
}

.split {
  display: grid;
  gap: 1.25rem;
  padding: 2.2rem 1.2rem;
  max-width: 56rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  align-items: center;
}

.split__shot {
  margin: 0;
}

.split__shot img {
  width: 100%;
  border: 1px solid var(--line);
}

.split h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  color: var(--red);
}

.split p {
  margin: 0 0 0.8rem;
  color: var(--mute);
}

.split p:last-child {
  margin-bottom: 0;
}

.plain {
  padding: 2.2rem 1.2rem;
  max-width: 38rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.plain__apple {
  width: 3rem;
  height: auto;
  margin-bottom: 0.6rem;
}

.plain h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

.plain p {
  margin: 0 0 0.85rem;
  color: var(--mute);
}

.plain__quote {
  margin-top: 1rem !important;
  padding-left: 0.85rem;
  border-left: 3px solid var(--red);
  font-style: italic;
  color: var(--ink) !important;
}

.plain--center {
  text-align: center;
}

.plain--center .plain__apple {
  margin-inline: auto;
}

.status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  color: var(--red);
  font-weight: 700;
}

.shots {
  padding: 2.2rem 1.2rem 2.6rem;
  max-width: 56rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.shots h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

.shots__grid {
  display: grid;
  gap: 1rem;
}

.shots figure {
  margin: 0;
}

.shots img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.shots figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--mute);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.3rem 1rem 1.7rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.9rem;
}

.foot p {
  margin: 0;
}

.foot img {
  width: 1.05rem;
  height: auto;
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
    min-height: calc(100svh - 3.5rem);
  }

  .split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .shots__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Join form on homepage */

.join-form {
  text-align: left;
  max-width: 24rem;
  margin: 1rem auto 0;
}

.app-form {
  display: grid;
  gap: 0.9rem;
}

.app-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.app-form input[type="text"],
.app-form input:not([type]),
.app-form input[type="password"],
.app-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.app-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--mute);
}

.app-form .check input {
  margin-top: 0.25rem;
}

.hint {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mute);
}

.app-note {
  color: var(--mute);
}

.app-note a {
  color: var(--red);
  font-weight: 700;
}

.btn--ghost {
  background: transparent;
  color: var(--red);
  box-shadow: inset 0 0 0 2px var(--red);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
