/* cache-bust: 20261107s */
:root {
  --ink: #16322c;
  --muted: #4d6a63;
  --paper: #f2f7f4;
  --leaf: #1f7a5c;
  --sun: #f0b429;
  --deep: #0f2420;
  --card-w: clamp(7.5rem, 22vw, 12.5rem);
  --card-h: clamp(10.5rem, 31vw, 17.5rem);
  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, #ffe8a8 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 12% 80%, #b8e7c8 0%, transparent 60%),
    linear-gradient(180deg, #d9f0fb 0%, #eef7f2 42%, #f7fbf8 100%);
  animation: drift 16s ease-in-out infinite alternate;
}

.topbar {
  --logo-size: clamp(5.2rem, 14vw, 6.4rem);
  --bar-h: 2.55rem;
  position: relative;
  z-index: 2;
  width: min(100% - 1.5rem, 56rem);
  margin: calc(var(--logo-size) * 0.32) auto 0;
  min-height: var(--bar-h);
  padding: 0.2rem 1.05rem 0.2rem calc(var(--logo-size) * 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, white 82%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: 0 10px 28px rgba(15, 36, 32, 0.06);
  backdrop-filter: blur(10px);
  animation: rise 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand,
.top-link {
  text-decoration: none;
  color: var(--deep);
  font-weight: 700;
}

.brand {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  width: var(--logo-size);
  height: var(--logo-size);
  transform: translateY(-50%);
  object-fit: contain;
  border-radius: 999px;

}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 40px;
  gap: 0.08rem;
  min-width: 0;
  padding-right: 0.15rem;
}

.brand-title {
  line-height: 1.05;
  font-size: 1.1rem;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.25;
  white-space: normal;
  max-width: min(52vw, 18rem);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(46vw, 17rem);
}

.brand-powered {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--muted) 78%, white);
  line-height: 1.15;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-link {
  font-size: 0.92rem;
  color: var(--leaf);
}

.top-link:hover,
.top-link:focus-visible,
.brand:hover,
.brand:focus-visible {
  color: var(--deep);
  outline: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 1.25rem, 56rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 5vh, 3rem);
  padding: 0.5rem 0 3.5rem;
  top:15px;
}

.page--hero {
  flex: 1;
  min-height: 0;
  padding: 0;
  gap: 0;
  justify-content: center;
}

.page--gallery {
  align-items: stretch;
  padding-top: 1.25rem;
}

.gallery-note {
  text-align: center;
  margin: 0.5rem 0 0;
}

.page-home {
  --card-w: clamp(5.8rem, 16vw, 9.6rem);
  --card-h: clamp(8.1rem, 22.5vw, 13.4rem);
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .topbar {
  --logo-size: clamp(4.8rem, 13vw, 5.8rem);
  --bar-h: 2.35rem;
  padding: 0.16rem 0.9rem 0.16rem calc(var(--logo-size) * 0.72);
  flex-shrink: 0;
}

.page-home .brand {
  font-size: 0.98rem;
}

.page-home .brand-title {
  font-size: 1.02rem;
}

.page-home .brand-subtitle {
  font-size: 0.64rem;
  max-width: min(52vw, 18rem);
}

.hero {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.8vh, 1.6rem);
  padding: 0.25rem 0 0.75rem;
}

