:root {
  --materials-ink: #17120d;
  --materials-muted: #70675d;
  --materials-soft: #fbf6ec;
  --materials-paper: #fffdf8;
  --materials-line: rgba(50, 40, 28, 0.13);
  --materials-gold: #cc9933;
  --materials-gold-deep: #a98339;
  --materials-dark: #0a0a0a;
  --materials-espresso: #17110b;
  --materials-blue: #0f5be8;
  --materials-green: #17805a;
  --materials-shadow: 0 26px 58px rgba(0, 0, 0, 0.2);
  color-scheme: light;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body.materials-page {
  margin: 0;
  overflow-x: hidden;
  background: #fffdf8;
  color: var(--materials-ink);
  font-family: "Overpass", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.materials-skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 10000;
  transform: translateY(-140%);
  background: #ffffff;
  color: #111111;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.materials-skip-link:focus {
  transform: translateY(0);
}

.materials-header {
  position: fixed;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 9990;
  width: min(calc(100% - 32px), 1200px);
  height: 50px;
  margin: 0 auto;
  border: 1px solid rgba(193, 154, 74, 0.18);
  border-radius: 60px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.materials-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 0 24px;
}

.materials-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
}

.materials-header__logo img {
  display: block;
  width: auto;
  height: 28px;
}

.materials-header__contact {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.materials-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.materials-header__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.materials-header__nav a:hover,
.materials-header__nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.materials-header__cta {
  background: var(--materials-gold);
  color: #0d0802 !important;
}

.materials-header__cta:hover,
.materials-header__cta:focus-visible {
  background: var(--materials-gold-deep) !important;
  color: #0d0802 !important;
}

.materials-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(72px, 9vw, 112px) 24px clamp(28px, 5vw, 48px);
  overflow: hidden;
  background:
    linear-gradient(180deg, #fffdf8 0%, #fbf6ec 100%);
  color: var(--materials-ink);
  text-align: center;
  isolation: isolate;
}

.materials-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.materials-shell--hero {
  display: grid;
  justify-items: center;
  gap: clamp(24px, 4vw, 40px);
  transform: none;
}

.materials-hero__logo {
  display: block;
  width: clamp(220px, 28vw, 360px);
  height: auto;
}

.materials-eyebrow {
  margin: 0;
  color: var(--materials-gold);
  font-family: "Sora", "Overpass", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.materials-hero h1,
.materials-panel h2,
.materials-content h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.materials-hero h1 {
  width: min(100%, 900px);
  color: var(--materials-ink);
  font-size: clamp(3.2rem, 7.2vw, 6.7rem);
}

.materials-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-family: "Overpass", "Sora", sans-serif;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease, background-color 0.18s ease, color 0.18s ease;
}

.materials-button:hover,
.materials-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  outline: none;
}

.materials-band {
  position: relative;
  z-index: 2;
  padding: 86px 24px;
  background: #f8f6f1;
  overflow: clip;
}

.materials-band--access {
  background:
    linear-gradient(180deg, #f8f6f1 0%, #fffdf8 52%, #ffffff 100%);
  padding-top: clamp(18px, 3vw, 34px);
}

.materials-band--white {
  background:
    linear-gradient(180deg, #fffaf2 0%, #ffffff 34%, #fbf6ec 100%);
  padding-top: clamp(92px, 10vw, 136px);
  padding-bottom: clamp(92px, 10vw, 136px);
}

.materials-grid {
  display: grid;
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
  gap: 0;
  align-items: stretch;
}

.materials-panel,
.materials-message {
  background: var(--materials-paper);
  border: 1px solid rgba(219, 192, 132, 0.42);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(63, 48, 26, 0.1);
}

.materials-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 26px 28px;
}

.materials-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(246, 221, 163, 0.52) 0%, rgba(255, 255, 255, 0.06) 23%, rgba(214, 162, 51, 0.16) 62%, rgba(246, 221, 163, 0.42) 100%);
  pointer-events: none;
}

.materials-panel__header,
.materials-content__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.materials-panel__header {
  justify-content: center;
  text-align: center;
}

