:root {
  --black: #070506;
  --black-soft: #0d090a;
  --panel: #120b0d;

  --blood: #8d0b1d;
  --blood-bright: #b01428;
  --blood-dark: #4a040d;

  --gold: #c49a62;
  --gold-soft: #e0c39b;

  --cream: #f1e8dc;
  --muted: #a79b91;

  --line: rgba(196, 154, 98, .22);

  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;

  --shell: 1240px;
}


/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(125, 7, 25, .18),
      transparent 34rem
    ),
    var(--black);

  color: var(--cream);

  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;

  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* COMMON */

.akakao-page {
  position: relative;
  min-height: 100vh;
}

.shell {
  width: min(
    calc(100% - 48px),
    var(--shell)
  );

  margin-inline: auto;
}

.section {
  position: relative;

  padding:
    clamp(78px, 10vw, 150px)
    0;
}

.eyebrow {
  margin-bottom: 18px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .24em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;

  font-family: var(--serif);
  font-size:
    clamp(42px, 6vw, 82px);

  line-height: .98;
  font-weight: 600;

  letter-spacing: -.035em;
}

h2 em {
  display: block;

  color: var(--blood-bright);

  font-style: normal;
  font-weight: 500;
}

.button {
  display: inline-flex;

  min-height: 58px;

  align-items: center;
  justify-content: center;

  padding: 0 31px;

  border: 1px solid transparent;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: .12em;
  text-transform: uppercase;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      #a90e24,
      #6c0716
    );

  border-color:
    rgba(227, 157, 122, .26);

  box-shadow:
    0 14px 40px
    rgba(123, 4, 24, .23);
}

.button-primary:hover {
  background:
    linear-gradient(
      135deg,
      #bd132c,
      #7f081b
    );
}

.button-large {
  min-height: 66px;
  padding-inline: 42px;
}


/* TOPBAR */

.topbar {
  position: absolute;
  z-index: 20;

  top: 0;
  left: 0;
  right: 0;

  padding: 22px 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .7),
      transparent
    );
}

.topbar-inner {
  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;
  gap: 20px;
}

.brand {
  font-family: var(--serif);

  font-size: 22px;
  font-weight: 700;

  letter-spacing: .14em;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;

  color: rgba(255,255,255,.72);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .11em;
  text-transform: uppercase;
}

.topbar-meta span {
  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: var(--gold);
}

.topbar-ticket {
  justify-self: end;

  padding-bottom: 3px;

  border-bottom:
    1px solid rgba(196,154,98,.55);

  color: var(--gold-soft);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .12em;
  text-transform: uppercase;
}


/* HERO */

.hero {
  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: flex-end;

  background: #050405;

  overflow: hidden;
}

.hero-picture {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 2, 3, .84) 0%,
      rgba(4, 2, 3, .36) 40%,
      rgba(4, 2, 3, .05) 70%
    ),
    linear-gradient(
      to top,
      rgba(4, 2, 3, .85),
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 3;

  padding-top: 150px;
  padding-bottom:
    clamp(65px, 8vw, 115px);
}

.hero-panel {
  width: min(520px, 100%);
}

.hero h1 {
  margin-bottom: 21px;

  font-family: var(--serif);

  font-size:
    clamp(58px, 7vw, 102px);

  line-height: .83;

  letter-spacing: -.055em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;

  margin-top: 15px;

  color: var(--gold-soft);

  font-size: .31em;
  font-weight: 500;

  letter-spacing: .13em;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;

  align-items: center;
  gap: 11px;

  margin-bottom: 14px;

  color: rgba(255,255,255,.88);

  font-size: 13px;
  font-weight: 600;

  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-info i {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: var(--blood-bright);
}

.hero-place {
  margin-bottom: 28px;

  color: rgba(255,255,255,.67);

  font-size: 14px;
}

.hero-button {
  min-width: 220px;
}


/* QUICK INFO */

.quick-info {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: #0b0708;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-item {
  min-height: 112px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 24px 32px;

  border-right: 1px solid var(--line);
}

.quick-item:first-child {
  border-left: 1px solid var(--line);
}

.quick-item small {
  margin-bottom: 4px;

  color: var(--muted);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: .14em;
  text-transform: uppercase;
}

.quick-item strong {
  font-family: var(--serif);

  font-size: 17px;
  font-weight: 500;
}


/* STORY */

.story::before {
  content: "";

  position: absolute;

  width: 560px;
  height: 560px;

  top: -120px;
  left: -270px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(145,8,31,.16),
      transparent 67%
    );

  pointer-events: none;
}

