* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #5a5c5e;
  color: #ffffff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid #8ab5db;
  outline-offset: 4px;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 4%;
  background: #000000;
}

.brand {
  width: fit-content;
  font-size: 20px;
  font-weight: 800;
  line-height: 0.94;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  display: block;
}

.brand span:last-child {
  color: #8ab5db;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.primary-nav a {
  color: #e5e1dc;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #8ab5db;
  text-underline-offset: 4px;
}

.header-logo {
  justify-self: end;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.hero {
  min-height: 690px;
  padding: 34px 6% 72px;
}

.hero-heading,
.page-intro {
  text-align: center;
}

.hero-heading h1,
.page-intro h1 {
  margin: 0;
  color: #edf6ff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.1;
}

.hero-heading p {
  margin: 12px 0 0;
  font-size: clamp(22px, 3vw, 34px);
}

.hero-content,
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  max-width: 1120px;
  margin: 66px auto 0;
}

.intro-copy {
  max-width: 510px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.intro-copy p {
  margin: 0 0 16px;
}

.intro-copy p + p {
  color: #d4d1cd;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 13px 19px;
  border: 1px solid #8ab5db;
  color: #edf6ff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.cta-link:hover {
  background: rgb(90 143 191 / 12%);
}

.cta-link svg {
  width: 17px;
  height: 17px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.home-action {
  justify-content: space-between;
  min-width: 150px;
  margin-top: 0;
  background: #8ab5db;
  color: #111416;
}

.home-action:hover {
  background: #a7c9e7;
}

.home-action-outline {
  background: transparent;
  color: #edf6ff;
}

.home-action-outline:hover {
  background: rgb(138 181 219 / 15%);
}

html:has(.home-dialog[open]) {
  overflow: hidden;
}

.home-dialog .registration-close {
  flex-shrink: 0;
}

.home-dialog-intro,
.home-contact-details {
  color: #e3e0dc;
  font-size: 15px;
  line-height: 1.6;
}

.home-contact-details {
  margin-top: 22px;
  padding: 16px;
  border-left: 3px solid #8ab5db;
  background: rgb(138 181 219 / 8%);
  overflow-wrap: anywhere;
}

.home-contact-details p {
  margin: 0 0 10px;
}

.home-phone {
  color: #edf6ff;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  text-decoration: none;
}

.registration-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #85898d;
  border-radius: 2px;
  background: #ffffff;
  color: #202326;
  font: inherit;
  resize: vertical;
}

.registration-form .home-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-weight: 400;
  line-height: 1.5;
}

.home-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: #8ab5db;
}

.home-dialog input:focus-visible,
.home-dialog textarea:focus-visible,
.home-dialog button:focus-visible {
  outline: 2px solid #8ab5db;
  outline-offset: 3px;
}

.home-notice {
  max-width: 1120px;
  margin: 24px 6%;
  padding: 16px 20px;
  border: 1px solid #8ab5db;
  background: #303234;
  line-height: 1.6;
}

.hero-image,
.story-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.inner-page {
  min-height: calc(100vh - 214px);
  padding: 0 6% 64px;
}

.page-intro {
  padding: 54px 0 36px;
}

.page-intro h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #8ab5db;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-subtitle {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
}

.story-section {
  margin-top: 10px;
}

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

.story-copy h2,
.visit-panel h2,
.masterclass-heading h2 {
  margin: 0 0 18px;
  color: #edf6ff;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

.story-copy p:not(.eyebrow),
.visit-panel p:not(.eyebrow),
.masterclass-heading p:not(.eyebrow) {
  color: #e3e0dc;
  font-size: 16px;
  line-height: 1.75;
}

.product-cards,
.masterclass-cards,
.values-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 10px auto 0;
}

.product-cards {
  row-gap: 0;
}

.product-card,
.masterclass-card {
  overflow: hidden;
  border: 1px solid rgb(90 143 191 / 35%);
  background: rgb(0 0 0 / 12%);
}

.product-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.product-card > .product-cutout {
  padding: 20px;
}

.product-gallery {
	position: relative;
}

.product-gallery-stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #202325;
	touch-action: pan-y;
}

.product-gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery-count {
	position: absolute;
	padding: 7px 10px;
	background: rgb(0 0 0 / 68%);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
}

.product-gallery-count {
	right: 14px;
	bottom: 14px;
	font-weight: 600;
}

.product-gallery-arrow,
.product-gallery-zoom {
	position: absolute;
	display: grid;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 75%);
	background: rgb(0 0 0 / 68%);
	color: #ffffff;
	cursor: pointer;
}

.product-gallery-arrow {
	top: 50%;
	width: 46px;
	height: 54px;
	transform: translateY(-50%);
	font-size: 25px;
}

.product-gallery-previous {
	left: 12px;
}

.product-gallery-next {
	right: 12px;
}

.product-gallery-zoom {
	right: 14px;
	top: 14px;
	width: 38px;
	height: 38px;
	font-size: 21px;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible,
.product-gallery-zoom:hover,
.product-gallery-zoom:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
	background: #26323d;
}

