:root {
  --site-ink: #192b3a;
  --site-muted: #607083;
  --site-paper: #f8f6f2;
  --site-accent: #e89568;
}

html { scroll-behavior: smooth; }
body { color: var(--site-ink); background: #fff; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, .navbar-brand, .nav-link, .btn { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
section { scroll-margin-top: 5rem; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1100; padding: .65rem 1rem; color: #fff; background: var(--site-ink); border-radius: .35rem; }
.skip-link:focus { top: 1rem; color: #fff; }

#mainNav { transition: background-color .25s ease, box-shadow .25s ease; }
#mainNav .navbar-brand { letter-spacing: -.035em; font-size: 1.25rem; }
#mainNav .brand-dot { color: var(--site-accent); }
#mainNav .navbar-toggler { border: 1px solid rgba(25, 43, 58, .22); padding: .35rem .55rem; }
#mainNav .navbar-nav .nav-link { letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
@media (min-width: 992px) {
  #mainNav .navbar-brand { color: #fff; }
  #mainNav .navbar-nav .nav-link { color: rgba(255,255,255,.82); }
  #mainNav .navbar-nav .nav-link:hover, #mainNav .navbar-nav .nav-link:focus { color: #fff; }
  #mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-shrink .navbar-nav .nav-link { color: var(--site-ink); }
  #mainNav.navbar-shrink .navbar-nav .nav-link:hover, #mainNav.navbar-shrink .navbar-nav .nav-link:focus { color: #bc683e; }
}

header.masthead {
  min-height: 42rem;
  height: 100svh;
  padding-top: 7rem;
  padding-bottom: 5rem;
  color: #fff;
  background: linear-gradient(90deg, rgba(13,31,44,.95) 0%, rgba(13,31,44,.78) 46%, rgba(13,31,44,.2) 100%), url("../assets/hero.svg") center/cover no-repeat;
  position: relative;
}
.hero-copy { position: relative; z-index: 1; }
.hero-kicker, .section-kicker { margin: 0 0 1.35rem; font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero-kicker { color: #f1b58e; }
header.masthead .hero-title { max-width: 12ch; margin: 0; font-size: clamp(3.3rem, 7.6vw, 6.7rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 700; }
.hero-title em { color: #f2b894; font-style: normal; }
.hero-divider { border-color: var(--site-accent); margin: 2rem 0 1.8rem; opacity: 1; }
header.masthead .hero-text { max-width: 34rem; margin-bottom: 2rem; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.7; }
.btn-primary { background: var(--site-accent); border-color: var(--site-accent); color: #1d2d39; }
.btn-primary:hover, .btn-primary:focus-visible { background: #f2ab83; border-color: #f2ab83; color: #1d2d39; }
.hero-button { box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.hero-button span { margin-left: .7rem; font-size: 1.1rem; }
.hero-index { position: absolute; right: max(2rem, 7vw); bottom: 2rem; color: rgba(255,255,255,.62); font-size: .75rem; letter-spacing: .25em; }

.page-section { padding-top: clamp(5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 9vw, 8rem); }
.section-kicker { color: #c47751; }
.section-title { margin: 0; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 700; }
.section-divider { border-color: var(--site-accent); margin: 2rem 0 0; opacity: 1; }
.about-section { background: var(--site-paper); }
.about-copy { padding-top: .3rem; color: var(--site-muted); font-size: 1.05rem; line-height: 1.85; }
.about-copy .lead { color: var(--site-ink); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.65; }
.about-copy p:last-child { margin-bottom: 0; }

.focus-section { background: #fff; }
.focus-heading { margin-bottom: 2.4rem; }
.focus-intro { color: var(--site-muted); line-height: 1.75; margin: 1rem 0 0; }
.focus-card { min-height: 19rem; border: 1px solid #e6e7e7; border-radius: .55rem; padding: 2rem; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.focus-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(25,43,58,.08); }
.card-number { display: block; color: #b46f4a; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.card-mark { width: 3.6rem; height: 3.6rem; border-radius: 1rem; margin: 2rem 0 1.5rem; background: #fbe9df; position: relative; }
.card-mark::before, .card-mark::after { content: ""; position: absolute; display: block; }
.mark-ideas::before { width: 1.6rem; height: 1.6rem; border: .18rem solid #ca8059; border-radius: 50%; left: 1rem; top: 1rem; }
.mark-ideas::after { width: .45rem; height: .45rem; background: #ca8059; border-radius: 50%; left: 1.58rem; top: 1.58rem; }
.mark-projects::before { width: 1.7rem; height: 1.7rem; border: .18rem solid #ca8059; transform: rotate(45deg); left: .95rem; top: .95rem; }
.mark-notes::before { width: 1.65rem; height: .18rem; background: #ca8059; left: 1rem; top: 1.15rem; box-shadow: 0 .58rem #ca8059, 0 1.16rem #ca8059; }
.focus-card h3 { margin-bottom: .8rem; font-size: 1.35rem; letter-spacing: -.025em; }
.focus-card p { margin: 0; color: var(--site-muted); line-height: 1.7; }

.outlook-section { color: #fff; background: linear-gradient(115deg, #192b3a, #263f4c 70%, #37565a); }
.outlook-section .section-kicker { color: #f1b58e; }
.outlook-section p:not(.section-kicker) { color: rgba(255,255,255,.78); font-size: 1.1rem; line-height: 1.8; }
.text-link { display: inline-block; margin-top: 1rem; color: #f1b58e; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .2rem; }
.text-link:hover, .text-link:focus { color: #fff; }
.text-link span { margin-left: .5rem; }

.site-footer { padding: 2rem 0; background: #f7f7f5; color: #66737f; font-size: .8rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: #4f5961; text-decoration: underline; text-underline-offset: .15rem; }

@media (max-width: 991.98px) {
  #mainNav { background: #fff; box-shadow: 0 .25rem 1rem rgba(0,0,0,.08); }
  #mainNav .navbar-brand, #mainNav .navbar-nav .nav-link { color: var(--site-ink); }
  #navbarResponsive { padding-top: .7rem; }
  header.masthead { min-height: 42rem; height: auto; }
  .hero-index { display: none; }
}
@media (max-width: 575.98px) {
  header.masthead { min-height: 40rem; padding-top: 8rem; padding-bottom: 5rem; background-position: 61% center; }
  header.masthead .hero-title { font-size: clamp(3rem, 12vw, 4.3rem); }
  .hero-divider { margin: 1.6rem 0; }
  .focus-card { min-height: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .focus-card, #mainNav { transition: none; }
}
