/* Ferrell Capital — site styles.
   Values are carried over from the Webflow build (measured 2026-10-27); breakpoints match it: 991 / 767 / 479. */

@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-var.6b102ab3.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic-var.0a80e955.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-var.0a44e0bb.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Sen"; src: url("/assets/fonts/sen-400.5c608f64.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ferrell-blue: #2662a1;
  --ferrell-light-blue: #97cbff;
  --steel-blue: #1976d2;
  --ferrell-dark-grey: #313338;
  --white-smoke: #f9f9f9;
  --ink: #333;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --footer: "Sen", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100%; background: #fff; color: var(--ink); font-family: var(--footer); font-size: 16px; line-height: 1.5; }
img { display: inline-block; max-width: 100%; vertical-align: middle; border: 0; }
picture { display: contents; }
h1, h2, h3, h4 { margin: 20px 0 10px; font-weight: 700; }
p { margin: 0 0 20px; font-family: var(--sans); font-size: 17px; line-height: 1.8; }
a { color: var(--steel-blue); font-family: var(--sans); text-decoration: underline; }
a:hover { text-decoration: none; }
strong { font-weight: 700; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ferrell-light-blue); outline-offset: 2px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1001; padding: 8px 16px; border-radius: 5px; background: var(--white-smoke); color: var(--ferrell-blue); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; border-bottom: 8px solid var(--ferrell-dark-grey); background-color: var(--ferrell-blue); letter-spacing: .1em; text-transform: uppercase; }
.site-header__bar { position: relative; padding: 15px 0; background-color: var(--ferrell-blue); background-image: url("/assets/img/header-texture-1440.0ef44cd2.jpg"); background-image: image-set(url("/assets/img/header-texture-1440.e7e272fd.avif") type("image/avif") 1x, url("/assets/img/header-texture-2400.65c3c781.avif") type("image/avif") 2x, url("/assets/img/header-texture-1440.af9690b8.webp") type("image/webp") 1x, url("/assets/img/header-texture-2400.59127ee2.webp") type("image/webp") 2x, url("/assets/img/header-texture-1440.0ef44cd2.jpg") type("image/jpeg") 1x); background-position: 50% 0; background-repeat: no-repeat; background-size: cover; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 142px; height: auto; }
.site-nav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-link { display: inline-block; margin: 0 20px 0 10px; padding: 4px 10px; border: 2px solid var(--ferrell-blue); border-radius: 5px; color: var(--white-smoke); font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: .09em; text-decoration: none; transition: background-color .3s; }
.nav-link:hover, .nav-link:focus-visible { background-color: var(--ferrell-blue); }
.nav-toggle { display: none; flex: none; width: 62px; height: 60px; padding: 10px; border: 0; border-radius: 16px; background: var(--steel-blue); color: var(--white-smoke); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nav-toggle svg { display: block; width: 42px; height: 40px; }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background-color: var(--ferrell-dark-grey); }
.hero__img, .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero--home .hero__img { object-position: 50% 56%; }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 400px; }
.hero__title { width: 40%; margin: 0 0 10px; color: var(--white-smoke); font-family: var(--serif); font-size: 58px; font-weight: 500; line-height: 1.1; }
.btn { display: inline-block; padding: 5px 25px; border: 1px solid var(--ferrell-dark-grey); border-radius: 5px; background-color: var(--ferrell-blue); color: #fff; font-weight: 700; line-height: inherit; text-decoration: none; cursor: pointer; transition: border-color .3s, background-color .3s, color .3s; }
.btn--outline-light { border-color: var(--ferrell-light-blue); background-color: transparent; color: var(--ferrell-light-blue); }
.btn--outline-light:hover, .btn--outline-light:focus-visible { border-color: var(--steel-blue); background-color: var(--white-smoke); color: var(--ferrell-blue); }

/* ---------- home feature (column photo + dark card) ---------- */
.feature { padding: 20px 0 65px; }
.feature__wrap { position: relative; display: flex; justify-content: flex-end; }
.feature__media { position: absolute; top: 5%; left: 0; width: 45%; height: 90%; overflow: hidden; border-radius: 20px; background: var(--ferrell-blue); }
.feature__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.feature__card { width: 70%; padding: 90px 55px 90px 245px; border-radius: 5px; background-color: var(--ferrell-dark-grey); color: var(--white-smoke); font-family: var(--sans); }
.feature__card h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 36px; letter-spacing: .02em; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 400px; overflow: hidden; background-color: var(--ferrell-dark-grey); }
.page-hero--history .page-hero__img { object-position: 50% 34%; }
.page-hero--team .page-hero__img { object-position: 50% 67%; }
.page-hero--contact .page-hero__img { object-position: 50% 36%; }

