:root {
  --bg: #120b16;
  --bg-deep: #0d0810;
  --ink: #d7ccd0;
  --muted: #b9adb0;
  --gold: #bd8547;
  --gold-bright: #d7a463;
  --red: #6f1815;
  --line: rgba(151, 118, 124, 0.18);
  --panel: rgba(34, 19, 27, 0.34);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(92, 49, 62, 0.14), transparent 34rem),
    linear-gradient(110deg, rgba(16, 9, 19, 0.96), rgba(22, 12, 26, 0.98)),
    var(--bg);
  font-family: "Cormorant Garamond", Georgia, serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: screen;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background: url("assets/velvet-architecture.png") center / cover no-repeat;
  opacity: 0.12;
  filter: saturate(0.7) contrast(1.2);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 clamp(1.2rem, 4.8vw, 5.9rem);
  border-bottom: 1px solid rgba(151, 118, 124, 0.14);
  background: rgba(13, 8, 16, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  color: #f4edf1;
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
}

nav a,
.text-link,
.contact-form button {
  color: var(--gold-bright);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a {
  color: #c9bec2;
}

nav a:hover,
.text-link:hover {
  color: var(--gold-bright);
}

main {
  min-height: 100vh;
}

.hero-section,
.page-section {
  scroll-margin-top: var(--header-height);
}

.hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(3.5rem, 8vw, 6.8rem) clamp(2.1rem, 4.8vw, 5.9rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(13, 8, 16, 0.98) 0%, rgba(13, 8, 16, 0.86) 33%, rgba(13, 8, 16, 0.32) 63%, rgba(13, 8, 16, 0.14) 100%),
    linear-gradient(0deg, rgba(13, 8, 16, 0.86), rgba(13, 8, 16, 0.04) 46%, rgba(13, 8, 16, 0.18)),
    url("assets/photos/miss-emilia-cage-red.jpg") 80% 50% / auto 100% no-repeat,
    url("assets/velvet-architecture.png") center / cover no-repeat;
  filter: saturate(0.82) contrast(1.14) brightness(0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow,
.panel-heading {
  margin: 0 0 1.15rem;
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.43em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f4edf1;
  font-size: clamp(4.8rem, 9.4vw, 9.4rem);
  font-weight: 500;
  line-height: 0.82;
}

.hero-title span {
  display: inline;
}

.hero-line {
  max-width: 620px;
  margin: 1.5rem 0 2.2rem;
  color: #d5c9cd;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-style: italic;
  line-height: 1.2;
}

.page-section {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(3.35rem, 4.2vw, 3.9rem) clamp(2.1rem, 4.8vw, 5.9rem);
}

.about-section,
.sessions-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  gap: clamp(3rem, 6vw, 6.4rem);
  align-items: start;
}

.section-copy,
.sessions-copy {
  max-width: 680px;
}

.section-title {
  margin: 0 0 clamp(2.65rem, 4.5vw, 3.4rem);
  color: #f4edf1;
  font-size: clamp(3.1rem, 4.65vw, 4.3rem);
  font-weight: 500;
  line-height: 0.92;
}

.section-title span {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 400;
}

.body-copy,
.intro-copy {
  max-width: 625px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.42vw, 1.25rem);
  font-weight: 600;
  line-height: 1.62;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.03);
}

.body-copy p,
.intro-copy p {
  margin: 0 0 1.15rem;
}

.body-copy p + p,
.intro-copy p:nth-child(3),
.intro-copy p:nth-child(4) {
  margin-top: 1.95rem;
}

.body-copy a,
.body-copy em,
.intro-copy a,
.intro-copy em,
.body-copy strong {
  color: var(--gold-bright);
  font-style: italic;
  text-decoration: none;
}

.specialities-panel,
.sessions-list,
.contact-form {
  width: 100%;
  border: 1px solid rgba(134, 105, 113, 0.2);
  background: rgba(13, 8, 16, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.01),
    0 -1px 0 rgba(111, 24, 21, 0.35);
}

.specialities-panel {
  min-height: min(54vh, 370px);
  padding: clamp(2.25rem, 3.8vw, 3rem);
}

.panel-heading {
  color: var(--gold-bright);
}

.specialities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem clamp(2rem, 5vw, 4.2rem);
  padding: 0;
  margin: 2.2rem 0 0;
  color: #c9bec2;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-style: italic;
  font-weight: 600;
  list-style: none;
}

.specialities-list li {
  position: relative;
  padding-left: 1.55rem;
}

.specialities-list li::before {
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.36rem;
  height: 0.36rem;
  content: "";
  background: var(--red);
  transform: rotate(45deg);
}

.deposit-note {
  width: min(100%, 650px);
  margin-top: clamp(2.05rem, 3vw, 2.5rem);
  padding: 1.35rem 1.8rem;
  border-left: 3px solid var(--red);
  color: #cfc1c5;
  background:
    linear-gradient(90deg, rgba(69, 20, 24, 0.5), rgba(56, 21, 29, 0.22)),
    var(--panel);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
}

.deposit-note strong {
  color: #e0d7d9;
  font-style: italic;
  font-weight: 700;
}

.sessions-list {
  min-height: min(84vh, 604px);
  padding: clamp(2.55rem, 4.5vw, 3rem) clamp(1.95rem, 4.2vw, 3.65rem);
}

ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sessions-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.95rem;
  padding: 0.88rem 0 0.94rem;
  border-bottom: 1px solid var(--line);
}

