/* Homepage formats and approach. Shared Violet theme variables stay authoritative. */
html.home-reframe :is(.reframe-formats, .reframe-approach) {
  padding-block: 64px;
}

html.home-reframe .reframe-section-heading {
  display: block;
  margin-bottom: 28px;
  padding-top: 0;
  border-top: 0;
}

html.home-reframe .reframe-section-heading h2 {
  max-width: 22ch;
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--ink);
}

html.home-reframe .reframe-section-heading > p {
  max-width: 70ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

html.home-reframe .reframe-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

html.home-reframe :is(.reframe-format-card, .reframe-approach-card) {
  min-width: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 24px;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow);
  color: var(--ink);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.12);
}

html.home-reframe .reframe-format-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  min-height: 350px;
  padding: 24px;
}

html.home-reframe .reframe-format-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 29px);
  line-height: 1.16;
  color: var(--ink);
}

html.home-reframe .reframe-format-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

html.home-reframe .reframe-format-result {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

html.home-reframe .reframe-format-result > span {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--glass-accent);
}

html.home-reframe .reframe-format-card .button {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
}

html.home-reframe .reframe-formats-note {
  max-width: 85ch;
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

html.home-reframe .reframe-approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

html.home-reframe .reframe-approach-card {
  padding: 24px;
}

html.home-reframe .reframe-approach-card h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.2;
  color: var(--ink);
}

html.home-reframe .reframe-change-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

html.home-reframe .reframe-change-pair > div {
  min-width: 0;
}

html.home-reframe .reframe-change-after {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

html.home-reframe .reframe-change-pair dt {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}

html.home-reframe .reframe-change-after dt {
  color: var(--glass-accent);
}

html.home-reframe .reframe-change-pair dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

html.home-reframe .reframe-change-after dd {
  color: var(--ink);
}

@media (max-width: 980px) {
  html.home-reframe .reframe-format-grid {
    gap: 12px;
  }

  html.home-reframe .reframe-format-card {
    padding: 20px;
  }

  html.home-reframe .reframe-format-card h3 {
    font-size: 25px;
  }

  html.home-reframe .reframe-change-pair {
    gap: 14px;
  }

  html.home-reframe .reframe-change-after {
    padding-left: 14px;
  }
}

@media (max-width: 760px) {
  html.home-reframe :is(.reframe-formats, .reframe-approach) {
    padding-block: 42px;
  }

  html.home-reframe .reframe-section-heading {
    margin-bottom: 22px;
  }

  html.home-reframe .reframe-section-heading h2 {
    font-size: clamp(30px, 6.8vw, 42px);
  }

  html.home-reframe .reframe-section-heading > p {
    font-size: 15px;
  }

  html.home-reframe :is(.reframe-format-grid, .reframe-approach-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html.home-reframe .reframe-format-card {
    min-height: 0;
    padding: 22px;
    gap: 15px;
  }

  html.home-reframe :is(.reframe-format-card h3, .reframe-approach-card h3) {
    font-size: 27px;
  }

  html.home-reframe .reframe-approach-card {
    padding: 22px;
  }

  html.home-reframe .reframe-change-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html.home-reframe .reframe-change-after {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

html.home-reframe #work {
  color: var(--ink);
  font-family: var(--font-body);
  scroll-margin-top: 120px;
}

html.home-reframe #work .work-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

html.home-reframe #work .work-heading h2 {
  margin: 0;
  max-width: 850px;
  color: var(--ink);
  font: 400 clamp(34px, 4.2vw, 60px)/1.04 var(--font-display);
  letter-spacing: -.025em;
  text-wrap: balance;
}

html.home-reframe #work .work-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  color: var(--glass-accent);
  font: 600 15px/1.45 var(--font-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

html.home-reframe #work .work-heading > .work-text-link {
  flex: none;
  padding-block: 10px;
}

html.home-reframe #work :is(.work-selected, .work-identity-grid, .work-support-grid, .work-sport-grid) {
  display: grid;
  gap: 24px;
}

html.home-reframe #work :is(.work-selected, .work-support-grid, .work-sport-grid) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.home-reframe #work .work-identity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.home-reframe #work :is(.work-case, .work-project, .work-support-card) {
  min-width: 0;
  border: 1px solid var(--glass-edge);
  border-radius: 24px;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow);
  color: var(--ink);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

html.home-reframe #work .work-case {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

html.home-reframe #work .work-case-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 24px 18px 18px;
}

html.home-reframe #work .work-case-search .work-case-content {
  padding: 28px 22px 22px;
}

html.home-reframe #work .work-label {
  display: block;
  margin-bottom: 14px;
  color: var(--glass-accent);
  font: 600 12px/1.45 var(--font-body);
  letter-spacing: .04em;
}

