/* ========================
   ABOUT PAGE LAYOUT
   ======================== */
.about-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: start;
  max-width: 1700px;
  width: 100%;
  margin: 0 auto;
}

/* ========================
   TEXT COLUMN
   ======================== */
.about-text {
  padding: 32px 40px 32px 32px;
  box-sizing: border-box;
}

.about-heading {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: #424242;
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.about-body {
  font-size: 12px;
  color: #424242;
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 400px;
}

.about-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0,0,0,0.35);
}

.about-body a:hover {
  text-decoration-color: #424242;
}

.about-bullets {
  list-style: none;
  padding: 0;
  margin: 2px 0 12px;
}

.about-bullets li {
  font-size: 12px;
  color: #424242;
  line-height: 1.65;
}

.about-bullets li::before {
  content: '· ';
  color: #424242;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
}

/* ========================
   EXPERIENCE / EDUCATION
   ======================== */
.about-section {
  margin-top: 20px;
}

.about-section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: #424242;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.about-list {
  display: flex;
  flex-direction: column;
}

.about-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 12px;
  color: #424242;
  font-weight: 400;
}

.about-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.about-item-left {
  min-width: 0;
}

.about-company {
  color: #054FF0;
}

.about-role {
  color: #6B7280;
  font-weight: 400;
}

.about-year {
  flex-shrink: 0;
  color: #6B7280;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ========================
   PHOTO GRID
   ======================== */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  position: sticky;
  top: 50px;
  height: calc(100vh - 50px - 40px);
  padding: 32px 32px 32px 0;
  box-sizing: border-box;
}

.photo-portrait {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: #C8B8A0;
}

.photo-flowers {
  overflow: hidden;
  background: #E8A8B8;
}

.photo-paintings {
  overflow: hidden;
  background: #8098A8;
}

.photo-portrait img,
.photo-flowers img,
.photo-paintings img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder photo labels (shown when no real image) */
.photo-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* HI! badge on portrait */
.hi-badge {
  position: absolute;
  bottom: 32%;
  left: 52%;
  transform: translateX(-50%);
  background: #054FF0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}

/* ========================
   MOBILE — max-width 768px
   ======================== */
@media (max-width: 768px) {

  .about-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .about-text {
    padding: 36px 20px 40px;
  }

  .about-heading {
    font-size: 30px;
  }

  .about-body {
    max-width: 100%;
  }

  .about-photos {
    height: 380px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
}

/* ========================
   DARK MODE
   ======================== */
[data-theme="dark"] .about-layout {
  background-color: #000000;
}

/* Warm tinted surface for the text column */
[data-theme="dark"] .about-text {
  background: linear-gradient(to bottom right, #000000, #000000);
  border-right: 1px solid rgba(255, 244, 220, 0.05);
}

[data-theme="dark"] .about-heading     { color: #F9F8F3; }
[data-theme="dark"] .about-body        { color: #6B7280; }
[data-theme="dark"] .about-body a      { color: rgba(249,248,243,0.65); text-decoration-color: rgba(255,244,220,0.3); }
[data-theme="dark"] .about-body a:hover { text-decoration-color: rgba(249,248,243,0.65); }
[data-theme="dark"] .about-bullets li  { color: #6B7280; }
[data-theme="dark"] .about-section-title { color: #F9F8F3; }
[data-theme="dark"] .about-company { color: #054FF0; }

[data-theme="dark"] .about-item {
  color: rgba(249,248,243,0.55);
  border-bottom-color: rgba(255, 244, 220, 0.06);
}
[data-theme="dark"] .about-item:first-child {
  border-top-color: rgba(255, 244, 220, 0.06);
}
[data-theme="dark"] .about-role { color: rgba(249,248,243,0.35); }
[data-theme="dark"] .about-year { color: rgba(249,248,243,0.28); }
