/* kavehs.com */
:root {
  --navy: #15213a;
  --navy-2: #26324d;
  --navy-line: #2f3c58;
  --on-navy: #d5dbe7;
  --on-navy-quiet: #8e98ad;
  --ink: #15213a;
  --body: #3c4762;
  --muted: #5f6880;
  --teal: #0b6c73;
  --teal-dark: #074c51;
  --grey: #f4f6f9;
  --line: #dfe3ea;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.masthead :focus-visible, .contact :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h2 { font-size: clamp(2.2rem, 4vw, 3.25rem); line-height: 1; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding-top: 110px; padding-bottom: 110px; }
.top-flush { padding-top: 0; }
.muted { color: var(--muted); }
.strong { font-weight: 600; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 6px 10px; z-index: 5; }

/* Masthead */
.masthead { background: var(--navy); color: #fff; }
.top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 32px; padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--navy-line); }
.brand { font-family: var(--serif); font-size: 23px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.top nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; font-weight: 500; }
.top nav a { color: var(--on-navy); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; }
.top nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.top .outline { color: #fff; padding: 9px 18px; border: 1px solid #5a6785; border-radius: 3px; }
.top .outline:hover { border-color: #fff; }

.hero { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-end; padding-top: 96px; padding-bottom: 104px; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero h1 { font-weight: 300; font-size: clamp(3.2rem, 7.5vw, 5.75rem); line-height: .98; letter-spacing: -.025em; margin-bottom: 32px; }
.tagline { font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.4; color: var(--on-navy); max-width: 24em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.btn { display: inline-block; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 3px; }
.btn.solid { background: #fff; color: var(--navy); }
.btn.solid:hover { background: #e6eaf1; color: var(--navy); }
.btn.line { color: #fff; border: 1px solid #5a6785; }
.btn.line:hover { color: #fff; border-color: #fff; }
.portrait { flex: 1 1 280px; max-width: 340px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.page-hero { padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { font-weight: 300; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; max-width: 16em; }
.page-hero .tagline { margin-top: 24px; }
.page-hero time { display: block; color: var(--on-navy-quiet); margin-bottom: 14px; }
.back { display: inline-block; color: var(--on-navy); font-weight: 600; margin-bottom: 36px; }
.back:hover { color: #fff; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 40px; margin-bottom: 48px; }
.section-head .muted { max-width: 30em; }
.h-small { font-size: clamp(1.8rem, 3vw, 2.25rem); margin-bottom: 36px; }

/* Businesses */
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); border-top: 1px solid var(--navy); column-gap: 32px; }
.biz { display: flex; flex-direction: column; gap: 14px; padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.biz-mark { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 30px; }
.biz-logo { width: auto; height: 64px; max-width: 200px; object-fit: contain; object-position: left center; }
.biz-sector { margin-top: 8px; font-size: 14px; color: var(--muted); }
.biz h3 { font-size: 2rem; line-height: 1.1; }
.biz-desc { color: var(--body); max-width: 34em; }
.biz-role { font-size: 15px; color: var(--muted); }
.biz-link { font-weight: 600; margin-top: auto; padding-top: 4px; }

/* About */
.grey { background: var(--grey); }
.split { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.split > h2 { flex: 1 1 280px; }
.split-body { flex: 999 1 560px; max-width: 680px; min-width: 0; }
.lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; margin-bottom: 28px; }
.body-text { color: var(--body); }
.body-text p { margin: 0 0 1em; }
.body-text p:last-child { margin-bottom: 0; }

/* Focus */
.focus { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.focus > div { border-top: 2px solid var(--navy); padding-top: 20px; }
.focus h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.focus p { color: var(--muted); }

/* Articles */
.article-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: flex; flex-wrap: wrap; gap: 6px 48px; padding: 28px 0; text-decoration: none; color: var(--ink); }
.article-list time { flex: 0 0 170px; color: var(--muted); font-size: 15px; padding-top: 6px; }
.row-main { flex: 999 1 420px; }
.row-title { display: block; font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
.article-list a:hover .row-title { color: var(--teal); }
.row-sum { display: block; color: var(--muted); margin-top: 6px; }

.article { max-width: 760px; }
.cover { width: 100%; margin-bottom: 40px; }
.prose { font-family: var(--serif); font-size: 1.25rem; line-height: 1.65; color: var(--ink); }
.prose h2 { font-size: 1.9rem; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 1.45rem; font-weight: 500; margin: 1.3em 0 .4em; }
.prose blockquote { margin: 1.4em 0; padding-left: 1em; border-left: 2px solid var(--navy); font-style: italic; }
.prose img { margin: 1.5em 0; }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact .wrap { padding-top: 100px; padding-bottom: 48px; }
.contact-intro { font-size: 19px; color: var(--on-navy); margin-bottom: 28px; max-width: 32em; }
.details { margin: 0; border-top: 1px solid var(--navy-line); }
.details > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.details dt { flex: 0 0 140px; color: var(--on-navy-quiet); }
.details dd { margin: 0; }
.details a { color: #fff; }
.details a:hover { color: var(--on-navy); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 88px; font-size: 14px; color: var(--on-navy-quiet); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .top { padding-top: 18px; padding-bottom: 18px; }
  .top nav { gap: 8px 20px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .portrait { max-width: 100%; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .top-flush { padding-top: 0; }
  .page-hero { padding-top: 48px; padding-bottom: 56px; }
  .biz-grid { grid-template-columns: 1fr; }
  .contact .wrap { padding-top: 72px; }
  .legal { margin-top: 56px; }
}
