/* ==========================================================================
   Spannagel Trade Consulting — shared stylesheet
   Static HTML/CSS site. No build step. Safe for Spaceship Essential
   Web Hosting or any standard static host.
   ========================================================================== */

:root {
  --navy: #1b2a3a;
  --navy-dark: #101b26;
  --accent: #8f5d24;        /* darker copper — buttons, links, important actions */
  --accent-light: #c28a49;  /* lighter copper — kickers, dividers, decorative accents */
  --cream: #f6f2ea;
  --gray-100: #f6f5f3;
  --gray-300: #d9d6d0;
  --gray-600: #5c6470;
  --text: #232a31;
  --max-width: 1080px;
  --focus-ring: 3px solid #2f6fb0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(143, 93, 36, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: currentColor;
}

/* Visible keyboard focus state everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--navy);
  padding: 12px 18px;
  z-index: 100;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

header.site {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--accent-light);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

nav.main {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}

nav.main a {
  color: #f0ede8;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 4px 2px 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

nav.main a:hover,
nav.main a.active {
  border-bottom: 2px solid var(--accent-light);
}

/* ==========================================================================
   Hero
   Currently uses an inline SVG illustration (see .hero-bg svg below). To
   switch to a photo later, replace the <div class="hero-bg"> contents with
   an <img> pointed at images/, keeping .hero-overlay in place so the
   headline stays readable.
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
  color: #fff;
  padding: 96px 0 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg svg,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Fades dark behind the headline, lighter toward the right, so the
     image or illustration underneath stays visible instead of being
     washed out. */
  background: linear-gradient(100deg, rgba(13, 21, 30, 0.94) 0%, rgba(13, 21, 30, 0.80) 42%, rgba(13, 21, 30, 0.35) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background: #74491c;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--gray-300);
  color: #fff;
}

.btn.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
  padding: 56px 0;
}

section.alt {
  background: var(--gray-100);
}

section h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

section .kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ==========================================================================
   Credibility strip
   ========================================================================== */

.trust-strip {
  background: var(--navy-dark);
  border-bottom: 1px solid var(--navy);
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 22px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.3;
}

.trust-item svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--accent-light);
}

@media (max-width: 900px) {
  .trust-strip .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-strip .wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--accent-light);
  padding: 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 42, 58, 0.12);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.96rem;
  margin-bottom: 0;
  flex-grow: 1;
}

.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.process-step {
  padding-left: 4px;
}

.process-step .step-number {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--gray-600);
  font-size: 0.96rem;
}

/* ==========================================================================
   Credentials list
   ========================================================================== */

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.credentials-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--gray-300);
  position: relative;
}

.credentials-list li::before {
  content: "\2014";
  color: var(--accent-light);
  position: absolute;
  left: 0;
}

/* ==========================================================================
   Two column layout
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: start;
}

/* ==========================================================================
   About page — photo + qualifications
   ========================================================================== */

.headshot-frame {
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--accent-light);
  background: var(--gray-100);
  padding: 10px;
  margin-bottom: 20px;
  max-width: 320px;
}

.headshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* ==========================================================================
   Contact box / form
   ========================================================================== */

.contact-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 28px;
  border-radius: 3px;
}

.contact-box dt {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-top: 18px;
}

.contact-box dt:first-child {
  margin-top: 0;
}

.contact-box dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.note {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--cream);
  border: 1px dashed var(--accent-light);
  padding: 12px 16px;
  border-radius: 3px;
  margin-top: 20px;
}

form.request-form {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.form-row {
  margin-bottom: 18px;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

form.request-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}

form.request-form .required::after {
  content: " *";
  color: var(--accent);
}

form.request-form input[type="text"],
form.request-form input[type="email"],
form.request-form input[type="tel"],
form.request-form input[type="date"],
form.request-form select,
form.request-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}

form.request-form textarea {
  resize: vertical;
}

form.request-form fieldset {
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  padding: 14px 16px;
  margin: 0 0 18px;
}

form.request-form legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0 6px;
}

form.request-form .radio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

form.request-form .radio-row:last-child {
  margin-bottom: 0;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 18px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.consent-row input {
  margin-top: 4px;
}

/* Formspree honeypot field — hidden from sighted users, left in the tab
   order flow for bots to fill in; real visitors never see or reach it. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .form-row-group {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site {
  background: var(--navy-dark);
  color: var(--gray-300);
  padding: 40px 0 30px;
  margin-top: 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
}

footer.site a {
  color: #f0ede8;
  text-decoration: none;
}

footer.site a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Mobile (under 720px)
   ========================================================================== */

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  header.site .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  nav.main {
    width: 100%;
    gap: 10px 18px;
  }

  .hero {
    padding: 56px 0 44px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p.lede {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 40px 0;
  }
}
