.studio-page-hero {
  position: relative;
  display: flex;
  min-height: clamp(360px, 48vw, 540px);
  align-items: flex-end;
  overflow: hidden;
  color: var(--ag-color-white);
  background: #302d2a;
}

.studio-page-hero__art,
.studio-page-hero__shade {
  position: absolute;
  inset: 0;
}

.studio-page-hero__art {
  left: auto;
  width: 66%;
  overflow: hidden;
  background: #d5d0c8;
}

.studio-page-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-page-hero__shade {
  background: linear-gradient(90deg, #252321 0%, rgb(37 35 33 / 96%) 32%, rgb(37 35 33 / 62%) 58%, rgb(37 35 33 / 5%) 100%);
}

.studio-page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(68px, 9vw, 118px);
}

.studio-page-hero .eyebrow {
  margin-bottom: 18px;
  color: rgb(255 255 255 / 72%);
}

.studio-page-hero h1 {
  max-width: 12ch;
  margin: 0 0 18px;
  color: var(--ag-color-white);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.studio-page-hero__description {
  max-width: 52ch;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.75;
}

.detail-hero {
  min-height: clamp(420px, 58vw, 660px);
}

.detail-hero__placeholder {
  display: block;
  padding: 0;
  background: #ded9d1;
}

.detail-hero__placeholder .demo-artwork {
  position: absolute;
  inset: 0;
}

.detail-hero__placeholder > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 11px;
  color: var(--ag-color-white);
  background: rgb(28 27 26 / 78%);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}

.detail-hero__inner h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6.4vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.detail-hero .button {
  border-radius: 999px;
}

.page-body {
  background: #fbfaf8;
}

.page-body > .container {
  max-width: var(--ag-container);
}

.page-body .content-layout,
.page-body .contact-layout {
  margin-inline: auto;
}

.page-body .prose {
  max-width: 76ch;
}

.page-body .prose > p:first-child {
  font-size: 1.0625rem;
}

.page-body .prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.page-body .prose p,
.page-body .prose li {
  color: #5f5a55;
  line-height: 1.85;
}

.page-body .prose a {
  text-underline-offset: 3px;
}

.entry-featured-image,
.demo-featured-image {
  position: relative;
  margin-bottom: clamp(32px, 5vw, 64px);
  overflow: hidden;
  background: #ddd8d1;
}

.entry-featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.demo-featured-image {
  aspect-ratio: 16 / 8;
}

.demo-featured-image > span,
.post-card__placeholder > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--ag-color-white);
  background: rgb(28 27 26 / 78%);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}

.page-header {
  max-width: 760px;
}

.collection-intro {
  margin-top: -24px;
}

.collection-page-content--empty {
  display: none;
}

.collection-body {
  background: #fbfaf8;
}

.collection-body.section--warm {
  background: #f0eeea;
}

.collection-grid {
  gap: clamp(28px, 4vw, 54px) 24px;
}

.collection-card {
  min-width: 0;
  padding: 0 0 24px;
  border-bottom: 1px solid #d9d5d0;
}

.collection-card__image,
.collection-card__placeholder {
  position: relative;
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
  background: #e2ded8;
}

.collection-card__image img,
.collection-card__placeholder .demo-artwork {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  transition: transform 500ms ease;
}

.collection-grid--team .collection-card__image img,
.collection-grid--team .collection-card__placeholder .demo-artwork {
  aspect-ratio: 4 / 5;
}

.collection-card__image:hover img {
  transform: scale(1.025);
}

.collection-card__placeholder {
  min-height: 0;
  padding: 0;
}

.collection-card__placeholder > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  color: var(--ag-color-white);
  background: rgb(28 27 26 / 76%);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
}

.collection-card > h2 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.collection-card h2 a {
  color: var(--ag-color-charcoal);
  text-decoration: none;
}

.collection-card > p {
  color: var(--ag-color-muted);
  line-height: 1.7;
}

.collection-card .text-link {
  margin-top: 10px;
}

.collection-grid--testimonials .collection-card {
  padding: 28px;
  border: 1px solid #dedad5;
  background: var(--ag-color-white);
}

.collection-grid--testimonials .collection-card .testimonial__quote {
  color: #5f5a55;
  line-height: 1.8;
}