html.home-reframe #work .work-case h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font: 400 clamp(27px, 2.55vw, 37px)/1.08 var(--font-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}

html.home-reframe #work .work-case-lead {
  margin: 0 0 24px;
  max-width: 390px;
  color: var(--muted);
  font: 400 19px/1.45 var(--font-body);
  text-wrap: pretty;
}

html.home-reframe #work .work-case-facts {
  width: 100%;
  margin: 18px 0 24px;
}

html.home-reframe #work .work-case-facts > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--glass-edge);
}

html.home-reframe #work .work-case-facts dt {
  color: var(--glass-accent);
  font: 600 12px/1.5 var(--font-body);
}

html.home-reframe #work .work-case-facts dd {
  margin: 0;
  color: var(--ink);
  font: 400 15px/1.6 var(--font-body);
  text-wrap: pretty;
}

html.home-reframe #work .work-case-facts strong {
  color: var(--ink);
  font: 600 15px/1.6 var(--font-body);
}

html.home-reframe #work .work-source {
  margin: 0 0 22px;
  color: var(--muted);
  font: 400 12px/1.5 var(--font-body);
}

html.home-reframe #work .work-case-content > .work-text-link {
  margin-top: auto;
}

html.home-reframe #work .work-case-image {
  display: block;
  border-radius: 15px;
}

html.home-reframe #work :is(.work-case-image, .work-project) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 580;
  object-fit: cover;
  border: 0;
  border-radius: 15px;
}

html.home-reframe #work .work-experience {
  margin-top: 48px;
}

html.home-reframe #work .work-subheading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

html.home-reframe #work .work-subheading h3 {
  margin: 0;
  color: var(--ink);
  font: 400 30px/1.15 var(--font-display);
  letter-spacing: -.015em;
}

html.home-reframe #work .work-subheading p {
  margin: 0;
  color: var(--muted);
  font: 400 14px/1.5 var(--font-body);
}

html.home-reframe #work .work-project {
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-decoration: none;
}

html.home-reframe #work .work-project > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 20px 12px 14px;
}

html.home-reframe #work .work-project h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font: 400 24px/1.15 var(--font-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}

html.home-reframe #work .work-project p {
  margin: 0 0 20px;
  color: var(--muted);
  font: 400 14px/1.55 var(--font-body);
  text-wrap: pretty;
}

html.home-reframe #work .work-project-link {
  display: inline-block;
  margin-top: auto;
  color: var(--glass-accent);
  font: 600 13px/1.5 var(--font-body);
}

html.home-reframe #work .work-more {
  margin-top: 30px;
}

html.home-reframe #work .work-more > summary {
  width: fit-content;
  margin-inline: auto;
  padding: 14px 20px;
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow);
  color: var(--glass-accent);
  font: 600 14px/1.45 var(--font-body);
  list-style-position: inside;
  cursor: pointer;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

html.home-reframe #work .work-more-content {
  padding-top: 32px;
}

html.home-reframe #work .work-support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

html.home-reframe #work .work-support-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font: 400 29px/1.12 var(--font-display);
  text-wrap: balance;
}

html.home-reframe #work .work-support-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font: 400 15px/1.6 var(--font-body);
  text-wrap: pretty;
}

html.home-reframe #work .work-support-card > .work-text-link {
  margin-top: auto;
}

html.home-reframe #work .work-more-content > .work-subheading {
  margin-top: 36px;
}

html.home-reframe #work :is(.work-text-link, .work-project, .work-case-image, summary):focus-visible {
  outline: 3px solid var(--glass-accent);
  outline-offset: 5px;
}

html.home-reframe #work .work-project:hover .work-project-link,
html.home-reframe #work .work-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 700px) {
  html.home-reframe #work .work-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  html.home-reframe #work :is(.work-selected, .work-identity-grid, .work-support-grid, .work-sport-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  html.home-reframe #work :is(.work-case-content, .work-case-search .work-case-content) {
    padding: 20px 12px 16px;
  }

  html.home-reframe #work .work-case-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 14px;
  }

  html.home-reframe #work .work-case-lead {
    margin-bottom: 12px;
    font-size: 18px;
  }

  html.home-reframe #work .work-experience {
    margin-top: 36px;
  }

  html.home-reframe #work .work-subheading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
  }

  html.home-reframe #work .work-support-card {
    padding: 24px;
  }

  html.home-reframe #work .work-more > summary {
    padding-inline: 16px;
    font-size: 13px;
  }
}

