:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.18);
  --btn: #fff;
  --btn-fg: #000;
  --pad: 16px;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 36px var(--pad) 64px;
}

/* —— Profile —— */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

.profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  background: #111;
}

.profile__avatar img,
.profile__avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile__sub {
  margin: 10px 0 0;
  max-width: 28ch;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--fg);
  opacity: 0.92;
}

/* —— Film / section blocks —— */
.block {
  margin: 0 0 28px;
  width: 100%;
}

.block--fold {
  margin-bottom: 10px;
}

.block__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
}

.block__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  background: #1a1a1a;
}

.block__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.block__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block__sub {
  margin: 6px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}

.block__label {
  margin: 18px 0 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}

/* —— Buttons —— */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 48px;
  background: var(--btn);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  opacity: 0.92;
}

.btn__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  opacity: 0.85;
  pointer-events: none;
}

/* —— Film accordion (not a link button) —— */
.fold-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 10px 14px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fold-toggle:hover,
.fold-toggle.is-open {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.fold-toggle__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: #151515;
}

.fold-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.fold-toggle__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.fold-toggle__sub {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-transform: none;
}

.fold-toggle__icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 2px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.fold-toggle.is-open .fold-toggle__icon {
  transform: rotate(225deg);
  margin-top: 4px;
}

.fold {
  width: 100%;
  margin-top: 10px;
  padding: 0 0 8px;
}

.fold[hidden] {
  display: none;
}

/* —— Contact —— */
.hi {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.hi a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.hi a:hover {
  color: var(--fg);
}

.rule {
  height: 1px;
  margin: 32px 0 24px;
  background: var(--line);
  border: 0;
}

/* —— Newsletter —— */
.news {
  text-align: center;
  width: 100%;
}

.news__title {
  margin: 0 0 22px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.news__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.field {
  text-align: left;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.field input {
  width: 100%;
  padding: 8px 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--fg);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  border-radius: 0;
}

.field input::placeholder {
  color: transparent;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--fg);
  cursor: pointer;
  user-select: none;
}

.check input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--fg);
  cursor: pointer;
}

.check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news__note {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--muted);
}

.news__note--ok {
  color: #b8f5c4;
}

.news__note--err {
  color: #ffb4b4;
}

@media (prefers-reduced-motion: no-preference) {
  .profile,
  .block:not(.block--fold),
  .news {
    animation: rise 0.7s var(--ease) both;
  }

  .links .btn {
    animation: rise 0.5s var(--ease) both;
  }

  .links .btn:nth-child(1) {
    animation-delay: 0.06s;
  }
  .links .btn:nth-child(2) {
    animation-delay: 0.1s;
  }
  .links .btn:nth-child(3) {
    animation-delay: 0.14s;
  }
  .links .btn:nth-child(4) {
    animation-delay: 0.18s;
  }
  .links .btn:nth-child(5) {
    animation-delay: 0.22s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 380px) {
  .news__row {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 0.92rem;
  }

  .fold-toggle__title {
    font-size: 0.85rem;
  }
}
