/* Distinct editorial compositions; photographs keep their natural proportions. */
.identity-opening { padding: clamp(40px,6vw,90px) var(--gutter); position: relative; }
.identity-opening *, .identity-opening > * { min-width: 0; }
.identity-opening h1 { font-size: clamp(40px,5.8vw,88px); line-height: 1.04; letter-spacing: -.045em; margin: 30px 0; text-wrap: balance; }
.identity-opening h1 em { font-family: var(--serif); font-weight: 400; }
.identity-copy > p:not(.eyebrow) { font-size: clamp(17px,1.3vw,20px); line-height: 1.75; max-width: 58ch; }
.identity-opening img { display: block; width: 100%; height: auto; object-fit: contain; }
.identity-opening figure { margin: 0; }
.identity-opening figcaption { font-size: 15px; line-height: 1.6; margin-top: 12px; overflow-wrap: anywhere; hyphens: auto; }
.identity-link { display: inline-block; font-size: 16px; line-height: 1.6; padding: 15px 0; margin-top: 18px; border-bottom: 1px solid currentColor; }
.identity-opening a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.identity-history { background: #242b27; color: #f4f1eb; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 0 7vw; padding-top: 50px; }
.identity-history .history-age { display: block; font-size: clamp(180px,24vw,380px); font-weight: 400; line-height: .85; letter-spacing: -.09em; color: #dd7251; }
.identity-history h1 { margin-top: 35px; }
.history-age-label { display: block; font-size: clamp(44px,5vw,76px); margin-top: 22px; }
.history-opening-photos { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 22px; padding-top: 12px; }
.history-opening-early { grid-column: 1; transform: translateY(calc(var(--editorial-progress,0) * -20px)); }
.history-opening-now { grid-column: 1 / -1; margin-left: 20% !important; transform: translateY(calc(var(--editorial-progress,0) * 16px)); }
.history-opening-line { display: flex; align-items: center; gap: 25px; grid-column: 1 / -1; margin-top: 40px; font-size: 15px; }
.history-opening-line i { height: 1px; background: #748075; flex: 1; position: relative; }
.history-opening-line i::after { content: ''; position: absolute; inset: -2px auto auto 0; width: 6px; height: 6px; background: #dd7251; transform: translateX(calc(var(--editorial-progress,0) * 160px)); }
.identity-page-history .company-balance { background: #dcdccf; }
.identity-page-history .history-chronicle { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 0 5vw; }
.identity-page-history .history-chronicle > .section-heading { grid-column: 1 / -1; margin-bottom: 35px; }
.identity-page-history .history-years { grid-column: 1; grid-row: 2 / span 5; display: block; position: sticky; top: 110px; align-self: start; margin: 0; }
.identity-page-history .history-years a { border: 0; border-left: 1px solid var(--line); padding: 13px 18px; gap: 6px; }
.identity-page-history .history-years a[aria-current="step"] { border-left: 3px solid var(--accent); background: #e7dfd3; }
.identity-page-history .history-chapter { grid-column: 2; min-height: 650px; gap: 35px; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); padding: 60px 0; }
.identity-page-history .history-date { font-size: clamp(22px,2.5vw,40px); letter-spacing: -.02em; color: var(--accent); }
.identity-page-history .history-chapter-copy { align-self: start; }
.identity-page-history .history-chapter-photos { align-self: center; }
.identity-page-history .history-pair { grid-template-columns: 1fr; }
.identity-page-history .history-photo button { background: transparent; }
.identity-page-history .history-photo img { aspect-ratio: auto; }
.identity-page-history .history-photo button > span { border-bottom: 1px solid var(--line); padding-inline: 0; }
.identity-page-history #grassau-2006 .history-chapter-photos figure:last-child { margin-left: 12%; }
.identity-page-history #wohnhaeuser .history-chapter-photos figure:first-child { margin-right: 12%; }
.identity-page-history .company-generation { background: #29322d; color: var(--paper); }
.identity-page-history .company-generation p, .identity-page-history .company-generation figcaption span { color: #dddcd2; }
.identity-page-history .company-generation h2 { font-size: clamp(42px,6vw,90px); }
.identity-page-history .founder-thanks { background: #a94b32; color: #fff8ec; }
.identity-page-history + .contact { border-top: clamp(32px, 5vw, 80px) solid var(--paper); }
.identity-page-history .founder-thanks footer span { color: #f5d2c5; }
.identity-page-history .founder-thanks blockquote > p { font-size: clamp(26px,3.4vw,50px); }
.identity-people { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; background: #deded2; align-items: center; }
.people-opening-portraits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-block: 40px; }
.people-opening-portraits figure:nth-child(2) { margin-top: 70px; transform: translateY(calc(var(--editorial-progress,0) * -24px)); }
.people-opening-portraits figure:nth-child(3) { margin-top: 35px; }
.people-opening-portraits img { background: #eeece4; }
.people-opening-portraits figcaption { font-size: 16px; }
.identity-services { background: #28302b; color: #f4f1eb; }
.identity-services .identity-copy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 7vw; align-items: center; }
.identity-services .identity-copy .eyebrow { grid-column: 1 / -1; }
.identity-services .identity-copy > a { grid-column: 2; justify-self: start; margin: 0; }
.identity-page-services .journey-steps li { transition: background-color .35s; }
.identity-page-services .journey-steps li.is-reading { background: #dedacb; }
.identity-page-services .journey-steps li.is-reading .journey-number { background: var(--accent); color: white; }
.identity-planning { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5vw; align-items: center; background: #eae6dc; }
.planning-opening-board { padding: 30px; background-color: #f4f1eb; background-image: linear-gradient(#363c2f0c 1px,transparent 1px),linear-gradient(90deg,#363c2f0c 1px,transparent 1px); background-size: 24px 24px; position: relative; }
.planning-opening-board figure { margin-top: 35px; transform: translateY(calc(var(--editorial-progress,0) * -12px)); }
.drawing-corner { position: absolute; width: 45px; height: 45px; border-color: var(--accent); border-style: solid; }
.drawing-corner-a { top: 0; left: 0; border-width: 2px 0 0 2px; }
.drawing-corner-b { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.identity-region { padding: 0; background: #23332c; color: #fff; }
.identity-region > figure { position: relative; }
.identity-region > figure::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg,#14281ec9,transparent 95%); }
.identity-region figcaption { position: absolute; bottom: 18px; right: var(--gutter); z-index: 1; margin: 0; }
.identity-region .identity-copy { position: absolute; left: var(--gutter); top: 10%; width: min(850px,68%); z-index: 2; }
.identity-region h1 { font-size: clamp(40px,6.4vw,96px); }
.identity-career { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3vw 6vw; background: #e4d4c2; align-items: center; }
.career-opening-note { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 25px; border-top: 1px solid #ac9985; padding-top: 28px; font-size: 16px; }
.career-opening-note strong { font-size: clamp(26px,4vw,60px); font-weight: 400; }
.identity-gallery { background: #292e2b; color: #f4f1eb; }
.identity-gallery .identity-copy { max-width: 980px; }
.gallery-opening-strip { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: center; gap: 24px; margin-top: 40px; }
.gallery-opening-strip a:nth-child(2) { transform: translateY(calc(var(--editorial-progress,0) * -18px)); }
.identity-portfolio { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 6vw; background: #dfe2d6; }
.portfolio-opening-number { border-left: 1px solid #a7ae9e; padding-left: 5vw; display: flex; flex-direction: column; }
.portfolio-opening-number strong { font-size: clamp(110px,16vw,240px); font-weight: 400; line-height: .9; letter-spacing: -.08em; color: #b24c32; }
.portfolio-opening-number > span { font-size: 25px; margin-top: 20px; }
.portfolio-opening-number a { font-size: 17px; line-height: 1.6; margin-top: 28px; text-decoration: underline; text-underline-offset: 5px; }
.identity-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; background: #29322d; color: #f4f1eb; align-items: center; }
.contact-opening-direct { display: flex; flex-direction: column; gap: 20px; border-left: 1px solid #7c8c7f; padding-left: 5vw; }
.contact-opening-direct a { font-size: clamp(22px,2.6vw,40px); letter-spacing: -.03em; overflow-wrap: anywhere; padding: 12px 0; border-bottom: 1px solid #7c8c7f; }
.contact-opening-direct p { font-size: 17px; line-height: 1.6; }
#offene-stelle { scroll-margin-top: 110px; }
@media(max-width:1100px) {
  .identity-opening h1 { font-size: clamp(38px,5.6vw,72px); }
  .identity-page-history .history-chronicle { grid-template-columns: 145px minmax(0,1fr); gap: 0 30px; }
  .identity-page-history .history-chapter { grid-template-columns: 1fr; }
  .identity-page-history .history-chapter-photos { max-width: 680px; }
  .identity-page-history .history-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .identity-region .identity-copy { top: 6%; }
  .identity-region .identity-copy > p:not(.eyebrow) { display: none; }
}
@media(max-width:760px) {
  .identity-opening { padding: 38px 24px; }
  .identity-opening h1 { font-size: clamp(38px,10vw,62px); margin: 24px 0; }
  .identity-opening figcaption { font-size: 15px; }
  .identity-history,.identity-people,.identity-planning,.identity-career,.identity-portfolio,.identity-contact { grid-template-columns: 1fr; gap: 30px; }
  .identity-history .history-age { font-size: clamp(180px,54vw,300px); }
  .history-opening-photos { grid-template-columns: .75fr 1.25fr; gap: 16px; padding: 0; align-items: end; }
  .history-opening-now { grid-column: 2; margin-left: 0 !important; }
  .history-opening-line { margin-top: 0; gap: 12px; font-size: 14px; }
  .identity-page-history .history-chronicle { display: block; }
  .identity-page-history .history-years { position: sticky; top: 76px; z-index: 8; display: flex; gap: 0; overflow-x: auto; margin: 24px -24px 0; padding-inline: 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .identity-page-history .history-years li { flex: 0 0 150px; }
  .identity-page-history .history-years a { padding: 12px; }
  .identity-page-history .history-years strong { font-size: 14px; }
  .identity-page-history .history-years span { font-size: 14px; }
  .identity-page-history .history-chapter { min-height: 0; padding-block: 48px; scroll-margin-top: 210px; }
  .identity-page-history .history-pair { grid-template-columns: 1fr; }
  .identity-page-history .history-date { font-size: 30px; }
  .people-opening-portraits { gap: 12px; padding: 0 0 20px; }
  .people-opening-portraits figure:nth-child(2) { margin-top: 34px; }
  .people-opening-portraits figure:nth-child(3) { margin-top: 17px; }
  .people-opening-portraits figcaption { font-size: 15px; }
  .identity-services .identity-copy { display: block; }
  .planning-opening-board { padding: 20px; }
  .identity-region { padding: 0; }
  .identity-region .identity-copy { position: static; padding: 28px 24px 38px; width: 100%; }
  .identity-region > figure::after { display: none; }
  .identity-region figcaption { position: static; padding: 12px 24px 0; }
  .identity-region .identity-copy > p:not(.eyebrow) { display: block; }
  .career-opening-note { flex-wrap: wrap; gap: 16px; }
  .gallery-opening-strip { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .gallery-opening-strip a:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .portfolio-opening-number { padding: 0; border: 0; }
  .portfolio-opening-number strong { font-size: 130px; }
  .contact-opening-direct { border-left: 0; padding-left: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .identity-opening figure, .gallery-opening-strip a { transform: none !important; }
}
.motion-off .identity-opening figure,.motion-off .gallery-opening-strip a { transform: none !important; }

/* On phones the project selection comes before the long introduction. */
@media(max-width:760px) {
 .identity-page-portfolio .identity-portfolio { padding: 24px var(--gutter) 20px; display: block; }
 .identity-portfolio .identity-copy h1 { font-size: 36px; line-height: 1.1; margin: 0; }
 .identity-portfolio .identity-copy > p,
 .identity-portfolio .identity-link,
 .identity-portfolio .portfolio-opening-number,
 .identity-page-portfolio > .content-jumps { display: none; }
}