.post-grid {
  gap: clamp(28px, 4vw, 50px) 24px;
}

.post-card {
  overflow: hidden;
  border: 1px solid #e4e0db;
  background: var(--ag-color-white);
}

.post-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.post-card__placeholder {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: #ded9d1;
}

.post-card__body {
  padding: 24px;
}

.post-card__body .eyebrow {
  margin-bottom: 10px;
}

.post-card__body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.post-card__body > p:not(.eyebrow) {
  color: var(--ag-color-muted);
  line-height: 1.75;
}

.contact-layout {
  align-items: start;
}

.contact-layout__content {
  min-width: 0;
}

.contact-details {
  position: sticky;
  top: 32px;
  padding: clamp(24px, 4vw, 38px);
  border-top: 3px solid var(--ag-color-charcoal);
  background: #efede9;
}

.contact-details > div {
  padding-block: 16px;
  border-bottom: 1px solid #d7d2cc;
}

.contact-details > div:first-child {
  padding-top: 0;
}

.contact-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-details h2 {
  color: #767069;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.appointment-request {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #e1ddd7;
  background: var(--ag-color-white);
}

.appointment-form .form-field input,
.appointment-form .form-field select,
.appointment-form .form-field textarea,
.search-form input[type="search"] {
  min-height: 48px;
  border-color: #d7d2cc;
  background: #fbfaf8;
}

.appointment-form .form-field textarea {
  min-height: 132px;
}

.about-hero + .section {
  background: #fbfaf8;
}

.profile-layout {
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.profile-layout__image {
  overflow: hidden;
  background: #e1ddd7;
}

.profile-layout__image img {
  max-height: 700px;
  object-fit: cover;
}

.profile-layout__content .profile-detail {
  color: #706a64;
  font-size: 0.9rem;
}

.profile-layout__content .prose {
  margin-block: 28px;
}

.single-entry .entry-meta {
  margin-bottom: 24px;
}

.single-entry .entry-content {
  max-width: 760px;
}

.single-entry .post-navigation {
  padding-block: 28px;
  margin-top: 48px;
  border-top: 1px solid #dedad5;
}

.related-articles {
  max-width: var(--ag-container);
  margin-inline: auto;
}

.testimonial-detail {
  max-width: 740px;
}

.testimonial-detail .prose {
  padding: clamp(24px, 5vw, 52px);
  border-left: 3px solid #a49b90;
  background: #efede9;
}

.gallery-detail {
  max-width: 960px;
  margin-inline: auto;
}

.gallery-detail__image {
  position: relative;
  overflow: hidden;
  background: #ded9d1;
}

.gallery-detail__placeholder {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.gallery-detail__placeholder .demo-artwork {
  aspect-ratio: 16 / 10;
}

.gallery-detail__placeholder > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 7px 10px;
  color: var(--ag-color-white);
  background: rgb(28 27 26 / 78%);
  font-size: 0.625rem;
}

.error-page {
  min-height: 340px;
}

.error-page .search-form {
  max-width: 520px;
  margin-block: 24px;
}

.search-empty-state {
  padding: 28px;
  background: #efede9;
}

.archive-description {
  margin-bottom: 40px;
}

.pagination,
.nav-links {
  padding-top: 36px;
}

.pagination .page-numbers,
.nav-links a,
.nav-links span {
  border-radius: 999px;
}

@media (min-width: 768px) {
  .collection-grid--team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-grid--treatments,
  .collection-grid--gallery,
  .collection-grid--testimonials,
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .studio-page-hero {
    min-height: 420px;
  }

  .studio-page-hero__art {
    width: 100%;
  }

  .studio-page-hero__shade {
    background: linear-gradient(0deg, rgb(30 28 26 / 96%) 0%, rgb(30 28 26 / 80%) 42%, rgb(30 28 26 / 18%) 100%);
  }

  .studio-page-hero__inner {
    padding-block: 160px 42px;
  }

  .studio-page-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .page-body {
    padding-block: 60px;
  }

  .contact-details {
    position: static;
  }

  .related-articles {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-card__image img,
  .collection-card__placeholder .demo-artwork {
    transition: none;
  }
}
