/* Base styles */

:root {
  --bg-page: #737069;
  --bg-surface: #ffffff;
  --bg-sidebar: #edeee8;
  --accent: #fb6d01;
  --accent-hover: #de2111;
  --text-main: #333333;
  --text-muted: #666666;
  --footer-text: #ffffff;
  --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-page);
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.site-header {
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-link {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.brand-link:hover {
  color: var(--accent-hover);
}

.tagline {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.divider {
  color: var(--text-muted);
}

/* Hero */

.hero {
  width: 100%;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Navigation */

.main-nav {
  background-color: #2f2e2a;
}

.nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f5f5f5;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background-color: #44433f;
  color: #ffffff;
}

.nav-link-active {
  background-color: var(--accent);
  color: #ffffff;
}

/* Main content */

.page-main {
  padding: 1.5rem 0 3rem;
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar */

.sidebar {
  background-color: var(--bg-sidebar);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
}

.sidebar-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.sidebar-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Main content card */

.content {
  background-color: var(--bg-surface);
  padding: 1.75rem 1.75rem 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.page-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.content p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.content a {
  color: var(--accent);
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Two-column bullet lists */

.two-column-lists {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.two-column-lists ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-column-lists li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.two-column-lists li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Footer */

.site-footer {
  background-color: #2f2e2a;
  color: var(--footer-text);
  font-size: 0.75rem;
  padding: 1rem 0 1.2rem;
}

.footer-inner {
  text-align: center;
}

.site-footer p {
  margin: 0.2rem 0;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Responsive behavior */

@media (min-width: 768px) {
  .layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .sidebar {
    flex: 0 0 260px;
  }

  .content {
    flex: 1;
  }

  .two-column-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Headshot on Experience page */

.headshot {
  float: right;
  max-width: 220px;
  height: auto;
  margin: 0 0 1.25rem 1.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

/* Stack nicely on smaller screens */
@media (max-width: 768px) {
  .headshot {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 60%;
  }
}


@media (max-width: 600px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-quick {
    justify-content: flex-start;
  }

  .content {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}
