@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Roboto Mono";
  src: url("/fonts/roboto-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/fonts/roboto-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cz-ink: #1b1b1b;
  --cz-muted: #5a5a5a;
  --cz-paper: #f3f4f2;
  --cz-surface: #ffffff;
  --cz-gold: #c99612;
  --cz-gold-bright: #efc247;
  --cz-charcoal: #2c2c2c;
  --cz-footer: #242424;
  --cz-line: rgba(0, 0, 0, 0.08);
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --measure: 42rem;
  --site-max: 70rem;
  --header-h: 4.75rem;
  --ColorThree: #c99612;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(201, 150, 18, 0.08), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(36, 36, 36, 0.05), transparent 50%),
    var(--cz-paper);
  color: var(--cz-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cz-gold-bright) !important;
  outline-offset: 4px;
}

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

main {
  min-height: 50vh;
}

section {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cz-line);
}

.header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand img {
  width: 168px;
  height: 30px;
  object-fit: cover;
  object-position: center 44.5%;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
}

.site-header nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--cz-muted);
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--cz-ink);
  border-bottom-color: var(--cz-gold-bright);
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 0;
  background: var(--cz-footer);
  color: #d8d8d8;
  text-align: center;
  padding: 3.5rem 1.5rem 2.25rem;
  font-family: var(--font-body);
}

.site-footer-inner {
  max-width: min(52rem, 100%);
  margin: 0 auto;
  text-align: left;
}

.footer-follow {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #c4c4c4;
  text-align: left;
  white-space: normal;
  text-wrap: balance;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.site-footer nav a {
  text-decoration: none;
  color: #b0b0b0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer nav a:hover {
  color: #fff;
  border-bottom-color: var(--cz-gold-bright);
}

.linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 0.45rem;
  text-decoration: none;
  position: relative;
  top: -0.05em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.linkedin span {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.25rem;
  background: #0a66c2;
  color: #fff;
  font: 700 0.8rem/1 var(--font-body);
}

/* ——— Buttons / CTA ——— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 0.2rem;
  background: var(--cz-gold-bright);
  color: #1a1a1a !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #f3d06a;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

/* ——— Utility / a11y ——— */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--cz-gold-bright);
  color: #222;
  font-family: var(--font-body);
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.payment-note {
  max-width: 1080px;
  margin: 20px auto;
  padding: 18px 24px;
  background: var(--cz-gold-bright);
  color: #222;
  line-height: 1.6;
  border-radius: 0.25rem;
}

.payment-note a {
  text-decoration: underline;
}

.not-found {
  max-width: 40rem;
  margin: 4rem auto;
  padding: 1.5rem;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

/* Typography overrides across page fragments */
main {
  --font-family: var(--font-body);
  --common-font-family: var(--font-body);
}

main h1,
main h2,
main h3,
main .original-h2,
main .original-h3 {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
}

/* Blog index title matches article headline font (Roboto Mono). */
.page-blog main h1 {
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
}

.page-blog main [style*="Roboto Mono"] {
  font-family: "Roboto Mono", ui-monospace, monospace !important;
}

/* Blog article bylines: match body copy, not the headline. */
.blog-byline {
  margin: 0.35rem 0 0 !important;
  font-family: var(--font-body) !important;
  font-size: 1.0625rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.65 !important;
  color: var(--cz-muted) !important;
}

.blog-byline,
.blog-byline * {
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}

main p,
main li {
  font-family: var(--font-body) !important;
}

main .fontSizeMark[style*="--font-size:52px"],
main .fontSizeMark[style*="--font-size:40px"],
main .fontSizeMark[style*="--font-size:36px"],
main .fontSizeMark[style*="--font-size:30px"] {
  font-family: var(--font-display) !important;
}

/* Soften harsh grey slabs from the old builder */
main .ePgRtR {
  background: var(--cz-charcoal) !important;
}

main .iKrqwU {
  background: var(--cz-surface) !important;
}

main .civVjI {
  background: transparent !important;
}

/* Readable measure for long copy */
main .bkSrWA,
main .iIzcyQ,
main .gCWetU,
main .gpyxAY,
main .RKJlD,
main .dcUgMr,
main .kWDrXg {
  max-width: calc(var(--measure) + 4rem);
  margin-left: auto;
  margin-right: auto;
}

main .bkSrWA p,
main .iIzcyQ p,
main .gCWetU p,
main .gpyxAY p {
  max-width: var(--measure);
}

/* Home entry copy: wider centered block, left-aligned text */
.page-home {
  --home-measure: 68rem;
}

#section-1f08e3585f1f .foqPxd,
#section-c2ee61d1b2ba .fAzWxt {
  width: min(100%, var(--home-measure)) !important;
  max-width: var(--home-measure) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#section-1f08e3585f1f .bkSrWA,
#section-1f08e3585f1f .bkSrWA p,
#section-1f08e3585f1f [style*="text-align"],
#section-c2ee61d1b2ba .gpyxAY,
#section-c2ee61d1b2ba .gpyxAY p,
#section-c2ee61d1b2ba [style*="text-align"] {
  max-width: none !important;
  width: 100% !important;
  text-align: left !important;
}

