:root {
  --navy: #0f1647;
  --gold: #b79148;
  --hair: rgba(183, 145, 72, .28);
  --serif: "Times New Roman", Times, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--navy); color: var(--gold); font-family: var(--serif); font-size: 17.6px; line-height: 1.8; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Header: Calendar left, name centered, Instagram right (as on the current site) ---------- */
.site-header { background: var(--navy); }
.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  min-height: 130px;
  padding: 16px 4vw;
}
.left  { justify-self: start; }
.right { justify-self: end; }
.brand { grid-column: 2; text-align: center; text-decoration: none; line-height: 1.15; }
.brand .name { display: block; font-size: 36px; font-weight: 700; white-space: nowrap; }
.brand .tag { display: block; font-size: 23px; margin-top: 4px; }

.text-link {
  text-decoration: none; line-height: 35px; display: inline-block;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 85%; background-size: 0 1px;
  transition: background-size .25s ease;
}
.text-link:hover, .text-link:focus-visible { background-size: 100% 1px; outline: none; }
.icon-link { display: inline-flex; }
.icon-link svg { width: 20px; height: 20px; fill: var(--gold); display: block; }

.menu-btn, .site-nav { display: none; }

/* ---------- Biography: text left, headshot right ---------- */
.bio {
  max-width: 1180px;
  margin: 0 auto;
  padding: 105px 4vw;
  box-sizing: content-box;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(0, 580px);
  justify-content: center;
  column-gap: 72px;
  align-items: start;
}
.bio p { margin: 0 0 16px; }
.bio figure { margin: 0; }
.bio img { width: 100%; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); padding: 8px; z-index: 30; }

/* ---------- Phones, tablets and zoomed-in desktop ---------- */
@media (max-width: 860px) {
  .site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hair); }
  .bar { grid-template-columns: 40px 1fr 40px; min-height: 0; padding: 14px 16px; column-gap: 8px; }
  .left, .right { display: none; }
  .brand .name { font-size: clamp(16px, 5.3vw, 26px); white-space: normal; }
  .brand .tag { font-size: clamp(14px, 4.2vw, 17px); margin-top: 3px; }

  .menu-btn {
    display: inline-flex; grid-column: 3; justify-self: end; align-items: center; justify-content: center;
    width: 40px; height: 44px; padding: 0; margin: 0; background: none; border: 0; cursor: pointer;
  }
  .menu-btn .lines { position: relative; width: 22px; height: 13px; }
  .menu-btn .lines span, .menu-btn .lines::before, .menu-btn .lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold);
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
  }
  .menu-btn .lines::before { top: 0; }
  .menu-btn .lines span { top: 6px; }
  .menu-btn .lines::after { top: 12px; }
  .menu-open .menu-btn .lines::before { top: 6px; transform: rotate(45deg); }
  .menu-open .menu-btn .lines span { opacity: 0; }
  .menu-open .menu-btn .lines::after { top: 6px; transform: rotate(-45deg); }

  /* Drop-down: shown by default, hidden only once the script runs, so links are never lost */
  .site-nav { display: block; border-top: 1px solid var(--hair); }
  .js .site-nav { display: none; }
  .js .menu-open .site-nav { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-nav ul { list-style: none; margin: 0; padding: 0 16px; }
  .site-nav li + li { border-top: 1px solid var(--hair); }
  .site-nav a { display: block; text-align: center; text-decoration: none; padding: 16px 0; font-size: 17.6px; line-height: 1.4; }

  .bio { grid-template-columns: 1fr; padding: 36px clamp(28px, 9vw, 48px) 72px; box-sizing: border-box; }
  .bio figure { order: -1; width: 100%; max-width: 520px; margin: 0 auto 32px; }
  .bio p { font-size: 17.6px; line-height: 1.75; }
}
@media (max-width: 860px) and (max-height: 320px) {
  .bar { padding-top: 6px; padding-bottom: 6px; }
  .site-nav a { padding: 8px 0; }
}
