/* SchmuckIT — one-page site
   Palette: deep navy, teal accents, warm off-white
   Designed for readability: large type, high contrast, generous spacing
*/

:root {
  --navy: #0b3a4a;
  --navy-dark: #072831;
  --navy-mid: #12485c;
  --teal: #1a7a74;
  --teal-bright: #2a9b94;
  --teal-soft: #d7efed;
  --cream: #f6f3ee;
  --white: #ffffff;
  --ink: #1a2428;
  --ink-muted: #3d4d54;
  --line: #c9d6d8;
  --shadow: 0 8px 24px rgba(11, 58, 74, 0.08);
  --radius: 12px;
  --header-h: 4.5rem;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  hyphens: none;
  -webkit-hyphens: none;
}

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
}

p {
  margin: 0 0 1.15rem;
}

a {
  color: var(--teal);
  text-underline-offset: 0.15em;
}

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

a:focus-visible {
  outline: 3px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

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

.wrap.narrow {
  width: min(100% - 2.5rem, 42rem);
}

/* Header / sticky nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  min-height: var(--header-h);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--teal-soft);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: #7ec8c0;
  color: var(--navy-dark);
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  justify-content: flex-end;
}

.nav a {
  color: #e8f2f3;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 5rem 0 5.5rem;
}

.hero h1 {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: #7ec8c0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.lede {
  font-size: 1.25rem;
  max-width: 38rem;
  color: #e6eef0;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.2;
}

.btn-primary {
  background: #7ec8c0;
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: #9ad7d1;
  color: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid #9ad7d1;
}

.btn-secondary:hover {
  background: rgba(126, 200, 192, 0.15);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

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

.section-intro {
  max-width: 48rem;
  font-size: 1.15rem;
}

.section-kicker {
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 1.5rem;
}

.section-close {
  max-width: 48rem;
  margin: 2rem 0 0;
  font-size: 1.15rem;
}

/* Service cards */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1.15rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: var(--shadow);
}

.section-alt .service-card {
  background: var(--cream);
}

.service-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Contact */
.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.contact-list a {
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--teal);
}

.contact-list a:hover {
  text-decoration: underline;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #c5d5d8;
  padding: 1.5rem 0;
  font-size: 1rem;
}

.footer-inner p {
  margin: 0;
}

/* Responsive */
@media (max-width: 700px) {
  :root {
    --header-h: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.85rem;
    gap: 0.35rem;
  }

  .nav {
    justify-content: flex-start;
    margin-left: -0.4rem;
  }

  .nav a {
    padding: 0.4rem 0.55rem;
    font-size: 1rem;
  }

  .hero {
    padding: 3.25rem 0 3.75rem;
  }

  .lede {
    font-size: 1.15rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .contact-list a {
    font-size: 1.2rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
