body.company-page { background: #f6f1e9; }
.company-chapter {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-content: center; align-items: center; gap: clamp(2rem,7vw,8rem);
  min-height: 100dvh; padding: calc(var(--header-size) + 2rem) var(--gutter) 4rem;
}
.company-opening { background: #28221e; color: #fffaf3; }
.company-opening .label { display: flex; align-items: center; gap: .75rem; }
.company-opening .label::before { content: ""; width: 2.5rem; height: 3px; background: #ef5058; }
.company-opening h1 { font-size: clamp(2.9rem,6.1vw,7.2rem); }
.company-opening em { display: block; color: #f1d8be; }
.company-chapter h2 { font-size: clamp(2.6rem,5vw,5.75rem); }
.company-chapter p:not(.label) { max-width: 57ch; line-height: 1.65; text-align: justify; hyphens: none; }
.company-chapter p + p { margin-top: 1.25em; }
.company-chapter .commitment { padding-top: 1em; border-top: 1px solid #cdbfaf; font-style: italic; }
.company-public { background: #382e28; color: #fffaf3; }
.company-site { background: #e8dfd3; }
.company-site figure { margin: 0; }
.company-site img { display: block; width: 100%; height: auto; max-height: 78svh; object-fit: cover; object-position: center 35%; margin: auto; }
.company-site h2 { margin: .25em 0 .45em; }
.company-site .label { color: #96292c; }
.company-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.chapter-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; }
.company-site .chapter-link { margin-top: 1rem; color: #81282b; }
@media (max-width: 800px), (pointer: coarse) and (hover: none) and (max-height: 540px) and (max-width: 1024px) {
  .company-chapter { grid-template-columns: minmax(0,1fr); gap: 1.6rem; padding: calc(var(--header-size) + 1.5rem) var(--mobile-inset,1.25rem) 2.5rem; }
  .company-site figure { grid-row: 2; }
  .company-site img { width: 100%; max-height: 65svh; }
}

.company-scene {
  position: relative; isolation: isolate; overflow: clip; color: #fffaf3; background: #27211c;
  grid-template-columns: minmax(0, 38rem); gap: 1.5rem;
  --shade: linear-gradient(90deg, #17120fee 0%, #17120fcf 34%, #17120f35 70%, transparent);
  --focus: 80% center;
}
.company-scene .chapter-backdrop {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus);
}
.company-scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--shade), linear-gradient(#17120f70, transparent 20%);
}
.company-method {
  justify-content: end; --focus: 26% center;
  --shade: linear-gradient(270deg, #17120ff5 0%, #17120fe3 34%, #17120f40 70%, transparent);
}
.company-public { --focus: 64% center; }
@media (max-width: 800px), (pointer: coarse) and (hover: none) and (max-height: 540px) and (max-width: 1024px) {
  .company-scene {
    --photo-height: clamp(15rem, 45svh, 29rem);
    grid-template-columns: minmax(0, 1fr); align-content: end;
    padding-top: calc(var(--photo-height) + 1rem);
  }
  .company-scene .chapter-backdrop { height: calc(var(--photo-height) + 5rem); }
  .company-scene::before { height: calc(var(--photo-height) + 5rem); background: linear-gradient(#17120f88, transparent 34%, transparent 65%, #27211c); }
}

.company-method h2 {
  font-size: clamp(2.35rem, 3.9vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.method-heading p { margin-top: .65rem; color: #f1d8be; font-style: italic; }
.company-scene.company-method {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  background: #211b17;
  padding-top: calc(var(--header-size) + 2rem);
}
.company-method .chapter-backdrop, .company-method::before { display: none; }
.method-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.method-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(24rem, 55svh, 42rem);
  padding: clamp(1.25rem, 2.4vw, 3rem);
  background: #312821;
}
.method-card img, .method-card::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.method-card img { object-fit: cover; z-index: -2; }
.method-card::before {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #17120ff7 0%, #17120fe8 25%, #17120f96 53%, transparent 84%);
}
.method-card h3 {
  margin: 0 0 .55rem;
  color: #fffaf3;
  font-size: clamp(1.45rem, 2vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.method-card h3::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: .85rem;
  background: #ed5058;
  transform-origin: left;
}
.company-method .method-card p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.55;
  color: #f7f1ea;
}
@media (max-width: 800px) {
  .method-topics { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .method-card { min-height: clamp(21rem, 55svh, 32rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .method-card.card-enter { animation: method-appear .8s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes method-appear {
    from { opacity: .15; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .method-card.card-enter {
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.36,.08,.23,1);
  }
  .method-card.card-enter { animation-delay: var(--copy-delay, 0ms); }

}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .method-card img, .method-card h3::before { transition: transform .75s cubic-bezier(.2,.65,.25,1); }
  .method-card:hover img { transform: scale(1.045); }
  .method-card:hover h3::before { transform: scaleX(1.5); }
}
.company-method p.commitment {
  margin: 0; padding: .2rem 0 .2rem 1rem;
  border: 0; border-inline-start: 2px solid #e74a50;
  text-align: start; color: #f1d8be;
  font-size: clamp(1.1rem, 1.45vw, 1.45rem); line-height: 1.4;
}

.method-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
}
.method-toggle::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.method-card:has(.method-toggle:focus-visible) { outline: 2px solid #fffaf3; outline-offset: -4px; }
.method-description { display: grid; grid-template-rows: 0fr; opacity: 0; }
.method-description > p { min-height: 0; overflow: hidden; }
.method-open .method-description { grid-template-rows: 1fr; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .method-description {
    transition: grid-template-rows .38s ease-in-out .1s, opacity .16s ease-out;
  }
  .method-open .method-description {
    transition: grid-template-rows .62s cubic-bezier(.22,.7,.25,1), opacity .36s ease-out .36s;
  }
  .method-description > p {
    transform: translateY(.4rem);
    transition: transform .24s ease-out;
  }
  .method-open .method-description > p {
    transform: translateY(0);
    transition-delay: .36s;
  }
}
