/* Gesheft Works
   Brand colors sampled from the logo badge:
   navy  #012756 (most common dark pixel; mean #032755)
   cream #fef7e7 (most common light #fff8e8; median #fef8e8)
*/

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #012756;
  --navy-deep: #00183a;
  --navy-mid: #163e6e;
  --cream: #fef7e7;
  --cream-deep: #f3ead4;
  --white: #ffffff;
  --ink: #1a2332;
  --muted: #3e4a5c;
  --line: rgba(1, 39, 86, 0.14);
  --line-strong: rgba(1, 39, 86, 0.28);
  --cream-line: rgba(254, 247, 231, 0.22);
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --space: 1.25rem;
  --container: 70rem;
  --header-h: 4.5rem;
  --radius: 0.5rem;
  --shadow: 0 1px 2px rgba(1, 39, 86, 0.06), 0 8px 24px rgba(1, 39, 86, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: var(--cream);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.75em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.15rem, 4.6vw + 0.6rem, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.25rem);
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 1000;
  background: var(--cream);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.25rem 0.25rem;
}

.skip-link:focus {
  top: 0;
}

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

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

/* Header
   ------------------------------------------------------------------ */
.site-header {
  background: var(--navy);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--cream-line);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link:hover {
  color: var(--cream);
}

.logo-link img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
}

.logo-wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--cream-line);
  background: transparent;
  border-radius: 0.3rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.3rem;
}

.site-nav a:hover {
  color: var(--cream);
  background: rgba(254, 247, 231, 0.1);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--cream);
  border-radius: 0;
  padding-inline: 0.5rem;
  margin-inline: 0.35rem;
}

.site-nav a.nav-cta {
  margin-left: 0.5rem;
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  box-shadow: none;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

/* Footer
   ------------------------------------------------------------------ */
.site-footer {
  margin-top: auto;
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3.5rem 0 0;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  gap: 2.5rem 3rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-brand h2 {
  font-size: 1.2rem;
  color: var(--cream);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.footer-brand p {
  color: rgba(254, 247, 231, 0.78);
  font-size: 0.95rem;
  max-width: 22rem;
}

.footer-established {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(254, 247, 231, 0.7);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 247, 231, 0.62);
  margin: 0 0 0.85rem;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
}

.footer-nav li + li,
.footer-contact li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--cream-line);
  font-size: 0.9rem;
  color: rgba(254, 247, 231, 0.7);
}

/* Buttons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 0.3rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--cream {
  background: var(--cream);
  color: var(--navy);
}

.btn--cream:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(254, 247, 231, 0.55);
}

.btn--outline-cream:hover {
  background: rgba(254, 247, 231, 0.1);
  color: var(--cream);
  border-color: var(--cream);
}

.btn--navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn--navy:hover {
  background: var(--navy-mid);
  color: var(--cream);
  border-color: var(--navy-mid);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero
   ------------------------------------------------------------------ */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-logo {
  width: 10.5rem;
  margin: 0 auto;
}

.hero-logo img {
  width: 100%;
  border-radius: 50%;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero .eyebrow {
  color: rgba(254, 247, 231, 0.75);
}

.hero h1 {
  color: var(--cream);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(254, 247, 231, 0.9);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 0 2.75rem;
}

.page-hero h1 {
  color: var(--cream);
  margin: 0 0 0.65rem;
}

.page-hero .lead {
  color: rgba(254, 247, 231, 0.9);
  font-size: 1.15rem;
  max-width: 38rem;
  margin: 0;
}

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

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

.section-header {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  margin-bottom: 0.65rem;
}

.section-header p,
.prose p {
  color: var(--muted);
}

.section-header .eyebrow,
.section .eyebrow {
  color: var(--navy);
  opacity: 0.75;
}

.page-hero .eyebrow {
  color: rgba(254, 247, 231, 0.75);
}

/* Cards
   ------------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section--white .card {
  background: var(--cream);
  box-shadow: none;
}

.card h3 {
  margin: 0.7rem 0 0.5rem;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 1rem;
  flex: 1;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--navy);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.card--cta,
.section--white .card--cta {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
  justify-content: center;
  box-shadow: none;
}

.card--cta h3,
.card--cta p {
  color: var(--cream);
}

.card--cta p {
  opacity: 0.88;
}

.card--cta .btn {
  margin-top: 1.1rem;
  align-self: flex-start;
}

/* Process steps
   ------------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step {
  padding: 0;
  counter-increment: none;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.step h3 {
  margin: 0 0 0.45rem;
}

.step p {
  color: var(--muted);
}

/* Service blocks (services page)
   ------------------------------------------------------------------ */
.service-list {
  display: grid;
  gap: 0;
}

.service-block {
  display: grid;
  gap: 1rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.service-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 1.4vw + 1.1rem, 1.85rem);
  margin: 0;
}

