/* Hallmark · genre: editorial · theme: custom · layout: full-frame documentary · signature: crimson rule and punctuation */
/* Critique: let documentary photography carry the atmosphere and typography carry navigation. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
}

:root {
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --ink: #191d1a;
  --night: #151817;
  --olive: #222a25;
  --olive-deep: #1a211d;
  --olive-line: #455047;
  --paper: #f4f1e9;
  --paper-bright: #faf8f2;
  --paper-dim: #ede9de;
  --paper-line: #d2cec2;
  --dark-muted: #52594f;
  --light-muted: #c9c9bb;
  --bone: #f7f3e9;
  --red: #b5232b;
  --red-hover: #9c1b23;
  --red-light: #f66167;
  --red-text: #a32027;
  --star: #f0bb66;
  --scrim: #101310b8;
  --photo-black: #0a0c0bed;
  --photo-black-mid: #0a0c0b71;
  --photo-clear: #0a0c0b0f;
  --photo-mask-clear: transparent;
  --form-surface: #fffdf8;
  --disabled-ink: #62685e;
  --max: 1240px;
  --gutter: clamp(20px, 5.4vw, 78px);
}

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

html, body {
  min-width: 0;
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

body:has(dialog[open]) {
  overflow-y: hidden;
}

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

button, input, textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  border-color: var(--paper-line);
  background: var(--paper-dim);
  color: var(--disabled-ink);
}

:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 4px;
}

.agenda-section :focus-visible, .dialog :focus-visible {
  outline-color: var(--red-text);
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.skip, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  z-index: 5;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--paper);
  clip-path: none;
}

.site-header {
  position: relative;
  z-index: 1;
  background: var(--night);
  color: var(--bone);
  border-bottom: 1px solid var(--olive-line);
}

.header-inner, .footer-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand-type {
  display: grid;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: .9;
  letter-spacing: .04em;
}

.brand-type strong {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .012em;
}

.brand-type span {
  color: var(--light-muted);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3.1vw, 40px);
}

.nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  color: var(--light-muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--bone);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 62svh, 720px);
  background: var(--olive-deep);
  color: var(--bone);
  border-bottom: 5px solid var(--red);
}

.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-image::before, .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-image::before {
  left: auto;
  width: max(62%, 550px);
  background: url("/assets/hero.webp") right 11% / 100% auto no-repeat;
  mask-image: linear-gradient(90deg, var(--photo-mask-clear), var(--olive-deep) 27%);
}

.hero-image::after {
  background-image: linear-gradient(90deg, var(--photo-black) 0%, var(--photo-black) 38%, var(--photo-black-mid) 62%, var(--photo-clear) 100%),
    linear-gradient(0deg, var(--photo-black-mid) 0%, var(--photo-clear) 55%);
}

.hero-inner {
  padding-block: 80px 60px;
}

.hero-copy {
  max-width: 44rem;
  padding-left: clamp(16px, 3.2vw, 36px);
  border-left: 3px solid var(--red-light);
}

h1, h2, h3, p {
  min-width: 0;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: .91;
  font-weight: 800;
}

h1, h2, h3 {
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.25rem, 8.5vw, 7.5rem);
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-period {
  color: var(--red-light);
}

.hero-description {
  max-width: 32rem;
  margin: 24px 0 32px;
  color: var(--light-muted);
  font-size: clamp(1.01rem, 2vw, 1.18rem);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 36px);
  padding: .65rem 1.08rem;
  border: 1px solid;
  font-size: .935rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--form-surface);
}

.button-primary:hover:not(:disabled) {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.button-outline {
  background: transparent;
  border-color: var(--olive-line);
  color: var(--bone);
}

.button-outline:hover {
  background: var(--olive-line);
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.arrow {
  font-size: 1.17em;
  line-height: 1;
}

.agenda-section {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(52px, 7vw, 72px) clamp(56px, 8vw, 108px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--paper-line);
}

.section-name h2, .reviews-intro h2 {
  font-size: clamp(3.25rem, 6vw, 6rem);
  text-transform: uppercase;
  letter-spacing: -.012em;
}

.demo-label {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--red);
  color: var(--dark-muted);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}

.data-status {
  margin: 12px 0;
  color: var(--dark-muted);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.event-card {
  min-width: 0;
  background: var(--paper-bright);
  border: 1px solid var(--paper-line);
}

.event-card:has(.card-link:hover) {
  border-color: var(--red);
}

.card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.6;
  background: var(--olive);
  color: var(--bone);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-category {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  max-width: 100%;
  padding: 8px 12px;
  color: var(--bone);
  background: var(--night);
  font-size: .78rem;
  font-weight: 600;
}

.card-body {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: clamp(16px, 2.15vw, 24px);
}

.event-date {
  margin: 0 0 8px;
  color: var(--red-text);
  font-size: .84rem;
  font-weight: 700;
}

.event-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  font-weight: 800;
  line-height: .98;
}

.event-summary {
  margin: 12px 0 20px;
  color: var(--dark-muted);
  font-size: .94rem;
}

.card-footer {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
}

.event-price {
  min-width: 0;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.card-action {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: var(--red-text);
  font-size: .84rem;
  font-weight: 700;
}

.card-link:hover .card-action {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-section {
  padding-block: clamp(52px, 7.5vw, 96px);
  background: var(--olive);
  color: var(--bone);
  border-top: 1px solid var(--olive-line);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(32px, 7vw, 112px);
}

.reviews-intro p {
  max-width: 28rem;
  margin: 12px 0 20px;
  color: var(--light-muted);
}

.reviews-content {
  min-width: 0;
  min-height: 258px;
  padding: clamp(20px, 3.4vw, 44px);
  background: var(--olive-deep);
  border-left: 3px solid var(--red-light);
}

.reviews-content .data-status {
  color: var(--light-muted);
}

.review-content-inner {
  min-height: 165px;
}

.review-stars {
  margin: 0;
  color: var(--star);
  font-size: 1.13rem;
  line-height: 1.2;
  letter-spacing: .12em;
}

.review-quote {
  margin: 12px 0 16px;
  min-width: 0;
  color: var(--bone);
  font-size: clamp(1.08rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.reviewer {
  margin: 0;
  font-weight: 700;
}

.review-meta {
  margin: 4px 0 0;
  color: var(--light-muted);
  font-size: .83rem;
}

.review-controls, .review-buttons {
  display: flex;
  align-items: center;
}

.review-controls {
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.review-count {
  margin: 0;
  color: var(--light-muted);
  font-size: .83rem;
  font-variant-numeric: tabular-nums;
}

.review-buttons {
  gap: 4px;
}

.review-control {
  min-width: 44px;
  min-height: 44px;
  padding-inline: 4px;
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--olive-line);
  font-size: 1.17rem;
  line-height: 1;
}

.review-control:hover {
  background: var(--olive-line);
}

.review-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-bottom: 0px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.review-arrow.is-previous {
  transform: rotate(225deg);
}

.site-footer {
  padding-block: 16px;
  background: var(--night);
  color: var(--light-muted);
  border-top: 1px solid var(--olive-line);
  font-size: .84rem;
}

.footer-info {
  display: flex;
  gap: 16px;
}

.footer-info span + span {
  padding-left: 16px;
  border-left: 1px solid var(--olive-line);
}

.dialog {
  position: fixed;
  inset: 0;
  width: min(900px, calc(100% - 32px));
  max-height: min(90dvh, 940px);
  margin: auto;
  padding: 0;
  overscroll-behavior: contain;
  background: var(--paper-bright);
  border: 1px solid var(--paper-line);
  color: var(--ink);
}

.dialog::backdrop {
  background: var(--scrim);
}

.dialog-frame {
  position: relative;
}

.dialog-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--night);
  border: 1px solid var(--olive-line);
  color: var(--bone);
}

.dialog-close::before,
.dialog-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

.dialog-state {
  padding: 44px 72px 44px 28px;
}

.event-detail-header {
  position: relative;
  display: grid;
  min-height: clamp(260px, 40vh, 380px);
  align-items: end;
  isolation: isolate;
  background: var(--olive);
  color: var(--bone);
  border-bottom: 4px solid var(--red);
}

.event-detail-header img, .event-detail-header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-detail-header img {
  object-fit: cover;
}

.event-detail-header::after {
  content: "";
  background: linear-gradient(0deg, var(--photo-black) 2%, var(--photo-black-mid) 54%, var(--photo-clear) 100%);
}

.event-detail-title {
  padding: 64px clamp(20px, 5.2vw, 44px) 20px;
}

.detail-category {
  display: inline-block;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--red-light);
  font-size: .93rem;
  font-weight: 600;
}

.event-detail-title h2, .review-dialog h2 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: -.015em;
}

.event-detail-inner {
  padding: 24px clamp(20px, 5.2vw, 44px) 28px;
}

.event-detail-inner h3 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
  padding: 4px 0 20px;
  border-bottom: 1px solid var(--paper-line);
}

.event-facts dt {
  color: var(--dark-muted);
  font-size: .83rem;
}

.event-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.detail-description {
  margin: 8px 0 20px;
  color: var(--dark-muted);
  white-space: pre-wrap;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  background: var(--paper-dim);
}

.registration-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
}

.registration-block p, .form-help {
  margin: 8px 0 0;
  color: var(--dark-muted);
  font-size: .9rem;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form .button {
  justify-self: start;
}

.form label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
}

.form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.registration-fields:empty {
  display: none;
}

.registration-fields .field-wide, .registration-fields > :only-child {
  grid-column: 1 / -1;
}

.form label input, .form textarea, .form select {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  padding: 8px 12px;
  background: var(--form-surface);
  border: 1px solid var(--paper-line);
  border-radius: 0;
  color: var(--ink);
  font-size: 1rem;
}

.form textarea {
  resize: vertical;
}

.form label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.form label.checkbox input {
  width: 19px;
  min-height: 19px;
  margin: 4px 0;
  accent-color: var(--red);
}

.form-status {
  margin: 12px 0 0;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--red-text);
}

.review-dialog {
  width: min(600px, calc(100% - 32px));
}

.review-dialog-inner {
  padding: clamp(20px, 5vw, 44px);
}

.review-dialog h2 {
  margin-right: 44px;
  font-size: clamp(2.6rem, 7vw, 4rem);
}

.review-dialog h2 + p {
  margin: 12px 0 0;
  color: var(--dark-muted);
}

.optional {
  color: var(--dark-muted);
  font-weight: 400;
}

.review-dialog .form-columns label:has(.optional) {
  display: block;
}

.review-dialog .form-columns label:has(.optional) input {
  display: block;
  margin-top: 4px;
}

.rating-picker {
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-picker legend {
  padding: 0;
  font-size: .88rem;
  font-weight: 600;
}

.rating-choices {
  display: flex;
  gap: 4px;
}

.rating-choices label {
  display: grid;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-items: center;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.rating-choices label input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.rating-choices label:has(input:focus-visible) {
  outline: 2px solid var(--red-text);
}

.rating-choices label span[aria-hidden] {
  color: var(--dark-muted);
}

.rating-choices label:has(input:checked) span[aria-hidden],
.rating-choices label:has(~ label input:checked) span[aria-hidden] {
  color: var(--red-text);
}

@media (max-width: 900px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .header-inner, .footer-main {
    gap: 12px;
  }

  .header-inner {
    min-height: 65px;
  }

  .nav {
    gap: clamp(8px, 2vw, 12px);
  }

  .nav a {
    font-size: .79rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-type strong {
    font-size: 20px;
  }

  .brand-type span {
    font-size: 14px;
  }

  .brand {
    gap: 4px;
  }

  .hero {
    align-items: end;
    min-height: clamp(480px, 74svh, 590px);
  }

  .hero-image::before {
    width: 100%;
    background-position: center 15%;
    background-size: cover;
    mask-image: none;
  }

  .hero-image::after {
    background-image: linear-gradient(0deg, var(--photo-black) 3%, var(--photo-black-mid) 57%, var(--photo-clear) 100%),
      linear-gradient(90deg, var(--photo-black-mid), var(--photo-clear));
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 5.7rem);
  }

  .hero-inner {
    padding-block: 32px 36px;
  }

  .hero-description {
    margin-block: 16px 24px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .event-grid, .reviews-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-grid {
    gap: 16px;
  }

  .footer-main {
    min-height: unset;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-info {
    width: 100%;
    order: 1;
  }

  .form-columns, .event-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .registration-block {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .nav a {
    font-size: .73rem;
  }

  .nav {
    gap: 8px;
  }

  .rating-choices {
    gap: 0;
  }
}

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

  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
