/* Base */
:root {
    color-scheme: light;
    --ink: #11110f;
    --paper: #f7f6f2;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--paper) url("paper-grain.png") repeat;
    color: var(--ink);
    font-family: Optima, "Zapf Humanist 601", "Palatino Linotype", Palatino,
      "Times New Roman", serif;
    -webkit-font-smoothing: antialiased;
  }
  
  h1,
  h2,
  p {
    margin: 0;
    font-weight: 400;
  }
  
  /* Hero */
  .hero {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 10vw 5vw;
    text-align: center;
  }
  
  .hero h1 {
    font-size: clamp(3.6rem, 12vw, 13.5rem);
    line-height: 1;
    letter-spacing: -0.075em;
    white-space: nowrap;
  }
  
  /* About section */
  .about {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(22px, 6vw, 100px) 30px;
    text-align: center;
  }
  
  .intro {
    width: 100%;
    padding-top: clamp(80px, 10vh, 140px);
  }
  
  .intro h2 {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
  }
  
  .disciplines {
    width: 100%;
    margin-top: clamp(48px, 6vh, 90px);
  }
  
  .disciplines p {
    font-size: clamp(1.5rem, 2.4vw, 3rem);
    line-height: 1.16;
    letter-spacing: -0.055em;
  }
  
  /* Footer */
  .site-footer {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
    align-items: center;
    column-gap: 24px;
    margin-top: auto;
    padding-top: 18px;
    font-size: clamp(0.68rem, 0.85vw, 0.92rem);
    line-height: 1.5;
    letter-spacing: 0.015em;
  }
  
  .footer-left {
    text-align: left;
  }
  
  .footer-right {
    text-align: right;
  }
  
  .site-footer .contact {
    font-size: inherit;
    text-align: center;
    white-space: nowrap;
  }
  
  .contact {
    color: inherit;
    font-size: clamp(0.75rem, 0.95vw, 1rem);
    line-height: 1.5;
    text-decoration: none;
    transition: opacity 0.35s ease;
  }
  
  .contact:hover {
    opacity: 0.55;
  }
  
  .contact:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 6px;
  }
  
  /* Entrance and scroll reveals */
  .entrance {
    animation: arrive 1.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  
  .js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 0.9s ease,
      transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Mobile */
  @media (max-width: 680px) {
    .hero h1 {
      font-size: clamp(3rem, 13.5vw, 6rem);
    }
  
    .intro {
      padding-top: 70px;
    }
  
    .intro h2 {
      font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
  
    .disciplines {
      margin-top: 45px;
    }
  
    .disciplines p {
      font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }
  
    .site-footer {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: auto;
      text-align: center;
    }
  
    .footer-left,
    .footer-right {
      text-align: center;
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    .entrance {
      animation: none;
    }
  
    .js .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  
    .contact {
      transition: none;
    }
  }