/* Fluid layout, from small phones to large and wide displays. */
:root{--page-gutter:clamp(20px,5.5vw,110px);--header-offset:115px}
html{scroll-padding-top:var(--header-offset);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}img,svg{max-width:100%}button,a,input,textarea{-webkit-tap-highlight-color:transparent}
header{gap:24px;padding:16px var(--page-gutter)}header>a{flex-shrink:0}header img{width:clamp(165px,14vw,205px)}
nav{flex-wrap:wrap;justify-content:flex-end;gap:clamp(18px,2.4vw,40px)}
.menu-toggle{display:none}
.section{width:100%;padding:clamp(60px,7vw,115px) var(--page-gutter);max-width:1680px}
.section-head,.about,.career,.contact-grid{min-width:0}.section-head>*,.about>*,.career>*,.contact-grid>*{min-width:0}
.section-head{gap:clamp(28px,5vw,80px)}
h1,h2,h3,h4{overflow-wrap:normal}p,a,li{overflow-wrap:break-word}
h2{font-size:clamp(31px,3.2vw,52px)}
.intro-strip{padding:24px var(--page-gutter);flex-wrap:wrap}
.approach,.career,.contact{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,4vw,60px)}
.contact h2{font-size:clamp(38px,4.5vw,68px)}.contact-grid a{overflow-wrap:anywhere}
footer{padding-left:var(--page-gutter);padding-right:var(--page-gutter);gap:20px;flex-wrap:wrap}footer div{flex-wrap:wrap;gap:20px}
.team-heading{align-items:start}.team-card{flex:0 0 clamp(205px,18vw,235px)}.team-card>img{aspect-ratio:1;width:100%;height:auto}
.team-controls button{width:44px;height:44px}.team-email{font-size:12px;letter-spacing:0;line-height:1.6}
.legal{padding:clamp(45px,6vw,80px) var(--page-gutter);overflow-wrap:anywhere}.legal header{gap:15px}
.button{max-width:100%;gap:24px;min-height:48px;align-items:center}.button span{flex-shrink:0}
dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:clamp(25px,4vw,45px);margin:auto}
form input,form textarea{font-size:16px;min-width:0}form input{min-height:46px}.dialog-close{min-width:44px;min-height:44px;right:8px;top:5px}
input[type=file]{width:100%;overflow:hidden}input[type=file]::file-selector-button{max-width:100%;white-space:normal}
@media(min-width:1101px){.hero{height:clamp(550px,calc(100svh - var(--header-offset)),1080px)}.hero-copy{padding-left:var(--page-gutter);width:54%}.hero-copy h1{font-size:clamp(35px,3.4vw,76px)}}
@media(max-width:1100px){.approach{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px}.approach h2{font-size:clamp(32px,3.8vw,40px)}.hero-copy{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}.hero-caption{left:var(--page-gutter)}.hero-photo{max-height:none;width:100%;height:auto;object-fit:contain}.career{gap:36px}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-grid>div:last-child{grid-column:1/-1}}
@media(max-width:760px){
 :root{--header-offset:92px}
 header{padding:12px var(--page-gutter) 7px;flex-wrap:wrap;gap:4px;min-height:0;align-items:center}
 header img{width:clamp(142px,35vw,185px)}
 header nav,header nav.is-open{display:flex;position:static;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:nowrap;gap:clamp(5px,1.8vw,14px);width:100%;font-size:clamp(10px,2.8vw,14px)}
 header nav a,header nav .nav-contact{display:inline-flex;align-items:center;min-height:40px;padding:4px 0;white-space:nowrap}
 header nav .nav-contact{border-bottom:1px solid var(--ink)}
 header nav .nav-contact span{margin-left:clamp(3px,1vw,10px)}
 .hero-copy{padding-top:26px;padding-bottom:76px}
 .hero-copy h1{font-size:clamp(28px,6.8vw,44px);line-height:1.15;letter-spacing:-.035em}
 .hero-copy>p:not(.eyebrow){font-size:16px;line-height:1.65}.hero-copy .eyebrow{font-size:10px}
 .hero-caption{font-size:13px;bottom:22px}.hero-caption span{font-size:10px}
 .hero-photo{max-height:none;display:block;aspect-ratio:auto;object-fit:contain;width:100%;height:auto}
 .intro-strip{gap:14px;align-items:start;font-size:12px}.intro-strip span:first-child{flex-basis:100%}
 .section-head,.about,.career{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
 .section-head{margin-bottom:30px}.section-head>p{margin:0;max-width:none}
 .about-heading h2{font-size:clamp(30px,6.4vw,40px)}.experience{flex-wrap:wrap;gap:14px}
 .services{grid-template-columns:minmax(0,1fr)}.services article,.services article+article{padding:25px 0;border-left:0;border-bottom:1px solid var(--line)}
 .services p{max-width:none}
 .approach{display:block;padding-top:55px;padding-bottom:55px}.approach h2{font-size:clamp(30px,6.6vw,38px)}.approach>p:last-child{max-width:none}
 .team{margin-top:48px}.team-heading{display:block;margin-bottom:22px}.team-controls{margin:0 0 12px}.team-card{flex-basis:clamp(200px,62vw,235px)}.team-grid{gap:18px}.team-hint{max-width:280px}
 .career{padding-top:60px;padding-bottom:60px}.jobs>div{font-size:15px}
 .berlin{height:450px;min-height:0}.berlin>div{left:var(--page-gutter);right:var(--page-gutter)}.berlin h2{font-size:clamp(32px,7vw,42px)}
 .contact{padding-top:60px;padding-bottom:45px}.contact h2{font-size:clamp(36px,8vw,52px)}.contact-question{font-size:22px}.mail.contact-open{font-size:clamp(20px,5vw,27px)}
 .contact-grid{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:45px}.contact-grid>div:last-child{grid-column:auto}.contact-grid a{font-size:15px}
 footer{flex-direction:column;align-items:start;font-size:12px}footer div{gap:18px}
 dialog h2{font-size:clamp(26px,6vw,32px);max-width:95%}.form-submit{width:auto}
}
@media(max-width:360px){header img{width:145px}.hero-copy .button{gap:16px}.team-card{flex-basis:200px}}
@media(max-height:550px) and (orientation:landscape){header{position:relative}html{scroll-padding-top:15px}dialog{max-height:calc(100dvh - 16px)}.hero-photo{max-height:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.team-grid{scroll-snap-type:none}}

.arrow-icon{display:inline-block;width:1em;height:1em;vertical-align:-.1em;flex:none}.team-controls .arrow-icon{width:20px;height:20px;vertical-align:middle}.hero-copy .arrow-icon{width:17px;height:17px;vertical-align:middle}

/* The original portrait fades into the same background as the title copy. */
.hero { background: var(--space-cadet); }
.hero::after { display: none; }
.hero-copy { background: transparent; }
.hero-photo {
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
@media (min-width: 1101px) {
  .hero-photo {
    inset: 0 0 0 auto;
    width: 64%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
    mask-image: linear-gradient(to right, transparent, #000 35%);
  }
  .hero::after {
    display: block;
    background: linear-gradient(to top, rgba(30, 39, 73, .68), transparent 25%);
  }
}
