.pyw-page {
  --pyw-ink: var(--primary-color);
  --pyw-berry: #b50061;
  --pyw-berry-dark: #8e004c;
  --pyw-paper: var(--color-neutral-light-gray);
  --pyw-mist: var(--color-neutral-light-gray);
  --pyw-line: rgba(23, 22, 56, 0.12);
  margin-top: 0;
  color: var(--pyw-ink);
  background: var(--pyw-paper);
  overflow: hidden;
}

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

.pyw-page figure,
.pyw-page h1,
.pyw-page h2,
.pyw-page h3,
.pyw-page p {
  margin-top: 0;
}

.pyw-page h1,
.pyw-page h2,
.pyw-page h3 {
  color: var(--pyw-ink);
  font-family: var(--font-primary);
}

.pyw-shell {
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
}

.pyw-hero {
  position: relative;
  display: flex;
  min-height: clamp(720px, 92svh, 900px);
  padding: 90px 0 76px;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--pyw-ink);
}

.pyw-hero-image,
.pyw-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pyw-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.01);
}

.pyw-hero-overlay {
  z-index: -1;
  background: rgba(14, 14, 42, 0.34);
}

.pyw-hero-layout {
  display: block;
}

.pyw-hero-copy {
  max-width: 900px;
  padding-bottom: 8px;
}

.pyw-hero-brandline {
  display: flex;
  width: fit-content;
  flex-direction: column;
  gap: clamp(10px, 1vw, 16px);
  margin-bottom: 28px;
  align-items: center;
}

.pyw-hero-logo {
  display: block;
  width: clamp(320px, 31vw, 500px);
  height: auto;
  margin-bottom: 0;
  filter: brightness(0) invert(1);
}

.pyw-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(6.2rem, 7.7vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.78;
}

.pyw-hero-copy > p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.pyw-package-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(10, 10, 34, 0.28);
  backdrop-filter: blur(18px);
}

.pyw-package-card h2,
.pyw-package-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.pyw-package-details {
  border-top: 1px solid var(--pyw-line);
}

.pyw-package-detail {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  min-height: 48px;
  padding: 13px 0;
  align-items: center;
  border-bottom: 1px solid var(--pyw-line);
  color: #4d5060;
  font-size: 0.95rem;
}

.pyw-package-detail i {
  color: var(--pyw-berry);
  font-size: 0.95rem;
  text-align: center;
}

.pyw-package-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.pyw-button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--button-radius);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pyw-button-primary {
  border-color: var(--pyw-berry);
  color: #fff;
  background: var(--pyw-berry);
}

.pyw-button-primary:hover,
.pyw-button-primary:focus-visible {
  border-color: var(--button-primary-hover);
  color: #fff;
  background: var(--button-primary-hover);
  transform: translateY(-2px);
}

.pyw-button-secondary {
  border-color: rgba(23, 22, 56, 0.22);
  color: var(--pyw-ink);
  background: transparent;
}

.pyw-button-secondary:hover,
.pyw-button-secondary:focus-visible {
  border-color: var(--pyw-ink);
  color: var(--pyw-ink);
  background: rgba(23, 22, 56, 0.05);
  transform: translateY(-2px);
}

.pyw-overview,
.pyw-included,
.pyw-gallery,
.pyw-discover {
  padding: clamp(90px, 9vw, 132px) 0;
}

.pyw-overview {
  background: var(--pyw-paper);
}

.pyw-overview-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: clamp(42px, 5vw, 68px);
  align-items: start;
}

.pyw-overview-heading {
  display: contents;
}

.pyw-overview-heading h2,
.pyw-section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}

.pyw-overview-heading h2 {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
}

.pyw-overview-package {
  position: sticky;
  top: 116px;
  grid-column: 1 / 5;
  margin-top: 0;
  border-color: rgba(23, 22, 56, 0.1);
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 22, 56, 0.1);
  backdrop-filter: none;
}

.pyw-overview-copy {
  grid-column: 6 / -1;
}

.pyw-overview-copy p {
  margin-bottom: 22px;
  color: #555a68;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.85;
}

.pyw-overview-copy p:first-child {
  color: #363947;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.75;
}

.pyw-overview-copy a,
.pyw-included-item a {
  color: var(--pyw-berry);
  font-weight: 700;
  text-decoration-color: rgba(181, 0, 97, 0.35);
  text-underline-offset: 3px;
}

.pyw-overview-copy a:hover,
.pyw-included-item a:hover {
  color: var(--pyw-berry-dark);
  text-decoration-color: currentColor;
}

.pyw-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 72px 0 0;
  padding: 1px;
  list-style: none;
  border-radius: 24px;
  background: var(--pyw-line);
  overflow: hidden;
}

