/* Stoner Capital — simple, fast, static
   Light theme. Brand blue accent. Designed to feel quietly confident. */

:root{
  --brand:        #20A0E0;
  --brand-deep:   #1789c2;
  --brand-soft:   rgba(32, 160, 224, 0.10);

  --ink:          #0b1220;
  --ink-2:        #243047;
  --muted:        #5b667a;

  --bg:           #ffffff;
  --alt:          #f5f7fb;
  --card:         #ffffff;

  --border:       rgba(11, 18, 32, 0.12);
  --border-2:     rgba(11, 18, 32, 0.06);
  --shadow:       0 10px 30px rgba(11, 18, 32, 0.10);
  --shadow-sm:    0 8px 18px rgba(11, 18, 32, 0.06);

  --radius:       18px;
  --radius-sm:    12px;
  --max:          1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
               "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

img{ max-width: 100%; display: block; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position: absolute; left: -999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus{
  left: 16px; top: 16px; width: auto; height: auto;
  background: var(--ink); color: white;
  padding: 10px 12px; border-radius: 10px; z-index: 9999;
}

/* ---------- Header ---------- */

.site-header{
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand-link{ display: inline-flex; align-items: center; }
.brand{
  height: 46px;
  width: auto;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}
.nav a{
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--ink-2);
}
.nav a:hover{
  background: var(--brand-soft);
  color: var(--brand-deep);
  text-decoration: none;
}

.nav-toggle{
  display: none;
  border: 1px solid var(--border);
  background: white;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero{
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(32,160,224,.30), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(32,160,224,.18), transparent 55%);
  padding: 64px 0 36px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.lead{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 60ch;
}

.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(32,160,224,.35);
  background: var(--brand);
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(32,160,224,.22);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover{
  text-decoration: none;
  filter: brightness(0.97);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(32,160,224,.28);
}
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: none;
}
.btn-ghost:hover{
  background: rgba(11,18,32,.04);
  filter: none;
}

.note{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.hero-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card img{
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius) - 8px);
}

/* ---------- Sections ---------- */

.section{ padding: 56px 0; }
.section.alt{
  background: var(--alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2{
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h3{ margin: 0 0 8px; }

.section-lead,
.section h2 + p{
  color: var(--muted);
  font-size: 16px;
  max-width: 64ch;
  margin: 0 0 20px;
}

.grid-3{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.tile{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(32,160,224,.25);
}
.tile h3{ color: var(--ink); }
.tile p{ color: var(--muted); margin: 0; }

.bullets{
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 8px 0; }

.callout{
  background: white;
  border: 1px solid rgba(32,160,224,.25);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(11,18,32,.06);
}
.callout h3{ margin-top: 12px; }
.callout h3:first-child{ margin-top: 0; }

.founder-bio{
  margin: 18px 0 0;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
}
.founder-bio strong{ color: var(--ink); }

/* ---------- Portfolio ---------- */

.portfolio-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.portfolio-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(32,160,224,.30);
}
.portfolio-card-head{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-2);
}
.portfolio-card h3{
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.role{
  color: var(--brand-deep);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 800;
}
.portfolio-card p{
  color: var(--muted);
  font-size: 15px;
  flex-grow: 1;
  margin: 0 0 14px;
}
.portfolio-link{
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portfolio-link:hover{ text-decoration: none; color: var(--brand); }
.portfolio-link span{ transition: transform 0.18s ease; display: inline-block; }
.portfolio-link:hover span{ transform: translateX(3px); }

/* ---------- Timeline (Principles) ---------- */

.timeline{
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.step{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.dot{
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 50%;
  margin-top: 6px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 5px rgba(32,160,224,.18);
}
.step h3{ margin-bottom: 4px; }
.step p{ margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-card{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.kicker{
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin: 0 0 6px;
}
.big{
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}
.big a{
  color: var(--brand-deep);
  border-bottom: 1px dashed rgba(32,160,224,.45);
  padding-bottom: 1px;
}
.big a:hover{
  text-decoration: none;
  border-bottom-color: var(--brand);
  color: var(--brand);
}
.muted{ color: var(--muted); font-size: 13px; margin: 0; }

.disclaimer{
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
}

/* ---------- Footer ---------- */

.site-footer{
  padding: 22px 0;
  border-top: 1px solid var(--border);
  background: white;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}
.footer-left{
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.footer-inner .footer-right{
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer-link:hover{
  color: var(--brand-deep);
  text-decoration: none;
}
.footer-link .icon{
  display: block;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px){
  .hero-grid       { grid-template-columns: 1fr; }
  .hero-card       { order: -1; }
  .hero-card img   { max-height: 220px; }
  .grid-3          { grid-template-columns: 1fr; }
  .grid-2          { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .contact-card    { grid-template-columns: 1fr; }
  .nav-toggle      { display: inline-flex; }
  .nav{
    display: none;
    position: absolute;
    right: 20px;
    top: 70px;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav.open{ display: flex; }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