.story-grid {
  display: grid;

  grid-template-columns:
    minmax(0, .95fr)
    minmax(0, 1.05fr);

  gap:
    clamp(50px, 8vw, 120px);

  align-items: start;
}

.story-copy {
  max-width: 610px;

  padding-top: 12px;
}

.story-copy p {
  color: #bdb2aa;

  font-size:
    clamp(16px, 1.35vw, 19px);

  line-height: 1.78;
}

.story-copy .story-lead {
  color: var(--cream);

  font-family: var(--serif);

  font-size:
    clamp(21px, 2.1vw, 29px);

  line-height: 1.55;
}


/* EVENT */

.event {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(119,6,23,.13),
      transparent 35rem
    ),
    #0a0607;
}

.event-grid {
  display: grid;

  grid-template-columns:
    minmax(300px, .86fr)
    minmax(0, 1.14fr);

  gap:
    clamp(48px, 8vw, 115px);

  align-items: center;
}

.poster-wrap {
  position: relative;
}

.poster-wrap::before {
  content: "";

  position: absolute;
  inset: -1px;

  border: 1px solid
    rgba(196,154,98,.2);

  transform: translate(
    14px,
    14px
  );

  pointer-events: none;
}

.poster {
  position: relative;

  width: 100%;

  box-shadow:
    0 40px 100px
    rgba(0,0,0,.55);
}

.event-copy {
  max-width: 650px;
}

.event-copy h2 {
  margin-bottom: 50px;
}

.event-data {
  border-top: 1px solid var(--line);
}

.event-row {
  display: grid;

  grid-template-columns:
    150px 1fr;

  gap: 20px;

  padding: 18px 0;

  border-bottom: 1px solid var(--line);
}

.event-row span {
  color: var(--muted);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-row strong {
  font-size: 15px;
  font-weight: 500;
}

.dress {
  margin: 35px 0 28px;
}

.dress-title {
  margin-bottom: 15px;

  color: var(--gold);

  font-family: var(--serif);

  font-size: 14px;

  letter-spacing: .12em;
  text-transform: uppercase;
}

.dress-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dress-tags span {
  padding: 8px 12px;

  border:
    1px solid rgba(196,154,98,.2);

  color: #c5bab1;

  font-size: 11px;
}

.limited {
  margin-bottom: 22px;

  color: var(--muted);

  font-size: 12px;
}


/* GALLERY */

.gallery {
  background: var(--black);
}

.gallery-head {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  gap: 50px;

  margin-bottom:
    clamp(42px, 6vw, 75px);
}

.gallery-head p {
  width: min(360px, 100%);

  margin-bottom: 4px;

  color: var(--muted);

  font-size: 14px;
}

.gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.gallery-item {
  width: 100%;

  display: block;

  margin: 0 0 12px;

  padding: 0;

  border: 0;

  background: none;

  cursor: zoom-in;

  break-inside: avoid;

  overflow: hidden;
}

.gallery-item img {
  width: 100%;

  transition:
    transform .55s ease,
    filter .55s ease;

  filter:
    saturate(.88)
    contrast(1.04);
}

.gallery-item:hover img {
  transform: scale(1.025);

  filter:
    saturate(1.04)
    contrast(1.06);
}


/* FINAL */

.final-cta {
  position: relative;

  min-height: 620px;

  display: flex;
  align-items: center;

  padding: 100px 0;

  overflow: hidden;

  border-top: 1px solid var(--line);

  background:
    linear-gradient(
      180deg,
      #080506,
      #100508
    );
}

.final-glow {
  position: absolute;

  width: 850px;
  height: 850px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(145,8,31,.24),
      rgba(82,4,16,.08) 38%,
      transparent 68%
    );
}

.final-inner {
  position: relative;

  text-align: center;
}

.final-inner h2 {
  margin-bottom: 27px;
}

.final-inner p {
  max-width: 570px;

  margin:
    0 auto 32px;

  color: #b9ada5;

  font-size: 16px;
}

.final-inner small {
  display: block;

  margin-top: 18px;

  color: #776d67;

  font-size: 10px;

  letter-spacing: .12em;
  text-transform: uppercase;
}


/* FOOTER */

footer {
  padding: 26px 0;

  border-top: 1px solid var(--line);

  background: #050304;
}

.footer-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.footer-inner strong {
  font-family: var(--serif);

  letter-spacing: .12em;
}

