/* johneckhardt.com: static rebuild of the 2022 Wix page (colors and fonts taken from the Wix source). */
:root {
  --navy: #003862;
  --navy-deep: #002541;
  --ice: #eaf5f7;
  --ice-accent: #90cad5;
  --text: #191919;
  --muted: #5f6360;
  --on-navy: #c9d4dd;
  --white: #ffffff;
  --head: "Questrial", "Helvetica Neue", Arial, sans-serif;
  --body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-weight: 300; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 940px; margin: 0 auto; padding: 0 16px; }

/* Header and nav */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.brand-name { font-family: var(--head); font-size: 20px; color: var(--text); text-decoration: none; }
.brand-title { font-size: 13px; font-weight: 400; color: var(--text); }
.site-nav { background: var(--ice); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.nav-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.nav-links a, .nav-contact a { font-size: 13px; font-weight: 400; color: var(--text); text-decoration: none; }
.nav-links a:hover, .nav-contact a:hover { color: var(--navy); text-decoration: underline; }
.nav-contact { display: flex; align-items: center; gap: 22px; }
.li-icon { display: inline-flex; color: var(--text); }

.btn { display: inline-block; font-family: var(--body); font-size: 15px; font-weight: 300; text-decoration: none; padding: 12px 22px; transition: opacity .15s; }
.btn:hover { opacity: .85; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--muted); }

/* Hero */
.hero { background: var(--ice); text-align: center; padding: 96px 0 110px; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); color: var(--navy); line-height: 1.1; }
.hero-sub { font-family: var(--head); font-weight: 600; font-size: clamp(17px, 2vw, 26px); margin: 34px 0 0; }

/* About */
.about { background: var(--navy); padding: 120px 0; }
.headshot { width: 100%; aspect-ratio: 940 / 545; object-fit: cover; object-position: 50% 28%; background: #000; }
.card { background: var(--white); }
.bio { margin-top: 20px; padding: 70px 70px 80px; text-align: center; }
.bio h2 { font-size: 64px; color: var(--navy); margin-bottom: 32px; line-height: 1.1; }
.bio p { color: var(--muted); font-size: 16.5px; margin: 0 auto; max-width: 760px; }

/* Banners */
.banner { position: relative; background-size: cover; background-position: center; min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.banner-inner { position: relative; color: var(--white); padding: 40px 16px; }
.banner h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.1; margin-bottom: 24px; }
.banner-sub { font-family: var(--head); font-weight: 600; margin: 0; }
.banner-resume { background-position: center 38%; }
.banner-resume::before { background: rgba(0, 0, 0, .12); }

/* Experience */
.experience { background: var(--navy); }
.jobs { padding: 120px 16px 130px; color: var(--on-navy); }
.job { margin-bottom: 48px; }
.job h3 { color: var(--white); font-size: 34px; font-weight: 700; line-height: 1.2; }
.company { font-family: var(--head); color: var(--white); font-size: 34px; line-height: 1.4; }
.years { color: var(--white); font-size: 15px; font-weight: 400; margin: 14px 0 10px; }
.job p { margin: 0; font-size: 16px; }
.cv { margin-top: 110px; }
.cv p { font-size: 16px; margin: 0 0 24px; }

/* Education */
.education { background: var(--ice); padding-bottom: 80px; }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.edu { text-align: center; padding: 60px 30px 70px; }
.edu img { width: 44px; margin: 0 auto 24px; }
.edu-dates { font-size: 15px; font-weight: 400; }
.edu-school { font-family: var(--head); font-size: 34px; color: var(--navy); line-height: 1.3; }
.edu-degree { font-family: var(--head); font-size: 34px; color: var(--navy); font-weight: 700; line-height: 1.3; }
.edu p { color: var(--muted); font-size: 15px; margin: 14px 0 0; }

/* Skills */
.skills { padding: 130px 16px 110px; }
.skills > h2 { text-align: center; font-size: 64px; color: var(--navy); margin-bottom: 100px; }
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 60px 60px; }
.skill h3 { font-size: 36px; color: var(--navy); text-decoration: underline; text-underline-offset: 6px; margin-bottom: 70px; }
.skill img { width: 100%; aspect-ratio: 460 / 355; object-fit: cover; }
.skill p { color: var(--muted); font-size: 16px; margin: 50px 0 0; }

/* Startups */
.startups-band { background: var(--navy); color: var(--on-navy); text-align: center; padding: 110px 16px; }
.startups-band h2 { color: var(--white); font-size: 64px; line-height: 1.1; margin-bottom: 36px; }
.band-sub { font-family: var(--head); font-weight: 600; color: var(--white); margin: 0 0 30px; }
.startups-band p:last-child { margin: 0; font-size: 16.5px; }
.startup { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 100px; padding-bottom: 60px; }
.startup img { width: 100%; max-width: 720px; justify-self: center; }
.startup p { color: var(--muted); text-align: center; font-size: 16px; margin: 0; }
.startup-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); padding-bottom: 120px; }
.startup-flip p { order: -1; }

/* Quote */
.quote { background: var(--ice); padding: 120px 0; text-align: center; }
.quote img { width: 100%; aspect-ratio: 940 / 460; object-fit: cover; object-position: 50% 30%; }
.quote-by { font-family: var(--head); font-weight: 600; font-size: 15px; margin: 60px 0 14px; }
.quote blockquote { margin: 0 auto; max-width: 940px; font-family: var(--head); font-size: clamp(22px, 2.4vw, 36px); line-height: 1.5; color: var(--text); }

/* Footer */
.site-footer { padding: 60px 0 90px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 400; }

/* Phone and tablet */
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .nav-contact a:not(.li-icon) { display: none; }
  .bio { padding: 48px 24px 56px; }
  .bio h2, .skills > h2, .startups-band h2 { font-size: 46px; }
  .job h3, .company, .edu-school, .edu-degree { font-size: 26px; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills { padding: 90px 16px; }
  .skills > h2 { margin-bottom: 56px; }
  .skills-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .skill h3 { margin-bottom: 28px; font-size: 30px; }
  .skill p { margin-top: 28px; }
  .startup, .startup-flip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 64px; padding-bottom: 32px; }
  .startup-flip p { order: 0; }
  .about, .quote { padding: 72px 0; }
  .jobs { padding: 80px 16px 90px; }
  .banner { min-height: 320px; }
}
@media (max-width: 560px) {
  .header-row { gap: 12px; }
  .brand-title { font-size: 12px; }
  .btn-navy { padding: 10px 14px; font-size: 14px; }
  .nav-links { gap: 2px 14px; }
}
