/* ==========================================================================
   Conference26 — Breakout Sessions
   Palette: band #1F363D · page #F5F5F5 · lime #EBFFC8 · accent #CF6A2C · body #6C6C6C
   ========================================================================== */

@font-face { font-family: "Denton"; src: url("../assets/breakouts/fonts/Denton-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Denton"; src: url("../assets/breakouts/fonts/Denton-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Brother 1816"; src: url("../assets/breakouts/fonts/brother1816-regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Brandon Grotesque"; src: url("../assets/breakouts/fonts/BrandonGrotesque-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

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

html, body { margin: 0; padding: 0; background: #F5F5F5; }

body {
  font-family: "Brother 1816", sans-serif;
  color: #1F363D;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: #1F363D; }
a:hover { color: #CF6A2C; }

/* --- Container -------------------------------------------------------------
   Mobile portrait: fluid, 15px gutters
   Tablet 768–1023: 728px max, 25px gutters
   Desktop 1024+:  1440px max, 50px gutters                                  */
.container { width: 100%; padding: 0 15px; margin: 0 auto; }
@media (min-width: 768px)  { .container { max-width: 728px;  padding: 0 25px; } }
@media (min-width: 1024px) { .container { max-width: 1520px; padding: 0 50px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: #1F363D; width: 100%; overflow: hidden; }

.hero__copy { position: relative; z-index: 2; padding-top: 46px; padding-bottom: 46px; text-align: center; }
.hero__logo { display: block; height: 26px; width: auto; margin: 0 auto 18px auto; }
.hero__title {
  font-family: Denton, Georgia, serif;
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0 0 20px 0;
}
.hero__tagline { font-size: 22px; color: #EBFFC8; margin: 0; }

/* Three imagery panels: water · rock · looping video */
.hero__art { display: flex; width: 100%; height: 295px; }
.hero__art-water { width: 34%; height: 100%; overflow: hidden; position: relative; }
/* the source photo is a rotated shot on white, so it is scaled to crop the corners out */
.hero__art-water img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%;
  transform: scale(2);
  display: block;
}
.hero__art-rock { width: 34%; height: 100%; object-fit: cover; display: block; }
.hero__art-video { width: 32%; height: 100%; object-fit: cover; display: block; }

/* "ReNEW" watermark. translateY is a share of the image's own height, so the
   "enew" baseline stays flush with the hero bottom at every breakpoint
   (the SVG carries ~12.4% empty space below those glyphs). */
.hero__mark {
  position: absolute;
  right: 0; bottom: 0;
  width: 100%; max-width: none;
  transform: translateY(12.4%);
  opacity: 0.9;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero__title { font-size: 60px; }
  .hero__art { height: 320px; }
}

/* Desktop: copy on the left, imagery layered on the right */
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: 470px; }
  .hero__copy { padding-right: 42%; padding-top: 52px; padding-bottom: 52px; text-align: left; }
  .hero__logo { margin-left: 0; margin-right: 0; }
  .hero__title { font-size: 82px; }
  .hero__tagline { font-size: 25px; white-space: nowrap; }
  .hero__art { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; height: auto; }
  .hero__mark { right: -2%; width: 76%; max-width: 1180px; }
}

/* Very wide screens: art panel and watermark stay with the 1520px container */
@media (min-width: 1621px) {
  .hero__art  { width: 642px; right: calc((100% - 1520px) / 2); }
  .hero__mark { right: calc((100% - 1520px) / 2 - 20px); }
}

/* ==========================================================================
   Sticky tab nav
   ========================================================================== */
.tabs {
  position: sticky; top: 0; z-index: 20;
  background: #F5F5F5;
  border-bottom: 1px solid #DEDEDA;
}
.tabs__inner { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; }
.tabs__day {
  font-family: "Brandon Grotesque", sans-serif;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6B7A76;
  display: flex; align-items: center;
  padding: 20px 30px 20px 0;
  white-space: nowrap;
}
.tabs__day-full { display: none; }
@media (min-width: 768px) { .tabs__day-full { display: inline; } }
.tabs__tab {
  appearance: none;
  background: transparent;
  cursor: pointer;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 20px 18px 17px 18px;
  white-space: nowrap;
  font-family: "Brandon Grotesque", sans-serif;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #6B7A76;
}
.tabs__tab:hover { color: #1F363D; }
.tabs__tab.is-active { color: #1F363D; border-bottom-color: #CF6A2C; }

/* ==========================================================================
   Content
   ========================================================================== */
.main { flex: 1 0 auto; padding: 46px 0 80px 0; }

.section-heading {
  font-family: Denton, Georgia, serif;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 30px 0;
  color: #1F363D;
}

/* 1 column mobile · 2 tablet · 3 desktop. Cards align to the row top so an
   open card grows without stretching its neighbours (see app.js equalizeCards). */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; width: 100%; }
@media (min-width: 768px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; } }

/* --- Session card --------------------------------------------------------- */
.card {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(31, 54, 61, 0.06);
}
.card__body {
  display: flex; gap: 18px;
  padding: 22px 22px 24px 22px;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 150px;
}
.card__shots { display: flex; gap: 4px; flex: 0 0 auto; }
.card__shots img { display: block; width: 100px; height: 100px; object-fit: cover; border-radius: 5px; }
.card__text { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }
.card__room {
  font-family: "Brandon Grotesque", sans-serif;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1F363D; background: #EBFFC8;
  padding: 4px 9px 3px 9px;
}
.card__title {
  font-family: Denton, Georgia, serif;
  font-weight: 300; font-size: 20px; line-height: 1.28;
  color: #1F363D; margin: 0;
  text-wrap: pretty;
}
.card__speaker { font-size: 17px; line-height: 1.4; color: #6C6C6C; margin: 0; }
.card__company { font-style: italic; font-size: 14.5px; line-height: 1.4; color: #6C6C6C; margin: -4px 0 0 0; }

.card__toggle {
  appearance: none;
  border: 0; border-top: 1px solid #E6E6E4;
  background: transparent;
  cursor: pointer;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px;
  font-family: "Brandon Grotesque", sans-serif;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #1F363D; text-align: left;
}
.card__toggle:hover { background: #FAFAF8; }
.card__chevron { flex: 0 0 auto; transition: transform 180ms ease; }
.card__toggle[aria-expanded="true"] .card__chevron { transform: rotate(180deg); }

.card__details {
  overflow: hidden;
  height: 0;
  transition: height 260ms ease;
}
.card__details-inner {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0 22px;
}
.card__toggle[aria-expanded="true"] + .card__details .card__details-inner {
  padding: 4px 22px 26px 22px;
}
.card__description { font-family: "Brother 1816", system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.62; color: #6C6C6C; margin: 0; text-wrap: pretty; }
.card__description p { margin: 0; }
.card__logo { display: block; height: 32px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.card__logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.card__logos .card__logo { max-width: 100px; }
.card__bio {
  margin: 0;
  border-left: 2px solid #CF6A2C;
  padding: 0 0 0 18px;
  font-family: "Brother 1816", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.62; color: #6C6C6C;
  text-wrap: pretty;
}
.card__bio p { margin: 0; }
.card__bio p + p { margin-top: 0.7em; }

/* --- Map panel ----------------------------------------------------------- */
.map { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 20px; }
.map__title {
  font-family: Denton, Georgia, serif;
  font-weight: 300; font-size: 34px; line-height: 1.2;
  margin: 0; text-align: center; color: #1F363D;
}
.map__rule { display: block; width: 180px; height: 1px; background: #1F363D; opacity: 0.5; }
.map__image { display: block; width: 100%; max-width: 760px; height: auto; margin-top: 12px; }

.is-hidden { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #1F363D; width: 100%; padding: 44px 0 40px 0; }
.footer__inner { display: flex; flex-direction: column; gap: 26px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__logo { display: block; height: 26px; width: auto; }
.footer__social { display: flex; align-items: center; gap: 26px; }
.footer__social a { display: flex; opacity: 0.9; }
.footer__social a:hover { opacity: 1; }
.footer__social img { display: block; height: 19px; width: auto; }
.footer__social img.is-small { height: 17px; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 13px; color: #D6DEDE; }
.footer__legal a { color: #D6DEDE; text-decoration: none; }
.footer__legal a:hover { color: #EBFFC8; }