.fan {
  position: relative;
  width: min(100%, 28rem);
  height: calc(var(--card-h) + 2.4rem);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.card {
  position: absolute;
  margin: 0;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 1.15rem;
  overflow: hidden;
  background: white;
  box-shadow:
    0 16px 34px rgba(15, 36, 32, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  border: 3px solid color-mix(in srgb, white 88%, #dff0e8);
  transform-origin: 50% 110%;
  will-change: transform;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card--1 {
  z-index: 1;
  animation:
    fan-open-1 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both,
    sway-1 4.8s ease-in-out 1.25s infinite;
}

.card--2 {
  z-index: 3;
  animation:
    fan-open-2 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both,
    sway-2 5.1s ease-in-out 1.3s infinite;
}

.card--3 {
  z-index: 4;
  animation:
    fan-open-3 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both,
    sway-3 4.6s ease-in-out 1.35s infinite;
}

.card--4 {
  z-index: 2;
  animation:
    fan-open-4 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both,
    sway-4 5.3s ease-in-out 1.4s infinite;
}

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: min(100%, 20rem);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--leaf) 0%, #2b9a72 100%);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 122, 92, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(31, 122, 92, 0.34);
  filter: saturate(1.05);
  outline: none;
}

.cta-note {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 18rem;
  line-height: 1.35;
}

.delivery-banner,
.contact-banner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: color-mix(in srgb, white 78%, #dff0e8);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 10px 24px rgba(15, 36, 32, 0.06);
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-banner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: color-mix(in srgb, white 78%, #e8f1f7);
}

.delivery-value a,
.modal-lead a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.delivery-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.15rem 0.35rem;
}

.delivery-item--deadline {
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--sun) 22%, white);
  padding: 0.45rem 0.55rem;
}

.delivery-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.delivery-value {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 2.6vw, 1.02rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--deep);
  line-height: 1.25;
}

@media (max-width: 640px) {
  .delivery-banner,
  .contact-banner {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

.appeal-note {
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--sun) 18%, white);
  border: 1px solid color-mix(in srgb, var(--sun) 35%, transparent);
  color: var(--deep);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-top: 0.5rem;
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.gallery-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 34rem;
  margin: 0 auto;
}

.gallery-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--deep);
}

.gallery-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.privacy-note {
  margin: 0.35rem 0 0;
  max-width: 32rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, white 70%, #e8f1f7);
  border: 1px solid color-mix(in srgb, #1a6b8a 12%, transparent);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.privacy-note--home {
  margin-top: 0.15rem;
  max-width: 20rem;
  font-size: 0.78rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 0.7rem;
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 0.55rem;
  }
}

.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  border-radius: 0.9rem;
  transition: transform 200ms ease;
}

.portrait:hover,
.portrait:focus-within {
  transform: translateY(-2px);
}

.portrait-media {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  background: white;
  border: 2px solid color-mix(in srgb, white 88%, #dff0e8);
  box-shadow: 0 10px 20px rgba(15, 36, 32, 0.1);
}

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.portrait-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem;
  background: linear-gradient(
    180deg,
    transparent 35%,
    color-mix(in srgb, var(--deep) 55%, transparent) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.portrait:hover .portrait-actions,
.portrait:focus-within .portrait-actions {
  opacity: 1;
  pointer-events: auto;
}

.portrait-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.3rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: white;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 36, 32, 0.2);
}

.portrait--sponsored:hover,
.portrait--sponsored:focus-within {
  transform: none;
}

.portrait--sponsored .portrait-media img {
  filter: grayscale(0.72) brightness(1.08) contrast(1.04);
}

.portrait--sponsored .portrait-actions {
  display: none;
}

.portrait-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  padding: 0.59rem 1.09rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sun) 90%, white);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.1;
  box-shadow: 0 8px 18px rgba(15, 36, 32, 0.18);
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--deep) 48%, transparent);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 24rem);
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 1.15rem;
  background: color-mix(in srgb, white 94%, #e8f6ef);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: 0 24px 48px rgba(15, 36, 32, 0.22);
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--deep);
  outline: none;
}

.modal-title {
  margin: 0 1.5rem 0.45rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--deep);
}

.modal-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.modal-error {
  margin: 0 0 1rem;
  color: #9a3412;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep);
}

.field input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.field input:focus {
  outline: 2px solid color-mix(in srgb, var(--leaf) 45%, transparent);
  border-color: var(--leaf);
}

.modal-summary {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.modal-summary div {
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, white 70%, #dff0e8);
}

.modal-summary dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-summary dd {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--deep);
}

