@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --jlt-deep: #181818;
  --jlt-surface: #F9F4EF;
  --jlt-vivid: #F76F6D;
  --jlt-muted: #387D7A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--jlt-surface);
  color: var(--jlt-deep);
  margin: 0;
  padding: 0;
  line-height: 1.75;
  font-size: 1.7em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--jlt-deep);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.25;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.3;
}

a {
  color: var(--jlt-vivid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--jlt-muted);
}

/* === NAV: Overlay === */
.jlt-parapet-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--jlt-deep);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jlt-parapet-nav-logo {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--jlt-surface);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  letter-spacing: -0.01em;
}

.jlt-parapet-nav-logo:hover {
  color: var(--jlt-vivid);
}

.jlt-battlement-overlay {
  position: fixed;
  inset: 0;
  background: var(--jlt-vivid);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.jlt-battlement-overlay[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.jlt-battlement-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.jlt-battlement-overlay nav a {
  color: #fff;
  font-size: 1.8rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.jlt-battlement-overlay nav a:hover {
  color: var(--jlt-deep);
}

.jlt-barbican-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
  padding: 0.4rem;
}

.jlt-barbican-close:hover {
  color: var(--jlt-deep);
}

/* === SECTION 1: CTA (aside) === */
.jlt-portcullis-cta {
  background: var(--jlt-vivid);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 5rem;
}

.jlt-portcullis-cta h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.jlt-portcullis-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.jlt-portcullis-cta a {
  display: inline-block;
  background: var(--jlt-deep);
  color: #fff;
  padding: 0.9rem 2.6rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.jlt-portcullis-cta a:hover {
  background: var(--jlt-muted);
  color: #fff;
}

/* === SECTION 2: Features (article) === */
.jlt-drawbridge-features {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.jlt-drawbridge-features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.jlt-parapet {
  margin-bottom: 2.5rem;
  background: #fff;
  border-radius: 4px;
  padding: 2rem 2rem 1rem;
  border-left: 4px solid var(--jlt-vivid);
}

.jlt-parapet h3 {
  margin-bottom: 0.6rem;
}

.jlt-parapet p {
  color: #555;
  margin-bottom: 1rem;
}

.jlt-parapet ul {
  padding-left: 1.2rem;
}

.jlt-parapet ul li {
  margin-bottom: 0.5rem;
  color: #444;
}

/* === SECTION 3: Stats (table) === */
.jlt-battlement-stats {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.jlt-battlement-stats h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.jlt-battlement-stats table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.jlt-battlement-stats caption {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--jlt-muted);
  caption-side: top;
  text-align: left;
}

.jlt-battlement-stats thead {
  background: var(--jlt-deep);
}

.jlt-battlement-stats thead th {
  color: #fff;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: none;
}

.jlt-battlement-stats tbody td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.jlt-battlement-stats tbody tr:last-child td {
  border-bottom: none;
}

.jlt-battlement-stats tbody tr:nth-child(even) {
  background: var(--jlt-surface);
}

/* === SECTION 4: Cities (div role="navigation") === */
.jlt-barbican-cities {
  padding: 3rem 2rem;
  text-align: center;
}

.jlt-barbican-cities h2 {
  margin-bottom: 2rem;
}

.jlt-barbican-cities a {
  display: inline-block;
  background: var(--jlt-deep);
  color: #fff;
  padding: 0.7rem 1.8rem;
  margin: 0.4rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.jlt-barbican-cities a:hover {
  background: var(--jlt-vivid);
  color: #fff;
}

/* === SECTION 5: Blog (div role="feed") === */
.jlt-drawbridge-blog {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.jlt-drawbridge-blog h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.jlt-battlement {
  margin-bottom: 1.5rem;
}

.jlt-barbican {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border-bottom: 3px solid var(--jlt-muted);
}

.jlt-drawbridge {
  padding: 1.8rem 2rem;
}

.jlt-drawbridge h3 {
  margin-bottom: 0.4rem;
}

.jlt-drawbridge h3 a {
  color: var(--jlt-deep);
}

.jlt-drawbridge h3 a:hover {
  color: var(--jlt-vivid);
}

.jlt-drawbridge p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.jlt-drawbridge > a {
  color: var(--jlt-vivid);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* === SECTION 6: Hero (header) === */
.jlt-portcullis-masthead {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--jlt-deep);
  color: var(--jlt-surface);
}

.jlt-portcullis {
  max-width: 800px;
  margin: 0 auto;
}

.jlt-portcullis h1 {
  color: var(--jlt-surface);
  margin-bottom: 1.2rem;
}

.jlt-portcullis > p {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.jlt-portcullis > div {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.jlt-portcullis > div > a {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.jlt-portcullis > div > a:first-child {
  background: var(--jlt-vivid);
  color: #fff;
}

.jlt-portcullis > div > a:first-child:hover {
  background: #e55c5a;
  color: #fff;
}

.jlt-portcullis > div > a:last-child {
  background: transparent;
  color: var(--jlt-surface);
  border: 2px solid var(--jlt-surface);
}

.jlt-portcullis > div > a:last-child:hover {
  border-color: var(--jlt-vivid);
  color: var(--jlt-vivid);
}

/* === Testimonials (blockquote) === */
.jlt-portcullis-testimonials {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.jlt-portcullis-testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.jlt-portcullis-testimonials blockquote {
  background: #fff;
  border-left: 4px solid var(--jlt-vivid);
  padding: 1.5rem 2rem;
  margin: 0 0 2rem 0;
  border-radius: 0 4px 4px 0;
}

.jlt-portcullis-testimonials blockquote p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.8rem;
}

.jlt-portcullis-testimonials blockquote footer {
  font-size: 0.85rem;
  color: var(--jlt-muted);
}

.jlt-portcullis-testimonials blockquote footer cite {
  font-weight: 600;
}

/* === BODY CONTENT === */
.jlt-drawbridge-content {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.85;
}

.jlt-drawbridge-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.jlt-drawbridge-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.jlt-drawbridge-content p {
  margin-bottom: 1.4rem;
}

.jlt-drawbridge-content ul,
.jlt-drawbridge-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
}

.jlt-drawbridge-content ul li,
.jlt-drawbridge-content ol li {
  margin-bottom: 0.5rem;
}

/* === FOOTER === */
.jlt-portcullis-footer {
  background: var(--jlt-deep);
  color: #aaa;
  padding: 3rem 2rem;
  text-align: center;
}

.jlt-portcullis-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  max-width: 600px;
}

.jlt-portcullis-footer ul li {
  margin-bottom: 0.6rem;
}

.jlt-portcullis-footer ul li a {
  color: #ccc;
  font-size: 0.9rem;
}

.jlt-portcullis-footer ul li a:hover {
  color: var(--jlt-vivid);
}

.jlt-portcullis-footer p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

/* === City / Article page header === */
.jlt-battlement-page-head {
  background: var(--jlt-deep);
  padding: 7rem 2rem 3rem;
  text-align: center;
  color: var(--jlt-surface);
}

.jlt-battlement-page-head h1 {
  color: var(--jlt-surface);
  margin-bottom: 0.6rem;
}

.jlt-battlement-page-head p {
  color: #bbb;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .jlt-portcullis-masthead { padding: 5rem 1.2rem 3rem; }
  .jlt-battlement-stats table { font-size: 0.85rem; }
  .jlt-battlement-stats thead th,
  .jlt-battlement-stats tbody td { padding: 0.7rem 0.6rem; }
}
