/* Alpine Summit Analytics - version 2: editorial / topographic.
   Edit the variables below to change the look. */
:root {
  --paper: #f6f1e8;         /* warm paper */
  --ink: #1c2321;           /* deep green-black */
  --muted: #5d625e;
  --rule: #d9d1c2;          /* hairlines */
  --accent: #b5532f;        /* terracotta */
  --ochre: #d9a441;         /* highlight on dark panels */
  --panel: #16241f;         /* dark forest panel */
  --panel-text: #ece6d8;
  --max-width: 1040px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--accent); }

.site-header,
main > section,
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}
.mark { width: 3.2rem; height: auto; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.asa {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  /* gradient text, top to bottom: orange, coral, pink, navy */
  color: #d0505a;
  background: linear-gradient(to top, #1b2a5c 0%, #b83a6b 38%, #dc5a4a 68%, #f09a3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fullname {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav a:hover { color: var(--accent); }

/* Shared type */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }

/* Hero: headline over faded real contour lines of Denali */
main > .hero {
  position: relative;
  max-width: none;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
main > .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/denali-contours.svg") center 40% / cover no-repeat;
  opacity: 0.5;
  /* soft oval "clearing" behind the headline; map stays visible above, below and to the right */
  -webkit-mask-image: radial-gradient(ellipse 42% 50% at 30% 50%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.06) 45%, #000 100%);
  mask-image: radial-gradient(ellipse 42% 50% at 30% 50%, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.06) 45%, #000 100%);
}
.hero-text {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 6.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}
.hero h1 em { color: var(--accent); }
.subhead { font-size: 1.15rem; color: var(--muted); margin: 0 0 2rem; max-width: 32rem; }
.hero-links { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.button:hover { background: var(--accent); }
.button.on-dark { background: var(--ochre); color: var(--panel); }
.button.on-dark:hover { background: var(--panel-text); }
.text-link { color: var(--ink); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.text-link:hover { color: var(--accent); }

/* Sections */
main > section:not(.hero) { padding-top: 4.5rem; padding-bottom: 1rem; }
.section-head { margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}

/* Services: numbered editorial list */
.services { list-style: none; margin: 0; padding: 0; }
.services li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.num { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); font-style: italic; }
.services h3 { font-size: 1.45rem; margin: 0 0 0.4rem; }
.services p { margin: 0; color: var(--muted); max-width: 44rem; }

/* Featured work: dark panel */
.feature {
  background: var(--panel);
  color: var(--panel-text);
  padding: 2.5rem clamp(1.5rem, 4vw, 3.25rem) 3rem;
}
.feature .eyebrow { color: var(--ochre); }
.feature h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 1rem; color: #fff; }
.feature p { max-width: 46rem; color: #d3cdbd; }
.feature .button { margin-top: 1rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.lede { font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; margin: 0; }
.about p { margin-top: 0; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Contact */
.contact-name { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 0.25rem; }
.email { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.9rem); }
.social { font-family: var(--serif); font-size: 1.2rem; }

/* Footer */
.site-footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer p { margin: 0.2rem 0; }