.pyw-highlights li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  min-height: 96px;
  padding: 24px 28px;
  align-items: center;
  color: #454957;
  background: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
}

.pyw-highlights i {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pyw-berry);
  font-size: 0.75rem;
}

.pyw-included {
  background: var(--pyw-mist);
}

.pyw-section-heading {
  max-width: 840px;
  margin: 0 auto clamp(52px, 7vw, 86px);
  text-align: center;
}

.pyw-section-heading h2 {
  margin-bottom: 22px;
}

.pyw-section-heading > p {
  margin-bottom: 0;
  color: #666a76;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
}

.pyw-included-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.pyw-included-media {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: 14px;
  min-height: 620px;
}

.pyw-included-media figure {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #dfe4ea;
}

.pyw-included-media-primary {
  grid-row: span 2;
}

.pyw-included-media img,
.pyw-gallery-item img,
.pyw-discover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.pyw-included-media figure:hover img,
.pyw-gallery-item:hover img,
.pyw-discover-card:hover .pyw-discover-image img {
  transform: scale(1.035);
}

.pyw-included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px 28px;
  border: 1px solid rgba(23, 22, 56, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 22, 56, 0.07);
}

.pyw-included-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 30px 18px;
  align-content: start;
  border-bottom: 1px solid var(--pyw-line);
}

.pyw-included-item:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid var(--pyw-line);
}

.pyw-included-item:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
}

.pyw-included-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.pyw-included-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: var(--pyw-berry);
  background: rgba(181, 0, 97, 0.08);
  font-size: 1rem;
}

.pyw-included-item h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
}

.pyw-included-item p {
  margin-bottom: 0;
  color: #626673;
  font-size: 0.9rem;
  line-height: 1.65;
}

.pyw-gallery {
  background: var(--pyw-paper);
}

.pyw-gallery-group + .pyw-gallery-group {
  margin-top: clamp(74px, 9vw, 120px);
}

.pyw-gallery-group h3 {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  align-items: center;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.pyw-gallery-group h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--secondary-color);
}

.pyw-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 16px;
}

.pyw-gallery-item {
  grid-column: span 3;
  min-width: 0;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #e2e6eb;
}

.pyw-gallery-item:first-child {
  grid-column: span 6;
  grid-row: span 2;
}

.pyw-gallery-item:nth-child(2) {
  grid-column: span 6;
}

.pyw-gallery-grid-events .pyw-gallery-item:nth-child(5),
.pyw-gallery-grid-events .pyw-gallery-item:nth-child(6) {
  grid-column: span 6;
}

.pyw-discover {
  color: #fff;
  background: var(--pyw-ink);
}

.pyw-section-heading-light h2,
.pyw-section-heading-light > p {
  color: #fff;
}

.pyw-section-heading-light > p {
  color: rgba(255, 255, 255, 0.72);
}

.pyw-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pyw-discover-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border-radius: var(--card-radius);
  color: var(--pyw-ink);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.pyw-discover-card:hover,
.pyw-discover-card:focus-visible {
  color: var(--pyw-ink);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.25);
  transform: translateY(-7px);
}

.pyw-discover-image {
  height: 260px;
  overflow: hidden;
  background: #dfe4ea;
}

.pyw-discover-body {
  display: flex;
  padding: 28px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.pyw-discover-body h3 {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.pyw-discover-body h3 i {
  color: var(--pyw-berry);
  font-size: 1rem;
}

.pyw-discover-body p {
  margin-bottom: 28px;
  color: #646875;
  font-size: 0.94rem;
  line-height: 1.7;
}

.pyw-discover-body span {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 20px;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--pyw-berry);
  font-size: 14px;
  font-weight: 700;
}

.pyw-page + .newsletter {
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--neutral-color);
}

