/* ---------------------------------------------------------------
   Bren Huber — personal site
   White background, black text, centered single column.
   --------------------------------------------------------------- */

:root {
  --black:  #000000;
  --muted:  #666666;
  --faint:  #8c8c8c;
  --line:   #e6e6e6;
  --line-2: #d0d0d0;
  --wash:   #f4f4f4;
  --white:  #ffffff;

  --measure: 780px;
  --radius:  14px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 96px 24px 72px;
}

/* ----------------------------------------------------- Intro --- */

.intro { text-align: center; }

.headshot {
  width: 168px;
  height: 168px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.name {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.tagline {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.011em;
}

.meta {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.006em;
}

/* --------------------------------------------------- Section --- */

.section { margin-top: 80px; }

.section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ------------------------------------------------- AgentPeek --- */

.feature {
  display: block;
  padding: 40px 32px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.feature:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}

.feature-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
}

.feature-name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.022em;
}

.stat {
  margin: 26px auto 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--faint);
}

.feature-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.008em;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color .18s ease;
}

.feature:hover .feature-link { border-color: var(--black); }

.arrow {
  display: inline-block;
  transition: transform .18s ease;
}

.feature:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------ Experience --- */

.roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.role {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.role-logo {
  display: flex;
  align-items: center;
  height: 40px;
  margin-bottom: 16px;
}

.logo-gm { width: 34px; height: 34px; }
.logo-nv { width: auto; height: 30px; }

.role-company {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
}

.role-title {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.008em;
}

.role-meta {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: -0.004em;
}

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

.footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;                 /* comfortable tap target */
  height: 44px;
  border-radius: 50%;
  color: var(--faint);
  transition: color .18s ease, background-color .18s ease;
}

.socials a:hover {
  color: var(--black);
  background: var(--wash);
}

.socials svg { display: block; }

/* ---------------------------------------------------- Mobile --- */

@media (max-width: 680px) {
  .page { padding: 64px 20px 56px; }

  .headshot { width: 136px; height: 136px; margin-bottom: 26px; }
  .name     { font-size: 34px; }
  .tagline  { font-size: 17px; }

  .section       { margin-top: 60px; }
  .feature       { padding: 34px 24px 30px; }
  .stat-value    { font-size: 34px; }

  .roles  { grid-template-columns: 1fr; }
  .footer { margin-top: 60px; }
}

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