/* Starlight Photonics site styles. Colors from the logo; headings in Handel Gothic (Kevin owns the rights). */
@font-face {
  font-family: 'Handel Gothic';
  src: url(/fonts/handel-gothic.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12262A;
  --muted: #3B5155;
  --teal: #3A7C80;
  --accent: #2F6E72;
  --link: #24575A;
  --sky: #8FC7F2;
  --line: #D5E0E1;
  --ground: #F4F7F7;
  --chip: #EEF4F4;
  --display: 'Handel Gothic', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
a { color: var(--link); }
a:hover { color: var(--ink); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.15; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.logo { display: block; flex: 1 1 340px; max-width: 600px; min-width: 0; }
.logo img { display: block; width: 100%; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 12px 14px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 14px 22px; border-radius: 6px; font-weight: 600; font-size: 16px; line-height: 1.2; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--link); color: #fff; }
.btn-ghost { border: 1px solid #5E8E91; color: #fff; padding: 13px 21px; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav .btn { padding: 12px 18px; font-size: 15px; }

/* Dark hero band */
.hero { background: var(--ink); color: #fff; }
.hero .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
.hero p { margin: 0; font-size: 19px; line-height: 1.55; color: #C9D8DA; max-width: 34em; }
.hero a:not(.btn) { color: var(--sky); }
.hero-art { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 320px; height: auto; display: block; }
.hero.compact .wrap { padding-top: 64px; padding-bottom: 68px; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero.compact h1 { font-size: clamp(32px, 4.5vw, 48px); }
.hero.compact p { font-size: 18px; max-width: 40em; }
.hero.compact p.small { font-size: 16px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Sections and cards */
.section { padding-top: 64px; padding-bottom: 16px; }
.section h2 { font-size: 30px; margin-bottom: 24px; }
.section .lead { margin: -16px 0 24px; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-sm { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split-side h2 { font-size: 32px; margin: 0; }
.split-side p { margin: 0; color: var(--muted); }
.split-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 14px; }
.chips li { padding: 7px 11px; background: var(--chip); border: 1px solid var(--line); border-radius: 5px; line-height: 1.3; }

.link-card { display: flex; flex-direction: column; gap: 12px; }
.link-card h3 { font-size: 22px; }
.link-card p { margin: 0; color: var(--muted); }
.link-card a { font-weight: 600; padding: 10px 0; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 36px; padding: 36px; }
.contact-intro { flex: 1 1 260px; min-width: 0; }
.contact-intro h2 { font-size: 32px; margin-bottom: 10px; }
.contact-intro p { margin: 0; color: var(--muted); }
.contact dl { flex: 2 1 420px; min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px 32px; overflow-wrap: anywhere; }
.contact dt { margin-bottom: 4px; }
.contact dd { margin: 0; line-height: 1.5; }

/* SVSS listings */
.listing { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.listing h3 { font-size: 22px; line-height: 1.2; margin-top: 4px; }
.listing h3 a { text-decoration: none; }
.facts { margin: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 12px; font-size: 15px; line-height: 1.5; }
.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }
.listing p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.store { flex-direction: row; align-items: flex-start; gap: 18px; }
.store > img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; flex: none; background: var(--chip); }
.store > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.store h3 { font-size: 21px; margin: 0; }
.phone { font-family: var(--mono); font-size: 14px; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; line-height: 1.3; }
.badge-open { background: #E3F1E4; color: #1E5B26; }
.badge-online { background: #E4EEF8; color: #1D4E80; }
.gone { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.gone img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; filter: grayscale(1); margin-bottom: 4px; }
.gone .name { font-family: var(--display); font-size: 18px; line-height: 1.2; }
.gone .place { font-size: 14px; color: var(--muted); }
.gone .when { font-family: var(--mono); font-size: 13px; }
.sources { margin: 0; padding-left: 20px; line-height: 2; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: #fff; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

@media (max-width: 600px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero-art img { max-width: 220px; }
  .contact { padding: 24px; }
}