#section-1f08e3585f1f .bkSrWA,
#section-c2ee61d1b2ba .gpyxAY {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#section-1f08e3585f1f .foqPxd {
  padding-top: 3.5rem !important;
  padding-bottom: 1.25rem !important;
  padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
  padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
}

#section-c2ee61d1b2ba .fAzWxt {
  padding-top: 0.75rem !important;
  padding-bottom: 2.5rem !important;
  padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
  padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
}

#section-c2ee61d1b2ba {
  text-align: left;
}

#section-c2ee61d1b2ba a {
  color: var(--cz-gold) !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 150, 18, 0.45);
}

#section-c2ee61d1b2ba a:hover {
  border-bottom-color: var(--cz-gold);
}

/* ——— Home hero ——— */
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] {
  position: relative;
  isolation: isolate;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .ePgRtR {
  background: #111 !important;
  min-height: min(78vh, 46rem);
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .lcthFY::before {
  /* Face sits upper-left in banner.jpg; bias crop toward it. */
  background-position: 22% 28% !important;
  filter: grayscale(0.15) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .lcthFY::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.2) 45%, rgba(10, 10, 10, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.4) 100%);
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hAGDEx {
  position: relative;
  z-index: 1;
  min-height: min(78vh, 46rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding-top: 18vh !important;
  padding-bottom: 10vh !important;
}

/* Original builder put copy in a left column; move it to the right half. */
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .bYuUXU {
  display: none !important;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hWXzNh {
  width: min(34rem, 50%) !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hWXzNh .content-wrapper,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-copy,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0;
  margin-right: 0;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-copy,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] [style*="text-align"] {
  text-align: right !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-title,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] h1 {
  max-width: 12ch;
  margin: 0 0 0.85rem auto !important;
  color: #f7f4ea !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2.6rem, 6vw, 4.4rem) !important;
  font-weight: 600 !important;
  line-height: 1.05 !important;
  text-align: right !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-title .fontSizeMark,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-title .text-color,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] h1 .fontSizeMark,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] h1 .text-color,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] h1 [style*="background-color"],
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub [style*="background-color"],
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub .text-color,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub .fontSizeMark {
  background: none !important;
  background-color: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub p {
  max-width: 36ch;
  margin: 0 0 0 auto !important;
  color: rgba(247, 244, 234, 0.9) !important;
  font-family: var(--font-body) !important;
  font-size: clamp(1.05rem, 2.1vw, 1.3rem) !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  text-wrap: pretty;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .eauztW,
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF p > br {
  display: none;
}

/* Hide leftover empty spacer paragraphs in the hero */
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF > .sc-cwSeag > .sc-Dmqmp > div:has(> p > br:only-child),
section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF div:has(> p:only-child > br:only-child) {
  display: none;
}

/* ——— Motion ——— */
@keyframes cz-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: cz-rise 0.55s ease both;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-title {
  animation: cz-rise 0.7s 0.08s ease both;
}

section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub {
  animation: cz-rise 0.7s 0.18s ease both;
}

#section-1f08e3585f1f,
#section-c2ee61d1b2ba {
  animation: cz-rise 0.7s 0.12s ease both;
}

@supports (animation-timeline: view()) {
  #section-1f08e3585f1f,
  #section-c2ee61d1b2ba,
  main > section {
    animation: cz-rise 0.7s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 18%;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] {
    animation: none;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 7.5rem;
  }

  .header-inner {
    padding: 0.75rem 1rem 0.85rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    min-height: 0;
  }

  .brand {
    align-self: center;
  }

  .site-header nav {
    justify-content: center;
    gap: 0.15rem 0.35rem;
  }

  .site-header nav a {
    font-size: 0.9rem;
    padding: 0.55rem 0.55rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer {
    padding: 2.75rem 1.15rem 1.75rem;
  }

  .site-footer-inner {
    text-align: center;
  }

  .footer-follow {
    text-align: center;
    font-size: 0.95rem;
  }

  .site-footer nav {
    gap: 0.35rem 0.75rem;
    margin-top: 1.5rem;
  }

  .site-footer nav a {
    padding: 0.55rem 0.45rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .payment-note {
    margin: 16px;
  }

  main .fontSizeMark {
    --font-size: clamp(18px, 6vw, 36px) !important;
  }

  /* Keep Carrd text blocks from sitting flush to phone edges */
  main .sc-khsqcC,
  main .foqPxd,
  main .gOklqp,
  main .ecMPfR,
  main .jrLWXl,
  main .kWgMoh,
  main .bRiapZ {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  #section-1f08e3585f1f .sc-khsqcC {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #section-1f08e3585f1f .sc-ilhmMj {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Keep the man's face in frame on tall phone crops. */
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .ePgRtR,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hAGDEx {
    min-height: min(78vh, 36rem);
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .ePgRtR,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .lcthFY {
    overflow: hidden !important;
  }

  /* Kill the black gutter: don't translate/scale the image layer. */
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .ePgRtR {
    background-color: transparent !important;
    background-image: url(/images/banner.jpg) !important;
    background-size: cover !important;
    background-position: 22% 18% !important;
    background-repeat: no-repeat !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .lcthFY::before {
    /* Wider than the viewport so cropping never reveals a side gap. */
    top: 0 !important;
    bottom: 0 !important;
    left: -35% !important;
    width: 170% !important;
    right: auto !important;
    background-image: url(/images/banner.jpg) !important;
    background-position: 30% 18% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    filter: grayscale(0.1) contrast(1.04) brightness(0.9);
    transform: none !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .lcthFY::after {
    /* Darken the right for copy only — fully transparent on the left. */
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.7) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%) !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hAGDEx {
    justify-content: flex-end;
    padding-top: 18vh !important;
    padding-bottom: 6vh !important;
    padding-left: 0.4rem !important;
    padding-right: 0.45rem !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hWXzNh {
    width: min(100%, 15.5rem) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .brXkqF,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-copy,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] [style*="text-align"] {
    text-align: right !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-title,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] h1 {
    max-width: 11ch;
    margin: 0 0 0.7rem auto !important;
    font-size: clamp(2.15rem, 9.5vw, 3rem) !important;
    text-align: right !important;
  }

  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub,
  section[id="8edd3a52-af9c-413b-95d0-b1f99e28de05"] .hero-sub p {
    max-width: 26ch;
    margin: 0 0 0 auto !important;
    font-size: clamp(1rem, 4.2vw, 1.15rem) !important;
    text-align: right !important;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
