/* wellslarsen.com
   Rebuilt from the Carrd site, 2026-11-17. Same look, plain HTML and CSS.
   Colors, fonts and sizes match the Carrd original. */

@font-face { font-family: 'Raleway'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/raleway-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/raleway-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/raleway-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 300; font-style: normal; font-display: swap; src: url('../assets/fonts/source-sans-pro-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/source-sans-pro-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 400; font-style: italic; font-display: swap; src: url('../assets/fonts/source-sans-pro-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/source-sans-pro-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans Pro'; font-weight: 700; font-style: italic; font-display: swap; src: url('../assets/fonts/source-sans-pro-latin-700-italic.woff2') format('woff2'); }

:root {
  --bg: #F2F2F2;
  --card: #FFFFFF;
  --heading: #474747;
  --text: #333333;
  --muted: #B3B3B3;
  --line: #CCCCCC;
  --accent: #1CCBD6;
  --link-blue: #1F4B99;
  --link-blue-hover: #163B73;
  --head-font: 'Raleway', sans-serif;
  --body-font: 'Source Sans Pro', sans-serif;
  --width: 74rem;
  --pad-h: 3rem;
  --pad-v: 3rem;
}

html { font-size: 18pt; }
@media (max-width: 1680px) { html { font-size: 13pt; } }
@media (max-width: 980px)  { html { font-size: 11pt; } }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.025rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; transition: color 0.25s ease; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- page frame ---------- */

.page {
  width: var(--width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--pad-v) var(--pad-h);
}

.card {
  background: var(--card);
}

.card.doc {
  padding: 4rem 3rem;
}

.card.doc > * + * { margin-top: 0.75rem; }

.card.narrow {
  width: 30rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 3rem;
}

/* ---------- type ---------- */

h1, h2, h3, p, ul { margin: 0; }

h1 {
  font-family: var(--head-font);
  font-weight: 600;
  font-size: 1.875em;
  line-height: 1.375;
  letter-spacing: 0.4375rem;
  text-transform: uppercase;
  color: var(--heading);
  text-align: center;
}

h2 {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1.375;
  letter-spacing: 0.39375rem;
  text-transform: uppercase;
  color: var(--heading);
}

h3 {
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0.04375rem;
  color: var(--text);
}

.card.doc h3 { margin-top: 1.5rem; }
.card.doc hr + h3, .row .col > h3:first-child { margin-top: 0; }

p + p { margin-top: 0.75rem; }

.headline {
  font-family: var(--head-font);
  font-weight: 600;
  line-height: 1.875;
  text-align: center;
}

.minor { margin-top: 1rem; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 !important;
}

/* ---------- lists ---------- */

.card ul:not(.nav) {
  list-style: none;
  padding: 0;
}

.card ul:not(.nav) > li {
  position: relative;
  padding-left: 1.33rem;
  margin-top: 0.5rem;
}

.card ul:not(.nav) > li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--text);
}

.card ul:not(.nav) a { color: var(--muted); }
.card ul.links-blue a { color: var(--link-blue); }
.card ul.links-blue a:hover { color: var(--link-blue-hover); }

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.25rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--heading);
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 0.625em;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.button:hover { border-color: var(--accent); color: var(--accent); }
.button svg { width: 1.25em; height: 1.25em; margin-right: 0.75em; fill: currentColor; }

.backbar { text-align: center; padding: 0 0 1.5rem; }
.card + .backbar { padding: 1.5rem 0 0; }

/* ---------- home ---------- */

.card.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 38rem;
}

.split .text {
  padding: 6rem 4rem;
  padding-right: 4rem;
}

.split .text > * + * { margin-top: 0.75rem; }

.tagline {
  font-family: var(--head-font);
  font-weight: 500;
  letter-spacing: 0.109375rem;
  text-transform: uppercase;
  color: var(--heading);
  text-align: center;
}

.pillars { text-align: center; font-weight: 700; }

.intro { line-height: 1.875; }

.nav {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 7.875rem);
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem !important;
}

.nav .button {
  width: 100%;
  padding: 0 0.5rem 0 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.split .media img { width: 100%; }

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
}

.foot .icon svg { width: 1.1rem; height: 1.1rem; fill: var(--muted); display: block; transition: fill 0.25s ease; }
.foot .icon:hover svg { fill: var(--accent); }
.foot .copy { color: var(--muted); font-size: 0.875em; line-height: 1.875; font-weight: 300; }

/* ---------- section pages ---------- */

.thumb {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem;
}

.thumb.framed { height: 12.5rem; border: 1px solid #000; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 2rem -3rem 0 !important;
}

.row .col:has(p) { padding: 0 3rem; }
.row .col > * + * { margin-top: 0.75rem; }
.row .feature { width: 100%; }
.row .col:first-child:has(.feature) { margin-right: -1rem; }

/* ---------- contact form ---------- */

.card.narrow > * + * { margin-top: 0.75rem; }

.form { margin-top: 1rem !important; display: flex; flex-direction: column; }

.form label {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--head-font);
  font-weight: 700;
  font-size: 0.625em;
  letter-spacing: 0.275rem;
  text-transform: uppercase;
  color: var(--text);
}

.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 1em;
  color: var(--text);
  padding: 0 1.05rem;
}

.form input { height: 3rem; }
.form textarea { height: 10rem; padding-top: 0.75rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.form .button { margin-top: 1.875rem; width: 100%; }
.form-status { margin-top: 1rem; text-align: center; font-size: 0.875em; }
.form-status:empty { display: none; }

#contact-done .card { text-align: center; }
#contact-done .button { margin-top: 1.5rem; }

/* ---------- small screens ---------- */

@media (max-width: 980px) {
  :root { --pad-h: 1.25rem; --pad-v: 2rem; }
  .card.split { grid-template-columns: 1fr; }
  .split .text { padding: 3.5rem 2rem; }
  .row { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem -2rem 0 !important; }
  .row .col:has(p) { padding: 0 2rem; }
  .row .col:has(.feature) { order: -1; margin: 0 !important; }
  .card.doc { padding: 3.5rem 2rem; }
}

@media (max-width: 736px) {
  .nav { grid-template-columns: 1fr; width: 100%; max-width: 16rem; margin-left: auto !important; margin-right: auto !important; }
  .split .text { padding: 2.625rem 1.5rem; }
  .card.doc, .card.narrow { padding: 2.625rem 1.5rem; }
  .row { margin: 2rem -1.5rem 0 !important; }
  .row .col:has(p) { padding: 0 1.5rem; }
  .foot { flex-direction: column; gap: 0.75rem; }
}
