/* Chloe R. Jamison — clean architectural résumé (sochloe.com) */

:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #3a3a3a;
  --muted: #6a6a6a;
  --rule: #e2e0da;
  --accent: #2a343f;
  --max: 1120px;
  --gap: clamp(1.75rem, 4.5vw, 3.75rem);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.35fr);
  gap: var(--gap);
  align-items: start;
}

.portrait-col {
  position: sticky;
  top: clamp(1.25rem, 3vw, 2rem);
}

.portrait {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 0.65rem;
}

.portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
}

.content-col {
  min-width: 0;
  padding-top: 0.25rem;
}

.intro {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.meta {
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.location {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.role {
  font-size: 0.95rem;
  color: var(--muted);
}

.bio {
  margin: 0;
  max-width: 40rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.block {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.block h2 {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.entries > li {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--rule);
}

.entries > li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.2rem;
}

.org {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}

.dates {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.detail {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.bullets {
  margin: 0.55rem 0 0;
  padding: 0 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.bullets li {
  margin-bottom: 0.35rem;
}

.bullets li:last-child {
  margin-bottom: 0;
}

.awards-list li {
  margin-bottom: 0.4rem;
}

/* Portfolio & Resume cards */
.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
  border-color: var(--accent);
  color: var(--ink);
  background: #fafaf8;
}

.doc-card-label {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.doc-card-action {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-card:hover .doc-card-action,
.doc-card:focus-visible .doc-card-action {
  color: var(--accent);
}

/* Contact */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
  font-size: 0.98rem;
}

.contact-label {
  font-weight: 600;
  color: var(--ink);
  min-width: 4.5rem;
}

.contact-list a {
  font-weight: 500;
}

.contact-socials {
  align-items: flex-start;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 12rem;
}

.social-links li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.social-name {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.site-footer {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .portrait-col {
    position: static;
    max-width: 22rem;
    margin: 0 auto;
  }

  .intro h1 {
    font-size: clamp(2.15rem, 9vw, 2.85rem);
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.15rem 1.1rem 2rem;
  }

  .portrait {
    padding: 0.45rem;
  }

  .dates {
    white-space: normal;
  }

  .doc-cards {
    grid-template-columns: 1fr;
  }

  .contact-list > li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-label {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  .page {
    display: block;
    max-width: none;
    padding: 0;
  }

  .portrait-col {
    position: static;
    max-width: 3.2in;
    margin-bottom: 1rem;
  }

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

  .doc-card {
    border-color: #ccc;
  }

  .site-footer {
    display: none;
  }
}