.footer-inner span {
  color: #6e6460;

  font-size: 11px;

  letter-spacing: .06em;
}


/* MOBILE CTA */

.mobile-ticket {
  display: none;
}


/* LIGHTBOX */

.lightbox {
  position: fixed;
  z-index: 1000;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 34px;

  background:
    rgba(0,0,0,.93);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .25s ease,
    visibility .25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1400px, 94vw);
  max-height: 90vh;

  object-fit: contain;

  box-shadow:
    0 30px 100px
    rgba(0,0,0,.65);
}

.lightbox-close {
  position: absolute;

  top: 18px;
  right: 24px;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;

  background: transparent;

  color: white;

  font-size: 38px;
  font-weight: 200;

  cursor: pointer;
}


/* REVEAL */

.reveal {
  opacity: 0;

  transform:
    translateY(22px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;

  transform: none;
}


/* TABLET */

@media (max-width: 980px) {

  .topbar-inner {
    grid-template-columns:
      1fr auto;
  }

  .topbar-meta {
    display: none;
  }

  .quick-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .quick-item:nth-child(3) {
    border-left:
      1px solid var(--line);
  }

  .quick-item:nth-child(-n+2) {
    border-bottom:
      1px solid var(--line);
  }

  .story-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 700px;
  }

  .poster-wrap {
    width: min(560px, 100%);
  }

  .event-copy {
    max-width: 760px;
  }

  .gallery-grid {
    columns: 2;
  }

}


/* MOBILE */

@media (max-width: 767px) {

  body {
    padding-bottom:
      calc(68px + env(safe-area-inset-bottom));
  }

  .shell {
    width:
      min(
        calc(100% - 28px),
        var(--shell)
      );
  }

  .section {
    padding: 78px 0;
  }

  .topbar {
    padding: 16px 0;
  }

  .brand {
    font-size: 18px;
  }

  .topbar-ticket {
    display: none;
  }


  /* Mobile hero:
     показываем всю вертикальную афишу,
     не режем её object-fit: cover */

  .hero {
    min-height: auto;

    display: block;

    padding-top: 56px;
  }

  .hero-picture {
    position: relative;

    display: block;

    width: 100%;
  }

  .hero-image {
    width: 100%;
    height: auto;

    object-fit: contain;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    padding:
      0 0 34px;

    background:
      linear-gradient(
        to bottom,
        #070506,
        #0d0709
      );
  }

  .hero-panel {
    width: 100%;

    padding-top: 28px;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    display: none;
  }

  .hero-info {
    justify-content: center;

    margin-bottom: 10px;

    font-size: 11px;
  }

  .hero-place {
    margin-bottom: 22px;

    text-align: center;

    font-size: 13px;
  }

  .hero-button {
    width: 100%;
  }


  .quick-info {
    display: none;
  }


  h2 {
    font-size:
      clamp(39px, 13vw, 58px);
  }


  .story-grid {
    gap: 42px;
  }

  .story-copy {
    padding-top: 0;
  }

  .story-copy .story-lead {
    font-size: 20px;
  }


  .event-grid {
    gap: 55px;
  }

  .poster-wrap {
    width: calc(100% - 10px);
  }

  .event-copy h2 {
    margin-bottom: 35px;
  }

  .event-row {
    grid-template-columns: 1fr;

    gap: 5px;

    padding: 15px 0;
  }


  .gallery-head {
    display: block;

    margin-bottom: 36px;
  }

  .gallery-head p {
    margin-top: 20px;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 10px;
  }


  .final-cta {
    min-height: 560px;

    padding: 90px 0;
  }

  .button-large {
    width: 100%;
  }


  footer {
    padding-bottom: 30px;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }

  .footer-inner span {
    display: block;
    margin-top: 8px;
  }


  .mobile-ticket {
    position: fixed;
    z-index: 90;

    display: flex;

    left: 10px;
    right: 10px;
    bottom:
      calc(
        10px +
        env(safe-area-inset-bottom)
      );

    min-height: 54px;

    align-items: center;
    justify-content: center;

    background:
      linear-gradient(
        135deg,
        #ad1027,
        #740717
      );

    border:
      1px solid
      rgba(226,162,126,.28);

    box-shadow:
      0 15px 45px
      rgba(0,0,0,.46);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .11em;
    text-transform: uppercase;
  }

}


/* REDUCED MOTION */

@media (
  prefers-reduced-motion:
  reduce
) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}
