*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #203354;
  --gold: #CCB89B;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* Hero */

.hero {
  text-align: center;
}

.emblem {
  width: 240px;
  height: 240px;
  opacity: 0.9;
}

/* Dividers */

.rule {
  border: none;
  border-top: 1px solid var(--gold);
  margin: 48px 0;
  opacity: 0.4;
}

/* Publication sections */

.pub-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pub-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.pub-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.pub-description p {
  margin-bottom: 16px;
}

.pub-description p:last-child {
  margin-bottom: 0;
}

.pub-description cite {
  font-style: italic;
}

.pub-description .kicker {
  margin-top: 28px;
  color: var(--white);
}

/* Featured publication layout */

.pub-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pub-cover {
  flex-shrink: 0;
}

.pub-cover img {
  width: 220px;
  height: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Format row */

.format-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.format {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 12px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.format:hover {
  background: var(--gold);
}

.format-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s ease;
}

.format-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-top: 4px;
  transition: color 0.2s ease;
}

.format:hover .format-name,
.format:hover .format-price {
  color: var(--navy);
}

/* Buttons */

.pub-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.pub-actions .btn {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-primary {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

.coming-soon {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Services */

.services {
  max-width: 530px;
  margin: 0 auto;
}

.services .pub-title {
  margin-bottom: 20px;
}

.services .pub-description {
  margin-bottom: 24px;
}

.contact-email {
  margin-top: 20px;
}

.contact-email a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.contact-email a:hover {
  color: var(--white);
}

/* Footer */

footer p {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Responsive */

@media (max-width: 640px) {
  main {
    padding: 48px 20px;
  }

  .emblem {
    width: 180px;
    height: 180px;
  }

  .pub-layout {
    flex-direction: column;
    align-items: center;
  }

  .pub-cover img {
    width: 180px;
    margin-bottom: 8px;
  }

  .pub-content {
    text-align: center;
  }

  .pub-title {
    font-size: 1.6rem;
  }

  .format-row {
    justify-content: center;
  }

  .format {
    min-width: 0;
  }

  .pub-actions {
    text-align: center;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
    display: inline-block;
  }
}