.page { width: min(1200px, calc(100% - 60px)); margin: 30px auto; }
.page--team { width: min(1200px, 70%); }
.page--contact { margin-top: 50px; margin-bottom: 95px; }
.page__head { margin-bottom: 20px; padding-top: 10px; }
.page-title { margin: 0 0 10px; color: var(--ferrell-blue); font-family: var(--serif); font-size: 36px; font-style: italic; font-weight: 500; line-height: 36px; }
.separator { height: 1px; margin: 0 0 20px; border: 0; background-color: var(--ferrell-blue); }
.page__body { font-family: var(--sans); }
.page--history .page__body::after { content: ""; display: table; clear: both; }

blockquote { margin: 0 0 10px; padding: 10px 20px; border-left: 5px solid var(--ferrell-blue); font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.5; letter-spacing: .03em; }

.page--history .page__body { margin-bottom: 60px; }
.page figure { display: table; float: right; width: 350px; max-width: calc(100% - 15px); margin: 0 0 10px 15px; }
.page figure img { width: 100%; height: auto; }
figcaption { display: table-caption; caption-side: bottom; margin-top: 5px; color: var(--ferrell-blue); font-family: var(--sans); font-size: 13px; line-height: 1.5; text-align: center; }

.team { display: grid; row-gap: 15px; font-family: var(--sans); }
.team__member { display: grid; grid-template-columns: 300px 1fr; column-gap: 50px; row-gap: 15px; align-items: start; }
.team__photo { justify-self: end; width: 240px; height: 348px; border: 4px solid var(--ferrell-blue); background-color: var(--ferrell-blue); }
.team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team__name { margin: 10px 0; color: var(--ferrell-blue); font-family: var(--sans); font-size: 18px; font-weight: 700; line-height: 24px; }
.team__rule { height: 0; margin: 0; border: 0; border-top: 1px solid var(--ferrell-blue); }

.contact-name { color: var(--ferrell-blue); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { padding: 30px 0 10px; background-color: var(--ferrell-dark-grey); }
.site-footer__inner { max-width: 1200px; margin: 0 auto 30px; padding: 0 15px; }
.site-footer__logo { display: flex; justify-content: center; }
.site-footer__logo a { display: inline-block; line-height: 0; }
.site-footer__logo img { width: 142px; height: auto; }
.site-footer__bottom { margin-top: 55px; color: var(--white-smoke); text-align: center; }
.site-footer__line { margin: 0; font-family: var(--footer); font-size: .8rem; line-height: 1.5; }
.site-footer__line a { font-size: inherit; }

/* ---------- 404 ---------- */
.page--404 .page__body p:last-child { margin-bottom: 0; }

/* ---------- tablet ---------- */
@media (max-width: 991px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; visibility: hidden; overflow: hidden; pointer-events: none; }
  .site-nav ul { display: block; padding: 10px 0 30px; background-color: var(--ferrell-blue); text-align: center; transform: translateY(-100%); transition: transform .4s ease, visibility 0s linear .4s; visibility: hidden; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; }
  .site-nav.is-open ul { transform: none; visibility: visible; transition: transform .4s ease; }
  .nav-link { display: block; margin: 0; border-width: 1px 0; border-color: var(--steel-blue); border-radius: 0; text-align: center; }
  .nav-link[aria-current="page"] { border-width: 2px 0; }
  .nav-link:hover { background-color: transparent; }
  .nav-toggle { display: block; }

  .feature__card { padding-left: 145px; }
  .feature__media img { object-position: 50% 100%; }

  .page, .page--team { width: 90%; }
  .team__member { grid-template-columns: 240px 1fr; column-gap: 30px; }
}

/* ---------- small tablet ---------- */
@media (max-width: 767px) {
  .brand { padding-left: 10px; }
  .hero__title { width: 60%; }
  .feature { padding-top: 0; }
  .page--contact { margin-top: 30px; }
  .feature .container { padding: 0; }
  .feature__wrap { flex-direction: column; }
  .feature__media { position: static; width: 100%; height: 400px; border-radius: 0; }
  .feature__card { width: 100%; padding: 90px 45px; border-radius: 0; }
  .team__member { grid-template-columns: 239px 1.25fr; }
}

/* ---------- phone ---------- */
@media (max-width: 479px) {
  .site-header__bar { padding: 12px 0; }
  .brand img { width: 90px; }
  .hero--home .hero__img { object-position: 50% 0; }
  .page-hero--contact .page-hero__img { object-position: 43% 50%; }
  .hero__inner { justify-content: flex-end; padding-bottom: 45px; }
  .hero__title { width: 100%; margin-bottom: 61px; font-size: 45px; }
  .feature__card { padding: 30px 45px 20px; }
  .team__member { grid-template-columns: 1fr; }
  .team__photo { justify-self: center; }
  blockquote { font-size: 20px; line-height: 1.4; }
  .site-footer__logo { padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}

@media print {
  .site-header { position: static; }
  .nav-toggle, .site-nav, .skip-link { display: none; }
}
