/* Asplin Solutions — one-pager
   Primary CTAs: navy #26386B
   Accent only: mustard #EDB641
*/

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #3d3d3d;
  --border: #e4e2da;
  --accent: #edb641;
  --navy: #26386b;
  --navy-hover: #1d2c54;
  --max: 45rem; /* ~720px content column */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap,
.wrap--narrow {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header — same measure as content */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  height: 68px;
  width: auto;
}

/* Buttons / CTAs — navy primary, white text */
.btn {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--navy);
  line-height: 1.3;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  color: #fff;
  background: var(--navy-hover);
  border-color: var(--navy-hover);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.header-cta {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section {
  padding: 3.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section--hero {
  padding: 4rem 0 3.5rem;
  border-top: none;
}

.section--surface {
  background: var(--surface);
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.55rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  line-height: 1.35;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.section--hero h1 {
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--accent);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  color: var(--ink);
  background: rgba(237, 182, 65, 0.18);
  border-color: var(--accent);
}

/* What I do */
.do-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.do-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.35rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.do-list li:last-child {
  border-bottom: none;
}

.do-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 2px;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Selected work */
.work {
  display: grid;
  gap: 1rem;
}

.work-item {
  padding: 1.25rem 1.25rem 1.25rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.work-item__meta {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.work-item p {
  margin: 0;
}

/* Proof */
.proof-card {
  margin: 0;
  padding: 1.05rem 1.2rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
}

.proof-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  margin: 0 0 0.75rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.proof-stats span {
  white-space: nowrap;
}

.proof-cite {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.proof-cite a {
  font-weight: 600;
}

.quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.25rem 1.25rem 1.15rem;
  border-left: 4px solid var(--accent);
  background: var(--bg);
}

.quote p {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 0 0 0.75rem;
}

.quote footer {
  font-size: 0.9rem;
  color: var(--muted);
}

.quote cite {
  font-style: normal;
}

.contact-line {
  margin-bottom: 0.35rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.contact-email:hover {
  color: var(--navy);
}

.contact-reply {
  font-size: 0.92rem;
  color: #5a5a5a;
  margin-bottom: 1rem;
}

.contact-cta {
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c8c8c8;
  padding: 2rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer a {
  color: #e8e8e8;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__legal {
  margin: 0 0 0.75rem;
  color: #c8c8c8;
}

.site-footer__nav {
  margin: 0;
}

/* Privacy page */
.page-header {
  padding: 2.5rem 0 1rem;
}

.page-body {
  padding: 0 0 3.5rem;
}

.page-body h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .site-logo img {
    height: 52px;
  }

  .header-cta {
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section--hero {
    padding: 2.75rem 0;
  }

  .proof-stats {
    font-size: 1.05rem;
  }
}
