/* This stylesheet is loaded only by practice pages. Keep chapter navigation immediate. */
:root {
  scroll-behavior: auto;
}
.pg-intro {
  text-align: center;
  padding-block: 80px 78px;
}
.pg-intro h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.045em;
  margin: 23px 0;
}
.pg-intro > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.pg-intro nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 32px;
  font-size: 13px;
}
.pg-intro nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.pg-intro nav span {
  margin-left: 9px;
}
.pg-group {
  padding-bottom: 94px;
  scroll-margin-top: 12px;
}
.pg-group-heading {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.pg-group-heading h2 {
  font-size: inherit;
  font-weight: 400;
  margin: 0;
}
.pg-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.pg-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.pg-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.pg-cover-link {
  display: block;
  width: 100%;
}
.pg-cover {
  aspect-ratio: 1.36;
  overflow: hidden;
  border-radius: 6px;
  color: #363631;
  container-type: inline-size;
}
.pg-cover > div {
  position: relative;
  width: 100%;
  height: 100%;
}
.pg-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--muted);
  width: 100%;
  margin: 22px 0 13px;
}
.pg-card-meta > span:first-child {
  color: var(--ink);
}
.pg-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0 0 15px;
}
.pg-card > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.pg-card > .text-link {
  font-size: 13px;
  margin-top: auto;
  padding-top: 24px;
}
.pg-card h3 a:hover,
.pg-photo-copy h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.pg-journey {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.pg-journey li + li::before {
  content: '→';
  margin-right: 8px;
  color: var(--muted);
}
.pg-cover--writing {
  background: #eceae5;
}
.pg-writing-files {
  position: absolute;
  inset: 13% 5% auto auto;
  display: grid;
  gap: 8px;
  width: 30%;
  transform: rotate(6deg);
}
.pg-writing-files span {
  background: #e1ded6;
  border: 1px solid #d6d3ca;
  border-radius: 5px;
  padding: 9% 10%;
  font-size: 2.65cqw;
}
.pg-paper {
  position: absolute;
  width: 65%;
  left: 11%;
  top: 15%;
  padding: 7% 6% 5%;
  background: #fffefc;
  border: 1px solid #d8d5ce;
  border-radius: 5px;
  box-shadow: 0 14px 32px #524e4010;
}
.pg-paper > span {
  font-size: 2.05cqw;
  color: #ba654b;
  letter-spacing: 0.16em;
}
.pg-paper strong {
  display: block;
  font-weight: 400;
  font-family: Georgia, 'Songti SC', serif;
  font-size: 5cqw;
  margin: 11% 0 7%;
}
.pg-paper p {
  font-size: 2.5cqw;
  line-height: 1.8;
  color: #868177;
  margin: 0 0 12%;
}
.pg-paper i {
  display: block;
  height: 1px;
  background: #ddd8ce;
  margin: 5% 0;
}
.pg-paper i + i {
  width: 75%;
}
.pg-paper small {
  display: block;
  font-size: 2.05cqw;
  color: #9a7669;
  margin-top: 14%;
}
.pg-cover--life {
  background: #edf1f7;
}
.pg-life-question {
  position: absolute;
  right: 11%;
  top: 10%;
  padding: 3% 5%;
  font-size: 3.1cqw;
  border-radius: 10px 10px 3px 10px;
  background: #dbe6fa;
  color: #557095;
}
.pg-wardrobe {
  position: absolute;
  width: 67%;
  height: 49%;
  top: 29%;
  left: 16.5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
}
.pg-wardrobe img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.pg-life-note {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 8%;
  color: #71819a;
  font-size: 2.65cqw;
}
.pg-cover--company {
  background: #e9eeea;
}
.pg-site-sheet {
  position: absolute;
  width: 82%;
  left: 9%;
  top: 13%;
  background: #fff;
  padding: 5% 6%;
  border: 1px solid #d6ded7;
  border-radius: 4px;
  transform: rotate(-3deg);
}
.pg-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.9cqw;
  color: #687267;
  padding-bottom: 7%;
  border-bottom: 1px solid #e6e9e4;
}
.pg-site-nav img {
  width: 2.2cqw;
  height: 4.7cqw;
}
.pg-site-sheet strong {
  display: block;
  font-weight: 500;
  font-size: 4.5cqw;
  line-height: 1.5;
  margin: 10% 0;
}
.pg-site-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
}
.pg-site-products i {
  height: 8.5cqw;
  border-radius: 2px;
  background: #dce4da;
}
.pg-site-products i:nth-child(2) {
  background: #e6e3d8;
}
.pg-site-products i:nth-child(3) {
  background: #dfe3e4;
}
.pg-site-caption {
  display: block;
  font-size: 2.1cqw;
  color: #90988d;
  margin-top: 8%;
}
.pg-cards--two .pg-cover {
  aspect-ratio: 2;
}
.pg-cover--tools {
  background: #efeeeb;
}
.pg-tool-window {
  position: absolute;
  top: 15%;
  left: 13%;
  width: 74%;
  height: 70%;
  display: flex;
  flex-direction: column;
  border: 1px solid #d3d2cb;
  border-radius: 6px;
  background: #fcfbf8;
  padding: 0 6%;
}
.pg-tool-window > div {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7%;
  border-bottom: 1px solid #e6e4dc;
}
.pg-tool-window > div:last-child {
  border: 0;
}
.pg-tool-window span {
  font-size: 2cqw;
  color: #99958a;
}
.pg-tool-window strong {
  font-size: 2.55cqw;
  font-weight: 400;
}
.pg-tool-window .pg-tool-top {
  justify-content: space-between;
  flex: 0.75;
}
.pg-tool-top span:first-child {
  font-size: 2.2cqw;
  color: #46483f;
  letter-spacing: 0.1em;
}
.pg-cover--workflow {
  background: #edf0ed;
}
.pg-workflow {
  display: flex;
  position: absolute;
  inset: 31% 6% auto;
  align-items: center;
  justify-content: space-between;
  gap: 3%;
}
.pg-workflow > div {
  flex: 1;
  background: #fafcf9;
  border: 1px solid #d8ded5;
  padding: 4% 3%;
  border-radius: 3px;
}
.pg-workflow > div span {
  color: #7a8775;
  font-size: 1.9cqw;
}
.pg-workflow strong {
  display: block;
  white-space: nowrap;
  font-size: 2.3cqw;
  font-weight: 400;
  margin-top: 18%;
}
.pg-workflow i {
  display: block;
  width: 92%;
  height: 1px;
  background: #dfe4db;
  margin-top: 18%;
}
.pg-workflow i + i {
  width: 62%;
  margin-top: 10%;
}
.pg-flow-arrow {
  font-size: 2.3cqw;
  color: #909b8b;
}
.pg-photo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.pg-photography {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) 22px minmax(0, 1.6fr);
  gap: 14px;
  align-items: center;
}
.pg-visual-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.pg-photo-input > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pg-photo-input img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}
.pg-photo-arrow {
  text-align: center;
  color: var(--muted);
}
.pg-photo-results > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.pg-photo-results img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.pg-photography figcaption {
  grid-column: 1 / -1;
  text-align: right;
  color: var(--muted);
  font-size: 11px;
}
.pg-photo-copy .pg-card-meta {
  justify-content: flex-start;
  margin-top: 0;
}
.pg-photo-copy h3 {
  margin: 24px 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.4;
  font-weight: 500;
}
.pg-photo-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.pg-outcome {
  margin: 26px 0;
}
.pg-outcome span {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
.pg-photo-copy > .button {
  font-size: 13px;
  padding: 13px 20px;
}
.pg-photo-copy > .text-link {
  display: flex;
  width: fit-content;
  font-size: 12px;
  margin-top: 20px;
}
.pg-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding-block: 64px 30px;
  align-items: center;
}
.pg-next h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.035em;
  margin: 0;
}
.pg-next p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.pg-next .text-link {
  font-size: 13px;
  margin: 15px 26px 0 0;
}
.pg-article-intro {
  padding-top: 46px;
}
.pg-article-heading {
  max-width: 980px;
  margin: 64px auto 60px;
}
.pg-article-heading h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 23px 0;
  text-wrap: balance;
}
.pg-article-heading > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 770px;
}
.pg-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
}
.pg-article-meta a {
  font-size: inherit;
}
.pg-guide-overview {
  margin-bottom: 70px;
}
.pg-guide-overview dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding-block: 30px;
  border-block: 1px solid var(--line);
}
.pg-guide-overview dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pg-guide-overview dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}
.pg-article-photo {
  margin-bottom: 80px;
}
.pg-article-photo .pg-photography {
  max-width: 1040px;
  margin: auto;
  grid-template-columns: minmax(0, 0.6fr) 45px minmax(0, 1.4fr);
  gap: 25px;
}
.pg-article-photo .pg-visual-label {
  font-size: 13px;
}
.pg-article-layout {
  grid-template-columns: 240px minmax(0, 740px);
  gap: 65px;
}
.pg-article-layout .article-toc a {
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.8;
}
.pg-article-layout .article-toc a span {
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
}
.pg-article-layout .prose h2 {
  font-size: 25px;
  margin-top: 12px;
  scroll-margin-top: 12px;
}
.pg-article-layout .prose p,
.pg-article-layout .prose li {
  font-size: 16px;
}
.pg-step-number {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}
.pg-starter {
  margin-top: 55px !important;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.pg-starter blockquote {
  font-size: 16px;
  line-height: 2;
  margin: 24px 0 0;
  border-left: 2px solid var(--ink);
  padding: 8px 0 8px 24px;
  color: var(--muted);
}
.pg-article-next {
  border-block: 1px solid var(--line);
  padding-block: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}
.pg-article-next h2 {
  font-size: 30px;
  font-weight: 500;
  margin: 15px 0;
  letter-spacing: -0.03em;
}
.pg-article-next p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 610px;
  margin: 0;
}
.pg-article-actions {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  font-size: 13px;
}
.pg-more {
  padding-top: 64px;
}
.pg-more-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.pg-more-heading h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.pg-more-heading a {
  font-size: 13px;
}
.pg-more > div + div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.pg-more > div + div > a {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.pg-more span {
  color: var(--muted);
  font-size: 12px;
}
.pg-more h3 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  margin: 14px 0 0;
}
.pg-more h3 span {
  font-size: inherit;
  margin-left: 10px;
}
@media (max-width: 1050px) {
  .pg-cards {
    gap: 22px;
  }
  .pg-card h3 {
    font-size: 22px;
  }
  .pg-card > p {
    font-size: 14px;
  }
  .pg-card-meta {
    font-size: 11px;
  }
  .pg-photo-feature {
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
  }
  .pg-photo-copy h3 {
    font-size: 30px;
  }
  .pg-photo-copy > p {
    font-size: 14px;
  }
  .pg-photo-input > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .pg-photography {
    grid-template-columns: minmax(0, 0.65fr) 14px minmax(0, 2.8fr);
    gap: 10px;
  }
  .pg-photo-input img {
    max-width: 65px;
  }
  .pg-article-photo .pg-photo-input > div {
    grid-template-columns: 1fr 1fr;
  }
  .pg-article-photo .pg-photo-input img {
    max-width: none;
  }
  .pg-article-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .pg-intro {
    padding-block: 58px 58px;
  }
  .pg-intro > p {
    font-size: 15px;
  }
  .pg-intro > p br {
    display: none;
  }
  .pg-intro nav {
    gap: 24px;
    font-size: 12px;
  }
  .pg-intro nav span {
    margin-left: 4px;
  }
  .pg-group {
    padding-bottom: 62px;
  }
  .pg-group-heading {
    margin-bottom: 25px;
    align-items: baseline;
  }
  .pg-group-heading > span {
    font-size: 10px;
    text-align: right;
  }
  .pg-cards,
  .pg-cards--two {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .pg-cover {
    aspect-ratio: 1.5;
  }
  .pg-paper {
    top: 10%;
  }
  .pg-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .pg-card-meta {
    margin-top: 18px;
  }
  .pg-card > p {
    font-size: 15px;
  }
  .pg-card > .text-link {
    padding-top: 18px;
  }
  .pg-journey {
    margin-top: 17px;
  }
  .pg-photo-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pg-photography {
    grid-template-columns: minmax(0, 0.7fr) 16px minmax(0, 2.8fr);
  }
  .pg-photo-input img {
    max-width: none;
  }
  .pg-visual-label {
    font-size: 10px;
  }
  .pg-photo-copy h3 {
    font-size: 34px;
    margin-top: 16px;
  }
  .pg-photo-copy > p {
    font-size: 15px;
  }
  .pg-photo-copy > .text-link {
    display: inline-flex;
    margin-left: 18px;
  }
  .pg-next {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }
  .pg-article-intro {
    padding-top: 28px;
  }
  .pg-article-heading {
    margin-block: 44px 35px;
  }
  .pg-article-heading > p {
    font-size: 16px;
  }
  .pg-guide-overview {
    margin-bottom: 45px;
  }
  .pg-guide-overview dl {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 24px;
  }
  .pg-guide-overview dt {
    margin-bottom: 7px;
  }
  .pg-guide-overview dd {
    font-size: 14px;
  }
  .pg-article-photo {
    margin-bottom: 42px;
  }
  .pg-article-photo .pg-photography {
    grid-template-columns: minmax(0, 0.7fr) 16px minmax(0, 2.8fr);
    gap: 10px;
  }
  .pg-article-photo .pg-photo-input > div {
    grid-template-columns: 1fr;
  }
  .pg-article-photo .pg-visual-label {
    font-size: 10px;
  }
  .pg-article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 50px;
  }
  .pg-article-layout .article-toc {
    position: static;
  }
  .pg-article-layout .article-toc a {
    font-size: 13px;
    padding-block: 5px;
  }
  .pg-article-layout .prose h2 {
    font-size: 23px;
  }
  .pg-article-next {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .pg-article-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .pg-more {
    padding-top: 40px;
  }
  .pg-more > div + div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 370px) {
  .pg-intro h1 {
    font-size: 36px;
  }
  .pg-intro nav {
    gap: 15px;
    font-size: 11px;
  }
  .pg-group-heading > span {
    max-width: 145px;
  }
  .pg-photo-copy > .text-link {
    display: flex;
    margin-left: 0;
  }
  .pg-article-heading h1 {
    font-size: 32px;
  }
}