.sessions-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.item-number,
.protocol-grid span {
  color: var(--red);
  font-size: clamp(1.3rem, 1.75vw, 1.55rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin: 0 0 0.48rem;
  color: #c9bec2;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  font-weight: 700;
  line-height: 1.1;
}

.sessions-list p,
.protocol-grid p {
  margin: 0;
  color: #c9bec2;
  font-size: clamp(1rem, 1.26vw, 1.1rem);
  font-weight: 600;
  line-height: 1.36;
}

.protocol-section {
  display: grid;
  align-content: center;
  gap: clamp(2.6rem, 5vw, 4.2rem);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.protocol-grid article {
  min-height: 230px;
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
  border-right: 1px solid var(--line);
}

.protocol-grid article:last-child {
  border-right: 0;
}

.protocol-grid h3 {
  margin-top: 1.35rem;
  font-size: clamp(1.15rem, 1.65vw, 1.36rem);
}

.gallery-section {
  display: grid;
  align-content: start;
  gap: clamp(2.6rem, 5vw, 4.2rem);
}

.gallery-heading {
  max-width: 780px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.75rem, 1.4vw, 1.2rem);
}

.gallery-item {
  position: relative;
  display: block;
  min-height: 19rem;
  border: 1px solid rgba(134, 105, 113, 0.2);
  overflow: hidden;
  background: rgba(13, 8, 16, 0.28);
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(13, 8, 16, 0.02), rgba(13, 8, 16, 0.2)),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(13, 8, 16, 0.42));
  opacity: 0.76;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after {
  opacity: 0.28;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.84);
  transform: scale(1.01);
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.gallery-item:hover img {
  filter: saturate(0.92) contrast(1.08) brightness(0.96);
  transform: scale(1.045);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 39.2rem;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-tall {
  grid-row: span 2;
  min-height: 39.2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(8, 4, 10, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(92vw, 1180px);
  max-height: 88vh;
  border: 1px solid rgba(151, 118, 124, 0.24);
  object-fit: contain;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.7);
}

.lightbox-button {
  position: fixed;
  z-index: 51;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(215, 164, 99, 0.42);
  color: var(--gold-bright);
  background: rgba(13, 8, 16, 0.72);
  cursor: pointer;
  font: 400 1.8rem/1 "Cormorant Garamond", Georgia, serif;
}

.lightbox-button:hover {
  background: rgba(42, 22, 30, 0.92);
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1.2rem;
}

.lightbox-next {
  right: 1.2rem;
}

.lightbox-open {
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 625px;
  margin-top: clamp(2rem, 3.5vw, 2.8rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details a {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.92rem 0;
  border-bottom: 1px solid var(--line);
  color: #d7ccd0;
  font-size: clamp(1.08rem, 1.42vw, 1.22rem);
  font-weight: 600;
  text-decoration: none;
}

.contact-details a:last-child {
  border-bottom: 0;
}

.contact-details span {
  color: var(--gold-bright);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-details a:hover {
  color: var(--gold-bright);
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

label {
  display: grid;
  gap: 0.55rem;
}

label span {
  color: var(--gold-bright);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(151, 118, 124, 0.22);
  border-radius: 0;
  color: #f0e7eb;
  background: rgba(12, 7, 14, 0.62);
  font: 600 1.05rem/1.35 "Cormorant Garamond", Georgia, serif;
}

input,
select {
  min-height: 3rem;
  padding: 0 0.85rem;
}

textarea {
  min-height: 12rem;
  padding: 0.85rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(215, 164, 99, 0.7);
  outline-offset: 2px;
}

.contact-form button {
  width: fit-content;
  min-height: 3.2rem;
  padding: 0 1.3rem;
  border: 1px solid rgba(215, 164, 99, 0.46);
  color: #130b15;
  background: var(--gold-bright);
  cursor: pointer;
}

.contact-form button:hover {
  background: #e1b070;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 1.4rem;
  margin: -0.2rem 0 0;
  color: #b7a9ad;
  font-size: 1rem;
}

.form-status.is-success {
  color: var(--gold-bright);
}

.form-status.is-error {
  color: #d88a83;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem clamp(2.1rem, 4.8vw, 5.9rem);
  border-top: 1px solid var(--line);
  color: #9f9095;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.4rem;
}

footer a {
  color: var(--gold-bright);
  text-decoration: none;
}

@media (max-width: 980px) {
  .about-section,
  .sessions-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3.1rem;
    min-height: auto;
  }

  .section-copy,
  .sessions-copy {
    max-width: none;
  }

  .sessions-list {
    min-height: auto;
  }

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

  .protocol-grid article:nth-child(2) {
    border-right: 0;
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-height: 94px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem 1.4rem;
  }

  nav a {
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .hero-section,
  .page-section {
    padding: 2.4rem 1.15rem;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 5rem);
  }

  .hero-title span {
    display: block;
  }

  .section-title span {
    display: block;
    margin: 0.25rem 0 0;
  }

  .specialities-panel,
  .sessions-list {
    padding: 2.1rem 1.25rem;
  }

  .specialities-list,
  .field-pair,
  .protocol-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .protocol-grid article,
  .protocol-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .protocol-grid article:last-child {
    border-bottom: 0;
  }

  .sessions-list li {
    grid-template-columns: 2.7rem 1fr;
    gap: 0.85rem;
  }

  .gallery-item,
  .gallery-large,
  .gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 28rem;
  }

  .gallery-wide {
    grid-column: span 1;
  }

  .lightbox {
    padding: 4.4rem 0.8rem 1rem;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 78vh;
  }

  .lightbox-button {
    width: 2.6rem;
    height: 2.6rem;
  }

  .eyebrow,
  .panel-heading {
    letter-spacing: 0.33em;
  }

  footer {
    flex-direction: column;
    padding: 1.4rem 1.15rem;
    letter-spacing: 0.14em;
  }

  .contact-details a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
