/* Asplin Solutions — one-pager
   Accent: mustard from logo #EDB641
   Secondary: logo dark blue #26386B (sparingly)
*/

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #4a4a4a;
  --border: #e4e2da;
  --accent: #edb641;
  --accent-ink: #1a1a1a;
  --navy: #26386b;
  --max: 40rem;
  --wide: 52rem;
  --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: 17px;
  line-height: 1.6;
  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 {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

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

/* Header */
.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.85rem 0;
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

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

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

/* Buttons / CTAs */
.btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--accent);
  line-height: 1.3;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  color: var(--accent-ink);
  background: #e0a82e;
  border-color: #e0a82e;
}

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


.header-cta {
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.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.65rem, 4vw, 2.15rem);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

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

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

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38rem;
}

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

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

.do-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 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.05rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 2px;
}

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

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

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

.work-item p {
  margin: 0;
}

/* Proof */
.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.05rem;
  margin: 0 0 0.75rem;
}

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

.quote cite {
  font-style: normal;
}

.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: 34px;
  }

  .header-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 2.75rem 0;
  }

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