.artist-page {
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
}

.artist-page .site-header {
  background: var(--navy);
}

.artist-page .site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.artist-hero {
  position: relative;
  min-height: clamp(650px, calc(100svh - 180px), 760px);
  overflow: hidden;
  padding: clamp(126px, 10vw, 154px) var(--page-padding) 30px;
  background-color: #f4f0ea;
  background-image: linear-gradient(rgb(244 240 234 / 78%), rgb(244 240 234 / 78%)), var(--washi-texture);
  background-position: center;
  background-size: auto, 640px auto;
  background-blend-mode: normal, multiply;
}

.artist-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgb(244 240 234 / 100%) 0 47%, rgb(244 240 234 / 42%) 62%, transparent 78%);
  content: "";
  pointer-events: none;
}

.artist-portrait {
  position: absolute;
  z-index: 1;
  top: 106px;
  right: clamp(10px, 3vw, 52px);
  bottom: 0;
  display: flex;
  width: min(50vw, 760px);
  align-items: flex-end;
  justify-content: flex-end;
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.artist-identity,
.owner-letter {
  position: relative;
  z-index: 2;
  width: min(47vw, 700px);
}

.artist-identity__role,
.artist-identity__roman,
.owner-letter__header p,
.artist-lesson__label {
  margin: 0;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.33em;
}

.artist-identity h1 {
  margin: 13px 0 7px;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.18;
}

.artist-identity__roman {
  font-family: Georgia, var(--serif);
  font-size: 11px;
  letter-spacing: 0.38em;
}

.owner-letter {
  margin-top: clamp(22px, 2.4vw, 38px);
  padding: clamp(26px, 2.4vw, 38px) clamp(28px, 3.1vw, 50px) 26px;
  background-color: #f7f2e9;
  background-image: linear-gradient(rgb(247 242 233 / 74%), rgb(247 242 233 / 74%)), var(--washi-texture);
  background-position: center;
  background-size: auto, 560px auto;
  box-shadow: 0 10px 24px rgb(66 43 33 / 16%);
  transform: rotate(-0.32deg);
}

.owner-letter__header {
  display: flex;
  gap: 18px;
  align-items: center;
}

.owner-letter__header p {
  flex: 0 0 auto;
  font-family: Georgia, var(--serif);
  letter-spacing: 0.19em;
}

.owner-letter__header span {
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.78;
}

.owner-letter h2 {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.owner-letter__body {
  font-family: var(--serif);
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: 0.07em;
  line-height: 1.9;
}

.owner-letter__body p {
  margin: 0 0 10px;
}

.owner-letter__signature {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: flex-end;
  margin: 17px 0 0;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.owner-letter__signature strong {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.artist-lesson {
  display: grid;
  grid-template-columns: minmax(390px, 1.2fr) minmax(300px, 0.76fr) minmax(290px, 0.72fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
  padding: 34px var(--page-padding);
  color: var(--white);
  background-color: var(--terracotta);
  background-image: linear-gradient(rgb(152 71 47 / 82%), rgb(152 71 47 / 82%)), var(--washi-texture);
  background-position: center;
  background-size: auto, 640px auto;
}

.artist-lesson__label {
  color: var(--white);
  font-family: Georgia, var(--serif);
  font-size: 10px;
  letter-spacing: 0.28em;
  opacity: 0.88;
}

.artist-lesson__intro h2 {
  margin: 13px 0 8px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.5;
}

.artist-lesson__intro > p:last-child {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.artist-lesson__menu {
  border-top: 1px solid rgb(255 253 248 / 40%);
}

.artist-lesson__menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(255 253 248 / 40%);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.07em;
  transition: padding 180ms ease, background-color 180ms ease;
}

.artist-lesson__menu a:hover,
.artist-lesson__menu a:focus-visible {
  padding-inline: 10px;
  background: rgb(255 253 248 / 8%);
}

.artist-lesson__cta {
  display: flex;
  min-height: 58px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border: 1px solid rgb(255 253 248 / 76%);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: color 180ms ease, background-color 180ms ease;
}

.artist-lesson__cta:hover,
.artist-lesson__cta:focus-visible {
  color: var(--terracotta-deep);
  background: var(--white);
}

.artist-page .site-footer {
  background-image: var(--washi-texture);
  background-position: center;
  background-size: 640px auto;
  background-blend-mode: multiply;
}

@media (max-width: 1160px) {
  .artist-page .site-nav {
    gap: 24px;
    font-size: 13px;
  }

  .artist-hero {
    min-height: 690px;
  }

  .artist-portrait {
    right: -24px;
    width: 54vw;
  }

  .artist-identity,
  .owner-letter {
    width: min(51vw, 630px);
  }

  .artist-lesson {
    grid-template-columns: minmax(340px, 1.1fr) minmax(260px, 0.8fr) minmax(260px, 0.75fr);
    gap: 34px;
  }
}

@media (max-width: 980px) {
  .artist-page .site-nav {
    font-size: 15px;
  }

  .artist-hero {
    min-height: 700px;
    padding: 124px clamp(38px, 5vw, 52px) 36px;
  }

  .artist-portrait {
    top: 122px;
    right: -4px;
    bottom: auto;
    display: block;
    width: min(42vw, 360px);
    height: auto;
  }

  .artist-portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .artist-identity,
  .owner-letter {
    width: min(56vw, 520px);
  }

  .artist-identity h1 {
    font-size: clamp(46px, 6.4vw, 62px);
  }

  .owner-letter {
    margin-top: 34px;
    padding: 27px 30px 24px;
  }

  .owner-letter h2 {
    font-size: clamp(23px, 3vw, 30px);
  }

  .owner-letter__body br {
    display: none;
  }

  .artist-lesson {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.92fr);
    gap: 24px 48px;
    padding: 34px clamp(38px, 5vw, 52px) 38px;
  }

  .artist-lesson__intro {
    grid-column: 1 / -1;
  }

  .artist-lesson__menu {
    grid-column: 1;
  }

  .artist-lesson__cta {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .artist-hero {
    display: block;
    min-height: 760px;
    padding: 0;
    overflow: visible;
  }

  .artist-hero::before {
    display: none;
  }

  .artist-portrait {
    position: absolute;
    z-index: 1;
    top: 178px;
    right: 0;
    bottom: auto;
    display: block;
    width: min(58vw, 238px);
    height: auto;
    aspect-ratio: auto;
  }

  .artist-portrait img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .artist-identity {
    position: absolute;
    z-index: 2;
    top: 132px;
    left: var(--page-padding);
    width: 54%;
    margin: 0;
    padding: 0;
  }

  .artist-identity__role {
    font-size: 9px;
    letter-spacing: 0.25em;
    white-space: nowrap;
  }

  .artist-identity h1 {
    margin: 10px 0 6px;
    font-size: clamp(37px, 10.4vw, 44px);
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .artist-identity__roman {
    font-size: 9px;
    letter-spacing: 0.28em;
    white-space: nowrap;
  }

  .owner-letter {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: -52px;
    left: 20px;
    width: auto;
    margin: 0;
    padding: 25px 22px 23px;
    transform: rotate(-0.2deg);
  }

  .owner-letter__header p {
    font-size: 10px;
  }

  .owner-letter h2 {
    margin-block: 18px 14px;
    font-size: clamp(22px, 6.4vw, 27px);
    line-height: 1.6;
  }

  .owner-letter__body {
    font-size: 11.5px;
    line-height: 1.9;
  }

  .owner-letter__body br {
    display: none;
  }

  .owner-letter__signature {
    gap: 10px;
    align-items: baseline;
    flex-direction: row;
    font-size: 10px;
  }

  .owner-letter__signature strong {
    font-size: 13px;
  }

  .artist-lesson {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 104px var(--page-padding) 44px;
  }

  .artist-lesson__intro,
  .artist-lesson__menu,
  .artist-lesson__cta {
    grid-column: auto;
  }

  .artist-lesson__intro h2 {
    margin-top: 12px;
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.6;
  }

  .artist-lesson__intro > p:last-child {
    display: none;
  }

  .artist-lesson__menu a {
    min-height: 48px;
    font-size: 13px;
  }

  .artist-lesson__cta {
    justify-self: stretch;
    width: 100%;
    min-height: 60px;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .artist-hero {
    min-height: 744px;
  }

  .artist-identity {
    top: 124px;
  }

  .artist-identity h1 {
    font-size: clamp(35px, 10vw, 39px);
  }

  .artist-portrait {
    top: 174px;
    right: 0;
    width: min(58vw, 220px);
  }

  .owner-letter {
    bottom: -48px;
    padding-inline: 20px;
  }

  .owner-letter__header {
    gap: 12px;
  }

  .owner-letter h2 {
    font-size: clamp(21px, 6.2vw, 24px);
  }

  .owner-letter__body {
    font-size: 11px;
  }

  .owner-letter__signature {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .owner-letter {
    transform: none;
  }
}
