/* areaways.sublapse.com: the Survey Division field guide. Staff only.
   Dark and plain, so the photographs carry it. Cool fluorescent green-white, like the bulkhead lights below.
   No effects. */

:root {
  --bg: #0c0d0c;
  --panel: #141614;
  --text: #c9cdc6;
  --bright: #eef1eb;
  --grey: #7f857d;
  --rule: #262a26;
  --accent: #9cc4ad;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.7; }
.wrap { width: 920px; max-width: 100%; margin: 0 auto; padding: 0 24px; }
a { color: var(--bright); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
#top { border-bottom: 1px solid var(--rule); }
#top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; }
.brand .w { font-family: "Arial Black", Arial, sans-serif; color: var(--bright); font-size: 19px; letter-spacing: 3px; text-transform: uppercase; }
.brand .s { color: var(--grey); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; border-left: 1px solid var(--rule); padding-left: 12px; }
.restrict { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px; }

#nav { border-bottom: 1px solid var(--rule); background: var(--panel); }
#nav .wrap { display: flex; flex-wrap: wrap; }
#nav a { padding: 12px 12px 10px; font-size: 12px; font-weight: bold; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--text); border-bottom: 2px solid transparent; }
#nav a:hover { color: var(--bright); }
#nav a.on { color: var(--bright); border-bottom-color: var(--accent); }

/* Home: the corridor, full width */
#hero { position: relative; border-bottom: 1px solid var(--rule); }
#hero img { display: block; width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; }
#hero .wrap { position: absolute; left: 0; right: 0; bottom: 36px; }
#hero .cap { background: rgba(12, 13, 12, 0.82); border-left: 3px solid var(--accent); padding: 16px 22px; display: inline-block; }
#hero h1 { margin: 0; font-size: 40px; }
#hero p { margin: 4px 0 0; color: var(--text); }

/* Text */
main { padding-top: 36px; padding-bottom: 64px; }
h1 { font-size: 34px; line-height: 1.15; color: var(--bright); margin: 0 0 18px; letter-spacing: .5px; }
h2 { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--bright); margin: 44px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 15px; color: var(--bright); margin: 22px 0 6px; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 5px 0; }
b { color: var(--bright); }
blockquote { margin: 22px 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--panel); color: var(--bright); }

/* Plates */
.fig { margin: 22px 0 30px; }
.fig img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.fig figcaption, .plates figcaption { font-family: var(--mono); font-size: 12px; line-height: 1.55; color: var(--grey); margin-top: 8px; }
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; margin-top: 20px; }
.plates figure { margin: 0; }
.plates img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }

/* Section cards on the overview */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--rule); }
.card:hover { border-color: var(--accent); }
.card img, .card .noimg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1b1e1b; }
.card .ct { display: block; padding: 9px 12px; font-size: 12px; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bright); }

/* Footer */
#foot { border-top: 1px solid var(--rule); color: var(--grey); font-size: 12px; }
#foot .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; }
#foot a { color: var(--text); }
.motto { font-family: var(--mono); letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .brand .s, .restrict { display: none; }
  #hero h1 { font-size: 28px; }
  .plates { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  #foot .wrap { flex-direction: column; }
}