.product-gallery-caption {
	margin: 0;
	padding: 12px 16px;
	background: rgb(0 0 0 / 16%);
	color: #e3e0dc;
	font-size: 14px;
}

html:has(.gallery-dialog[open]) {
  overflow: hidden;
}

.gallery-dialog {
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid rgb(138 181 219 / 60%);
  background: #202325;
  color: #edf6ff;
}

.gallery-dialog::backdrop {
  background: rgb(0 0 0 / 85%);
}

.gallery-dialog-content {
  padding: clamp(12px, 3vw, 24px);
}

.gallery-dialog-header,
.gallery-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-dialog-header {
  margin-bottom: 14px;
}

.gallery-dialog-header h2 {
  margin: 0;
  font-size: clamp(18px, 3vw, 24px);
}

.gallery-image {
  display: block;
  width: 100%;
  height: min(65dvh, 650px);
  object-fit: contain;
}

.gallery-dialog-footer {
  margin-top: 14px;
}

.gallery-dialog-footer p {
  margin: 0;
  color: #e3e0dc;
  font-size: 14px;
  text-align: center;
}

.gallery-control {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #8ab5db;
  background: transparent;
  color: #edf6ff;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  outline: 2px solid #8ab5db;
  outline-offset: 3px;
  background: rgb(138 181 219 / 15%);
}

.masterclass-card {
  display: flex;
  flex-direction: column;
}

.masterclass-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.product-card-copy,
.masterclass-card-copy {
  padding: 22px;
}

.masterclass-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.masterclass-card-copy > p:not(.eyebrow):not(.class-price) {
  flex: 1;
}

.product-card-copy h2,
.masterclass-card-copy h2 {
  margin: 0 0 12px;
  color: #edf6ff;
  font-size: clamp(21px, 2.3vw, 27px);
}

.product-card-copy > p:not(.eyebrow):not(.product-price),
.masterclass-card-copy > p:not(.eyebrow):not(.class-price) {
  min-height: 112px;
  margin: 0;
  color: #e3e0dc;
  font-size: 15px;
  line-height: 1.7;
}

.product-details {
  min-height: 106px;
  margin: 16px 0 0;
  padding: 14px 0 14px 18px;
  border-top: 1px solid rgb(90 143 191 / 35%);
  color: #d4d1cd;
  font-size: 14px;
  line-height: 1.7;
}

.product-price,
.class-price {
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid rgb(90 143 191 / 35%);
  color: #edf6ff;
  font-size: 25px;
  font-weight: 800;
}

.class-price {
  margin-top: 22px;
}

.product-price span,
.class-price span {
  color: #d4d1cd;
  font-size: 14px;
  font-weight: 400;
}

.product-card-copy {
  display: flex;
  flex-direction: column;
}

.product-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}

.product-card-copy {
  flex: 1;
}

.product-card-copy > .product-price {
  margin-top: auto;
}

.product-order {
  align-self: start;
  margin: 0 22px 22px;
}

.product-order summary {
  padding: 13px 16px;
  background: #8ab5db;
  color: #111416;
  font-weight: 800;
  cursor: pointer;
}

.product-order summary:hover {
  background: #a7c9e7;
}

.product-order summary:focus-visible {
  outline: 2px solid #edf6ff;
  outline-offset: 4px;
}

.product-order-info {
  padding: 4px 16px 12px;
  border: 1px solid #8ab5db;
  color: #e3e0dc;
  font-size: 14px;
  line-height: 1.7;
}

.product-order-info strong {
  color: #edf6ff;
}

.product-order-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-order-links .cta-link {
  margin-top: 0;
  padding: 9px 14px;
}

.product-order-hours {
  color: #8ab5db;
}

.registration-form {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgb(90 143 191 / 35%);
}

.registration-trigger {
  width: 100%;
  min-height: 46px;
  margin-top: 20px;
  padding: 11px 16px;
  border: 1px solid #8ab5db;
  background: #8ab5db;
  color: #111416;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.registration-trigger:hover,
.registration-trigger:focus-visible {
  background: #a7c9e7;
}

.registration-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: min(90vh, 760px);
  padding: 26px;
  overflow-y: auto;
  border: 1px solid rgb(138 181 219 / 70%);
  background: #303234;
  color: #ffffff;
}

.registration-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
}

.registration-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.registration-dialog-header .eyebrow {
  margin-bottom: 7px;
}

.registration-dialog-header h2 {
  margin: 0;
  color: #edf6ff;
  font-size: clamp(23px, 4vw, 30px);
}

.registration-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgb(90 143 191 / 55%);
  background: transparent;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.registration-dialog .registration-form {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.registration-form h3 {
  margin: 0 0 4px;
  color: #edf6ff;
  font-size: 19px;
}

.registration-form label {
  color: #e3e0dc;
  font-size: 14px;
  font-weight: 700;
}

.registration-note {
  margin: 0;
  color: #d4d1cd;
  font-size: 13px;
  line-height: 1.5;
}

.registration-form input,
.registration-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #85898d;
  border-radius: 2px;
  background: #ffffff;
  color: #202326;
  font: inherit;
}

