:root {
  color-scheme: light;
  --ground: #f8f5ee;
  --ink: hsl(0 0% 10%);
  --gap: clamp(1.25rem, 4vw, 3.625rem);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-width: 240px; min-height: 100vh;
  background: var(--ground); color: var(--ink);
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-size: clamp(1rem, 0.91rem + .28vw, 1.25rem); line-height: 1.8;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ak-rust); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky; z-index: 5; top: 0;
  background: var(--ground);
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(.9rem, 2.2vw, 1.8rem) 4vw;
  gap: 1.6rem;
}
.logo { flex: 0 1 auto; }
.logo img { width: clamp(8rem, 14vw, 12.5rem); height: auto; }
.desktop-menu, .desktop-menu nav, .social { display: flex; align-items: center; }
.desktop-menu { gap: clamp(1.5rem, 3vw, 2.75rem); }
.desktop-menu nav { gap: clamp(1rem, 2vw, 2rem); }
.site-header nav a { text-decoration: none; font-size: 1.05em; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.social { gap: .8rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; width: 1.45rem; height: 1.8rem; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.mobile-menu { display: none; }
main {
  width: min(calc(100% - 2 * var(--gap)), 900px);
  margin: 0 auto;
  padding: clamp(3rem, 7.5vw, 7.5rem) 0 clamp(5rem, 11vw, 9rem);
}
main h1 { font-size: clamp(2.05rem, 1.1rem + 2.45vw, 3.65rem); line-height: 1.32; font-weight: 500; margin: 0 0 .85em; }
p { margin: 0 0 1.15em; }
main > div + div { margin-top: clamp(1.35rem, 3.1vw, 2.8rem); }
.home main { width: min(calc(100% - 2 * var(--gap)), 720px); }
.home .ak > .ak-standfirst { font-size: clamp(1.3rem, 1.15rem + .45vw, 1.68rem); }
.home .sqsrte-large { font-size: clamp(1.23rem, 1rem + .67vw, 1.62rem); line-height: 1.75; }
.home .ak-pointers { margin-top: clamp(2rem, 4.5vw, 4.25rem); }
.about main {
  width: min(calc(100% - 2 * var(--gap)), 1260px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 4.75rem; align-items: start;
}
.about main > div + div { margin-top: 0; }
.portrait img { width: min(65%, 370px); height: auto; margin-inline: auto; }
.investments main { width: min(calc(100% - 2 * var(--gap)), 590px); }
.investments main > div + div { margin-top: 0; }
.speaking main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem, 7vw, 6rem); }
.speaking main > div + div { margin-top: 0; }
.ak-inv li { flex-wrap: wrap; gap: .15rem .75rem; }
.ak-pointers .t, .ak-pointers .d { display: block; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; top: 1rem; left: 1rem; z-index: 10; padding: .45rem .8rem; background: var(--ground); }
@media (max-width: 767px) {
  :root { --gap: max(1rem, 6vw); }
  .site-header { padding: .95rem 6vw; }
  .desktop-menu { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; gap: 8px; justify-items: center; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 27px; border-top: 1px solid currentColor; display: block; transition: transform .15s; }
  .mobile-menu[open] summary span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-panel { position: absolute; inset: 100% 0 auto; background: var(--ground); box-shadow: 0 11px 18px #1a1a1a12; padding: 2rem 1.2rem 1.2rem; }
  .mobile-panel nav { display: grid; gap: .55rem; text-align: center; font-size: 1.45rem; }
  .mobile-panel .social { justify-content: center; padding-top: 1.25rem; }
  .about main,.speaking main { width: min(calc(100% - 2 * var(--gap)), 900px); display: block; }
  .about main > div + div,.speaking main > div + div { margin-top: 1.75rem; }
  .portrait img { width: min(62%, 290px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