.modal-actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.btn {
  min-height: 2.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--leaf) 0%, #2b9a72 100%);
  color: white;
  box-shadow: 0 10px 22px rgba(31, 122, 92, 0.24);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--deep);
  outline: none;
}

.modal-actions--center {
  justify-content: center;
}

.pix-recommend {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--leaf, #2f8f5b) 12%, white);
  border: 1px solid color-mix(in srgb, var(--leaf, #2f8f5b) 28%, transparent);
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.pix-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.pix-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px dashed color-mix(in srgb, #1a6b8a 35%, transparent);
  background: color-mix(in srgb, #1a6b8a 8%, white);
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 160ms ease, border-color 160ms ease;
}

.pix-details:hover,
.pix-details:focus-visible {
  background: color-mix(in srgb, #1a6b8a 14%, white);
  border-color: color-mix(in srgb, #1a6b8a 55%, transparent);
  outline: none;
}

.pix-details-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: #1a6b8a;
}

.pix-details-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
}

.pix-details-key {
  margin-top: 0.15rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--deep);
}

.pix-details-action {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.pix-details.is-copied {
  border-style: solid;
  border-color: var(--leaf);
  background: color-mix(in srgb, var(--leaf) 10%, white);
}

.pix-details.is-copied .pix-details-action {
  color: var(--leaf);
}

.pix-hint {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.portrait-btn--pix {
  background: #1a6b8a;
}

.portrait-btn:hover,
.portrait-btn:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.portrait-meta {
  padding: 0 0.1rem;
  min-height: 0;
}

.portrait-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--deep);
  line-height: 1.15;
}

.portrait-dream {
  margin: 0.08rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.2;
}

.portrait-size {
  margin: 0.06rem 0 0;
  font-size: 0.62rem;
  color: var(--deep);
  opacity: 0.78;
  line-height: 1.2;
}

@keyframes fan-open-1 {
  0% {
    opacity: 0.35;
    transform: translate(0, 18px) rotate(0deg) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translate(-7.2rem, 8px) rotate(-34deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-6.4rem, 10px) rotate(-28deg) scale(1);
  }
}

@keyframes fan-open-2 {
  0% {
    opacity: 0.35;
    transform: translate(0, 18px) rotate(0deg) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translate(-2.1rem, -6px) rotate(-12deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(-1.7rem, -2px) rotate(-8deg) scale(1);
  }
}

@keyframes fan-open-3 {
  0% {
    opacity: 0.35;
    transform: translate(0, 18px) rotate(0deg) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translate(2.1rem, -6px) rotate(12deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translate(1.7rem, -2px) rotate(8deg) scale(1);
  }
}

@keyframes fan-open-4 {
  0% {
    opacity: 0.35;
    transform: translate(0, 18px) rotate(0deg) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translate(7.2rem, 8px) rotate(34deg) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(6.4rem, 10px) rotate(28deg) scale(1);
  }
}

@keyframes sway-1 {
  0%,
  100% {
    transform: translate(-6.4rem, 10px) rotate(-28deg);
  }
  50% {
    transform: translate(-6.55rem, 7px) rotate(-29.5deg);
  }
}

@keyframes sway-2 {
  0%,
  100% {
    transform: translate(-1.7rem, -2px) rotate(-8deg);
  }
  50% {
    transform: translate(-1.55rem, -5px) rotate(-6.5deg);
  }
}

@keyframes sway-3 {
  0%,
  100% {
    transform: translate(1.7rem, -2px) rotate(8deg);
  }
  50% {
    transform: translate(1.55rem, -5px) rotate(6.5deg);
  }
}

@keyframes sway-4 {
  0%,
  100% {
    transform: translate(6.4rem, 10px) rotate(28deg);
  }
  50% {
    transform: translate(6.55rem, 7px) rotate(29.5deg);
  }
}

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

@keyframes drift {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.08) hue-rotate(6deg);
  }
}

@media (max-width: 640px) {
  .topbar {
    --logo-size: clamp(4.4rem, 20vw, 5.2rem);
    margin-top: 0.65rem;
    padding: 0.55rem 0.85rem 0.55rem calc(var(--logo-size) * 0.92);
  }

  .brand-text {
    margin-left: 0.35rem;
  }

  .brand-subtitle {
    max-width: min(48vw, 12.5rem);
  }

  .card {
    border-radius: 0.95rem;
    border-width: 2px;
  }

  @keyframes fan-open-1 {
    0% {
      opacity: 0.35;
      transform: translate(0, 14px) rotate(0deg) scale(0.92);
    }
    60% {
      opacity: 1;
      transform: translate(-4.4rem, 8px) rotate(-26deg) scale(1.02);
    }
    100% {
      opacity: 1;
      transform: translate(-3.9rem, 10px) rotate(-22deg) scale(1);
    }
  }

  @keyframes fan-open-2 {
    0% {
      opacity: 0.35;
      transform: translate(0, 14px) rotate(0deg) scale(0.92);
    }
    60% {
      opacity: 1;
      transform: translate(-1.25rem, -4px) rotate(-10deg) scale(1.03);
    }
    100% {
      opacity: 1;
      transform: translate(-1rem, -1px) rotate(-7deg) scale(1);
    }
  }

  @keyframes fan-open-3 {
    0% {
      opacity: 0.35;
      transform: translate(0, 14px) rotate(0deg) scale(0.92);
    }
    60% {
      opacity: 1;
      transform: translate(1.25rem, -4px) rotate(10deg) scale(1.03);
    }
    100% {
      opacity: 1;
      transform: translate(1rem, -1px) rotate(7deg) scale(1);
    }
  }

  @keyframes fan-open-4 {
    0% {
      opacity: 0.35;
      transform: translate(0, 14px) rotate(0deg) scale(0.92);
    }
    60% {
      opacity: 1;
      transform: translate(4.4rem, 8px) rotate(26deg) scale(1.02);
    }
    100% {
      opacity: 1;
      transform: translate(3.9rem, 10px) rotate(22deg) scale(1);
    }
  }

  @keyframes sway-1 {
    0%,
    100% {
      transform: translate(-3.9rem, 10px) rotate(-22deg);
    }
    50% {
      transform: translate(-4.05rem, 8px) rotate(-23.2deg);
    }
  }

  @keyframes sway-2 {
    0%,
    100% {
      transform: translate(-1rem, -1px) rotate(-7deg);
    }
    50% {
      transform: translate(-0.85rem, -3px) rotate(-5.8deg);
    }
  }

  @keyframes sway-3 {
    0%,
    100% {
      transform: translate(1rem, -1px) rotate(7deg);
    }
    50% {
      transform: translate(0.85rem, -3px) rotate(5.8deg);
    }
  }

  @keyframes sway-4 {
    0%,
    100% {
      transform: translate(3.9rem, 10px) rotate(22deg);
    }
    50% {
      transform: translate(4.05rem, 8px) rotate(23.2deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sky,
  .topbar,
  .cta-block,
  .gallery,
  .card--1,
  .card--2,
  .card--3,
  .card--4 {
    animation: none;
  }

  .card--1 {
    transform: translate(-6.4rem, 10px) rotate(-28deg);
  }

  .card--2 {
    transform: translate(-1.7rem, -2px) rotate(-8deg);
  }

  .card--3 {
    transform: translate(1.7rem, -2px) rotate(8deg);
  }

  .card--4 {
    transform: translate(6.4rem, 10px) rotate(28deg);
  }

  .cta,
  .portrait,
  .portrait-actions {
    transition: none;
  }

  .portrait:hover,
  .portrait:focus-within {
    transform: none;
  }

  .portrait-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) {
  .portrait-actions {
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(
      180deg,
      transparent 45%,
      color-mix(in srgb, var(--deep) 45%, transparent) 100%
    );
  }
}
