:root {
  --ink: #171a21;
  --paper: #f4f3ef;
  --muted: #686d77;
  --line: rgba(23, 26, 33, 0.14);
  --blue: #5d78cf;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: #11131a;
  background: #fff;
  border-radius: 999px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  height: 2px;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #738fe7, #9d8fe0);
  transform: scaleX(0);
  transform-origin: left;
}

.research-shell,
.tutor-shell {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), 1160px);
  min-height: 3.7rem;
  padding: 0.5rem 0.65rem 0.5rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    color 220ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(24px) saturate(140%);
}

.research-header.is-scrolled {
  background: rgba(247, 246, 242, 0.82);
  border-color: rgba(23, 26, 33, 0.1);
  box-shadow: 0 18px 50px rgba(42, 45, 52, 0.09);
}

.tutor-header {
  color: #f6f4ef;
}

.tutor-header.is-scrolled {
  background: rgba(17, 19, 26, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wordmark {
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -0.05em;
}

.wordmark span {
  color: #6e83cf;
}

.tutor-header .wordmark span {
  color: #a8bfff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.site-nav a {
  padding: 0.55rem 0.82rem;
  color: inherit;
  border-radius: 999px;
  opacity: 0.68;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(127, 132, 144, 0.1);
  opacity: 1;
  outline: none;
}

.site-nav .nav-pill {
  margin-left: 0.3rem;
  color: #11131a;
  background: #f7f5f1;
  opacity: 1;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: #787d87;
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.16em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 650;
  transition: transform 260ms var(--ease-out), background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid #7891df;
  outline-offset: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 850ms var(--ease-out),
    transform 850ms var(--ease-out);
}

.js [data-reveal][data-delay="1"] {
  transition-delay: 100ms;
}

.js [data-reveal][data-delay="2"] {
  transition-delay: 190ms;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Research blog */
.research-site {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 10%, rgba(98, 123, 197, 0.11), transparent 28rem),
    var(--paper);
}

.blog-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1.12fr);
  grid-template-areas: "copy portrait" "caption portrait";
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 100svh;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.blog-hero-copy {
  grid-area: copy;
}

.blog-hero-copy h1 {
  max-width: 8ch;
  margin: 0;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.blog-hero-lead {
  max-width: 37rem;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.blog-hero-lead strong {
  color: var(--ink);
}

.button-dark {
  color: #f8f6f1;
  background: #171a21;
}

.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.6rem;
  font-size: 0.92rem;
  font-weight: 620;
}

.blog-portrait {
  position: relative;
  grid-area: portrait;
  overflow: hidden;
  aspect-ratio: 1.18;
  background: #1c2230;
  border-radius: clamp(1.6rem, 4vw, 3.2rem);
  box-shadow: 0 30px 90px rgba(42, 47, 61, 0.16);
}

.blog-portrait::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  border-radius: inherit;
}

.blog-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-caption {
  grid-area: caption;
  align-self: end;
  margin: 0;
  padding-top: 1rem;
  color: #8b8f97;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  border-top: 1px solid var(--line);
}

.writing-section {
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
  border-top: 1px solid var(--line);
}

.writing-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1fr;
  gap: 2rem;
  align-items: end;
}

.writing-heading .eyebrow {
  align-self: start;
  margin-top: 0.5rem;
}

.writing-heading h2,
.about-section h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.writing-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.blog-empty {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 16rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.empty-number {
  color: #a6a8ac;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.blog-empty h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 550;
  letter-spacing: -0.045em;
}

.blog-empty p {
  max-width: 38rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.empty-status {
  color: #858993;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.topic-row span {
  padding: 0.55rem 0.85rem;
  color: #616670;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 9vw, 9rem);
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
  background: rgba(255, 255, 255, 0.25);
  border-top: 1px solid var(--line);
}

.about-copy {
  align-self: end;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 1.2rem;
}

/* Tutoring site */
.tutor-site {
  color: #171a21;
  background: #f1f3f6;
}

.people-hero {
  position: relative;
  min-height: min(94svh, 860px);
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 2.5rem;
  color: #f7f5f1;
  background: #171b27;
  border-radius: 0 0 clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
}

.people-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.people-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 13, 19, 0.97) 1%, rgba(11, 13, 19, 0.82) 39%, rgba(11, 13, 19, 0.05) 72%),
    linear-gradient(0deg, rgba(11, 13, 19, 0.78), transparent 36%);
}

.people-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(50%, 37rem);
  min-height: 38rem;
}

.people-hero-copy .eyebrow {
  color: #aeb3c0;
}

