/* sbauerconsulting.com - plain HTML and CSS, no framework */

:root {
  --paper: #faf8f4;
  --band: #eef2ef;
  --white: #ffffff;
  --ink: #1d1d1b;
  --muted: #5c5a55;
  --rule: #dcd7cd;
  --accent: #1f5c4a;
  --accent-dark: #143f33;
  --warm: #b8613a;
  --sand: #f2ebe0;

  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 70rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 44rem; }

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--accent-dark); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 4.25rem; gap: 1rem; }

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand-tag { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }

.nav { display: flex; gap: 1.75rem; align-items: center; font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav .nav-contact { color: var(--white); background: var(--accent); padding: 0.5rem 1rem; border-radius: 4px; }
.nav .nav-contact:hover { background: var(--accent-dark); color: var(--white); }

/* Hero */

.hero { padding: 4rem 0; min-height: calc(100vh - 4.25rem); min-height: calc(100svh - 4.25rem); display: flex; align-items: center; }
.hero > .container { width: 100%; }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.lead { font-size: 1.175rem; color: var(--muted); max-width: 36rem; }
.hero-photo-wrap { position: relative; justify-self: end; width: 100%; max-width: 24rem; }
.hero-photo-wrap::before {
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: var(--sand); border-radius: 6px; z-index: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero-photo {
  position: relative; z-index: 1; display: block;
  width: 100%; height: auto;
  border-radius: 6px;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.35);
}

/* Buttons */

.button {
  display: inline-block; font-weight: 500; font-size: 1rem;
  padding: 0.8rem 1.4rem; border-radius: 4px; text-decoration: none;
  background: var(--accent); color: var(--white); border: 1px solid var(--accent);
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.button-quiet { background: transparent; color: var(--accent); }
.button-quiet:hover { background: var(--accent); color: var(--white); }
.button-light { background: var(--white); color: var(--accent-dark); border-color: var(--white); }
.button-light:hover { background: var(--band); color: var(--accent-dark); border-color: var(--band); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.button-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

/* Shared two-column layout: heading on the left, content on the right */

.split { display: grid; grid-template-columns: minmax(15rem, 1fr) 2fr; gap: 4rem; align-items: start; }
.split-head { }
.split-head h2, .section-head h2 { position: relative; padding-top: 1.25rem; }
.split-head h2::before, .section-head h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 3rem; height: 4px; background: var(--accent); border-radius: 2px;
}

/* What I do */

.band { background: var(--band); padding: 6rem 0; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 0; }

.section-head { max-width: 46rem; margin-bottom: 3rem; }

.areas { counter-reset: area; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.area {
  counter-increment: area;
  background: var(--white);
  border-radius: 6px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
}
.area::before {
  content: counter(area, decimal-leading-zero);
  display: block;
  font-family: var(--serif); font-size: 1.75rem; line-height: 1;
  color: var(--warm);
  margin-bottom: 1rem;
}
.area h3 { margin-bottom: 0.6rem; }
.area p { color: var(--muted); margin: 0; }

/* About */

.section { padding: 6rem 0; }
.about-body p:last-child { margin-bottom: 0; }
.pull {
  font-family: var(--serif);
  font-size: 1.4rem; line-height: 1.45;
  color: var(--ink);
  border-left: 4px solid var(--warm);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}

/* Contact */

.contact { background: var(--sand); padding: 6rem 0; text-align: center; }
.contact-inner { max-width: 38rem; }
.contact p { font-size: 1.15rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; justify-content: center; }

/* Footer */

.site-footer { padding: 1.5rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted); }

/* Small screens */

@media (max-width: 48rem) {
  .hero { padding: 3rem 0 3.5rem; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo-wrap { justify-self: start; max-width: 9rem; order: -1; }
  .hero-photo-wrap::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-head { position: static; }
  .band, .section, .contact { padding: 3.5rem 0; }
  .areas { grid-template-columns: 1fr; }
  .area { padding: 1.5rem; }
  .pull { font-size: 1.2rem; }
  .nav a:not(.nav-contact) { display: none; }
  .brand-tag { display: none; }
}

/* Copy-email button */

button.button { font-family: inherit; cursor: pointer; line-height: inherit; }
.copy-email { min-width: 17rem; display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.copy-hint { font-size: 0.75rem; font-weight: 400; opacity: 0.8; }
.copy-email.copied { background: var(--accent-dark); }
