:root {
  --paper-clay: #ECE7E1;
  --detail-light-beige: #F3EEE8;
  --desert-taupe: #B7A89A;
  --umber: #443A35;
  --soft-ivory: #F8F5F2;
  --warm-gray: #D8D1CB;
  --secondary-text: #7B6E67;
  --display-font: "Athena Light", "Athena", "Cormorant Garamond", "Playfair Display", serif;
  --ui-font: "Inter", "IBM Plex Sans", sans-serif;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-300.woff2') format('woff2');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-500.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/plex-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/plex-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('/assets/fonts/plex-500.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  background: var(--paper-clay);
  color: var(--umber);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper-clay);
  color: var(--umber);
  font-family: var(--ui-font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 6px 34px 6px 29px;
  background: rgba(236, 231, 225, .94);
  box-shadow: 0 2px 10px rgba(68, 58, 53, .12);
  backdrop-filter: blur(14px);
  isolation: isolate;
  overflow: visible;
  transform: translateY(0);
  transition: transform .34s cubic-bezier(.4, 0, .2, 1);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 12px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(68, 58, 53, .12), rgba(68, 58, 53, 0));
}

.site-header.is-hidden { transform: translateY(-68px); }

.site-logo {
  display: block;
  width: 142px;
  height: 46px;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) saturate(100%) invert(22%) sepia(10%) saturate(766%) hue-rotate(337deg) brightness(94%) contrast(88%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  color: var(--umber);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .22em;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
  transition: color .25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .22em;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.site-nav a:hover { color: var(--desert-taupe); }
.site-nav a:hover::after { transform: scaleX(1); }

.site-main {
  min-height: 100vh;
}

.home-scroll-page {
  background: var(--paper-clay);
}

.home-panel {
  min-height: 100vh;
  padding: 58px 0 0;
  scroll-margin-top: 58px;
}

.home-about-panel {
  padding-top: 0;
}

.home-about-panel .about-page {
  padding-top: 28px;
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 58px 24px 24px;
}

.home-signature {
  width: min(64vw, 700px);
  max-width: 84%;
}

.home-signature img {
  display: block;
  width: 100%;
  height: auto;
}

.home-designer {
  margin-top: -6.7%;
  margin-right: 5.2%;
  color: var(--umber);
  font-family: var(--ui-font);
  font-size: clamp(11px, 1.65vw, 18px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .58em;
  text-align: right;
  text-transform: uppercase;
}

.home-landing {
  min-height: 100vh;
  padding-top: 0;
  background: var(--paper-clay);
}

.home-landing:nth-of-type(3n) { background: var(--detail-light-beige); }
.home-landing:nth-of-type(4n) { background: var(--soft-ivory); }

.home-landing .acad-wrap {
  background: transparent;
}

.about-page,
.home-about {
  width: min(1200px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 86px 0 112px;
}

.about-panel {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 64px);
  background: var(--soft-ivory);
  border: 1px solid var(--warm-gray);
  border-radius: 16px;
}

.about-image-wrap {
  min-height: 100%;
  background: var(--paper-clay);
  border: 1px solid var(--warm-gray);
  border-radius: 16px;
  overflow: hidden;
}

.about-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-kicker {
  margin: 0 0 18px;
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.about-title {
  display: block;
  width: 100%;
  margin: 0 0 56px;
  color: var(--umber);
  font-family: var(--display-font);
  font-size: clamp(58px, 8vw, 118px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: 0;
  text-align: center;
}

.about-lede {
  max-width: 650px;
  margin: 0;
  color: var(--umber);
  font-size: clamp(18px, 2.15vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

.about-bio {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--secondary-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--warm-gray);
}

.about-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--warm-gray);
  border-radius: 14px;
  color: var(--umber);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.about-link:hover {
  color: var(--paper-clay);
  border-color: var(--desert-taupe);
  background: var(--desert-taupe);
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 22px;
  color: var(--secondary-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    height: 58px;
    min-height: 58px;
    align-items: center;
    gap: clamp(14px, 5vw, 26px);
    padding: 7px 15px 7px 16px;
  }

  .site-logo {
    width: clamp(54px, 18vw, 86px);
    height: 40px;
    flex: 0 0 auto;
  }

  .site-nav {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: clamp(12px, 4.2vw, 22px);
    padding-top: 0;
  }

  .site-nav a {
    flex: 0 0 auto;
    font-size: clamp(8px, 2.45vw, 10px);
    letter-spacing: clamp(.08em, .9vw, .16em);
    line-height: 14px;
  }

  .home-signature {
    width: min(88vw, 430px);
    max-width: 88%;
  }

  .home-designer {
    margin-top: -6%;
    margin-right: 4.8%;
    font-size: clamp(9px, 2.9vw, 13px);
  }

  .about-page,
  .home-about {
    width: min(620px, calc(100% - 40px));
    padding: 78px 0 84px;
  }

  .home-about-panel .about-page {
    padding-top: 22px;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 22px;
  }

  .about-image {
    min-height: 0;
    aspect-ratio: 4 / 4.35;
  }

  .about-title {
    margin-bottom: 40px;
  }
}

@media (max-width: 520px) {
  .about-page,
  .home-about {
    width: calc(100% - 32px);
  }

  .about-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-link {
    justify-content: center;
  }
}
