/* About uses the shared typeface, theme tokens and shell width. */
#main .about-story {
  --about-lilac: #d4bafa;
  --about-contrast: #102722;
}
[data-theme=light] #main .about-story {
  --about-contrast: #fff;
}
#main .about-cover {
  padding-block: 14px 48px;
}
#main .about-cover-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 24px;
}
#main .about-label, #main .about-result > span, #main .about-role {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}
#main .about-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.about-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
#main .about-story h1 {
  margin: clamp(22px, 2.7vw, 44px) 0 24px;
  font-size: clamp(72px, 8.1vw, 126px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.067em;
}
#main .about-story h1 em { color: var(--accent); font-style: normal; }
#main .about-deck, #main .about-heading > p, #main .about-team-intro p {
  color: var(--muted);
  max-width: 47ch;
  font-size: clamp(18px, 1.42vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}
#main .about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; }
#main .about-button, #main .about-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}
#main .about-button { padding: 14px 22px; background: var(--accent); color: var(--about-contrast); border-radius: var(--r); }
#main .about-link { color: inherit; padding: 6px 0; }
#main .about-link:hover, #main .about-direct:hover, #main .about-founder-signature a:hover { text-decoration: underline; text-underline-offset: 5px; }
#main .about-button:hover { box-shadow: inset 0 0 0 2px currentColor; }
#main .about-portrait {
  width: 100%;
  margin: 0;
}
.about-portrait > img { display: block; width: 100%; height: auto; }
#main .about-founder-signature > span { display: block; font-size: 14px; color: var(--muted); }
#main .about-founder-signature a { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(23px, 2vw, 30px); letter-spacing: -.035em; }
#main .about-founder-signature a span { font-size: .7em; }
.about-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding-block: 26px 30px;
  border-block: 1px solid var(--line);
}
.about-facts dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.about-facts dl > div + div { padding-left: clamp(20px, 3.4vw, 52px); border-left: 1px solid var(--line); }
#main .about-facts dt { font-size: 16px; color: var(--muted); line-height: 1.4; }
#main .about-facts dd { margin: 0; font-size: clamp(40px, 4.3vw, 64px); font-weight: 450; letter-spacing: -.06em; line-height: 1; }
#main .about-facts dd span { color: var(--accent); }
@media (min-width: 481px) and (max-width: 900px) {
  .about-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
#main .about-chapter { padding-block: clamp(58px, 6.4vw, 100px); }
.about-index { color: var(--accent); font-variant-numeric: tabular-nums; }
.about-index::after { content: "/"; margin-left: 10px; color: var(--muted); }
#main .about-heading, #main .about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 84px);
}
#main .about-heading { align-items: end; margin: 24px 0 36px; }
#main .about-story h2 { font-size: clamp(38px, 4.3vw, 64px); line-height: 1.04; letter-spacing: -.055em; }
#main .about-letter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(220px, 30vw, 372px));
  grid-template-areas: "title title" "body portrait";
  align-items: start;
  gap: clamp(24px, 2.5vw, 36px) clamp(32px, 5vw, 84px);
  border-bottom: 1px solid var(--line);
}
#main .about-letter > h2 { grid-area: title; }
#main .about-letter > .about-portrait { grid-area: portrait; }
.about-letter-body { grid-area: body; margin: 0; }
.about-letter-body blockquote { margin: 0; padding: 0; }
#main .about-letter-body p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; }
#main .about-letter-body p + p { margin-top: 1em; }
#main .about-letter-body figcaption { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 18px; font-weight: 500; }
.about-team-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4.5vw, 70px); align-items: center; margin: 24px 0 36px; }
#main .about-team-intro p { margin-top: 18px; }
.about-team-group { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 78%; border-radius: var(--r); }
.about-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.about-photo { position: relative; overflow: hidden; aspect-ratio: 1.32; border-radius: var(--r); background: #b8cebf; }
.about-photo img { position: absolute; width: 100%; max-width: none; height: auto; top: -11%; }
.about-photo-closeup img { inset: 0; height: 100%; object-fit: cover; }
.about-people article:nth-child(2) .about-photo { background: #c6b8d9; }
.about-people article:nth-child(3) .about-photo { background: #aebfcd; }
.about-people article:nth-child(4) .about-photo { background: #dbc4b6; }
#main .about-role { margin: 16px 0 5px; color: var(--muted); }
#main .about-people h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.18; letter-spacing: -.04em; }
#main .about-people h3 + p, #main .about-legal p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.about-work { background: var(--surface); }
.about-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  color: #251d33;
  background: var(--about-lilac);
  border-radius: var(--r);
  padding: clamp(24px, 3.8vw, 54px);
  gap: clamp(24px, 5vw, 84px);
}
.about-result { border-right: 1px solid #8b779e; }
#main .about-result strong { display: block; margin: 14px 0 8px; font-size: clamp(80px, 8.4vw, 130px); letter-spacing: -.08em; font-weight: 450; line-height: .92; }
#main .about-result p { font-size: 18px; }
#main .about-case-copy h3 { max-width: 23ch; font-size: clamp(25px, 2.4vw, 36px); line-height: 1.14; }
#main .about-case-copy p { margin: 14px 0 10px; max-width: 50ch; }
#main .about-feature a:focus-visible { outline-color: currentColor; }
.about-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.about-projects a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; border-bottom: 1px solid var(--line); padding: 8px 0 20px; }
#main .about-projects span { font-size: 14px; color: var(--muted); }
#main .about-projects strong { grid-column: 1; font-size: 20px; font-weight: 450; line-height: 1.35; }
.about-projects i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; }
.about-projects a:hover { color: var(--accent); }
#main .about-all { margin-top: 16px; }
#main .about-contact h2 { margin: 26px 0 18px; }
.about-details { align-self: center; border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 66px); }
#main .about-direct { display: table; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.045em; }
.about-details > .about-label { margin-bottom: 10px; }
.about-legal { margin-top: 22px; }
#main .about-legal p { margin: 4px 0; }
@media (max-width: 1000px) {
  .about-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .about-team-intro { grid-template-columns: 1fr; gap: 20px; margin: 18px 0 28px; }
  #main .about-cover, #main .about-heading, #main .about-contact, .about-feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #main .about-cover { padding-block: 4px 24px; }
  #main .about-cover-copy { padding-block: 8px 0; }
  #main .about-story h1 { font-size: clamp(64px, 13.5vw, 94px); margin: 20px 0; }
  #main .about-story h1 br { display: none; }
  #main .about-portrait { max-width: 360px; justify-self: center; }
  #main .about-letter { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "portrait" "body"; gap: 24px; }
  .about-facts dl { gap: 12px; padding-block: 20px; }
  .about-facts dl > div + div { padding-left: 10px; }
  #main .about-facts dt { font-size: 14px; }
  #main .about-facts dd { font-size: 36px; }
  #main .about-heading { gap: 16px; margin: 18px 0 26px; }
  .about-result { border: 0; padding-bottom: 22px; border-bottom: 1px solid #8b779e; }
  .about-projects { grid-template-columns: 1fr; gap: 8px; }
  .about-details { padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  #main .about-story h1 { font-size: clamp(48px, 12.4vw, 60px); }
  .about-people { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .about-people article { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 0 16px; }
  .about-photo { grid-row: 1 / 3; aspect-ratio: 1.2; }
  #main .about-role { align-self: end; margin: 0 0 3px; }
  #main .about-people h3 + p { grid-column: 1 / -1; }
  #main .about-facts dl { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 5px; }
  .about-facts dl > div { display: grid; grid-template-columns: minmax(112px, .48fr) 1fr; align-items: center; gap: 16px; padding: 13px 0; }
  .about-facts dl > div + div { border: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .about-facts dd { grid-column: 1; grid-row: 1; }
  .about-facts dt { grid-column: 2; grid-row: 1; }
  #main .about-actions { gap: 6px 18px; margin-top: 22px; }
}