.people-hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(4.3rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.people-hero-copy h1 em {
  color: #aabfff;
  font-style: normal;
}

.people-hero-lead {
  margin: 1.8rem 0 0;
  color: #f0eee9;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
}

.people-hero-note {
  max-width: 34rem;
  margin: 0.65rem 0 0;
  color: #a8abb5;
  font-size: 0.98rem;
  line-height: 1.8;
}

.button-light {
  color: #11131a;
  background: #f7f5f1;
  border-color: #f7f5f1;
}

.button-outline {
  color: #f7f5f1;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-record {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2.5rem;
  left: clamp(1.25rem, 4vw, 4rem);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 38rem;
  overflow: hidden;
  background: rgba(12, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  backdrop-filter: blur(18px);
}

.hero-record > div {
  display: grid;
  padding: 1rem 1.15rem;
}

.hero-record > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-record strong {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-record span {
  margin-top: 0.35rem;
  color: #9296a2;
  font-size: 0.72rem;
}

.tutor-section {
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.tutor-section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.4fr 0.95fr;
  gap: 2rem;
  align-items: end;
}

.tutor-section-heading .eyebrow {
  align-self: start;
  margin-top: 0.45rem;
  color: #6378b9;
}

.tutor-section-heading h2,
.case-intro h2,
.contact-panel h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(2.8rem, 5.3vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.tutor-section-heading > p:last-child {
  margin: 0;
  color: #686e79;
}

.teaching-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 4rem 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 26, 33, 0.12);
  border-radius: 1.7rem;
}

.teaching-steps li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 20rem;
  padding: 1.5rem;
}

.teaching-steps li + li {
  border-left: 1px solid rgba(23, 26, 33, 0.11);
}

.teaching-steps li > span {
  color: #8b909a;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
}

.teaching-steps h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.teaching-steps p {
  margin: 0.6rem 0 0;
  color: #686e79;
  font-size: 0.92rem;
}

.subjects-block {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid rgba(23, 26, 33, 0.12);
}

.tutor-section-heading.compact {
  display: block;
  align-self: start;
  position: sticky;
  top: 8rem;
}

.course-list {
  border-top: 1px solid rgba(23, 26, 33, 0.13);
}

.course-list article {
  display: grid;
  grid-template-columns: 3rem minmax(9rem, 0.8fr) 1.2fr;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(23, 26, 33, 0.13);
}

.course-list span {
  color: #8a909a;
  font-size: 0.72rem;
}

.course-list h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
}

.course-list p {
  margin: 0;
  color: #686e79;
  font-size: 0.9rem;
}

.case-section {
  width: min(calc(100% - 2rem), 1400px);
  max-width: none;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
  color: #f8f7f3;
  background:
    radial-gradient(circle at 18% 2%, rgba(103, 129, 216, 0.2), transparent 30rem),
    #10131a;
  border-radius: clamp(2rem, 5vw, 4.5rem);
}

.case-intro {
  width: min(100%, 1160px);
  margin-inline: auto;
}

.case-intro .eyebrow {
  color: #9fb3ef;
}

.case-intro h2 {
  max-width: 13ch;
}

.case-intro > p:last-child {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  color: #9da3b0;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(100%, 1160px);
  margin: 4rem auto 0;
}

.case-cards article {
  min-height: 22rem;
  padding: 1.6rem;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(125, 161, 255, 0.2), transparent 14rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.6rem;
  transition: transform 300ms var(--ease-out), border-color 180ms ease;
}

.case-cards article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
}

.case-cards article > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #9da3af;
  font-size: 0.76rem;
}

.score {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 5.5rem 0 0;
  font-variant-numeric: tabular-nums;
}

.score s,
.score strong {
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 620;
  letter-spacing: -0.075em;
  line-height: 0.9;
  text-decoration: none;
}

.score s {
  color: #626a7a;
}

.score i {
  color: #747d8d;
  font-style: normal;
}

.case-cards article > p:last-child {
  color: #9da3af;
}

.contact-section {
  scroll-margin-top: 5.5rem;
  padding-top: clamp(6rem, 12vw, 10rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 6rem);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 25px 80px rgba(42, 57, 88, 0.1);
}

.contact-panel::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 30rem;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(99, 113, 236, 0.2), transparent 67%);
  border-radius: 50%;
}

.contact-copy,
.inquiry-form {
  position: relative;
  z-index: 1;
}

.contact-copy > p {
  max-width: 45rem;
  margin: 1.3rem 0 0;
  color: #656b76;
}

