/* Northerly Lighthouse Media — simple, responsive CSS */
:root {
  --bg: #02080b;
  --panel: #101b2b;
  --line: #2b3b4b;
  --text: #f5f8fc;
  --muted: #7bb4ec;
  --accent: #55baec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  max-width: 1180px;
  padding: 24px 20px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: bold; font-size: 15px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--accent); color: var(--accent); font-family: Georgia, serif; font-size: 23px; }
.brand-muted { color: var(--accent); }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
nav a:hover, .site-footer a:hover { color: var(--accent); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 50px; min-height: 590px; padding-block: 70px; }
.eyebrow { font-size: 11px; font-weight: bold; letter-spacing: 0.18em; color: var(--accent); margin: 0 0 16px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4.5vw, 60px); font-weight: normal; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 22px; }
.intro { color: var(--muted); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.button { display: inline-flex; align-items: center; gap: 20px; background: var(--accent); color: #091625; text-decoration: none; font-weight: bold; font-size: 14px; border-radius: 4px; padding: 13px 20px; }
.button:hover { background: white; }
.hero-art { display: grid; place-items: center; padding: 18px; background: radial-gradient(circle, #243a50 0, #111f30 40%, transparent 72%); }
.hero-art img { display: block; width: min(100%, 420px); height: auto; }

.section { padding-block: 65px; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3vw, 42px); font-weight: normal; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; min-height: 270px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.card-number { color: var(--accent); letter-spacing: .13em; font-size: 10px; font-weight: bold; margin-bottom: 28px; }
.card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.card p:not(.card-number) { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.card a { color: var(--accent); font-size: 14px; text-decoration: none; margin-top: auto; }
.card a:hover { text-decoration: underline; }

.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; border-top: 1px solid var(--line); }
.about p:last-child { max-width: 570px; color: var(--muted); }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px; background: #162638; border: 1px solid #314b65; border-radius: 8px; }
.contact-box h2 { margin-bottom: 8px; }
.contact-box p:last-child { margin: 0; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-block: 28px 38px; font-size: 12px; color: var(--muted); }
.site-footer a { text-decoration: none; }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 15px; padding-block: 54px 35px; min-height: auto; }
  .hero-art { max-width: 440px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 225px; }
  .about { grid-template-columns: 1fr; gap: 0; }
  .section { padding-block: 48px; }
  .contact-box { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; }
}
