:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #20201e;
  --muted: #54534d;
  --rule: #deddd6;
  --blue: #3a48a8;
  --wash: #eeeffb;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
main:focus { outline: none; }
p, h1, h2, h3, figure { margin: 0; }
p { color: var(--muted); }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .65rem; background: white; z-index: 4; }
.skip:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); }
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
  border-bottom: 1px solid var(--rule);
}
.brand { font-size: 28px; font-weight: 760; letter-spacing: -.09em; }
.brand span, .school-mark span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 560; }
.nav a:hover, .footer a:hover, .back:hover { color: var(--blue); text-decoration: underline; }
.school-nav { color: var(--blue); }
.switch {
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px;
  font: 12px/1.4 var(--mono);
  white-space: nowrap;
}
.switch nav { display: flex; align-items: center; gap: 1px; }
.switch nav + nav { border-inline-start: 1px solid var(--rule); margin-inline-start: 3px; padding-inline-start: 4px; }
.switch a { padding: 5px 8px; border-radius: 999px; }
.switch a:hover { background: var(--wash); }
.switch a[aria-current] { color: white; background: var(--ink); }
.hero {
  display: grid;
  grid-template-columns: 1.6fr minmax(245px, .8fr);
  align-items: center;
  gap: clamp(30px, 8vw, 120px);
  padding: clamp(65px, 9vw, 132px) 0 clamp(68px, 9vw, 125px);
}
.eyebrow, .case-meta, .portrait figcaption {
  color: var(--blue);
  font: 11px/1.55 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
.hero h1 {
  font-size: clamp(61px, 8.8vw, 128px);
  font-weight: 680;
  line-height: .88;
  letter-spacing: -.088em;
  margin: 20px 0 27px;
}
.lede { max-width: 510px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.48; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 600 13px/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.button[hidden] { display: none; }
.button:hover { border-color: var(--blue); color: var(--blue); }
.primary { color: white; background: var(--ink); border-color: var(--ink); }
.primary:hover { color: white; background: var(--blue); }
.portrait { position: relative; width: min(100%, 362px); justify-self: end; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 7px; filter: grayscale(1); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 11px; color: var(--muted); }
.section { padding: clamp(48px, 6vw, 85px) 0; border-top: 1px solid var(--rule); }
h2 { margin: 9px 0 29px; font-size: clamp(35px, 5vw, 69px); font-weight: 650; letter-spacing: -.065em; line-height: .99; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.case-link { display: block; height: 100%; }
.case-art {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1.53;
  border-radius: 7px;
  isolation: isolate;
  transition: filter .18s;
}
.case-link:hover .case-art { filter: saturate(1.2) brightness(.97); }
.case-art small {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  left: 11px;
  font: 9px/1.5 var(--mono);
  letter-spacing: .08em;
  color: #373633;
}
.my-sunrise { background: #f2e5df; }
.sunrise-rewards { background: #f1eaf6; }
.design-system-ia { background: #e4e9f9; }
.dashboard {
  display: flex;
  width: 66%;
  aspect-ratio: 1.65;
  border: 1px solid #d8bdb2;
  border-radius: 8px;
  background: #fffaf8;
  box-shadow: 0 14px 30px #5133231c;
  transform: rotate(-6deg);
}
.dashboard > i { width: 25%; background: #6f352c; border-radius: 7px 0 0 7px; }
.dashboard-content { flex: 1; padding: 9% 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 11%; }
.dashboard-content b { grid-column: span 2; background: #d48e75; border-radius: 4px; }
.dashboard-content span { background: #eed8cf; border-radius: 3px; }
.reward-card {
  width: 32%; aspect-ratio: .74; padding: 10px; border-radius: 8px;
  background: #fffaff; color: #5a3a70;
  box-shadow: 0 14px 25px #30154020; transform: rotate(-13deg);
}
.reward-card + .reward-card { transform: rotate(12deg) translate(-10%, 8%); background: #684783; color: white; }
.reward-card b { font-size: clamp(22px, 4vw, 48px); line-height: 1; }
.reward-card i { display: block; margin: 8% 0; height: 4%; width: 75%; border-radius: 4px; background: currentColor; opacity: .28; }
.reward-card i:last-child { width: 55%; }
.system-diagram { display: flex; align-items: center; gap: clamp(3px, 1vw, 11px); color: #303b8a; font: 10px var(--mono); }
.system-diagram span { padding: 9px 7px; background: #fafaff; border: 1px solid #adb5df; border-radius: 4px; }
.system-diagram i { font-style: normal; }
.case-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 11px 0 4px; }
.round { display: inline-grid; flex: none; place-items: center; width: 31px; height: 31px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); font: 16px/1 Arial, sans-serif; }
a:hover .round { background: var(--ink); color: white; border-color: var(--ink); }
h3 { font-size: clamp(19px, 2.3vw, 30px); font-weight: 650; letter-spacing: -.04em; line-height: 1.1; }
.case p, .line p { margin-top: 8px; font-size: 15px; }
.line {
  display: grid;
  grid-template-columns: minmax(100px, .32fr) 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.case h2, .line h2 { margin: 0; font-size: clamp(19px, 2.3vw, 30px); letter-spacing: -.04em; line-height: 1.1; }
.collection { padding: clamp(43px, 8vw, 100px) 0 65px; }
.collection > header { margin-bottom: 35px; }
.school {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 35px;
  padding: clamp(30px, 6vw, 85px);
  margin: 5px 0 clamp(48px, 6vw, 85px);
  background: var(--wash);
  border-radius: 9px;
}
.school h2 { margin-bottom: 18px; }
.school p, .contact p { max-width: 520px; margin-bottom: 21px; }
.school-mark { display: grid; place-items: center; width: min(100%, 218px); aspect-ratio: 1; justify-self: end; border: 1px solid #c2c8eb; border-radius: 50%; color: #242651; font-size: clamp(54px, 11vw, 158px); line-height: .95; letter-spacing: -.095em; }
.section-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.section-summary h2 { margin-bottom: 0; }
.section-summary p { margin: 10px 0 13px; font-size: 18px; }
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 23px 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.detail { max-width: 780px; margin: auto; padding: clamp(43px, 8vw, 100px) 0 65px; }
.back { display: inline-block; color: var(--blue); margin-bottom: 38px; font-size: 14px; }
.detail h1, .collection h1 { font-size: clamp(45px, 7vw, 90px); font-weight: 680; line-height: .96; letter-spacing: -.075em; margin: 12px 0 19px; }
.detail section { margin-top: 35px; border-top: 1px solid var(--rule); padding-top: 20px; }
.detail section h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 12px; letter-spacing: -.04em; }
.detail section p { font-size: 18px; }
.bio-header { display: grid; grid-template-columns: 1fr minmax(125px, 180px); gap: 24px; align-items: center; }
.bio-portrait { display: block; width: 100%; height: auto; border-radius: 7px; filter: grayscale(1); }
.bio-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.bio-skills li { padding: 15px; border: 1px solid var(--rule); border-radius: 7px; }
.bio-skills h3 { margin-bottom: 7px; font-size: 18px; }
.bio-skills li p { font-size: 16px; }
.agent pre { margin: 16px 0 0; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(14px, 3vw, 32px); background: #f4f2ee; white-space: pre-wrap; overflow-wrap: anywhere; }
.agent code { font: 13px/1.65 var(--mono); }
#copy-status { margin-top: 9px; color: var(--blue); font-size: 13px; }
@media (max-width: 1020px) {
  html { scroll-padding-top: 112px; }
  .shell { width: calc(100% - 56px); }
  .header { flex-wrap: wrap; gap: 10px 14px; padding: 12px 0; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; gap: 7px 16px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 54px 0; }
  .hero h1 { font-size: clamp(49px, 12vw, 76px); }
  .portrait { justify-self: start; width: min(100%, 260px); }
  .case-grid, .section-summary { grid-template-columns: 1fr; }
  .bio-header, .bio-skills { grid-template-columns: 1fr; }
  .bio-portrait { width: min(100%, 160px); }
  .case-grid { gap: 28px; }
  .line { grid-template-columns: 1fr auto; gap: 5px 10px; }
  .line .eyebrow { grid-column: span 2; }
  .school { grid-template-columns: 1fr; }
  .school-mark { display: none; }
}
@media (max-width: 370px) {
  html { scroll-padding-top: 140px; }
  .header { gap: 7px; }
  .brand { font-size: 23px; }
  .switch a { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-art { transition: none; }
}
