/* ---- Font faces ---- */

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Beautique Display";
  src: url("assets/BeautiqueDisplay-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Reset & variables ---- */

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

:root {
  --color-bg: #F8FAF7;
  --color-text: #1a1a1a;
  --color-muted: #6D6D6D;
  --color-gold: #C69F68;
  --color-gold-light: rgba(198, 159, 104, 0.1);
  --color-border: #e0ddd8;
  --color-card-bg: #ffffff;
  --font-display: "Beautique Display", Georgia, serif;
  --font-body: Georgia, "Times New Roman", serif;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Navigation ---- */

nav {
  background: #ffffff;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  max-width: 960px;
  margin: 0 auto;
}

nav a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--color-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-gold);
}

nav a.active {
  color: var(--color-text);
  border-bottom: 2px solid var(--color-gold);
}

/* ---- Main content ---- */

main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  width: 100%;
}

/* ---- Hero (homepage) ---- */

.hero {
  text-align: center;
  padding: 3.5rem 0 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.hero .date-location {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

/* ---- Section headings ---- */

h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-gold);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-gold);
}

p {
  margin-bottom: 1rem;
}

/* ---- Info cards (homepage) ---- */

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: 2px;
  padding: 1.5rem;
}

.info-card h3 {
  margin-top: 0;
  color: var(--color-text);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ---- Agenda ---- */

.day-header {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  padding: 0.7rem 1.2rem;
  background: var(--color-text);
  color: #fff;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.agenda-block {
  margin-bottom: 2rem;
}

.agenda-break {
  padding: 0.6rem 1.2rem;
  background: var(--color-gold-light);
  border-left: 3px solid var(--color-gold);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 1.2rem 0;
}

.agenda-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-gold);
  white-space: nowrap;
}

.agenda-detail .talk-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.agenda-detail .talk-speaker {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.agenda-detail .talk-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
}

/* ---- Getting Here ---- */

.directions-section {
  margin-bottom: 2rem;
}

.directions-section p,
.directions-section li {
  font-size: 0.97rem;
}

.directions-section ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.directions-section li {
  margin-bottom: 0.35rem;
}

.map-embed {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.address-box {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: 2px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ---- Footer ---- */

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
  html { font-size: 16px; }
  nav ul { gap: 0; }
  nav a { padding: 0.75rem 0.8rem; font-size: 0.8rem; }
  .hero h1 { font-size: 2.2rem; }
  main { padding: 2rem 1.25rem 3rem; }
  .agenda-item { grid-template-columns: 4.5rem 1fr; gap: 0.75rem; }
}
