/* Homepage content; the reference-led cover is defined at the end. */
main#top.studio-home {
  --sh-ink: #111;
  --sh-muted: #6e6e6e;
  --sh-accent: #bc3230;
  --sh-paper: #f6f6f6;
  --sh-line: #e9e9e9;
  color: var(--sh-ink);
  background: #fff;
  font-family: "Golos Text", sans-serif;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  container-type: inline-size;
  container-name: studio;
  overflow: clip;
}
.studio-home > section {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}
.studio-home *,
.studio-home *::before,
.studio-home *::after {
  box-sizing: border-box;
}
.studio-home :is(h1, h2, h3, p, ul, blockquote) {
  margin: 0;
}
.studio-home :is(h1, h2, h3) {
  font-family: "Golos Text", sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}
.studio-home h2 {
  text-wrap: balance;
  font-size: clamp(1.875rem, 4.2cqi, 3rem);
  line-height: 1.14;
  max-width: 24ch;
}
.studio-home h3 {
  font-size: 1.5rem;
  line-height: 1.15;
}
.studio-home p {
  font-size: 1rem;
  line-height: 1.55;
}
.studio-home em {
  font-style: normal;
  color: var(--sh-accent);
}
.studio-home :is(a, button, summary):focus-visible {
  outline: 2px solid var(--sh-accent);
  outline-offset: 6px;
}
.studio-home .sh-section {
  padding-block: 3rem;
  scroll-margin-top: 6rem;
}
.studio-home .sh-label {
  font-size: 1rem;
  color: var(--sh-muted);
  line-height: 1.4;
}
.studio-home .sh-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--sh-accent);
  color: white;
  border: 0;
  border-radius: 0;
  padding: 0.875rem 1.25rem;
  min-height: 3rem;
  font:
    500 1rem/1.2 "Golos Text",
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
}
.studio-home .sh-button > span {
  font-size: 1.25rem;
  line-height: 1;
}
.studio-home .sh-button:hover {
  background: #922321;
}
.studio-home .sh-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.75rem;
  width: fit-content;
  font-size: 1rem;
  border-bottom: 0;
  padding-bottom: 0.25rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  color: var(--sh-accent);
  font-weight: 500;
  border-radius: 0;
}
.studio-home .sh-text-link:hover {
  color: #922321;
}
.studio-home .sh-text-link span {
  font-size: 1.25rem;
}
.sh-heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.sh-heading > p {
  color: var(--sh-muted);
  max-width: 20rem;
}
.sh-cover {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  padding: 2rem 0 1.5rem;
  gap: 1.75rem;
}
.studio-home .sh-cover h1 {
  font-size: clamp(2.75rem, 8cqi, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 500;
}
.sh-cover h1 span {
  color: var(--sh-accent);
}
.sh-cover__portrait {
  grid-row: 3;
  height: 20rem;
  overflow: hidden;
  border-radius: 0;
  background: #282827;
}
.sh-cover__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sh-cover__intro {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sh-cover__intro p {
  max-width: 29rem;
  color: var(--sh-muted);
}
.studio-home .sh-statement {
  padding-block: 3rem;
  display: grid;
  gap: 2rem;
}
.studio-home .sh-statement h2 {
  font-size: clamp(1.75rem, 3.6cqi, 2.5rem);
  max-width: 36ch;
  line-height: 1.25;
  color: var(--sh-accent);
}
.sh-statement h2 span {
  color: var(--sh-ink);
}
.sh-tasks,
.sh-services,
.sh-journal {
  border-top: 1px solid var(--sh-line);
}
.sh-task-layout {
  display: grid;
  gap: 2rem;
}
.sh-audiences {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-content: start;
}
.sh-audiences button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0.75rem 1rem;
  min-height: 3rem;
  background: var(--sh-paper);
  color: var(--sh-ink);
  font:
    400 1rem/1.4 "Golos Text",
    sans-serif;
  cursor: pointer;
  text-align: left;
}
.sh-audiences button:hover {
  border-color: var(--sh-ink);
  background: #eee;
}
.sh-audiences button::after {
  content: "";
  width: 0.45rem;
  height: 0.75rem;
  flex-shrink: 0;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
.sh-audiences button[aria-pressed="true"]::after {
  opacity: 1;
}
.sh-audiences button span {
  display: none;
}
.sh-audiences button[aria-pressed="true"] {
  background: var(--sh-ink);
  border-color: var(--sh-ink);
  color: white;
}
.sh-task-panel ul {
  list-style: none;
  padding: 0;
}
.sh-task-panels {
  display: grid;
  min-width: 0;
}
.sh-task-panel {
  grid-area: 1 / 1;
  min-width: 0;
}
.sh-task-panel[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}
.sh-task-panel li {
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--sh-line);
}
.sh-task-panel li:first-child {
  padding-top: 0;
}
.sh-task-panel strong {
  font-weight: 500;
  color: var(--sh-ink);
}
.sh-task-panel p {
  color: var(--sh-muted);
}
.sh-service-list {
  display: grid;
  gap: 0.75rem;
}
.sh-service {
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: clip;
  background: #fff;
}
.sh-service[open] {
  border-color: #bd9d9d;
}
.sh-service summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2rem;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  min-height: 4.5rem;
  background: var(--sh-paper);
  list-style: none;
  cursor: pointer;
}
.sh-service summary:hover {
  background: #eee;
}
.sh-service summary:focus-visible {
  outline-offset: -4px;
}
.sh-service summary::-webkit-details-marker {
  display: none;
}
.studio-home .sh-service h3 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
  text-wrap: initial;
  overflow-wrap: normal;
  hyphens: auto;
}
.sh-service-toggle {
  height: 2rem;
  width: 2rem;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  position: relative;
}
.sh-service-toggle::before,
.sh-service-toggle::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 15px;
  height: 1px;
  background: var(--sh-ink);
}
.sh-service-toggle::after {
  transform: rotate(90deg);
}
.sh-service[open] .sh-service-toggle::after {
  display: none;
}
.sh-service[open] summary {
  color: var(--sh-accent);
  background: #faf3f3;
}
.sh-service[open] .sh-service-toggle {
  border-color: var(--sh-accent);
  background: var(--sh-accent);
}
.sh-service[open] .sh-service-toggle::before {
  background: #fff;
}
.sh-service-content {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem;
}
.sh-service-content p,
.sh-service-content li {
  color: var(--sh-muted);
  font-size: 1rem;
  line-height: 1.6;
}
.sh-service-content ul {
  list-style: disc;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
}
.sh-service-content .sh-text-link {
  margin-top: 1.5rem;
}
.sh-statistics {
  display: grid;
  gap: 2rem;
  margin-block: 2rem;
}
.sh-statistics > div {
  border-top: 1px solid var(--sh-line);
  padding-top: 1.25rem;
}
.sh-statistics strong {
  font-weight: 400;
  font-size: clamp(2.75rem, 5.5cqi, 4rem);
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  display: block;
}
.sh-statistics p {
  margin-top: 0.75rem;
  color: var(--sh-muted);
  max-width: 23ch;
}
.sh-about {
  display: grid;
  gap: 2rem;
  margin-block: 3rem;
  padding: 1.5rem;
  background: var(--sh-paper);
  border-radius: 0;
}
.sh-about__copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}
.studio-home .sh-about__copy h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.sh-about__copy > p:not(.sh-label) {
  max-width: 30rem;
  color: var(--sh-muted);
}
.studio-home .tile-video {
  border-radius: 0;
  overflow: hidden;
  min-height: 0;
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--sh-ink);
  position: relative;
}
.studio-home .tile-video__head {
  display: none;
}
.studio-home .tile-video__media {
  display: block;
  position: absolute;
  inset: 0;
}
.studio-home .tile-video__poster,
.studio-home .tile-video__media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.studio-home .tile-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.studio-home .tile-video--compact .tile-video__poster {
  display: block;
  padding: 0;
  background: var(--sh-ink);
  cursor: pointer;
}
.studio-home .tile-video--compact .tile-video__play-btn {
  display: none;
}
.studio-home .tile-video--compact .tile-video__poster img {
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1);
}
.studio-home .tile-video__watch {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  min-height: 3.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  font:
    500 1rem/1.3 "Golos Text",
    sans-serif;
  background: var(--sh-accent);
  border-radius: 0;
}
.studio-home .tile-video__watch::before {
  content: "";
  border-left: 9px solid white;
  border-block: 6px solid transparent;
}
.sh-clients {
  background: var(--sh-ink);
  color: white;
  border-radius: 0;
  padding: 2rem 1.5rem;
}
.studio-home .sh-clients h3 {
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 400;
  color: #ccc;
}
.sh-clients ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: 2.5rem;
  align-items: center;
}
.sh-client {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.sh-client img {
  width: 100%;
  max-width: 9rem;
  max-height: 3rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sh-client--severstal img {
  transform: translateY(-0.4rem);
}
.sh-client--asi img {
  transform: translateY(-0.3rem);
}
main.studio-home #cta.sh-brief {
  display: grid;
  gap: 1.75rem;
  background: var(--sh-paper);
  border-radius: 0;
  padding: 3rem 1.25rem;
  margin-block: 0;
}
.sh-brief .sh-label {
  margin-bottom: 1.5rem;
}
.sh-brief__action {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
}
.sh-brief > div > p {
  margin-top: 1rem;
  max-width: 26rem;
  color: var(--sh-muted);
}
.sh-principles-grid {
  display: grid;
  gap: 1.25rem;
}
.sh-principle {
  border-radius: 0;
  background: var(--sh-paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.studio-home .sh-principle h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  color: var(--sh-accent);
}
.sh-principle p {
  color: #494945;
  max-width: 52ch;
  line-height: 1.65;
}
.sh-principle--lead {
  background: none;
  border-radius: 0;
  border-left: 3px solid var(--sh-accent);
  margin-bottom: 0.75rem;
  color: var(--sh-ink);
}
.sh-principle--lead p {
  color: var(--sh-ink);
}
.studio-home .sh-book {
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--sh-line);
}
.sh-book__image {
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.sh-book__image img {
  width: 100%;
  height: 100%;
  max-height: 24rem;
  object-fit: contain;
}
.sh-book__copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.5rem;
}
.sh-book__copy > p {
  max-width: 27rem;
  color: var(--sh-muted);
}
.sh-posts {
  display: grid;
  gap: 1rem;
}
.sh-post {
  border-radius: 0;
  background: #fff;
  border: 1px solid #d4d4d4;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--sh-ink);
  text-decoration: none;
  cursor: pointer;
}
.sh-post:hover,
.sh-post:focus-visible {
  border-color: var(--sh-accent);
  background: #faf3f3;
}
.sh-post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--sh-muted);
}
.studio-home .sh-post h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--sh-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.studio-home .sh-post p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--sh-muted);
}
@container studio (min-width:40rem) {
  .sh-cover {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 2rem 3rem;
    padding-block: 3rem;
    min-height: 0;
  }
  .studio-home .sh-cover h1 {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    font-size: clamp(2.75rem, 7.4cqi, 5.5rem);
    max-width: 100%;
  }
  .sh-cover__portrait {
    grid-column: 2;
    grid-row: 1/3;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 34rem;
    min-height: 0;
  }
  .sh-cover__intro {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
  }
  .studio-home .sh-section {
    padding-block: 3.5rem;
  }
  .studio-home .sh-statement {
    grid-template-columns: 1fr 2.6fr;
    gap: 3rem;
    padding-block: 4rem;
  }
  .sh-statement .sh-label {
    padding-top: 0.6rem;
  }
  .sh-heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .sh-heading > p {
    max-width: 11rem;
  }
  .sh-task-layout {
    grid-template-columns: 1fr 1.8fr;
    gap: 3rem;
  }
  .sh-audiences {
    flex-direction: column;
    gap: 0.75rem;
  }
  .sh-audiences button {
    border: 1px solid #d4d4d4;
    border-radius: 0;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    width: 100%;
  }
  .sh-audiences button span {
    display: inline;
  }
  .sh-task-panel p {
    font-size: 1rem;
  }
  .sh-service summary {
    padding: 1.25rem 1.5rem;
    grid-template-columns: minmax(0, 1fr) 2rem;
    gap: 1.5rem;
  }
  .sh-service-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    padding: 1.5rem;
  }
  .sh-statistics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-block: 2.5rem;
  }
  .sh-about {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2rem;
    margin-block: 3rem;
    align-items: center;
  }
  .sh-clients {
    padding: 2.5rem;
  }
  .sh-clients ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }
  main.studio-home #cta.sh-brief {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding: 3.5rem 2rem;
    align-items: center;
  }
  .sh-brief__action {
    align-items: center;
    justify-self: end;
  }
  .sh-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sh-principle {
    padding: 1.5rem;
    min-height: 0;
    display: flex;
    align-content: start;
  }
  .sh-principle--lead {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-height: 0;
    padding: 2rem;
    align-items: start;
  }
  .studio-home .sh-principle--lead h3 {
    font-size: 1.5rem;
    max-width: 24ch;
  }
  .studio-home .sh-book {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: center;
  }
  .sh-book__image {
    min-height: 0;
  }
  .sh-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sh-post {
    min-height: 17rem;
    padding: 1.5rem;
  }
}
@container studio (min-width:56rem) {
  .sh-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@container studio (min-width:60rem) {
  .sh-cover {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem 4rem;
  }
  .sh-cover__intro {
    padding-right: 1rem;
  }
  .sh-cover__intro p {
    font-size: 1rem;
  }
  .sh-cover__portrait {
    border-radius: 0;
  }
  .sh-principle {
    padding: 1.75rem;
  }
  .sh-principle--lead {
    padding: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-home * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Personal editorial cover: quiet directory, oversized name, original portrait. */
.studio-home .sh-cover {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
  padding-block: 1.5rem 3rem;
  max-width: none;
}
.sh-cover__contents {
  grid-row: 1;
  grid-column: 1;
}
.sh-cover__contents summary {
  color: var(--sh-accent);
  cursor: pointer;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  font-size: 1rem;
}
.sh-cover__contents a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  width: fit-content;
  color: var(--sh-ink);
  font-size: 1rem;
  text-decoration: none;
}
.sh-cover__contents a:hover {
  color: var(--sh-accent);
  text-decoration: underline;
}
.studio-home .sh-cover h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font-size: clamp(2.75rem, 12cqi, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #111;
}
.studio-home .sh-cover h1 span {
  color: inherit;
}
.studio-home .sh-cover__intro {
  grid-column: 1;
  grid-row: 3;
  padding: 0;
  gap: 1.25rem;
}
.studio-home .sh-cover__intro p {
  max-width: 42ch;
  color: var(--sh-ink);
  font-size: 1.125rem;
  line-height: 1.45;
}
.studio-home .sh-cover__intro .sh-button {
  border-radius: 0;
}
.studio-home .sh-cover__portrait {
  grid-column: 1;
  grid-row: 4;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 0;
}
.studio-home .sh-cover__portrait img {
  object-position: center 20%;
}
@media (min-width: 1024px) {
  main#top.studio-home {
    padding-inline: clamp(2rem, 3vw, 4rem) 1.25rem;
  }
  .studio-home .sh-cover {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: minmax(12rem, 1fr) auto auto;
    column-gap: clamp(1.5rem, 2.5vw, 3rem);
    row-gap: 1.75rem;
    min-height: min(56rem, 100svh);
    padding-block: 1.25rem;
  }
  .sh-cover__contents {
    align-self: start;
  }
  .sh-cover__contents summary {
    list-style: none;
  }
  .sh-cover__contents summary::-webkit-details-marker {
    display: none;
  }
  .sh-cover__contents a {
    min-height: 2rem;
  }
  .studio-home .sh-cover h1 {
    font-size: clamp(3.5rem, 12cqi, 12rem);
  }
  .studio-home .sh-cover__intro p {
    font-size: clamp(1.125rem, 2.4cqi, 2rem);
  }
  .studio-home .sh-cover__portrait {
    grid-column: 2;
    grid-row: 1 / 4;
    height: 100%;
    aspect-ratio: auto;
  }
}