.inquiry-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 26, 33, 0.1);
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(42, 57, 88, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field label {
  color: #333842;
  font-size: 0.88rem;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: rgba(247, 247, 245, 0.9);
  border: 1px solid rgba(23, 26, 33, 0.14);
  border-radius: 0.85rem;
  outline: none;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: #657bd0;
  box-shadow: 0 0 0 4px rgba(93, 120, 207, 0.13);
}

.form-field textarea::placeholder {
  color: #90949d;
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #5d626d;
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: #202634;
}

.form-submit {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.inquiry-submit {
  flex: none;
  color: #fff;
  background: #171a21;
  border: 0;
  cursor: pointer;
}

.inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: #616771;
  font-size: 0.86rem;
}

.form-status[data-state="success"] {
  color: #176e58;
}

.form-status[data-state="error"] {
  color: #a33d38;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.privacy-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: #536070;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-label i {
  width: 0.5rem;
  aspect-ratio: 1;
  background: #21856b;
  border-radius: 50%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: #7a7f89;
  font-size: 0.8rem;
  border-top: 1px solid rgba(23, 26, 33, 0.12);
}

.site-footer.site-footer--filing {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-footer--filing > :last-child {
  text-align: right;
}

.site-footer__filing {
  color: inherit;
  text-align: center;
}

.site-footer__filing:hover {
  color: #171a21;
}

@media (max-width: 900px) {
  .blog-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "portrait" "caption";
    gap: 2.5rem;
    padding-top: 10rem;
  }

  .blog-hero-copy h1 {
    max-width: 10ch;
  }

  .blog-portrait {
    aspect-ratio: 16 / 10;
  }

  .writing-heading,
  .tutor-section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-empty {
    grid-template-columns: 0.35fr 1.65fr;
  }

  .empty-status {
    display: none;
  }

  .about-section,
  .subjects-block {
    grid-template-columns: 1fr;
  }

  .tutor-section-heading.compact {
    position: static;
  }

  .people-hero {
    min-height: 930px;
    padding-top: 6.5rem;
  }

  .people-hero-image {
    height: 55%;
    object-position: 67% center;
  }

  .people-hero-shade {
    background:
      linear-gradient(0deg, #11131a 43%, rgba(17, 19, 26, 0.1) 72%),
      linear-gradient(90deg, rgba(17, 19, 26, 0.5), transparent 72%);
  }

  .people-hero-copy {
    justify-content: flex-end;
    width: 100%;
    min-height: 735px;
    padding-bottom: 2rem;
  }

  .hero-record {
    position: static;
    max-width: none;
  }

  .teaching-steps {
    grid-template-columns: 1fr 1fr;
  }

  .teaching-steps li:nth-child(3) {
    border-left: 0;
  }

  .teaching-steps li:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 26, 33, 0.11);
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .case-cards article {
    min-height: 18rem;
  }

  .score {
    margin-top: 3.5rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 0.65rem;
    width: calc(100% - 1rem);
  }

  .tutor-header .site-nav a:not(.nav-pill) {
    display: none;
  }

  .blog-hero {
    min-height: auto;
    padding-top: 8.5rem;
  }

  .blog-hero-copy h1 {
    font-size: clamp(3.5rem, 17vw, 5.4rem);
  }

  .blog-portrait {
    aspect-ratio: 4 / 3;
  }

  .blog-portrait img {
    object-position: 66% center;
  }

  .writing-heading h2,
  .about-section h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .blog-empty {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .empty-number {
    font-size: 3.3rem;
  }

  .about-section {
    gap: 2rem;
  }

  .people-hero {
    min-height: 980px;
  }

  .people-hero-image {
    height: 47%;
    object-position: 67% center;
  }

  .people-hero-copy {
    min-height: 750px;
  }

  .people-hero-copy h1 {
    font-size: clamp(4rem, 19vw, 5.8rem);
  }

  .people-hero-note {
    font-size: 0.94rem;
  }

  .hero-record {
    grid-template-columns: 1fr;
  }

  .hero-record > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .tutor-section-heading h2,
  .case-intro h2,
  .contact-panel h2 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .teaching-steps {
    grid-template-columns: 1fr;
  }

  .teaching-steps li {
    min-height: 14rem;
  }

  .teaching-steps li + li {
    border-top: 1px solid rgba(23, 26, 33, 0.11);
    border-left: 0;
  }

  .course-list article {
    grid-template-columns: 2.2rem 1fr;
  }

  .course-list p {
    grid-column: 2;
  }

  .case-section {
    width: calc(100% - 0.75rem);
    border-radius: 2.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-submit {
    justify-content: center;
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer.site-footer--filing {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer--filing > :last-child {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
