/* Homepage finishing layer. The existing composition and shared pages stay intact. */
.studio-home {
  --paper: #f8f5f0;
  --ink: #302a27;
  --muted: #655a53;
  --line: #cfc4ba;
  --accent: #54463e;
  --space-section: 112px;
  --rule-quiet: #a39488;
  --surface-soft: #e9e1d8;
  --focus-ink: #54463e;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h12m-5-5 5 5-5 5' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  text-underline-offset: 0.3em;
  scrollbar-color: var(--rule-quiet) var(--paper);
}

.studio-home ::selection { background: #ded2be; color: #39352f; }
.studio-home input { caret-color: var(--focus-ink); }
.studio-home :is(a, button, input, summary):focus-visible {
  outline: 2px solid var(--focus-ink);
  outline-offset: 5px;
}
.studio-home :is(p, dd) { text-wrap: pretty; }
.studio-home :is(h1, h2, h3) { letter-spacing: 0.025em; }
.studio-home a { text-decoration-thickness: 1px; }
.studio-home .read-link {
  color: var(--ink);
  text-decoration-color: var(--rule-quiet);
  white-space: normal;
  line-height: 1.65;
}
.studio-home .read-link:hover { text-decoration-color: var(--ink); }

/* A quiet shop directory, with one recognisable language doorway. */
.studio-home .shop-sidebar { scrollbar-color: var(--rule-quiet) transparent; }
.studio-home .brand small { font-size: 9px; letter-spacing: 0.06em; }
.studio-home .english-entry {
  background: var(--surface-soft);
  border-color: var(--line);
  padding: 14px 13px;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}
.studio-home .english-entry span { margin-top: 7px; color: var(--muted); }
.studio-home .english-entry::after {
  content: "";
  width: 18px;
  height: 18px;
  right: 13px;
  top: 16px;
  background: currentColor;
  mask: var(--arrow) center / contain no-repeat;
  transform: rotate(-45deg);
}
.studio-home .english-entry:hover { background: #e8e0d4; }
.studio-home .shop-description { line-height: 1.9; }
.studio-home .main-nav a { text-decoration-color: var(--rule-quiet); }
.studio-home .shop-button { border-bottom-color: var(--rule-quiet); }
.studio-home .shop-button:hover { border-bottom-color: var(--ink); color: var(--ink); }
.studio-home .opening-shortcut { min-height: 44px; }
.studio-home .shop-search > div { border-bottom-color: var(--rule-quiet); }
.studio-home .shop-search > div:focus-within { border-bottom-color: var(--ink); }
.studio-home .sidebar-visit { line-height: 1.85; }

/* The opening notice is information on paper, rather than a promotional band. */
.studio-home .opening-banner { background: #d9cec2; color: var(--ink); }
.studio-home .opening-expanded { border-top-color: #c7bcac; }
.studio-home .opening-banner :is(.opening-zone, .opening-note) { color: var(--muted); }
.studio-home .opening-next { font-variant-numeric: tabular-nums; }
.studio-home .opening-banner time { align-items: baseline; }

/* Keep the two-column opening; join its headline and explanatory copy visually. */
.studio-home .writing-feature { grid-template-rows: auto 1fr; row-gap: 28px; }
.studio-home .writing-feature h1 { margin-top: 28px; line-height: 1.58; }
.studio-home .feature-copy { align-self: start; gap: 18px; }
.studio-home .feature-copy .studio-line { font-size: 14px; line-height: 1.8; }
.studio-home .feature-copy > p:not(.studio-line) { font-size: 16px; line-height: 1.95; }
.studio-home .hero-actions { gap: 10px; margin-top: 6px; }
.studio-home .hero-actions .read-link { font-size: 14px; }
.studio-home .button { min-height: 48px; padding: 12px 20px; color: #fffdf8; }
.studio-home .button:hover { background: #514538; }
.studio-home .button:active { background: #443a30; }
.studio-home .hero-photo { border: 0; }

/* Preserve the uneven photographic arrangement; refine its reading rhythm. */
.studio-home .section h2 { font-size: 32px; line-height: 1.5; }
.studio-home :is(.section-heading, .lab-title, .class-heading) { align-items: baseline; }
.studio-home .lab-title p { max-width: 30em; color: var(--muted); line-height: 1.8; }
.studio-home .lab-feature { gap: 44px; }
.studio-home .lab-feature figure { margin: 0; }
.studio-home .lab-feature figcaption { font-size: 13px; color: var(--muted); line-height: 1.7; }
.studio-home :is(.lab-feature h3, .class-copy h3, .visit-copy h3) { font-size: 30px; line-height: 1.6; }
.studio-home .writing-observations dt { font-size: 16px; margin-bottom: 7px; }
.studio-home .writing-observations dd { font-size: 15px; line-height: 1.9; }
.studio-home .writing-observations > div + div { margin-top: 22px; }
.studio-home .origin-note { border-top-color: var(--line); padding-top: 40px; }
.studio-home .origin-note h2 { font-size: 29px; }
.studio-home .origin-note p { line-height: 1.95; }
.studio-home .keeper-portraits { gap: 18px; }
.studio-home .keeper-portraits img { aspect-ratio: 3 / 4; object-fit: cover; }
.studio-home .item h3 { font-size: 24px; line-height: 1.6; margin-top: 22px; }
.studio-home .item p { font-size: 15px; line-height: 1.9; margin-top: 10px; }
.studio-home .item .read-link { font-size: 14px; margin-top: 10px; text-wrap: balance; }
.studio-home .stock-note { font-size: 13px; }
.studio-home .experience-links > a { min-height: 76px; border-color: var(--line); }
.studio-home .experience-links > a:hover { text-decoration: none; }
.studio-home .experience-links > a:hover > span { text-decoration: underline; text-decoration-thickness: 1px; }
.studio-home .experience-links small { font-size: 14px; color: var(--muted); }
.studio-home .class-section { background: var(--surface-soft); }
.studio-home .class-copy p { font-size: 16px; line-height: 1.95; }
.studio-home .course-list > a { min-height: 56px; border-top-color: #c7bcac; }
.studio-home .course-list > a > span:first-child { font-variant-numeric: tabular-nums; }
.studio-home .visit-copy p { font-size: 16px; line-height: 1.95; }
.studio-home .visit-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.studio-home .visit-help summary { min-height: 44px; padding: 8px 0; }
.studio-home .paper-question summary { font-size: 22px; }
.studio-home .paper-question > div { padding-bottom: 26px; }
.studio-home .brands h2 { font: 14px/1.8 var(--sans); }
.studio-home .brands ul { flex-wrap: wrap; gap: 12px 28px; line-height: 1.8; }
.studio-home footer { font-size: 13px; align-items: baseline; }
.studio-home footer a { min-height: 44px; }

@media (min-width: 801px) and (max-width: 1199px) {
  .studio-home .writing-feature h1 { margin-top: 8px; font-size: 32px; }
  .studio-home .feature-copy > p:not(.studio-line) { font-size: 15px; }
  .studio-home .lab-feature { gap: 28px; }
  .studio-home .class-copy h3 { font-size: 27px; }
}

@media (max-width: 800px) {
  .studio-home { --space-section: 76px; }
  .studio-home .brand small { font-size: 8px; }
  .studio-home .english-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 10px 0 0;
    padding: 8px 12px;
    font-size: 15px;
    line-height: 1.5;
    background: transparent;
  }
  .studio-home .english-entry span { display: inline; margin: 0; padding-right: 18px; font-size: 12px; }
  .studio-home .english-entry::after { top: 12px; width: 16px; height: 16px; }
  .studio-home .main-nav { margin-top: 8px; column-gap: 8px; }
  .studio-home .main-nav a { display: flex; align-items: center; min-height: 44px; }
  .studio-home .shop-button { min-height: 44px; }
  .studio-home .writing-feature { row-gap: 0; }
  .studio-home .writing-feature h1 { margin: 0 0 16px; font-size: 30px; line-height: 1.55; }
  .studio-home .writing-feature .feature-copy { padding: 0 0 26px; gap: 10px; }
  .studio-home .feature-copy .studio-line { font-size: 13px; }
  .studio-home .feature-copy > p:not(.studio-line) { font-size: 16px; line-height: 1.85; }
  .studio-home .hero-actions { gap: 8px 18px; margin-top: 2px; }
  .studio-home .hero-actions .button { padding: 11px 16px; }
  .studio-home .hero-photo { margin: 0; width: 100%; }
  .studio-home .section h2 { font-size: 29px; }
  .studio-home .lab-feature { gap: 28px; }
  .studio-home :is(.lab-feature h3, .class-copy h3, .visit-copy h3) { font-size: 28px; }
  .studio-home .writing-observations dd { font-size: 16px; }
  .studio-home .origin-note { padding-top: 32px; }
  .studio-home .origin-note h2 { font-size: 28px; }
  .studio-home .item h3 { font-size: 22px; }
  .studio-home .item p { font-size: 14px; }
  .studio-home .item .read-link { font-size: 14px; }
  .studio-home .experience-links > a { min-height: 88px; }
  .studio-home .paper-question summary { font-size: 21px; }
  .studio-home .brands h2 { font-size: 14px; }
  .studio-home .brands ul { font-size: 16px; gap: 12px 22px; }
}

@media (max-width: 380px) {
  .studio-home .writing-feature h1 { font-size: 27px; }
  .studio-home .main-nav { column-gap: 6px; }
  .studio-home .main-nav a { font-size: 12px; }
}

/* Brown-grey tonal rhythm: keep the composition, give each group a clear weight. */
.studio-home .section { border-top: 0; }
.studio-home .desk-notes { padding-top: 0; }
.studio-home .section-heading { margin-bottom: 36px; }
.studio-home .lab-title h2,
.studio-home .section-heading h2,
.studio-home .class-heading h2,
.studio-home .visit-section > h2 { color: var(--accent); }
.studio-home .writing-feature h1 { color: var(--ink); letter-spacing: .035em; }
.studio-home .feature-copy > p { max-width: 32em; }
.studio-home .main-nav a { color: var(--muted); }
.studio-home .main-nav a:hover { color: var(--ink); text-decoration-color: var(--accent); }
.studio-home .english-entry { background: #e9e1d8; border-color: transparent; }
.studio-home .button { background: var(--accent); border: 1px solid var(--accent); }
.studio-home .button:hover { background: #3d322c; border-color: #3d322c; }
.studio-home .button:active { background: #302a27; }
.studio-home .origin-note { border-top: 0; border-left: 2px solid var(--line); padding: 8px 0 8px 28px; }
.studio-home .origin-note h2 { color: var(--accent); }
.studio-home .item h3 { color: var(--ink); letter-spacing: .025em; }
.studio-home .item p { max-width: 26em; }
.studio-home .experience-links > a { border-top-color: var(--line); }
.studio-home .experience-links > a:hover { background: #eee7df; }
.studio-home .class-section { padding-top: 48px; padding-bottom: 40px; }
.studio-home .class-copy h3 { color: #493d35; }
.studio-home .course-list > a { border-top-color: #b8a99b; }
.studio-home .paper-question { border-top: 1px solid var(--line); border-bottom: 0; }
.studio-home .visit-help details { border-top-color: var(--line); }
.studio-home .brands { border-top: 0; background: #eee7df; padding: 26px 28px; }
.studio-home .brands h2 { color: var(--muted); }
.studio-home .brands ul { color: var(--ink); }
.studio-home footer { border-top: 0; padding-top: 28px; }
@media (max-width: 800px) {
  .studio-home .section-heading { margin-bottom: 28px; }
  .studio-home .writing-feature h1 { letter-spacing: .015em; }
  .studio-home .english-entry { background: #eee7df; }
  .studio-home .origin-note { padding-left: 20px; }
  .studio-home .class-section { padding-top: 38px; padding-bottom: 32px; }
  .studio-home .brands { padding: 24px 20px; }
}

/* Stronger tonal separation within the approved brown-grey palette. */
.studio-home { --surface-soft: #ded0c2; --accent: #493a32; }
.studio-home .opening-banner { background: #54463e; color: #fcf8f2; }
.studio-home .opening-banner :is(.opening-zone, .opening-note) { color: #eee4da; }
.studio-home .opening-expanded { border-top-color: #948175; }
.studio-home .opening-banner :is(a, summary):focus-visible { outline-color: #fcf8f2; }
.studio-home .english-entry { background: #dfd3c7; border-color: #c6b5a5; }
.studio-home .english-entry:hover { background: #d3c2b1; }
.studio-home .class-section { background: #ded0c2; }
.studio-home .class-section :is(p, .course-list > a > span:first-child) { color: #57493f; }
.studio-home .class-copy h3 { color: #3f3029; }
.studio-home .course-list > a { border-top-color: #ad9784; }
.studio-home .brands { background: #66564b; color: #fcf8f2; }
.studio-home .brands :is(h2, ul) { color: #fcf8f2; }
.studio-home .origin-note { border-left-color: #9e8673; }
.studio-home .button { background: #493a32; border-color: #493a32; }

.studio-home .opening-banner a { color: #fcf8f2; text-decoration-color: #cbbbaf; }