.materials-panel h2,
.materials-content h2 {
  margin-top: 8px;
  color: #17120d;
  font-size: 3.25rem;
}

.materials-panel h2 {
  margin-top: 0;
}

.materials-event-form,
.materials-password-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.materials-event-form {
  width: min(100%, 720px);
  margin-inline: auto;
  margin-top: 28px;
  padding: clamp(14px, 2.5vw, 18px);
  border: 1px solid rgba(204, 153, 51, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96) 0%, rgba(251, 240, 214, 0.72) 100%);
  box-shadow: 0 18px 42px rgba(108, 77, 28, 0.11);
}

.materials-label {
  color: #332a22;
  font-family: "Sora", "Overpass", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.materials-label--inline {
  align-self: center;
  color: var(--materials-ink);
  font-size: 1rem;
  text-transform: none;
}

.materials-input,
.materials-select,
.materials-textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid #d8d2c8;
  border-radius: 18px;
  background: #ffffff;
  color: #241d16;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.materials-input,
.materials-select {
  padding: 0 18px;
}

.materials-textarea {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
}

.materials-input:focus,
.materials-select:focus,
.materials-textarea:focus {
  border-color: rgba(204, 153, 51, 0.72);
  box-shadow: 0 0 0 4px rgba(204, 153, 51, 0.12);
}

.materials-select:disabled {
  color: rgba(23, 20, 16, 0.42);
  cursor: wait;
}

.materials-event-form .materials-select {
  min-height: 68px;
  border-color: rgba(204, 153, 51, 0.45);
  border-bottom: 3px solid rgba(184, 134, 40, 0.52);
  background-color: #ffffff;
  color: #17120d;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(63, 48, 26, 0.08);
}

.materials-password-note {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 10px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(204, 153, 51, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  color: #5f564d;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.62;
}

.materials-password-note p {
  margin: 0;
}

.materials-password-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 10px;
  width: min(100%, 620px);
  margin: 10px auto 0;
  align-items: stretch;
}

.materials-password-form {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: clamp(16px, 2.8vw, 22px);
  border: 1px solid rgba(204, 153, 51, 0.16);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.7);
  transition: opacity 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
}

.materials-password-form.is-disabled {
  opacity: 0.48;
  filter: grayscale(0.65);
  background: rgba(255, 255, 255, 0.54);
}

.materials-password-form.is-disabled .materials-password-note,
.materials-password-form.is-disabled .materials-password-row {
  pointer-events: none;
}

.materials-password-form.is-disabled .materials-input,
.materials-password-form.is-disabled .materials-button {
  cursor: not-allowed;
}

.materials-button {
  min-height: 58px;
  padding: 0 26px;
  font-size: 0.96rem;
}

.materials-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.materials-button--primary {
  background: linear-gradient(180deg, #d9a432 0%, #ca962e 100%);
  border-bottom: 3px solid #b88628;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(204, 153, 51, 0.23);
}

.materials-button--ghost {
  border: 1px solid rgba(23, 20, 16, 0.14);
  background: #ffffff;
  color: #1d1711;
  box-shadow: none;
}

.materials-button--review {
  background: linear-gradient(180deg, #d9a432 0%, #ca962e 100%);
  border-bottom: 3px solid #b88628;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(204, 153, 51, 0.23);
}

.materials-status {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--materials-muted);
  font-weight: 800;
  text-align: center;
}

.materials-status.is-error {
  color: #b42318;
}

.materials-status.is-success {
  color: var(--materials-green);
}

.materials-content {
  display: grid;
  gap: clamp(40px, 6vw, 76px);
}

#materials-gate,
#pw-materials-content {
  scroll-margin-top: 88px;
}

.materials-message {
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 18px 46px rgba(36, 30, 22, 0.08);
  text-align: center;
}

