@font-face {
  font-family: "Kids Crayon";
  src: url("assets/fonts/kids-crayon.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Zhuzhurourou";
  src: url("assets/fonts/zhuzhurourou-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --paper-2: #ece6da;
  --ink: #151515;
  --muted: #6d6a63;
  --line: rgba(21, 21, 21, 0.18);
  --card: rgba(255, 255, 255, 0.34);
  --shadow: 0 28px 80px rgba(70, 59, 43, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 1120px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(145deg, var(--paper), #f7f3eb 44%, var(--paper-2));
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  padding: 0 4.5vw;
  border-bottom: 1px solid transparent;
  background: rgba(244, 240, 231, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color .25s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  justify-self: start;
  text-decoration: none;
  font-family: "Zhuzhurourou", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-note {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-main {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 28px 5vw 30px;
}

.home-stage {
  position: relative;
  width: min(1240px, 90vw);
  height: calc(100vh - 196px);
  min-height: 620px;
  margin: 0 auto;
}

.home-name {
  position: absolute;
  z-index: 3;
  top: 10%;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 8.2vw, 132px);
  font-weight: 400;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.home-kicker {
  position: absolute;
  z-index: 5;
  top: 6%;
  left: 52%;
  transform: rotate(-4deg);
  font-family: "Kids Crayon", cursive;
  font-size: 22px;
  letter-spacing: .03em;
}

.portrait-wrap {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 50%;
  width: 380px;
  height: 455px;
  transform: translateX(-50%);
}

.portrait-wrap::before {
  position: absolute;
  inset: 42px 8px 10px;
  border: 1px solid rgba(21,21,21,.12);
  border-radius: 52% 48% 46% 54% / 42% 46% 54% 58%;
  content: "";
  background: rgba(255,255,255,.28);
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: auto;
  filter: saturate(.84) contrast(.96);
}

.home-link {
  position: absolute;
  z-index: 8;
  display: flex;
  width: 230px;
  height: 145px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  font-family: "Kids Crayon", cursive;
  font-size: 27px;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.home-link::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  content: "↗";
  font-family: ui-sans-serif, sans-serif;
  font-size: 16px;
}

.home-link:hover {
  background: rgba(255,255,255,.66);
  box-shadow: 0 20px 55px rgba(58,51,40,.12);
  transform: rotate(0deg) translateY(-4px);
}

.home-link.golf { top: 35%; left: 3%; transform: rotate(-7deg); }
.home-link.piano { top: 64%; left: 12%; transform: rotate(5deg); }
.home-link.research { top: 35%; right: 2%; transform: rotate(6deg); }
.home-link.physics { top: 65%; right: 11%; transform: rotate(-5deg); }

.home-tagline {
  margin: 20px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  letter-spacing: .015em;
  text-align: center;
}

.page-main {
  width: min(1260px, 90vw);
  margin: 0 auto;
  padding: 88px 0 120px;
}

.page-intro {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  gap: 80px;
  min-height: 335px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.page-intro h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(74px, 8vw, 126px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .9;
}

.page-intro p {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

.subnav {
  position: sticky;
  z-index: 20;
  top: 86px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0;
  background: linear-gradient(var(--paper) 75%, transparent);
}

.subnav a {
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.subnav a:hover,
.subnav a.is-active {
  color: var(--paper);
  background: var(--ink);
}

.content-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 56px;
  min-height: 72vh;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 138px;
}

.section-index {
  padding-top: 9px;
  font-family: "Kids Crayon", cursive;
  font-size: 27px;
}

.section-copy h2 {
  max-width: 930px;
  margin: 0 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.section-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  margin-top: 64px;
}

.placeholder-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
}

.placeholder-card.tall { min-height: 420px; }

.placeholder-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 46px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .06em;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.published-layout-body {
  min-width: 1120px;
  min-height: 100vh;
  overflow-x: auto;
  background: #d9d6cf;
}

html.published-one-screen,
body.published-one-screen {
  height: 100%;
  overflow-y: hidden;
}

.published-layout-shell {
  position: relative;
  margin: 0 auto;
}

.published-layout-canvas {
  position: relative;
  width: 1440px;
  min-height: 900px;
  overflow: hidden;
  transform-origin: top left;
}

.published-element {
  position: absolute;
  transform-origin: center;
}

.published-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.published-element.button-element .published-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.published-element button {
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.published-element img,
.published-element video {
  display: block;
  width: 100%;
  height: 100%;
}

.published-element.image-element.actionable { cursor: pointer; }
.published-element.actionable:focus-visible { outline: 3px solid #2962ff; outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

