:root {
  --brand-dark: #262626;
  --brand-yellow: #ffd400;
  --font-heading: "Anton", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bs-primary: var(--brand-yellow);
  --bs-primary-rgb: 255, 212, 0;
  --bs-link-color: var(--brand-dark);
  --bs-link-hover-color: #000;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--brand-dark);
}

h1, h2, h3, h4, h5, h6, .accent {
  font-family: var(--font-heading);
}

/* --- Navbar --- */
.navbar-brand img {
  height: 36px;
}

.navbar-dark {
  background-color: var(--brand-dark) !important;
}

/* --- Buttons ---
   Bootstrap 5.3 bakes .btn-primary's colors into local (non-inherited)
   --bs-btn-* variables at compile time rather than reading --bs-primary,
   so those have to be overridden directly here. */
.btn-primary {
  --bs-btn-bg: var(--brand-yellow);
  --bs-btn-border-color: var(--brand-yellow);
  --bs-btn-hover-bg: #e6bf00;
  --bs-btn-hover-border-color: #e6bf00;
  --bs-btn-active-bg: #cca800;
  --bs-btn-active-border-color: #cca800;
  --bs-btn-color: var(--brand-dark);
  --bs-btn-hover-color: var(--brand-dark);
  --bs-btn-active-color: var(--brand-dark);
  --bs-btn-disabled-bg: var(--brand-yellow);
  --bs-btn-disabled-border-color: var(--brand-yellow);
  font-weight: 600;
}

.btn-outline-light:hover {
  color: var(--brand-dark);
}

/* --- Hero / welcome section --- */
.hero {
  background-color: var(--brand-dark);
  color: #fff;
  padding: 6rem 0 5rem;
}

.hero .accent {
  color: var(--brand-yellow);
}

.hero-underline {
  display: inline-block;
  width: 80px;
  height: 4px;
  background-color: var(--brand-yellow);
  border: 0;
  border-radius: 2px;
  margin: 1.25rem 0;
}

/* --- Bio section --- */
.bio p {
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--brand-yellow);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

/* --- Contact section --- */
.contact-section {
  background-color: #f7f7f7;
}

.contact-card {
  border: none;
  border-top: 4px solid var(--brand-yellow);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 0.25rem rgba(255, 212, 0, 0.35);
}

/* Honeypot field: hidden from sighted users and kept out of the tab order,
   but not display:none — some bots specifically skip display:none fields. */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Footer --- */
footer {
  background-color: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
}

footer a {
  color: var(--brand-yellow);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