.registration-form button {
  min-height: 44px;
  margin-top: 5px;
  padding: 10px 14px;
  border: 1px solid #8ab5db;
  background: #8ab5db;
  color: #111416;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.registration-form button:hover {
  background: #a7c9e7;
}

.registration-message,
.registration-error {
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid #8ab5db;
  color: #edf6ff;
  font-size: 14px;
  line-height: 1.6;
}

.confirmation-page {
  display: grid;
  align-items: center;
  justify-items: center;
}

.confirmation-card {
  width: min(100%, 720px);
  margin: 48px auto;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgb(90 143 191 / 55%);
  background: rgb(0 0 0 / 12%);
  text-align: center;
}

.confirmation-card h1 {
  margin: 0;
  color: #edf6ff;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15;
}

.confirmation-card > p:not(.eyebrow) {
  margin: 20px 0 26px;
  color: #e3e0dc;
  font-size: 18px;
  line-height: 1.7;
}

.confirmation-card strong {
  color: #ffffff;
}

.registration-error {
  margin: 0 0 4px;
  border-color: #f0a19b;
}

.values-section {
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid rgb(90 143 191 / 35%);
}

.value-item {
  padding: 4px 12px 10px 0;
}

.value-number {
  color: #8ab5db;
  font-size: 13px;
  font-weight: 800;
}

.value-item h2 {
  margin: 12px 0 8px;
  color: #edf6ff;
  font-size: 20px;
}

.value-item p {
  margin: 0;
  color: #d4d1cd;
  font-size: 15px;
  line-height: 1.65;
}

.visit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1120px;
  margin: 72px auto 0;
  padding: 28px 0;
  border-top: 1px solid rgb(90 143 191 / 35%);
  border-bottom: 1px solid rgb(90 143 191 / 35%);
}

.visit-panel h2 {
  margin-bottom: 8px;
}

.visit-panel p:not(.eyebrow) {
  margin: 0;
}

.visit-panel .cta-link {
  flex-shrink: 0;
}

.masterclass-section {
  max-width: 1120px;
  margin: 78px auto 0;
}

.masterclass-heading {
  max-width: 620px;
}

.visit-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 19px 24px;
  background: #4e5052;
  color: #e3e0dc;
  font-size: 15px;
  text-align: center;
}

.visit-strip strong {
  color: #edf6ff;
}

.site-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 20px 4%;
  border-top: 1px solid transparent;
  background: #000000;
  color: #84878a;
  font-size: 14px;
  transition: padding 200ms ease, min-height 200ms ease, font-size 200ms ease,
    color 200ms ease, background-color 200ms ease, border-color 200ms ease,
    box-shadow 200ms ease;
}

.site-footer:hover,
.site-footer:focus-within {
  z-index: 101;
  min-height: 104px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-color: #8ab5db;
  background: #111820;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 -8px 28px rgb(0 0 0 / 25%);
}

.site-footer p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (hover: none) {
  .site-footer {
    z-index: 101;
    color: #ffffff;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer {
    transition: none;
  }
}

.bottom-blur {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  z-index: 100;
  pointer-events: none;

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);

  -webkit-mask-image: linear-gradient(to bottom, transparent, black);
  mask-image: linear-gradient(to bottom, transparent, black);
}

@media (max-width: 760px) {
  .product-cards {
    row-gap: 24px;
  }

  .product-card {
    display: block;
    grid-row: auto;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 22px 12px;
  }

  .brand {
    font-size: 17px;
  }

  .header-logo {
    grid-column: 2;
    grid-row: 1;
    width: 64px;
    height: 64px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 8px 18px;
  }

  .primary-nav a {
    font-size: 16px;
  }

  .hero {
    min-height: 0;
    padding: 42px 22px 48px;
  }

  .hero-content,
  .story-section,
  .values-section,
  .masterclass-cards,
  .product-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-content {
    margin-top: 42px;
  }

  .intro-copy {
    font-size: 16px;
  }

  .inner-page {
    padding-right: 22px;
    padding-left: 22px;
  }

  .page-intro {
    padding-top: 42px;
  }

  .values-section {
    margin-top: 44px;
  }

  .value-item {
    padding-bottom: 18px;
    border-bottom: 1px solid rgb(90 143 191 / 22%);
  }

  .masterclass-card-copy > p:not(.eyebrow):not(.class-price),
  .product-card-copy > p:not(.eyebrow):not(.product-price),
  .product-details {
    min-height: 0;
  }

  .visit-panel {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 46px;
  }

  .masterclass-section {
    margin-top: 52px;
  }
}

@media (max-width: 420px) {
  .primary-nav a {
    font-size: 14px;
  }

  .visit-strip,
  .site-footer {
    flex-direction: column;
  }

  .visit-strip {
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
  }
}
