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

:root {
  --bg: #c3dbfa73;
  --text: #111111;
  --muted: #888888;
  --underline: #cccccc;
  --nav-active: #111111;
  --border: #eeeeee;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links > li > a,
.nav-links > li > .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > .nav-trigger:hover {
  color: var(--nav-active);
  background: #f5f5f5;
}

.nav-links > li > a.active {
  color: var(--nav-active);
  font-weight: 500;
}

/* arrow chevron */
.chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s;
}

.nav-dropdown-item.open .chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* ── DROPDOWN ── */
.nav-dropdown-item {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 5px;
  min-width: 155px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  flex-direction: column;
  gap: 1px;
}

.nav-dropdown-item.open .dropdown {
  display: flex;
}

.dropdown a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--muted);
  border-radius: 6px;
  text-decoration: none;
  transition: background .12s, color .12s;
}

.dropdown a:hover {
  background: #f5f5f5;
  color: var(--nav-active);
}

/* ── PAGE LAYOUT ── */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── MAIN CONTENT ── */
main {
  padding: 64px 0 80px;
  max-width: 900px; /* change this from 580px to 900px */
}

h1 {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

p {
  color: #333;
  margin-bottom: 14px;
}

a.inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--underline);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
a.inline:hover { text-decoration-color: var(--text); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: #f0f0f0;
  margin: 36px 0;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: darkblue;
  margin-bottom: 14px;
}

/* ── LIST ── */
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list li {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.list li::before {
  content: '→';
  color: #bbb;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  font-size: 12px;
  color: var(--muted);
}
.intro {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.intro-text {
  flex: 1;
}

.profile-photo {
  width: 250px;
  height: 270px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  
}
.email-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.email-btn:hover {
  background: #f5f5f5;
  border-color: #aaa;
}

/* ── ARTICLE LIST ── */
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.article-list li {
  border-bottom: 1px solid var(--border);
}

.article-list li:first-child {
  border-top: 1px solid var(--border);
}

.article-list button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: left;
  transition: opacity .15s;
}

.article-list button:hover .article-title {
  color: darkblue;
}

.article-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.01em;
}

.article-meta {
  font-size: 12px;
  color: darkblue;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── ARTICLE DETAIL ── */
#detail-view {
  display: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  padding: 0;
  margin-bottom: 48px;
  transition: color .15s;
}

.back-btn:hover {
  color: var(--text);
}

.back-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.detail-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.detail-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.35;
  margin-bottom: 28px;
}

.detail-body {
  max-width: 700px;
}

.detail-body p {
  font-size: 15px;
  color: #333;
  line-height: 1.75;
  margin-bottom: 20px;
}
.detail-body h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 28px;
}

.detail-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  margin-top: -16px;
}

/* ── ARTICLE PHOTOS ── */
.photo-row {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

.photo-row img {
  width: calc(50% - 6px);
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.photo-company {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.photo-company img {
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.photo-company p {
  margin-bottom: 0;
}