:root {
  --gallery32-night: #120c1a;
  --gallery32-ink: #1b1225;
  --gallery32-panel: #21162e;
  --gallery32-panel-2: #2c1d3c;
  --gallery32-paper: #f4effc;
  --gallery32-muted: #b9acc9;
  --gallery32-gold: #d7a24b;
  --gallery32-lilac: #818bd8;
  --gallery32-rose: #b96883;
  --gallery32-line: rgba(215, 162, 75, .42);
  --gallery32-shadow: 0 24px 70px rgba(3, 1, 7, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gallery32-paper);
  background:
    radial-gradient(circle at 14% 8%, rgba(129, 139, 216, .12), transparent 24rem),
    repeating-linear-gradient(135deg, transparent 0 38px, rgba(215, 162, 75, .025) 38px 39px),
    var(--gallery32-night);
  font: 16px/1.72 "Trebuchet MS", Verdana, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.gallery32-shell { width: min(1190px, calc(100% - 42px)); margin-inline: auto; }
.gallery32-skip { position: fixed; z-index: 100; top: -90px; left: 14px; padding: 10px 15px; color: var(--gallery32-night); background: var(--gallery32-paper); }
.gallery32-skip:focus { top: 14px; }

.gallery32-top {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 244px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 10px max(21px, calc((100vw - 1190px) / 2));
  background: rgba(18, 12, 26, .96);
  border-bottom: 1px solid var(--gallery32-line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  backdrop-filter: blur(16px);
}
.gallery32-brand { width: 244px; text-decoration: none; }
.gallery32-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.gallery32-nav a { padding: 9px 12px; color: #d8cfe3; border: 1px solid transparent; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .025em; }
.gallery32-nav a:hover, .gallery32-nav a[aria-current="page"] { color: #fff; border-color: var(--gallery32-gold); background: rgba(215, 162, 75, .08); }
.gallery32-top__actions, .gallery32-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gallery32-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 21px; color: var(--gallery32-night); background: linear-gradient(110deg, #e0b45f, var(--gallery32-gold)); border: 1px solid #efc878; border-radius: 3px; box-shadow: 0 8px 24px rgba(215, 162, 75, .16); text-decoration: none; font-weight: 900; transition: transform .15s ease, filter .15s ease; }
.gallery32-action:hover { transform: translateY(-2px); filter: brightness(1.07); }
.gallery32-action--quiet { color: var(--gallery32-paper); background: transparent; border-color: #635174; box-shadow: none; }

.gallery32-hero { position: relative; overflow: hidden; padding: 88px 0 68px; background: linear-gradient(112deg, #100a17 0 61%, #22142d 61%); border-bottom: 1px solid var(--gallery32-line); }
.gallery32-hero::before { position: absolute; inset: 0 0 0 57%; content: ""; background: repeating-linear-gradient(120deg, transparent 0 32px, rgba(129, 139, 216, .08) 32px 33px); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.gallery32-hero::after { position: absolute; right: 7%; bottom: -180px; width: 420px; height: 420px; content: ""; border: 1px solid rgba(215, 162, 75, .32); border-radius: 50%; box-shadow: 0 0 0 48px rgba(129, 139, 216, .035), 0 0 0 96px rgba(215, 162, 75, .025); }
.gallery32-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 64px; align-items: center; }
.gallery32-kicker { display: inline-flex; margin: 0 0 18px; padding: 5px 10px; color: var(--gallery32-gold); border: 1px solid rgba(215, 162, 75, .62); background: rgba(215, 162, 75, .045); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--gallery32-paper); font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif; line-height: 1.08; letter-spacing: -.023em; }
h1 { max-width: 900px; margin-bottom: 25px; font-size: clamp(40px, 5vw, 67px); font-weight: 600; }
h2 { max-width: 850px; margin-bottom: 0; font-size: clamp(27px, 3vw, 42px); font-weight: 600; }
h3 { font-size: clamp(20px, 1.8vw, 27px); }
.gallery32-lead { max-width: 760px; margin: 0 0 31px; color: #d9d0e4; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.72; }
.gallery32-console { padding: 27px; color: var(--gallery32-paper); background: radial-gradient(circle at 88% 8%, rgba(129, 139, 216, .22), transparent 38%), linear-gradient(145deg, rgba(44, 29, 60, .98), rgba(25, 15, 36, .98)); border: 1px solid var(--gallery32-gold); box-shadow: 0 0 38px rgba(129, 139, 216, .12), 0 24px 70px rgba(3, 1, 7, .38); }
.gallery32-console > span { color: var(--gallery32-gold); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.gallery32-console ul { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.gallery32-console li { min-height: 100px; padding: 17px; color: #d9cfe7; background: rgba(15, 9, 23, .55); border: 1px solid #5d4b70; font-size: 13px; font-weight: 700; }
.gallery32-console li:nth-child(2), .gallery32-console li:nth-child(3) { border-color: rgba(129, 139, 216, .72); background: rgba(129, 139, 216, .08); }
.gallery32-console li span { display: block; margin-bottom: 7px; color: #fff; font: 600 30px/1 "Palatino Linotype", serif; }

.gallery32-strip { padding: 0 0 38px; background: #100a17; }
.gallery32-strip ul { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin: -12px 0 0; padding: 11px; color: #e6dfef; background: #21162e; border: 1px solid #564466; box-shadow: 0 16px 34px rgba(0, 0, 0, .25); list-style: none; }
.gallery32-strip li { padding: 11px 13px; border-right: 1px solid #4a3959; text-align: center; font-size: 13px; font-weight: 700; }
.gallery32-strip li:last-child { border-right: 0; }

.gallery32-section { position: relative; overflow: clip; padding: 39px 0; background: #160e1f; }
.gallery32-section::before { position: absolute; width: 430px; height: 430px; content: ""; pointer-events: none; filter: blur(8px); opacity: .68; }
.gallery32-section--oat::before { top: -260px; right: -130px; background: radial-gradient(circle, rgba(215, 162, 75, .15), transparent 68%); }
.gallery32-section--white { background: linear-gradient(115deg, #1a1125, #160e20); }
.gallery32-section--white::before { bottom: -270px; left: -120px; background: radial-gradient(circle, rgba(129, 139, 216, .19), transparent 68%); }
.gallery32-section--violet { background: linear-gradient(135deg, #120c1a, #24162f); }
.gallery32-section--violet::before { top: -240px; right: 8%; background: radial-gradient(circle, rgba(185, 104, 131, .17), transparent 69%); }
.gallery32-section--green { background: linear-gradient(135deg, #1c1026, #151220); }
.gallery32-section--green::before { bottom: -250px; right: -100px; background: radial-gradient(circle, rgba(129, 139, 216, .16), transparent 68%); }
.gallery32-block { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr); gap: 58px; padding: 50px; overflow: hidden; background: radial-gradient(circle at 96% 4%, rgba(129, 139, 216, .10), transparent 32%), linear-gradient(145deg, #251831, #1e1429); border: 1px solid #644d76; box-shadow: var(--gallery32-shadow); }
.gallery32-block::before { position: absolute; z-index: -1; top: 0; left: 8%; width: 38%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #f1c875, transparent); box-shadow: 0 0 22px rgba(215, 162, 75, .72); }
.gallery32-block > * { position: relative; z-index: 1; }
.gallery32-block > header { padding-top: 3px; }
.gallery32-copy { padding-left: 34px; border-left: 1px solid #5a476a; }
.gallery32-copy p { margin: 0 0 20px; color: #ddd4e8; }
.gallery32-copy p:last-child { margin-bottom: 0; }
.gallery32-cross { grid-column: 2; margin: 5px 0 0; padding: 17px 20px; color: #e7deef; background: #181020; border: 1px solid #4c3a5d; border-left: 3px solid var(--gallery32-gold); }
.gallery32-inline { color: #ddbd7c; font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gallery32-section--split .gallery32-block { border-left: 5px solid var(--gallery32-gold); background: radial-gradient(circle at 8% 92%, rgba(215, 162, 75, .11), transparent 34%), linear-gradient(145deg, #281a35, #1c1226); box-shadow: -12px 0 38px rgba(215, 162, 75, .08), var(--gallery32-shadow); }

.gallery32-section--wide .gallery32-block { grid-template-columns: 1fr; padding: 54px; background: radial-gradient(circle at 82% 0, rgba(129, 139, 216, .16), transparent 31%), linear-gradient(150deg, #251831, #1b1225); border-top-color: var(--gallery32-lilac); }
.gallery32-section--wide .gallery32-block > header { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 29px; border-bottom: 1px solid #574567; }
.gallery32-section--wide .gallery32-block > header .gallery32-kicker { justify-self: start; }
.gallery32-section--wide .gallery32-copy { padding-left: 0; columns: 2; column-gap: 46px; border-left: 0; }
.gallery32-section--wide .gallery32-copy p { break-inside: avoid; }
.gallery32-section--wide .gallery32-cross { grid-column: 1; }
.gallery32-section--steps .gallery32-block { grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr); background: radial-gradient(circle at 13% 7%, rgba(129, 139, 216, .18), transparent 27%), linear-gradient(125deg, #291932, #17101f); border-top: 4px solid var(--gallery32-lilac); box-shadow: 0 -8px 30px rgba(129, 139, 216, .10), var(--gallery32-shadow); }
.gallery32-section--steps .gallery32-points { grid-column: 1 / -1; counter-reset: galleryStep; }
.gallery32-section--steps .gallery32-points li { position: relative; min-height: 125px; padding: 52px 18px 18px; counter-increment: galleryStep; }
.gallery32-section--steps .gallery32-points li::before { position: absolute; top: 13px; left: 17px; content: "0" counter(galleryStep); color: var(--gallery32-gold); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.gallery32-section--panel .gallery32-block { grid-template-columns: .68fr 1.32fr; background: radial-gradient(circle at 100% 50%, rgba(185, 104, 131, .20), transparent 34%), linear-gradient(102deg, #2a1a37, #191121 72%); border-right: 6px solid var(--gallery32-rose); box-shadow: 15px 0 42px rgba(185, 104, 131, .10), var(--gallery32-shadow); }
.gallery32-section--offset .gallery32-block { grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr); padding: 0; background: transparent; border: 0; box-shadow: none; }
.gallery32-section--offset .gallery32-block > header { padding: 38px; background: radial-gradient(circle at 82% 18%, rgba(215, 162, 75, .18), transparent 36%), linear-gradient(145deg, #372045, #25162f); border: 1px solid #76588c; box-shadow: 0 0 42px rgba(215, 162, 75, .08), var(--gallery32-shadow); }
.gallery32-section--offset .gallery32-copy { align-self: end; padding: 32px; background: linear-gradient(135deg, #20152b, #261631); border: 1px solid #503d60; box-shadow: inset 0 1px rgba(255, 255, 255, .035); }
.gallery32-section--offset .gallery32-points, .gallery32-section--offset .gallery32-cardgrid, .gallery32-section--offset .gallery32-faq, .gallery32-section--offset .gallery32-tablewrap { grid-column: 1 / -1; }

.gallery32-cardgrid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.gallery32-cardgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery32-cardgrid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery32-cardgrid--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery32-card { display: flex; min-height: 265px; flex-direction: column; padding: 21px; background: radial-gradient(circle at 100% 0, rgba(215, 162, 75, .11), transparent 42%), #21162e; border: 1px solid #5e4a70; border-top: 3px solid var(--gallery32-gold); box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 12px 25px rgba(0, 0, 0, .16); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.gallery32-card:nth-child(3n + 2) { background: radial-gradient(circle at 100% 0, rgba(129, 139, 216, .17), transparent 44%), #281936; border-top-color: var(--gallery32-lilac); }
.gallery32-card:nth-child(3n) { background: radial-gradient(circle at 100% 0, rgba(185, 104, 131, .17), transparent 44%), #241627; border-top-color: var(--gallery32-rose); }
.gallery32-card:hover { transform: translateY(-4px); border-color: #806594; box-shadow: 0 0 30px rgba(129, 139, 216, .10), 0 18px 34px rgba(0, 0, 0, .25); }
.gallery32-card header span { display: inline-block; padding: 4px 9px; color: #160e1f; background: var(--gallery32-gold); font-size: 11px; font-weight: 900; }
.gallery32-card h3 { margin: 17px 0 0; }
.gallery32-card p { margin: 14px 0 23px; color: #cfc3da; line-height: 1.55; }
.gallery32-card .gallery32-action { width: 100%; margin-top: auto; min-height: 40px; padding: 8px 11px; font-size: 13px; }
.gallery32-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; }
.gallery32-points li { padding: 19px; color: #ded4e8; background: linear-gradient(115deg, #1a1123, #21142b); border: 1px solid #574267; border-left: 3px solid var(--gallery32-lilac); box-shadow: inset 14px 0 28px rgba(129, 139, 216, .045); font-weight: 800; }
.gallery32-tablewrap { grid-column: 1 / -1; overflow-x: auto; margin-top: 14px; background: #1b1225; border: 1px solid #59436a; }
.gallery32-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.gallery32-table caption { padding: 18px 20px; color: #f6f0fb; background: #32203f; text-align: left; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.gallery32-table th, .gallery32-table td { padding: 15px 18px; border-bottom: 1px solid #453653; text-align: left; }
.gallery32-table th { color: #ddbd7c; background: #24172e; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gallery32-faq { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 13px; }
.gallery32-faq details { padding: 16px 19px; color: #ded4e8; background: #1a1123; border: 1px solid #503d60; }
.gallery32-faq details[open] { border-left: 3px solid var(--gallery32-gold); }
.gallery32-faq summary { cursor: pointer; color: #f6effb; font-weight: 850; }
.gallery32-faq p { margin: 11px 0 0; }

.gallery32-footer { margin-top: 0; padding: 54px 0; background: #0d0813; border-top: 1px solid var(--gallery32-line); }
.gallery32-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; align-items: start; }
.gallery32-footer p { max-width: 450px; margin: 18px 0 0; color: var(--gallery32-muted); }
.gallery32-footer nav { display: grid; gap: 11px; }
.gallery32-footer a { color: #e6dced; text-underline-offset: 4px; }
.gallery32-footer__utility { padding-left: 20px; border-left: 1px solid #4d3a5d; }

@media (max-width: 1100px) {
  .gallery32-cardgrid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery32-cardgrid--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .gallery32-top { grid-template-columns: 190px 1fr; }
  .gallery32-top__actions { display: none; }
  .gallery32-nav { justify-content: flex-end; }
  .gallery32-hero__grid { grid-template-columns: 1fr; }
  .gallery32-block, .gallery32-section--steps .gallery32-block, .gallery32-section--panel .gallery32-block, .gallery32-section--offset .gallery32-block { grid-template-columns: 1fr; gap: 29px; }
  .gallery32-section--wide .gallery32-block > header { grid-template-columns: 1fr; }
  .gallery32-section--wide .gallery32-copy { columns: 1; }
  .gallery32-copy { padding-left: 0; border-left: 0; }
  .gallery32-cross { grid-column: 1; }
  .gallery32-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .gallery32-shell { width: min(100% - 24px, 1190px); }
  .gallery32-top { position: relative; display: block; padding: 12px; }
  .gallery32-brand { display: block; width: 190px; margin: 0 auto 11px; }
  .gallery32-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery32-nav a { min-width: 0; padding: 9px 7px; text-align: center; overflow-wrap: anywhere; }
  .gallery32-hero { padding: 52px 0 38px; }
  .gallery32-hero::before { inset: 0; opacity: .5; clip-path: none; }
  .gallery32-hero__grid { gap: 34px; }
  h1 { font-size: clamp(34px, 11vw, 48px); }
  h2 { font-size: clamp(26px, 8vw, 36px); }
  .gallery32-actions { display: grid; grid-template-columns: 1fr; }
  .gallery32-console { padding: 18px; }
  .gallery32-console li { min-height: 88px; padding: 13px; }
  .gallery32-strip ul { grid-template-columns: 1fr 1fr; }
  .gallery32-strip li:nth-child(2) { border-right: 0; }
  .gallery32-section { padding: 22px 0; }
  .gallery32-block, .gallery32-section--wide .gallery32-block { min-width: 0; padding: 28px 20px; }
  .gallery32-section--offset .gallery32-block { padding: 0; }
  .gallery32-section--offset .gallery32-block > header, .gallery32-section--offset .gallery32-copy { padding: 25px 20px; }
  .gallery32-cardgrid, .gallery32-cardgrid--5, .gallery32-cardgrid--6, .gallery32-cardgrid--8, .gallery32-points { grid-template-columns: 1fr; }
  .gallery32-card { min-width: 0; min-height: 0; }
  .gallery32-footer__grid { grid-template-columns: 1fr; }
  .gallery32-footer__utility { padding-left: 0; border-left: 0; }
}
@media (max-width: 410px) {
  .gallery32-nav, .gallery32-console ul, .gallery32-strip ul { grid-template-columns: 1fr; }
  .gallery32-strip li { border-right: 0; border-bottom: 1px solid #4a3959; }
  .gallery32-action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery32-action, .gallery32-card { transition: none; }
}
