/* ==========================================================
   Bar Brutal Goes to the Mountains — Rooms Kazbegi Edition
   Desktop reference: 1920px · Mobile reference: 375px
   ========================================================== */

@font-face {
  font-family: "Monument Grotesk";
  src: url("../fonts/ABCMonumentGrotesk-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Monument Grotesk";
  src: url("../fonts/ABCMonumentGrotesk-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Monument Grotesk Mono";
  src: url("../fonts/ABCMonumentGroteskMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Monument Grotesk Mono";
  src: url("../fonts/ABCMonumentGroteskMono-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Separat";
  src: url("../fonts/Separat-Regular.woff2") format("woff2"),
    url("../fonts/Separat-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --cream: #f7f4ee;
  --text: #111;

  --font-head: "Separat", sans-serif;
  --font-body: "Monument Grotesk", sans-serif;
  --font-mono: "Monument Grotesk Mono", monospace;

  --header-h: 82px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2 {
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  transition: background .2s, color .2s;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.btn--black {
  background: var(--black);
  color: var(--white);
}

.btn--black:hover {
  background: var(--white);
  color: var(--black);
}

.btn--outline {
  background: var(--white);
  color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--black);
  color: var(--white);
}

.btn--sm {
  width: 77px;
  height: 39px;
  font-size: 11px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  display: block;
  height: 38px;
  width: auto;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 756;
  object-fit: cover;
}

/* ---------- Main layout ---------- */
.main {
  display: grid;
  grid-template-columns: 50% 50%;
  padding-top: 68px;
}

/* Left — sticky intro */
.intro {
  padding: 0 52px 0 var(--gutter);
}

.intro__inner {
  position: sticky;
  top: calc(var(--header-h) + 68px);
  min-height: calc(100vh - var(--header-h) - 68px - 8px);
  display: flex;
  flex-direction: column;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.intro__title {
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 62px;
  line-height: 64px;
  text-transform: uppercase;
}

.intro__text {
  margin-top: 56px;
  max-width: 880px;
  font-size: 16px;
  line-height: 20px;
}

.intro__text p+p {
  margin-top: 17px;
}

.intro__actions {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  gap: 18px;
}

.intro__actions .btn {
  width: 144px;
  height: 41px;
}

/* Right — cards */
.cards {
  padding-right: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card {
  border-left: 1px solid var(--black);
  padding-left: 29px;
  display: grid;
  /* image grows from 376px at 1280px viewport to 597px at 1700px+ */
  grid-template-columns: minmax(0, 1fr) clamp(376px, calc(49.7vw - 299px), 597px);
  column-gap: 37px;
  align-items: start;
}

.card__name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 120%;
  text-transform: uppercase;
  margin-top: 4px;
}

.card__img {
  width: 100%;
  max-width: 597px;
  height: auto;
  object-fit: cover;
}

.card__img--tall {
  aspect-ratio: 1.18/1;
}

.card__text {
  margin-top: 25px;
  font-size: 16px;
  line-height: 20px;
  text-transform: capitalize;
}

.card__text p+p {
  margin-top: 10px;
}

.card:last-child .card__text:empty {
  display: none;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 95px var(--gutter) 22px;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.footer__nav a:hover {
  text-decoration: underline;
}

/* ---------- Agenda modal ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html.is-locked {
  overflow: hidden;
}

.agenda {
  width: min(685px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--text);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.agenda::backdrop {
  background: rgba(0, 0, 0, .6);
}

.agenda[open] {
  animation: agenda-in .25s ease-out;
}

@keyframes agenda-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.agenda__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -52px 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.agenda__close:hover {
  background: var(--black);
  color: var(--white);
}

.agenda__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.agenda__banner {
  width: 100%;
  height: auto;
}

.agenda__body {
  padding: 22px 6px 40px 36px;
}

.agenda__day {
  margin: 20px 0 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  text-transform: uppercase;
}

.agenda__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda__row {
  display: grid;
  grid-template-columns: 168px 1fr;
  column-gap: 0;
  padding: 26px 0 22px;
  border-bottom: 1px solid #dcdcdc;
}

.agenda__list:last-child .agenda__row:last-child {
  border-bottom: 0;
}

.agenda__time {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  line-height: 26px;
}

.agenda__info {
  font-size: 15px;
  line-height: 26px;
}

/* ==========================================================
   Tablet / small desktop
   ========================================================== */
@media (max-width: 1280px) and (min-width: 768px) {
  .intro__title {
    font-size: 48px;
    font-size: 48px;
    line-height: 56px;
  }

  .card {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

/* ==========================================================
   Mobile
   ========================================================== */
@media (max-width: 767px) {
  .agenda {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
  }

  .agenda__body {
    padding: 8px var(--gutter) 32px;
  }

  .agenda__day {
    font-size: 24px;
  }

  .agenda__row {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 18px 0 16px;
  }

  .agenda__time {
    font-size: 13px;
    line-height: 20px;
  }

  .agenda__info {
    font-size: 14px;
    line-height: 22px;
  }

  :root {
    --header-h: 50px;
    --gutter: 20px;
  }

  .header {
    padding: 0 20px 0 15px;
  }

  .logo__img {
    height: 25px;
  }

  .btn--sm {
    width: 58px;
    height: 26px;
    font-size: 9px;
  }

  .hero__img {
    aspect-ratio: 375 / 466;
  }

  .main {
    display: block;
    padding-top: 28px;
  }

  .intro {
    padding: 0 var(--gutter);
  }

  .intro__inner {
    position: static;
    min-height: 0;
  }

  .br-desktop {
    display: none;
  }

  .eyebrow {
    font-size: 13px;
  }

  .intro__title {
    margin-top: 4px;
    font-size: 31px;
    line-height: 1.12;
  }

  .intro__text {
    margin-top: 32px;
    font-size: 16px;
    line-height: 24px;
  }

  .intro__text p+p {
    margin-top: 24px;
  }

  .intro__actions {
    padding: 0;
    margin-top: 33px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }

  .intro__actions .btn {
    width: 100%;
    height: 40px;
    font-size: 11px;
  }

  .intro__actions .btn--outline {
    order: -1;
  }

  /* Cards → horizontal carousel */
  .cards {
    flex-direction: row;
    gap: 18px;
    margin-top: 96px;
    padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 calc(100% - 52px);
    display: block;
    border: 0;
    padding: 0;
    scroll-snap-align: start;
  }

  .card__name {
    font-size: clamp(20px, 6.1vw, 28px);
    margin: 0 0 24px;
    white-space: nowrap;
  }

  .card__img--wide {
    aspect-ratio: 306 / 228;
  }

  .card__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
  }

  .card__text p+p {
    margin-top: 10px;
  }

  .footer {
    padding: 64px var(--gutter) 22px;
    font-size: 8px;
  }

  .footer__copy {
    display: none;
  }
}