.pyw-page + .newsletter h2 {
  max-width: 800px;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.pyw-page + .newsletter p {
  max-width: 560px;
}

@media (max-width: 1100px) {
  .pyw-included-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  }

  .pyw-included-media {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(190px, 1fr));
  }

  .pyw-included-media-primary {
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .pyw-shell {
    width: min(100% - 44px, 760px);
  }

  .pyw-hero {
    min-height: auto;
    padding-bottom: 48px;
    align-items: stretch;
  }

  .pyw-hero-copy {
    max-width: 680px;
  }

  .pyw-package-card {
    width: 100%;
    max-width: 680px;
  }

  .pyw-overview-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pyw-overview-heading {
    display: contents;
  }

  .pyw-overview-heading h2 {
    grid-column: auto;
    max-width: 680px;
    white-space: normal;
  }

  .pyw-overview-package {
    position: static;
    grid-column: auto;
  }

  .pyw-overview-copy {
    grid-column: auto;
  }

  .pyw-included-layout {
    grid-template-columns: 1fr;
  }

  .pyw-included-media {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: repeat(2, 240px);
    min-height: 0;
  }

  .pyw-included-media-primary {
    grid-row: span 2;
  }

  .pyw-discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pyw-discover-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pyw-discover-card:last-child .pyw-discover-image {
    height: 100%;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .pyw-shell {
    width: calc(100% - 32px);
  }

  .pyw-hero {
    padding: 68px 0 32px;
  }

  .pyw-hero-image {
    object-position: 57% center;
  }

  .pyw-hero-overlay {
    background: rgba(14, 14, 42, 0.34);
  }

  .pyw-hero-logo {
    width: 205px;
    margin-bottom: 0;
  }

  .pyw-hero-brandline {
    gap: 8px;
    margin-bottom: 22px;
  }

  .pyw-hero h1 {
    margin: 0;
    font-size: 3.75rem;
    letter-spacing: -0.04em;
  }

  .pyw-hero-copy > p {
    font-size: 1rem;
  }

  .pyw-package-card {
    padding: 24px 22px;
    border-radius: var(--card-radius);
  }

  .pyw-package-card h2,
  .pyw-package-card h3 {
    margin-bottom: 16px;
    font-size: 1.45rem;
  }

  .pyw-package-detail {
    min-height: 44px;
    padding: 11px 0;
    font-size: 0.9rem;
  }

  .pyw-button {
    min-height: 50px;
  }

  .pyw-overview,
  .pyw-included,
  .pyw-gallery,
  .pyw-discover {
    padding: 78px 0;
  }

  .pyw-overview-grid {
    gap: 34px;
  }

  .pyw-overview-heading h2,
  .pyw-section-heading h2 {
    font-size: clamp(2.5rem, 12vw, 3.3rem);
  }

  .pyw-overview-package {
    margin-top: 0;
  }

  .pyw-overview-copy p,
  .pyw-overview-copy p:first-child {
    font-size: 1rem;
    line-height: 1.75;
  }

  .pyw-highlights {
    grid-template-columns: 1fr;
    margin-top: 48px;
    border-radius: 19px;
  }

  .pyw-highlights li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    min-height: 78px;
    padding: 18px;
    font-size: 0.92rem;
  }

  .pyw-highlights i {
    width: 31px;
    height: 31px;
  }

  .pyw-section-heading {
    margin-bottom: 46px;
  }

  .pyw-section-heading h2 {
    margin-bottom: 18px;
  }

  .pyw-section-heading > p {
    font-size: 1rem;
  }

  .pyw-included-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px 145px;
    gap: 10px;
  }

  .pyw-included-media-primary {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .pyw-included-media figure {
    border-radius: 17px;
  }

  .pyw-included-list {
    grid-template-columns: 1fr;
    padding: 6px 22px;
    border-radius: 22px;
  }

  .pyw-included-item,
  .pyw-included-item:nth-child(odd),
  .pyw-included-item:nth-child(even) {
    grid-template-columns: 43px 1fr;
    gap: 14px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pyw-line);
  }

  .pyw-included-item:nth-last-child(2) {
    border-bottom: 1px solid var(--pyw-line);
  }

  .pyw-included-item:last-child {
    border-bottom: 0;
  }

  .pyw-included-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }

  .pyw-included-item h3 {
    font-size: 1.04rem;
  }

  .pyw-included-item p {
    font-size: 0.88rem;
  }

  .pyw-gallery-group + .pyw-gallery-group {
    margin-top: 68px;
  }

  .pyw-gallery-group h3 {
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.65rem;
  }

  .pyw-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 165px;
    gap: 10px;
  }

  .pyw-gallery-item,
  .pyw-gallery-item:first-child,
  .pyw-gallery-item:nth-child(2),
  .pyw-gallery-grid-events .pyw-gallery-item:nth-child(5),
  .pyw-gallery-grid-events .pyw-gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: auto;
    border-radius: 16px;
  }

  .pyw-gallery-item:first-child,
  .pyw-gallery-item:last-child {
    grid-column: 1 / -1;
  }

  .pyw-discover-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pyw-discover-card:last-child {
    grid-column: auto;
    display: flex;
  }

  .pyw-discover-image,
  .pyw-discover-card:last-child .pyw-discover-image {
    height: 220px;
    min-height: 0;
  }

  .pyw-discover-body {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pyw-page *,
  .pyw-page *::before,
  .pyw-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
