:root {
  --paper: #f7efe2;
  --cream: #fff9ee;
  --ink: #1e1712;
  --muted: #74675a;
  --brown: #7a431f;
  --brown-dark: #3a2114;
  --yellow: #f4b740;
  --yellow-soft: #ffe3a6;
  --blue: #194e78;
  --green: #254d3a;
  --line: rgba(58, 33, 20, 0.16);
  --shadow: 0 18px 38px rgba(58, 33, 20, 0.10);
  --radius: 22px;
  --max: 1080px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 3%, rgba(244, 183, 64, 0.30), transparent 27%),
    radial-gradient(circle at 91% 6%, rgba(122, 67, 31, 0.18), transparent 30%),
    linear-gradient(135deg, #f8ecda 0%, #f7efe2 55%, #edf2e8 100%);
  line-height: 1.52;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 16px;
  padding: 10px 0;
  background: rgba(247, 239, 226, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--brown-dark);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.nav a:hover {
  color: var(--brown-dark);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.profile-card,
.news-card,
.card,
.contact {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-card {
  background: rgba(255, 249, 238, 0.86);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px;
  min-height: 270px;
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -85px;
  bottom: -95px;
  border-radius: 999px;
  background: rgba(244, 183, 64, 0.25);
  z-index: 0;
}

.photo-block {
  position: relative;
  z-index: 1;
}

.photo-block.missing-photo::before {
  content: "GN";
  width: 150px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 4px solid #fff7e8;
  background: linear-gradient(135deg, var(--yellow-soft), #dfc5a4);
  color: var(--brown-dark);
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(58, 33, 20, 0.16);
  transform: rotate(-1.5deg);
}

.portrait {
  width: 150px;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 4px solid #fff7e8;
  box-shadow: 0 14px 26px rgba(58, 33, 20, 0.16);
  transform: rotate(-1.5deg);
  background: #e4d4bd;
}

.photo-note {
  position: absolute;
  left: 10px;
  bottom: -10px;
  background: var(--yellow);
  color: var(--brown-dark);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 9px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(58, 33, 20, 0.14);
}

.intro {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.eyebrow::before {
  content: "";
  width: 23px;
  height: 2px;
  background: var(--yellow);
  border-radius: 999px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 10px;
  color: var(--brown-dark);
}

.intro-text {
  max-width: 58ch;
  margin: 0;
  color: #4a4035;
  font-size: 0.94rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--cream);
  color: var(--brown-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.button.primary {
  background: var(--brown-dark);
  color: white;
  border-color: var(--brown-dark);
}

.button.primary:hover {
  background: var(--brown);
  color: white;
}

.news-card {
  background: var(--brown-dark);
  color: white;
  border-radius: var(--radius);
  padding: 19px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}

.news-top h2,
.section-head h2,
.contact h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
}

.live {
  color: var(--yellow);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-item {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px 0;
}

.news-date {
  display: block;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.news-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.news-item a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 3px;
}

.focus-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  margin: 16px 0 32px;
}

.focus-strip span {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 8px;
  background: rgba(255, 249, 238, 0.72);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

section {
  margin-top: 38px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head h2 {
  color: var(--brown-dark);
}

.section-note {
  margin: 0;
  color: var(--muted);
  max-width: 550px;
  font-size: 0.9rem;
}

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

.card {
  background: rgba(255, 249, 238, 0.84);
  border-radius: 20px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 7px;
  font-size: 0.98rem;
  color: var(--brown-dark);
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.publication {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.publication:first-child {
  border-top: none;
  padding-top: 0;
}

.publication:last-child {
  padding-bottom: 0;
}

.year {
  color: var(--brown);
  font-weight: 900;
  font-size: 0.78rem;
}

.pub-title {
  font-weight: 850;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
  font-size: 0.96rem;
}

.pub-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.87rem;
}

.pub-link {
  display: inline-block;
  margin-top: 7px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 11px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  background: rgba(255, 249, 238, 0.84);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.timeline-item strong {
  color: var(--brown-dark);
  font-size: 0.95rem;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.events {
  display: grid;
  gap: 10px;
}

.event {
  display: grid;
  grid-template-columns: 125px 1fr auto;
  gap: 14px;
  align-items: start;
  background: rgba(255, 249, 238, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}

.event-date {
  color: var(--brown);
  font-weight: 900;
  font-size: 0.76rem;
  white-space: nowrap;
}

.event-title {
  color: var(--brown-dark);
  font-weight: 780;
  font-size: 0.91rem;
}

.event-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.83rem;
}

.event-type {
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact {
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.contact-links {
  display: grid;
  gap: 8px;
}

.contact-links a {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
  font-size: 0.88rem;
}

.contact-links a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.13);
}

footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .profile-card,
  .news-card {
    min-height: 0;
  }

  .focus-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .contact {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 110px 1fr;
  }

  .event-type {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .page {
    width: min(100% - 22px, var(--max));
    padding-top: 10px;
  }

  .topbar-inner {
    width: min(100% - 22px, var(--max));
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .nav {
    gap: 11px;
    font-size: 0.73rem;
  }

  .profile-card {
    grid-template-columns: 78px 1fr;
    gap: 13px;
    padding: 15px;
    border-radius: 20px;
  }

  .photo-block.missing-photo::before,
  .portrait {
    width: 78px;
    height: 98px;
    border-radius: 16px;
    border-width: 3px;
  }

  .photo-block.missing-photo::before {
    font-size: 1.35rem;
  }

  .photo-note {
    display: none;
  }

  .eyebrow {
    font-size: 0.6rem;
    margin-bottom: 5px;
  }

  .eyebrow::before {
    width: 17px;
  }

  h1 {
    font-size: clamp(1.7rem, 10vw, 2.55rem);
  }

  .intro-text {
    font-size: 0.84rem;
  }

  .quick-links {
    grid-column: 1 / -1;
    margin-top: 11px;
  }

  .button {
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .news-card {
    padding: 16px;
    border-radius: 20px;
  }

  .news-top h2,
  .section-head h2,
  .contact h2 {
    font-size: 1.45rem;
  }

  .news-item {
    padding: 9px 0;
  }

  .news-item p {
    font-size: 0.84rem;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .publication,
  .timeline-item,
  .event {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .event-type {
    grid-column: auto;
  }

  .focus-strip {
    margin-bottom: 25px;
  }

  .focus-strip span {
    font-size: 0.73rem;
    padding: 9px 7px;
  }
}

