.page-about-system { background: var(--paper-100); }

#story,
#partnership,
#team,
#approach,
#enquire { scroll-margin-top: 7rem; }

.about-text-link {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--rust-500);
  text-decoration: none;
  text-transform: uppercase;
  font: 500 .7rem/1.4 var(--field);
  letter-spacing: .1em;
}

.about-text-link--reverse { color: #f4d2bd; }

.about-hero {
  min-height: min(51rem, 96svh);
  background: var(--iron-950);
}

.about-hero .home-hero__image {
  height: min(51rem, 96svh);
  min-height: 41rem;
  object-position: 50% 46%;
  filter: saturate(.72) sepia(.16) contrast(1.05) brightness(.8);
}

.about-hero .home-hero__shade {
  background:
    linear-gradient(90deg, rgb(24 13 7 / 46%), transparent 62%),
    linear-gradient(0deg, rgb(24 13 7 / 22%), transparent 44%);
}

.about-hero__sheet { width: min(35rem, calc(100% - 2.5rem)); }
.about-hero__sheet h1 { max-width: 9ch; }

.about-story {
  padding-block: var(--section-space);
  overflow: clip;
}

.about-story__layout {
  display: grid;
  grid-template-columns: minmax(19rem, .72fr) minmax(31rem, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-story__intro { padding-top: clamp(1rem, 4vw, 3.5rem); }
.about-story__intro h2 { max-width: 10ch; margin-bottom: 1.6rem; }
.about-story__intro .lead { max-width: 31rem; }
.about-story__intro > p:last-child { max-width: 34rem; color: var(--stone-600); }

.about-history {
  padding: clamp(2.2rem, 4.5vw, 4.5rem);
  background-color: #f4ead8;
  background-blend-mode: screen;
  filter: drop-shadow(0 10px 20px rgb(58 38 23 / 16%));
  transform: rotate(.2deg);
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: 1.35rem 0;
  border-top: 1px solid rgb(180 151 116 / 70%);
}

.about-timeline time,
.about-timeline li > span {
  padding-top: .2rem;
  color: var(--rust-600);
  font: 500 .78rem/1.4 var(--field);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-timeline p { margin: 0; }
.about-timeline strong { color: var(--rust-600); font-weight: 500; }
.about-timeline__today { align-items: start; }
.about-timeline__today p { font-size: var(--font-lead); line-height: 1.45; }

.about-partnership {
  padding-block: var(--section-space);
  background:
    linear-gradient(rgb(24 17 12 / 94%), rgb(24 17 12 / 94%)),
    url("assets/ui/parchment-texture.webp") center top / 560px auto repeat;
  color: var(--text-reverse);
}

.about-partnership__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

.about-partnership__photo {
  z-index: 1;
  grid-column: 1 / span 8;
  grid-row: 1;
  transform: rotate(-.35deg);
}

.about-partnership__photo .photo-frame > img {
  aspect-ratio: 645 / 459;
  object-position: center;
  filter: saturate(.76) sepia(.08) contrast(1.04);
}

.about-partnership__photo figcaption {
  width: min(66%, 34rem);
  color: rgb(255 248 239 / 58%);
}

.about-partnership__copy {
  z-index: 2;
  grid-column: 7 / -1;
  grid-row: 1;
  min-height: 28rem;
  padding: clamp(2.4rem, 5vw, 4.8rem);
}

.about-partnership__copy h2 { max-width: 12ch; margin-bottom: 1.5rem; }
.about-partnership__copy p:not(.field-label) { color: rgb(255 248 239 / 78%); }
.about-partnership__copy .lead { color: var(--text-reverse); }

.about-team {
  padding-block: var(--section-space);
  background-color: var(--paper-200);
}

.about-team__layout {
  display: grid;
  grid-template-columns: minmax(28rem, 1.15fr) minmax(20rem, .85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.about-team__copy h2 { max-width: 9ch; margin-bottom: 1.2rem; }
.about-team__copy > .lead { color: var(--stone-600); }

.about-team__roster {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--sand-400);
}

.about-team__roster article {
  display: grid;
  grid-template-columns: minmax(12rem, .72fr) minmax(0, 1.28fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--sand-400);
}

.about-team__roster h3 {
  align-self: start;
  font: 500 clamp(1.2rem, 1rem + .55vw, 1.55rem)/1.18 var(--display);
  letter-spacing: -.025em;
}

.about-team__roster p { margin: 0; color: var(--stone-600); }

.about-team__photo {
  width: min(100%, 31rem);
  justify-self: end;
  transform: rotate(.45deg);
}

.about-team__photo .photo-frame > img {
  aspect-ratio: 4 / 5;
  object-position: 50% 44%;
  filter: saturate(.76) sepia(.08) contrast(1.035);
}

.about-approach {
  padding-block: var(--section-space);
  background: var(--paper-050) url("assets/ui/parchment-texture.webp") center top / 560px auto repeat;
}

.about-approach__layout {
  display: grid;
  grid-template-columns: minmax(20rem, .78fr) minmax(30rem, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.about-approach__heading h2 { max-width: 10ch; }

.about-approach__statement {
  padding: clamp(2.5rem, 5vw, 5rem);
  transform: rotate(-.2deg);
}

.about-approach__statement .lead {
  margin-top: 0;
  color: var(--text-reverse);
  font-size: clamp(1.25rem, 1rem + .65vw, 1.55rem);
}

.about-approach__statement > p:not(.lead) { color: rgb(255 248 239 / 76%); }

.about-button {
  margin-top: 1rem;
  background: var(--paper-050);
  color: var(--rust-600);
}

.about-button:hover { background: #fff9ef; color: var(--rust-600); }

/* Tape remains a solid material layer; edge masks belong to the image beneath it. */
.page-about-system .tape {
  -webkit-mask: none;
  mask: none;
  background: #7f251a;
}

@media (max-width: 1080px) {
  .about-story__layout,
  .about-team__layout,
  .about-approach__layout { grid-template-columns: 1fr; }

  .about-story__intro { max-width: 42rem; padding-top: 0; }
  .about-history { width: min(100%, 49rem); margin-left: auto; }
  .about-partnership__photo { grid-column: 1 / span 9; }
  .about-partnership__photo figcaption { width: 48%; }
  .about-partnership__copy { grid-column: 6 / -1; }
  .about-team__photo { grid-row: 1; justify-self: center; }
  .about-team__copy { grid-row: 2; }
  .about-team__copy h2 { max-width: none; }
  .about-approach__heading { max-width: 42rem; }
  .about-approach__statement { width: min(100%, 49rem); margin-left: auto; }
}

@media (max-width: 760px) {
  #story,
  #partnership,
  #team,
  #approach,
  #enquire { scroll-margin-top: 5.5rem; }

  .about-hero { min-height: 43.5rem; }
  .about-hero .home-hero__image {
    height: 43.5rem;
    min-height: 0;
    object-position: 55% 50%;
  }
  .about-hero .home-hero__shade { background: linear-gradient(0deg, rgb(24 13 7 / 48%), transparent 62%); }
  .about-hero__sheet h1 { font-size: clamp(3rem, 14vw, 4rem); }
  .about-story__layout { gap: 2.8rem; }
  .about-history { padding: 2.15rem 1.55rem; transform: none; }
  .about-timeline li { grid-template-columns: 3.65rem minmax(0, 1fr); gap: .9rem; }
  .about-timeline__today p { font-size: 1.02rem; }
  .about-partnership__layout { display: block; }
  .about-partnership__photo figcaption { width: 100%; padding-bottom: 1rem; }
  .about-partnership__copy {
    width: calc(100% - 1.1rem);
    min-height: 0;
    margin: .5rem 0 0 auto;
    padding: 2.3rem 1.6rem;
  }
  .about-team__layout { gap: 3rem; }
  .about-team__photo { width: min(88%, 28rem); }
  .about-team__roster { margin-top: 2.5rem; }
  .about-team__roster article { grid-template-columns: 1fr; gap: .55rem; }
  .about-team__roster p { margin-bottom: .15rem; }
  .about-approach__layout { gap: 2.5rem; }
  .about-approach__statement { width: calc(100% - 1rem); padding: 2.3rem 1.6rem; }
}

@media (forced-colors: active) {
  .about-partnership,
  .about-approach { background: Canvas; color: CanvasText; }
}