.service-block p {
  color: var(--muted);
  max-width: 42rem;
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--navy);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

/* About
   ------------------------------------------------------------------ */
.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.5rem;
}

.split {
  display: grid;
  gap: 2rem;
}

.note-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.note-box h2,
.note-box h3 {
  margin-top: 0;
}

/* Contact
   ------------------------------------------------------------------ */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  margin: 0 0 1.35rem;
}

.contact-details .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-details a,
.contact-details span.value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1rem;
}

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form .optional {
  font-weight: 400;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0.3rem;
  padding: 0.65rem 0.75rem;
  min-height: 2.75rem;
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form input:hover,
.form textarea:hover {
  border-color: var(--navy);
}

.form input:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.form-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

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

/* CTA band
   ------------------------------------------------------------------ */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(254, 247, 231, 0.88);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

/* 404
   ------------------------------------------------------------------ */
.not-found {
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.not-found img {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

.not-found p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

/* Home intro
   ------------------------------------------------------------------ */
.intro-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 42rem;
}

/* Responsive
   ------------------------------------------------------------------ */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .form-grid .form-row {
    margin-bottom: 0;
  }

  .form-grid + .form-row,
  .form-grid {
    margin-bottom: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.75fr);
    gap: 3rem;
    align-items: center;
  }

  .hero-logo {
    width: min(100%, 20rem);
    margin: 0 0 0 auto;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 0.8fr 1.1fr;
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .service-block {
    grid-template-columns: 3.25rem 1fr;
    gap: 1.25rem 1.5rem;
    align-items: start;
    padding: 2.5rem 0;
  }

  .service-block h2,
  .service-block p {
    grid-column: 2;
  }

  .service-icon {
    grid-row: 1 / span 2;
  }

  .contact-layout {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: 3.5rem;
    align-items: start;
  }

  .section {
    padding: 5rem 0;
  }

  .split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: start;
  }
}

@media (max-width: 799px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--cream-line);
    padding: 0.75rem 0 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.6rem;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
    background: rgba(254, 247, 231, 0.1);
    border-radius: 0.3rem;
    margin-inline: 0;
    padding-inline: 0.6rem;
  }

  .site-nav a.nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }

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

@media (max-width: 399px) {
  .logo-wordmark {
    font-size: 0.98rem;
  }
}

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

@media (min-width: 960px) {
  .section--intro {
    padding: 3.25rem 0;
  }
}


/* Helpers added for a11y, lists, and media wrappers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.note-box-action {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.steps {
  list-style: none;
}

.service-block[id] {
  scroll-margin-top: 5.5rem;
}

.logo-link picture,
.footer-brand picture {
  display: block;
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
}

.footer-brand picture {
  width: 3.5rem;
  height: 3.5rem;
}

.hero-logo picture,
.hero-logo img {
  width: 100%;
  height: auto;
}

.not-found picture,
.not-found img {
  width: 8rem;
  height: auto;
  margin: 0 auto 1.5rem;
}

h3 {
  font-weight: 600;
}

/* Green accent (added per Marty, 2026-11-10) */
:root { --green: #1fa463; --green-bright: #3ddc84; --green-soft: #e3f6ec; }
.site-header { border-bottom: 3px solid var(--green); }
.eyebrow, .section .eyebrow, .section-header .eyebrow, .page-hero .eyebrow { color: var(--green); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--green-bright); }
.hero h1 .accent, h1 em { color: var(--green-bright); font-style: normal; }
.btn--cream { background: var(--green-bright); color: var(--navy); border-color: var(--green-bright); }
.btn--cream:hover { background: #5be59a; border-color: #5be59a; color: var(--navy); }
.btn--navy { background: var(--green); border-color: var(--green); color: #fff; }
.btn--navy:hover { background: #178a52; border-color: #178a52; color: #fff; }
.site-nav a.nav-cta { background: var(--green-bright); color: var(--navy); }
.card-icon, .service-icon { color: var(--green); }
.card-icon svg, .service-icon svg { stroke: var(--green); color: var(--green); }
.step-num { color: var(--green); }
.step { border-top: 3px solid var(--green); padding-top: 0.9rem; }
.card { border-top: 3px solid var(--green); }
.card-link, a.card-link { color: var(--green); }
.contact-details .label { color: var(--green); }
.site-footer a:hover { color: var(--green-bright); }
.site-footer { border-top: 3px solid var(--green); }
