:root {
  --font-display: "Marcellus", Georgia, serif;
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --cream: #f5efe6;
  --ink: #1a1613;
  --text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 0, 0, 0.25);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

.brand {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 1.35rem 1rem 0;
  pointer-events: none;
}

.brand__name {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-shadow: var(--text-shadow);
}

.brand__sbai {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
}

.brand__collection {
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.8vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  text-transform: uppercase;
  opacity: 0.95;
}

.split {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
}

.panel {
  position: relative;
  flex: 1 1 50%;
  min-height: 50dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
}

.panel__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel:hover .panel__media,
.panel:focus-visible .panel__media {
  transform: scale(1.06);
}

.panel__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(26, 22, 19, 0.72) 0%,
    rgba(26, 22, 19, 0.28) 42%,
    rgba(26, 22, 19, 0.18) 100%
  );
  pointer-events: none;
}

.panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 2.5rem;
  max-width: 30rem;
}

.panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.6vw, 2.65rem);
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: var(--text-shadow);
}

.panel__subtitle {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.4;
  color: rgba(245, 239, 230, 0.94);
  text-shadow: var(--text-shadow);
}

.panel__cta {
  margin-top: 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.98);
  border-bottom: 1px solid rgba(245, 239, 230, 0.55);
  padding-bottom: 0.15rem;
  text-shadow: var(--text-shadow);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.panel:hover .panel__cta,
.panel:focus-visible .panel__cta {
  opacity: 0.85;
  transform: translateX(2px);
}

.panel:focus-visible {
  outline: 2px solid rgba(245, 239, 230, 0.7);
  outline-offset: -4px;
}

@media (min-width: 900px) {
  .brand {
    padding-top: 1.75rem;
  }

  .brand__sbai {
    font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  }

  .brand__collection {
    font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  }

  .split {
    flex-direction: row;
  }

  .panel {
    flex: 1 1 50%;
    min-height: 100dvh;
    min-height: 100svh;
  }

  .panel__copy {
    padding: 5rem 2rem 2rem;
    max-width: 34rem;
  }

  .panel__title {
    font-size: clamp(2.1rem, 2.7vw, 3rem);
  }

  .panel__subtitle {
    margin-top: 1.05rem;
    font-size: clamp(1.25rem, 1.5vw, 1.55rem);
  }

  .panel__cta {
    margin-top: 1.5rem;
    font-size: 0.84rem;
  }
}
