/* Akram Sheriff — personal academic / technology website */
:root {
  --text: #222;
  --muted: #666;
  --link: #0645ad;
  --border: #ddd;
  --background: #fff;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 600;
}

.role {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
}

p {
  margin: 0 0 18px;
}

ul {
  margin-top: 8px;
  padding-left: 25px;
}

li {
  margin: 5px 0;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

.focus-list {
  columns: 2;
  column-gap: 40px;
}

.focus-list li {
  break-inside: avoid;
}

.links {
  columns: 2;
  column-gap: 40px;
}

.links li {
  break-inside: avoid;
}

.contact {
  margin-top: 36px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .container {
    padding-top: 30px;
  }

  .focus-list,
  .links {
    columns: 1;
  }

  body {
    font-size: 16px;
  }
}


.profile {
  display: flex;
  align-items: center;
  gap: 28px;
}

.profile-photo {
  width: 150px;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 680px) {
  .profile {
    align-items: flex-start;
    gap: 18px;
  }

  .profile-photo {
    width: 105px;
    height: 135px;
  }
}

.awards-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.awards-gallery figure {
  margin: 0;
}

.awards-gallery img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f7f7f5;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.awards-gallery figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .awards-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .awards-gallery img {
    height: 120px;
  }
}

.testimonial-snapshot {
  margin: 18px 0 22px;
}

.testimonial-snapshot img {
  display: block;
  width: 100%;
  max-width: 700px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.testimonial-snapshot figcaption {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

blockquote {
  margin: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--border);
  font-style: italic;
  color: #333;
}

blockquote p {
  margin: 0 0 14px;
}

blockquote .attribution {
  margin-top: 4px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}