.materials-message p {
  width: min(100%, 900px);
  margin: 0;
  margin-inline: auto;
  color: #4f463d;
  font-size: clamp(1.32rem, 2.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
}

.materials-video {
  display: grid;
  gap: 14px;
  margin-top: clamp(6px, 2vw, 18px);
}

.materials-review h3 {
  margin: 0;
  color: var(--materials-ink);
  font-family: "Sora", "Overpass", sans-serif;
  font-size: 1.46rem;
}

.materials-video__frame {
  overflow: hidden;
  border-radius: 24px;
  background: #111111;
  border: 1px solid rgba(23, 20, 16, 0.16);
  aspect-ratio: 16 / 9;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.16);
}

.materials-video__notice {
  width: min(100%, 760px);
  margin: -4px auto 4px;
  color: #6b6258;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
}

.materials-video__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.materials-empty-video {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.materials-gallery {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(100%, 720px);
  margin: clamp(4px, 2vw, 18px) auto clamp(14px, 4vw, 44px);
  padding: 26px 28px;
  border: 1px solid rgba(204, 153, 51, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(253, 245, 229, 0.96) 100%);
  box-shadow: 0 20px 44px rgba(63, 48, 26, 0.08);
}

.materials-gallery__title {
  margin: 0;
  color: var(--materials-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.04;
  text-align: center;
  text-wrap: balance;
}

.materials-muted {
  margin: 0;
  color: var(--materials-muted);
  font-weight: 700;
}

.materials-review {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 620px);
  margin: clamp(4px, 3vw, 28px) auto 0;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(204, 153, 51, 0.16);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.68);
  color: var(--materials-ink);
  text-align: center;
  box-shadow: none;
}

.materials-review h3 {
  color: var(--materials-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.18rem);
  font-weight: 600;
  line-height: 1.08;
}

.materials-review p {
  width: min(100%, 500px);
  margin: 0;
  color: #5e564e;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.materials-review .materials-button {
  min-height: 48px;
  margin-top: 4px;
  padding: 0 22px;
  font-size: 0.86rem;
  box-shadow: 0 10px 22px rgba(204, 153, 51, 0.16);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1020px) {
  .materials-header__contact {
    display: none;
  }
}

@media (max-width: 760px) {
  .materials-header {
    top: 8px;
    width: min(calc(100% - 22px), 1200px);
    height: auto;
    min-height: 50px;
  }

  .materials-header__inner {
    gap: 10px;
    padding: 8px 12px;
  }

  .materials-header__logo img {
    height: 25px;
  }

  .materials-header__nav {
    margin-left: auto;
  }

  .materials-header__nav a:not(.materials-header__cta) {
    display: none;
  }

  .materials-header__cta {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.64rem;
  }

  .materials-hero {
    padding: 58px 18px 22px;
  }

  .materials-shell--hero {
    transform: none;
  }

  .materials-hero h1 {
    font-size: 3.15rem;
  }

  .materials-hero__logo {
    width: min(78vw, 300px);
  }

  .materials-band {
    padding: 54px 16px;
  }

  .materials-band--access {
    padding-top: 18px;
  }

  .materials-band--white {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .materials-panel,
  .materials-message,
  .materials-gallery,
  .materials-review {
    border-radius: 24px;
  }

  .materials-panel {
    padding: 20px 16px 22px;
  }

  .materials-panel__header,
  .materials-content__top {
    display: grid;
  }

  .materials-panel__header {
    justify-items: center;
  }

  .materials-panel h2,
  .materials-content h2 {
    font-size: 2.35rem;
  }

  .materials-password-note {
    padding: 16px 14px;
    font-size: 0.98rem;
  }

  .materials-password-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .materials-button {
    width: 100%;
  }

  .materials-review .materials-button {
    width: auto;
    min-width: min(100%, 230px);
  }

  .materials-video__frame {
    border-radius: 18px;
  }

  .materials-gallery {
    padding: 22px 18px;
  }
}

@media (max-width: 430px) {
  .materials-hero h1 {
    font-size: 2.72rem;
  }

  .materials-panel h2,
  .materials-content h2 {
    font-size: 2.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .materials-hero {
    background:
      linear-gradient(180deg, #fffdf8 0%, #fbf6ec 100%);
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
