:root {
  --asu-maroon: #8c1d40;
  --asu-gold: #ffc627;
  --asu-white: #ffffff;
  --gray-1: #191919;
  --gray-2: #484848;
  --gray-6: #e8e8e8;
  --gray-7: #fafafa;
  --ink: var(--gray-1);
  --muted: var(--gray-2);
  --line: var(--gray-6);
  --chip-bg: rgba(255, 198, 39, 0.2);
  --bg-soft-gold: #fffdf8;
  --font-serif-option-1: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", serif;
  --font-serif-option-2: Baskerville, "Baskerville Old Face", "Times New Roman",
    serif;
  --font-serif-option-3: "EB Garamond", Garamond, "Times New Roman", serif;
  --font-serif-option-4: Georgia, "Times New Roman", serif;
  /* Switch to option-2/3/4 to preview different serif styles. */
  --font-serif: var(--font-serif-option-1);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg-soft-gold);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.7;
}

a {
  color: var(--asu-maroon);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container{
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.topbar {
  padding: 28px 0 18px;
  background: var(--asu-maroon);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  color: var(--asu-white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 1.02rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.nav a.active,
.nav a:hover {
  color: var(--asu-white);
  border-bottom-color: var(--asu-white);
  text-decoration: none;
}

main {
  padding: 30px 0 52px;
}

.intro {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.photo-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-photo-frame {
  margin: 0;
}

.profile-photo {
  width: 100%;
  max-width: 175px;
  display: block;
  border-radius: 8px;
}

.photo-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.photo-contact-list li + li {
  margin-top: 8px;
}

.photo-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  word-break: break-word;
}

.photo-contact-link:hover {
  color: var(--asu-maroon);
  text-decoration: none;
}

.icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--asu-maroon);
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.72rem, 2.8vw, 2.35rem);
}

h2 {
  font-size: 1.36rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  font-size: 1.05rem;
  margin: 0 0 10px;
}

.lead {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 0.92rem;
  color: #6b4f00;
  background: var(--chip-bg);
}

.section {
  margin-top: 28px;
  padding-top: 14px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 0;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.meta {
  color: var(--muted);
  font-size: 1rem;
}

.timeline-item + .timeline-item {
  margin-top: 12px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li + li {
  margin-top: 6px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-block;
  padding: 3px 0;
  font-size: 1.01rem;
  border-bottom: 1px solid transparent;
}

.button.primary {
  color: var(--asu-maroon);
  border-bottom-color: rgba(140, 29, 64, 0.35);
}

.button.ghost {
  color: var(--muted);
}

.button:hover {
  text-decoration: none;
  border-bottom-color: var(--asu-maroon);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.01rem;
}

.table th,
.table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

.table th {
  color: var(--muted);
  font-weight: 600;
}

.table tr:last-child td {
  border-bottom: none;
}

footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 12px 0 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (max-width: 820px) {
  .intro,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 150px;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.timeline-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;             
}

.timeline-head h3{
  margin:0;
}

.timeline-head .loc{
  white-space:nowrap;   
  font-size:1em;
  opacity:0.8;
}

.table{
  width: 100%;
  table-layout: fixed;
}

.table th, .table td{
  overflow-wrap: anywhere;
}

.meta-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
}
.meta-row .year{ white-space:nowrap; }

.toggle-panel {
  margin: 0;
}

.toggle-summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.36rem;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}

.toggle-summary::-webkit-details-marker {
  display: none;
}

.toggle-summary::after {
  content: "+";
  color: var(--asu-maroon);
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1;
}

.toggle-panel[open] .toggle-summary::after {
  content: "-";
}

.toggle-content {
  margin-top: 12px;
}

.flight-line{
  display:flex;
  align-items:center;
  gap:10px;
}

.flight-line img{
  display:block;
  height:55px;          /* 可选：flight 条目高度*/
  width:auto;
}

.chip-maroon{
  background: rgba(140, 29, 64, 0.2);  /* #8C1D40 的 20% 不透明度 */
  color: #8C1D40;                      /* 通常半透明底更适合用深色字 */
}

.chip-gold{
  background: rgba(255, 198, 39, 0.2); /* #FFC627 的 20% 不透明度 */
  color: #6b4f00;                      /* 或 #191919 */
}

.section h3{ margin: 18px 0 10px; }
.section h4{ margin: 10px 0 8px; }
.section .list{ margin: 0 0 14px; }

.table-muted-head th{ color:#747474; }  /* 灰色表头 */