/* Homepage refinements follow the approved Violet visual system. */
html.home-reframe body .section-index { display: none; }
html.home-reframe body .hero-slide h1 { max-width: 15ch; font-size: clamp(46px,4.6vw,67px); line-height: 1.04; }
html.home-reframe body .hero-slide>p:not(.eyebrow) { max-width: 52ch; font-size: 17px; line-height: 1.65; }
html.home-reframe body .hero-slide .hero-cta-note { font-size: 13px; line-height: 1.55; max-width: 42ch; margin: 17px 0 0; }
html.home-reframe body .hero-actions { flex-wrap: wrap; }
html.home-reframe body .hero-actions .button { min-height: 50px; font-size: 14px; }
html.home-reframe body .hero-text { min-width: 0; }
html.home-reframe body .hero-visuals { min-height: 510px; }
html.home-reframe body .hero-v-orbit { top: -78px; }
html.home-reframe body .hero-diagram { position: relative; width: min(430px,94%); margin: 25px auto 0; padding: 20px 16px 18px; border: 1px solid var(--glass-edge); border-radius: 28px; background: var(--glass-fill); box-shadow: var(--glass-shadow); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); }
html.home-reframe body .diagram-orbit { position: relative; width: 100%; aspect-ratio: 1; }
html.home-reframe body .diagram-orbit svg { width: 100%; height: 100%; position: absolute; inset: 0; fill: none; }
html.home-reframe body .diagram-orbit .diagram-ray { stroke: var(--glass-accent); stroke-width: 1; opacity: .2; }
html.home-reframe body .diagram-orbit .diagram-ring { stroke: var(--glass-accent); stroke-width: 5; stroke-linecap: round; opacity: .45; }
html.home-reframe body .diagram-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 37%; text-align: center; color: var(--ink); }
html.home-reframe body .diagram-core strong { display: block; font: 500 clamp(42px,4vw,61px)/1.05 var(--font-display); letter-spacing: -.03em; }
html.home-reframe body .diagram-core span { display: block; font: 600 14px/1.35 var(--font-body); margin-top: 8px; }
html.home-reframe body .diagram-node { position: absolute; left: var(--node-x); top: var(--node-y); transform: translate(-50%,-50%); width: 29%; padding: 10px 6px; border: 1px solid var(--glass-edge); border-radius: 12px; color: var(--ink); background: var(--glass-control); box-shadow: var(--glass-shadow); font: 600 13px/1.35 var(--font-body); text-align: center; }
html.home-reframe body .hero-diagram>p { max-width: 32ch; margin: 5px auto 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
html.home-reframe body :is(#formats,#approach,#services,#work,#niches,#team,#brief) { padding-block: 64px; scroll-margin-top: 108px; }
html.home-reframe body #services .section-title { display: block; margin-bottom: 28px; }
html.home-reframe body #services .section-title h2 { max-width: 20ch; margin: 0 0 18px; font-size: clamp(34px,4.2vw,56px); line-height: 1.08; }
html.home-reframe body #services .glass-section-lead { max-width: 66ch; font-size: 16px; line-height: 1.6; }
html.home-reframe body #services .service-spread { grid-template-columns: repeat(3,minmax(0,1fr)); }
html.home-reframe body #services .service-issue { min-height: 224px; padding: 25px 24px 50px; }
html.home-reframe body #services .service-issue h3 { font-size: 21px; line-height: 1.25; }
html.home-reframe body #services .service-issue p { font-size: 15px; line-height: 1.6; }
html.home-reframe body .services-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 23px; font-size: 14px; line-height: 1.6; }
html.home-reframe body .services-links a { color: var(--glass-accent); text-decoration: underline; text-underline-offset: 5px; }
html.home-reframe body #niches .section-title { display: block; margin-bottom: 26px; }
html.home-reframe body #niches .section-title h2 { font-size: clamp(34px,4.2vw,56px); line-height: 1.08; margin: 0 0 18px; }
html.home-reframe body .industry-lead { max-width: 65ch; color: var(--muted); line-height: 1.6; font-size: 16px; }
html.home-reframe body #niches .niche-preview-card { min-height: 208px; padding: 23px; }
html.home-reframe body #niches .niche-preview-card>span, html.home-reframe body #niches .niche-card-channels { display: none; }
html.home-reframe body #niches .niche-preview-card>strong { margin-top: 0; font-size: 21px; line-height: 1.35; }
html.home-reframe body #niches .niche-preview-card p { font-size: 16px; line-height: 1.6; }
html.home-reframe body #team .team-intro { display: block; margin-bottom: 30px; }
html.home-reframe body #team .team-intro h2 { font-size: clamp(34px,4.2vw,56px); line-height: 1.08; }
html.home-reframe body #team .team-intro>p { margin: 15px 0 0; max-width: 62ch; font-size: 16px; }
html.home-reframe body #brief { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: start; gap: 30px; }
html.home-reframe body .start-copy h2 { font: 500 clamp(34px,4.2vw,56px)/1.08 var(--font-display); max-width: 16ch; margin: 0 0 30px; letter-spacing: -.025em; }
html.home-reframe body .start-steps { padding: 0; margin: 0; list-style: none; display: grid; gap: 24px; }
html.home-reframe body .start-steps li { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 14px; align-items: start; }
html.home-reframe body .start-steps li>span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--glass-edge); border-radius: 10px; color: var(--glass-accent); background: var(--glass-control); font-weight: 600; }
html.home-reframe body .start-steps h3 { font: 600 18px/1.45 var(--font-body); margin: 0 0 6px; color: var(--ink); }
html.home-reframe body .start-steps p { max-width: 48ch; color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }
html.home-reframe body .start-panel { min-width: 0; padding: 32px; border: 1px solid var(--glass-edge); border-radius: 24px; color: var(--ink); background: var(--glass-fill); box-shadow: var(--glass-shadow); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); }
html.home-reframe body .start-panel h3 { font: 500 30px/1.2 var(--font-display); margin: 0 0 15px; }
html.home-reframe body .start-panel>p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
html.home-reframe body .start-panel>.button { min-height: 50px; font-size: 15px; margin-bottom: 18px; }
html.home-reframe body .presentation-link { display: block; color: var(--glass-accent); font-size: 14px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
html.home-reframe body .start-faq { margin-top: 25px; }
html.home-reframe body .start-faq details { border-top: 1px solid var(--line); padding: 16px 0; }
html.home-reframe body .start-faq summary { font-size: 15px; line-height: 1.5; font-weight: 600; cursor: pointer; }
html.home-reframe body .start-faq p { font-size: 14px; line-height: 1.65; margin: 12px 0 0; color: var(--muted); }
html.home-reframe body .start-reading { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid var(--line); }
html.home-reframe body .start-reading summary { cursor: pointer; color: var(--muted); font-size: 15px; line-height: 1.5; }
html.home-reframe body .start-reading ul { list-style: none; padding: 0; display: grid; gap: 10px; }
html.home-reframe body .start-reading a { font-size: 14px; line-height: 1.6; color: var(--glass-accent); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) {
 html.home-reframe body #brief { grid-template-columns: minmax(0,1fr); }
 html.home-reframe body #services .service-spread { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
 html.home-reframe body .hero-slide h1 { font-size: clamp(39px,10.5vw,55px); max-width: 12ch; }
 html.home-reframe body .hero-slide>p:not(.eyebrow) { font-size: 16px; }
 html.home-reframe body .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
 html.home-reframe body .hero-actions .button { min-height: 50px; width: 100%; font-size: 14px; padding: 12px 10px; }
 html.home-reframe body .hero-slide .hero-cta-note { font-size: 13px; margin-top: 15px; }
 html.home-reframe body .hero-visuals { min-height: 386px; margin-top: 17px; }
 html.home-reframe body .hero-v-orbit { top: -25px; }
 html.home-reframe body .hero-diagram { width: 100%; max-width: 390px; margin-top: 10px; padding: 13px 9px; border-radius: 23px; }
 html.home-reframe body .diagram-core strong { font-size: 44px; }
 html.home-reframe body .diagram-core span { font-size: 12px; }
 html.home-reframe body .diagram-node { font-size: 11px; padding: 9px 4px; }
 html.home-reframe body .hero-diagram>p { font-size: 13px; }
 html.home-reframe body :is(#formats,#approach,#services,#work,#niches,#team,#brief) { padding-block: 42px; }
 html.home-reframe body #services .service-spread { grid-template-columns: minmax(0,1fr); }
 html.home-reframe body #services .service-issue { min-height: 180px; padding: 22px 22px 48px; }
 html.home-reframe body #services .service-issue h3 { margin-top: 18px; font-size: 20px; }
 html.home-reframe body #services .service-issue p { font-size: 16px; }
 html.home-reframe body #niches .niche-preview-card { min-height: 178px; }
 html.home-reframe body #niches .niche-preview-card>strong { font-size: 21px; }
 html.home-reframe body .start-panel { padding: 25px 22px; }
 html.home-reframe body .start-panel h3 { font-size: 28px; }
 html.home-reframe body .start-copy h2 { max-width: 18ch; }
}
@media (forced-colors: active) {
 html.home-reframe body :is(.hero-diagram,.diagram-node,.start-panel) { background: Canvas; border-color: CanvasText; box-shadow: none; backdrop-filter: none; }
}
