/* Masters of Real Estate Conference: themastersofre.com
   Brand from the original site: navy, Vegas-sign red, sky blue, highlighter yellow;
   Titillium Web with Yellowtail script accents. Light/dark per the project standard. */
:root {
  --ink: #1c2147;
  --muted: #4a5072;
  --bg: #fbf8f1;
  --bg-alt: #f2eee4;
  --card: #ffffff;
  --line: #e2dccd;
  --navy: #1b2566;
  --navy-2: #0f1747;
  --red: #c4302d;
  --red-ink: #ffffff;
  --link: #b02a27;
  --blue: #00a0d5;
  --blue-ink: #006f96;
  --yellow: #ffd23f;
  --focus: #00a0d5;
  --foot: #141c52;
  --shadow: 0 10px 30px rgba(20, 28, 82, .10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef0fa;
    --muted: #b9bedb;
    --bg: #0e1330;
    --bg-alt: #141a3d;
    --card: #1a2149;
    --line: #2c3466;
    --link: #ff8f8a;
    --blue-ink: #5fd0f5;
    --foot: #080c24;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef0fa;
  --muted: #b9bedb;
  --bg: #0e1330;
  --bg-alt: #141a3d;
  --card: #1a2149;
  --line: #2c3466;
  --link: #ff8f8a;
  --blue-ink: #5fd0f5;
  --foot: #080c24;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.big { font-size: 1.2rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--card); color: var(--ink); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; text-decoration: none; border-radius: 6px;
  padding: .7rem 1.3rem; border: 2px solid transparent; line-height: 1.2; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost { color: var(--ink); border-color: currentColor; }
.btn-sm { padding: .45rem .9rem; font-size: .95rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.1rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy-2); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.brand { color: #fff; text-decoration: none; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; font-size: 1.05rem; white-space: nowrap; }
.brand .o { font-family: Yellowtail, cursive; text-transform: none; color: var(--blue); font-weight: 400; font-size: 1.3em; letter-spacing: 0; }
.brand .r { color: #ff7b76; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.theme-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px;
  width: 38px; height: 38px; display: inline-grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-btn[hidden] { display: none; }
.theme-btn .i-sun { display: none; }
.theme-btn[aria-pressed="true"] .i-sun { display: block; }
.theme-btn[aria-pressed="true"] .i-moon { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .theme-btn { margin-left: auto; }
}
@media (max-width: 400px) { .brand { font-size: .9rem; } }

/* Las Vegas skyline: a mask filled with the color of whatever comes next */
.sky {
  height: clamp(60px, 11vw, 150px);
  -webkit-mask: url(/img/skyline.svg) center bottom / 100% 100% no-repeat;
  mask: url(/img/skyline.svg) center bottom / 100% 100% no-repeat;
}

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background:
    linear-gradient(180deg, rgba(15,23,71,.82) 0%, rgba(27,37,102,.70) 55%, rgba(15,23,71,.88) 100%),
    url(/img/hero.webp) center 35% / cover no-repeat;
}
.hero-in { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; }
.hero h1 { margin: 0 auto 1.25rem; width: min(380px, 80%); }
.hero h1 img { width: 100%; filter: drop-shadow(0 8px 22px rgba(0,0,0,.35)); }
.lede { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 700; line-height: 1.25; margin: 0 0 1.25rem; }
.lede span { display: inline-block; background: rgba(0,120,165,.92); padding: .1em .45em; margin: .12em 0; border-radius: 3px; }
.when {
  display: inline-block; margin: 0 0 1.75rem; padding: .4rem 1.1rem; font-size: 1.15rem;
  background: var(--yellow); color: #1b1d3a; transform: rotate(-1.5deg); border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.when strong { font-weight: 700; }
.hero .sky { background: var(--bg); position: relative; margin-top: 1.5rem; }

/* Section titles */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.hero { padding: 0; }
.title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--ink); }
.title span { display: block; font-size: .62em; font-weight: 700; color: var(--blue-ink); }
.script-h { font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center; font-weight: 900; }
.script-h span { font-family: Yellowtail, cursive; font-weight: 400; color: var(--link); font-size: 1.15em; margin-right: .1em; }
.sub { text-align: center; font-size: 1.5rem; margin: 3rem 0 1.5rem; }

/* Intro + stats */
.intro { padding-top: 1rem; }
.intro .big { max-width: 46rem; margin: 0 auto 2.5rem; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stats li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1rem; text-align: center; box-shadow: var(--shadow); }
.stats .n { display: block; font-size: 3rem; font-weight: 900; line-height: 1; color: var(--link); }
.stats strong { display: block; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; margin: .4rem 0 .2rem; }
.stats li > span:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* You'll learn */
.learn { background: var(--bg-alt); }
.learn-card { background: var(--card); border-radius: 16px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem 1.5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.checks .ic { flex: none; color: var(--red); margin-top: .15em; }
:root[data-theme="dark"] .checks .ic { color: #ff7b76; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checks .ic { color: #ff7b76; } }
.more { text-align: center; font-family: Yellowtail, cursive; font-size: 1.8rem; color: var(--blue-ink); margin: 1.5rem 0 0; }
@media (max-width: 860px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* Speakers */
.speakers .muted { max-width: 44rem; margin: 0 auto 2.5rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.speaker { display: flex; gap: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); }
.speaker img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--blue); }
.speaker h3 { font-size: 1.4rem; margin: .2rem 0 .3rem; }
.speaker .site { display: inline-block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.speaker .tag { display: inline-block; background: var(--yellow); color: #1b1d3a; font-weight: 700; font-size: .8rem; padding: .1rem .5rem; border-radius: 3px; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .05em; }
.speaker p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .speaker { flex-direction: column; align-items: center; text-align: center; } }

/* Schedule */
.schedule {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,23,71,.92), rgba(27,37,102,.9)),
    url(/img/room.webp) center / cover no-repeat;
}
.title.on-dark { color: #fff; }
.schedule .note { color: #d9ddf5; margin: -.25rem 0 2rem; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.day { background: var(--card); color: var(--ink); border-radius: 12px; padding: 1.4rem 1.5rem; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.day h3 { font-size: 1.35rem; color: var(--ink); border-bottom: 3px solid var(--red); padding-bottom: .5rem; }
.day h3 span { color: var(--link); }
.day dl { margin: 0; }
.day dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.day dl div:last-child { border-bottom: 0; }
.day dt { font-weight: 600; }
.day dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* Quotes */
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.quote { margin: 0; background: var(--card); border-radius: 14px; padding: 1.6rem; box-shadow: var(--shadow); border-left: 6px solid var(--red); }
.quote:nth-child(2) { border-left-color: var(--blue); }
.quote .q { color: var(--blue-ink); margin-bottom: .6rem; }
.quote blockquote { margin: 0; font-size: 1.15rem; }
.quote blockquote p { margin: 0 0 .75rem; }
.quote figcaption { font-weight: 700; }
@media (max-width: 860px) { .quote-row { grid-template-columns: 1fr; } }

/* Different */
.diff { background: var(--bg-alt); }
.diff-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.diff img { border-radius: 14px; box-shadow: var(--shadow); }
.diff h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; }
.diff .checks { grid-template-columns: 1fr; font-size: 1.1rem; }
@media (max-width: 860px) { .diff-in { grid-template-columns: 1fr; } }

/* Register */
.register { text-align: center; }
.register .big { margin: 0 auto 1rem; }
.register .price { font-size: 1.3rem; font-weight: 700; }
.register .ctas { margin-top: 1.75rem; }
.hotel { color: var(--muted); }

/* Footer */
footer { background: var(--foot); color: #dfe3f7; }
.foot-sky { background: var(--foot); margin-top: 1rem; }
footer .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 1rem 0 2rem; }
footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: .35rem 0; }
footer a { color: #dfe3f7; }
footer a:hover { color: #fff; }
footer .logo { width: 210px; }
footer .fine { border-top: 1px solid rgba(255,255,255,.15); margin: 0; padding: 1.25rem 0 2rem; font-size: .9rem; color: #c3c8e6; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }

/* Small-screen and layout touches */
.btn-sm { white-space: nowrap; }
.grid2 > .speaker:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .75rem); justify-self: center; }
@media (max-width: 860px) { .grid2 > .speaker:last-child:nth-child(odd) { width: auto; justify-self: stretch; } }
@media (max-width: 560px) {
  .when span[aria-hidden] { display: none; }
  .when strong { display: block; }
  .top .wrap { gap: .6rem; }
  .btn-sm { padding: .4rem .7rem; font-size: .88rem; }
  .brand { font-size: .92rem; }
}
