/* TOP-only editorial treatment. Shared tokens and detail pages remain intact. */
body.home {
  --color-canvas: #f7f5f0;
  --color-surface: #fff;
  --color-surface-sage: #f4f2eb;
  --color-surface-blue: #f7f5f0;
  --color-text: #202622;
  --color-text-muted: #4c554f;
  --color-primary: #26483a;
  --color-primary-hover: #1b392d;
  --color-gold: #aa853d;
  --color-gold-soft: #d8c59e;
  --color-border: #d5d4cc;
  --editorial-gold-ink: #735720;
  --section-space: clamp(5rem, 8vw, 8.5rem);
}

.home .site-main > .section {
  background: var(--color-canvas);
}

.home .site-main > .home-about,
.home .site-main > .section[aria-labelledby="activities-heading"],
.home .site-main > .section[aria-labelledby="news-heading"] {
  background: var(--color-surface);
}

.home .site-main > .section[aria-labelledby="business-heading"] {
  background: var(--color-canvas);
}

.home .section-title {
  gap: var(--space-3);
  margin-block-end: clamp(2.5rem, 5vw, 4.5rem);
}

.home .section-title__eyebrow,
.home .eyebrow {
  margin-block-end: 0;
  color: var(--editorial-gold-ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.home .section-title__heading {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.home .section-title__description {
  font-size: var(--font-size-body);
  line-height: 1.9;
}

.home .button {
  min-height: 3rem;
  border-radius: 2px;
}

/* The photograph remains a single uninterrupted hero surface. */
.home .hero--photo {
  background: var(--color-canvas);
}

.home .hero--photo::after {
  background: linear-gradient(90deg, rgb(247 245 240 / 80%) 0%, rgb(247 245 240 / 52%) 28%, rgb(247 245 240 / 14%) 54%, transparent 72%);
}

.home .hero--photo .hero__copy {
  max-width: 44rem;
}

.home .hero--photo .eyebrow {
  margin-block-end: var(--space-5);
  color: var(--color-primary-hover);
}

.home .hero--photo .hero__heading {
  max-width: 12em;
  margin-block-end: var(--space-5);
  color: var(--color-text);
  font-size: clamp(2.8rem, 1.45rem + 3.55vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.42;
}

.home .hero--photo .hero__copy .lead {
  max-width: 33rem;
  color: var(--color-text);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.17rem);
  line-height: 1.95;
}

.home .hero__actions {
  margin-block-start: var(--space-7);
}

.home .hero__image-note {
  border-radius: 0;
  background: rgb(247 245 240 / 78%);
  font-size: 0.64rem;
}

/* Mission photographs read like an edited feature rather than cards. */
.home .home-about__inner {
  gap: clamp(2rem, 5vw, 5rem);
}

.home .home-about__copy .statement,
.home .company-preview .statement {
  color: var(--color-text);
  font-size: clamp(1.7rem, 1rem + 2.05vw, 3rem);
  font-weight: 600;
  line-height: 1.7;
}

.home .home-about__copy > p:not(.statement) {
  max-width: 38rem;
  line-height: 2.05;
}

.home .mission-grid {
  gap: clamp(1rem, 2vw, 2rem);
  margin-block-start: clamp(3.5rem, 6vw, 6rem);
}

.home .mission-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .mission-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: var(--color-canvas);
}

.home .mission-card__title {
  padding: var(--space-4) 0 0;
  color: var(--color-text);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.6;
}

.home .mission-card__description {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
  font-size: 0.91rem;
  line-height: 1.75;
}

.home .concept-note,
.home .provisional-note {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* A single open orbit and the central photograph carry the cycle. */
.home .home-cycle {
  margin-block-start: clamp(6rem, 10vw, 10rem);
  padding: clamp(4rem, 6vw, 6rem) 0 0;
  border-block-start: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.home .home-cycle .section-title {
  text-align: left;
}

.home .home-cycle .section-title__description {
  margin-inline: 0;
}

.home .cycle-diagram {
  margin-block-start: var(--space-8);
}

.home .cycle-diagram__center {
  width: min(72vw, 18rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home .cycle-diagram__center::after {
  right: -0.8rem;
  bottom: -0.4rem;
  background: var(--color-surface);
  color: var(--editorial-gold-ink);
}

.home .cycle-diagram__steps li {
  width: clamp(9rem, 15vw, 11.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-text);
}

.home .cycle-diagram__steps li span {
  color: var(--editorial-gold-ink);
  font-size: 0.82rem;
  font-weight: 500;
}

.home .cycle-diagram__steps li strong {
  font-family: var(--font-serif);
  font-size: clamp(0.94rem, 1.3vw, 1.1rem);
  font-weight: 600;
}

.home .cycle-diagram__paths {
  stroke: #71897b;
  stroke-width: 1.25;
}

.home .cycle-diagram__paths marker path {
  fill: #71897b;
}

.home .cycle-diagram__repeat {
  color: var(--color-primary);
  font-size: 0.94rem;
  font-weight: 500;
}

/* The five roles are a brand system, with the gold centre as the anchor. */
.home .home-goryu {
  border-block: 1px solid var(--color-border);
}

.home .dragon-map {
  margin-block: var(--space-7) clamp(6rem, 9vw, 9rem);
}

.home .dragon-map__connections {
  stroke: var(--color-gold-soft);
  stroke-width: 1.5;
}

.home .dragon-map__node,
.home .dragon-map__branches .dragon-map__node {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home .dragon-map__center {
  border: 1px solid var(--color-gold);
  background: var(--color-canvas);
}

.home .dragon-map__center::before {
  position: absolute;
  inset: -0.75rem;
  border: 1px solid rgb(170 133 61 / 45%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home .dragon-map__symbol {
  width: 2rem;
  margin-block-end: var(--space-3);
  border-width: 1px;
  background: radial-gradient(circle, var(--dragon-color) 0 2px, transparent 2.5px);
}

.home .dragon-map__node strong {
  font-size: clamp(1.05rem, 1.5vw, 1.5rem);
}

.home .dragon-map__center strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.home .dragon-map__node > span:last-child {
  color: var(--color-text-muted);
}

.home .dragon-map__center > span:last-child {
  color: var(--color-primary-hover);
}

/* The sixth dragon has more breathing room and no panel treatment. */
.home .future-panel {
  min-height: clamp(30rem, 42vw, 39rem);
  margin-block-start: 0;
  border-radius: 0;
  background: var(--color-canvas);
}

.home .future-panel::after {
  background: linear-gradient(90deg, transparent 22%, rgb(247 245 240 / 12%) 46%, rgb(247 245 240 / 82%) 68%, var(--color-canvas) 100%);
}

.home .future-panel__copy {
  width: 44%;
  padding: clamp(2rem, 5vw, 5rem);
}

.home .future-panel__copy h3 {
  margin-block: var(--space-4) var(--space-5);
  font-size: clamp(1.85rem, 1.25rem + 1.55vw, 2.8rem);
  font-weight: 600;
  line-height: 1.65;
}

.home .future-panel__copy h3 strong {
  font-weight: 600;
}

/* Business images and copy form an editorial grid. */
.home .business-grid {
  gap: clamp(3.5rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
}

.home .business-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .business-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
}

.home .business-card__body {
  padding: var(--space-4) 0 0;
}

.home .business-card__number {
  margin-block-end: var(--space-2);
  color: var(--editorial-gold-ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home .business-card .heading-card {
  margin-block-end: var(--space-3);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1rem + 0.8vw, 1.9rem);
  font-weight: 600;
}

.home .business-card__catch {
  color: var(--color-primary);
  font-size: 0.96rem;
  font-weight: 600;
}

.home .business-card__description {
  max-width: 40ch;
  line-height: 1.9;
}

/* Provisional activities retain their content, with a quieter photo slot. */
.home .activity-card {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .activity-card__visual,
.home .activity-card__visual--food,
.home .activity-card__visual--nature {
  border-radius: 2px;
  background: #edebe3;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.home .activity-card .card__body {
  padding: var(--space-4) 0 0;
}

.home .activity-card .heading-card {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-weight: 600;
}

.home .activity-card .tag {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-primary);
}

.home .news-list {
  border-top-color: var(--color-border);
}

.home .news-list__item {
  padding-block: var(--space-5);
  border-bottom-color: var(--color-border);
}

.home .news-list__item time {
  color: var(--color-text-muted);
}

.home .company-preview {
  border-block-start: 1px solid var(--color-border);
  background: var(--color-canvas);
}

.home .company-facts > div {
  border-bottom-color: var(--color-border);
}

/* A light invitation closes the page without a solid green slab. */
.home .contact-cta {
  padding-block: clamp(5rem, 8vw, 8rem);
  border-block-start: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.home .contact-cta .eyebrow {
  color: var(--editorial-gold-ink);
}

.home .contact-cta h2 {
  max-width: none;
  margin-block: var(--space-3) var(--space-4);
  color: var(--color-primary-hover);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 1.25rem + 1.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.55;
}

.home .contact-cta p:last-child {
  max-width: 44rem;
  color: var(--color-text-muted);
}

.home .contact-cta .button--light {
  min-height: 3.25rem;
  padding-inline: var(--space-6);
  background: var(--color-primary);
  color: var(--color-surface);
}

.home .contact-cta .button--light:hover {
  background: var(--color-primary-hover);
  color: var(--color-surface);
}

.home .site-footer__brand {
  padding: 0;
  background: transparent;
}

@media (min-width: 70rem) {
  .home .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .business-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .home .business-card:first-child .business-card__media {
    aspect-ratio: 3 / 2;
  }

  .home .business-card:first-child .business-card__body {
    padding: 0;
  }
}

@media (min-width: 48rem) {
  .home .dragon-map__branches .dragon-map__symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .home .dragon-map__branches .dragon-map__node strong {
    position: absolute;
    top: calc(50% + 1.5rem);
    right: 0;
    left: 0;
  }

  .home .dragon-map__branches .dragon-map__node > span:last-child {
    position: absolute;
    top: calc(50% + 3.6rem);
    right: 0;
    left: 0;
    margin-inline: auto;
  }
}

@media (min-width: 48rem) and (max-width: 79.99rem) {
  .home .hero--photo::after {
    display: none;
  }
}

@media (max-width: 47.99rem) {
  body.home {
    --section-space: clamp(4.5rem, 13vw, 6rem);
  }

  .home .hero--photo::after {
    background: linear-gradient(180deg, rgb(247 245 240 / 55%) 0%, rgb(247 245 240 / 20%) 36%, transparent 54%, transparent 72%, rgb(247 245 240 / 79%) 100%);
  }

  .home .hero--photo .hero__copy {
    max-width: none;
  }

  .home .hero--photo .hero__heading {
    margin-block-end: var(--space-3);
    font-size: clamp(1.85rem, 7.5vw, 2.6rem);
    line-height: 1.34;
  }

  .home .hero--photo .hero__copy .lead {
    max-width: 21rem;
    font-size: clamp(0.82rem, 3.3vw, 0.96rem);
    line-height: 1.7;
  }

  .home .hero__actions {
    margin-block-start: auto;
  }

  .home .mission-grid {
    gap: var(--space-6) var(--space-4);
  }

  .home .mission-card__title {
    padding-block-start: var(--space-3);
  }

  .home .home-about__copy .statement,
  .home .company-preview .statement {
    font-size: clamp(1.45rem, 6vw, 1.65rem);
  }

  .home .home-cycle {
    margin-block-start: var(--space-9);
    padding-block-start: var(--space-7);
  }

  .home .cycle-diagram__center {
    width: min(72vw, 17rem);
  }

  .home .cycle-diagram__steps {
    margin-inline-start: var(--space-4);
    padding-inline-start: var(--space-4);
    border-inline-start: 1px solid var(--color-gold-soft);
  }

  .home .cycle-diagram__steps li {
    display: grid;
    width: auto;
    min-height: 3.5rem;
    grid-template-columns: 2rem 1fr;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .home .cycle-diagram__steps li::before {
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--space-4) - 4px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-gold);
    content: "";
  }

  .home .cycle-diagram__steps li:not(:last-child)::after {
    content: none;
  }

  .home .cycle-diagram__steps li strong {
    font-size: 1rem;
  }

  .home .cycle-diagram__repeat {
    margin-block-start: var(--space-4);
    text-align: left;
  }

  .home .dragon-map {
    margin-block: var(--space-8) var(--space-9);
  }

  .home .dragon-map__node,
  .home .dragon-map__branches .dragon-map__node {
    border: 0;
    background: transparent;
  }

  .home .dragon-map__center {
    border: 1px solid var(--color-gold);
  }

  .home .dragon-map__branches {
    gap: var(--space-7) var(--space-2);
  }

  .home .future-panel {
    min-height: 0;
    background: var(--color-canvas);
  }

  .home .future-panel__image {
    aspect-ratio: 4 / 3;
    object-position: 28% center;
  }

  .home .future-panel__copy {
    width: auto;
    padding: var(--space-7) 0 0;
    background: transparent;
  }

  .home .future-panel__copy h3 {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
  }

  .home .business-grid,
  .home .site-main > .section[aria-labelledby="activities-heading"] .grid--cards {
    gap: var(--space-8);
  }

  .home .business-card__description {
    max-width: none;
  }

  .home .contact-cta__inner {
    gap: var(--space-7);
  }
}

/* Supplied brand diagrams carry their own visual labels. Their HTML summaries
   remain available to assistive technology without duplicating the artwork. */
.home .site-main > .home-goryu {
  padding-block-start: clamp(2.5rem, 4vw, 4rem);
  background: var(--color-surface);
}

.home .home-diagram {
  width: 100%;
  margin: 0 auto;
}

.home .home-diagram picture,
.home .home-diagram__image {
  display: block;
  width: 100%;
}

.home .home-diagram__image {
  height: auto;
}

.home .home-diagram--goryu {
  margin-block-end: clamp(3.5rem, 7vw, 6rem);
}

@media (max-width: 47.99rem) {
  .home .home-diagram {
    width: calc(100% + (var(--page-gutter) * 2));
    margin-inline: calc(-1 * var(--page-gutter));
  }

  .home .home-diagram--goryu {
    margin-block-end: var(--space-8);
  }
}

/* Keep mobile hero copy in meaningful lines without changing desktop wrapping. */
@media (max-width: 47.99rem) {
  .home .hero--photo .hero__heading {
    width: 100%;
    max-width: none;
  }

  .home .hero__phrase,
  .home .hero__last {
    display: block;
    white-space: nowrap;
  }
}
